📄 im3frames.mdl
字号:
SrcPort 1
Points [20, 0]
DstBlock "Mux5"
DstPort 1
}
Line {
SrcBlock "Fcn1"
SrcPort 1
Points [15, 0]
DstBlock "Mux5"
DstPort 2
}
Line {
SrcBlock "thetak"
SrcPort 1
Points [125, 0]
Branch {
Points [0, 40; -80, 0; 0, 55]
DstBlock "Mux4"
DstPort 2
}
Branch {
Points [0, -35; -80, 0; 0, -35]
DstBlock "Mux3"
DstPort 2
}
}
Line {
SrcBlock "dq"
SrcPort 1
Points [15, 0; 0, 0]
Branch {
Points [0, 105]
DstBlock "Mux4"
DstPort 1
}
Branch {
Points [0, -60]
DstBlock "Mux3"
DstPort 1
}
}
Line {
SrcBlock "Mux4"
SrcPort 1
DstBlock "Fcn1"
DstPort 1
}
Line {
SrcBlock "Mux3"
SrcPort 1
DstBlock "Fcn"
DstPort 1
}
}
}
Block {
BlockType Step
Name "frequency"
Position [35, 150, 65, 180]
ForegroundColor "red"
Time "1.4"
Before "1"
After "5/6"
SampleTime "0"
Port {
PortNumber 1
Name "ws"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
}
Block {
BlockType SubSystem
Name "info"
Ports []
Position [42, 344, 114, 413]
ForegroundColor "darkGreen"
DropShadow on
ShowName off
FontWeight "bold"
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 [403, 304, 997, 667]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "103"
Annotation {
Name " A selection of one of three common referen"
"ce frames is obtained by clicking the manual switches: \n a)Stator frame"
" where wk=0 and thetak=0 indicated in cyan color.\n b)Synchronous frame "
"where wk=ws and thetak = wo int(ws) indicated in red.\n c)Rotor frame wh"
"ere wk=wm and thetak = wo int(wm) in green. \n (wo is the base fre"
"quency 2 pi fo [rad/s] where fo = 60 Hz)\nBoth upper and lower pair of switc"
"hes must be in the same up or down positions.\nThe induction machine is model"
"ed in vectorized form in conformity with state vector formulation.\nThe param"
"eters describing the electromechanical system are expressed in per unit.\nThe"
" three-phase sinusoidal excitation can be adjusted in both amplitude and freq"
"uency.\nIn this simulation, the system is assumed to be initially inert so th"
"at all the initial conditions are zero.\nThe motor is started at no load at r"
"ated voltage and frequency. After reaching steady-state conditions,\nthe inpu"
"t voltage is suddenly reduced by a factor of 5/6 in amplitude and frequency "
"and soon after\nfull load is applied as a step function.\nThe voltages and cu"
"rrents can be observed on the scopes in both stator and rotating frames.\nNot"
"e that, in steady-state, the stator currents show up at stator frequency ws "
"in the stator\nframe, as dc quantities in the synchronous frame, and at slip "
"frequency (ws-wm) in the\nrotor frame.\nThe torque and speed time evolutions "
"do not depend on the choice of reference frame."
Position [15, 75]
HorizontalAlignment "left"
VerticalAlignment "top"
FontName "Arial"
FontSize 12
}
Annotation {
Name "Running of an Induction Motor \nModeled in"
" Three Reference Frames\nunder Three-Phase Sinusoidal Excitation "
Position [264, 27]
ForegroundColor "blue"
FontSize 12
FontWeight "bold"
}
}
}
Block {
BlockType Scope
Name "speed"
Ports [1]
Position [1055, 136, 1090, 184]
NamePlacement "alternate"
Location [504, 423, 1007, 694]
Open on
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "speed"
}
List {
ListType SelectedSignals
axes1 ""
}
TimeRange "2"
YMin "0"
YMax "1.4"
DataFormat "StructureWithTime"
MaxDataPoints "20000"
Decimation "20"
}
Block {
BlockType Scope
Name "torque"
Ports [1]
Position [975, 41, 1010, 89]
NamePlacement "alternate"
Location [504, 68, 1003, 366]
Open on
NumInputPorts "1"
ZoomMode "yonly"
List {
ListType AxesTitles
axes1 "torque"
}
List {
ListType SelectedSignals
axes1 ""
}
TimeRange "2"
YMin "-4"
YMax "4"
DataFormat "StructureWithTime"
MaxDataPoints "20000"
Decimation "20"
}
Block {
BlockType Scope
Name "voltages"
Ports [3]
Position [585, 26, 615, 84]
NamePlacement "alternate"
Location [8, 68, 496, 364]
Open on
NumInputPorts "3"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
axes3 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
axes2 ""
axes3 ""
}
TimeRange "0.02"
YMin "-1~-1.25~-0.1"
YMax "1~1~1.1"
SaveName "ScopeData2"
DataFormat "StructureWithTime"
}
Block {
BlockType Gain
Name "wo"
Position [100, 147, 130, 183]
Gain "2*pi*60"
}
Line {
Name "i_dq"
Labels [0, 0]
SrcBlock "IM"
SrcPort 2
Points [20, 0]
Branch {
DstBlock "dq2ab "
DstPort 1
}
Branch {
Labels [-1, 1]
Points [0, -30]
DstBlock "currents"
DstPort 1
}
}
Line {
SrcBlock "Mux6"
SrcPort 1
DstBlock "torque"
DstPort 1
}
Line {
SrcBlock "Step load pu"
SrcPort 1
Points [0, 0; 50, 0]
Branch {
Labels [-1, 1]
DstBlock "Mux6"
DstPort 1
}
Branch {
Points [0, 135]
DstBlock "Mechanical \nsystem"
DstPort 2
}
}
Line {
Name "Te"
Labels [0, 0]
SrcBlock "IM"
SrcPort 1
Points [60, 0; 0, -45]
Branch {
Labels [-1, 1]
Points [0, -60]
DstBlock "Mux6"
DstPort 2
}
Branch {
DstBlock "Mechanical \nsystem"
DstPort 1
}
}
Line {
Name "wm"
Labels [1, 0]
SrcBlock "Mechanical \nsystem"
SrcPort 1
Points [25, 0]
Branch {
DstBlock "speed"
DstPort 1
}
Branch {
Points [0, 190; -460, 0]
Branch {
Points [0, -75]
DstBlock "IM"
DstPort 3
}
Branch {
Labels [-1, 1]
Points [-230, 0; 0, -75]
DstBlock "Manal Switch1"
DstPort 2
}
Branch {
Points [0, 80]
DstBlock "Gain"
DstPort 1
}
}
}
Line {
Name "v_dq"
Labels [0, 0]
SrcBlock "ab2dq"
SrcPort 1
Points [0, 0; 10, 0]
Branch {
DstBlock "IM"
DstPort 1
}
Branch {
Labels [2, 0]
Points [0, -90]
DstBlock "voltages"
DstPort 3
}
}
Line {
Name "ws"
SrcBlock "frequency"
SrcPort 1
Points [0, 0; 15, 0]
Branch {
Labels [-1, 1]
DstBlock "wo"
DstPort 1
}
Branch {
Labels [-1, 1]
Points [0, 100]
DstBlock "Manual Switch"
DstPort 2
}
}
Line {
Name "v_ABC"
Labels [0, 0]
SrcBlock "Mux4"
SrcPort 1
Points [0, 0; 10, 0]
Branch {
DstBlock "ABC2ab"
DstPort 1
}
Branch {
Labels [2, 0]
Points [0, -110]
DstBlock "voltages"
DstPort 1
}
}
Line {
SrcBlock "Fcn"
SrcPort 1
DstBlock "Mux4"
DstPort 1
}
Line {
SrcBlock "Fcn1"
SrcPort 1
DstBlock "Mux4"
DstPort 2
}
Line {
SrcBlock "Fcn2"
SrcPort 1
DstBlock "Mux4"
DstPort 3
}
Line {
Name "v_ab"
Labels [0, 0]
SrcBlock "ABC2ab"
SrcPort 1
Points [0, 0; 20, 0]
Branch {
DstBlock "ab2dq"
DstPort 1
}
Branch {
Labels [2, 0]
Points [0, -90]
DstBlock "voltages"
DstPort 2
}
}
Line {
SrcBlock "wo"
SrcPort 1
DstBlock "Integrator"
DstPort 1
}
Line {
Name "thetas"
SrcBlock "Integrator"
SrcPort 1
Points [0, 0; 10, 0]
Branch {
Labels [1, 0]
DstBlock "Mux3"
DstPort 2
}
Branch {
Labels [-1, 1]
Points [0, 240]
DstBlock "Manual Switch1"
DstPort 2
}
}
Line {
SrcBlock "amplitude"
SrcPort 1
DstBlock "Mux3"
DstPort 1
}
Line {
SrcBlock "Mux3"
SrcPort 1
Points [0, 0; 15, 0]
Branch {
DstBlock "Fcn1"
DstPort 1
}
Branch {
Points [0, -35]
DstBlock "Fcn"
DstPort 1
}
Branch {
Points [0, 35]
DstBlock "Fcn2"
DstPort 1
}
}
Line {
SrcBlock "Constant"
SrcPort 1
Points [10, 0; 0, 25]
DstBlock "Manual Switch"
DstPort 1
}
Line {
SrcBlock "Manual Switch"
SrcPort 1
DstBlock "Manal Switch1"
DstPort 1
}
Line {
Name "wk"
Labels [0, 1]
SrcBlock "Manal Switch1"
SrcPort 1
Points [120, 0; 0, -45]
DstBlock "IM"
DstPort 2
}
Line {
SrcBlock "Gain"
SrcPort 1
DstBlock "Integrator1"
DstPort 1
}
Line {
SrcBlock "Manual Switch1"
SrcPort 1
DstBlock "Manal Switch2"
DstPort 1
}
Line {
Name "thetak"
Labels [0, 1]
SrcBlock "Manal Switch2"
SrcPort 1
Points [0, 0; 55, 0]
Branch {
Points [0, -225]
DstBlock "ab2dq"
DstPort 2
}
Branch {
Points [355, 0; 0, -100]
DstBlock "dq2ab "
DstPort 2
}
}
Line {
SrcBlock "Constant1"
SrcPort 1
Points [15, 0]
DstBlock "Manual Switch1"
DstPort 1
}
Line {
Name "thetar"
Labels [2, 1]
SrcBlock "Integrator1"
SrcPort 1
Points [-120, 0; 0, -15]
DstBlock "Manal Switch2"
DstPort 2
}
Line {
Name "i_ab"
Labels [0, 0]
SrcBlock "dq2ab "
SrcPort 1
Points [10, 0]
Branch {
DstBlock "ab2ABC"
DstPort 1
}
Branch {
Labels [-1, 1]
Points [0, -35]
DstBlock "currents"
DstPort 2
}
}
Line {
Name "i_ABC"
Labels [-1, 1]
SrcBlock "ab2ABC"
SrcPort 1
Points [20, 0; 0, -15]
DstBlock "currents"
DstPort 3
}
Annotation {
Name "dq\nREFERENCE\nFRAME"
Position [467, 246]
FontSize 12
FontWeight "bold"
}
Annotation {
Name "STATOR"
Position [293, 219]
ForegroundColor "magenta"
}
Annotation {
Name "SYNCHRONOUS"
Position [137, 257]
ForegroundColor "red"
}
Annotation {
Name "ROTOR"
Position [298, 334]
ForegroundColor "green"
}
Annotation {
Name "variable-amplitude variable- frequency\n3-phase"
" sinusoidal voltages"
Position [194, 69]
ForegroundColor "red"
FontSize 12
FontWeight "bold"
}
Annotation {
Name "Tl"
Position [902, 46]
}
Annotation {
Name "speed"
Position [337, 238]
}
Annotation {
Name "angle"
Position [331, 375]
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -