📄 cbldcm_8_2_ok_e3.mdl
字号:
DstBlock "Math\nFunction"
DstPort 1
}
Line {
SrcBlock "ia,ib,ic"
SrcPort 1
Points [15, 0; 0, 10]
DstBlock "Dot Product"
DstPort 1
}
Line {
SrcBlock "ea,eb,ec"
SrcPort 1
Points [15, 0; 0, -20]
DstBlock "Dot Product"
DstPort 2
}
Line {
SrcBlock "ws"
SrcPort 1
Points [5, 0; 0, 15]
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "wr"
SrcPort 1
Points [5, 0; 0, -15]
DstBlock "Sum"
DstPort 2
}
}
}
Block {
BlockType Outport
Name "Ung"
Position [250, 113, 280, 127]
ForegroundColor "blue"
}
Block {
BlockType Outport
Name "ia,ib,ic"
Position [250, 73, 280, 87]
ForegroundColor "blue"
Port "2"
}
Block {
BlockType Outport
Name "ea,eb,ec"
Position [730, 93, 760, 107]
ForegroundColor "blue"
Port "3"
}
Block {
BlockType Outport
Name "Te"
Position [402, 55, 428, 75]
Orientation "up"
ForegroundColor "blue"
Port "4"
}
Block {
BlockType Outport
Name "nr"
Position [665, 218, 695, 232]
ForegroundColor "blue"
Port "5"
}
Block {
BlockType Outport
Name "ns"
Position [665, 173, 695, 187]
ForegroundColor "blue"
Port "6"
}
Block {
BlockType Outport
Name "ea+eb+ec"
Position [250, 153, 280, 167]
ForegroundColor "blue"
Port "7"
}
Block {
BlockType Outport
Name "theta\n"
Position [735, 128, 765, 142]
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 "TLs"
SrcPort 1
DstBlock "Mechanical"
DstPort 2
}
Line {
SrcBlock "TLr"
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 "ns"
DstPort 1
}
Line {
SrcBlock "Gain1"
SrcPort 1
DstBlock "nr"
DstPort 1
}
Line {
SrcBlock "Torque Computing"
SrcPort 1
Points [25, 0]
Branch {
Points [0, 0]
DstBlock "Te"
DstPort 1
}
Branch {
Points [20, 0]
DstBlock "Mechanical"
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 [40, 0]
Branch {
Points [0, 195; -410, 0]
Branch {
Points [0, -160]
DstBlock "Torque Computing"
DstPort 4
}
Branch {
Points [-175, 0]
DstBlock "Electrical"
DstPort 4
}
}
Branch {
DstBlock "ea,eb,ec"
DstPort 1
}
}
Line {
SrcBlock "Mechanical"
SrcPort 2
Points [0, -10; 15, 0]
Branch {
Points [45, 0]
Branch {
Points [10, 0]
DstBlock "Back EMF"
DstPort 2
}
Branch {
Points [0, -120; -285, 0; 0, 60]
DstBlock "Torque Computing"
DstPort 2
}
}
Branch {
Points [0, 80]
DstBlock "Gain1"
DstPort 1
}
}
Line {
SrcBlock "Mechanical"
SrcPort 1
Points [0, 5; 30, 0]
Branch {
Points [10, 0]
Branch {
Points [0, -55; -250, 0; 0, 20]
DstBlock "Torque Computing"
DstPort 1
}
Branch {
Points [30, 0]
DstBlock "Back EMF"
DstPort 1
}
}
Branch {
Points [0, 85]
DstBlock "Gain"
DstPort 1
}
}
Line {
SrcBlock "Back EMF"
SrcPort 2
DstBlock "theta\n"
DstPort 1
}
}
}
Block {
BlockType Reference
Name "DC "
Tag "PoWeRsYsTeMbLoCk"
Description "source block"
Ports [1, 1]
Position [340, 350, 360, 385]
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 [690, 332, 695, 388]
BackgroundColor "black"
ShowName off
Outputs "3"
}
Block {
BlockType Demux
Name "Demux1"
Ports [1, 3]
Position [635, 396, 640, 424]
BackgroundColor "black"
ShowName off
Outputs "3"
}
Block {
BlockType Reference
Name "Ground (output)"
Tag "PoWeRsYsTeMbLoCk"
Ports [0, 1]
Position [334, 405, 366, 435]
Orientation "up"
ShowName off
SourceBlock "powerlib2/Connectors/Ground (output)"
SourceType "Ground"
PSBOutputType "1"
}
Block {
BlockType Integrator
Name "Integrator"
Ports [1, 1]
Position [690, 242, 715, 268]
}
Block {
BlockType Mux
Name "Mux"
Ports [2, 1]
Position [305, 436, 310, 474]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Mux
Name "Mux1"
Ports [2, 1]
Position [630, 440, 635, 480]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType "S-Function"
Name "S-Function"
Ports [1, 1]
Position [335, 439, 385, 471]
FunctionName "e3_phase"
}
Block {
BlockType Scope
Name "Scope"
Ports [7]
Position [855, 253, 910, 427]
Location [351, 183, 667, 751]
Open off
NumInputPorts "7"
ZoomMode "yonly"
List {
ListType AxesTitles
axes1 "ea"
axes2 "u3"
axes3 "Usn_实测三次谐波"
axes4 "Usn的积分"
axes5 "ia"
axes6 "ib"
axes7 "ic"
}
List {
ListType SelectedSignals
axes1 ""
axes2 ""
axes3 ""
axes4 ""
axes5 ""
axes6 ""
axes7 ""
}
TimeRange "0.1"
YMin "-200~-150~-50~-0.02~-250~-250~-250"
YMax "200~150~50~0.02~250~250~250"
SaveName "output"
DataFormat "StructureWithTime"
LimitDataPoints off
}
Block {
BlockType Signum
Name "Sign"
Position [245, 415, 275, 445]
}
Block {
BlockType Signum
Name "Sign1"
Position [245, 470, 275, 500]
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [600, 245, 620, 265]
ShowName off
IconShape "round"
Inputs "|+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Step
Name "TLr"
Position [480, 500, 505, 520]
Time "0.001"
After "1.5"
SampleTime "0"
}
Block {
BlockType Step
Name "TLs"
Position [480, 464, 505, 486]
Time "0.001"
After "1.2"
SampleTime "0"
}
Block {
BlockType Scope
Name "Te"
Ports [1]
Position [725, 417, 745, 443]
Location [122, 194, 415, 392]
Open off
NumInputPorts "1"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 " Te"
}
List {
ListType SelectedSignals
axes1 ""
}
YMin "-50"
YMax "250"
SaveName "ScopeData2"
DataFormat "StructureWithTime"
LimitDataPoints off
}
Block {
BlockType Terminator
Name "Terminator"
Position [635, 500, 655, 520]
}
Block {
BlockType Terminator
Name "Terminator2"
Position [665, 387, 680, 403]
ShowName off
}
Block {
BlockType Terminator
Name "Terminator3"
Position [665, 412, 680, 428]
ShowName off
}
Block {
BlockType SubSystem
Name "inverter"
Ports [4, 4]
Position [410, 313, 475, 462]
TreatAsAtomicUnit off
System {
Name "inverter"
Location [460, 107, 1005, 744]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "ia,ib,ic"
Position [605, 133, 635, 147]
Orientation "left"
ForegroundColor "magenta"
}
Block {
BlockType Inport
Name "Vcc"
Position [15, 33, 45, 47]
ForegroundColor "magenta"
Port "2"
}
Block {
BlockType Inport
Name "Gnd"
Position [15, 68, 45, 82]
ForegroundColor "magenta"
Port "3"
}
Block {
BlockType Inport
Name "PWM"
Position [110, 168, 140, 182]
Orientation "left"
ForegroundColor "magenta"
Port "4"
}
Block {
BlockType Reference
Name "CCSA1"
Tag "PoWeRsYsTeMbLoCk"
Description "source block"
Ports [1, 2]
Position [455, 47, 485, 78]
Orientation "left"
SourceBlock "powerlib2/Electrical\nSources/Controlled Cu"
"rrent Source"
SourceType "Controlled Current Source"
initsrc off
srctyp "AC"
ia "0"
iph "0"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -