📄 boost.mdl
字号:
YMax "5"
SaveToWorkspace off
SaveName "ScopeData"
LimitDataPoints on
MaxDataPoints "5000"
Decimation "1"
SampleInput off
SampleTime "0"
}
Block {
BlockType SubSystem
ShowPortLabels on
Permissions "ReadWrite"
PermitHierarchicalResolution "All"
SystemSampleTime "-1"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
SimViewingDevice off
DataTypeOverride "UseLocalSettings"
MinMaxOverflowLogging "UseLocalSettings"
}
Block {
BlockType Terminator
}
}
AnnotationDefaults {
HorizontalAlignment "center"
VerticalAlignment "middle"
ForegroundColor "black"
BackgroundColor "white"
DropShadow off
FontName "Helvetica"
FontSize 10
FontWeight "normal"
FontAngle "normal"
}
LineDefaults {
FontName "Helvetica"
FontSize 9
FontWeight "normal"
FontAngle "normal"
}
System {
Name "boost"
Location [2, 82, 1014, 696]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
ReportName "simulink-default.rpt"
Block {
BlockType Reference
Name "Current Measurement"
Ports [0, 1, 0, 0, 0, 1, 1]
Position [105, 153, 130, 177]
SourceBlock "powerlib/Measurements/Current Measurement"
SourceType "Current Measurement"
ShowPortLabels on
PhasorSimulation off
OutputType "Complex"
PSBequivalent "0"
}
Block {
BlockType Reference
Name "Current Measurement1"
Ports [0, 1, 0, 0, 0, 1, 1]
Position [375, 93, 400, 117]
SourceBlock "powerlib/Measurements/Current Measurement"
SourceType "Current Measurement"
ShowPortLabels on
PhasorSimulation off
OutputType "Complex"
PSBequivalent "0"
}
Block {
BlockType Reference
Name "Current Measurement2"
Ports [0, 1, 0, 0, 0, 1, 1]
Position [548, 195, 572, 220]
Orientation "down"
NamePlacement "alternate"
SourceBlock "powerlib/Measurements/Current Measurement"
SourceType "Current Measurement"
ShowPortLabels on
PhasorSimulation off
OutputType "Complex"
PSBequivalent "0"
}
Block {
BlockType Reference
Name "Current Measurement3"
Ports [0, 1, 0, 0, 0, 1, 1]
Position [665, 98, 690, 122]
SourceBlock "powerlib/Measurements/Current Measurement"
SourceType "Current Measurement"
ShowPortLabels on
PhasorSimulation off
OutputType "Complex"
PSBequivalent "0"
}
Block {
BlockType Reference
Name "DC Voltage Source"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [40, 315, 60, 350]
Orientation "up"
SourceBlock "powerlib/Electrical\nSources/DC Voltage Source"
SourceType "DC Voltage Source"
ShowPortLabels on
Amplitude "9"
Measurements "None"
}
Block {
BlockType Reference
Name "Diode"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [455, 90, 510, 130]
SourceBlock "powerlib/Power\nElectronics/Diode"
SourceType "Diode"
ShowPortLabels on
Ron "0.001"
Lon "0"
Vf "0.8"
IC "0"
Rs "500"
Cs "250e-9"
Measurements off
}
Block {
BlockType Reference
Name "Ideal Switch"
Ports [1, 1, 0, 0, 0, 1, 1]
Position [275, 330, 315, 385]
Orientation "down"
NamePlacement "alternate"
SourceBlock "powerlib/Power\nElectronics/Ideal Switch"
SourceType "Ideal Switch"
ShowPortLabels on
Ron "0.001"
Lon "0"
IC "0"
Rs "1e5"
Cs "inf"
Measurements on
}
Block {
BlockType Reference
Name "Parallel RLC Branch"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [744, 230, 796, 285]
Orientation "down"
NamePlacement "alternate"
AttributesFormatString "\\n"
SourceBlock "powerlib/Elements/Parallel RLC Branch"
SourceType "Parallel RLC Branch"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "a"
RConnTagsString "__new0"
Resistance "5"
Inductance "inf"
Capacitance "0"
Measurements "None"
}
Block {
BlockType Reference
Name "Parallel RLC Branch2"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [534, 305, 586, 360]
Orientation "up"
AttributesFormatString "\\n"
SourceBlock "powerlib/Elements/Parallel RLC Branch"
SourceType "Parallel RLC Branch"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "a"
RConnTagsString "__new0"
Resistance "inf"
Inductance "inf"
Capacitance "50e-6"
Measurements "None"
}
Block {
BlockType DiscretePulseGenerator
Name "Pulse\nGenerator"
Ports [0, 1]
Position [155, 238, 200, 272]
PulseType "Time based"
Period "1/(100000)"
PulseWidth "62.5"
}
Block {
BlockType Scope
Name "Scope"
Ports [2]
Position [55, 26, 85, 59]
Orientation "left"
NamePlacement "alternate"
Location [5, 56, 1029, 700]
Open off
NumInputPorts "2"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "Inductor voltage"
axes2 "Inductor current"
}
TimeRange "0.0001919999999999977"
YMin "-42.0309~6"
YMax "60.3691~20"
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "Scope1"
Ports [2]
Position [950, 215, 985, 245]
Orientation "down"
NamePlacement "alternate"
Location [6, 56, 1030, 741]
Open off
NumInputPorts "2"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "Output Voltage Vo"
axes2 "Output current Io"
}
YMin "5~2"
YMax "30~6"
SaveName "ScopeData1"
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "Scope2"
Ports [1]
Position [460, 254, 490, 286]
Orientation "left"
NamePlacement "alternate"
Location [188, 390, 512, 629]
Open off
NumInputPorts "1"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
SaveName "ScopeData2"
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "Scope3"
Ports [1]
Position [450, 34, 480, 66]
Location [188, 390, 512, 629]
Open off
NumInputPorts "1"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
YMin "-12000"
YMax "1000"
SaveName "ScopeData3"
DataFormat "StructureWithTime"
}
Block {
BlockType Reference
Name "Series RLC Branch"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [195, 156, 265, 184]
SourceBlock "powerlib/Elements/Series RLC Branch"
SourceType "Series RLC Branch"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "__new0"
RConnTagsString "__new0"
Resistance "10e-3"
Inductance "10e-6"
Capacitance "inf"
Measurements "None"
}
Block {
BlockType Reference
Name "Voltage Measurement"
Ports [0, 1, 0, 0, 0, 2]
Position [218, 60, 242, 85]
Orientation "up"
SourceBlock "powerlib/Measurements/Voltage Measurement"
SourceType "Voltage Measurement"
ShowPortLabels on
PhasorSimulation off
OutputType "Complex"
PSBequivalent "0"
}
Block {
BlockType Reference
Name "Voltage Measurement1"
Ports [0, 1, 0, 0, 0, 2]
Position [865, 233, 890, 257]
SourceBlock "powerlib/Measurements/Voltage Measurement"
SourceType "Voltage Measurement"
ShowPortLabels on
PhasorSimulation off
OutputType "Complex"
PSBequivalent "0"
}
Line {
LineType "Connection"
SrcBlock "Diode"
SrcPort RConn1
Points [0, 0; 35, 0]
Branch {
ConnectType "DEST_SRC"
DstBlock "Current Measurement2"
DstPort LConn1
}
Branch {
ConnectType "DEST_SRC"
DstBlock "Current Measurement3"
DstPort LConn1
}
}
Line {
LineType "Connection"
SrcBlock "Series RLC Branch"
SrcPort RConn1
Points [0, 0; 10, 0]
Branch {
ConnectType "DEST_SRC"
Points [15, 0; 0, 5]
Branch {
ConnectType "DEST_SRC"
DstBlock "Ideal Switch"
DstPort LConn1
}
Branch {
ConnectType "DEST_SRC"
Points [0, -70]
DstBlock "Current Measurement1"
DstPort LConn1
}
}
Branch {
ConnectType "DEST_SRC"
Points [0, -35; -55, 0]
DstBlock "Voltage Measurement"
DstPort LConn2
}
}
Line {
LineType "Connection"
SrcBlock "Parallel RLC Branch2"
SrcPort LConn1
Points [0, 75]
Branch {
ConnectType "DEST_DEST"
Points [770, 395; 0, 55; -210, 0]
Branch {
ConnectType "SRC_DEST"
SrcBlock "Parallel RLC Branch"
SrcPort RConn1
Points [0, 0; 0, 95]
}
Branch {
ConnectType "SRC_SRC"
Points [0, -5; 35, 0; 0, -140]
DstBlock "Voltage Measurement1"
DstPort LConn2
}
}
Branch {
ConnectType "DEST_SRC"
Points [-255, 0]
Branch {
ConnectType "DEST_SRC"
Points [-255, 0]
DstBlock "DC Voltage Source"
DstPort LConn1
}
Branch {
ConnectType "DEST_DEST"
SrcBlock "Ideal Switch"
SrcPort RConn1
Points [0, 50]
}
}
}
Line {
LineType "Connection"
SrcBlock "DC Voltage Source"
SrcPort RConn1
Points [0, -135]
DstBlock "Current Measurement"
DstPort LConn1
}
Line {
LineType "Connection"
SrcBlock "Current Measurement"
SrcPort RConn1
Points [0, 0; 20, 0]
Branch {
ConnectType "DEST_SRC"
DstBlock "Series RLC Branch"
DstPort LConn1
}
Branch {
ConnectType "DEST_SRC"
Points [0, -50; 60, 0]
DstBlock "Voltage Measurement"
DstPort LConn1
}
}
Line {
LineType "Connection"
SrcBlock "Current Measurement1"
SrcPort RConn1
DstBlock "Diode"
DstPort LConn1
}
Line {
LineType "Connection"
SrcBlock "Current Measurement2"
SrcPort RConn1
Points [0, 25; -5, 0]
DstBlock "Parallel RLC Branch2"
DstPort RConn1
}
Line {
SrcBlock "Voltage Measurement"
SrcPort 1
Points [0, -25; -80, 0; 0, 10; -50, 0]
DstBlock "Scope"
DstPort 1
}
Line {
SrcBlock "Current Measurement"
SrcPort 1
Points [25, 0; 0, -110]
DstBlock "Scope"
DstPort 2
}
Line {
SrcBlock "Pulse\nGenerator"
SrcPort 1
Points [80, 0]
DstBlock "Ideal Switch"
DstPort 1
}
Line {
SrcBlock "Voltage Measurement1"
SrcPort 1
Points [10, 0; 0, -110; 55, 0]
DstBlock "Scope1"
DstPort 1
}
Line {
SrcBlock "Current Measurement2"
SrcPort 1
Points [0, 25; -50, 0]
DstBlock "Scope2"
DstPort 1
}
Line {
SrcBlock "Current Measurement1"
SrcPort 1
Points [15, 0; 0, -50]
DstBlock "Scope3"
DstPort 1
}
Line {
LineType "Connection"
SrcBlock "Voltage Measurement1"
SrcPort LConn1
Points [-40, 0; 0, -85; -40, 0; 0, 5]
Branch {
ConnectType "DEST_SRC"
DstBlock "Parallel RLC Branch"
DstPort LConn1
}
Branch {
ConnectType "DEST_DEST"
SrcBlock "Current Measurement3"
SrcPort RConn1
Points [65, 0; 0, 45]
}
}
Line {
SrcBlock "Current Measurement3"
SrcPort 1
Points [280, 0]
DstBlock "Scope1"
DstPort 2
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -