📄 triblebgesuperposition.mdl
字号:
Ports [2]
Position [1115, 128, 1150, 177]
BackgroundColor "magenta"
Location [5, 56, 1285, 929]
Open off
NumInputPorts "2"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
}
TimeRange "0.1"
YMin "-500~-400"
YMax "500~500"
SaveToWorkspace on
SaveName "psb3phPWM1_str3"
DataFormat "StructureWithTime"
LimitDataPoints off
MaxDataPoints "500000"
}
Block {
BlockType Scope
Name "Scope5"
Ports [1]
Position [695, 645, 730, 695]
BackgroundColor "green"
Location [5, 56, 1285, 929]
Open off
NumInputPorts "1"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
TimeRange "2"
YMin "-500"
YMax "500"
SaveToWorkspace on
SaveName "psb3phPWM1_str4"
DataFormat "StructureWithTime"
LimitDataPoints off
MaxDataPoints "500000"
}
Block {
BlockType Scope
Name "Scope6"
Ports [1]
Position [450, 710, 485, 760]
BackgroundColor "green"
Location [5, 56, 1285, 929]
Open off
NumInputPorts "1"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
TimeRange "2"
YMin "-500"
YMax "500"
SaveToWorkspace on
SaveName "psb3phPWM1_str5"
DataFormat "StructureWithTime"
LimitDataPoints off
MaxDataPoints "500000"
}
Block {
BlockType Sin
Name "Sine Wave1"
Ports [0, 1]
Position [55, 460, 85, 490]
SineType "Time based"
Frequency "100*pi"
SampleTime "0"
}
Block {
BlockType Sin
Name "Sine Wave2"
Ports [0, 1]
Position [55, 530, 85, 560]
SineType "Time based"
Frequency "100*pi"
Phase "-2*pi/3"
SampleTime "0"
}
Block {
BlockType Sin
Name "Sine Wave3"
Ports [0, 1]
Position [55, 585, 85, 615]
SineType "Time based"
Frequency "100*pi"
Phase "2*pi/3"
SampleTime "0"
}
Block {
BlockType Sum
Name "Subtract1"
Ports [2, 1]
Position [620, 457, 650, 488]
Inputs "+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Subtract2"
Ports [2, 1]
Position [615, 532, 645, 563]
Inputs "+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Subtract3"
Ports [2, 1]
Position [615, 592, 645, 623]
Inputs "+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Subtract4"
Ports [2, 1]
Position [485, 447, 515, 478]
Inputs "+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Subtract5"
Ports [2, 1]
Position [485, 522, 515, 553]
Inputs "+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Subtract6"
Ports [2, 1]
Position [485, 582, 515, 613]
Inputs "+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Subtract7"
Ports [2, 1]
Position [345, 652, 375, 683]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType ToWorkspace
Name "To Workspace"
Position [985, 375, 1045, 405]
VariableName "simout"
MaxDataPoints "inf"
SampleTime "-1"
SaveFormat "Structure With Time"
}
Block {
BlockType ToWorkspace
Name "To Workspace1"
Position [785, 15, 845, 45]
VariableName "simout1"
MaxDataPoints "inf"
SampleTime "-1"
SaveFormat "Structure With Time"
}
Block {
BlockType Reference
Name "Triangle2"
Ports [0, 1]
Position [515, 695, 545, 725]
SourceBlock "simulink/Sources/Repeating\nSequence"
SourceType "Repeating table"
ShowPortLabels on
rep_seq_t "[0 1/4/2000 3/4/2000 1/2000]"
rep_seq_y "[0 -1 1 0]"
}
Block {
BlockType Reference
Name "Universal Bridge\n3 arms1"
Ports [1, 0, 0, 0, 0, 3, 2]
Position [390, 111, 450, 189]
Orientation "left"
BackgroundColor "lightBlue"
AttributesFormatString "\\n"
SourceBlock "powerlib/Power\nElectronics/Universal Bridge"
SourceType "Universal Bridge"
ShowPortLabels on
Arms "3"
SnubberResistance "10000"
SnubberCapacitance "inf"
Device "IGBT / Diodes"
Ron "1e-4"
Lon "0"
ForwardVoltages "[ 1 1 ]"
ForwardVoltage ".8"
GTOparameters "[ 10e-6 , 20e-6 ]"
IGBTparameters "[ 1e-6 , 2e-6 ]"
Measurements "None"
}
Block {
BlockType Reference
Name "Vab-inv2"
Tag "PoWeRsYsTeMmEaSuReMeNt"
Ports [0, 1, 0, 0, 0, 2]
Position [675, 93, 700, 117]
ForegroundColor "yellow"
AttributesFormatString "\\n"
SourceBlock "powerlib/Measurements/Voltage Measurement"
SourceType "Voltage Measurement"
ShowPortLabels on
PhasorSimulation off
OutputType "Magnitude"
PSBequivalent "0"
}
Block {
BlockType Reference
Name "Vab_load1"
Tag "PoWeRsYsTeMmEaSuReMeNt"
Ports [0, 1, 0, 0, 0, 2]
Position [715, 183, 740, 207]
AttributesFormatString "\\n"
SourceBlock "powerlib/Measurements/Voltage Measurement"
SourceType "Voltage Measurement"
ShowPortLabels on
PhasorSimulation off
OutputType "Magnitude"
PSBequivalent "0"
}
Block {
BlockType Reference
Name "Vab_load2"
Tag "PoWeRsYsTeMmEaSuReMeNt"
Ports [0, 1, 0, 0, 0, 2]
Position [825, 258, 850, 282]
AttributesFormatString "\\n"
SourceBlock "powerlib/Measurements/Voltage Measurement"
SourceType "Voltage Measurement"
ShowPortLabels on
PhasorSimulation off
OutputType "Magnitude"
PSBequivalent "0"
}
Block {
BlockType Reference
Name "Vab_load3"
Tag "PoWeRsYsTeMmEaSuReMeNt"
Ports [0, 1, 0, 0, 0, 2]
Position [825, 308, 850, 332]
AttributesFormatString "\\n"
SourceBlock "powerlib/Measurements/Voltage Measurement"
SourceType "Voltage Measurement"
ShowPortLabels on
PhasorSimulation off
OutputType "Magnitude"
PSBequivalent "0"
}
Block {
BlockType Reference
Name "Vdc = 400 V1"
Description "source block"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [275, 135, 295, 170]
Orientation "up"
AttributesFormatString "\\n"
SourceBlock "powerlib/Electrical\nSources/DC Voltage Source"
SourceType "DC Voltage Source"
ShowPortLabels on
Amplitude "400"
Measurements "None"
}
Block {
BlockType Constant
Name "m1"
Position [65, 410, 105, 430]
ShowName off
Value "2/sqrt(3)"
SampleTime "-1"
}
Block {
BlockType Constant
Name "m2"
Position [270, 719, 295, 741]
ShowName off
SampleTime "-1"
}
Block {
BlockType Reference
Name "output Ground2"
Ports [0, 0, 0, 0, 0, 1]
Position [318, 255, 342, 280]
Orientation "down"
ShowName off
AttributesFormatString "\\n"
SourceBlock "powerlib/Elements/Ground"
SourceType "Ground"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "a"
}
Block {
BlockType Reference
Name "powergui"
Ports []
Position [1102, 24, 1209, 66]
DropShadow on
ShowName off
Priority "2"
FontSize 12
SourceBlock "powerlib/powergui"
SourceType "PSB option menu block"
ShowPortLabels on
SimulationMode "Discrete"
SampleTime "5.144e-6"
echomessages off
Frange "[0:2:500]"
Ylog off
Xlog off
save off
variable "ZData"
structure "simout"
ZoomFFT on
StartTime "0.1 - 2/60"
cycles "1"
DisplayStyle "1"
fundamental "50"
FreqAxis off
MaxFrequency "5000"
frequencyindice "1"
frequencyindicesteady "1"
RmsSteady "1"
display off
Ts "0"
frequency "60"
methode off
}
Block {
BlockType TransferFcn
Name "simple filter"
Position [875, 87, 935, 123]
Denominator "[0.002 1]"
}
Line {
LineType "Connection"
Points [500, 160; 30, 0]
DstBlock "208V /208V 1kVA\nTransformer"
DstPort LConn2
Branch {
ConnectType "SRC_DEST"
SrcBlock "Universal Bridge\n3 arms1"
SrcPort LConn2
Points [10, 0; 25, 0]
}
Branch {
ConnectType "SRC_SRC"
Points [0, -50]
DstBlock "Vab-inv2"
DstPort LConn2
}
}
Line {
LineType "Connection"
SrcBlock "1 kW\n0.5 kvar\n@ 208V"
SrcPort LConn1
Points [0, 0]
Branch {
ConnectType "DEST_SRC"
Points [0, -80; 0, -35]
Branch {
ConnectType "DEST_DEST"
SrcBlock "208V /208V 1kVA\nTransformer"
SrcPort RConn1
Points [25, 0; 0, 50]
}
Branch {
ConnectType "DEST_SRC"
DstBlock "Vab_load1"
DstPort LConn1
}
}
Branch {
ConnectType "DEST_SRC"
Points [0, -15; 165, 0]
DstBlock "Vab_load3"
DstPort LConn2
}
}
Line {
LineType "Connection"
SrcBlock "1 kW\n0.5 kvar\n@ 208V"
SrcPort LConn2
Points [0, 0; 0, -60]
Branch {
ConnectType "DEST_SRC"
Points [0, -20; 0, -25]
Branch {
ConnectType "DEST_DEST"
SrcBlock "208V /208V 1kVA\nTransformer"
SrcPort RConn2
Points [40, 0; 0, 40]
}
Branch {
ConnectType "DEST_SRC"
DstBlock "Vab_load1"
DstPort LConn2
}
}
Branch {
ConnectType "DEST_SRC"
Points [150, 0]
DstBlock "Vab_load2"
DstPort LConn1
}
}
Line {
LineType "Connection"
SrcBlock "Universal Bridge\n3 arms1"
SrcPort RConn2
Points [-10, 0; 0, 50; -35, 0]
Branch {
ConnectType "DEST_DEST"
SrcBlock "output Ground2"
SrcPort LConn1
Points [0, 0; 0, -20]
}
Branch {
ConnectType "DEST_SRC"
Points [-45, 0]
DstBlock "Vdc = 400 V1"
DstPort LConn1
}
}
Line {
LineType "Connection"
Points [490, 140; 0, -40; 170, 0]
DstBlock "Vab-inv2"
DstPort LConn1
Branch {
ConnectType "SRC_DEST"
SrcBlock "208V /208V 1kVA\nTransformer"
SrcPort LConn1
Points [0, 0; -40, 0]
}
Branch {
ConnectType "SRC_SRC"
DstBlock "Universal Bridge\n3 arms1"
DstPort LConn1
}
}
Line {
LineType "Connection"
SrcBlock "Universal Bridge\n3 arms1"
SrcPort LConn3
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -