📄 hbrige080314.mdl
字号:
Position [200, 370, 230, 400]
Gain "-1"
}
Block {
BlockType Reference
Name "Ground (output)"
Tag "PoWeRsYsTeMbLoCk"
Ports [0, 1]
Position [64, 155, 96, 185]
Orientation "up"
ShowName off
SourceBlock "powerlib2/Connectors/Ground (output)"
SourceType "Ground"
PSBOutputType "1"
}
Block {
BlockType Reference
Name "L connector"
Tag "PoWeRsYsTeMbLoCk"
Ports [1, 0, 1]
Position [640, 195, 660, 215]
ShowName off
SourceBlock "powerlib2/Connectors/L connector"
SourceType "Bus Bar"
}
Block {
BlockType Reference
Name "Mosfet"
Tag "PoWeRsYsTeMbLoCk"
Ports [2, 2]
Position [210, 60, 265, 100]
FontSize 10
SourceBlock "powerlib2/Power\nElectronics/Mosfet"
SourceType "Mosfet"
Ron "0.001"
Lon "1e-6"
Rd ".001"
IC "0"
Rs "10"
Cs "0.01e-6"
PSBOutputType "10"
}
Block {
BlockType Reference
Name "Mosfet1"
Tag "PoWeRsYsTeMbLoCk"
Ports [2, 2]
Position [340, 55, 395, 95]
FontSize 10
SourceBlock "powerlib2/Power\nElectronics/Mosfet"
SourceType "Mosfet"
Ron "0.001"
Lon "1e-6"
Rd ".001"
IC "0"
Rs "10"
Cs "0.01e-6"
PSBOutputType "10"
}
Block {
BlockType Reference
Name "Mosfet2"
Tag "PoWeRsYsTeMbLoCk"
Ports [2, 2]
Position [220, 180, 275, 220]
FontSize 10
SourceBlock "powerlib2/Power\nElectronics/Mosfet"
SourceType "Mosfet"
Ron "0.001"
Lon "1e-6"
Rd ".001"
IC "0"
Rs "10"
Cs "0.01e-6"
PSBOutputType "10"
}
Block {
BlockType Reference
Name "Mosfet3"
Tag "PoWeRsYsTeMbLoCk"
Ports [2, 2]
Position [345, 190, 400, 230]
FontSize 10
SourceBlock "powerlib2/Power\nElectronics/Mosfet"
SourceType "Mosfet"
Ron "0.001"
Lon "1e-6"
Rd ".001"
IC "0"
Rs "10"
Cs "0.01e-6"
PSBOutputType "10"
}
Block {
BlockType Relay
Name "Relay"
Position [270, 320, 300, 350]
OnSwitchValue "1e-4"
OffSwitchValue "-1e-4"
}
Block {
BlockType Relay
Name "Relay1"
Position [270, 370, 300, 400]
OnSwitchValue "1e-4"
OffSwitchValue "-1e-4"
}
Block {
BlockType Reference
Name "Repeating\nSequence"
Ports [0, 1]
Position [70, 320, 100, 350]
SourceBlock "simulink/Sources/Repeating\nSequence"
SourceType "Repeating table"
rep_seq_t "[0 3e-4]"
rep_seq_y "[0 1.2]"
}
Block {
BlockType Scope
Name "Scope"
Ports [1]
Position [455, 204, 485, 236]
Location [188, 365, 512, 604]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
DataFormat "StructureWithTime"
LimitDataPoints off
}
Block {
BlockType Scope
Name "Scope1"
Ports [1]
Position [605, 34, 635, 66]
Location [188, 365, 512, 604]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
TimeRange "0.003"
YMin "-60"
YMax "-10"
SaveName "ScopeData1"
DataFormat "StructureWithTime"
LimitDataPoints off
}
Block {
BlockType Scope
Name "Scope2"
Ports [1]
Position [355, 299, 385, 331]
Location [188, 365, 512, 604]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
SaveName "ScopeData2"
DataFormat "StructureWithTime"
LimitDataPoints off
}
Block {
BlockType Scope
Name "Scope3"
Ports [1]
Position [355, 349, 385, 381]
Location [188, 365, 512, 604]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
SaveName "ScopeData3"
DataFormat "StructureWithTime"
LimitDataPoints off
}
Block {
BlockType Scope
Name "Scope4"
Ports [1]
Position [790, 179, 820, 211]
Location [188, 365, 512, 604]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
SaveName "ScopeData4"
DataFormat "StructureWithTime"
LimitDataPoints off
}
Block {
BlockType Reference
Name "Series RLC Branch"
Tag "PoWeRsYsTeMbLoCk"
Ports [1, 1]
Position [630, 95, 670, 175]
Orientation "down"
NamePlacement "alternate"
SourceBlock "powerlib2/Elements/Series RLC Branch"
SourceType "Series RLC Branch"
a "2"
b "1e-03"
c "inf"
mesure "None"
PSBOutputType "1"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [150, 325, 170, 345]
ShowName off
IconShape "round"
Inputs "|+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Reference
Name "T connector"
Tag "PoWeRsYsTeMbLoCk"
Ports [1, 1, 1]
Position [115, 125, 135, 145]
Orientation "up"
ShowName off
SourceBlock "powerlib2/Connectors/T connector"
SourceType "Bus Bar"
PSBOutputType "1"
}
Block {
BlockType Reference
Name "T connector1"
Tag "PoWeRsYsTeMbLoCk"
Ports [1, 1, 1]
Position [290, 280, 310, 300]
Orientation "left"
ShowName off
SourceBlock "powerlib2/Connectors/T connector"
SourceType "Bus Bar"
PSBOutputType "1"
}
Block {
BlockType Reference
Name "Voltage Measurement"
Tag "PoWeRsYsTeMmEaSuReMeNt"
Ports [2, 1]
Position [730, 178, 760, 207]
SourceBlock "powerlib2/Measurements/Voltage Measurement"
SourceType "Voltage Measurement"
PhasorSimulation off
OutputType "Magnitude"
PSBOutputType "0"
PSBequivalent "1"
}
Line {
SrcBlock "Series RLC Branch"
SrcPort 1
DstBlock "L connector"
DstPort enable
}
Line {
SrcBlock "DC Voltage Source2"
SrcPort 1
DstBlock "L connector"
DstPort 1
}
Line {
SrcBlock "T connector"
SrcPort 1
DstBlock "DC Voltage Source"
DstPort 1
}
Line {
SrcBlock "DC Voltage Source1"
SrcPort 1
DstBlock "T connector"
DstPort 1
}
Line {
SrcBlock "Ground (output)"
SrcPort 1
Points [0, -15]
DstBlock "T connector"
DstPort enable
}
Line {
SrcBlock "DC Voltage Source"
SrcPort 1
Points [0, -50; 35, 0]
Branch {
Points [145, 0; 0, 45]
DstBlock "Mosfet1"
DstPort 1
}
Branch {
Points [0, 50]
DstBlock "Mosfet"
DstPort 1
}
}
Line {
SrcBlock "Mosfet2"
SrcPort 1
Points [20, 0]
DstBlock "T connector1"
DstPort enable
}
Line {
SrcBlock "Mosfet3"
SrcPort 1
Points [30, 0; 0, 90]
DstBlock "T connector1"
DstPort 1
}
Line {
SrcBlock "T connector1"
SrcPort 1
Points [-160, 0]
DstBlock "DC Voltage Source1"
DstPort 1
}
Line {
SrcBlock "Mosfet"
SrcPort 1
Points [20, 0; 0, 55]
Branch {
Points [-100, 0; 0, 65]
DstBlock "Mosfet2"
DstPort 1
}
Branch {
Points [180, 0; 0, -50]
DstBlock "Current Measurement"
DstPort 1
}
}
Line {
SrcBlock "Mosfet1"
SrcPort 1
Points [25, 0; 0, 110]
Branch {
Points [-100, 0; 0, 25]
DstBlock "Mosfet3"
DstPort 1
}
Branch {
Points [65, 0; 0, 120; 135, 0]
Branch {
DstBlock "DC Voltage Source2"
DstPort 1
}
Branch {
Points [90, 0]
DstBlock "Voltage Measurement"
DstPort 2
}
}
}
Line {
SrcBlock "Current Measurement"
SrcPort 2
Points [90, 0]
Branch {
DstBlock "Series RLC Branch"
DstPort 1
}
Branch {
Points [65, 0]
DstBlock "Voltage Measurement"
DstPort 1
}
}
Line {
SrcBlock "Repeating\nSequence"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Constant"
SrcPort 1
Points [20, 0]
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "Sum"
SrcPort 1
Points [10, 0]
Branch {
DstBlock "Relay"
DstPort 1
}
Branch {
DstBlock "Gain"
DstPort 1
}
}
Line {
SrcBlock "Gain"
SrcPort 1
DstBlock "Relay1"
DstPort 1
}
Line {
SrcBlock "Relay"
SrcPort 1
Points [0, -20]
Branch {
Points [0, -80]
Branch {
Points [0, -150]
DstBlock "Mosfet1"
DstPort 2
}
Branch {
Points [-100, 0]
DstBlock "Mosfet2"
DstPort 2
}
}
Branch {
DstBlock "Scope2"
DstPort 1
}
}
Line {
SrcBlock "Relay1"
SrcPort 1
Points [25, 0; 0, -20]
Branch {
Points [0, -110]
Branch {
DstBlock "Mosfet3"
DstPort 2
}
Branch {
Points [-150, 0; 0, -165]
DstBlock "Mosfet"
DstPort 2
}
}
Branch {
DstBlock "Scope3"
DstPort 1
}
}
Line {
SrcBlock "Mosfet3"
SrcPort 2
DstBlock "Scope"
DstPort 1
}
Line {
SrcBlock "Voltage Measurement"
SrcPort 1
DstBlock "Scope4"
DstPort 1
}
Line {
SrcBlock "Current Measurement"
SrcPort 1
Points [15, 0; 0, -15]
DstBlock "Scope1"
DstPort 1
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -