📄 m5_5_15.mdl
字号:
BlockType Reference
Name "Diode"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [450, 135, 480, 185]
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 [650, 140, 680, 190]
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 [450, 280, 480, 330]
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 [650, 270, 680, 320]
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 [373, 135, 417, 195]
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 [373, 270, 417, 330]
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 [573, 135, 617, 195]
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 [573, 265, 617, 325]
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 "L"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [555, 378, 620, 392]
SourceBlock "powerlib/Elements/Series RLC Branch"
SourceType "Series RLC Branch"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
PortType "p1"
LConnTagsString "__new0"
RConnTagsString "__new0"
Resistance "0"
Inductance "1"
Capacitance "inf"
Measurements "None"
}
Block {
BlockType Mux
Name "Mux"
Ports [2, 1]
Position [710, 51, 715, 89]
ShowName off
Inputs "2"
DisplayOption "bar"
Port {
PortNumber 1
Name "触发信号"
PropagatedSignals ", "
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
}
Block {
BlockType Reference
Name "R\n "
Ports [0, 0, 0, 0, 0, 1, 1]
Position [270, 185, 290, 220]
Orientation "down"
NamePlacement "alternate"
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 "R1"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [500, 218, 565, 232]
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 [3]
Position [855, 216, 885, 274]
BackgroundColor "[0.000000, 1.000000, 0.000000]"
Location [186, 192, 564, 541]
Open on
NumInputPorts "3"
TickLabels "on"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
axes3 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
axes2 ""
axes3 ""
}
TimeRange "10"
YMin "-0.5~-1000~-5"
YMax "1.5~1000~100"
DataFormat "StructureWithTime"
SampleInput on
}
Block {
BlockType SubSystem
Name "Subsystem"
Ports [0, 2]
Position [270, 48, 325, 92]
TreatAsAtomicUnit off
System {
Name "Subsystem"
Location [183, 272, 681, 572]
Open on
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\nSequence"
SourceType "Repeating table"
rep_seq_t "[-0.3 0.3]"
rep_seq_y "[-1.5 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>"
}
List {
ListType SelectedSignals
axes1 ""
axes2 ""
axes3 ""
}
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"
SrcPort 1
Points [30, 0]
Branch {
DstBlock "触发信号2"
DstPort 1
}
Branch {
Points [0, 75]
DstBlock "Scope"
DstPort 2
}
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "Scope"
DstPort 3
}
}
}
Block {
BlockType SubSystem
Name "Ud"
Tag "PoWeRsYsTeMmEaSuReMeNt"
Ports [0, 1, 0, 0, 0, 2]
Position [775, 218, 800, 242]
AttributesFormatString "\\n"
AncestorBlock "powerlib/Measurements/Voltage Measurement"
CopyFcn "powericon('psbloadfunction',gcbh,'Measurement B"
"lock','VerifyPhasor');"
LoadFcn "powericon('psbloadfunction',gcbh,'Measurement B"
"lock','');"
PreSaveFcn "powericon('psbloadfunction',gcbh,'ModelCloseFcn"
"','');"
InitFcn "powericon('psbloadfunction',gcbh,'InitFcnOfSPSB"
"locks','Measurement Block');"
CloseFcn "powericon('psbloadfunction',gcbh,'CloseFcn','')"
";"
TreatAsAtomicUnit off
MaskType "Voltage Measurement"
MaskDescription "Ideal voltage measurement."
MaskHelp "web(psbhelp);"
MaskPromptString "Phasor simulation|Output signal :|Equivalent ci"
"rcuit"
MaskStyleString "checkbox,popup(Complex|Real-Imag|Magnitude-Angl"
"e|Magnitude),edit"
MaskTunableValueString "on,on,on"
MaskCallbackString "||"
MaskEnableString "off,off,off"
MaskVisibilityString "off,on,off"
MaskToolTipString "on,on,on"
MaskVarAliasString ",,"
MaskVariables "PhasorSimulation=@1;OutputType=@2;PSBequivalent"
"=@3;"
MaskInitialization "switch OutputType\ncase 1\n OutputSelection "
"= 1;\n NormalMode = 2;\n PhasorMode = 1;\ncase 2\n OutputSelection ="
"[2,3];\n NormalMode = 3;\n PhasorMode = [1,2];\ncase 3\n OutputSelec"
"tion =[4,5];\n NormalMode = 3;\n PhasorMode = [1,2];\ncase 4\n Outpu"
"tSelection =[4];\n NormalMode = 2;\n PhasorMode = 1;\nend\n%\nif Phasor"
"Simulation\n SelectionMode = PhasorMode;\nelse\n SelectionMode = Normal"
"Mode;\nend\n"
MaskSelfModifiable on
MaskIconFrame on
MaskIconOpaque off
MaskIconRotate "port"
MaskIconUnits "autoscale"
MaskValueString "off|Complex|1"
Port {
PortNumber 1
Name "负载电压"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -