📄 dc2ac2_v_0410_ddy.mdl
字号:
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Trigonometric\nFunction"
DstPort 1
}
Line {
SrcBlock "m4"
SrcPort 1
Points [215, 0]
DstBlock "Product"
DstPort 1
}
Line {
SrcBlock "Constant"
SrcPort 1
DstBlock "Sum"
DstPort 3
}
Line {
SrcBlock "m3"
SrcPort 1
DstBlock "Gain2"
DstPort 1
}
Line {
SrcBlock "Gain2"
SrcPort 1
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "Gain"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "t"
SrcPort 1
DstBlock "Gain"
DstPort 1
}
Line {
SrcBlock "Select3"
SrcPort 1
Points [10, 0]
DstBlock "Data Type \nConversion"
DstPort 1
}
Line {
SrcBlock "Data Type \nConversion"
SrcPort 1
DstBlock "Pulses"
DstPort 1
}
Line {
SrcBlock "Relational\nOperator"
SrcPort 1
DstBlock "Data Type \nConversion1"
DstPort 1
}
Line {
SrcBlock "Data Type \nConversion1"
SrcPort 1
Points [10, 0]
Branch {
Points [0, 30]
DstBlock "BL4"
DstPort 1
}
Branch {
DstBlock "Mux"
DstPort 1
}
}
Line {
SrcBlock "Relational\nOperator1"
SrcPort 1
DstBlock "Data Type \nConversion2"
DstPort 1
}
Line {
SrcBlock "Data Type \nConversion2"
SrcPort 1
Points [10, 0]
Branch {
Points [0, 30]
DstBlock "BL5"
DstPort 1
}
Branch {
DstBlock "Mux1"
DstPort 1
}
}
Annotation {
Name "Pierre Giroux, Gilbert Sybille\nPower Syste"
"m Laboratory, IREQ\nHydro-Quebec"
Position [100, 52]
}
Annotation {
Name "PWM Generator "
Position [104, 19]
FontSize 14
FontWeight "bold"
}
}
}
Block {
BlockType SubSystem
Name "Double click here for more info"
Ports []
Position [305, 590, 331, 615]
DropShadow on
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskDisplay "disp('?')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "Double click here for more info"
Location [55, 82, 860, 764]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Annotation {
Name "This example of AC-DC-AC converter illustra"
"tes use of Universal Bridge, \nMultimeter, and Powergui blocks, as well as d"
"iscrete control blocks of the Extras library"
Position [19, 17]
HorizontalAlignment "left"
VerticalAlignment "top"
FontSize 14
FontWeight "bold"
}
Annotation {
Name " "
Position [339, 427]
HorizontalAlignment "left"
VerticalAlignment "top"
FontName "Times"
FontSize 12
}
Annotation {
Name " "
Position [264, 342]
HorizontalAlignment "left"
VerticalAlignment "top"
FontName "Times"
FontSize 12
}
Annotation {
Name "Circuit Description"
Position [19, 87]
HorizontalAlignment "left"
VerticalAlignment "top"
ForegroundColor "blue"
FontSize 14
FontWeight "bold"
}
Annotation {
Name "Demonstration"
Position [19, 377]
HorizontalAlignment "left"
VerticalAlignment "top"
ForegroundColor "blue"
FontSize 14
FontWeight "bold"
}
Annotation {
Name "A 60 Hz, voltage source feeds a 50 Hz, 50 "
"kW load through an AC-DC-AC converter. \n\nThe 600V, 60 Hz voltage obtained"
" at secondary of the Wye/Delta transformer is first rectified by a six pulse "
"diode bridge.\nThe filtered DC voltage is applied to an IGBT two-level invert"
"er generating 50 Hz.\nThe IGBT inverter uses Pulse Width Modulation (PWM) at "
"a 2 kHz carrier frequency.\nThe circuit is discretized at a sample time of 2 "
"us\n\nThe load voltage is regulated at 1 pu (380 V rms) by a PI voltage regul"
"ator using abc_to_dq and dq_to_abc transfomations. \nThe first output of the "
"voltage regulator is a vector containing the three modulating signals used by"
" the PMW Generator\nto generate the 6 IGBT pulses. The second output returns "
"the modulation index. \n\nThe Discrete 3-Phase PWM Pulse Generator is availab"
"le in the Extras/Discrete Control Blocks library. \nThe voltage regulator has"
" been built from blocks of the Extras/Measurements and Extras/ Discrete Cont"
"rol libraries\n\nThe Multimeter block is used to observe diode and IGBT curre"
"nts.\nIn order to allow further signal processing, signals displayed on Scop"
"e1 block (sampled at simulation sampling rate of 2us )\nare stored in a var"
"iable named 'psbbridges_str' (structure with time) .\n "
Position [19, 107]
HorizontalAlignment "left"
VerticalAlignment "top"
FontName "Arial"
FontSize 12
}
Annotation {
Name "Start the simulation. After a transient per"
"iod of approximately 50 ms, the system reaches a steady state.\nObserve vol"
"tage waveforms at DC bus, inverter output and load on Scope1.\nThe harmonic"
"s generated by the inverter around around multiples of 2 kHz are filtered by "
"the LC filter.\n\nAs expected the peak value of the load voltage is 537 V (3"
"80 Vrms). \nIn steady state, the mean value of the modulation index is m = 0."
"80 and the mean value of the DC voltage is 778 V. \nThe fundamental compon"
"ent of 50 Hz voltage burried in the chopped inverter voltage is therefore:\nV"
"ab = 778 V * 0.612 * 0.80 = 381 V rms\n\nOnce simulation is completed, open "
"the Powergui and select 'FFT Analysis' to display the 0 - 7000 Hz frequency "
"spectrum of signals saved \nin the 'psbbridges_str' structure. The FFT will b"
"e performed on a 2-cycle window starting at t=0.1-2/50 (last 2 cycles of rec"
"ording). \nSelect input labeled 'Vab Load' . Click on Display and observe the"
" frequency spectrum of last 2 cycles.\nNotice harmonics around multiples of t"
"he 2 kHz carrier frequency. Maximum harmonic is 1.4 % of fundamental and THD "
"is 2%. \n\nObserve diode currents on trace 1 of Scope2, showing commutation f"
"rom diode 1 to diode 3. Also observe on trace 2 currents in\nswitches 1 and"
" 2 of the IGBT/Diode bridge (upper and lower switches connected to phase A). "
"These two currents are complementary.\nA positive current indicates a current"
" flowing in the IGBT, whereas a negative current indicates a current flowing "
"in the antiparallel diode. "
Position [19, 407]
HorizontalAlignment "left"
VerticalAlignment "top"
FontName "Arial"
FontSize 12
}
Annotation {
Name "G. Sybille (Hydro-Quebec)"
Position [21, 65]
HorizontalAlignment "left"
VerticalAlignment "top"
FontName "Arial"
FontSize 12
}
Annotation {
Position [271, 364]
}
}
}
Block {
BlockType Gain
Name "Gain"
Position [775, 395, 805, 425]
Orientation "left"
NamePlacement "alternate"
Gain "0.0016"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Reference
Name "Ground"
Ports [0, 0, 0, 0, 0, 1]
Position [344, 305, 366, 330]
Orientation "down"
ShowName off
SourceBlock "powerlib/Elements/Ground"
SourceType "Ground"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "a"
}
Block {
BlockType Reference
Name "Ground1"
Ports [0, 0, 0, 0, 0, 1]
Position [864, 320, 886, 345]
Orientation "down"
ShowName off
SourceBlock "powerlib/Elements/Ground"
SourceType "Ground"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "a"
}
Block {
BlockType Reference
Name "Ground2"
Ports [0, 0, 0, 0, 0, 1]
Position [584, 140, 606, 165]
Orientation "down"
ShowName off
SourceBlock "powerlib/Elements/Ground"
SourceType "Ground"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "a"
}
Block {
BlockType Reference
Name "Ground3"
Ports [0, 0, 0, 0, 0, 1]
Position [504, 325, 526, 350]
Orientation "down"
ShowName off
SourceBlock "powerlib/Elements/Ground"
SourceType "Ground"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "a"
}
Block {
BlockType Reference
Name "Ground4"
Ports [0, 0, 0, 0, 0, 1]
Position [719, 165, 741, 190]
Orientation "down"
ShowName off
SourceBlock "powerlib/Elements/Ground"
SourceType "Ground"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "a"
}
Block {
BlockType Reference
Name "Ground5"
Ports [0, 0, 0, 0, 0, 1]
Position [604, 315, 626, 340]
Orientation "down"
ShowName off
SourceBlock "powerlib/Elements/Ground"
SourceType "Ground"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "a"
}
Block {
BlockType Reference
Name "Ground6"
Ports [0, 0, 0, 0, 0, 1]
Position [724, 320, 746, 345]
Orientation "down"
ShowName off
SourceBlock "powerlib/Elements/Ground"
SourceType "Ground"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "a"
}
Block {
BlockType Reference
Name "L1"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [185, 183, 225, 207]
NamePlacement "alternate"
AttributesFormatString "\\n"
SourceBlock "powerlib/Elements/Series RLC Branch"
SourceType "Series RLC Branch"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "__new0"
RConnTagsString "__new0"
Resistance "0"
Inductance "200e-6"
Capacitance "inf"
Measurements "None"
}
Block {
BlockType Reference
Name "PWM \nIGBT Inverter"
Ports [1, 0, 0, 0, 0, 2, 2]
Position [275, 186, 340, 284]
Orientation "left"
BackgroundColor "lightBlue"
DropShadow on
NamePlacement "alternate"
AttributesFormatString "\\n"
SourceBlock "powerlib/Power\nElectronics/Universal Bridge"
SourceType "Universal Bridge"
ShowPortLabels on
Arms "2"
SnubberResistance "5000"
SnubberCapacitance "inf"
Device "IGBT / Diodes"
Ron "1e-3"
Lon "0"
ForwardVoltages "[ 0.0 0.0 ]"
ForwardVoltage ".8"
GTOparameters "[ 1e-6 ,1e-6 ]"
IGBTparameters "[ 1e-6 , 2e-6 ]"
Measurements "Device currents"
}
Block {
BlockType Product
Name "Product"
Ports [2, 1]
Position [660, 402, 690, 433]
Orientation "left"
NamePlacement "alternate"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Reference
Name "RMS"
Ports [1, 1]
Position [1110, 203, 1180, 237]
SourceBlock "powerlib_extras/Measurements/RMS"
SourceType "RMS"
ShowPortLabels on
f1 "50"
}
Block {
BlockType Reference
Name "RMS1"
Ports [1, 1]
Position [935, 231, 985, 289]
SourceBlock "powerlib_extras/Measurements/RMS"
SourceType "RMS"
ShowPortLabels on
f1 "50"
}
Block {
BlockType Scope
Name "Scope1"
Ports [2]
Position [1185, 316, 1220, 369]
BackgroundColor "green"
Location [64, 295, 498, 678]
Open off
NumInputPorts "2"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -