📄 mras1.mdl
字号:
Line {
SrcBlock "Logi1"
SrcPort 1
Points [145, 0]
DstBlock "SubSystem3"
DstPort enable
}
}
}
Block {
BlockType Outport
Name "Out"
Position [345, 98, 375, 112]
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "Sum3"
SrcPort 1
DstBlock "力矩滞环"
DstPort 1
}
Line {
SrcBlock "2/3"
SrcPort 1
Points [40, 0]
DstBlock "Subsystem"
DstPort 1
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "磁链\n滞环"
DstPort 1
}
Line {
SrcBlock "Fcn"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "磁链\n滞环"
SrcPort 1
DstBlock "Subsystem"
DstPort 2
}
Line {
SrcBlock "Subsystem"
SrcPort 1
DstBlock "table"
DstPort 1
}
Line {
SrcBlock "力矩滞环"
SrcPort 1
Points [25, 0]
DstBlock "Subsystem"
DstPort 3
}
Line {
SrcBlock "table"
SrcPort 1
DstBlock "Out"
DstPort 1
}
Line {
SrcBlock "ψ*"
SrcPort 1
Points [80, 0]
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock " T*"
SrcPort 1
Points [25, 0; 0, 20]
DstBlock "Sum3"
DstPort 1
}
Line {
SrcBlock " T f"
SrcPort 1
Points [25, 0; 0, -5]
DstBlock "Sum3"
DstPort 2
}
Line {
Labels [2, 0]
SrcBlock "ψf"
SrcPort 1
Points [0, 10; 35, 0]
Branch {
Points [0, -55]
DstBlock "2/3"
DstPort 1
}
Branch {
DstBlock "Fcn"
DstPort 1
}
}
}
}
Block {
BlockType Outport
Name "Uphase"
Position [310, 78, 340, 92]
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Block {
BlockType Outport
Name "Uline"
Position [310, 138, 340, 152]
Port "2"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "+"
SrcPort 1
Points [30, 0]
DstBlock "inverter"
DstPort 1
}
Line {
SrcBlock "Demux8"
SrcPort 2
DstBlock "inverter"
DstPort 3
}
Line {
SrcBlock "Demux8"
SrcPort 3
Points [30, 0]
DstBlock "inverter"
DstPort 4
}
Line {
SrcBlock "Tralay"
SrcPort 1
DstBlock "Demux8"
DstPort 1
}
Line {
SrcBlock "Hold1"
SrcPort 1
Points [-70, 0; 0, -115]
DstBlock "Ψ table"
DstPort 3
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "inverter"
DstPort 2
}
Line {
SrcBlock "qidong"
SrcPort 1
Points [10, 0]
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "Demux8"
SrcPort 1
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "Ψ table"
SrcPort 1
DstBlock "Tralay"
DstPort 1
}
Line {
SrcBlock "Hold2"
SrcPort 1
Points [-65, 0]
DstBlock "Ψ table"
DstPort 4
}
Line {
SrcBlock "inverter"
SrcPort 1
DstBlock "Uphase"
DstPort 1
}
Line {
SrcBlock "Ψ"
SrcPort 1
Points [0, 30]
DstBlock "Ψ table"
DstPort 1
}
Line {
SrcBlock "T"
SrcPort 1
DstBlock "Ψ table"
DstPort 2
}
Line {
SrcBlock "inverter"
SrcPort 2
DstBlock "Uline"
DstPort 1
}
Line {
SrcBlock "Tf"
SrcPort 1
DstBlock "Hold1"
DstPort 1
}
Line {
SrcBlock "Ψf"
SrcPort 1
DstBlock "Hold2"
DstPort 1
}
}
}
Block {
BlockType Demux
Name "Demux1"
Ports [1, 3]
Position [395, 186, 400, 224]
BackgroundColor "black"
ShowName off
Outputs "3"
BusSelectionMode off
}
Block {
BlockType Demux
Name "Demux11"
Ports [1, 3]
Position [395, 96, 400, 134]
BackgroundColor "black"
ShowName off
Outputs "3"
BusSelectionMode off
}
Block {
BlockType Demux
Name "Demux3"
Ports [1, 2]
Position [395, 141, 400, 174]
BackgroundColor "black"
ShowName off
Outputs "2"
BusSelectionMode off
}
Block {
BlockType SubSystem
Name "Mras"
Ports [2, 1]
Position [75, 147, 125, 218]
Orientation "left"
ShowPortLabels on
TreatAsAtomicUnit off
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
MaskPromptString "极对数|比例系数2|比例系数1|转子时间常数 : Tr|"
"互感 : Lm"
MaskStyleString "edit,edit,edit,edit,edit"
MaskTunableValueString "on,on,on,on,on"
MaskCallbackString "||||"
MaskEnableString "on,on,on,on,on"
MaskVisibilityString "on,on,on,on,on"
MaskToolTipString "on,on,on,on,on"
MaskVariables "np=@1;K2=@2;K1=@3;Tr=@4;Lm=@5;"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "2|800|400|0.3562/2.23|0.3425"
MaskVariableAliases ",,,,"
System {
Name "Mras"
Location [117, 153, 480, 371]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "automatic"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
AutoZoom on
Block {
BlockType Inport
Name "ψr"
Position [15, 36, 35, 54]
Port "1"
Interpolate on
}
Block {
BlockType Inport
Name "Is"
Position [15, 115, 35, 135]
Port "2"
Interpolate on
}
Block {
BlockType Demux
Name "Demux1"
Ports [1, 2]
Position [50, 58, 55, 87]
BackgroundColor "black"
ShowName off
Outputs "2"
BusSelectionMode off
}
Block {
BlockType Demux
Name "Demux2"
Ports [1, 2]
Position [205, 124, 210, 151]
BackgroundColor "black"
ShowName off
Outputs "2"
BusSelectionMode off
}
Block {
BlockType Demux
Name "Demux8"
Ports [1, 2]
Position [50, 29, 55, 56]
BackgroundColor "black"
ShowName off
Outputs "2"
BusSelectionMode off
}
Block {
BlockType Gain
Name "Gain1"
Position [175, 60, 205, 90]
Gain "K2"
Multiplication "Element-wise(K.*u)"
SaturateOnIntegerOverflow on
}
Block {
BlockType Gain
Name "Gain2"
Position [160, 30, 190, 60]
NamePlacement "alternate"
Gain "K1"
Multiplication "Element-wise(K.*u)"
SaturateOnIntegerOverflow on
}
Block {
BlockType Gain
Name "Gain3"
Position [285, 45, 315, 75]
Gain "60/(2*pi)/np"
Multiplication "Element-wise(K.*u)"
SaturateOnIntegerOverflow on
}
Block {
BlockType Gain
Name "Gain4"
Position [50, 110, 80, 140]
Gain "Lm/Tr"
Multiplication "Element-wise(K.*u)"
SaturateOnIntegerOverflow on
}
Block {
BlockType Gain
Name "Gain5"
Position [125, 150, 155, 180]
Orientation "left"
Gain "-1/Tr"
Multiplication "Element-wise(K.*u)"
SaturateOnIntegerOverflow on
}
Block {
BlockType Gain
Name "Gain6"
Position [270, 160, 300, 190]
Orientation "left"
NamePlacement "alternate"
Gain "-1"
Multiplication "Element-wise(K.*u)"
SaturateOnIntegerOverflow on
}
Block {
BlockType Integrator
Name "Inter"
Ports [1, 1]
Position [205, 32, 230, 58]
ExternalReset "none"
InitialConditionSource "internal"
InitialCondition "0"
LimitOutput off
UpperSaturationLimit "18"
LowerSaturationLimit "-18"
ShowSaturationPort off
ShowStatePort off
AbsoluteTolerance "auto"
}
Block {
BlockType Integrator
Name "Inter1"
Ports [1, 1]
Position [140, 122, 165, 148]
NamePlacement "alternate"
ExternalReset "none"
InitialConditionSource "internal"
InitialCondition "0"
LimitOutput off
UpperSaturationLimit "18"
LowerSaturationLimit "-18"
ShowSaturationPort off
ShowStatePort off
AbsoluteTolerance "auto"
}
Block {
BlockType Mux
Name "Mux"
Ports [2, 1]
Position [305, 118, 310, 147]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Product
Name "Product"
Ports [2, 1]
Position [85, 30, 105, 50]
NamePlacement "alternate"
Inputs "2"
Multiplication "Element-wise(.*)"
SaturateOnIntegerOverflow on
}
Block {
BlockType Product
Name "Product1"
Ports [2, 1]
Position [85, 65, 105, 85]
NamePlacement "alternate"
Inputs "2"
Multiplication "Element-wise(.*)"
SaturateOnIntegerOverflow on
}
Block {
BlockType Product
Name "Product3"
Ports [2, 1]
Position [235, 110, 255, 130]
NamePlacement "alternate"
Inputs "2"
Multiplication "Element-wise(.*)"
SaturateOnIntegerOverflow on
}
Block {
BlockType Product
Name "Product4"
Ports [2, 1]
Position [235, 140, 255, 160]
Inputs "2"
Multiplication "Element-wise(.*)"
SaturateOnIntegerOverflow on
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [250, 41, 260, 79]
ShowName off
IconShape "rectangular"
Inputs "++"
SaturateOnIntegerOverflow on
}
Block {
BlockType Sum
Name "Sum2"
Ports [3, 1]
Position [110, 118, 125, 152]
ShowName off
IconShape "rectangular"
Inputs "+++"
SaturateOnIntegerOverflow on
}
Block {
BlockType Sum
Name "Sum5"
Ports [2, 1]
Position [125, 41, 135, 74]
ShowName off
IconShape "rectangular"
Inputs "+-"
SaturateOnIntegerOverflow on
}
Block {
BlockType Outport
Name "n_guji"
Position [330, 51, 350, 69]
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "Gain5"
SrcPort 1
Points [-25, 0]
DstBlock "Sum2"
DstPort 3
}
Line {
SrcBlock "Inter1"
SrcPort 1
Points [0, 0; 5, 0]
Branch {
Points [0, -35; -140, 0]
DstBlock "Demux1"
DstPort 1
}
Branch {
Points [0, 5]
Branch {
Points [0, 25]
DstBlock "Gain5"
DstPort 1
}
Branch {
DstBlock "Demux2"
DstPort 1
}
}
}
Line {
SrcBlock "Sum2"
SrcPort 1
DstBlock "Inter1"
DstPort 1
}
Line {
SrcBlock "Gain4"
SrcPort 1
DstBlock "Sum2"
DstPort 1
}
Line {
SrcBlock "Is"
SrcPort 1
DstBlock "Gain4"
DstPort 1
}
Line {
SrcBlock "Gain3"
SrcPort 1
DstBlock "n_guji"
DstPort 1
}
Line {
SrcBlock "ψr"
SrcPort 1
DstBlock "Demux8"
DstPort 1
}
Line {
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -