📄 cm_pwm_buck_enable.mdl
字号:
}
Block {
BlockType SubSystem
Name "Status"
Ports [1]
Position [280, 113, 345, 137]
FontName "Arial"
FontSize 14
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskHideContents off
System {
Name "Status"
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 "status"
Position [15, 373, 45, 387]
IconDisplay "Port number"
}
Block {
BlockType Demux
Name "Demux"
Ports [1, 2]
Position [100, 191, 105, 569]
BackgroundColor "black"
ShowName off
Outputs "[1 1]"
DisplayOption "bar"
}
Block {
BlockType Goto
Name "Goto1"
Position [325, 21, 395, 49]
GotoTag "tp213478"
TagVisibility "global"
}
Block {
BlockType Goto
Name "Goto2"
Position [325, 66, 395, 94]
GotoTag "tp213214"
TagVisibility "global"
}
Line {
SrcBlock "status"
SrcPort 1
DstBlock "Demux"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 1
DstBlock "Goto1"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 2
DstBlock "Goto2"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Yout"
Ports [1]
Position [280, 53, 345, 77]
FontName "Arial"
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, 6]
Position [100, 193, 105, 572]
BackgroundColor "black"
ShowName off
Outputs "[1 1 1 1 1 1]"
DisplayOption "bar"
}
Block {
BlockType Goto
Name "Goto1"
Position [325, 21, 395, 49]
GotoTag "tp213475"
TagVisibility "global"
}
Block {
BlockType Goto
Name "Goto2"
Position [325, 66, 395, 94]
GotoTag "tp213210"
TagVisibility "global"
}
Block {
BlockType Goto
Name "Goto3"
Position [325, 111, 395, 139]
GotoTag "tp213468"
TagVisibility "global"
}
Block {
BlockType Goto
Name "Goto4"
Position [325, 156, 395, 184]
GotoTag "tp213203"
TagVisibility "global"
}
Block {
BlockType Goto
Name "Goto5"
Position [325, 201, 395, 229]
GotoTag "tp213204"
TagVisibility "global"
}
Block {
BlockType Goto
Name "Goto6"
Position [325, 246, 395, 274]
GotoTag "tp213207"
TagVisibility "global"
}
Line {
SrcBlock "v,i"
SrcPort 1
Points [35, 0]
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 "Gates"
SrcPort 1
DstBlock "State-Space"
DstPort 2
}
Line {
SrcBlock "Sources"
SrcPort 1
DstBlock "State-Space"
DstPort 1
}
Line {
SrcBlock "State-Space"
SrcPort 2
DstBlock "Status"
DstPort 1
}
Line {
SrcBlock "State-Space"
SrcPort 1
DstBlock "Yout"
DstPort 1
}
}
}
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
FontName "Arial"
FontSize 12
}
}
}
Line {
LineType "Connection"
Points [795, 105; 0, 5]
DstBlock "Parallel RLC Branch"
DstPort LConn1
Branch {
ConnectType "SRC_DEST"
SrcBlock "Voltage Measurement"
SrcPort LConn1
Points [0, -45; -50, 0]
}
Branch {
ConnectType "SRC_SRC"
Points [0, 10; -40, 0]
Branch {
ConnectType "DEST_SRC"
DstBlock "Series RLC Branch"
DstPort RConn1
}
Branch {
ConnectType "DEST_SRC"
DstBlock "R1"
DstPort LConn1
}
}
}
Line {
LineType "Connection"
SrcBlock "Parallel RLC Branch"
SrcPort RConn1
Points [0, 0; 0, 20]
Branch {
ConnectType "DEST_SRC"
DstBlock "Ground2"
DstPort LConn1
}
Branch {
ConnectType "DEST_SRC"
Points [50, 0]
DstBlock "Voltage Measurement"
DstPort LConn2
}
}
Line {
LineType "Connection"
Points [400, 125; 0, -15; -30, 0]
DstBlock "Mosfet"
DstPort RConn1
Branch {
ConnectType "SRC_DEST"
SrcBlock "Current Measurement"
SrcPort LConn1
Points [-75, 0; 0, 15]
}
Branch {
ConnectType "SRC_DEST"
SrcBlock "Diode"
SrcPort RConn1
Points [0, 0; 0, 0]
}
}
Line {
LineType "Connection"
Points [755, 335; 0, 5]
DstBlock "Ground3"
DstPort LConn1
Branch {
ConnectType "SRC_DEST"
SrcBlock "R2"
SrcPort RConn1
Points [0, 0]
}
Branch {
ConnectType "SRC_DEST"
SrcBlock "Voltage Measurement1"
SrcPort LConn2
Points [0, 70; -165, 0]
}
}
Line {
LineType "Connection"
Points [755, 230; 0, -5]
DstBlock "R1"
DstPort RConn1
Branch {
ConnectType "SRC_SRC"
Points [165, 0]
DstBlock "Voltage Measurement1"
DstPort LConn1
}
Branch {
ConnectType "SRC_DEST"
SrcBlock "R2"
SrcPort LConn1
Points [0, 0; 0, -5]
}
}
Line {
LineType "Connection"
SrcBlock "Ground"
SrcPort LConn1
DstBlock "DC Voltage Source"
DstPort LConn1
}
Line {
SrcBlock "Voltage Measurement"
SrcPort 1
DstBlock "Scope"
DstPort 1
}
Line {
LineType "Connection"
SrcBlock "Ground1"
SrcPort LConn1
DstBlock "Diode"
DstPort LConn1
}
Line {
LineType "Connection"
SrcBlock "DC Voltage Source"
SrcPort RConn1
Points [0, -25]
DstBlock "Mosfet"
DstPort LConn1
}
Line {
SrcBlock "Voltage Measurement1"
SrcPort 1
Points [0, 0; 55, 0]
Branch {
DstBlock "Scope3"
DstPort 1
}
Branch {
Points [0, 305; -500, 0]
DstBlock "Add"
DstPort 2
}
}
Line {
SrcBlock "Constant"
SrcPort 1
DstBlock "Add"
DstPort 1
}
Line {
SrcBlock "Add"
SrcPort 1
DstBlock "Gain"
DstPort 1
}
Line {
SrcBlock "Gain"
SrcPort 1
Points [0, 0; -20, 0]
Branch {
DstBlock "Scope5"
DstPort 1
}
Branch {
DstBlock "Relational\nOperator"
DstPort 1
}
}
Line {
LineType "Connection"
SrcBlock "Series RLC Branch"
SrcPort LConn1
DstBlock "Current Measurement"
DstPort RConn1
}
Line {
SrcBlock "Relational\nOperator1"
SrcPort 1
Points [230, 0; 0, -85]
Branch {
DstBlock "Scope2"
DstPort 1
}
Branch {
DstBlock "Logical\nOperator"
DstPort 2
}
}
Line {
SrcBlock "Repeating\nSequence1"
SrcPort 1
Points [0, -40]
DstBlock "Relational\nOperator1"
DstPort 2
}
Line {
SrcBlock "Constant2"
SrcPort 1
Points [0, 0]
DstBlock "Relational\nOperator1"
DstPort 1
}
Line {
SrcBlock "Gain1"
SrcPort 1
Points [0, 0; 0, 110]
Branch {
DstBlock "Relational\nOperator"
DstPort 2
}
Branch {
DstBlock "Scope4"
DstPort 1
}
}
Line {
SrcBlock "Current Measurement"
SrcPort 1
Points [90, 0; 0, 85]
Branch {
DstBlock "Gain1"
DstPort 1
}
Branch {
DstBlock "Scope1"
DstPort 1
}
}
Line {
SrcBlock "Logical\nOperator"
SrcPort 1
Points [0, -50; -25, 0]
Branch {
Points [0, -30]
DstBlock "Scope7"
DstPort 1
}
Branch {
Points [-250, 0; 0, -95]
DstBlock "Mosfet"
DstPort 1
}
}
Line {
SrcBlock "Relational\nOperator"
SrcPort 1
Points [0, -30]
Branch {
DstBlock "Scope6"
DstPort 1
}
Branch {
Points [0, -40]
DstBlock "Logical\nOperator"
DstPort 1
}
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -