📄 imsq6ssb.mdl
字号:
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "ab"
Position [20, 92, 50, 108]
}
Block {
BlockType Fcn
Name "Fcn"
Position [165, 22, 220, 58]
Expr "u(1)*cos(u(3))+u(2)*sin(u(3))"
}
Block {
BlockType Fcn
Name "Fcn1"
Position [165, 186, 220, 224]
Expr "-u(1)*sin(u(3))+u(2)*cos(u(3))"
}
Block {
BlockType Mux
Name "Mux3"
Ports [2, 1]
Position [125, 12, 130, 63]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Mux
Name "Mux4"
Ports [2, 1]
Position [125, 177, 130, 228]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Mux
Name "Mux5"
Ports [2, 1]
Position [270, 106, 275, 139]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Clock
Name "t"
Position [80, 110, 100, 130]
Decimation "10"
}
Block {
BlockType Gain
Name "w"
Position [115, 102, 165, 138]
Gain "2*pi*50"
}
Block {
BlockType Outport
Name "dq"
Position [300, 118, 330, 132]
}
Line {
SrcBlock "t"
SrcPort 1
DstBlock "w"
DstPort 1
}
Line {
SrcBlock "Mux3"
SrcPort 1
DstBlock "Fcn"
DstPort 1
}
Line {
SrcBlock "Mux4"
SrcPort 1
DstBlock "Fcn1"
DstPort 1
}
Line {
SrcBlock "w"
SrcPort 1
Points [10, 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 "ab"
SrcPort 1
Points [15, 0]
Branch {
Points [0, -75]
DstBlock "Mux3"
DstPort 1
}
Branch {
Points [0, 90]
DstBlock "Mux4"
DstPort 1
}
}
Line {
SrcBlock "Fcn1"
SrcPort 1
Points [30, 0]
DstBlock "Mux5"
DstPort 2
}
Line {
SrcBlock "Fcn"
SrcPort 1
Points [30, 0]
DstBlock "Mux5"
DstPort 1
}
Line {
SrcBlock "Mux5"
SrcPort 1
DstBlock "dq"
DstPort 1
}
}
}
Block {
BlockType Scope
Name "dq currents"
Ports [1]
Position [785, 235, 815, 275]
ForegroundColor "red"
NamePlacement "alternate"
Location [66, 68, 540, 367]
Open off
NumInputPorts "1"
TickLabels "on"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
TimeRange "0.25"
YMin "-1"
YMax "1"
SaveName "ScopeData1"
DataFormat "Array"
}
Block {
BlockType SubSystem
Name "info"
Ports []
Position [132, 309, 204, 378]
ForegroundColor "darkGreen"
DropShadow on
ShowName off
FontName "Arial"
FontSize 12
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 [39, 196, 559, 360]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "97"
Annotation {
Name "An induction motor\nunder 6-pulse squarewav"
"e excitation"
Position [243, 17]
ForegroundColor "blue"
FontSize 12
FontWeight "bold"
}
Annotation {
Name "First establish the operating point IC's by"
" saving to workspace the simulation\nparameters defined as \"Final state\" i"
"c.\nRun the simulation for a sufficiently long enough time (~0.5s)to reach a "
"steady-state condition.\nThen load from workspace the previously computed ic"
" as \"Initial state\" in the Simulation \nparameters. \nFinally rerun the sim"
"ulation for a specified time (in particular one cycle).\nTo modify the machin"
"e parameters, double click the induction motor block. "
Position [10, 40]
HorizontalAlignment "left"
VerticalAlignment "top"
FontSize 12
}
}
}
Block {
BlockType Scope
Name "mec"
Ports [2]
Position [890, 150, 935, 210]
ForegroundColor "lightBlue"
Location [590, 486, 1087, 785]
Open on
NumInputPorts "2"
TickLabels "on"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
axes2 ""
}
TimeRange "0.35"
YMin "0.7000000000000001~-4"
YMax "0.9000000000000001~4"
DataFormat "Array"
LimitDataPoints off
}
Block {
BlockType SubSystem
Name "plots1"
Ports []
Position [347, 422, 631, 484]
DropShadow on
ShowName off
OpenFcn "imsq6no\n \n \n "
FontName "Arial"
FontSize 24
FontWeight "bold"
TreatAsAtomicUnit off
MaskDisplay "disp('To steady-state operation\\nat no load')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "plots1"
Location [83, 506, 530, 694]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
}
}
Block {
BlockType SubSystem
Name "plots2"
Ports []
Position [27, 422, 307, 484]
DropShadow on
ShowName off
OpenFcn "imsq6ssa\n \n \n "
FontName "Arial"
FontSize 24
FontWeight "bold"
TreatAsAtomicUnit off
MaskDisplay "disp('To transients \\nfrom no load to full loa"
"d')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "plots2"
Location [83, 506, 530, 694]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
}
}
Block {
BlockType SubSystem
Name "plots3"
Ports []
Position [657, 422, 941, 485]
DropShadow on
ShowName off
OpenFcn "imsq6full\n \n \n "
FontName "Arial"
FontSize 24
FontWeight "bold"
TreatAsAtomicUnit off
MaskDisplay "disp('To steady-state operation\\nat full load'"
")"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "plots3"
Location [83, 506, 530, 694]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
}
}
Block {
BlockType SubSystem
Name "space vector"
Ports []
Position [282, 315, 343, 373]
BackgroundColor "yellow"
DropShadow on
ShowName off
OpenFcn "imsq6plt"
FontName "Arial"
FontSize 12
FontWeight "bold"
TreatAsAtomicUnit off
MaskDisplay "plot(-1.5,-1.5,1.5,1.5,cos(0:.01:7),sin(0:.01:7"
") )\ndisp('PLOTS')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "space vector"
Location [77, 512, 524, 700]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
}
}
Block {
BlockType Outport
Name "wm"
Position [830, 118, 860, 132]
}
Block {
BlockType Outport
Name "Te"
Position [830, 173, 860, 187]
Port "2"
}
Block {
BlockType Outport
Name "iab"
Position [645, 378, 675, 392]
Port "3"
}
Block {
BlockType Outport
Name "idq"
Position [790, 303, 820, 317]
Port "4"
}
Block {
BlockType Outport
Name "f"
Position [640, 223, 670, 237]
Port "5"
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Gain"
DstPort 1
}
Line {
Name "vB"
Labels [0, 0]
SrcBlock "6-pulse1"
SrcPort 1
Points [35, 0]
Branch {
Points [0, 0]
DstBlock "Sum"
DstPort 1
}
Branch {
Points [0, -105]
DstBlock "Mux5"
DstPort 2
}
}
Line {
Name "vC"
Labels [0, 0]
SrcBlock "6-pulse2"
SrcPort 1
Points [50, 0]
Branch {
Points [25, 0]
DstBlock "Sum"
DstPort 2
}
Branch {
DstBlock "Mux5"
DstPort 3
}
}
Line {
SrcBlock "6-pulse"
SrcPort 1
Points [20, 0]
Branch {
Points [0, -75]
DstBlock "Mux5"
DstPort 1
}
Branch {
DstBlock "Gain1"
DstPort 1
}
}
Line {
Name "ABC"
Labels [1, 1]
SrcBlock "Mux5"
SrcPort 1
DstBlock "ABC\n voltages"
DstPort 1
}
Line {
Name "b"
SrcBlock "Gain"
SrcPort 1
Points [50, 0]
DstBlock "Mux7"
DstPort 2
}
Line {
Name "vas"
SrcBlock "Gain1"
SrcPort 1
DstBlock "Mux7"
DstPort 1
}
Line {
Name "vs"
SrcBlock "Mux7"
SrcPort 1
Points [25, 0]
Branch {
Points [0, -55]
DstBlock "ab voltages"
DstPort 1
}
Branch {
Labels [1, 0]
DstBlock "IM"
DstPort 1
}
}
Line {
Name "wk"
Labels [0, 0]
SrcBlock "Ground"
SrcPort 1
DstBlock "IM"
DstPort 2
}
Line {
Name "Tl"
Labels [0, 0]
SrcBlock "Tl"
SrcPort 1
DstBlock "Mechanical \nsystem"
DstPort 1
}
Line {
Name "wm"
Labels [1, 0]
SrcBlock "Mechanical \nsystem"
SrcPort 1
Points [65, 0]
Branch {
Points [65, 0]
DstBlock "mec"
DstPort 1
}
Branch {
Points [0, -30]
Branch {
DstBlock "wm"
DstPort 1
}
Branch {
DstBlock "Goto"
DstPort 1
}
}
}
Line {
Name "Te"
Labels [0, 0]
SrcBlock "IM"
SrcPort 1
Points [30, 0]
Branch {
DstBlock "Mechanical \nsystem"
DstPort 2
}
Branch {
Points [-10, 0; 0, 30]
Branch {
Points [205, 0]
Branch {
Points [65, 0]
DstBlock "mec"
DstPort 2
}
Branch {
Labels [1, 0]
Points [0, -25]
DstBlock "Te"
DstPort 1
}
}
Branch {
DstBlock "Mux8"
DstPort 1
}
}
}
Line {
SrcBlock "From"
SrcPort 1
DstBlock "IM"
DstPort 3
}
Line {
Name "dq"
SrcBlock "ab2dq"
SrcPort 1
Points [10, 0]
Branch {
Points [0, 55]
DstBlock "idq"
DstPort 1
}
Branch {
DstBlock "dq currents"
DstPort 1
}
}
Line {
SrcBlock "Mux8"
SrcPort 1
DstBlock "f"
DstPort 1
}
Line {
Name "is"
Labels [0, 1]
SrcBlock "IM"
SrcPort 2
Points [20, 0]
Branch {
DstBlock "ab2dq"
DstPort 1
}
Branch {
Points [0, 75]
Branch {
DstBlock "ab\ncurrents"
DstPort 1
}
Branch {
Points [0, 55]
DstBlock "iab"
DstPort 1
}
}
Branch {
DstBlock "Mux8"
DstPort 2
}
}
Annotation {
Name "vA"
Position [102, 150]
}
Annotation {
Name "INDUCTION MOTOR\nUNDER 6-PULSE SQUAREWAVE EXCIT"
"ATION"
Position [566, 35]
ForegroundColor "red"
FontName "Arial"
FontSize 20
FontWeight "bold"
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -