📄 power_bridges.mdl
字号:
NamePlacement "alternate"
AttributesFormatString "\\n"
DialogController "POWERSYS.PowerSysDialog"
SourceBlock "powerlib/Elements/Three-Phase\nParallel RLC Loa"
"d"
SourceType "Three-Phase Parallel RLC Load"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "A|B|C"
Configuration "Y (grounded)"
NominalVoltage "380"
NominalFrequency "50"
ActivePower "50e3"
InductivePower "0"
CapacitivePower "0"
Measurements "None"
}
Block {
BlockType Reference
Name "C"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [374, 135, 416, 165]
Orientation "down"
NamePlacement "alternate"
AttributesFormatString "\\n"
DialogController "POWERSYS.PowerSysDialog"
SourceBlock "powerlib/Elements/Parallel RLC Branch"
SourceType "Parallel RLC Branch"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "a"
RConnTagsString "__new0"
BranchType "C"
Resistance "1.0"
Inductance "1.0"
SetiL0 off
InitialCurrent "0"
Capacitance "5000e-06"
Setx0 off
InitialVoltage "0"
Measurements "None"
}
Block {
BlockType Reference
Name "Discrete\nPWM Generator"
Ports [1, 1]
Position [590, 332, 670, 368]
Orientation "left"
DialogController "POWERSYS.PowerSysDialog"
SourceBlock "powerlib_extras/Discrete \nControl Blocks/Discr"
"ete\nPWM Generator"
SourceType "Discrete PWM Generator"
ShowPortLabels "FromPortIcon"
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
GeneratorMode "3-arm bridge (6 pulses)"
Fc "2000"
Ts "Ts"
Internal off
mIndex "0.4"
Freq "60"
Phase "0"
}
Block {
BlockType SubSystem
Name "Double click here for more info"
Ports []
Position [865, 460, 891, 485]
DropShadow on
OpenFcn "showdemo(bdroot(gcb))"
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
MaskHideContents off
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"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
ShowPageBoundaries off
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 Reference
Name "L1"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [335, 93, 375, 117]
NamePlacement "alternate"
AttributesFormatString "\\n"
DialogController "POWERSYS.PowerSysDialog"
SourceBlock "powerlib/Elements/Series RLC Branch"
SourceType "Series RLC Branch"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "__new0"
RConnTagsString "__new0"
BranchType "L"
Resistance "1.0"
Inductance "200e-6"
SetiL0 off
InitialCurrent "0"
Capacitance "1.0"
Setx0 off
InitialVoltage "0"
Measurements "None"
}
Block {
BlockType SubSystem
Name "LC Filter"
Ports [0, 0, 0, 0, 0, 3, 3]
Position [585, 117, 645, 193]
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
MaskHideContents off
System {
Name "LC Filter"
Location [500, 106, 874, 338]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
Block {
BlockType Reference
Name "2 mH "
Ports [0, 0, 0, 0, 0, 3, 3]
Position [100, 50, 155, 100]
AttributesFormatString "\\n"
DialogController "POWERSYS.PowerSysDialog"
SourceBlock "powerlib/Elements/Three-Phase\nSeries RLC B"
"ranch"
SourceType "Three-Phase Series RLC Branch"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "A|B|C"
RConnTagsString "A|B|C"
BranchType "L"
Resistance "1.0"
Inductance "2e-3"
Capacitance "1.0"
Measurements "None"
}
Block {
BlockType Reference
Name "3 kvar"
Ports [0, 0, 0, 0, 0, 3]
Position [167, 140, 213, 205]
Orientation "down"
AttributesFormatString "\\n"
DialogController "POWERSYS.PowerSysDialog"
SourceBlock "powerlib/Elements/Three-Phase\nSeries RLC L"
"oad"
SourceType "Three-Phase Series RLC Load"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "A|B|C"
Configuration "Y (grounded)"
NominalVoltage "380"
NominalFrequency "50"
ActivePower "0"
InductivePower "0"
CapacitivePower "3e3"
Measurements "None"
}
Block {
BlockType PMIOPort
Name "A"
Position [25, 28, 55, 42]
Port "1"
Side "Left"
}
Block {
BlockType PMIOPort
Name "B"
Position [25, 68, 55, 82]
Port "2"
Side "Left"
}
Block {
BlockType PMIOPort
Name "C"
Position [20, 108, 50, 122]
Port "3"
Side "Left"
}
Block {
BlockType PMIOPort
Name "A "
Position [265, 28, 295, 42]
Orientation "left"
Port "4"
Side "Right"
}
Block {
BlockType PMIOPort
Name "B "
Position [265, 68, 295, 82]
Orientation "left"
Port "5"
Side "Right"
}
Block {
BlockType PMIOPort
Name "C "
Position [265, 108, 295, 122]
Orientation "left"
Port "6"
Side "Right"
}
Line {
LineType "Connection"
SrcBlock "B"
SrcPort RConn1
DstBlock "2 mH "
DstPort LConn2
}
Line {
LineType "Connection"
SrcBlock "A"
SrcPort RConn1
Points [0, 25]
DstBlock "2 mH "
DstPort LConn1
}
Line {
LineType "Connection"
SrcBlock "C"
SrcPort RConn1
Points [10, 0; 0, -25]
DstBlock "2 mH "
DstPort LConn3
}
Line {
LineType "Connection"
SrcBlock "2 mH "
SrcPort RConn1
Points [5, 0]
Branch {
ConnectType "DEST_SRC"
Points [55, 0; 0, -25]
DstBlock "A "
DstPort RConn1
}
Branch {
ConnectType "DEST_SRC"
DstBlock "3 kvar"
DstPort LConn1
}
}
Line {
LineType "Connection"
SrcBlock "2 mH "
SrcPort RConn2
Points [20, 0]
Branch {
ConnectType "DEST_SRC"
DstBlock "B "
DstPort RConn1
}
Branch {
ConnectType "DEST_SRC"
DstBlock "3 kvar"
DstPort LConn2
}
}
Line {
LineType "Connection"
SrcBlock "2 mH "
SrcPort RConn3
Points [35, 0]
Branch {
ConnectType "DEST_SRC"
Points [25, 0; 0, 25]
DstBlock "C "
DstPort RConn1
}
Branch {
ConnectType "DEST_SRC"
DstBlock "3 kvar"
DstPort LConn3
}
}
}
}
Block {
BlockType Reference
Name "Measure"
Ports [0, 1, 0, 0, 0, 3, 3]
Position [675, 117, 710, 188]
DialogController "POWERSYS.PowerSysDialog"
SourceBlock "powerlib/Measurements/Three-Phase\nV-I Measurem"
"ent"
SourceType "Three-Phase VI Measurement"
ShowPortLabels "FromPortIcon"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -