📄 imrotfluxframe.mdl
字号:
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Mux
Name "Mux5"
Ports [2, 1]
Position [340, 106, 345, 139]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Outport
Name "dq"
Position [370, 118, 400, 132]
}
Line {
SrcBlock "Mux3"
SrcPort 1
DstBlock "Fcn"
DstPort 1
}
Line {
SrcBlock "Mux4"
SrcPort 1
DstBlock "Fcn1"
DstPort 1
}
Line {
SrcBlock "ab"
SrcPort 1
Points [15, 0; 0, 0]
Branch {
Points [0, -60]
DstBlock "Mux3"
DstPort 1
}
Branch {
Points [0, 105]
DstBlock "Mux4"
DstPort 1
}
}
Line {
SrcBlock "thetak"
SrcPort 1
Points [125, 0]
Branch {
Points [0, -35; -80, 0; 0, -35]
DstBlock "Mux3"
DstPort 2
}
Branch {
Points [0, 40; -80, 0; 0, 55]
DstBlock "Mux4"
DstPort 2
}
}
Line {
SrcBlock "Fcn1"
SrcPort 1
Points [10, 0]
DstBlock "Mux5"
DstPort 2
}
Line {
SrcBlock "Fcn"
SrcPort 1
Points [20, 0]
DstBlock "Mux5"
DstPort 1
}
Line {
SrcBlock "Mux5"
SrcPort 1
DstBlock "dq"
DstPort 1
}
}
}
Block {
BlockType Scope
Name "current"
Ports [1]
Position [575, 191, 610, 239]
NamePlacement "alternate"
Location [13, 120, 516, 354]
Open on
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "dq currents"
}
List {
ListType SelectedSignals
axes1 ""
}
TimeRange "1"
YMin "-0.4"
YMax "1"
SaveName "ScopeData1"
DataFormat "StructureWithTime"
MaxDataPoints "20000"
Decimation "20"
}
Block {
BlockType SubSystem
Name "info"
Ports []
Position [57, 359, 129, 428]
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 [253, 597, 517, 656]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "103"
Annotation {
Name "Running of an Induction Motor \nModeled in"
" the Rotor Flux Frame\nunder Three-Phase Sinusoidal Excitation "
Position [129, 27]
FontSize 12
FontWeight "bold"
}
}
}
Block {
BlockType SubSystem
Name "space vector"
Ports []
Position [802, 355, 870, 421]
ForegroundColor "orange"
DropShadow on
ShowName off
OpenFcn "figure(1),plot(wm,Te,'-r'),grid,title('TORQUE-S"
"PEED CHARACTERISTICS'),xlabel('SPEED [pu]'),ylabel('TORQUE [pu]')"
TreatAsAtomicUnit off
MaskDisplay "plot(-1.5,-1.5,1.5,1.5,cos(0:.01:7),sin(0:.01:7"
") )\ndisp('T-w plot')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "space vector"
Location [81, 508, 528, 696]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
}
}
Block {
BlockType Scope
Name "torque"
Ports [1]
Position [735, 36, 770, 84]
NamePlacement "alternate"
Location [527, 86, 1006, 353]
Open on
NumInputPorts "1"
ZoomMode "yonly"
List {
ListType AxesTitles
axes1 "torque"
}
List {
ListType SelectedSignals
axes1 ""
}
TimeRange "1"
YMin "-0.4"
YMax "1"
DataFormat "StructureWithTime"
MaxDataPoints "20000"
Decimation "20"
}
Block {
BlockType Scope
Name "voltages"
Ports [3]
Position [350, 21, 380, 79]
NamePlacement "alternate"
Location [46, 96, 523, 354]
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~-1"
YMax "1~1~1"
SaveName "ScopeData2"
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "wf"
Ports [1]
Position [820, 286, 855, 334]
NamePlacement "alternate"
Location [534, 444, 1012, 708]
Open on
NumInputPorts "1"
ZoomMode "yonly"
List {
ListType AxesTitles
axes1 "rotor flux speed"
}
List {
ListType SelectedSignals
axes1 ""
}
TimeRange "1"
YMin "0.99"
YMax "1.025"
SaveName "ScopeData3"
DataFormat "StructureWithTime"
MaxDataPoints "20000"
Decimation "20"
}
Block {
BlockType Scope
Name "wm1"
Ports [1]
Position [820, 131, 855, 179]
NamePlacement "alternate"
Location [533, 408, 1008, 677]
Open on
NumInputPorts "1"
ZoomMode "yonly"
List {
ListType AxesTitles
axes1 "speed"
}
List {
ListType SelectedSignals
axes1 ""
}
TimeRange "1"
YMin "0.975"
YMax "1.015"
DataFormat "StructureWithTime"
MaxDataPoints "20000"
Decimation "20"
}
Block {
BlockType Gain
Name "wo"
Position [580, 252, 610, 288]
Gain "2*pi*60"
}
Block {
BlockType Outport
Name "wm"
Position [820, 203, 850, 217]
}
Block {
BlockType Outport
Name "Te"
Position [575, 153, 605, 167]
Port "2"
}
Line {
SrcBlock "Mux6"
SrcPort 1
DstBlock "torque"
DstPort 1
}
Line {
Name "Tl"
Labels [0, 0]
SrcBlock "Torque pulse"
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 "wm"
Labels [2, 0]
SrcBlock "Mechanical \nsystem"
SrcPort 1
Points [0, 0; 25, 0]
Branch {
DstBlock "wm1"
DstPort 1
}
Branch {
Points [0, 55]
Branch {
Points [0, 135; -495, 0; 0, -90]
DstBlock "IM"
DstPort 2
}
Branch {
DstBlock "wm"
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, -105]
DstBlock "voltages"
DstPort 3
}
}
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, -125]
DstBlock "voltages"
DstPort 1
}
}
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, -105]
DstBlock "voltages"
DstPort 2
}
}
Line {
Name "i_dq"
Labels [0, 0]
SrcBlock "IM"
SrcPort 2
DstBlock "current"
DstPort 1
}
Line {
SrcBlock "IM"
SrcPort 1
Points [20, 0]
Branch {
DstBlock "Te"
DstPort 1
}
Branch {
Points [0, -30]
Branch {
Points [0, -60]
DstBlock "Mux6"
DstPort 2
}
Branch {
DstBlock "Mechanical \nsystem"
DstPort 1
}
}
}
Line {
SrcBlock "Sine Wave"
SrcPort 1
DstBlock "Mux4"
DstPort 1
}
Line {
SrcBlock "Sine Wave1"
SrcPort 1
DstBlock "Mux4"
DstPort 2
}
Line {
SrcBlock "Sine Wave2"
SrcPort 1
DstBlock "Mux4"
DstPort 3
}
Line {
SrcBlock "Clock1"
SrcPort 1
DstBlock "Torque pulse"
DstPort 1
}
Line {
SrcBlock "wo"
SrcPort 1
DstBlock "Integrator1"
DstPort 1
}
Line {
Name "wf"
Labels [1, 0]
SrcBlock "IM"
SrcPort 3
Points [20, 0]
Branch {
DstBlock "wo"
DstPort 1
}
Branch {
Points [0, 40]
DstBlock "wf"
DstPort 1
}
}
Line {
SrcBlock "Integrator1"
SrcPort 1
Points [15, 0; 0, 95; -470, 0; 0, -175]
DstBlock "ab2dq"
DstPort 2
}
Annotation {
Name "Rotor flux\nREFERENCE\nFRAME"
Position [437, 101]
FontSize 12
FontWeight "bold"
}
Annotation {
Name "Tl"
Position [667, 41]
}
Annotation {
Name "3-phase\nvoltages"
Position [51, 69]
FontSize 12
FontWeight "bold"
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -