📄 svpwm.mdl
字号:
BlockType Reference
Name "Controlled Voltage Source1"
Tag "PoWeRsYsTeMbLoCk"
Description "source block"
Ports [1, 2]
Position [1190, 235, 1230, 275]
SourceBlock "powerlib2/Electrical\nSources/Controlled Voltag"
"e Source"
SourceType "Controlled Voltage Source"
initsrc on
srctyp "AC"
iv "0"
iph "0"
ifreq "0"
mesure "None"
PSBOutputType "11"
}
Block {
BlockType Reference
Name "Controlled Voltage Source2"
Tag "PoWeRsYsTeMbLoCk"
Description "source block"
Ports [1, 2]
Position [1195, 315, 1235, 355]
SourceBlock "powerlib2/Electrical\nSources/Controlled Voltag"
"e Source"
SourceType "Controlled Voltage Source"
initsrc on
srctyp "AC"
iv "0"
iph "0"
ifreq "0"
mesure "None"
PSBOutputType "11"
}
Block {
BlockType Reference
Name "Current Measurement"
Tag "PoWeRsYsTeMmEaSuReMeNt"
Ports [1, 2]
Position [1260, 108, 1290, 137]
SourceBlock "powerlib2/Measurements/Current Measurement"
SourceType "Current Measurement"
PhasorSimulation off
OutputType "Magnitude"
PSBOutputType "01"
PSBequivalent "0"
}
Block {
BlockType Demux
Name "Demux1"
Ports [1, 12]
Position [400, 13, 405, 322]
BackgroundColor "black"
ShowName off
Outputs "12"
}
Block {
BlockType Product
Name "Product"
Ports [2, 1]
Position [575, 61, 620, 94]
InputSameDT off
}
Block {
BlockType Product
Name "Product1"
Ports [2, 1]
Position [575, 161, 620, 194]
InputSameDT off
}
Block {
BlockType Product
Name "Product2"
Ports [2, 1]
Position [575, 261, 620, 294]
InputSameDT off
}
Block {
BlockType Reference
Name "Series RLC Branch"
Tag "PoWeRsYsTeMbLoCk"
Ports [1, 1]
Position [1345, 118, 1405, 142]
SourceBlock "powerlib2/Elements/Series RLC Branch"
SourceType "Series RLC Branch"
a "10"
b "0.01"
c "inf"
mesure "None"
PSBOutputType "1"
}
Block {
BlockType Reference
Name "Series RLC Branch1"
Tag "PoWeRsYsTeMbLoCk"
Ports [1, 1]
Position [1345, 233, 1405, 257]
SourceBlock "powerlib2/Elements/Series RLC Branch"
SourceType "Series RLC Branch"
a "10"
b "0.01"
c "inf"
mesure "None"
PSBOutputType "1"
}
Block {
BlockType Reference
Name "Series RLC Branch2"
Tag "PoWeRsYsTeMbLoCk"
Ports [1, 1]
Position [1350, 313, 1410, 337]
SourceBlock "powerlib2/Elements/Series RLC Branch"
SourceType "Series RLC Branch"
a "10"
b "0.01"
c "inf"
mesure "None"
PSBOutputType "1"
}
Block {
BlockType Sin
Name "Sine Wave1"
Position [20, 65, 50, 95]
SineType "Time based"
Amplitude "220*sqrt(2)"
Frequency "50*2*pi"
SampleTime "0"
}
Block {
BlockType Sin
Name "Sine Wave2"
Position [20, 155, 50, 185]
SineType "Time based"
Amplitude "220*sqrt(2)"
Frequency "50*2*pi"
Phase "2*pi/3"
SampleTime "0"
}
Block {
BlockType Sin
Name "Sine Wave3"
Position [20, 110, 50, 140]
SineType "Time based"
Amplitude "220*sqrt(2)"
Frequency "50*2*pi"
Phase "-2*pi/3"
SampleTime "0"
}
Block {
BlockType Sum
Name "Sum"
Ports [4, 1]
Position [470, 18, 495, 117]
ShowName off
Inputs "++--"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum1"
Ports [4, 1]
Position [470, 118, 495, 217]
ShowName off
Inputs "++--"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum2"
Ports [4, 1]
Position [470, 218, 495, 317]
ShowName off
Inputs "++--"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum3"
Ports [2, 1]
Position [705, 383, 725, 432]
ShowName off
Inputs "+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum4"
Ports [3, 1]
Position [815, 319, 835, 401]
ShowName off
Inputs "+++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum5"
Ports [2, 1]
Position [955, 68, 975, 117]
ShowName off
Inputs "+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum6"
Ports [2, 1]
Position [955, 168, 975, 217]
ShowName off
Inputs "+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum7"
Ports [2, 1]
Position [955, 268, 975, 317]
ShowName off
Inputs "+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Constant
Name "Ts"
Position [20, 245, 50, 275]
FontName "Arial"
FontSize 12
Value "10"
}
Block {
BlockType Scope
Name "Uab1"
Ports [1]
Position [340, 340, 370, 370]
Orientation "down"
NamePlacement "alternate"
Location [6, 53, 806, 603]
Open off
NumInputPorts "1"
TickLabels "on"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
TimeRange "0.06"
YMin "-4"
YMax "4"
SaveName "ScopeData10"
DataFormat "StructureWithTime"
LimitDataPoints off
}
Block {
BlockType Scope
Name "Uabc1"
Ports [3]
Position [1060, 157, 1085, 233]
Location [267, 107, 719, 657]
Open off
NumInputPorts "3"
TickLabels "on"
List {
ListType AxesTitles
axes1 "Ua"
axes2 "Ub"
axes3 "Uc"
}
List {
ListType SelectedSignals
axes1 ""
axes2 ""
axes3 ""
}
TimeRange "0.06000000000000001"
YMin "-600~-600~-600"
YMax "600~600~600"
DataFormat "StructureWithTime"
LimitDataPoints off
}
Block {
BlockType Scope
Name "Uabc2"
Ports [3]
Position [820, 463, 840, 537]
Location [42, 64, 389, 640]
Open off
NumInputPorts "3"
TickLabels "on"
List {
ListType AxesTitles
axes1 " "
axes2 " "
axes3 " "
}
List {
ListType SelectedSignals
axes1 ""
axes2 ""
axes3 ""
}
TimeRange "0.06"
YMin "-350~-0.2~-350"
YMax "350~1.2~350"
SaveName "Three_Level_Out1"
DataFormat "StructureWithTime"
LimitDataPoints off
}
Block {
BlockType Scope
Name "Uabc3"
Ports [3]
Position [1070, 412, 1095, 488]
Location [329, 127, 663, 657]
Open off
NumInputPorts "3"
TickLabels "on"
List {
ListType AxesTitles
axes1 " "
axes2 " "
axes3 " "
}
List {
ListType SelectedSignals
axes1 ""
axes2 ""
axes3 ""
}
TimeRange "0.06000000000000001"
YMin "-600~-600~-600"
YMax "600~600~600"
SaveName "ScopeData1"
DataFormat "StructureWithTime"
LimitDataPoints off
}
Block {
BlockType Scope
Name "Uabc4"
Ports [3]
Position [1570, 57, 1595, 133]
Location [613, 79, 960, 655]
Open off
NumInputPorts "3"
TickLabels "on"
List {
ListType AxesTitles
axes1 " "
axes2 " "
axes3 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
axes2 ""
axes3 ""
}
TimeRange "0.05"
YMin "-35~-450~-700"
YMax "35~450~700"
SaveToWorkspace on
SaveName "Data3"
DataFormat "StructureWithTime"
LimitDataPoints off
}
Block {
BlockType Constant
Name "Vdc"
Position [20, 200, 50, 230]
FontName "Arial"
FontSize 12
Value "600"
}
Block {
BlockType Reference
Name "Voltage Measurement"
Tag "PoWeRsYsTeMmEaSuReMeNt"
Ports [2, 1]
Position [1455, 78, 1485, 107]
SourceBlock "powerlib2/Measurements/Voltage Measurement"
SourceType "Voltage Measurement"
PhasorSimulation off
OutputType "Magnitude"
PSBOutputType "0"
PSBequivalent "0"
}
Block {
BlockType Reference
Name "Voltage Measurement1"
Tag "PoWeRsYsTeMmEaSuReMeNt"
Ports [2, 1]
Position [1435, 173, 1465, 202]
SourceBlock "powerlib2/Measurements/Voltage Measurement"
SourceType "Voltage Measurement"
PhasorSimulation off
OutputType "Magnitude"
PSBOutputType "0"
PSBequivalent "1"
}
Block {
BlockType ZeroOrderHold
Name "c1"
Position [155, 68, 190, 92]
SampleTime "5"
}
Block {
BlockType ZeroOrderHold
Name "c2"
Position [155, 113, 190, 137]
SampleTime "5"
}
Block {
BlockType ZeroOrderHold
Name "c3"
Position [155, 158, 190, 182]
SampleTime "5"
}
Block {
BlockType Reference
Name "powergui"
Ports []
Position [1315, 551, 1446, 607]
DropShadow on
ShowName off
FontSize 12
SourceBlock "powerlib2/powergui"
SourceType "PSB option menu block"
Frange "[0:2:500]"
Ylog off
Xlog off
save off
variable "ZData"
structure "Data3"
ZoomFFT on
StartTime "0.02"
cycles "1"
DisplayStyle "4"
fundamental "50"
FreqAxis on
MaxFrequency "2500"
frequencyindice "1"
frequencyindicesteady "1"
RmsSteady "1"
display off
Ts "1e-5"
methode off
frequency "60"
echomessages off
}
Block {
BlockType SubSystem
Name "脉冲发生器"
Ports [5, 1]
Position [215, 62, 310, 278]
FontName "Arial"
FontSize 12
TreatAsAtomicUnit off
System {
Name "脉冲发生器"
Location [2, 82, 1014, 732]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "Va"
Position [35, 58, 65, 72]
}
Block {
BlockType Inport
Name "Vb"
Position [35, 103, 65, 117]
Port "2"
}
Block {
BlockType Inport
Name "Vc"
Position [35, 148, 65, 162]
Port "3"
}
Block {
BlockType Inport
Name "Vdc"
Position [35, 193, 65, 207]
Port "4"
}
Block {
BlockType Inport
Name "Ts"
Position [35, 238, 65, 252]
Port "5"
}
Block {
BlockType SubSystem
Name "SVPWM"
Ports [5, 2]
Position [365, 45, 485, 255]
FontName "Arial"
FontSize 12
TreatAsAtomicUnit off
System {
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -