📄 pmsm_motor_model_220708.mdl
字号:
Position [30, 248, 90, 282]
FontName "Arial"
FontSize 16
FontWeight "bold"
Port "3"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Gain
Name "1/Lq"
Position [250, 120, 355, 170]
FontName "Arial"
FontSize 16
FontWeight "bold"
Gain "1/Lq"
}
Block {
BlockType Integrator
Name "Integrator"
Ports [1, 1]
Position [705, 149, 745, 191]
FontName "Arial"
FontSize 16
FontWeight "bold"
}
Block {
BlockType Gain
Name "Lamda_PM/Lq"
Position [260, 380, 420, 460]
FontName "Arial"
FontSize 16
FontWeight "bold"
Gain "PM_Flux/Lq"
}
Block {
BlockType Gain
Name "Ld/Lq"
Position [330, 243, 420, 307]
FontName "Arial"
FontSize 16
FontWeight "bold"
Gain "Ld/Lq"
}
Block {
BlockType Product
Name "Product2"
Ports [2, 1]
Position [230, 256, 270, 294]
FontName "Arial"
FontSize 16
FontWeight "bold"
RndMeth "Floor"
}
Block {
BlockType Gain
Name "Rs/Lq"
Position [625, 306, 750, 364]
Orientation "left"
NamePlacement "alternate"
FontName "Arial"
FontSize 16
FontWeight "bold"
Gain "Rs/Lq"
}
Block {
BlockType Sum
Name "Sum2"
Ports [4, 1]
Position [595, 133, 635, 202]
FontName "Arial"
FontSize 16
FontWeight "bold"
Inputs "+---"
}
Block {
BlockType ToWorkspace
Name "To Workspace"
Position [880, 69, 940, 111]
FontName "Arial"
FontSize 16
FontWeight "bold"
VariableName "iq"
MaxDataPoints "inf"
SampleTime "-1"
SaveFormat "Array"
}
Block {
BlockType ToWorkspace
Name "To Workspace1"
Position [65, 47, 125, 83]
Orientation "left"
NamePlacement "alternate"
FontName "Arial"
FontSize 16
FontWeight "bold"
VariableName "Vq"
MaxDataPoints "inf"
SampleTime "-1"
SaveFormat "Array"
}
Block {
BlockType Outport
Name "iq"
Position [905, 156, 955, 184]
FontName "Arial"
FontSize 16
FontWeight "bold"
IconDisplay "Port number"
BusOutputAsStruct off
InitialOutput "0"
}
Line {
SrcBlock "vq"
SrcPort 1
Points [90, 0]
Branch {
DstBlock "1/Lq"
DstPort 1
}
Branch {
Points [0, -80]
DstBlock "To Workspace1"
DstPort 1
}
}
Line {
SrcBlock "1/Lq"
SrcPort 1
DstBlock "Sum2"
DstPort 1
}
Line {
SrcBlock "Sum2"
SrcPort 1
DstBlock "Integrator"
DstPort 1
}
Line {
SrcBlock "Integrator"
SrcPort 1
Points [10, 0; 75, 0]
Branch {
Points [0, 165]
DstBlock "Rs/Lq"
DstPort 1
}
Branch {
DstBlock "iq"
DstPort 1
}
Branch {
Points [0, -80]
DstBlock "To Workspace"
DstPort 1
}
}
Line {
SrcBlock "Rs/Lq"
SrcPort 1
Points [-75, 0; 0, -145]
DstBlock "Sum2"
DstPort 4
}
Line {
SrcBlock "we"
SrcPort 1
Points [0, 0; 85, 0]
Branch {
Points [0, 70]
DstBlock "Lamda_PM/Lq"
DstPort 1
}
Branch {
Points [0, -65]
DstBlock "Product2"
DstPort 2
}
}
Line {
SrcBlock "Product2"
SrcPort 1
DstBlock "Ld/Lq"
DstPort 1
}
Line {
SrcBlock "id"
SrcPort 1
DstBlock "Product2"
DstPort 1
}
Line {
SrcBlock "Ld/Lq"
SrcPort 1
Points [45, 0; 0, -115]
DstBlock "Sum2"
DstPort 2
}
Line {
SrcBlock "Lamda_PM/Lq"
SrcPort 1
Points [85, 0; 0, -245]
DstBlock "Sum2"
DstPort 3
}
Annotation {
Name "q-axis Circuit Model of the PMSM Mo"
"tor"
Position [503, 553]
BackgroundColor "orange"
FontName "Arial"
FontSize 24
FontWeight "bold"
}
}
}
Block {
BlockType Outport
Name "id"
Position [680, 96, 740, 124]
FontName "Arial"
FontSize 16
FontWeight "bold"
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "iq"
Position [685, 335, 745, 365]
FontName "Arial"
FontSize 16
FontWeight "bold"
Port "2"
IconDisplay "Port number"
BusOutputAsStruct off
InitialOutput "0"
}
Block {
BlockType Outport
Name "Te"
Position [840, 475, 900, 505]
FontName "Arial"
FontSize 16
FontWeight "bold"
Port "3"
IconDisplay "Port number"
BusOutputAsStruct off
InitialOutput "0"
}
Line {
SrcBlock "Vd"
SrcPort 1
Points [145, 0; 0, 35]
DstBlock "d-axis Circuit Model"
DstPort 1
}
Line {
SrcBlock "we"
SrcPort 1
Points [0, 0; 45, 0]
Branch {
DstBlock "d-axis Circuit Model"
DstPort 2
}
Branch {
Points [0, 240]
DstBlock "q-axis Circuit Model"
DstPort 2
}
}
Line {
SrcBlock "q-axis Circuit Model"
SrcPort 1
Points [0, 0; 115, 0]
Branch {
Points [0, -140; -350, 0; 0, -55]
DstBlock "d-axis Circuit Model"
DstPort 3
}
Branch {
DstBlock "iq"
DstPort 1
}
Branch {
Points [0, 160]
DstBlock "Electro Magnetic Torque \nComputation"
DstPort 2
}
}
Line {
SrcBlock "Vq"
SrcPort 1
DstBlock "q-axis Circuit Model"
DstPort 1
}
Line {
SrcBlock "d-axis Circuit Model"
SrcPort 1
Points [0, 0; 55, 0]
Branch {
Points [0, 135; -290, 0; 0, 150]
DstBlock "q-axis Circuit Model"
DstPort 3
}
Branch {
Points [105, 0]
Branch {
DstBlock "id"
DstPort 1
}
Branch {
Points [0, 360]
DstBlock "Electro Magnetic Torque \nComputati"
"on"
DstPort 1
}
}
}
Line {
SrcBlock "Electro Magnetic Torque \nComputation"
SrcPort 1
DstBlock "Te"
DstPort 1
}
Annotation {
Name "d-q Model of the PMSM Motor"
Position [348, 588]
BackgroundColor "orange"
FontName "Arial"
FontSize 24
FontWeight "bold"
}
}
}
Block {
BlockType Reference
Name "dq0_to_abc\nTransformation"
Ports [2, 1]
Position [955, 133, 1070, 217]
BackgroundColor "lightBlue"
NamePlacement "alternate"
FontName "Arial"
FontSize 16
FontWeight "bold"
SourceBlock "powerlib_extras/Measurements/dq0_to_abc\nTr"
"ansformation"
SourceType "dq0 to abc Transformation"
ShowPortLabels on
}
Block {
BlockType Outport
Name "iabc"
Position [1160, 155, 1235, 195]
FontName "Arial"
FontSize 16
FontWeight "bold"
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "Te"
Position [1155, 405, 1230, 445]
FontName "Arial"
FontSize 16
FontWeight "bold"
Port "2"
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "We"
Position [1150, 510, 1225, 550]
FontName "Arial"
FontSize 16
FontWeight "bold"
Port "3"
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "Wmech"
Position [1150, 670, 1225, 710]
FontName "Arial"
FontSize 16
FontWeight "bold"
Port "4"
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "abc_to_dq0\nTransformation"
SrcPort 1
DstBlock "Demux"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 3
DstBlock "Terminator"
DstPort 1
}
Line {
SrcBlock "V0 = 0"
SrcPort 1
DstBlock "Mux4"
DstPort 3
}
Line {
SrcBlock "Mux4"
SrcPort 1
DstBlock "dq0_to_abc\nTransformation"
DstPort 1
}
Line {
SrcBlock "AC Supply to\nStator"
SrcPort 1
DstBlock "abc_to_dq0\nTransformation"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 1
DstBlock "d-q Model of PMSM"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 2
DstBlock "d-q Model of PMSM"
DstPort 2
}
Line {
SrcBlock "d-q Model of PMSM"
SrcPort 1
DstBlock "Mux4"
DstPort 1
}
Line {
SrcBlock "d-q Model of PMSM"
SrcPort 2
DstBlock "Mux4"
DstPort 2
}
Line {
SrcBlock "Sin(Theta)_Cos(Theta) \nComputation"
SrcPort 1
Points [-50, 0; 0, -130]
Branch {
Points [0, -165]
DstBlock "abc_to_dq0\nTransformation"
DstPort 2
}
Branch {
Points [675, 0; 0, -145]
DstBlock "dq0_to_abc\nTransformation"
DstPort 2
}
}
Line {
SrcBlock "PMSM Motor\n Mechanics"
SrcPort 2
DstBlock "Sin(Theta)_Cos(Theta) \nComputation"
DstPort 1
}
Line {
SrcBlock "PMSM Motor\n Mechanics"
SrcPort 1
Points [0, 0; -60, 0]
Branch {
Points [-355, 0; 0, 250; 850, 0; 0, -125]
DstBlock "We"
DstPort 1
}
Branch {
Points [0, -200]
DstBlock "d-q Model of PMSM"
DstPort 3
}
}
Line {
SrcBlock "d-q Model of PMSM"
SrcPort 3
Points [60, 0; 0, 220]
Branch {
DstBlock "PMSM Motor\n Mechanics"
DstPort 1
}
Branch {
DstBlock "Te"
DstPort 1
}
}
Line {
SrcBlock "Mechanical\n Load Torque Step"
SrcPort 1
Points [-70, 0; 0, -55]
DstBlock "PMSM Motor\n Mechanics"
DstPort 2
}
Line {
SrcBlock "dq0_to_abc\nTransformation"
SrcPort 1
DstBlock "iabc"
DstPort 1
}
Line {
SrcBlock "Va"
SrcPort 1
Points [10, 0; 0, 80]
DstBlock "AC Supply to\nStator"
DstPort 1
}
Line {
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -