📄 imvectrol5.mdl
字号:
BlockType Outport
Name "iabc^"
Position [300, 98, 330, 112]
}
Line {
SrcBlock "Mux3"
SrcPort 1
DstBlock "Fcn"
DstPort 1
}
Line {
SrcBlock "Mux4"
SrcPort 1
DstBlock "Fcn2"
DstPort 1
}
Line {
SrcBlock "idq"
SrcPort 1
Points [15, 0]
Branch {
Points [0, -65]
DstBlock "Mux3"
DstPort 1
}
Branch {
Points [0, 70]
DstBlock "Mux4"
DstPort 1
}
Branch {
DstBlock "Mux1"
DstPort 1
}
}
Line {
SrcBlock "Fcn"
SrcPort 1
Points [25, 0; 0, 45]
DstBlock "Mux5"
DstPort 1
}
Line {
SrcBlock "Mux5"
SrcPort 1
DstBlock "iabc^"
DstPort 1
}
Line {
SrcBlock "Mux1"
SrcPort 1
DstBlock "Fcn1"
DstPort 1
}
Line {
SrcBlock "Fcn1"
SrcPort 1
DstBlock "Mux5"
DstPort 2
}
Line {
SrcBlock "Fcn2"
SrcPort 1
Points [25, 0; 0, -50]
DstBlock "Mux5"
DstPort 3
}
Line {
SrcBlock "theta"
SrcPort 1
Points [35, 0]
Branch {
DstBlock "Mux4"
DstPort 2
}
Branch {
Points [0, -70]
Branch {
Points [0, -65]
DstBlock "Mux3"
DstPort 2
}
Branch {
DstBlock "Mux1"
DstPort 2
}
}
}
}
}
Block {
BlockType SubSystem
Name "id* Calculator"
Ports [1, 1]
Position [200, 319, 250, 351]
NamePlacement "alternate"
TreatAsAtomicUnit off
System {
Name "id* Calculator"
Location [794, 531, 1010, 663]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "Phir*"
Position [25, 38, 55, 52]
}
Block {
BlockType Gain
Name "KF"
Position [80, 29, 140, 61]
Gain "1/34.7e-3"
}
Block {
BlockType Outport
Name "Id*"
Position [165, 38, 195, 52]
}
Line {
SrcBlock "KF"
SrcPort 1
DstBlock "Id*"
DstPort 1
}
Line {
SrcBlock "Phir*"
SrcPort 1
DstBlock "KF"
DstPort 1
}
Annotation {
Name "Id* = Phir*/ Lm "
Position [89, 98]
}
Annotation {
Name "Lm= 34.7 mH"
Position [84, 118]
}
}
}
Block {
BlockType SubSystem
Name "info"
Ports []
Position [42, 104, 114, 173]
ForegroundColor "darkGreen"
DropShadow on
ShowName off
TreatAsAtomicUnit off
MaskDisplay "plot(-1.5,-1.5,1.5,1.5,cos(0:.01:7),sin(0:.01:7"
") )\ndisp('Info')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "info"
Location [32, 82, 605, 372]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "101"
Annotation {
Name "A three-phase induction motor rated at 50hp"
", 460V,4pole,60Hz is modeled in the common\nstator reference frame.The speed "
"loop utilizes a PI controller to produce the quadrature-axis\ncurrents iq* wh"
"ich serves as the torque command. The derived direct-axis current id* serves "
"\nas the rotor flux command. These currents are then transformed via the <dq2"
"abc> block into\nthe currrent references ia*, ib*, and ic* fed into the curre"
"nt regulator. The current-controlled \nPWM inverter is made up of three hyste"
"resis controllers. Rotor flux field orientation is obtained\nin the <theta ca"
"lculator> block.\n\nFirst double-click <INITIAL CONDITIONS> to establish the "
"specific steady-state operation\nat wref=120rad/s and Tl=0. Then examine the "
"transient response due to step changes in the \ncommand speed wref and load t"
"orque Tl. Repeat the simulation for a so-called detuned case\nwhen the estima"
"ted value of the rotor time constant Tr appearing in the <theta calculator> "
"\ndiffers from the actual value used for the motor parameters.\n"
Position [25, 65]
HorizontalAlignment "left"
VerticalAlignment "top"
FontName "Arial"
FontSize 12
}
Annotation {
Name "(adapted from Power System Blockset case st"
"udy)"
Position [280, 45]
FontSize 11
}
Annotation {
Name "Indirect Vector Control of a Variable-Frequ"
"ency Induction Motor Drive"
Position [279, 22]
FontSize 14
FontWeight "bold"
}
}
}
Block {
BlockType SubSystem
Name "iqs* Calculator"
Ports [2, 1]
Position [215, 232, 260, 283]
NamePlacement "alternate"
TreatAsAtomicUnit off
System {
Name "iqs* Calculator"
Location [534, 171, 1013, 318]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "Te*"
Position [25, 13, 55, 27]
}
Block {
BlockType Inport
Name "Phir"
Position [25, 53, 55, 67]
Port "2"
}
Block {
BlockType Fcn
Name "Fcn"
Position [125, 35, 245, 55]
ShowName off
Expr "u[1]*0.341/(u[2]+1e-3)"
}
Block {
BlockType Mux
Name "Mux1"
Ports [2, 1]
Position [80, 25, 100, 60]
ShowName off
Inputs "2"
}
Block {
BlockType Outport
Name "Iq*"
Position [275, 38, 305, 52]
InitialOutput "0"
}
Line {
SrcBlock "Phir"
SrcPort 1
Points [0, -10]
DstBlock "Mux1"
DstPort 2
}
Line {
SrcBlock "Fcn"
SrcPort 1
DstBlock "Iq*"
DstPort 1
}
Line {
SrcBlock "Te*"
SrcPort 1
Points [0, 15]
DstBlock "Mux1"
DstPort 1
}
Line {
SrcBlock "Mux1"
SrcPort 1
DstBlock "Fcn"
DstPort 1
}
Annotation {
Name "Iq= ( 2/3) * (2/p) * ( Lr/Lm) * (Te / Phir)"
Position [124, 91]
}
Annotation {
Name "Lm = 34.7 mH"
Position [319, 86]
}
Annotation {
Name "Lr = Ll'r +Lm = 0.8 +34.7= 35.5 mH"
Position [369, 104]
}
Annotation {
Name "p= # of poles = 4"
Position [329, 124]
}
Annotation {
Name "Iq= 0.341 * (Te / Phir)"
Position [89, 116]
}
}
}
Block {
BlockType Gain
Name "p/2"
Position [257, 350, 293, 380]
Orientation "up"
Gain "2"
Port {
PortNumber 1
Name "wmec"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
}
Block {
BlockType Step
Name "wref"
Position [25, 233, 55, 257]
ForegroundColor "red"
NamePlacement "alternate"
Time "0.1"
Before "120"
After "150"
SampleTime "0"
}
Line {
SrcBlock "Phir*"
SrcPort 1
DstBlock "id* Calculator"
DstPort 1
}
Line {
SrcBlock "iqs* Calculator"
SrcPort 1
DstBlock "Mux3"
DstPort 2
}
Line {
SrcBlock "id* Calculator"
SrcPort 1
Points [30, 0]
DstBlock "Mux3"
DstPort 1
}
Line {
SrcBlock "Flux Calculator"
SrcPort 1
Points [-100, 0; 0, 95]
Branch {
DstBlock "Theta Calculator"
DstPort 2
}
Branch {
Points [0, 125]
DstBlock "iqs* Calculator"
DstPort 2
}
}
Line {
SrcBlock "wref"
SrcPort 1
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "Sum2"
SrcPort 1
DstBlock "1/J"
DstPort 1
}
Line {
SrcBlock "1/J"
SrcPort 1
DstBlock "Integrator2"
DstPort 1
}
Line {
Name "wmec"
Labels [1, 0]
SrcBlock "Integrator2"
SrcPort 1
Points [30, 0]
Branch {
Points [0, 30]
Branch {
DstBlock "Bm"
DstPort 1
}
Branch {
Points [0, 95]
Branch {
Points [-390, 0; 0, -55]
DstBlock "IM"
DstPort 3
}
Branch {
Points [0, 60; -650, 0]
Branch {
Points [-185, 0]
DstBlock "Sum1"
DstPort 2
}
Branch {
DstBlock "p/2"
DstPort 1
}
}
}
}
Branch {
DstBlock "Scope"
DstPort 1
}
}
Line {
SrcBlock "Bm"
SrcPort 1
Points [-60, 0]
DstBlock "Sum2"
DstPort 3
}
Line {
Name "Te"
Labels [0, 0]
SrcBlock "IM"
SrcPort 1
Points [10, 0]
Branch {
DstBlock "Sum2"
DstPort 2
}
Branch {
Labels [-1, 1]
Points [0, -95]
DstBlock "Mux1"
DstPort 1
}
}
Line {
SrcBlock "Stator\nframe"
SrcPort 1
DstBlock "IM"
DstPort 2
}
Line {
SrcBlock "IM"
SrcPort 2
DstBlock "2/3"
DstPort 1
}
Line {
SrcBlock "2/3"
SrcPort 1
Points [0, 0; 15, 0]
Branch {
Labels [1, 0]
DstBlock "Scope2"
DstPort 1
}
Branch {
Points [0, 100; -390, 0; 0, -170]
Branch {
DstBlock "Sum"
DstPort 1
}
Branch {
Points [0, -100]
DstBlock "abc2dq"
DstPort 1
}
}
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Relay"
DstPort 1
}
Line {
SrcBlock "3/2"
SrcPort 1
DstBlock "IM"
DstPort 1
}
Line {
SrcBlock "Relay"
SrcPort 1
DstBlock "3/2"
DstPort 1
}
Line {
SrcBlock "Mux3"
SrcPort 1
DstBlock "dq2abc"
DstPort 1
}
Line {
SrcBlock "dq2abc"
SrcPort 1
Points [50, 0]
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "Theta Calculator"
SrcPort 1
Points [30, 0]
Branch {
Points [0, 165; -85, 0]
DstBlock "dq2abc"
DstPort 2
}
Branch {
DstBlock "abc2dq"
DstPort 2
}
}
Line {
SrcBlock "Demux"
SrcPort 1
Points [15, 0; 0, -75]
DstBlock "Flux Calculator"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 2
Points [40, 0; 0, -55; -300, 0; 0, 35]
DstBlock "Theta Calculator"
DstPort 1
}
Line {
SrcBlock "Speed controller"
SrcPort 1
DstBlock "iqs* Calculator"
DstPort 1
}
Line {
SrcBlock "Sum1"
SrcPort 1
Points [-10, 0]
DstBlock "Speed controller"
DstPort 1
}
Line {
SrcBlock "abc2dq"
SrcPort 1
DstBlock "Demux"
DstPort 1
}
Line {
Name "wmec"
SrcBlock "p/2"
SrcPort 1
Points [0, -180]
DstBlock "Theta Calculator"
DstPort 3
}
Line {
SrcBlock "Mux1"
SrcPort 1
DstBlock "Scope1"
DstPort 1
}
Line {
Name "Tl"
Labels [0, 0]
SrcBlock "Tl"
SrcPort 1
Points [75, 0]
Branch {
DstBlock "Mux1"
DstPort 2
}
Branch {
DstBlock "Sum2"
DstPort 1
}
}
Annotation {
Name "Vector Control of a Variable-Frequency Inductio"
"n Motor Drive"
Position [504, 457]
ForegroundColor "white"
BackgroundColor "blue"
FontSize 18
FontWeight "bold"
}
Annotation {
Name "INVERTER"
Position [479, 189]
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -