📄 gsvpwm.mdl
字号:
BlockType Reference
Name "Three-Phase\nSeries RLC Branch"
Ports [0, 0, 0, 0, 0, 3, 3]
Position [430, 78, 500, 172]
AttributesFormatString "\\n"
SourceBlock "powerlib/Elements/Three-Phase\nSeries RLC Branch"
SourceType "Three-Phase Series RLC Branch"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "A|B|C"
RConnTagsString "A|B|C"
Resistance "0.5"
Inductance "4e-3"
Capacitance "inf"
Measurements "None"
}
Block {
BlockType Reference
Name "Universal Bridge"
Ports [1, 0, 0, 0, 0, 3, 2]
Position [730, 112, 785, 188]
SourceBlock "powerlib/Power\nElectronics/Universal Bridge"
SourceType "Universal Bridge"
Arms "3"
SnubberResistance "1e5"
SnubberCapacitance "inf"
Device "IGBT / Diodes"
Ron "1e-3"
Lon "0"
ForwardVoltages "[ 0 0 ]"
ForwardVoltage "0"
GTOparameters "[ 10e-6 , 20e-6 ]"
IGBTparameters "[ 1e-6 , 2e-6 ]"
Measurements "None"
}
Block {
BlockType Reference
Name "Voltage Measurement"
Ports [0, 1, 0, 0, 0, 2]
Position [915, 153, 940, 177]
SourceBlock "powerlib/Measurements/Voltage Measurement"
SourceType "Voltage Measurement"
PhasorSimulation off
OutputType "Complex"
PSBequivalent "0"
}
Block {
BlockType ZeroOrderHold
Name "Zero-Order\nHold"
Position [305, 419, 335, 441]
}
Block {
BlockType ZeroOrderHold
Name "Zero-Order\nHold1"
Position [310, 484, 340, 506]
}
Block {
BlockType Reference
Name "c"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [818, 130, 842, 145]
Orientation "down"
NamePlacement "alternate"
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 "0"
Capacitance "3e-3"
Measurements "None"
}
Block {
BlockType Reference
Name "c1"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [860, 110, 890, 190]
Orientation "down"
NamePlacement "alternate"
SourceBlock "powerlib/Elements/Series RLC Branch"
SourceType "Series RLC Branch"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "__new0"
RConnTagsString "__new0"
Resistance "50"
Inductance "0"
Capacitance "inf"
Measurements "None"
}
Block {
BlockType SubSystem
Name "fanxuanzhuanbianhuan"
Ports [2, 2]
Position [385, 405, 425, 465]
TreatAsAtomicUnit off
RTWSystemCode "Auto"
System {
Name "fanxuanzhuanbianhuan"
Location [2, 82, 1014, 721]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "id"
Position [85, 53, 115, 67]
Port "1"
LatchInput off
}
Block {
BlockType Inport
Name "iq"
Position [80, 138, 110, 152]
Port "2"
LatchInput off
}
Block {
BlockType Clock
Name "Clock"
Position [25, 315, 45, 335]
Decimation "10"
}
Block {
BlockType Constant
Name "Constant"
Position [25, 265, 55, 295]
Value "100*pi"
}
Block {
BlockType Product
Name "Product"
Ports [2, 1]
Position [235, 51, 280, 84]
InputSameDT off
RndMeth "Floor"
}
Block {
BlockType Product
Name "Product1"
Ports [2, 1]
Position [230, 136, 275, 169]
InputSameDT off
RndMeth "Floor"
}
Block {
BlockType Product
Name "Product2"
Ports [2, 1]
Position [390, 41, 435, 74]
InputSameDT off
RndMeth "Floor"
}
Block {
BlockType Product
Name "Product3"
Ports [2, 1]
Position [395, 131, 440, 164]
InputSameDT off
RndMeth "Floor"
}
Block {
BlockType Product
Name "Product4"
Ports [2, 1]
Position [145, 271, 190, 304]
InputSameDT off
RndMeth "Floor"
}
Block {
BlockType Scope
Name "Scope3"
Ports [2]
Position [615, 201, 645, 234]
Location [1, 56, 1025, 737]
Open off
NumInputPorts "2"
ZoomMode "yonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
}
YMin "-5000~-15"
YMax "5000~15"
SaveName "ScopeData6"
DataFormat "StructureWithTime"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [540, 45, 560, 65]
ShowName off
IconShape "round"
Inputs "|+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [535, 145, 555, 165]
ShowName off
IconShape "round"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Trigonometry
Name "Trigonometric\nFunction"
Ports [1, 1]
Position [245, 285, 275, 315]
}
Block {
BlockType Trigonometry
Name "Trigonometric\nFunction1"
Ports [1, 1]
Position [245, 225, 275, 255]
Operator "cos"
}
Block {
BlockType Outport
Name "ia"
Position [645, 48, 675, 62]
}
Block {
BlockType Outport
Name "ib"
Position [645, 148, 675, 162]
Port "2"
}
Line {
SrcBlock "Product3"
SrcPort 1
Points [65, 0; 0, 30]
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "Sum1"
SrcPort 1
Points [10, 0]
Branch {
DstBlock "ib"
DstPort 1
}
Branch {
Points [0, 70]
DstBlock "Scope3"
DstPort 2
}
}
Line {
SrcBlock "Sum"
SrcPort 1
Points [30, 0]
Branch {
DstBlock "ia"
DstPort 1
}
Branch {
Points [0, 155]
DstBlock "Scope3"
DstPort 1
}
}
Line {
SrcBlock "Product2"
SrcPort 1
Points [40, 0; 0, -5]
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "id"
SrcPort 1
Points [0, 0; 40, 0]
Branch {
Points [0, -30; 205, 0; 0, 20]
DstBlock "Product2"
DstPort 1
}
Branch {
DstBlock "Product"
DstPort 1
}
}
Line {
SrcBlock "Clock"
SrcPort 1
Points [40, 0; 0, -30]
DstBlock "Product4"
DstPort 2
}
Line {
SrcBlock "Constant"
SrcPort 1
DstBlock "Product4"
DstPort 1
}
Line {
SrcBlock "Product4"
SrcPort 1
Points [0, 0; 15, 0]
Branch {
Points [0, 10]
DstBlock "Trigonometric\nFunction"
DstPort 1
}
Branch {
Points [0, -50]
DstBlock "Trigonometric\nFunction1"
DstPort 1
}
}
Line {
SrcBlock "iq"
SrcPort 1
Points [0, 0; 40, 0]
Branch {
Points [0, -20; 210, 0; 0, 15]
DstBlock "Product3"
DstPort 1
}
Branch {
DstBlock "Product1"
DstPort 1
}
}
Line {
SrcBlock "Trigonometric\nFunction"
SrcPort 1
Points [95, 0; 0, -100; -185, 0; 0, -40]
Branch {
Points [0, -85]
DstBlock "Product"
DstPort 2
}
Branch {
DstBlock "Product1"
DstPort 2
}
}
Line {
SrcBlock "Product"
SrcPort 1
Points [85, 0; 0, 55; 175, 0]
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "Product1"
SrcPort 1
Points [30, 0; 0, -50; 240, 0]
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "Trigonometric\nFunction1"
SrcPort 1
Points [60, 0; 0, -85]
Branch {
Points [0, -90]
DstBlock "Product2"
DstPort 2
}
Branch {
DstBlock "Product3"
DstPort 2
}
}
}
}
Block {
BlockType SubSystem
Name "panduanshanqu"
Ports [2, 1]
Position [550, 320, 590, 380]
TreatAsAtomicUnit off
RTWSystemCode "Auto"
System {
Name "panduanshanqu"
Location [0, 82, 1012, 743]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "uaelf"
Position [30, 68, 60, 82]
Port "1"
LatchInput off
}
Block {
BlockType Inport
Name "ubeta"
Position [35, 303, 65, 317]
Port "2"
LatchInput off
}
Block {
BlockType Constant
Name "Constant"
Position [300, 25, 330, 55]
}
Block {
BlockType Constant
Name "Constant1"
Position [300, 335, 330, 365]
Value "0"
}
Block {
BlockType Gain
Name "Gain1"
Position [85, 60, 115, 90]
Gain "1.732"
}
Block {
BlockType Gain
Name "Gain2"
Position [450, 190, 480, 220]
Gain "2"
}
Block {
BlockType Gain
Name "Gain3"
Position [450, 65, 480, 95]
Gain "4"
}
Block {
BlockType Scope
Name "Scope2"
Ports [1]
Position [650, 104, 680, 136]
Location [5, 60, 1021, 733]
Open off
NumInputPorts "1"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
YMin "0"
YMax "7"
SaveName "ScopeData2"
DataFormat "StructureWithTime"
LimitDataPoints off
}
Block {
BlockType Sum
Name "Sum"
Ports [3, 1]
Position [580, 159, 600, 231]
ShowName off
Inputs "|+++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [175, 195, 195, 215]
ShowName off
IconShape "round"
Inputs "+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum2"
Ports [2, 1]
Position [235, 70, 255, 90]
ShowName off
Inputs "--"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Switch
Name "Switch"
Position [385, 295, 415, 325]
Criteria "u2 > Threshold"
InputSameDT off
}
Block {
BlockType Switch
Name "Switch1"
Position [385, 65, 415, 95]
Criteria "u2 > Threshold"
InputSameDT off
}
Block {
BlockType Switch
Name "Switch2"
Position [380, 190, 410, 220]
Criteria "u2 > Threshold"
InputSameDT off
}
Block {
BlockType Outport
Name "N"
Position [660, 188, 690, 202]
}
Line {
SrcBlock "ubeta"
SrcPort 1
Points [115, 0]
Branch {
DstBlock "Sum1"
DstPort 2
}
Branch {
Points [35, 0]
Branch {
DstBlock "Switch"
DstPort 2
}
Branch {
DstBlock "Sum2"
DstPort 2
}
}
}
Line {
SrcBlock "Constant1"
SrcPort 1
Points [10, 0; 0, -30]
Branch {
Points [0, -105]
Branch {
Points [0, -125]
DstBlock "Switch1"
DstPort 3
}
Branch {
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -