📄 m4_2_3.mdl
字号:
Ports [1, 2]
Position [660, 101, 665, 139]
BackgroundColor "black"
ShowName off
Outputs "2"
Port {
PortNumber 1
Name "流过IGBT1的电流"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
Port {
PortNumber 2
Name "IGBT1端电压"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
}
Block {
BlockType Reference
Name "Diode"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [395, 180, 425, 230]
Orientation "up"
AttributesFormatString "\\n"
SourceBlock "powerlib/Power\nElectronics/Diode"
SourceType "Diode"
Ron "0.001"
Lon "0"
Vf "0.8"
IC "0"
Rs "500"
Cs "250e-9"
Measurements off
}
Block {
BlockType Reference
Name "Diode1"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [610, 185, 640, 235]
Orientation "up"
AttributesFormatString "\\n"
SourceBlock "powerlib/Power\nElectronics/Diode"
SourceType "Diode"
Ron "0.001"
Lon "0"
Vf "0.8"
IC "0"
Rs "500"
Cs "250e-9"
Measurements off
}
Block {
BlockType Reference
Name "Diode2"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [395, 325, 425, 375]
Orientation "up"
AttributesFormatString "\\n"
SourceBlock "powerlib/Power\nElectronics/Diode"
SourceType "Diode"
Ron "0.001"
Lon "0"
Vf "0.8"
IC "0"
Rs "500"
Cs "250e-9"
Measurements off
}
Block {
BlockType Reference
Name "Diode3"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [610, 315, 640, 365]
Orientation "up"
AttributesFormatString "\\n"
SourceBlock "powerlib/Power\nElectronics/Diode"
SourceType "Diode"
Ron "0.001"
Lon "0"
Vf "0.8"
IC "0"
Rs "500"
Cs "250e-9"
Measurements off
}
Block {
BlockType Reference
Name "IGBT1"
Ports [1, 1, 0, 0, 0, 1, 1]
Position [318, 165, 362, 225]
Orientation "down"
AttributesFormatString "\\n"
SourceBlock "powerlib/Power\nElectronics/IGBT"
SourceType "IGBT"
Ron "0.001"
Lon "1e-6"
Vf "1"
Tf "1e-6"
Tt "2e-6"
IC "0"
Rs "1e5"
Cs "inf"
Measurements on
}
Block {
BlockType Reference
Name "IGBT2"
Ports [1, 1, 0, 0, 0, 1, 1]
Position [318, 315, 362, 375]
Orientation "down"
AttributesFormatString "\\n"
SourceBlock "powerlib/Power\nElectronics/IGBT"
SourceType "IGBT"
Ron "0.001"
Lon "1e-6"
Vf "1"
Tf "1e-6"
Tt "2e-6"
IC "0"
Rs "1e5"
Cs "inf"
Measurements on
}
Block {
BlockType Reference
Name "IGBT3"
Ports [1, 1, 0, 0, 0, 1, 1]
Position [533, 180, 577, 240]
Orientation "down"
AttributesFormatString "\\n"
SourceBlock "powerlib/Power\nElectronics/IGBT"
SourceType "IGBT"
Ron "0.001"
Lon "1e-6"
Vf "1"
Tf "1e-6"
Tt "2e-6"
IC "0"
Rs "1e5"
Cs "inf"
Measurements on
}
Block {
BlockType Reference
Name "IGBT4"
Ports [1, 1, 0, 0, 0, 1, 1]
Position [533, 310, 577, 370]
Orientation "down"
AttributesFormatString "\\n"
SourceBlock "powerlib/Power\nElectronics/IGBT"
SourceType "IGBT"
Ron "0.001"
Lon "1e-6"
Vf "1"
Tf "1e-6"
Tt "2e-6"
IC "0"
Rs "1e5"
Cs "inf"
Measurements on
}
Block {
BlockType Reference
Name "R1\n "
Ports [0, 0, 0, 0, 0, 1, 1]
Position [175, 230, 195, 265]
Orientation "down"
SourceBlock "powerlib/Elements/Series RLC Branch"
SourceType "Series RLC Branch"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
PortType "p1"
LConnTagsString "__new0"
RConnTagsString "__new0"
Resistance "1000"
Inductance "0"
Capacitance "inf"
Measurements "None"
}
Block {
BlockType Reference
Name "R2"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [460, 263, 525, 277]
SourceBlock "powerlib/Elements/Series RLC Branch"
SourceType "Series RLC Branch"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
PortType "p1"
LConnTagsString "__new0"
RConnTagsString "__new0"
Resistance "10"
Inductance "0"
Capacitance "inf"
Measurements "None"
}
Block {
BlockType Scope
Name "Scope"
Ports [6]
Position [810, 265, 840, 410]
BackgroundColor "[0.000000, 1.000000, 0.000000]"
Location [236, 112, 577, 632]
Open on
NumInputPorts "6"
TickLabels "on"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
axes3 "%<SignalLabel>"
axes4 "%<SignalLabel>"
axes5 "%<SignalLabel>"
axes6 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
axes2 ""
axes3 ""
axes4 ""
axes5 ""
axes6 ""
}
TimeRange "5"
YMin "-4~100~-0.1~0~-0.1~0"
YMax "4~100~0.8~120~0.8~120"
SaveToWorkspace on
DataFormat "StructureWithTime"
}
Block {
BlockType SubSystem
Name "Subsystem"
Ports [0, 4]
Position [230, 62, 270, 123]
TreatAsAtomicUnit off
System {
Name "Subsystem"
Location [252, 182, 763, 530]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Scope
Name "Scope"
Ports [4]
Position [305, 214, 345, 321]
BackgroundColor "[0.000000, 1.000000, 0.000000]"
Location [263, 200, 633, 570]
Open off
NumInputPorts "4"
TickLabels "on"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
axes3 "%<SignalLabel>"
axes4 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
axes2 ""
axes3 ""
axes4 ""
}
TimeRange "10"
YMin "-0.5~-2~-0.5~-5"
YMax "1.5~5~1.5~5"
SaveName "ScopeData2"
DataFormat "StructureWithTime"
SampleInput on
}
Block {
BlockType SubSystem
Name "Subsystem"
Ports [0, 4]
Position [15, 77, 55, 138]
TreatAsAtomicUnit off
System {
Name "Subsystem"
Location [241, 197, 585, 436]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType DiscretePulseGenerator
Name "Pulse\nGenerator"
Position [35, 53, 80, 87]
PulseType "Time based"
Period "0.1"
PulseWidth "50"
}
Block {
BlockType RelationalOperator
Name "Relational\nOperator"
Position [200, 22, 230, 53]
Operator "<"
InputSameDT off
}
Block {
BlockType RelationalOperator
Name "Relational\nOperator1"
Position [195, 127, 225, 158]
Operator "<"
InputSameDT off
}
Block {
BlockType SubSystem
Name "pwm"
Ports [0, 2]
Position [35, 163, 90, 207]
TreatAsAtomicUnit off
System {
Name "pwm"
Location [92, 198, 590, 498]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Gain
Name "Gain"
Position [170, 120, 200, 150]
Gain "-1"
}
Block {
BlockType Gain
Name "Gain1"
Position [170, 170, 200, 200]
Gain "-1"
}
Block {
BlockType Mux
Name "Mux"
Ports [2, 1]
Position [270, 221, 275, 259]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType RelationalOperator
Name "Relational\nOperator"
Position [180, 57, 210, 88]
Operator ">"
InputSameDT off
ZeroCross off
}
Block {
BlockType RelationalOperator
Name "Relational\nOperator1"
Position [230, 127, 260, 158]
Operator ">"
InputSameDT off
ZeroCross off
}
Block {
BlockType Reference
Name "Repeating\nSequence"
Ports [0, 1]
Position [80, 50, 110, 80]
SourceBlock "simulink/Sources/Repeating\nSequenc"
"e"
SourceType "Repeating table"
rep_seq_t "[-1 1]"
rep_seq_y "[-2 2]"
}
Block {
BlockType Scope
Name "Scope"
Ports [3]
Position [375, 192, 405, 248]
Location [203, 91, 527, 416]
Open off
NumInputPorts "3"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
axes3 "%<SignalLabel>"
}
TimeRange "20"
YMin "-0.1~-0.1~-2"
YMax "1.5~1.5~2"
SaveName "ScopeData1"
DataFormat "StructureWithTime"
}
Block {
BlockType Sin
Name "Sine Wave"
Position [80, 115, 110, 145]
SineType "Time based"
Amplitude "0.5"
SampleTime "0"
}
Block {
BlockType Outport
Name "触发信号1"
Position [370, 68, 400, 82]
}
Block {
BlockType Outport
Name "触发信号2"
Position [370, 138, 400, 152]
Port "2"
}
Line {
SrcBlock "Sine Wave"
SrcPort 1
Points [0, 0; 20, 0]
Branch {
Points [0, -50]
DstBlock "Relational\nOperator"
DstPort 2
}
Branch {
Points [0, 55]
Branch {
DstBlock "Gain1"
DstPort 1
}
Branch {
Points [0, 65]
DstBlock "Mux"
DstPort 2
}
}
}
Line {
SrcBlock "Gain"
SrcPort 1
DstBlock "Relational\nOperator1"
DstPort 1
}
Line {
SrcBlock "Repeating\nSequence"
SrcPort 1
Points [0, 0; 35, 0]
Branch {
DstBlock "Relational\nOperator"
DstPort 1
}
Branch {
Points [0, 70]
Branch {
DstBlock "Gain"
DstPort 1
}
Branch {
Points [0, 95]
DstBlock "Mux"
DstPort 1
}
}
}
Line {
SrcBlock "Gain1"
SrcPort 1
Points [0, -35]
DstBlock "Relational\nOperator1"
DstPort 2
}
Line {
SrcBlock "Relational\nOperator"
SrcPort 1
Points [115, 0]
Branch {
DstBlock "触发信号1"
DstPort 1
}
Branch {
Points [0, 125]
DstBlock "Scope"
DstPort 1
}
}
Line {
SrcBlock "Relational\nOperator1"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -