📄 buck_fb_c.mdl
字号:
Ports [2, 1]
Position [965, 71, 970, 109]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Reference
Name "R"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [686, 290, 714, 360]
Orientation "up"
NamePlacement "alternate"
SourceBlock "powerlib/Elements/Series RLC Branch"
SourceType "Series RLC Branch"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "__new0"
RConnTagsString "__new0"
Resistance "5"
Inductance "0"
Capacitance "inf"
Measurements "None"
}
Block {
BlockType Reference
Name "R1"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [806, 290, 834, 360]
Orientation "up"
NamePlacement "alternate"
SourceBlock "powerlib/Elements/Series RLC Branch"
SourceType "Series RLC Branch"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "__new0"
RConnTagsString "__new0"
Resistance "10"
Inductance "0"
Capacitance "inf"
Measurements "None"
}
Block {
BlockType Reference
Name "Repeating\nSequence"
Ports [0, 1]
Position [15, 120, 45, 150]
SourceBlock "simulink/Sources/Repeating\nSequence"
SourceType "Repeating table"
ShowPortLabels on
rep_seq_t "[0 0.000005]"
rep_seq_y "[0 1]"
}
Block {
BlockType Scope
Name "Scope"
Ports [1]
Position [1030, 74, 1060, 106]
NamePlacement "alternate"
Location [5, 54, 1285, 998]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
YMin "0.7"
YMax "2.5"
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "Scope1"
Ports [1]
Position [280, 59, 310, 91]
Location [1, 49, 1281, 993]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
YMin "-0.5"
YMax "2.5"
SaveName "ScopeData1"
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "Scope2"
Ports [1]
Position [100, 14, 130, 46]
Location [1, 49, 1281, 993]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
YMin "-0.5"
YMax "3"
SaveName "ScopeData2"
DataFormat "StructureWithTime"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [525, 460, 545, 480]
Orientation "left"
NamePlacement "alternate"
ShowName off
IconShape "round"
Inputs "|+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [110, 125, 130, 145]
ShowName off
IconShape "round"
Inputs "|-+"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Switch
Name "Switch"
Position [180, 120, 210, 150]
Criteria "u2 > Threshold"
InputSameDT off
SaturateOnIntegerOverflow off
}
Block {
BlockType Terminator
Name "Terminator"
Position [470, 75, 490, 95]
}
Block {
BlockType Reference
Name "Voltage Measurement"
Ports [0, 1, 0, 0, 0, 2]
Position [965, 313, 990, 337]
SourceBlock "powerlib/Measurements/Voltage Measurement"
SourceType "Voltage Measurement"
ShowPortLabels on
PhasorSimulation off
OutputType "Complex"
PSBequivalent "0"
}
Line {
LineType "Connection"
Points [450, 220; 0, 25]
DstBlock "Diode"
DstPort RConn1
Branch {
ConnectType "SRC_DEST"
SrcBlock "Ideal Switch"
SrcPort RConn1
Points [0, 65; 40, 0]
}
Branch {
ConnectType "SRC_DEST"
SrcBlock "L"
SrcPort LConn1
Points [0, 0; -5, 0]
}
}
Line {
LineType "Connection"
Points [700, 380; 120, 0]
Branch {
ConnectType "SRC_DEST"
Points [630, 380; 70, 0]
Branch {
ConnectType "SRC_DEST"
SrcBlock "C"
SrcPort LConn1
Points [0, 0; 0, 10]
}
Branch {
ConnectType "SRC_SRC"
Points [-95, 0]
Branch {
ConnectType "DEST_SRC"
Points [-85, 0]
Branch {
ConnectType "DEST_SRC"
DstBlock "Diode"
DstPort LConn1
}
Branch {
ConnectType "DEST_SRC"
Points [-135, 0]
DstBlock "DC Voltage Source"
DstPort LConn1
}
}
Branch {
ConnectType "DEST_SRC"
DstBlock "Ground"
DstPort LConn1
}
}
}
Branch {
ConnectType "SRC_SRC"
DstBlock "R"
DstPort LConn1
}
Branch {
ConnectType "DEST_SRC"
DstBlock "R1"
DstPort LConn1
}
Branch {
ConnectType "DEST_SRC"
Points [130, 0]
DstBlock "Voltage Measurement"
DstPort LConn2
}
}
Line {
LineType "Connection"
SrcBlock "Current Measurement"
SrcPort RConn1
Points [25, 0; 0, 40]
Branch {
ConnectType "DEST_SRC"
DstBlock "C"
DstPort RConn1
}
Branch {
ConnectType "DEST_SRC"
Points [70, 0]
Branch {
ConnectType "DEST_SRC"
DstBlock "R"
DstPort RConn1
}
Branch {
ConnectType "DEST_SRC"
Points [0, -145]
DstBlock "Diode1"
DstPort LConn1
}
}
}
Line {
LineType "Connection"
SrcBlock "L"
SrcPort RConn1
DstBlock "Current Measurement"
DstPort LConn1
}
Line {
Labels [2, 0]
SrcBlock "Ideal Switch"
SrcPort 1
Points [40, 0; 0, -50]
DstBlock "Terminator"
DstPort 1
}
Line {
LineType "Connection"
SrcBlock "Ideal Switch"
SrcPort LConn1
Points [-10, 0]
DstBlock "DC Voltage Source"
DstPort RConn1
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "Scope"
DstPort 1
}
Line {
SrcBlock "Current Measurement"
SrcPort 1
Points [35, 0; 0, -135]
DstBlock "Mux"
DstPort 1
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Gain"
DstPort 1
}
Line {
SrcBlock "Constant"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Gain"
SrcPort 1
Points [-315, 0]
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "Repeating\nSequence"
SrcPort 1
Points [0, 0; 25, 0]
Branch {
DstBlock "Sum1"
DstPort 1
}
Branch {
Labels [1, 0]
Points [0, -105]
DstBlock "Scope2"
DstPort 1
}
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "Switch"
DstPort 2
}
Line {
SrcBlock "Constant1"
SrcPort 1
Points [-15, 0; 0, 50]
DstBlock "Switch"
DstPort 1
}
Line {
SrcBlock "Constant2"
SrcPort 1
Points [-15, 0; 0, -60]
DstBlock "Switch"
DstPort 3
}
Line {
SrcBlock "Switch"
SrcPort 1
Points [0, 0; 30, 0]
Branch {
DstBlock "Ideal Switch"
DstPort 1
}
Branch {
Points [0, -60]
DstBlock "Scope1"
DstPort 1
}
}
Line {
LineType "Connection"
SrcBlock "Diode1"
SrcPort RConn1
Points [0, 15]
DstBlock "Current Measurement1"
DstPort LConn1
}
Line {
LineType "Connection"
SrcBlock "Current Measurement1"
SrcPort RConn1
Points [30, 0; 0, 45]
Branch {
ConnectType "DEST_SRC"
Points [-130, 0]
DstBlock "R1"
DstPort RConn1
}
Branch {
ConnectType "DEST_SRC"
DstBlock "Voltage Measurement"
DstPort LConn1
}
}
Line {
SrcBlock "Current Measurement1"
SrcPort 1
Points [40, 0]
DstBlock "Mux"
DstPort 2
}
Line {
Labels [2, 0]
SrcBlock "Voltage Measurement"
SrcPort 1
Points [40, 0; 0, 180; -500, 0]
DstBlock "Sum"
DstPort 2
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -