📄 buck.mdl
字号:
}
Block {
BlockType TransportDelay
DelayTime "1"
InitialInput "0"
BufferSize "1024"
PadeOrder "0"
TransDelayFeedthrough off
}
}
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 "BUCK"
Location [342, 177, 1513, 762]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
ReportName "simulink-default.rpt"
Block {
BlockType Reference
Name "A"
Tag "PoWeRsYsTeMmEaSuReMeNt"
Ports [1, 2]
Position [315, 210, 350, 235]
Orientation "up"
SourceBlock "powerlib2/Measurements/Current Measurement"
SourceType "Current Measurement"
PhasorSimulation off
OutputType "Magnitude"
PSBOutputType "01"
PSBequivalent "0"
}
Block {
BlockType Reference
Name "DC 200v"
Tag "PoWeRsYsTeMbLoCk"
Description "source block"
Ports [1, 1]
Position [55, 110, 75, 145]
Orientation "up"
NamePlacement "alternate"
SourceBlock "powerlib2/Electrical\nSources/DC Voltage Source"
SourceType "DC Voltage Source"
V "200"
mesure "Voltage"
PSBOutputType "1"
}
Block {
BlockType Reference
Name "Diode"
Tag "PoWeRsYsTeMbLoCk"
Ports [1, 2]
Position [322, 110, 353, 160]
Orientation "up"
NamePlacement "alternate"
SourceBlock "powerlib2/Power\nElectronics/Diode"
SourceType "Diode"
Ron "0.01"
Lon "0"
Vf "0.8"
IC "0"
Rs "10"
Cs "0.01e-6"
PSBOutputType "10"
}
Block {
BlockType Reference
Name "Fourier"
Ports [1, 2]
Position [605, 54, 640, 96]
SourceBlock "powerlib_extras/Measurements/Fourier"
SourceType "Fourier analyser"
f1 "50"
n "1"
}
Block {
BlockType Reference
Name "IGBT"
Tag "PoWeRsYsTeMbLoCk"
Ports [2, 2]
Position [195, 45, 250, 85]
SourceBlock "powerlib2/Power\nElectronics/IGBT"
SourceType "IGBT"
Ron "0.01"
Lon "1e-6"
Vf "1"
Tf "1e-6"
Tt "2e-6"
IC "0"
Rs "0"
Cs "0.01e-6"
PSBOutputType "10"
}
Block {
BlockType Scope
Name "Ivd"
Ports [1]
Position [250, 185, 280, 215]
Orientation "left"
NamePlacement "alternate"
Location [49, 176, 373, 415]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
SaveName "ScopeData1"
DataFormat "StructureWithTime"
}
Block {
BlockType Reference
Name "L=1mh"
Tag "PoWeRsYsTeMbLoCk"
Ports [1, 1]
Position [410, 43, 470, 67]
SourceBlock "powerlib2/Elements/Series RLC Branch"
SourceType "Series RLC Branch"
a "0"
b "0.001"
c "inf"
mesure "Branch voltage and current"
PSBOutputType "1"
}
Block {
BlockType DiscretePulseGenerator
Name "Pulse\nGenerator"
Position [115, 143, 160, 177]
PulseType "Time based"
Period "0.0002"
PulseWidth "50"
}
Block {
BlockType Reference
Name "R=5"
Tag "PoWeRsYsTeMbLoCk"
Ports [1, 1]
Position [472, 105, 528, 185]
Orientation "down"
NamePlacement "alternate"
SourceBlock "powerlib2/Elements/Series RLC Branch"
SourceType "Series RLC Branch"
a "5"
b "0"
c "inf"
mesure "Branch voltage and current"
PSBOutputType "1"
}
Block {
BlockType Scope
Name "Scope"
Ports [1]
Position [190, 179, 220, 211]
Location [313, 526, 637, 765]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
SaveName "ScopeData3"
DataFormat "StructureWithTime"
}
Block {
BlockType Reference
Name "T connector"
Tag "PoWeRsYsTeMbLoCk"
Ports [1, 1, 1]
Position [320, 45, 340, 65]
NamePlacement "alternate"
ShowName off
SourceBlock "powerlib2/Connectors/T connector"
SourceType "Bus Bar"
PSBOutputType "1"
}
Block {
BlockType Scope
Name "U0"
Ports [1]
Position [635, 218, 665, 252]
Location [64, 507, 388, 746]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "UR"
Ports [1]
Position [665, 49, 695, 81]
Location [188, 365, 512, 604]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
SaveName "ScopeData2"
DataFormat "StructureWithTime"
}
Block {
BlockType Reference
Name "V0"
Tag "PoWeRsYsTeMmEaSuReMeNt"
Ports [2, 1]
Position [410, 143, 440, 172]
SourceBlock "powerlib2/Measurements/Voltage Measurement"
SourceType "Voltage Measurement"
PhasorSimulation off
OutputType "Magnitude"
PSBOutputType "0"
PSBequivalent "0"
}
Block {
BlockType Reference
Name "V1"
Tag "PoWeRsYsTeMmEaSuReMeNt"
Ports [2, 1]
Position [540, 105, 570, 160]
SourceBlock "powerlib2/Measurements/Voltage Measurement"
SourceType "Voltage Measurement"
PhasorSimulation off
OutputType "Magnitude"
PSBOutputType "0"
PSBequivalent "1"
}
Block {
BlockType Scope
Name "VR"
Ports [1]
Position [650, 138, 680, 172]
Location [162, 358, 486, 597]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
SaveName "ScopeData4"
DataFormat "StructureWithTime"
}
Line {
SrcBlock "DC 200v"
SrcPort 1
Points [0, -50]
DstBlock "IGBT"
DstPort 1
}
Line {
SrcBlock "L=1mh"
SrcPort 1
Points [25, 0; 0, 10]
Branch {
DstBlock "R=5"
DstPort 1
}
Branch {
Points [25, 0]
DstBlock "V1"
DstPort 1
}
}
Line {
SrcBlock "Pulse\nGenerator"
SrcPort 1
Points [10, 0]
Branch {
DstBlock "Scope"
DstPort 1
}
Branch {
Points [0, -85]
DstBlock "IGBT"
DstPort 2
}
}
Line {
SrcBlock "IGBT"
SrcPort 1
DstBlock "T connector"
DstPort 1
}
Line {
SrcBlock "T connector"
SrcPort 1
Points [0, 0; 50, 0]
Branch {
DstBlock "V0"
DstPort 1
}
Branch {
DstBlock "L=1mh"
DstPort 1
}
}
Line {
SrcBlock "Diode"
SrcPort 1
DstBlock "T connector"
DstPort enable
}
Line {
SrcBlock "V0"
SrcPort 1
Points [10, 0; 0, 75]
DstBlock "U0"
DstPort 1
}
Line {
SrcBlock "A"
SrcPort 2
DstBlock "Diode"
DstPort 1
}
Line {
SrcBlock "A"
SrcPort 1
Points [0, -5]
DstBlock "Ivd"
DstPort 1
}
Line {
SrcBlock "R=5"
SrcPort 1
Points [0, 0; 0, 10]
Branch {
Points [0, 70; -110, 0]
Branch {
Points [0, -105]
DstBlock "V0"
DstPort 2
}
Branch {
Points [-55, 0]
Branch {
Points [-270, 0]
DstBlock "DC 200v"
DstPort 1
}
Branch {
DstBlock "A"
DstPort 1
}
}
}
Branch {
Points [25, 0]
DstBlock "V1"
DstPort 2
}
}
Line {
SrcBlock "V1"
SrcPort 1
Points [10, 0]
Branch {
Points [0, -60]
DstBlock "Fourier"
DstPort 1
}
Branch {
Points [0, 20]
DstBlock "VR"
DstPort 1
}
}
Line {
SrcBlock "Fourier"
SrcPort 1
DstBlock "UR"
DstPort 1
}
Annotation {
Position [431, 223]
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -