📄 cbldcm_4_1_ok.mdl
字号:
}
Line {
SrcBlock "w2"
SrcPort 1
Points [5, 0; 0, -15]
DstBlock "Sum"
DstPort 2
}
}
}
Block {
BlockType Outport
Name "Ung"
Position [195, 113, 225, 127]
ForegroundColor "blue"
}
Block {
BlockType Outport
Name "ia,ib,ic"
Position [195, 73, 225, 87]
ForegroundColor "blue"
Port "2"
}
Block {
BlockType Outport
Name "ea,eb,ec"
Position [810, 73, 840, 87]
ForegroundColor "blue"
Port "3"
}
Block {
BlockType Outport
Name "Te"
Position [452, 55, 478, 75]
Orientation "up"
ForegroundColor "blue"
Port "4"
}
Block {
BlockType Outport
Name "n1"
Position [750, 173, 780, 187]
ForegroundColor "blue"
Port "5"
}
Block {
BlockType Outport
Name "n2"
Position [750, 218, 780, 232]
ForegroundColor "blue"
Port "6"
}
Block {
BlockType Outport
Name "ea+eb+ec"
Position [195, 153, 225, 167]
ForegroundColor "blue"
Port "7"
}
Block {
BlockType Outport
Name "theta\n"
Position [810, 108, 840, 122]
ForegroundColor "blue"
Port "8"
}
Line {
SrcBlock "Uc"
SrcPort 1
DstBlock "Electrical"
DstPort 3
}
Line {
SrcBlock "Ub"
SrcPort 1
DstBlock "Electrical"
DstPort 2
}
Line {
SrcBlock "Ua"
SrcPort 1
DstBlock "Electrical"
DstPort 1
}
Line {
SrcBlock "TL1"
SrcPort 1
DstBlock "Mechanical"
DstPort 2
}
Line {
SrcBlock "TL2"
SrcPort 1
DstBlock "Mechanical"
DstPort 3
}
Line {
SrcBlock "Electrical"
SrcPort 2
DstBlock "Ung"
DstPort 1
}
Line {
SrcBlock "Electrical"
SrcPort 3
DstBlock "ea+eb+ec"
DstPort 1
}
Line {
SrcBlock "Gain"
SrcPort 1
DstBlock "n1"
DstPort 1
}
Line {
SrcBlock "Gain1"
SrcPort 1
DstBlock "n2"
DstPort 1
}
Line {
SrcBlock "Torque Computing"
SrcPort 1
Points [0, -5; 50, 0]
Branch {
Points [25, 0; 0, -25]
DstBlock "Mechanical"
DstPort 1
}
Branch {
DstBlock "Te"
DstPort 1
}
}
Line {
SrcBlock "Electrical"
SrcPort 1
Points [0, 0]
Branch {
Points [0, 30]
DstBlock "Torque Computing"
DstPort 3
}
Branch {
DstBlock "ia,ib,ic"
DstPort 1
}
}
Line {
SrcBlock "Back EMF"
SrcPort 1
Points [25, 0; 0, 0]
Branch {
DstBlock "ea,eb,ec"
DstPort 1
}
Branch {
Points [0, 215; -490, 0]
Branch {
Points [0, -160]
DstBlock "Torque Computing"
DstPort 4
}
Branch {
Points [-235, 0]
DstBlock "Electrical"
DstPort 4
}
}
}
Line {
SrcBlock "Mechanical"
SrcPort 2
Points [0, 0; 5, 0]
Branch {
Points [40, 0; 0, -30; 15, 0]
Branch {
Points [20, 0]
DstBlock "Back EMF"
DstPort 2
}
Branch {
Points [0, -90; -380, 0; 0, 60]
DstBlock "Torque Computing"
DstPort 2
}
}
Branch {
Points [0, 80]
DstBlock "Gain1"
DstPort 1
}
}
Line {
SrcBlock "Mechanical"
SrcPort 1
Points [0, 0; 20, 0]
Branch {
Points [20, 0]
Branch {
Points [0, -40; -330, 0; 0, 20]
DstBlock "Torque Computing"
DstPort 1
}
Branch {
Points [40, 0]
DstBlock "Back EMF"
DstPort 1
}
}
Branch {
Points [0, 100]
DstBlock "Gain"
DstPort 1
}
}
Line {
SrcBlock "Back EMF"
SrcPort 2
DstBlock "theta\n"
DstPort 1
}
}
}
Block {
BlockType Clock
Name "Clock"
Position [515, 510, 535, 530]
Decimation "10"
}
Block {
BlockType Reference
Name "DC "
Tag "PoWeRsYsTeMbLoCk"
Description "source block"
Ports [1, 1]
Position [60, 265, 80, 300]
Orientation "up"
SourceBlock "powerlib2/Electrical\nSources/DC Voltage Source"
SourceType "DC Voltage Source"
V "290"
mesure "Voltage"
PSBOutputType "1"
}
Block {
BlockType Demux
Name "Demux"
Ports [1, 3]
Position [640, 169, 645, 221]
BackgroundColor "black"
ShowName off
Outputs "3"
}
Block {
BlockType Demux
Name "Demux1"
Ports [1, 3]
Position [655, 244, 660, 296]
BackgroundColor "black"
ShowName off
Outputs "3"
}
Block {
BlockType Demux
Name "Demux2"
Ports [1, 6]
Position [230, 343, 235, 422]
BackgroundColor "black"
ShowName off
Outputs "6"
}
Block {
BlockType Gain
Name "Gain"
Position [675, 375, 705, 405]
Gain "1/3"
}
Block {
BlockType Reference
Name "Ground (output)"
Tag "PoWeRsYsTeMbLoCk"
Ports [0, 1]
Position [54, 325, 86, 355]
Orientation "up"
ShowName off
SourceBlock "powerlib2/Connectors/Ground (output)"
SourceType "Ground"
PSBOutputType "1"
}
Block {
BlockType Integrator
Name "Integrator"
Ports [1, 1]
Position [485, 77, 510, 103]
}
Block {
BlockType Scope
Name "Scope"
Ports [5]
Position [825, 60, 890, 390]
Location [5, 60, 1285, 997]
Open off
NumInputPorts "5"
List {
ListType AxesTitles
axes1 "ea,eb,ec"
axes2 "ia,ib,ic"
axes3 "e3"
axes4 "Usn"
axes5 "Usn的积分"
}
List {
ListType SelectedSignals
axes1 ""
axes2 ""
axes3 ""
axes4 ""
axes5 ""
}
TimeRange "0.1"
YMin "-150~-30~32.5~32.5~-0.00425"
YMax "150~30~40~40~-0.00125"
SaveName "output"
DataFormat "StructureWithTime"
LimitDataPoints off
}
Block {
BlockType Scope
Name "Scope4"
Ports [6]
Position [260, 343, 295, 422]
Location [6, 60, 1030, 741]
Open off
NumInputPorts "6"
List {
ListType AxesTitles
axes1 "G1"
axes2 "G2"
axes3 "G3"
axes4 "G4"
axes5 "G5"
axes6 "G6"
}
List {
ListType SelectedSignals
axes1 ""
axes2 ""
axes3 ""
axes4 ""
axes5 ""
axes6 ""
}
YMin "-5~-5~-5~-5~-5~-5"
YMax "5~5~5~5~5~5"
SaveName "ScopeData4"
DataFormat "StructureWithTime"
LimitDataPoints off
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [420, 80, 440, 100]
ShowName off
IconShape "round"
Inputs "|+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Step
Name "TL1"
Position [335, 385, 365, 415]
Time "0.001"
After "1.2"
SampleTime "0"
}
Block {
BlockType Step
Name "TL2"
Position [330, 340, 360, 370]
Time "0.001"
After "1.5"
SampleTime "0"
}
Block {
BlockType Scope
Name "Te_n1_n2"
Ports [3]
Position [610, 280, 645, 370]
Location [6, 60, 1030, 741]
Open off
NumInputPorts "3"
ZoomMode "yonly"
List {
ListType AxesTitles
axes1 "Te"
axes2 "n1"
axes3 "n2"
}
List {
ListType SelectedSignals
axes1 ""
axes2 ""
axes3 ""
}
YMin "-25~0~-1000"
YMax "275~1300~0"
SaveName "Te_n1_n2"
DataFormat "StructureWithTime"
LimitDataPoints off
}
Block {
BlockType ToWorkspace
Name "To Wk1"
Position [385, 279, 410, 301]
ShowName off
VariableName "Ub"
MaxDataPoints "inf"
SampleTime "-1"
SaveFormat "Array"
}
Block {
BlockType ToWorkspace
Name "To Wk10"
Position [670, 133, 715, 157]
ShowName off
VariableName "ia_ib_ic"
MaxDataPoints "inf"
SampleTime "-1"
SaveFormat "Array"
}
Block {
BlockType ToWorkspace
Name "To Wk11"
Position [380, 244, 405, 266]
ShowName off
VariableName "Ua"
MaxDataPoints "inf"
SampleTime "-1"
SaveFormat "Array"
}
Block {
BlockType ToWorkspace
Name "To Wk12"
Position [575, 273, 595, 287]
ShowName off
VariableName "Te"
MaxDataPoints "inf"
SampleTime "-1"
SaveFormat "Array"
}
Block {
BlockType ToWorkspace
Name "To Wk13"
Position [575, 301, 595, 319]
ShowName off
VariableName "n1"
MaxDataPoints "inf"
SampleTime "-1"
SaveFormat "Array"
}
Block {
BlockType ToWorkspace
Name "To Wk14"
Position [575, 337, 595, 353]
ShowName off
VariableName "n2"
MaxDataPoints "inf"
SampleTime "-1"
SaveFormat "Array"
}
Block {
BlockType ToWorkspace
Name "To Wk2"
Position [385, 314, 410, 336]
ShowName off
VariableName "Uc"
MaxDataPoints "inf"
SampleTime "-1"
SaveFormat "Array"
}
Block {
BlockType ToWorkspace
Name "To Wk3"
Position [755, 404, 780, 426]
ShowName off
VariableName "e3"
MaxDataPoints "inf"
SampleTime "-1"
SaveFormat "Array"
}
Block {
BlockType ToWorkspace
Name "To Wk4"
Position [390, 29, 415, 51]
ShowName off
VariableName "Usg"
MaxDataPoints "inf"
SampleTime "-1"
SaveFormat "Array"
}
Block {
BlockType ToWorkspace
Name "To Wk5"
Position [570, 204, 595, 226]
ShowName off
VariableName "Ung"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -