📄 power_3phpwm3level1.mdl
字号:
LConnTagsString "A|B|C"
Configuration "Y (grounded)"
NominalVoltage "208"
NominalFrequency "60"
ActivePower "1000"
InductivePower "0"
CapacitivePower "500"
Measurements "None"
}
Block {
BlockType Reference
Name "Discrete\n3-phase \nProgrammable Source"
Ports [0, 1]
Position [575, 382, 610, 418]
Orientation "left"
NamePlacement "alternate"
SourceBlock "powerlib_extras/Discrete \nControl Blocks/Discr"
"ete\n3-phase \nProgrammable Source"
SourceType "Discrete 3-phase Programmable Source"
ShowPortLabels on
Par_Vps "[0.85 0 60]"
VariationEntity "None"
VariationType "Step"
VariationStep "-0.5 "
VariationRate "10"
VariationMag "0.3"
VariationFreq "2"
Par_Timing_Variation "[0.1 1.2]"
SinglePhase on
Yampli "[1 0.2 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 "Ts"
}
Block {
BlockType Reference
Name "Discrete\nVirtual PLL"
Ports [0, 3]
Position [680, 390, 730, 450]
Orientation "left"
NamePlacement "alternate"
SourceBlock "powerlib_extras/Discrete \nControl Blocks/Discr"
"ete\nVirtual PLL"
SourceType "Discrete Virtual PLL"
ShowPortLabels on
Freq "60"
Phase "0"
Ts "Ts"
}
Block {
BlockType Reference
Name "Discrete 3-phase\nPWM Generator"
Ports [2, 2]
Position [460, 380, 515, 460]
Orientation "left"
ForegroundColor "blue"
BackgroundColor "cyan"
DropShadow on
NamePlacement "alternate"
SourceBlock "powerlib_extras/Discrete \nControl Blocks/Discr"
"ete 3-phase\nPWM Generator"
SourceType "Discrete 3-phase PWM Generator (2- or 3-level)"
ShowPortLabels on
ModulatorType "3-level"
ModulatorMode "Synchronized"
nF "18"
Fc "18*60"
ModulatingSignals off
m "0.85"
Freq "60"
Phase "0"
Ts "Ts"
}
Block {
BlockType SubSystem
Name "Double click here for info"
Ports []
Position [790, 494, 821, 522]
DropShadow on
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskHideContents off
MaskDisplay "disp('?')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "Double click here for info"
Location [13, 80, 911, 865]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Annotation {
Name "This demonstration illustrates simulation o"
"f a 3-phase, 3-level inverter\nand Discrete 3-phase PWM Generator. It also de"
"monstrates \nharmonic analysis of PWM waveforms using the Powergui/FFT tool. "
" "
Position [19, 17]
HorizontalAlignment "left"
VerticalAlignment "top"
UseDisplayTextAsClickCallback off
FontSize 14
FontWeight "bold"
}
Annotation {
Name "Circuit Description"
Position [19, 112]
HorizontalAlignment "left"
VerticalAlignment "top"
ForegroundColor "blue"
UseDisplayTextAsClickCallback off
FontSize 14
FontWeight "bold"
}
Annotation {
Name "Demonstration"
Position [14, 507]
HorizontalAlignment "left"
VerticalAlignment "top"
ForegroundColor "blue"
UseDisplayTextAsClickCallback off
FontSize 14
FontWeight "bold"
}
Annotation {
Name "P. Giroux and G. Sybille (Hydro-Quebec)"
Position [22, 82]
HorizontalAlignment "left"
VerticalAlignment "top"
UseDisplayTextAsClickCallback off
FontName "Arial"
FontSize 12
}
Annotation {
Name "Run the simulation and observe the followin"
"g three waveforms on the Scope block:\nPhase-neutral voltage Van_inv1 generat"
"ed by inverter 1 (trace 1), phase A voltage Vaa_inverter generated by the tw"
"in inverter (trace 2) and\nphase-phase load voltage Vab_load (trace 3). The V"
"an_inv1 waveform cleary demonstrates the three levels: +200 V, 0 V, and -200"
" V.\n\nOnce the simulation is completed, open the Powergui and select 'FFT "
"Analysis' to display the 0 - 5000 Hz frequency spectrum of signals saved \nin"
" the 'psb3phPWM3level_str' structure. The FFT will be performed on a 2-cycle"
" window starting at t = 0.1 - 2/60 (last 2 cycles of recording). \nSelelect t"
"he input labeled 'Vaa _inverter'. Click on Display and observe the frequency "
"spectrum of last 2 cycles.\n\nThe fundamental component of Vaa_inverter and "
"THD for the 0 - 5000 Hz frequency range are displayed above the spectrum wind"
"ow.\nBecause of the forward voltage drops in the IGBTs (Vf=1 V) and diodes (V"
"fd=1V), the magnitude of the fundamental voltage of the inverter (335 V)\nis "
"slightly lower than the theoretical value (340 V for m=0.85). As expected for"
" a twin inverter, first harmonics occur around multiples of double\nof carrie"
"r frequency (n*2*1080 Hz +- k*60Hz). \n\nThe same circuit using two-level in"
"verters in twin configuration is available in the psb3phPWM.mdl demonstration"
" file.\nRun this demo and compare the harmonic contents in the 2-level and 3-"
"level inverter voltage for the same modulation index (m = 0.85).\nHarmonics "
"occur at the same frequencies but their magnitude is approximately two times "
"lower for a 3-level inverter."
Position [16, 535]
HorizontalAlignment "left"
VerticalAlignment "top"
UseDisplayTextAsClickCallback off
FontSize 12
}
Annotation {
Name "The system consists of two three-phase thre"
"e-level PWM voltage source converters connected in twin configuration\nThe i"
"nverter feeds an AC load (1kW, 500 var 60Hz @ 208 Vrms) through a three-phase"
" transformer.\nHarmonic filtering is performed by the transformer leakage ind"
"uctance (8%) and load capacitance (500 var).\n\nEach of the two inverters use"
"s the Three-Level Bridge block where the specified power electronic devices a"
"re IGBT/Diode pairs.\nEach arm consists of 4 IGBTs, 4 antiparallel diodes, an"
"d 2 neutral clamping diodes.\n\nThe inverter is controlled in open loop. Puls"
"es are generated by the Discrete 3-Phase Discrete PWM Generator block. This b"
"lock is available in the\nExtras/Discrete Control Blocks library. This PWM ge"
"nerator or modulator can be used to generate pulses for 3-phase, 2-level, or "
"3-level converters using\none bridge or two bridges (twin configuration). In "
"this demo, the PWM modulator generates two sets of 12 pulses (1 set per inver"
"ter) at P1 and P2 outputs. \nOpen the 'Discrete 3-phase PWM Generator' menu. "
"Notice that the generator can operate either in synchronized or un-synchroniz"
"ed mode.\nWhen operating in synchronized mode, the carrier triangular signal "
"is synchronized on a PLL reference angle connected to input 'wt'.\nIn synchro"
"nized mode, the carrier chopping frequency is specified by the switching rati"
"o as a multiple of the output frequency.\n \nThree sinusoidal 0.85 pu modulat"
"ing signals are provided by the 'Discrete 3-phase Programmable Source' to obt"
"ain a modulation index of 0.85.\nThe carrier signals are synchronized on the"
" modulating signals. in the PWM Generator block, you can instead select 'Un-"
"synchronized' and \n'Internal generation of modulating signals'. In such a ca"
"se the magnitude (modulation index), frequency and phase angle of the output "
"signals \nare specified. directly inside the PWM Generator block menu.\n\nFor"
" this example the DC bus voltage is 400V (+/- 200 V) , chopping frequency i"
"s 1080 Hz (18*60 Hz), magnitude of the three modulating signals is 0.85\n(co"
"rresponding to a modulation index m = 0.85) and the frequency of the three g"
"enerated signals is 60 Hz.\n\nIn order to allow further signal processing, si"
"gnals displayed on the Scope block (sampled at simulation sampling rate of 3"
"240 samples/ cycle)\nare stored in a variable named 'psb3phPWM3level_str' (s"
"tructures with time) ."
Position [16, 135]
HorizontalAlignment "left"
VerticalAlignment "top"
UseDisplayTextAsClickCallback off
FontSize 12
}
}
}
Block {
BlockType Reference
Name "Ground1"
Ports [0, 0, 0, 0, 0, 1]
Position [613, 265, 627, 285]
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 "Neutral"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [20, 240, 40, 260]
Orientation "left"
ShowName off
AttributesFormatString "node %<NodeNumber>"
SourceBlock "powerlib/Elements/Neutral"
SourceType "Neutral"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "a"
RConnTagsString "__newr0"
NodeNumber "10"
}
Block {
BlockType Reference
Name "Neutral1"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [420, 62, 440, 78]
Orientation "left"
ShowName off
AttributesFormatString "node %<NodeNumber>"
SourceBlock "powerlib/Elements/Neutral"
SourceType "Neutral"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "a"
RConnTagsString "__newr0"
NodeNumber "10"
}
Block {
BlockType Scope
Name "Scope"
Ports [3]
Position [815, 47, 855, 143]
BackgroundColor "green"
Floating off
Location [559, 79, 992, 548]
Open off
NumInputPorts "3"
ZoomMode "yonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
axes3 "%<SignalLabel>"
}
TimeRange "0.1"
YMin "-300~-400~-400"
YMax "300~400~400"
SaveToWorkspace on
SaveName "psb3phPWM3level_str"
DataFormat "StructureWithTime"
LimitDataPoints off
MaxDataPoints "500000"
SampleTime "0"
}
Block {
BlockType Terminator
Name "Terminator"
Position [650, 415, 660, 425]
Orientation "left"
NamePlacement "alternate"
ShowName off
}
Block {
BlockType Terminator
Name "Terminator1"
Position [650, 395, 660, 405]
Orientation "left"
NamePlacement "alternate"
ShowName off
}
Block {
BlockType Reference
Name "Three-Level\nBridge1"
Ports [1, 0, 0, 0, 0, 3, 3]
Position [225, 131, 295, 224]
Orientation "left"
BackgroundColor "lightBlue"
AttributesFormatString "\\n"
SourceBlock "powerlib/Power\nElectronics/Three-Level Bridge"
SourceType "Three-Level Bridge"
ShowPortLabels on
Arms "3"
SnubberResistance "1e6"
SbubberCapacitance "inf"
Device "GTO / Diodes"
Ron "1e-4"
ForwardVoltages "[ 1 1 ]"
Measurements "None"
}
Block {
BlockType Reference
Name "Three-Level\nBridge2"
Ports [1, 0, 0, 0, 0, 3, 3]
Position [225, 281, 295, 374]
Orientation "left"
BackgroundColor "lightBlue"
AttributesFormatString "\\n"
SourceBlock "powerlib/Power\nElectronics/Three-Level Bridge"
SourceType "Three-Level Bridge"
ShowPortLabels on
Arms "3"
SnubberResistance "1e6"
SbubberCapacitance "inf"
Device "GTO / Diodes"
Ron "1e-4"
ForwardVoltages "[ 1 1 ]"
Measurements "None"
}
Block {
BlockType Reference
Name "Three-phase \nLinear Transformer\n12-terminals"
Ports [0, 0, 0, 0, 0, 6, 6]
Position [495, 151, 575, 244]
AttributesFormatString "\\n"
SourceBlock "powerlib/Elements/Three-Phase Transformer\n12 T"
"erminals"
SourceType "Three-Phase Linear Transformer 12-Terminals"
ShowPortLabels on
RatedPower "[ 1000 60 ]"
Winding1 "[ 240 0.002 0.04 ]"
Winding2 " [ 208/sqrt(3) 0.002 0.04] "
RmXm " [ 200 200 ] "
}
Block {
BlockType Reference
Name "Vaa_inv"
Tag "PoWeRsYsTeMmEaSuReMeNt"
Ports [0, 1, 0, 0, 0, 2]
Position [550, 83, 575, 107]
AttributesFormatString "\\n"
SourceBlock "powerlib/Measurements/Voltage Measurement"
SourceType "Voltage Measurement"
ShowPortLabels on
PhasorSimulation off
OutputType "Magnitude"
PSBequivalent "0"
Port {
PortNumber 1
Name "Vaa_inverter"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
}
Block {
BlockType Reference
Name "Vab_load"
Tag "PoWeRsYsTeMmEaSuReMeNt"
Ports [0, 1, 0, 0, 0, 2]
Position [690, 113, 715, 137]
AttributesFormatString "\\n"
SourceBlock "powerlib/Measurements/Voltage Measurement"
SourceType "Voltage Measurement"
ShowPortLabels on
PhasorSimulation off
OutputType "Magnitude"
PSBequivalent "0"
Port {
PortNumber 1
Name "Vab_load"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
}
Block {
BlockType Reference
Name "Van_inv1"
Tag "PoWeRsYsTeMmEaSuReMeNt"
Ports [0, 1, 0, 0, 0, 2]
Position [495, 53, 520, 77]
AttributesFormatString "\\n"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -