📄 imvectrol3.mdl
字号:
MaskIconUnits "autoscale"
System {
Name "dot"
Location [689, 143, 1009, 319]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "automatic"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "98"
AutoZoom on
Block {
BlockType Inport
Name "is"
Position [15, 38, 45, 52]
Port "1"
Interpolate on
}
Block {
BlockType Inport
Name "jir"
Position [15, 123, 45, 137]
Port "2"
Interpolate on
}
Block {
BlockType Demux
Name "Demux"
Ports [1, 2]
Position [70, 26, 75, 64]
BackgroundColor "black"
ShowName off
Outputs "2"
BusSelectionMode off
}
Block {
BlockType Demux
Name "Demux1"
Ports [1, 2]
Position [70, 111, 75, 149]
BackgroundColor "black"
ShowName off
Outputs "2"
BusSelectionMode off
}
Block {
BlockType Product
Name "Product1"
Ports [2, 1]
Position [140, 26, 185, 59]
Inputs "2"
Multiplication "Element-wise(.*)"
SaturateOnIntegerOverflow on
}
Block {
BlockType Product
Name "Product2"
Ports [2, 1]
Position [140, 116, 185, 149]
Inputs "2"
Multiplication "Element-wise(.*)"
SaturateOnIntegerOverflow on
}
Block {
BlockType Sum
Name "Sum2"
Ports [2, 1]
Position [230, 35, 250, 55]
ShowName off
IconShape "round"
Inputs "|++"
SaturateOnIntegerOverflow on
}
Block {
BlockType Outport
Name "Te"
Position [275, 38, 305, 52]
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "Demux"
SrcPort 1
DstBlock "Product1"
DstPort 1
}
Line {
SrcBlock "Demux1"
SrcPort 2
DstBlock "Product2"
DstPort 2
}
Line {
SrcBlock "Demux"
SrcPort 2
Points [20, 0; 0, 70]
DstBlock "Product2"
DstPort 1
}
Line {
SrcBlock "Demux1"
SrcPort 1
Points [35, 0; 0, -70]
DstBlock "Product1"
DstPort 2
}
Line {
SrcBlock "Product1"
SrcPort 1
DstBlock "Sum2"
DstPort 1
}
Line {
SrcBlock "Product2"
SrcPort 1
Points [50, 0]
DstBlock "Sum2"
DstPort 2
}
Line {
SrcBlock "Sum2"
SrcPort 1
DstBlock "Te"
DstPort 1
}
Line {
SrcBlock "is"
SrcPort 1
DstBlock "Demux"
DstPort 1
}
Line {
SrcBlock "jir"
SrcPort 1
DstBlock "Demux1"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "flux-current"
Ports [2, 2]
Position [390, 106, 490, 199]
ShowName off
ShowPortLabels on
TreatAsAtomicUnit off
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
MaskDisplay "disp('FLUX-CURRENT\\nRELATIONS')"
MaskIconFrame on
MaskIconOpaque off
MaskIconRotate "none"
MaskIconUnits "autoscale"
Port {
PortNumber 2
Name "ir"
PropagatedSignals ", "
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
}
System {
Name "flux-current"
Location [544, 141, 982, 349]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "automatic"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
AutoZoom on
Block {
BlockType Inport
Name "fs"
Position [25, 48, 55, 62]
Port "1"
Interpolate on
}
Block {
BlockType Inport
Name "fr"
Position [25, 153, 55, 167]
Port "2"
Interpolate on
}
Block {
BlockType Demux
Name "Demux"
Ports [1, 2]
Position [80, 36, 85, 74]
BackgroundColor "black"
ShowName off
Outputs "2"
BusSelectionMode off
}
Block {
BlockType Demux
Name "Demux1"
Ports [1, 2]
Position [80, 141, 85, 179]
BackgroundColor "black"
ShowName off
Outputs "2"
BusSelectionMode off
}
Block {
BlockType Demux
Name "Demux2"
Ports [1, 2]
Position [265, 41, 270, 79]
BackgroundColor "black"
ShowName off
Outputs "2"
BusSelectionMode off
}
Block {
BlockType Demux
Name "Demux3"
Ports [1, 2]
Position [265, 136, 270, 174]
BackgroundColor "black"
ShowName off
Outputs "2"
BusSelectionMode off
}
Block {
BlockType Mux
Name "Mux"
Ports [2, 1]
Position [155, 29, 160, 91]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Mux
Name "Mux1"
Ports [2, 1]
Position [155, 124, 160, 186]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Mux
Name "Mux2"
Ports [2, 1]
Position [340, 34, 345, 96]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Mux
Name "Mux3"
Ports [2, 1]
Position [340, 119, 345, 181]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Gain
Name "inverse\nL"
Position [205, 45, 235, 75]
Gain "[(Lrl+Lm) -Lm;-Lm (Lsl+Lm)]/(Lsl*Lrl+Ls"
"l*Lm+Lrl*Lm)"
Multiplication "Matrix(K*u)"
SaturateOnIntegerOverflow on
}
Block {
BlockType Gain
Name "inverse\nL1"
Position [205, 140, 235, 170]
Gain "[(Lrl+Lm) -Lm;-Lm (Lsl+Lm)]/(Lsl*Lrl+Ls"
"l*Lm+Lrl*Lm)"
Multiplication "Matrix(K*u)"
SaturateOnIntegerOverflow on
}
Block {
BlockType Outport
Name "is"
Position [370, 58, 400, 72]
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Block {
BlockType Outport
Name "ir"
Position [370, 143, 400, 157]
Port "2"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "fr"
SrcPort 1
DstBlock "Demux1"
DstPort 1
}
Line {
SrcBlock "Mux3"
SrcPort 1
DstBlock "ir"
DstPort 1
}
Line {
SrcBlock "Demux3"
SrcPort 1
Points [40, 0; 0, -65]
DstBlock "Mux2"
DstPort 2
}
Line {
SrcBlock "Demux2"
SrcPort 2
Points [20, 0; 0, 65]
DstBlock "Mux3"
DstPort 1
}
Line {
SrcBlock "Demux3"
SrcPort 2
DstBlock "Mux3"
DstPort 2
}
Line {
SrcBlock "inverse\nL1"
SrcPort 1
DstBlock "Demux3"
DstPort 1
}
Line {
SrcBlock "Mux1"
SrcPort 1
DstBlock "inverse\nL1"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 2
Points [10, 0; 0, 75]
DstBlock "Mux1"
DstPort 1
}
Line {
SrcBlock "Demux1"
SrcPort 2
DstBlock "Mux1"
DstPort 2
}
Line {
SrcBlock "Demux1"
SrcPort 1
Points [30, 0; 0, -75]
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "Mux2"
SrcPort 1
DstBlock "is"
DstPort 1
}
Line {
SrcBlock "fs"
SrcPort 1
DstBlock "Demux"
DstPort 1
}
Line {
SrcBlock "Demux2"
SrcPort 1
DstBlock "Mux2"
DstPort 1
}
Line {
SrcBlock "inverse\nL"
SrcPort 1
DstBlock "Demux2"
DstPort 1
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "inverse\nL"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 1
DstBlock "Mux"
DstPort 1
}
Annotation {
Position [219, 127]
ForegroundColor "blue"
Text "Q-AXIS"
FontSize 12
FontWeight "bold"
}
Annotation {
Position [217, 31]
ForegroundColor "blue"
Text "D axis"
FontSize 12
FontWeight "bold"
}
}
}
Block {
BlockType Gain
Name "poles/2"
Position [85, 324, 115, 356]
Gain "p/2"
Multiplication "Element-wise(K.*u)"
SaturateOnIntegerOverflow on
}
Block {
BlockType Gain
Name "rot"
Position [235, 25, 265, 55]
Orientation "left"
Gain "[0 -1;1 0]"
Multiplication "Matrix(K*u)"
SaturateOnIntegerOverflow on
}
Block {
BlockType Gain
Name "rot1"
Position [230, 240, 260, 270]
Orientation "left"
Gain "[0 -1;1 0]"
Multiplication "Matrix(K*u)"
SaturateOnIntegerOverflow on
}
Block {
BlockType Gain
Name "rot2"
Position [560, 160, 590, 190]
Gain "[0 -1;1 0]"
Multiplication "Matrix(K*u)"
SaturateOnIntegerOverflow on
}
Block {
BlockType Constant
Name "vr"
Position [145, 325, 175, 355]
Value "[0 0]"
VectorParams1D on
}
Block {
BlockType Outport
Name "Te"
Position [760, 133, 790, 147]
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Block {
BlockType Outport
Name "is"
Position [755, 218, 785, 232]
Port "2"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "poles/2"
SrcPort 1
Points [5, 0]
DstBlock "Sum4"
DstPort 2
}
Line {
SrcBlock "wmec"
SrcPort 1
DstBlock "poles/2"
DstPort 1
}
Line {
Labels [0, 0]
SrcBlock "Gain2"
SrcPort 1
DstBlock "Te"
DstPort 1
}
Line {
SrcBlock "dot"
SrcPort 1
DstBlock "Gain2"
DstPort 1
}
Line {
Name "ir"
SrcBlock "flux-current"
SrcPort 2
Points [25, 0]
Branch {
Labels [1, 0]
DstBlock "rot2"
DstPort 1
}
Branch {
Labels [2, 0]
Points [0, 230]
DstBlock "Gain1"
DstPort 1
}
}
Line {
SrcBlock "flux-current"
SrcPort 1
Points [50, 0]
Branch {
DstBlock "dot"
DstPort 1
}
Branch {
Points [0, 95]
Branch {
DstBlock "is"
DstPort 1
}
Branch {
DstBlock "Gain"
DstPort 1
}
}
}
Line {
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -