📄 switching_source.mdl
字号:
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 3
DstBlock "Goto3"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 4
DstBlock "Goto4"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 5
DstBlock "Goto5"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 6
DstBlock "Goto6"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Yout"
Ports [1]
Position [280, 53, 345, 77]
FontSize 14
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskHideContents off
System {
Name "Yout"
Location [124, 85, 631, 971]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "v,i"
Position [15, 373, 45, 387]
IconDisplay "Port number"
}
Block {
BlockType Demux
Name "Demux"
Ports [1, 7]
Position [100, 191, 105, 569]
BackgroundColor "black"
ShowName off
Outputs "[1 1 1 1 1 1 9]"
DisplayOption "bar"
}
Block {
BlockType Goto
Name "Goto1"
Position [325, 21, 395, 49]
GotoTag "tp042478"
TagVisibility "global"
}
Block {
BlockType Goto
Name "Goto2"
Position [325, 66, 395, 94]
GotoTag "tp043693"
TagVisibility "global"
}
Block {
BlockType Goto
Name "Goto3"
Position [325, 111, 395, 139]
GotoTag "tp330064"
TagVisibility "global"
}
Block {
BlockType Goto
Name "Goto4"
Position [325, 156, 395, 184]
GotoTag "tp330070"
TagVisibility "global"
}
Block {
BlockType Goto
Name "Goto5"
Position [325, 201, 395, 229]
GotoTag "tp330076"
TagVisibility "global"
}
Block {
BlockType Goto
Name "Goto6"
Position [325, 246, 395, 274]
GotoTag "tp330082"
TagVisibility "global"
}
Block {
BlockType Goto
Name "Goto7"
Position [325, 291, 395, 319]
GotoTag "gotomultimeterPSB"
TagVisibility "global"
}
Line {
SrcBlock "v,i"
SrcPort 1
DstBlock "Demux"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 1
DstBlock "Goto1"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 2
DstBlock "Goto2"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 3
DstBlock "Goto3"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 4
DstBlock "Goto4"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 5
DstBlock "Goto5"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 6
DstBlock "Goto6"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 7
DstBlock "Goto7"
DstPort 1
}
}
}
Line {
SrcBlock "State-Space"
SrcPort 1
DstBlock "Yout"
DstPort 1
}
Line {
SrcBlock "State-Space"
SrcPort 2
DstBlock "Status"
DstPort 1
}
Line {
SrcBlock "Sources"
SrcPort 1
DstBlock "State-Space"
DstPort 1
}
Line {
SrcBlock "Gates"
SrcPort 1
DstBlock "State-Space"
DstPort 2
}
}
}
Block {
BlockType Ground
Name "Ground"
Position [315, 40, 335, 60]
ShowName off
}
Block {
BlockType Terminator
Name "Terminator"
Position [355, 40, 375, 60]
ShowName off
}
Line {
SrcBlock "Ground"
SrcPort 1
DstBlock "Terminator"
DstPort 1
}
Annotation {
Name "Graphical user interface for the analysis o"
"f SimPowerSystems circuits. \nPlace the Powergui block in the top-level of y"
"our model and double-click\non it to open the GUI."
Position [14, 29]
HorizontalAlignment "left"
ForegroundColor "blue"
UseDisplayTextAsClickCallback off
FontSize 12
}
}
}
Block {
BlockType Scope
Name "ur,il"
Ports [4]
Position [485, 377, 520, 463]
BackgroundColor "green"
Floating off
Location [5, 47, 1285, 765]
Open off
NumInputPorts "4"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
axes3 "%<SignalLabel>"
axes4 "%<SignalLabel>"
}
TimeRange "1"
YMin "-200~-100~-0.07246376811593791~0.43478260869562"
"75"
YMax "300~100~17.31884057971013~45.6521739130435"
SaveToWorkspace on
SaveName "sps1phPWM2_str"
DataFormat "StructureWithTime"
LimitDataPoints off
MaxDataPoints "500000"
SampleTime "0"
}
Line {
LineType "Connection"
SrcBlock "IGBT2_2"
SrcPort RConn1
Points [0, 0; 0, 15]
Branch {
ConnectType "DEST_DEST"
SrcBlock "IGBT2_4"
SrcPort RConn1
Points [0, 15; -145, 0]
}
Branch {
ConnectType "DEST_SRC"
Points [-165, 0]
DstBlock "Vdc = 220 V"
DstPort LConn1
}
}
Line {
LineType "Connection"
SrcBlock "IGBT1_2"
SrcPort RConn1
Points [0, 0; 0, 10]
Branch {
ConnectType "DEST_SRC"
DstBlock "IGBT2_2"
DstPort LConn1
}
Branch {
ConnectType "DEST_SRC"
DstBlock "Linear Transformer"
DstPort LConn1
}
}
Line {
LineType "Connection"
SrcBlock "IGBT2_4"
SrcPort LConn1
Points [0, 0; 0, -5]
Branch {
ConnectType "DEST_SRC"
DstBlock "IGBT2_3"
DstPort RConn1
}
Branch {
ConnectType "DEST_SRC"
DstBlock "Linear Transformer"
DstPort LConn2
}
}
Line {
SrcBlock "Discrete\nPWM Generator\n4 pulses"
SrcPort 1
DstBlock "Demux1"
DstPort 1
}
Line {
SrcBlock "Demux1"
SrcPort 1
Points [0, 0; -35, 0]
Branch {
DstBlock "Goto2"
DstPort 1
}
Branch {
Points [0, -80]
DstBlock "PWM"
DstPort 1
}
}
Line {
SrcBlock "Demux1"
SrcPort 2
Points [0, 0; -25, 0]
Branch {
DstBlock "Goto3"
DstPort 1
}
Branch {
Points [0, -80]
DstBlock "PWM"
DstPort 2
}
}
Line {
SrcBlock "From2"
SrcPort 1
Points [0, 0]
DstBlock "IGBT1_2"
DstPort 1
}
Line {
SrcBlock "From3"
SrcPort 1
Points [0, 0]
DstBlock "IGBT2_2"
DstPort 1
}
Line {
SrcBlock "Demux1"
SrcPort 3
Points [0, 0; -15, 0]
Branch {
DstBlock "Goto4"
DstPort 1
}
Branch {
Points [0, -80]
DstBlock "PWM"
DstPort 3
}
}
Line {
SrcBlock "Demux1"
SrcPort 4
Points [0, 0; -5, 0]
Branch {
DstBlock "Goto5"
DstPort 1
}
Branch {
Points [0, -80]
DstBlock "PWM"
DstPort 4
}
}
Line {
SrcBlock "From4"
SrcPort 1
Points [0, 0]
DstBlock "IGBT2_3"
DstPort 1
}
Line {
SrcBlock "From5"
SrcPort 1
Points [0, 0]
DstBlock "IGBT2_4"
DstPort 1
}
Line {
LineType "Connection"
SrcBlock "Vdc = 220 V"
SrcPort RConn1
Points [0, -75; 185, 0]
Branch {
ConnectType "DEST_SRC"
Points [145, 0]
DstBlock "IGBT2_3"
DstPort LConn1
}
Branch {
ConnectType "DEST_SRC"
DstBlock "IGBT1_2"
DstPort LConn1
}
}
Line {
LineType "Connection"
SrcBlock "Linear Transformer"
SrcPort RConn1
DstBlock "Diode"
DstPort LConn1
}
Line {
LineType "Connection"
Points [640, 220; 10, 0]
DstBlock "L"
DstPort LConn1
Branch {
ConnectType "SRC_DEST"
SrcBlock "Diode"
SrcPort RConn1
Points [0, 0; 10, 0]
}
Branch {
ConnectType "SRC_DEST"
SrcBlock "Diode1"
SrcPort RConn1
Points [10, 0; 0, -120]
}
}
Line {
LineType "Connection"
SrcBlock "Linear Transformer"
SrcPort RConn4
Points [15, 0; 0, 60]
DstBlock "Diode1"
DstPort LConn1
}
Line {
LineType "Connection"
Points [520, 260; 65, 0; 0, 50; 160, 0]
DstBlock " RC "
DstPort RConn1
Branch {
ConnectType "SRC_DEST"
SrcBlock "Linear Transformer"
SrcPort RConn3
Points [0, 0; 5, 0]
}
Branch {
ConnectType "SRC_DEST"
SrcBlock "Linear Transformer"
SrcPort RConn2
Points [5, 0; 0, 20]
}
}
Line {
LineType "Connection"
SrcBlock "L"
SrcPort RConn1
Points [25, 0]
DstBlock " RC "
DstPort LConn1
}
Line {
SrcBlock "Multimeter"
SrcPort 1
DstBlock "Demux"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 1
DstBlock "ur,il"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 2
DstBlock "ur,il"
DstPort 2
}
Line {
SrcBlock "Demux"
SrcPort 3
DstBlock "ur,il"
DstPort 3
}
Line {
SrcBlock "Demux"
SrcPort 4
DstBlock "ur,il"
DstPort 4
}
Line {
SrcBlock "Step"
SrcPort 1
Points [-40, 0; 0, -25]
DstBlock "Discrete\nPWM Generator\n4 pulses"
DstPort 1
}
Annotation {
Name "DC/DC Full-bridge Inverter"
Position [126, 33]
ForegroundColor "blue"
UseDisplayTextAsClickCallback off
FontSize 12
FontWeight "bold"
}
Annotation {
Name "Vw1"
Position [385, 379]
UseDisplayTextAsClickCallback off
}
Annotation {
Name "Vw2"
Position [381, 398]
UseDisplayTextAsClickCallback off
}
Annotation {
Name "IL"
Position [381, 419]
UseDisplayTextAsClickCallback off
}
Annotation {
Name "Vrc"
Position [391, 439]
UseDisplayTextAsClickCallback off
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -