📄 multilevelsvpwm.mdl
字号:
}
Block {
BlockType Constant
Name "Constant2"
Position [80, 285, 110, 315]
Value "1/(3^(1/2))"
}
Block {
BlockType Product
Name "Product"
Ports [3, 1]
Position [215, 81, 270, 129]
Inputs "**/"
InputSameDT off
}
Block {
BlockType Product
Name "Product1"
Ports [3, 1]
Position [215, 151, 270, 199]
Inputs "**/"
InputSameDT off
}
Block {
BlockType Product
Name "Product2"
Ports [2, 1]
Position [140, 266, 175, 299]
Inputs "**"
InputSameDT off
}
Block {
BlockType Product
Name "Product3"
Ports [2, 1]
Position [305, 166, 340, 199]
Inputs "**"
InputSameDT off
}
Block {
BlockType Product
Name "Product4"
Ports [2, 1]
Position [305, 256, 340, 289]
Inputs "**"
InputSameDT off
}
Block {
BlockType Product
Name "Product5"
Ports [2, 1]
Position [305, 86, 340, 119]
Inputs "**"
InputSameDT off
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [225, 216, 260, 249]
ShowName off
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [225, 261, 260, 294]
ShowName off
Inputs "+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Outport
Name "X"
Position [375, 98, 405, 112]
}
Block {
BlockType Outport
Name "Y"
Position [375, 178, 405, 192]
Port "2"
}
Block {
BlockType Outport
Name "Z"
Position [375, 268, 405, 282]
Port "3"
}
Line {
SrcBlock "Constant"
SrcPort 1
Points [25, 0; 0, 15]
DstBlock "Product"
DstPort 1
}
Line {
SrcBlock "Ed"
SrcPort 1
Points [25, 0; 0, -30; 0, 30]
Branch {
Points [0, -30]
DstBlock "Product"
DstPort 3
}
Branch {
Points [0, 40]
DstBlock "Product1"
DstPort 3
}
}
Line {
SrcBlock "Constant1"
SrcPort 1
Points [0, -15]
DstBlock "Product1"
DstPort 2
}
Line {
SrcBlock "Vbeta\n"
SrcPort 1
Points [10, 0]
Branch {
DstBlock "Product2"
DstPort 1
}
Branch {
Points [0, -15; 55, 0; 0, -100; 110, 0]
DstBlock "Product5"
DstPort 2
}
}
Line {
SrcBlock "Constant2"
SrcPort 1
Points [10, 0]
DstBlock "Product2"
DstPort 2
}
Line {
SrcBlock "Valpha"
SrcPort 1
Points [0, 0; 90, 0]
Branch {
DstBlock "Sum"
DstPort 1
}
Branch {
Points [0, 45]
DstBlock "Sum1"
DstPort 1
}
}
Line {
SrcBlock "Product2"
SrcPort 1
Points [0, 0; 10, 0]
Branch {
Points [0, -45]
DstBlock "Sum"
DstPort 2
}
Branch {
DstBlock "Sum1"
DstPort 2
}
}
Line {
SrcBlock "Sum"
SrcPort 1
Points [25, 0]
DstBlock "Product3"
DstPort 2
}
Line {
SrcBlock "Product1"
SrcPort 1
Points [5, 0; 0, 0]
Branch {
DstBlock "Product3"
DstPort 1
}
Branch {
Points [0, 90]
DstBlock "Product4"
DstPort 1
}
}
Line {
SrcBlock "Product3"
SrcPort 1
DstBlock "Y"
DstPort 1
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "Product4"
DstPort 2
}
Line {
SrcBlock "Product4"
SrcPort 1
DstBlock "Z"
DstPort 1
}
Line {
SrcBlock "Product5"
SrcPort 1
DstBlock "X"
DstPort 1
}
Line {
SrcBlock "Product"
SrcPort 1
Points [5, 0; 0, -10]
DstBlock "Product5"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "参考矢量扇区判断"
Ports [2, 1]
Position [170, 380, 210, 440]
TreatAsAtomicUnit off
System {
Name "参考矢量扇区判断"
Location [42, 107, 687, 428]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "Vbeta"
Position [25, 163, 55, 177]
}
Block {
BlockType Inport
Name "Valpha\n"
Position [25, 88, 55, 102]
Port "2"
}
Block {
BlockType Constant
Name "Constant1"
Position [235, 28, 260, 52]
ShowName off
}
Block {
BlockType Constant
Name "Constant4"
Position [280, 273, 305, 297]
ShowName off
Value "0"
}
Block {
BlockType Gain
Name "Gain"
Position [125, 160, 150, 180]
ShowName off
Gain "3^(1/2)"
}
Block {
BlockType Gain
Name "Gain1"
Position [135, 220, 160, 240]
ShowName off
Gain "3^(1/2)"
}
Block {
BlockType Gain
Name "Gain2"
Position [425, 150, 450, 170]
ShowName off
Gain "2"
}
Block {
BlockType Gain
Name "Gain3"
Position [430, 210, 455, 230]
ShowName off
Gain "4"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [210, 142, 230, 178]
ShowName off
Inputs "|-+"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [215, 202, 235, 238]
ShowName off
Inputs "--"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum2"
Ports [3, 1]
Position [505, 131, 530, 189]
ShowName off
Inputs "+++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Switch
Name "Switch1"
Position [350, 80, 380, 110]
Criteria "u2 > Threshold"
InputSameDT off
}
Block {
BlockType Switch
Name "Switch2"
Position [350, 145, 380, 175]
Criteria "u2 > Threshold"
InputSameDT off
}
Block {
BlockType Switch
Name "Switch3"
Position [350, 205, 380, 235]
Criteria "u2 > Threshold"
InputSameDT off
}
Block {
BlockType Outport
Name "S"
Position [590, 153, 620, 167]
}
Line {
SrcBlock "Constant1"
SrcPort 1
Points [0, 45; 35, 0]
Branch {
DstBlock "Switch1"
DstPort 1
}
Branch {
Points [0, 65]
Branch {
DstBlock "Switch2"
DstPort 1
}
Branch {
Points [0, 60]
DstBlock "Switch3"
DstPort 1
}
}
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Switch2"
DstPort 2
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "Switch3"
DstPort 2
}
Line {
SrcBlock "Constant4"
SrcPort 1
Points [10, 0; 0, -55]
Branch {
DstBlock "Switch3"
DstPort 3
}
Branch {
Points [0, -60]
Branch {
DstBlock "Switch2"
DstPort 3
}
Branch {
Points [0, -65]
DstBlock "Switch1"
DstPort 3
}
}
}
Line {
SrcBlock "Switch2"
SrcPort 1
DstBlock "Gain2"
DstPort 1
}
Line {
SrcBlock "Switch3"
SrcPort 1
DstBlock "Gain3"
DstPort 1
}
Line {
SrcBlock "Switch1"
SrcPort 1
Points [80, 0; 0, 45]
DstBlock "Sum2"
DstPort 1
}
Line {
SrcBlock "Gain2"
SrcPort 1
DstBlock "Sum2"
DstPort 2
}
Line {
SrcBlock "Gain3"
SrcPort 1
Points [15, 0; 0, -40]
DstBlock "Sum2"
DstPort 3
}
Line {
SrcBlock "Sum2"
SrcPort 1
DstBlock "S"
DstPort 1
}
Line {
SrcBlock "Gain1"
SrcPort 1
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "Gain"
SrcPort 1
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "Valpha\n"
SrcPort 1
Points [115, 0]
Branch {
DstBlock "Switch1"
DstPort 2
}
Branch {
Points [0, 65]
Branch {
DstBlock "Sum"
DstPort 1
}
Branch {
Points [0, 50]
DstBlock "Sum1"
DstPort 1
}
}
}
Line {
SrcBlock "Vbeta"
SrcPort 1
Points [40, 0]
Branch {
DstBlock "Gain"
DstPort 1
}
Branch {
Points [0, 60]
DstBlock "Gain1"
DstPort 1
}
}
}
}
Block {
BlockType Outport
Name "Pulses"
Position [930, 243, 960, 257]
}
Line {
SrcBlock "Constant"
SrcPort 1
Points [0, 0; 5, 0]
Branch {
Points [0, 30; 335, 0; 0, -55]
DstBlock "Subsystem3"
DstPort 6
}
Branch {
Points [0, -55]
DstBlock "XYZ值的计算"
DstPort 3
}
Branch {
Points [95, 0; 0, -25]
DstBlock "Subsystem"
DstPort 7
}
}
Line {
SrcBlock "3/2坐标变换"
SrcPort 1
Points [-5, 0; 15, 0]
Branch {
Labels [1, 0]
Points [0, 215]
DstBlock "参考矢量扇区判断"
DstPort 1
}
Branch {
Points [10, 0]
Branch {
Points [45, 0]
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -