📄 pmsm.mdl
字号:
Points [100, 0; 0, -10]
DstBlock "Product1"
DstPort 2
}
Branch {
Points [0, 170]
DstBlock "Product4"
DstPort 2
}
}
Line {
SrcBlock "Product2"
SrcPort 1
Points [30, 0; 0, -40]
DstBlock "Sum"
DstPort 3
}
Line {
SrcBlock "Uc"
SrcPort 1
Points [0, 0; 20, 0]
Branch {
DstBlock "Product2"
DstPort 2
}
Branch {
Points [0, 185]
DstBlock "Product5"
DstPort 2
}
}
Line {
SrcBlock "Fcn2"
SrcPort 1
Points [15, 0; 0, 10]
DstBlock "Product2"
DstPort 1
}
Line {
SrcBlock "Sum1"
SrcPort 1
Points [15, 0; 0, -55]
DstBlock "Uq"
DstPort 1
}
Line {
SrcBlock "Product3"
SrcPort 1
Points [35, 0; 0, -25]
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "Fcn3"
SrcPort 1
Points [10, 0; 0, 10]
DstBlock "Product3"
DstPort 1
}
Line {
SrcBlock "Fcn4"
SrcPort 1
Points [10, 0; 0, 5]
DstBlock "Product4"
DstPort 1
}
Line {
SrcBlock "Fcn5"
SrcPort 1
Points [10, 0; 0, 10]
DstBlock "Product5"
DstPort 1
}
}
}
Block {
BlockType Constant
Name "3/2P"
Position [315, 320, 345, 350]
Value "3"
}
Block {
BlockType Gain
Name "B"
Position [565, 365, 595, 395]
Gain "0"
}
Block {
BlockType Integrator
Name "Integrator"
Ports [1, 1]
Position [790, 355, 820, 385]
}
Block {
BlockType Integrator
Name "Integrator1"
Ports [1, 1]
Position [655, 235, 685, 265]
Orientation "left"
}
Block {
BlockType Gain
Name "Ld-Lq"
Position [485, 250, 515, 280]
Gain "0"
}
Block {
BlockType Mux
Name "Mux"
Ports [3, 1]
Position [595, 71, 600, 109]
ShowName off
Inputs "3"
DisplayOption "bar"
}
Block {
BlockType Product
Name "Product"
Ports [2, 1]
Position [415, 245, 460, 280]
InputSameDT off
}
Block {
BlockType Product
Name "Product1"
Ports [2, 1]
Position [400, 310, 445, 345]
InputSameDT off
}
Block {
BlockType SubSystem
Name "Subsystem2"
Ports [4, 3]
Position [75, 41, 135, 134]
TreatAsAtomicUnit off
System {
Name "Subsystem2"
Location [82, 417, 507, 586]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "Sa"
Position [50, 33, 80, 47]
}
Block {
BlockType Inport
Name "Sb"
Position [50, 58, 80, 72]
Port "2"
}
Block {
BlockType Inport
Name "Sc"
Position [50, 83, 80, 97]
Port "3"
}
Block {
BlockType Inport
Name "Udc"
Position [25, 113, 55, 127]
Port "4"
}
Block {
BlockType Demux
Name "Demux"
Ports [1, 3]
Position [315, 71, 320, 129]
BackgroundColor "black"
ShowName off
Outputs "3"
}
Block {
BlockType Gain
Name "Gain1"
Position [90, 105, 120, 135]
Gain "1/3"
}
Block {
BlockType Gain
Name "Matrix\nGain"
Position [155, 50, 185, 80]
Gain "[2 -1 -1;-1 2 -1;-1 -1 2]"
Multiplication "Matrix(K*u)"
}
Block {
BlockType Mux
Name "Mux"
Ports [3, 1]
Position [115, 25, 120, 105]
ShowName off
Inputs "3"
DisplayOption "bar"
}
Block {
BlockType Product
Name "Product1"
Ports [2, 1]
Position [255, 54, 275, 141]
InputSameDT off
}
Block {
BlockType Outport
Name "Ua"
Position [370, 63, 400, 77]
}
Block {
BlockType Outport
Name "Ub"
Position [370, 93, 400, 107]
Port "2"
}
Block {
BlockType Outport
Name "Uc"
Position [370, 128, 400, 142]
Port "3"
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "Matrix\nGain"
DstPort 1
}
Line {
SrcBlock "Matrix\nGain"
SrcPort 1
Points [15, 0; 0, 10]
DstBlock "Product1"
DstPort 1
}
Line {
SrcBlock "Gain1"
SrcPort 1
DstBlock "Product1"
DstPort 2
}
Line {
SrcBlock "Product1"
SrcPort 1
DstBlock "Demux"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 1
Points [15, 0; 0, -10]
DstBlock "Ua"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 2
DstBlock "Ub"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 3
Points [15, 0; 0, 15]
DstBlock "Uc"
DstPort 1
}
Line {
SrcBlock "Sa"
SrcPort 1
DstBlock "Mux"
DstPort 1
}
Line {
SrcBlock "Sb"
SrcPort 1
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "Sc"
SrcPort 1
DstBlock "Mux"
DstPort 3
}
Line {
SrcBlock "Udc"
SrcPort 1
DstBlock "Gain1"
DstPort 1
}
}
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [580, 253, 610, 327]
ShowName off
Inputs "|++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum1"
Ports [3, 1]
Position [685, 334, 715, 406]
ShowName off
Inputs "|+--"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType SubSystem
Name "dq-abc"
Ports [3, 3]
Position [430, 25, 535, 155]
TreatAsAtomicUnit off
System {
Name "dq-abc"
Location [349, 552, 808, 1011]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "Theta"
Position [50, 33, 80, 47]
}
Block {
BlockType Inport
Name "id"
Position [50, 73, 80, 87]
Port "2"
}
Block {
BlockType Inport
Name "iq"
Position [25, 138, 55, 152]
Port "3"
}
Block {
BlockType Fcn
Name "Fcn"
Position [120, 25, 180, 55]
Expr "cos(u)*2/3"
}
Block {
BlockType Fcn
Name "Fcn1"
Position [115, 95, 175, 125]
Expr "sin(u)*2/3"
}
Block {
BlockType Fcn
Name "Fcn2"
Position [110, 150, 170, 180]
Expr "((-cos(u)/2)+(sqrt(3)/2*sin(u)))*(2/3)"
}
Block {
BlockType Fcn
Name "Fcn3"
Position [115, 210, 175, 240]
Expr "((sin(u)/2)+(sqrt(3)/2*cos(u)))*(2/3)"
}
Block {
BlockType Fcn
Name "Fcn4"
Position [120, 270, 180, 300]
Expr "((-cos(u)/2)-(sqrt(3)/2*sin(u)))*(2/3)"
}
Block {
BlockType Fcn
Name "Fcn5"
Position [120, 330, 180, 360]
Expr "((sin(u)/2)-(sqrt(3)/2*cos(u)))*(2/3)"
}
Block {
BlockType Product
Name "Product"
Ports [2, 1]
Position [220, 36, 265, 69]
InputSameDT off
}
Block {
BlockType Product
Name "Product1"
Ports [2, 1]
Position [220, 101, 265, 134]
InputSameDT off
}
Block {
BlockType Product
Name "Product2"
Ports [2, 1]
Position [220, 161, 265, 194]
InputSameDT off
}
Block {
BlockType Product
Name "Product3"
Ports [2, 1]
Position [220, 226, 265, 259]
InputSameDT off
}
Block {
BlockType Product
Name "Product4"
Ports [2, 1]
Position [220, 281, 265, 314]
InputSameDT off
}
Block {
BlockType Product
Name "Product5"
Ports [2, 1]
Position [220, 346, 265, 379]
InputSameDT off
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [345, 69, 370, 131]
ShowName off
Inputs "|+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [340, 194, 365, 256]
ShowName off
Inputs "|++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum2"
Ports [2, 1]
Position [345, 299, 370, 361]
ShowName off
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Outport
Name "ia"
Position [395, 93, 425, 107]
}
Block {
BlockType Outport
Name "ib"
Position [395, 218, 425, 232]
Port "2"
}
Block {
BlockType Outport
Name "ic"
Position [400, 323, 430, 337]
Port "3"
}
Line {
SrcBlock "Fcn"
SrcPort 1
Points [10, 0; 0, 5]
DstBlock "Product"
DstPort 1
}
Line {
SrcBlock "Theta"
SrcPort 1
Points [0, 0; 10, 0]
Branch {
Points [0, 70]
Branch {
Points [0, 55]
Branch {
Points [0, 60]
Branch {
Points [0, 60]
Branch {
Points [0, 60]
DstBlock "Fcn5"
DstPort 1
}
Branch {
DstBlock "Fcn4"
DstPort 1
}
}
Branch {
DstBlock "Fcn3"
DstPort 1
}
}
Branch {
DstBlock "Fcn2"
DstPort 1
}
}
Branch {
DstBlock "Fcn1"
DstPort 1
}
}
Branch {
DstBlock "Fcn"
DstPort 1
}
}
Line {
SrcBlock "id"
SrcPort 1
Points [0, 0; 5, 0]
Branch {
Points [0, 105]
Branch {
Points [0, 120]
DstBlock "Product4"
DstPort 2
}
Branch {
DstBlock "Product2"
DstPort 2
}
}
Branch {
Points [115, 0]
DstBlock "Product"
DstPort 2
}
}
Line {
SrcBlock "Product"
SrcPort 1
Points [30, 0; 0, 45]
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Fcn1"
SrcPort 1
DstBlock "Product1"
DstPort 1
}
Line {
SrcBlock "Product1"
SrcPort 1
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "iq"
SrcPort 1
Points [0, 0; 10, 0]
Branch {
Points [0, 105]
Branch {
DstBlock "Product3"
DstPort 2
}
Branch {
Points [0, 120]
DstBlock "Product5"
DstPort 2
}
}
Branch {
Points [120, 0; 0, -20]
DstBlock "Product1"
DstPort 2
}
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "ia"
DstPort 1
}
Line {
SrcBlock "Fcn2"
SrcPort 1
Points [15, 0; 0, 5]
DstBlock "Product2"
DstPort 1
}
Line {
SrcBlock "Fcn3"
SrcPort 1
Points [0, 10]
DstBlock "Product3"
DstPort 1
}
Line {
SrcBlock "Fcn5"
SrcPort 1
Points [10, 0; 0, 10]
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -