📄 triblebgebipole.mdl
字号:
BlockType Relay
Name "Relay3"
Position [495, 655, 525, 685]
OnSwitchValue "0.001"
OffSwitchValue "-0.001"
}
Block {
BlockType Scope
Name "Scope1"
Ports [1]
Position [970, 250, 1005, 300]
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_str"
DataFormat "StructureWithTime"
LimitDataPoints off
MaxDataPoints "500000"
}
Block {
BlockType Scope
Name "Scope2"
Ports [6]
Position [985, 702, 1020, 793]
BackgroundColor "green"
Location [5, 55, 1285, 929]
Open off
NumInputPorts "6"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
axes3 "%<SignalLabel>"
axes4 "%<SignalLabel>"
axes5 "%<SignalLabel>"
axes6 "%<SignalLabel>"
}
TimeRange "0.35"
YMin "-2~-2~-2~-2~-2~-2"
YMax "2~2~2~2~2~2"
SaveToWorkspace on
SaveName "psb3phPWM1_str1"
DataFormat "StructureWithTime"
LimitDataPoints off
MaxDataPoints "500000"
}
Block {
BlockType Scope
Name "Scope3"
Ports [2]
Position [805, 163, 840, 212]
BackgroundColor "green"
Location [5, 56, 1285, 929]
Open off
NumInputPorts "2"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
}
TimeRange "2"
YMin "-500~-5.85938"
YMax "500~56.1198"
SaveToWorkspace on
SaveName "psb3phPWM1_str2"
DataFormat "StructureWithTime"
LimitDataPoints off
MaxDataPoints "500000"
}
Block {
BlockType Scope
Name "Scope4"
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 Sin
Name "Sine Wave1"
Ports [0, 1]
Position [165, 520, 195, 550]
SineType "Time based"
Frequency "100*pi"
SampleTime "0"
}
Block {
BlockType Sin
Name "Sine Wave2"
Ports [0, 1]
Position [165, 590, 195, 620]
SineType "Time based"
Frequency "100*pi"
Phase "-2*pi/3"
SampleTime "0"
}
Block {
BlockType Sin
Name "Sine Wave3"
Ports [0, 1]
Position [165, 645, 195, 675]
SineType "Time based"
Frequency "100*pi"
Phase "2*pi/3"
SampleTime "0"
}
Block {
BlockType Sum
Name "Subtract1"
Ports [2, 1]
Position [400, 517, 430, 548]
Inputs "+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Subtract2"
Ports [2, 1]
Position [395, 592, 425, 623]
Inputs "+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Subtract3"
Ports [2, 1]
Position [395, 652, 425, 683]
Inputs "+-"
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 [260, 735, 290, 765]
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 [175, 470, 215, 490]
ShowName off
Value "0.85"
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 "simout1"
ZoomFFT on
StartTime "0.1 - 2/60"
cycles "1"
DisplayStyle "2"
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
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -