📄 spwm_vf_model.mdl
字号:
BlockType Inport
Name "In1"
Position [385, 158, 415, 172]
}
Block {
BlockType Reference
Name "Discrete\n3-phase \nProgrammable Source"
Ports [0, 1]
Position [905, 471, 955, 519]
SourceBlock "powerlib_extras/Discrete \nControl Blocks/Discr"
"ete\n3-phase \nProgrammable Source"
SourceType "Discrete 3-phase Programmable Source"
Par_Vps "[2 10 50]"
VariationEntity "Frequency"
VariationType "Step"
VariationStep "2"
VariationRate "100"
VariationMag "0.3"
VariationFreq "2"
Par_Timing_Variation "[0.0 0.1]"
SinglePhase on
Yampli "[1 0.8 1.2 1.0]"
Xtime "[0 0.1 0.15 0.2]"
HarmonicGeneration off
Par_HarmoA "[3 0.2 -25 0]"
Par_HarmoB "[2 0.15 35 2]"
Par_Timing_Harmo "[0.05 3]"
Ts "5e-6"
}
Block {
BlockType SubSystem
Name "Subsystem"
Ports []
Position [505, 132, 595, 198]
TreatAsAtomicUnit off
System {
Name "Subsystem"
Location [6, 82, 1018, 597]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Reference
Name "200V"
Tag "PoWeRsYsTeMbLoCk"
Description "source block"
Ports [1, 1]
Position [45, 90, 65, 125]
Orientation "up"
SourceBlock "powerlib2/Electrical\nSources/DC Voltage So"
"urce"
SourceType "DC Voltage Source"
V "200"
mesure "None"
PSBOutputType "1"
}
Block {
BlockType Reference
Name "200V1"
Tag "PoWeRsYsTeMbLoCk"
Description "source block"
Ports [1, 1]
Position [45, 155, 65, 190]
Orientation "up"
SourceBlock "powerlib2/Electrical\nSources/DC Voltage So"
"urce"
SourceType "DC Voltage Source"
V "200"
mesure "None"
PSBOutputType "1"
}
Block {
BlockType Reference
Name "AC Machine"
Tag "PoWeRsYsTeMbLoCk"
Ports [4, 1]
Position [675, 272, 745, 348]
SourceBlock "powerlib2/Machines/Asynchronous Machine\nSI"
" Units"
SourceType "Asynchronous Machine"
rotType "Squirrel-cage"
ctrl "Synchronous"
x1 "[ 3*746, 220, 60 ]"
x2 "[ 0.435 2.0e-3 ]"
x3 "[ 0.816 2.0e-3 ]"
x4 "69.31e-3"
x5 "[ 0.089 0 2 ]"
x6 "[ 1,0 0,0,0 0,0,0 ]"
PSBOutputType "1110"
iounits "1"
LoadFlowParameters "0"
}
Block {
BlockType Reference
Name "Bus Bar (thin horiz)"
Tag "PoWeRsYsTeMbLoCk"
Ports [3, 1]
Position [494, 260, 546, 265]
Orientation "down"
ShowName off
SourceBlock "powerlib2/Connectors/Bus Bar (thin horiz)"
SourceType "Bus Bar"
input "3"
output "1"
PSBOutputType "1111111111111111111111111111111111111111111"
"11111111111111111111111111111111111111111"
}
Block {
BlockType Demux
Name "Demux"
Ports [1, 3]
Position [845, 224, 850, 276]
BackgroundColor "black"
ShowName off
Outputs "3"
}
Block {
BlockType Reference
Name "Discrete\nVirtual PLL"
Ports [0, 3]
Position [15, 343, 65, 427]
SourceBlock "powerlib_extras/Discrete \nControl Blocks/D"
"iscrete\nVirtual PLL"
SourceType "Discrete Virtual PLL"
Freq "50"
Phase "10"
Ts "5e-6"
}
Block {
BlockType Gain
Name "Gain"
Position [880, 298, 905, 322]
Gain "9.55"
}
Block {
BlockType Reference
Name "Ground (input)"
Tag "PoWeRsYsTeMbLoCk"
Ports [1]
Position [505, 275, 535, 305]
Orientation "down"
ShowName off
SourceBlock "powerlib2/Connectors/Ground (input)"
SourceType "Ground"
}
Block {
BlockType Reference
Name "IGBT1元件"
Tag "PoWeRsYsTeMbLoCk"
Ports [4, 3]
Position [260, 234, 320, 341]
SourceBlock "powerlib2/Power\nElectronics/Three-Level Br"
"idge"
SourceType "Three-Level Bridge"
arms "3"
confi "ABC as output terminals"
Rs "1e6"
Cs "inf"
device "IGBT / Diodes"
Ron "1e-4"
PAr_vf "[ 1 1]"
mesure "None"
PSBOutputType "111"
}
Block {
BlockType Reference
Name "IGBT元件"
Tag "PoWeRsYsTeMbLoCk"
Ports [4, 3]
Position [250, 111, 310, 214]
SourceBlock "powerlib2/Power\nElectronics/Three-Level Br"
"idge"
SourceType "Three-Level Bridge"
arms "3"
confi "ABC as output terminals"
Rs "1e6"
Cs "inf"
device "IGBT / Diodes"
Ron "1e-4"
PAr_vf "[ 1 1 ]"
mesure "None"
PSBOutputType "111"
}
Block {
BlockType Reference
Name "Machines\nMeasurement\nDemux"
Ports [1, 3]
Position [760, 269, 810, 351]
SourceBlock "powerlib2/Machines/Machines\nMeasurement\nD"
"emux"
SourceType "Machine measurements"
machType "Asynchronous"
ssm1 on
ssm2 on
ssm3 on
ssm4 on
ssm5 on
ssm6 on
sm1 off
sm2 on
sm3 off
sm4 off
sm5 off
sm6 on
sm7 off
sm8 on
sm9 off
sm10 off
sm11 off
sm115 off
sm12 off
sm13 off
sm14 off
asm1 off
asm2 off
asm3 off
asm4 off
asm5 on
asm6 off
asm7 off
asm8 off
asm9 on
asm10 on
asm11 off
pmsm1 on
pmsm2 on
pmsm3 on
pmsm4 on
pmsm5 on
pmsm6 on
lastType "1"
}
Block {
BlockType Reference
Name "Neutral (output)"
Tag "PoWeRsYsTeMbLoCk"
Ports [0, 1]
Position [40, 200, 70, 230]
Orientation "up"
ShowName off
SourceBlock "powerlib2/Connectors/Neutral (output)"
SourceType "Neutral"
no "99"
PSBOutputType "1"
}
Block {
BlockType Reference
Name "Neutral (output)1"
Tag "PoWeRsYsTeMbLoCk"
Ports [0, 1]
Position [134, 200, 166, 240]
Orientation "up"
ShowName off
SourceBlock "powerlib2/Connectors/Neutral (output)"
SourceType "Neutral"
no "99"
PSBOutputType "1"
}
Block {
BlockType Scope
Name "Scope"
Ports [1]
Position [740, 124, 770, 156]
NamePlacement "alternate"
Location [140, 410, 634, 649]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
YMin "102.816"
YMax "113.638"
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "Scope1"
Ports [4]
Position [670, 32, 715, 133]
NamePlacement "alternate"
Location [218, 119, 775, 662]
Open on
NumInputPorts "4"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "直流电压"
axes2 "三相SPWM变频器单相电压输出波形"
axes3 "三相SPWM变频器三相电压输出波形"
axes4 "三相线性变压器A2和B2之间的线电压"
}
List {
ListType SelectedSignals
axes1 ""
axes2 ""
axes3 ""
axes4 ""
}
YMin "200~-250~-500~-600"
YMax "200~250~500~400"
SaveName "ScopeData1"
DataFormat "StructureWithTime"
LimitDataPoints off
}
Block {
BlockType Scope
Name "Scope2"
Ports [1]
Position [745, 164, 775, 196]
Location [140, 410, 634, 649]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
YMin "102.816"
YMax "113.638"
SaveName "ScopeData2"
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "Scope3"
Ports [1]
Position [745, 214, 775, 246]
Location [140, 410, 634, 649]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
YMin "102.816"
YMax "113.638"
SaveName "ScopeData3"
DataFormat "StructureWithTime"
}
Block {
BlockType Constant
Name "TL"
Position [615, 315, 645, 345]
Value "20"
}
Block {
BlockType Constant
Name "TL1"
Position [15, 260, 45, 290]
Value "50"
}
Block {
BlockType Scope
Name "Te"
Ports [1]
Position [890, 350, 910, 370]
Location [188, 365, 616, 604]
Open on
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
SaveName "ScopeData4"
DataFormat "StructureWithTime"
}
Block {
BlockType Terminator
Name "Terminator1"
Position [90, 375, 110, 395]
ShowName off
}
Block {
BlockType SubSystem
Name "VFsignas"
Ports [1, 1]
Position [60, 237, 130, 313]
TreatAsAtomicUnit off
System {
Name "VFsignas"
Location [155, 133, 898, 455]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "fsigs"
Position [15, 153, 45, 167]
}
Block {
BlockType SubSystem
Name "GI"
Ports [1, 1]
Position [80, 130, 120, 190]
TreatAsAtomicUnit off
System {
Name "GI"
Location [473, 194, 853, 306]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [25, 33, 55, 47]
}
Block {
BlockType SubSystem
Name "Subsystem"
Ports [1, 1]
Position [155, 25, 195, 85]
TreatAsAtomicUnit off
System {
Name "Subsystem"
Location [455, 406, 835, 519]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [25, 33, 55, 47]
}
Block {
BlockType Gain
Name "Gain"
Position [120, 25, 150, 55]
Gain "1e5"
}
Block {
BlockType Integrator
Name "Integrator"
Ports [1, 1]
Position [240, 25, 270, 55]
}
Block {
BlockType Saturate
Name "Saturation"
Position [180, 25, 210, 55]
UpperLimit "5000"
LowerLimit "-5000"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [80, 30, 100, 50]
ShowName off
IconShape "round"
Inputs "|+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -