📄 imrotfluxstart.mdl
字号:
DstBlock "Mux5"
DstPort 1
}
Line {
SrcBlock "Mux5"
SrcPort 1
DstBlock "dq"
DstPort 1
}
}
}
Block {
BlockType Scope
Name "currents"
Ports [1]
Position [845, 258, 875, 302]
Location [18, 95, 526, 364]
Open on
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "Stator current [pu]"
}
List {
ListType SelectedSignals
axes1 ""
}
TimeRange "2"
YMin "-6"
YMax "10"
SaveName "ScopeData3"
DataFormat "StructureWithTime"
LimitDataPoints off
}
Block {
BlockType Fcn
Name "ias"
Position [700, 305, 740, 335]
Expr "u(1)*cos(u(3))-u(2)*sin(u(3))"
Port {
PortNumber 1
Name "ias"
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 [52, 269, 124, 338]
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 [230, 635, 522, 696]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "103"
Annotation {
Name "Line Start of an Induction Motor \nModeled "
" in the Rotor Flux Frame\nunder Three-Phase Sinusoidal Excitation "
Position [129, 27]
FontSize 12
FontWeight "bold"
}
}
}
Block {
BlockType Fcn
Name "mag"
Position [690, 209, 730, 241]
Expr "sqrt(u(1)^2+u(2)^2)"
Port {
PortNumber 1
Name "Is_mag"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
}
Block {
BlockType SubSystem
Name "space vector"
Ports []
Position [52, 365, 120, 431]
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('XY plots')"
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 "speed"
Ports [1]
Position [845, 131, 880, 179]
NamePlacement "alternate"
Location [529, 423, 1003, 703]
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 [760, 36, 795, 84]
NamePlacement "alternate"
Location [530, 73, 1000, 368]
Open on
NumInputPorts "1"
ZoomMode "yonly"
List {
ListType AxesTitles
axes1 "torque"
}
List {
ListType SelectedSignals
axes1 ""
}
TimeRange "2"
YMin "-3"
YMax "3"
DataFormat "StructureWithTime"
MaxDataPoints "20000"
Decimation "20"
}
Block {
BlockType Scope
Name "voltages"
Ports [3]
Position [350, 21, 380, 79]
NamePlacement "alternate"
Location [46, 73, 523, 369]
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 [845, 386, 880, 434]
NamePlacement "alternate"
Location [529, 445, 1007, 719]
Open on
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "rotor flux speed"
}
List {
ListType SelectedSignals
axes1 ""
}
TimeRange "2"
YMin "-2.5"
YMax "2"
SaveName "ScopeData1"
DataFormat "StructureWithTime"
MaxDataPoints "20000"
Decimation "20"
}
Block {
BlockType Gain
Name "wo"
Position [530, 252, 560, 288]
Gain "2*pi*60"
}
Block {
BlockType Outport
Name "wm"
Position [855, 198, 885, 212]
}
Block {
BlockType Outport
Name "Te"
Position [600, 153, 630, 167]
Port "2"
}
Line {
SrcBlock "Mux6"
SrcPort 1
DstBlock "torque"
DstPort 1
}
Line {
Name "wm"
Labels [2, 0]
SrcBlock "Mechanical \nsystem"
SrcPort 1
Points [0, 0; 25, 0]
Branch {
DstBlock "speed"
DstPort 1
}
Branch {
Points [0, 50]
Branch {
Points [0, 175; -495, 0; 0, -125]
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 {
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 "Step load"
SrcPort 1
Points [0, 0; 45, 0]
Branch {
DstBlock "Mux6"
DstPort 1
}
Branch {
Points [0, 135]
DstBlock "Mechanical \nsystem"
DstPort 2
}
}
Line {
SrcBlock "Demux"
SrcPort 1
DstBlock "Mux"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 2
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "Mux"
SrcPort 1
Points [0, 0]
DstBlock "ias"
DstPort 1
}
Line {
Name "ias"
Labels [0, 0]
SrcBlock "ias"
SrcPort 1
Points [10, 0; 0, -30]
DstBlock "Mux7"
DstPort 2
}
Line {
Name "Is_mag"
Labels [0, 1]
SrcBlock "mag"
SrcPort 1
Points [20, 0; 0, 40]
DstBlock "Mux7"
DstPort 1
}
Line {
SrcBlock "Mux7"
SrcPort 1
DstBlock "currents"
DstPort 1
}
Line {
Name "i_dq"
Labels [0, 0]
SrcBlock "IM"
SrcPort 2
Points [60, 0; 0, 10; 65, 0]
Branch {
DstBlock "mag"
DstPort 1
}
Branch {
Points [0, 85]
DstBlock "Demux"
DstPort 1
}
}
Line {
Name "Te"
Labels [0, 0]
SrcBlock "IM"
SrcPort 1
Points [60, 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 "wo"
SrcPort 1
DstBlock "Integrator1"
DstPort 1
}
Line {
SrcBlock "IM"
SrcPort 3
Points [5, 0]
Branch {
DstBlock "wo"
DstPort 1
}
Branch {
Points [0, 140]
DstBlock "wf"
DstPort 1
}
}
Line {
Name "thetaf"
Labels [0, 0]
SrcBlock "Integrator1"
SrcPort 1
Points [5, 0; 0, 70]
Branch {
DstBlock "Mux"
DstPort 3
}
Branch {
Labels [1, 0]
Points [-410, 0; 0, -150]
DstBlock "ab2dq"
DstPort 2
}
}
Annotation {
Name "ROTOR FLUX\nREFERENCE\nFRAME"
Position [437, 101]
FontSize 12
FontWeight "bold"
}
Annotation {
Name "Tl"
Position [692, 41]
}
Annotation {
Name "3-phase\nvoltages"
Position [51, 69]
FontSize 12
FontWeight "bold"
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -