📄 dtc.mdl
字号:
BlockType Integrator
Name "Integrator"
Ports [1, 1]
Position [290, 60, 320, 90]
}
Block {
BlockType Integrator
Name "Integrator1"
Ports [1, 1]
Position [300, 125, 330, 155]
}
Block {
BlockType Mux
Name "Mux"
Ports [2, 1]
Position [375, 71, 380, 109]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [165, 73, 195, 137]
ShowName off
Inputs "|+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Outport
Name "phis_qd"
Position [450, 83, 480, 97]
}
Line {
SrcBlock "Vs_qd"
SrcPort 1
Points [20, 0; 0, 35]
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "is_qd"
SrcPort 1
DstBlock "Gain"
DstPort 1
}
Line {
SrcBlock "Gain"
SrcPort 1
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Demux"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 1
Points [15, 0; 0, -20]
DstBlock "Integrator"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 2
Points [15, 0; 0, 25]
DstBlock "Integrator1"
DstPort 1
}
Line {
SrcBlock "Integrator"
SrcPort 1
Points [15, 0; 0, 5]
DstBlock "Mux"
DstPort 1
}
Line {
SrcBlock "Integrator1"
SrcPort 1
Points [10, 0; 0, -40]
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "phis_qd"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "torque"
Ports [2, 1]
Position [255, 259, 355, 301]
TreatAsAtomicUnit off
System {
Name "torque"
Location [417, 380, 915, 680]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "phis_qd"
Position [45, 48, 75, 62]
}
Block {
BlockType Inport
Name "is_qd"
Position [45, 168, 75, 182]
Port "2"
}
Block {
BlockType Demux
Name "Demux"
Ports [1, 2]
Position [125, 36, 130, 74]
BackgroundColor "black"
ShowName off
Outputs "2"
}
Block {
BlockType Demux
Name "Demux1"
Ports [1, 2]
Position [125, 156, 130, 194]
BackgroundColor "black"
ShowName off
Outputs "2"
}
Block {
BlockType Gain
Name "Gain"
Position [375, 65, 405, 95]
Gain "300"
}
Block {
BlockType Product
Name "Product"
Ports [2, 1]
Position [200, 36, 245, 69]
InputSameDT off
}
Block {
BlockType Product
Name "Product1"
Ports [2, 1]
Position [195, 156, 240, 189]
InputSameDT off
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [300, 47, 325, 123]
ShowName off
Inputs "|+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Outport
Name "Te"
Position [450, 78, 480, 92]
}
Line {
SrcBlock "phis_qd"
SrcPort 1
DstBlock "Demux"
DstPort 1
}
Line {
SrcBlock "is_qd"
SrcPort 1
DstBlock "Demux1"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 1
DstBlock "Product"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 2
Points [35, 0; 0, 115]
DstBlock "Product1"
DstPort 2
}
Line {
SrcBlock "Demux1"
SrcPort 1
Points [0, -5; 45, 0]
DstBlock "Product1"
DstPort 1
}
Line {
SrcBlock "Demux1"
SrcPort 2
Points [15, 0; 0, -105; 30, 0; 0, -20]
DstBlock "Product"
DstPort 2
}
Line {
SrcBlock "Product"
SrcPort 1
Points [15, 0; 0, 25]
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Product1"
SrcPort 1
Points [30, 0; 0, -65]
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Gain"
DstPort 1
}
Line {
SrcBlock "Gain"
SrcPort 1
Points [10, 0; 0, 5]
DstBlock "Te"
DstPort 1
}
}
}
Block {
BlockType Outport
Name "phis_qd"
Position [245, 18, 275, 32]
}
Block {
BlockType Outport
Name "is_qd"
Position [395, 13, 425, 27]
Port "2"
}
Block {
BlockType Outport
Name "ir_qd"
Position [550, 13, 580, 27]
Port "3"
}
Block {
BlockType Outport
Name "phir_qd"
Position [830, 83, 860, 97]
Port "4"
}
Block {
BlockType Outport
Name "Te"
Position [430, 213, 460, 227]
Port "5"
}
Block {
BlockType Outport
Name "wr"
Position [655, 273, 685, 287]
Port "6"
}
Line {
SrcBlock "Vs_qd"
SrcPort 1
Points [20, 0]
DstBlock "stator flux"
DstPort 1
}
Line {
SrcBlock "stator flux"
SrcPort 1
Points [5, 0]
Branch {
Points [0, -65]
DstBlock "phis_qd"
DstPort 1
}
Branch {
Points [10, 0]
Branch {
Points [20, 0]
DstBlock "stator current"
DstPort 1
}
Branch {
Points [0, 180]
DstBlock "torque"
DstPort 1
}
}
}
Line {
SrcBlock "stator current"
SrcPort 1
Points [5, 0]
Branch {
Points [0, -70]
DstBlock "is_qd"
DstPort 1
}
Branch {
Points [10, 0]
Branch {
Points [20, 0]
DstBlock "rotator current"
DstPort 1
}
Branch {
Points [0, 85; -310, 0]
Branch {
Points [0, -75]
DstBlock "stator flux"
DstPort 2
}
Branch {
Points [0, 115]
DstBlock "torque"
DstPort 2
}
}
}
}
Line {
SrcBlock "rotator current"
SrcPort 1
Points [5, 0]
Branch {
Points [0, -70]
DstBlock "ir_qd"
DstPort 1
}
Branch {
Points [15, 0]
Branch {
DstBlock "Demux"
DstPort 1
}
Branch {
Points [0, 105; -295, 0]
DstBlock "stator current"
DstPort 2
}
}
}
Line {
SrcBlock "Demux"
SrcPort 1
DstBlock "rotator flux"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 2
DstBlock "rotator flux"
DstPort 2
}
Line {
SrcBlock "rotator flux"
SrcPort 1
Points [0, -5]
DstBlock "Mux"
DstPort 1
}
Line {
SrcBlock "rotator flux"
SrcPort 2
Points [0, -15]
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "Mux"
SrcPort 1
Points [15, 0]
Branch {
DstBlock "phir_qd"
DstPort 1
}
Branch {
Points [0, 75; -390, 0]
DstBlock "rotator current"
DstPort 2
}
}
Line {
SrcBlock "torque"
SrcPort 1
Points [25, 0]
Branch {
Points [70, 0]
DstBlock "dynamics"
DstPort 1
}
Branch {
Points [0, -60]
DstBlock "Te"
DstPort 1
}
}
Line {
SrcBlock "Ti"
SrcPort 1
Points [10, 0; 0, -20]
DstBlock "dynamics"
DstPort 2
}
Line {
SrcBlock "dynamics"
SrcPort 1
Points [20, 0]
Branch {
DstBlock "wr"
DstPort 1
}
Branch {
Points [0, -160]
DstBlock "rotator flux"
DstPort 3
}
}
}
}
Block {
BlockType Constant
Name "Constant"
Position [70, 495, 100, 525]
Value "380"
}
Block {
BlockType Constant
Name "Constant2"
Position [235, 580, 265, 610]
Value "100"
}
Block {
BlockType SubSystem
Name "DTC controller"
Ports [4, 2]
Position [605, 123, 725, 277]
TreatAsAtomicUnit off
System {
Name "DTC controller"
Location [398, 381, 969, 711]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "phis_qd"
Position [90, 218, 120, 232]
}
Block {
BlockType Inport
Name "Te"
Position [200, 113, 230, 127]
Port "2"
}
Block {
BlockType Inport
Name "wr"
Position [25, 63, 55, 77]
Port "3"
}
Block {
BlockType Inport
Name "wref"
Position [25, 103, 55, 117]
Port "4"
}
Block {
BlockType SubSystem
Name "Amp SS"
Ports [1, 2]
Position [200, 193, 270, 257]
TreatAsAtomicUnit off
System {
Name "Amp SS"
Location [246, 266, 744, 566]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "phis_qd"
Position [30, 108, 60, 122]
}
Block {
BlockType Demux
Name "Demux"
Ports [1, 2]
Position [115, 136, 120, 174]
BackgroundColor "black"
ShowName off
Outputs "2"
}
Block {
BlockType Fcn
Name "Fcn"
Position [185, 44, 240, 76]
NamePlacement "alternate"
Expr "sqrt(u(1)^2+u(2)^2)"
}
Block {
BlockType Mux
Name "Mux"
Ports [2, 1]
Position [155, 136, 160, 174]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType "S-Function"
Name "S-Function"
Ports [1, 1]
Position [195, 138, 285, 172]
FunctionName "FluxAreaDetector"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -