📄 bldcm.mdl
字号:
DstPort 1
}
Line {
SrcBlock "b-"
SrcPort 1
DstBlock "ib_ref"
DstPort 2
}
Line {
SrcBlock "c+"
SrcPort 1
Points [25, 0; 0, 25]
DstBlock "ic_ref"
DstPort 1
}
Line {
SrcBlock "c-"
SrcPort 1
DstBlock "ic_ref"
DstPort 2
}
Line {
SrcBlock "-1"
SrcPort 1
Points [15, 0]
Branch {
Points [0, -25]
Branch {
DstBlock "b-"
DstPort 2
}
Branch {
Points [0, -175]
DstBlock "a-"
DstPort 2
}
}
Branch {
Points [0, 115]
DstBlock "c-"
DstPort 2
}
}
Line {
SrcBlock "ia_ref"
SrcPort 1
Points [40, 0]
DstBlock "ia_dif"
DstPort 1
}
Line {
SrcBlock "ia"
SrcPort 1
Points [475, 0; 0, -350]
DstBlock "ia_dif"
DstPort 2
}
Line {
SrcBlock "ib_ref"
SrcPort 1
DstBlock "ib_dif"
DstPort 1
}
Line {
SrcBlock "ib"
SrcPort 1
Points [485, 0; 0, -205]
DstBlock "ib_dif"
DstPort 2
}
Line {
SrcBlock "ic_ref"
SrcPort 1
Points [40, 0]
DstBlock "ic_dif"
DstPort 1
}
Line {
SrcBlock "ic"
SrcPort 1
Points [495, 0; 0, -95]
DstBlock "ic_dif"
DstPort 2
}
Line {
SrcBlock "ia_dif"
SrcPort 1
DstBlock "Hy_ia"
DstPort 1
}
Line {
SrcBlock "ib_dif"
SrcPort 1
Points [0, 0]
DstBlock "Hy_ib"
DstPort 1
}
Line {
SrcBlock "ic_dif"
SrcPort 1
Points [0, 0]
DstBlock "Hy_ic"
DstPort 1
}
Line {
SrcBlock "Hy_ia"
SrcPort 1
Points [5, 0]
Branch {
DstBlock "ia-"
DstPort 1
}
Branch {
Points [0, -30]
DstBlock "D1"
DstPort 1
}
}
Line {
SrcBlock "Hy_ic"
SrcPort 1
Points [5, 0]
Branch {
DstBlock "ic-"
DstPort 1
}
Branch {
Points [0, -30]
DstBlock "D5"
DstPort 1
}
}
Line {
SrcBlock "Hy_ib"
SrcPort 1
Points [5, 0]
Branch {
DstBlock "ib-"
DstPort 1
}
Branch {
Points [0, -30]
DstBlock "D3"
DstPort 1
}
}
Line {
SrcBlock "ia-"
SrcPort 1
DstBlock "D4"
DstPort 1
}
Line {
SrcBlock "ib-"
SrcPort 1
DstBlock "D6"
DstPort 1
}
Line {
SrcBlock "ic-"
SrcPort 1
DstBlock "D2"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "POLE"
Ports [1, 3]
Position [655, 98, 740, 162]
FontName "Arial"
FontSize 14
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskType "Magnetic Pole Position Module"
MaskDescription "This Module is to provide the Position of t"
"he Magnetic Pole Position."
MaskPromptString "Magnetic Pole(twin): P"
MaskStyleString "edit"
MaskTunableValueString "on"
MaskEnableString "on"
MaskVisibilityString "on"
MaskToolTipString "on"
MaskVariables "P=@1;"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "2"
System {
Name "POLE"
Location [160, 258, 752, 549]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "ω"
Position [25, 148, 55, 162]
FontName "Arial"
FontSize 14
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [215, 25, 235, 65]
ShowName off
FontName "Arial"
FontSize 14
Inputs "|++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [215, 90, 235, 130]
ShowName off
FontName "Arial"
FontSize 14
Inputs "|++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum2"
Ports [2, 1]
Position [215, 165, 235, 205]
ShowName off
FontName "Arial"
FontSize 14
Inputs "|++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Constant
Name "pole_-5*pi/6"
Position [80, 100, 115, 120]
FontName "Arial"
FontSize 14
Value "-2.6179938333333333333333333333333"
}
Block {
BlockType Constant
Name "pole_-pi/6"
Position [80, 35, 115, 55]
FontName "Arial"
FontSize 14
Value "-0.52359876666666666666666666666667"
}
Block {
BlockType Integrator
Name "pole_1/s"
Ports [1, 1]
Position [150, 143, 180, 167]
FontName "Arial"
FontSize 14
}
Block {
BlockType Gain
Name "pole_P"
Position [80, 144, 115, 166]
FontName "Arial"
FontSize 14
Gain "P"
}
Block {
BlockType Relay
Name "pole_Relayφ1"
Position [390, 30, 420, 60]
OnSwitchValue "0.001"
OffSwitchValue "-0.001"
}
Block {
BlockType Relay
Name "pole_Relayφ2"
Position [390, 95, 420, 125]
OnSwitchValue "0.01"
OffSwitchValue "-0.01"
}
Block {
BlockType Relay
Name "pole_Relayφ3"
Position [390, 170, 420, 200]
OnSwitchValue "0.01"
OffSwitchValue "-0.01"
}
Block {
BlockType Constant
Name "pole_pi/2"
Position [80, 190, 115, 210]
FontName "Arial"
FontSize 14
Value "1.5707963"
}
Block {
BlockType Trigonometry
Name "sin(-5*pi/6)"
Ports [1, 1]
Position [265, 95, 305, 125]
FontName "Arial"
FontSize 14
}
Block {
BlockType Trigonometry
Name "sin(-pi/6)"
Ports [1, 1]
Position [265, 30, 305, 60]
FontName "Arial"
FontSize 14
}
Block {
BlockType Trigonometry
Name "sin(pi/2)"
Ports [1, 1]
Position [265, 170, 305, 200]
FontName "Arial"
FontSize 14
}
Block {
BlockType Outport
Name "φ1"
Position [475, 38, 505, 52]
FontName "Arial"
FontSize 14
IconDisplay "Port number"
}
Block {
BlockType Outport
Name "φ2"
Position [475, 103, 505, 117]
FontName "Arial"
FontSize 14
Port "2"
IconDisplay "Port number"
}
Block {
BlockType Outport
Name "φ3"
Position [475, 178, 505, 192]
FontName "Arial"
FontSize 14
Port "3"
IconDisplay "Port number"
}
Line {
SrcBlock "ω"
SrcPort 1
DstBlock "pole_P"
DstPort 1
}
Line {
SrcBlock "pole_P"
SrcPort 1
DstBlock "pole_1/s"
DstPort 1
}
Line {
SrcBlock "pole_-pi/6"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "pole_-5*pi/6"
SrcPort 1
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "pole_pi/2"
SrcPort 1
DstBlock "Sum2"
DstPort 2
}
Line {
SrcBlock "pole_1/s"
SrcPort 1
Points [0, 0; 10, 0]
Branch {
Points [0, -30]
Branch {
Points [0, -65]
DstBlock "Sum"
DstPort 2
}
Branch {
DstBlock "Sum1"
DstPort 2
}
}
Branch {
Points [0, 30]
DstBlock "Sum2"
DstPort 1
}
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "sin(-pi/6)"
DstPort 1
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "sin(-5*pi/6)"
DstPort 1
}
Line {
SrcBlock "Sum2"
SrcPort 1
DstBlock "sin(pi/2)"
DstPort 1
}
Line {
SrcBlock "sin(-pi/6)"
SrcPort 1
DstBlock "pole_Relayφ1"
DstPort 1
}
Line {
SrcBlock "sin(-5*pi/6)"
SrcPort 1
DstBlock "pole_Relayφ2"
DstPort 1
}
Line {
SrcBlock "sin(pi/2)"
SrcPort 1
DstBlock "pole_Relayφ3"
DstPort 1
}
Line {
SrcBlock "pole_Relayφ1"
SrcPort 1
DstBlock "φ1"
DstPort 1
}
Line {
SrcBlock "pole_Relayφ2"
SrcPort 1
DstBlock "φ2"
DstPort 1
}
Line {
SrcBlock "pole_Relayφ3"
SrcPort 1
DstBlock "φ3"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "SOURCE"
Ports [9, 3]
Position [235, 79, 350, 281]
FontName "Arial"
FontSize 14
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskType "The Convertor Module"
MaskDescription "This Module is to provide The Voltage of Th"
"e Motor, and it contain the Source part."
MaskPromptString "The Voltage of batteries(V): Eb|The Resista"
"nce of batteries(1/ohms): Rb_down|The Capacitance(1/F): C_down"
MaskStyleString "edit,edit,edit"
MaskTunableValueString "on,on,on"
MaskCallbackString "||"
MaskEnableString "on,on,on"
MaskVisibilityString "on,on,on"
MaskToolTipString "on,on,on"
MaskVarAliasString ",,"
MaskVariables "Eb=@1;Rb_down=@2;C_down=@3;"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "36|333.33|100"
MaskTabNameString ",,"
System {
Name "SO
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -