📄 cbldcm_8_2_ok_e3.mdl
字号:
}
Block {
BlockType Inport
Name "Uc"
Position [80, 128, 110, 142]
ForegroundColor "magenta"
Port "3"
}
Block {
BlockType Inport
Name "TLs"
Position [400, 113, 430, 127]
ForegroundColor "magenta"
Port "4"
}
Block {
BlockType Inport
Name "TLr"
Position [405, 153, 435, 167]
ForegroundColor "magenta"
Port "5"
}
Block {
BlockType SubSystem
Name "Back EMF"
Ports [2, 2]
Position [600, 82, 660, 153]
TreatAsAtomicUnit off
MaskPromptString "电机极对数P|电动势常数Ke(V.s/rad)"
MaskStyleString "edit,edit"
MaskTunableValueString "on,on"
MaskCallbackString "|"
MaskEnableString "on,on"
MaskVisibilityString "on,on"
MaskToolTipString "on,on"
MaskVarAliasString ","
MaskVariables "P=@1;Ke=@2;"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "P|Ke"
System {
Name "Back EMF"
Location [335, 358, 920, 668]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "ws"
Position [40, 118, 70, 132]
}
Block {
BlockType Inport
Name "wr"
Position [40, 148, 70, 162]
Port "2"
}
Block {
BlockType Integrator
Name "Integrator"
Ports [1, 1]
Position [195, 105, 225, 145]
}
Block {
BlockType Constant
Name "Ke"
Position [235, 171, 270, 219]
Value "Ke"
}
Block {
BlockType Mux
Name "Mux"
Ports [3, 1]
Position [320, 74, 330, 176]
Inputs "3"
DisplayOption "bar"
}
Block {
BlockType Gain
Name "Polar Number"
Position [245, 110, 275, 140]
Gain "P"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [120, 87, 150, 163]
ShowName off
Inputs "|++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType MATLABFcn
Name "emf"
Position [355, 93, 465, 157]
MATLABFcn "emf_1(u)"
}
Block {
BlockType Outport
Name "ea,eb,ec"
Position [530, 118, 560, 132]
}
Block {
BlockType Outport
Name "theta\n"
Position [305, 28, 335, 42]
Port "2"
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "emf"
DstPort 1
}
Line {
SrcBlock "emf"
SrcPort 1
DstBlock "ea,eb,ec"
DstPort 1
}
Line {
SrcBlock "Ke"
SrcPort 1
Points [25, 0; 0, -35]
DstBlock "Mux"
DstPort 3
}
Line {
SrcBlock "Integrator"
SrcPort 1
DstBlock "Polar Number"
DstPort 1
}
Line {
SrcBlock "Sum"
SrcPort 1
Points [15, 0]
Branch {
Points [0, -35]
DstBlock "Mux"
DstPort 1
}
Branch {
DstBlock "Integrator"
DstPort 1
}
}
Line {
SrcBlock "ws"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "wr"
SrcPort 1
Points [30, 0]
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "Polar Number"
SrcPort 1
Points [5, 0]
Branch {
DstBlock "Mux"
DstPort 2
}
Branch {
Points [0, -90]
DstBlock "theta\n"
DstPort 1
}
}
Annotation {
Name "ea,eb,ec"
Position [498, 108]
}
Annotation {
Name "theta"
Position [300, 109]
}
Annotation {
Name "ws+wr"
Position [172, 132]
}
Annotation {
Position [181, 266]
}
}
}
Block {
BlockType SubSystem
Name "Electrical"
Ports [4, 3]
Position [135, 61, 225, 179]
TreatAsAtomicUnit off
MaskPromptString "电机相绕组电阻R(ohms)|电机相绕组自感L(H)|电"
"机两相绕组之间的互感M(H)"
MaskStyleString "edit,edit,edit"
MaskTunableValueString "on,on,on"
MaskCallbackString "||"
MaskEnableString "on,on,on"
MaskVisibilityString "on,on,on"
MaskToolTipString "on,on,on"
MaskVarAliasString ",,"
MaskVariables "R=@1;L=@2;M=@3;"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "R|L|M"
System {
Name "Electrical"
Location [56, 82, 983, 592]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "Ua"
Position [35, 23, 65, 37]
}
Block {
BlockType Inport
Name "Ub"
Position [35, 53, 65, 67]
Port "2"
}
Block {
BlockType Inport
Name "Uc"
Position [35, 83, 65, 97]
Port "3"
}
Block {
BlockType Inport
Name "ea,eb,ec"
Position [35, 118, 65, 132]
Port "4"
}
Block {
BlockType Gain
Name "1/3"
Position [405, 285, 435, 315]
Gain "1/3"
}
Block {
BlockType Gain
Name "1/[3*(L-M)]"
Position [440, 98, 540, 132]
Gain "1/(3*(L-M))"
}
Block {
BlockType Gain
Name "3R"
Position [465, 199, 520, 231]
Orientation "left"
Gain "3*R"
}
Block {
BlockType Constant
Name "Constant"
Position [145, 245, 175, 275]
Value "[1 1 1]"
}
Block {
BlockType Constant
Name "Constant2"
Position [105, 345, 135, 375]
Value "[1 1 1]"
}
Block {
BlockType Demux
Name "Demux"
Ports [1, 2]
Position [670, 96, 675, 134]
BackgroundColor "black"
ShowName off
Outputs "2"
}
Block {
BlockType Reference
Name "Dot Product"
Ports [2, 1]
Position [215, 226, 245, 259]
SourceBlock "simulink/Math\nOperations/Dot Product"
SourceType "Dot Product"
}
Block {
BlockType Reference
Name "Dot Product1"
Ports [2, 1]
Position [170, 306, 200, 339]
SourceBlock "simulink/Math\nOperations/Dot Product"
SourceType "Dot Product"
}
Block {
BlockType Fcn
Name "FcnA"
Position [180, 70, 335, 100]
Expr "2*u(1)-u(2)-u(3)-2*u(4)+u(5)+u(6)"
}
Block {
BlockType Fcn
Name "FcnB"
Position [180, 129, 340, 161]
Expr "-u(1)+2*u(2)-u(3)+u(4)-2*u(5)+u(6)"
}
Block {
BlockType Integrator
Name "Integrator"
Ports [1, 1]
Position [585, 100, 615, 130]
}
Block {
BlockType Mux
Name "Mux"
Ports [3, 1]
Position [90, 18, 95, 102]
ShowName off
Inputs "3"
DisplayOption "bar"
}
Block {
BlockType Mux
Name "Mux1"
Ports [2, 1]
Position [140, 96, 145, 134]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Mux
Name "Mux2"
Ports [2, 1]
Position [370, 96, 375, 134]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Mux
Name "Mux3"
Ports [3, 1]
Position [805, 91, 810, 159]
ShowName off
Inputs "3"
DisplayOption "bar"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [405, 105, 425, 125]
ShowName off
IconShape "round"
Inputs "|+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [730, 137, 745, 173]
ShowName off
Inputs "|--|"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum2"
Ports [2, 1]
Position [340, 282, 360, 318]
ShowName off
Inputs "|-+"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Outport
Name "ia,ib,ic"
Position [850, 118, 880, 132]
}
Block {
BlockType Outport
Name "Ung"
Position [495, 293, 525, 307]
Port "2"
}
Block {
BlockType Outport
Name "ea+eb+ec\n"
Position [495, 258, 525, 272]
Port "3"
}
Line {
SrcBlock "Uc"
SrcPort 1
DstBlock "Mux"
DstPort 3
}
Line {
SrcBlock "Ub"
SrcPort 1
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "Ua"
SrcPort 1
DstBlock "Mux"
DstPort 1
}
Line {
SrcBlock "ea,eb,ec"
SrcPort 1
Points [45, 0]
Branch {
DstBlock "Mux1"
DstPort 2
}
Branch {
Points [0, 110]
DstBlock "Dot Product"
DstPort 1
}
}
Line {
Labels [0, 0]
SrcBlock "Mux"
SrcPort 1
Points [0, 0]
Branch {
Points [25, 0]
DstBlock "Mux1"
DstPort 1
}
Branch {
Points [0, 255]
DstBlock "Dot Product1"
DstPort 1
}
}
Line {
SrcBlock "Mux1"
SrcPort 1
Points [15, 0]
Branch {
DstBlock "FcnA"
DstPort 1
}
Branch {
DstBlock "FcnB"
DstPort 1
}
}
Line {
SrcBlock "FcnA"
SrcPort 1
Points [10, 0; 0, 20]
DstBlock "Mux2"
DstPort 1
}
Line {
SrcBlock "FcnB"
SrcPort 1
Points [0, -20]
DstBlock "Mux2"
DstPort 2
}
Line {
SrcBlock "Mux2"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Sum"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -