📄 pmsmdtc.mdl
字号:
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "Sum1"
SrcPort 1
Points [35, 0; 0, 75]
DstBlock "Look-Up\nTable (2-D)"
DstPort 1
}
Line {
SrcBlock "Look-Up\nTable (2-D)"
SrcPort 1
DstBlock "MATLAB Fcn"
DstPort 1
}
Line {
SrcBlock "Ground (output)"
SrcPort 1
Points [0, 0]
Branch {
DstBlock "DC Voltage Source"
DstPort 1
}
Branch {
Points [30, 0; 0, -90]
DstBlock "Universal Bridge"
DstPort 2
}
}
Line {
SrcBlock "MATLAB Fcn"
SrcPort 1
Points [0, 0]
Branch {
Points [135, 0; 0, 150; 100, 0]
DstBlock "Universal Bridge"
DstPort 3
}
Branch {
Points [0, -130]
DstBlock "Demux"
DstPort 1
}
}
Line {
SrcBlock "Demux"
SrcPort 1
DstBlock "Sa"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 3
DstBlock "Sb"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 5
DstBlock "Sc"
DstPort 1
}
Line {
SrcBlock "Math\nFunction"
SrcPort 1
DstBlock "Sum3"
DstPort 1
}
Line {
SrcBlock "Math\nFunction1"
SrcPort 1
Points [25, 0]
DstBlock "Sum3"
DstPort 2
}
Line {
SrcBlock "Sum3"
SrcPort 1
Points [15, 0]
DstBlock "Math\nFunction2"
DstPort 1
}
Line {
SrcBlock "Math\nFunction2"
SrcPort 1
DstBlock "Sum4"
DstPort 2
}
Line {
SrcBlock "Demux"
SrcPort 4
Points [40, 0]
DstBlock "Scope1"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 6
Points [20, 0; 0, 15]
DstBlock "Scope2"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 2
DstBlock "Scope"
DstPort 1
}
Annotation {
Name "磁链差"
Position [203, 26]
}
Annotation {
Name "转矩差"
Position [191, 198]
}
Annotation {
Name "S"
Position [432, 143]
}
}
}
Block {
BlockType SubSystem
Name "section"
Ports [1, 1]
Position [525, 359, 585, 401]
TreatAsAtomicUnit off
System {
Name "section"
Location [127, 209, 642, 468]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "delta"
Position [25, 168, 55, 182]
}
Block {
BlockType Constant
Name "Constant"
Position [30, 126, 45, 144]
Value "5"
}
Block {
BlockType Constant
Name "Constant1"
Position [150, 95, 170, 115]
Orientation "left"
NamePlacement "alternate"
Value "4"
ShowAdditionalParam on
}
Block {
BlockType Constant
Name "Constant2"
Position [210, 95, 230, 115]
Orientation "left"
NamePlacement "alternate"
Value "3"
}
Block {
BlockType Constant
Name "Constant3"
Position [275, 95, 295, 115]
Orientation "left"
NamePlacement "alternate"
Value "2"
}
Block {
BlockType Constant
Name "Constant4"
Position [335, 100, 355, 120]
Orientation "left"
NamePlacement "alternate"
}
Block {
BlockType Constant
Name "Constant5"
Position [335, 215, 355, 235]
Orientation "left"
NamePlacement "alternate"
Value "6"
ShowAdditionalParam on
}
Block {
BlockType MinMax
Name "MinMax"
Ports [5, 1]
Position [390, 26, 420, 124]
Function "max"
Inputs "5"
}
Block {
BlockType Switch
Name "Switch0"
Position [90, 126, 110, 184]
Threshold "7*pi/6"
InputSameDT off
}
Block {
BlockType Switch
Name "Switch1"
Position [150, 126, 170, 184]
Threshold "5*pi/6"
InputSameDT off
}
Block {
BlockType Switch
Name "Switch2"
Position [210, 126, 230, 184]
Threshold "pi/2"
InputSameDT off
}
Block {
BlockType Switch
Name "Switch3"
Position [275, 126, 295, 184]
Threshold "pi/6"
InputSameDT off
}
Block {
BlockType Switch
Name "Switch4"
Position [335, 126, 355, 184]
Threshold "-pi/6"
InputSameDT off
}
Block {
BlockType Outport
Name "section"
Position [460, 68, 490, 82]
}
Line {
SrcBlock "delta"
SrcPort 1
Points [0, 0; 5, 0]
Branch {
Points [0, -20]
DstBlock "Switch0"
DstPort 2
}
Branch {
DstBlock "Switch0"
DstPort 3
}
}
Line {
SrcBlock "Constant"
SrcPort 1
DstBlock "Switch0"
DstPort 1
}
Line {
SrcBlock "Switch0"
SrcPort 1
Points [0, 0; 10, 0]
Branch {
DstBlock "Switch1"
DstPort 2
}
Branch {
Points [0, 20]
DstBlock "Switch1"
DstPort 3
}
Branch {
Points [0, -120]
DstBlock "MinMax"
DstPort 1
}
}
Line {
SrcBlock "Switch1"
SrcPort 1
Points [0, 0; 5, 0]
Branch {
DstBlock "Switch2"
DstPort 2
}
Branch {
Points [0, 20]
DstBlock "Switch2"
DstPort 3
}
Branch {
Points [0, -100]
DstBlock "MinMax"
DstPort 2
}
}
Line {
SrcBlock "Switch2"
SrcPort 1
Points [0, 0; 5, 0]
Branch {
Points [0, -80]
DstBlock "MinMax"
DstPort 3
}
Branch {
DstBlock "Switch3"
DstPort 2
}
Branch {
Points [0, 20]
DstBlock "Switch3"
DstPort 3
}
}
Line {
SrcBlock "Switch4"
SrcPort 1
Points [10, 0; 0, -40]
DstBlock "MinMax"
DstPort 5
}
Line {
SrcBlock "Constant1"
SrcPort 1
Points [-10, 0]
DstBlock "Switch1"
DstPort 1
}
Line {
SrcBlock "Constant2"
SrcPort 1
Points [-15, 0; 0, 30]
DstBlock "Switch2"
DstPort 1
}
Line {
SrcBlock "Constant3"
SrcPort 1
Points [-10, 0]
DstBlock "Switch3"
DstPort 1
}
Line {
SrcBlock "Constant4"
SrcPort 1
Points [-10, 0]
DstBlock "Switch4"
DstPort 1
}
Line {
SrcBlock "MinMax"
SrcPort 1
DstBlock "section"
DstPort 1
}
Line {
SrcBlock "Constant5"
SrcPort 1
Points [-15, 0; 0, -50]
DstBlock "Switch4"
DstPort 3
}
Line {
SrcBlock "Switch3"
SrcPort 1
Points [0, 0; 5, 0]
Branch {
DstBlock "Switch4"
DstPort 2
}
Branch {
Points [0, -60]
DstBlock "MinMax"
DstPort 4
}
}
}
}
Block {
BlockType Constant
Name "给定"
Position [835, 295, 865, 315]
Orientation "left"
}
Block {
BlockType Constant
Name "极对数"
Position [425, 271, 445, 289]
Value "2"
}
Block {
BlockType Constant
Name "转速给定"
Position [420, 450, 450, 470]
Value "80"
}
Line {
SrcBlock "3/2current"
SrcPort 2
Points [0, 0; 20, 0]
Branch {
DstBlock "flux"
DstPort 2
}
Branch {
Points [0, -100]
DstBlock "Te"
DstPort 2
}
}
Line {
SrcBlock "3/2current"
SrcPort 1
Points [0, 0; 5, 0]
Branch {
DstBlock "flux"
DstPort 1
}
Branch {
Points [0, -80]
DstBlock "Te"
DstPort 1
}
}
Line {
SrcBlock "flux"
SrcPort 2
Points [0, 0; 25, 0]
Branch {
Points [10, 0]
Branch {
DstBlock "delta"
DstPort 2
}
Branch {
Points [0, -85]
Branch {
Points [0, -70]
DstBlock "Te"
DstPort 4
}
Branch {
Points [140, 0; 0, -75]
DstBlock "inventer"
DstPort 3
}
}
}
Branch {
Points [0, 215]
DstBlock "XY Graph"
DstPort 2
}
}
Line {
SrcBlock "flux"
SrcPort 1
Points [0, 0; 5, 0]
Branch {
Points [20, 0]
Branch {
Points [0, -50]
DstBlock "Te"
DstPort 3
}
Branch {
Points [0, 100]
DstBlock "delta"
DstPort 1
}
}
Branch {
Points [0, 70]
Branch {
Points [0, 270]
DstBlock "XY Graph"
DstPort 1
}
Branch {
Points [200, 0; 0, -60]
DstBlock "inventer"
DstPort 4
}
}
}
Line {
SrcBlock "PI"
SrcPort 1
Points [30, 0; 0, -130]
DstBlock "inventer"
DstPort 6
}
Line {
SrcBlock "delta"
SrcPort 1
DstBlock "section"
DstPort 1
}
Line {
SrcBlock "section"
SrcPort 1
Points [10, 0; 0, -80]
DstBlock "inventer"
DstPort 5
}
Line {
SrcBlock "转速给定"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "PI"
DstPort 1
}
Line {
SrcBlock "inventer"
SrcPort 1
Points [0, 5]
DstBlock "Permanent Magnet\nSynchronous Machine"
DstPort 1
}
Line {
SrcBlock "F给定"
SrcPort 1
Points [0, -5]
DstBlock "inventer"
DstPort 1
}
Line {
SrcBlock "Permanent Magnet\nSynchronous Machine"
SrcPort 1
DstBlock "Machines\nMeasurement\nDemux"
DstPort 1
}
Line {
SrcBlock "Gain"
SrcPort 1
Points [-345, 0]
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "Machines\nMeasurement\nDemux"
SrcPort 2
Points [0, 5; 20, 0; 0, 220; -125, 0]
DstBlock "Gain"
DstPort 1
}
Line {
SrcBlock "Machines\nMeasurement\nDemux"
SrcPort 4
Points [0, 160]
DstBlock "Te1"
DstPort 1
}
Line {
SrcBlock "Machines\nMeasurement\nDemux"
SrcPort 1
Points [0, -95]
DstBlock "Demux"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 3
Points [-455, 0]
DstBlock "3/2current"
DstPort 3
}
Line {
SrcBlock "Demux"
SrcPort 2
Points [-475, 0; 0, 155]
DstBlock "3/2current"
DstPort 2
}
Line {
SrcBlock "Demux"
SrcPort 1
Points [-495, 0; 0, 140]
DstBlock "3/2current"
DstPort 1
}
Line {
SrcBlock "给定"
SrcPort 1
Points [-35, 0]
DstBlock "Permanent Magnet\nSynchronous Machine"
DstPort 4
}
Line {
SrcBlock "极对数"
SrcPort 1
DstBlock "Te"
DstPort 5
}
Line {
SrcBlock "Udc"
SrcPort 1
DstBlock "3/2voltage"
DstPort 1
}
Line {
SrcBlock "Constant"
SrcPort 1
DstBlock "flux"
DstPort 5
}
Line {
SrcBlock "3/2voltage"
SrcPort 1
DstBlock "flux"
DstPort 3
}
Line {
SrcBlock "3/2voltage"
SrcPort 2
DstBlock "flux"
DstPort 4
}
Line {
SrcBlock "inventer"
SrcPort 3
Points [0, -15]
DstBlock "Permanent Magnet\nSynchronous Machine"
DstPort 3
}
Line {
SrcBlock "inventer"
SrcPort 2
Points [40, 0]
DstBlock "Permanent Magnet\nSynchronous Machine"
DstPort 2
}
Line {
SrcBlock "inventer"
SrcPort 6
Points [0, 200; -575, 0; 0, -135]
DstBlock "3/2voltage"
DstPort 4
}
Line {
SrcBlock "inventer"
SrcPort 5
Points [15, 0; 0, 250; -600, 0; 0, -180]
DstBlock "3/2voltage"
DstPort 3
}
Line {
SrcBlock "inventer"
SrcPort 4
Points [30, 0; 0, 300; -630, 0; 0, -225]
DstBlock "3/2voltage"
DstPort 2
}
Line {
SrcBlock "Te"
SrcPort 1
DstBlock "inventer"
DstPort 2
}
Annotation {
Name "极对数"
Position [839, 539]
}
Annotation {
Position [896, 466]
}
Annotation {
Name "demux"
Position [645, 125]
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -