📄 dtcpm20.mdl
字号:
Position [115, 181, 135, 199]
Orientation "left"
Value "5"
}
Block {
BlockType Constant
Name "Constant8"
Position [280, 176, 300, 194]
Orientation "left"
Value "3"
}
Block {
BlockType Constant
Name "Constant9"
Position [335, 191, 350, 209]
Orientation "left"
Value "2"
}
Block {
BlockType Display
Name "Display"
Ports [1]
Position [790, 305, 880, 335]
Decimation "1"
}
Block {
BlockType MinMax
Name "MinMax1"
Ports [5, 1]
Position [660, 131, 680, 319]
Function "max"
Inputs "5"
}
Block {
BlockType Switch
Name "Switch10"
Position [345, 215, 365, 265]
Threshold "pi/6"
InputSameDT off
}
Block {
BlockType Switch
Name "Switch6"
Position [170, 215, 190, 265]
Threshold "7*pi/6"
InputSameDT off
}
Block {
BlockType Switch
Name "Switch7"
Position [220, 215, 240, 265]
Threshold "5*pi/6"
InputSameDT off
}
Block {
BlockType Switch
Name "Switch8"
Position [285, 215, 305, 265]
Threshold "pi/2"
InputSameDT off
}
Block {
BlockType Switch
Name "Switch9"
Position [535, 274, 555, 336]
Threshold "(-1)*pi/6"
InputSameDT off
}
Block {
BlockType Outport
Name "Range"
Position [735, 218, 765, 232]
}
Line {
SrcBlock "Angle"
SrcPort 1
Points [35, 0]
Branch {
DstBlock "Switch6"
DstPort 3
}
Branch {
Points [0, -15]
DstBlock "Switch6"
DstPort 2
}
}
Line {
SrcBlock "Switch6"
SrcPort 1
Points [0, 0; 5, 0]
Branch {
DstBlock "Switch7"
DstPort 2
}
Branch {
Points [0, 15]
DstBlock "Switch7"
DstPort 3
}
Branch {
Points [0, -100; 445, 0]
DstBlock "MinMax1"
DstPort 1
}
}
Line {
SrcBlock "Switch7"
SrcPort 1
Points [0, 0; 10, 0]
Branch {
DstBlock "Switch8"
DstPort 2
}
Branch {
Points [0, 15]
DstBlock "Switch8"
DstPort 3
}
Branch {
Points [0, -85; 195, 0; 0, 20; 195, 0]
DstBlock "MinMax1"
DstPort 2
}
}
Line {
SrcBlock "Switch8"
SrcPort 1
Points [0, 0; 5, 0]
Branch {
DstBlock "Switch10"
DstPort 2
}
Branch {
Points [0, 15]
DstBlock "Switch10"
DstPort 3
}
Branch {
Points [0, -60; 155, 0; 0, 45]
DstBlock "MinMax1"
DstPort 3
}
}
Line {
SrcBlock "Constant12"
SrcPort 1
Points [10, 0]
DstBlock "Switch9"
DstPort 3
}
Line {
SrcBlock "Switch10"
SrcPort 1
Points [0, 0; 10, 0]
Branch {
Points [0, -5; 80, 0; 0, 5; 170, 0; 0, 5; 15, 0]
DstBlock "MinMax1"
DstPort 4
}
Branch {
Points [0, 65]
DstBlock "Switch9"
DstPort 2
}
}
Line {
SrcBlock "Constant13"
SrcPort 1
Points [0, 10]
DstBlock "Switch9"
DstPort 1
}
Line {
SrcBlock "Constant9"
SrcPort 1
Points [-5, 0; 0, 25]
DstBlock "Switch10"
DstPort 1
}
Line {
SrcBlock "Constant8"
SrcPort 1
Points [-15, 0; 0, 40]
DstBlock "Switch8"
DstPort 1
}
Line {
SrcBlock "Constant11"
SrcPort 1
Points [-5, 0]
DstBlock "Switch7"
DstPort 1
}
Line {
SrcBlock "Constant14"
SrcPort 1
Points [-10, 0; 0, 35]
DstBlock "Switch6"
DstPort 1
}
Line {
SrcBlock "MinMax1"
SrcPort 1
Points [20, 0]
Branch {
DstBlock "Range"
DstPort 1
}
Branch {
Points [0, 95]
DstBlock "Display"
DstPort 1
}
}
Line {
SrcBlock "Switch9"
SrcPort 1
Points [40, 0; 0, -10]
DstBlock "MinMax1"
DstPort 5
}
}
}
Block {
BlockType SubSystem
Name "Stator flux linkage \nestimation model"
Ports [5, 2]
Position [190, 173, 270, 247]
BackgroundColor "yellow"
TreatAsAtomicUnit off
System {
Name "Stator flux linkage \nestimation model"
Location [179, 255, 812, 588]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "I_Alpha"
Position [105, 93, 135, 107]
}
Block {
BlockType Inport
Name "I_Belta"
Position [105, 228, 135, 242]
Port "2"
}
Block {
BlockType Inport
Name "U_Alpha"
Position [105, 63, 135, 77]
Port "3"
}
Block {
BlockType Inport
Name "U_Blta"
Position [105, 258, 135, 272]
Port "4"
}
Block {
BlockType Inport
Name "Rs"
Position [100, 153, 130, 167]
Port "5"
}
Block {
BlockType Display
Name "Display"
Ports [1]
Position [495, 145, 585, 175]
Decimation "1"
}
Block {
BlockType Display
Name "Display1"
Ports [1]
Position [515, 270, 605, 300]
Decimation "1"
}
Block {
BlockType Integrator
Name "Integrator"
Ports [1, 1]
Position [390, 75, 420, 105]
InitialCondition "0.001"
}
Block {
BlockType Integrator
Name "Integrator1"
Ports [1, 1]
Position [400, 225, 430, 255]
InitialCondition "0.001"
}
Block {
BlockType Product
Name "Product"
Ports [2, 1]
Position [210, 199, 235, 246]
InputSameDT off
}
Block {
BlockType Product
Name "Product1"
Ports [2, 1]
Position [210, 88, 235, 137]
InputSameDT off
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [305, 51, 325, 129]
ShowName off
Inputs "|+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [310, 202, 330, 278]
ShowName off
Inputs "-+"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Outport
Name "Phim_A"
Position [485, 83, 515, 97]
}
Block {
BlockType Outport
Name "Phim_B"
Position [490, 228, 520, 242]
Port "2"
}
Line {
SrcBlock "U_Alpha"
SrcPort 1
Points [150, 0]
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Product1"
SrcPort 1
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "Product"
SrcPort 1
Points [0, -5]
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "U_Blta"
SrcPort 1
Points [155, 0]
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "I_Belta"
SrcPort 1
DstBlock "Product"
DstPort 2
}
Line {
SrcBlock "Rs"
SrcPort 1
Points [0, 0; 15, 0]
Branch {
Points [0, -35]
DstBlock "Product1"
DstPort 2
}
Branch {
Points [0, 50]
DstBlock "Product"
DstPort 1
}
}
Line {
SrcBlock "I_Alpha"
SrcPort 1
DstBlock "Product1"
DstPort 1
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Integrator"
DstPort 1
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "Integrator1"
DstPort 1
}
Line {
SrcBlock "Integrator1"
SrcPort 1
Points [0, -5; 25, 0]
Branch {
DstBlock "Phim_B"
DstPort 1
}
Branch {
Points [0, 50]
DstBlock "Display1"
DstPort 1
}
}
Line {
SrcBlock "Integrator"
SrcPort 1
Points [25, 0]
Branch {
DstBlock "Phim_A"
DstPort 1
}
Branch {
Points [0, 70]
DstBlock "Display"
DstPort 1
}
}
}
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [240, 295, 260, 315]
ShowName off
IconShape "round"
Inputs "|+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Goto
Name "Te"
Position [815, 255, 855, 285]
GotoTag "Te"
TagVisibility "global"
}
Block {
BlockType Scope
Name "Te1"
Ports [1]
Position [900, 289, 930, 321]
Location [212, 164, 796, 665]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
YMin "-5.5125"
YMax "-5.465"
SaveName "ScopeData4"
DataFormat "StructureWithTime"
}
Block {
BlockType SubSystem
Name "Torque estimation\n model"
Ports [5, 1]
Position [385, 73, 445, 187]
BackgroundColor "orange"
TreatAsAtomicUnit off
System {
Name "Torque estimation\n model"
Location [472, 199, 987, 499]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "I_Alpha"
Position [50, 148, 80, 162]
}
Block {
BlockType Inport
Name "I_Belta"
Position [55, 93, 85, 107]
Port "2"
}
Block {
BlockType Inport
Name "Phim_A"
Position [45, 53, 75, 67]
Port "3"
}
Block {
BlockType Inport
Name "Phim_B"
Position [40, 198, 70, 212]
Port "4"
}
Block {
BlockType Inport
Name "P"
Position [275, 133, 305, 147]
Port "5"
}
Block {
BlockType Display
Name "Display"
Ports [1]
Position [420, 245, 510, 275]
Decimation "1"
}
Block {
BlockType Gain
Name "Gain"
Position [280, 90, 310, 120]
Gain "1.5"
}
Block {
BlockType Product
Name "Product"
Ports [2, 1]
Position [130, 39, 155, 121]
ShowAdditionalParam on
InputSameDT off
}
Block {
BlockType Product
Name "Product1"
Ports [2, 1]
Position [125, 132, 155, 228]
InputSameDT off
}
Block {
BlockType Product
Name "Product2"
Ports [2, 1]
Position [355, 93, 380, 157]
ShowAdditionalParam on
InputSameDT off
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [205, 47, 230, 163]
ShowName off
Inputs "|+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Outport
Name "T_A"
Position [435, 113, 465, 127]
}
Line {
SrcBlock "I_Belta"
SrcPort 1
DstBlock "Product"
DstPort 2
}
Line {
SrcBlock "I_Alpha"
SrcPort 1
DstBlock "Product1"
DstPort 1
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -