📄 m5_7_8.mdl
字号:
Location [65, 104, 798, 642]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Annotation {
Name "H. Le-Huy (Universite Laval, Quebec)"
Position [25, 50]
HorizontalAlignment "left"
VerticalAlignment "top"
FontName "Arial"
FontSize 12
}
Annotation {
Name "2) In order to reduce the number of points "
"stored in the scope memory, a decimation factor of 20 is used. "
Position [22, 511]
HorizontalAlignment "left"
VerticalAlignment "top"
FontName "Arial"
FontSize 12
}
Annotation {
Name "1) The system (control and power sytem) has"
" been discretized with a 2 us time step."
Position [22, 491]
HorizontalAlignment "left"
VerticalAlignment "top"
FontName "Arial"
FontSize 12
}
Annotation {
Name "Notes"
Position [23, 464]
HorizontalAlignment "left"
VerticalAlignment "top"
ForegroundColor "blue"
FontName "Arial"
FontSize 14
FontWeight "bold"
}
Annotation {
Name "Case study : Variable-Frequency Induction M"
"otor Drive"
Position [24, 27]
HorizontalAlignment "left"
VerticalAlignment "top"
FontSize 14
FontWeight "bold"
}
Annotation {
Name "Circuit Description"
Position [24, 77]
HorizontalAlignment "left"
VerticalAlignment "top"
ForegroundColor "blue"
FontSize 14
FontWeight "bold"
}
Annotation {
Name "Demonstration"
Position [24, 217]
HorizontalAlignment "left"
VerticalAlignment "top"
ForegroundColor "blue"
FontSize 14
FontWeight "bold"
}
Annotation {
Name "The induction motor is fed by a current-con"
"trolled PWM inverter which is built using a Universal Bridge block. \nThe mot"
"or drives a mechanical load characterized by inertia J, friction coeficient B"
", and load torque TL . \nThe speed control loop"
" uses a proportional-integral controller to produce the quadrature-axis curre"
"nt reference \niq* which controls the motor torque. The motor flux is contro"
"lled by the direct-axis current reference id*.\nBlock DQ-ABC is used to conve"
"rt id* and iq* into current references ia*, ib*, and ic* for the current regu"
"lator. \nCurrent and Voltage Measurement blocks provide signals for visual"
"ization purpose. \nMotor current, speed, and torque signals are ava"
"ilable at the output of the 'Asynchronous Machine' block. "
Position [23, 98]
HorizontalAlignment "left"
VerticalAlignment "top"
FontName "Arial"
FontSize 12
}
Annotation {
Name "Start the simulation. Observe the motor cur"
"rent, voltage, speed, and torque during the starting on the scope.\n\nAt the "
"end of the simulation time (2.5 s), the system has reached its steady-state. "
"The final state vector can\nbe saved by previously selecting 'Workspace I/O/"
"Save to workspace/Final state' in Simulation/Parameters window.\nOnce the sim"
"ultion is finished save the xFinal variable into xInitial.\n\nNote : The init"
"ial conditions state vector 'xInitial' to start with wm = 120 rad/s and TL = "
"0 N.m is stored in the\n 'power_acdrive_init.mat' file. This vec"
"tor is automatically loaded in your workspace.\n\nDouble click the two Manu"
"al Switch blocks to switch from the constant wref and TL blocks to the Step "
"blocks.\n(Refence speed wref changed from 120 to 160 rad/s at t = 0.2 s and l"
"oad torque changed from 0 to 200 N.m at t= 1.4s).\nIn the Simulation/Simulat"
"ion parameters/Workspace I/O menu, check 'Initial state' to use the xInitial"
" vector of initial conditions.\nRestart the simulation and observe the drive"
" response to successive changes in speed reference and load torque. \n"
Position [24, 240]
HorizontalAlignment "left"
VerticalAlignment "top"
FontName "Arial"
FontSize 12
}
}
}
Block {
BlockType Reference
Name "Reference\nspeed\nselection\n(rad/s)"
Ports [2, 1]
Position [425, 90, 465, 150]
Orientation "left"
ForegroundColor "blue"
FontName "Arial"
FontSize 12
SourceBlock "simulink/Signal\nRouting/Manual Switch"
SourceType "Manual Switch"
ShowPortLabels on
sw "1"
action "0"
}
Block {
BlockType Scope
Name "Scope"
Ports [4]
Position [475, 380, 520, 470]
BackgroundColor "green"
NamePlacement "alternate"
Location [192, 64, 702, 702]
Open off
NumInputPorts "4"
ZoomMode "yonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
axes3 "%<SignalLabel>"
axes4 "%<SignalLabel>"
}
TimeRange "2.5"
YMin "-1000~-200~100~-100"
YMax "1000~200~180~400"
DataFormat "StructureWithTime"
LimitDataPoints off
Decimation "20"
SampleTime "5e-6"
}
Block {
BlockType Step
Name "Speed\nstep"
Position [500, 125, 530, 145]
Orientation "left"
ForegroundColor "blue"
Time "0.2"
Before "120"
After "160"
SampleTime "0"
}
Block {
BlockType Reference
Name "Torque\nselection\n(N.m)"
Ports [2, 1]
Position [165, 89, 200, 151]
ForegroundColor "blue"
FontName "Arial"
FontSize 12
SourceBlock "simulink/Signal\nRouting/Manual Switch"
SourceType "Manual Switch"
ShowPortLabels on
sw "1"
action "0"
}
Block {
BlockType Step
Name "Torque\nstep"
Position [90, 123, 120, 147]
ForegroundColor "blue"
Time "1.8"
After "200"
SampleTime "0"
}
Block {
BlockType UnitDelay
Name "Unit Delay3"
Position [295, 508, 315, 542]
NamePlacement "alternate"
ShowName off
SampleTime "Ts"
}
Block {
BlockType UnitDelay
Name "Unit Delay4"
Position [295, 467, 315, 503]
NamePlacement "alternate"
ShowName off
SampleTime "Ts"
}
Block {
BlockType Reference
Name "VDC"
Description "source block"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [510, 255, 530, 290]
Orientation "up"
AttributesFormatString "\\n"
SourceBlock "powerlib/Electrical\nSources/DC Voltage Source"
SourceType "DC Voltage Source"
ShowPortLabels on
Amplitude "780"
Measurements "None"
}
Block {
BlockType Reference
Name "Vab"
Tag "PoWeRsYsTeMmEaSuReMeNt"
Ports [0, 1, 0, 0, 0, 2]
Position [335, 383, 360, 407]
NamePlacement "alternate"
AttributesFormatString "\\n"
SourceBlock "powerlib/Measurements/Voltage Measurement"
SourceType "Voltage Measurement"
ShowPortLabels on
PhasorSimulation off
OutputType "Magnitude"
PSBequivalent "0"
Port {
PortNumber 1
Name "Vab (V)"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
ShowSigGenPortName on
}
}
Block {
BlockType SubSystem
Name "Vector Control"
Ports [1, 1]
Position [285, 95, 375, 145]
Orientation "left"
ForegroundColor "blue"
BackgroundColor "cyan"
NamePlacement "alternate"
FontName "Arial"
FontWeight "bold"
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
System {
Name "Vector Control"
Location [428, 387, 1033, 751]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "speed"
Position [35, 318, 65, 332]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType SubSystem
Name "ABC to dq\nconversion"
Ports [2, 2]
Position [395, 74, 450, 121]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
System {
Name "ABC to dq\nconversion"
Location [220, 231, 594, 356]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "Iabc"
Position [15, 83, 45, 97]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "Teta"
Position [15, 23, 45, 37]
Port "2"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Fcn
Name "Fcn"
Position [75, 49, 115, 71]
ShowName off
Expr "sin(u)"
}
Block {
BlockType Fcn
Name "Fcn1"
Position [75, 19, 115, 41]
ShowName off
Expr "cos(u)"
}
Block {
BlockType Gain
Name "Gain"
Position [255, 25, 285, 55]
ShowName off
Gain "2/3"
}
Block {
BlockType Gain
Name "Gain1"
Position [255, 60, 285, 90]
ShowName off
Gain "2/3"
}
Block {
BlockType Mux
Name "Mux"
Ports [3, 1]
Position [145, 15, 150, 105]
ShowName off
Inputs "[1 1 3]"
}
Block {
BlockType Fcn
Name "id"
Position [185, 28, 225, 52]
NamePlacement "alternate"
Expr "u[1]*u[3]+(1.7320508*u[2]-u[1])*u[4]*0."
"5+(-u[1]-1.7320508*u[2])*u[5]*0.5"
}
Block {
BlockType Fcn
Name "iq"
Position [185, 63, 225, 87]
Expr "-u[2]*u[3]+(u[2]+1.7320508*u[1])*u[4]*0"
".5+(u[2]-1.7320508*u[1])*u[5]*0.5"
}
Block {
BlockType Outport
Name "Id"
Position [315, 33, 345, 47]
IconDisplay "Port number"
BusOutputAsStruct off
InitialOutput "0"
}
Block {
BlockType Outport
Name "Iq"
Position [315, 68, 345, 82]
Port "2"
IconDisplay "Port number"
BusOutputAsStruct off
InitialOutput "0"
}
Line {
SrcBlock "Fcn"
SrcPort 1
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "Fcn1"
SrcPort 1
DstBlock "Mux"
DstPort 1
}
Line {
SrcBlock "Teta"
SrcPort 1
Points [5, 0]
Branch {
DstBlock "Fcn1"
DstPort 1
}
Branch {
Points [0, 30]
DstBlock "Fcn"
DstPort 1
}
}
Line {
SrcBlock "Mux"
SrcPort 1
Points [5, 0]
Branch {
Points [0, 15]
DstBlock "iq"
DstPort 1
}
Branch {
Points [0, -20]
DstBlock "id"
DstPort 1
}
}
Line {
SrcBlock "Iabc"
SrcPort 1
DstBlock "Mux"
DstPort 3
}
Line {
SrcBlock "iq"
SrcPort 1
DstBlock "Gain1"
DstPort 1
}
Line {
SrcBlock "id"
SrcPort 1
DstBlock "Gain"
DstPort 1
}
Line {
SrcBlock "Gain"
SrcPort 1
DstBlock "Id"
DstPort 1
}
Line {
SrcBlock "Gain1"
SrcPort 1
DstBlock "Iq"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Current\nRegulator"
Ports [2, 1]
Position [465, 230, 525, 290]
BackgroundColor "lightBlue"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -