📄 imeqvec3.mdl
字号:
Block {
BlockType Demux
Name "Demux1"
Ports [1, 2]
Position [80, 111, 85, 149]
BackgroundColor "black"
ShowName off
Outputs "2"
BusSelectionMode off
}
Block {
BlockType Product
Name "Product2"
Ports [2, 1]
Position [150, 26, 195, 59]
Inputs "2"
Multiplication "Element-wise(.*)"
SaturateOnIntegerOverflow on
}
Block {
BlockType Product
Name "Product3"
Ports [2, 1]
Position [150, 116, 195, 149]
Inputs "2"
Multiplication "Element-wise(.*)"
SaturateOnIntegerOverflow on
}
Block {
BlockType Sum
Name "Sum2"
Ports [2, 1]
Position [240, 35, 260, 55]
ShowName off
IconShape "round"
Inputs "|++"
SaturateOnIntegerOverflow on
}
Block {
BlockType Outport
Name "Te"
Position [285, 38, 315, 52]
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "Demux"
SrcPort 1
DstBlock "Product2"
DstPort 1
}
Line {
SrcBlock "Demux1"
SrcPort 2
DstBlock "Product3"
DstPort 2
}
Line {
SrcBlock "Demux"
SrcPort 2
Points [20, 0; 0, 70]
DstBlock "Product3"
DstPort 1
}
Line {
SrcBlock "Demux1"
SrcPort 1
Points [35, 0; 0, -70]
DstBlock "Product2"
DstPort 2
}
Line {
SrcBlock "Product2"
SrcPort 1
DstBlock "Sum2"
DstPort 1
}
Line {
SrcBlock "Product3"
SrcPort 1
Points [50, 0]
DstBlock "Sum2"
DstPort 2
}
Line {
SrcBlock "Sum2"
SrcPort 1
DstBlock "Te"
DstPort 1
}
Line {
SrcBlock "fs"
SrcPort 1
DstBlock "Demux"
DstPort 1
}
Line {
SrcBlock "is"
SrcPort 1
DstBlock "Demux1"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "flux-current"
Ports [2, 2]
Position [355, 107, 470, 203]
ShowName off
FontWeight "bold"
ShowPortLabels on
TreatAsAtomicUnit off
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
MaskDisplay "disp('FLUX-CURRENT\\nRELATIONS')"
MaskIconFrame on
MaskIconOpaque off
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "flux-current"
Location [726, 436, 1001, 702]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "automatic"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "90"
AutoZoom on
Block {
BlockType Inport
Name "fs"
Position [15, 38, 45, 52]
Port "1"
Interpolate on
}
Block {
BlockType Inport
Name "fr"
Position [15, 103, 45, 117]
Port "2"
Interpolate on
}
Block {
BlockType Gain
Name "G11"
Position [120, 30, 150, 60]
NamePlacement "alternate"
Gain "(Lrl+Lm) /(Lsl*Lrl+Lsl*Lm+Lrl*Lm)"
Multiplication "Element-wise(K.*u)"
SaturateOnIntegerOverflow on
}
Block {
BlockType Gain
Name "G12"
Position [120, 95, 150, 125]
NamePlacement "alternate"
Gain "-Lm /(Lsl*Lrl+Lsl*Lm+Lrl*Lm)"
Multiplication "Element-wise(K.*u)"
SaturateOnIntegerOverflow on
}
Block {
BlockType Gain
Name "G21"
Position [120, 160, 150, 190]
NamePlacement "alternate"
Gain "-Lm /(Lsl*Lrl+Lsl*Lm+Lrl*Lm)"
Multiplication "Element-wise(K.*u)"
SaturateOnIntegerOverflow on
}
Block {
BlockType Gain
Name "G22"
Position [120, 225, 150, 255]
NamePlacement "alternate"
Gain "(Lsl+Lm )/(Lsl*Lrl+Lsl*Lm+Lrl*Lm)"
Multiplication "Element-wise(K.*u)"
SaturateOnIntegerOverflow on
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [175, 200, 195, 220]
ShowName off
IconShape "round"
Inputs "++"
SaturateOnIntegerOverflow on
}
Block {
BlockType Sum
Name "Sum4"
Ports [2, 1]
Position [175, 70, 195, 90]
ShowName off
IconShape "round"
Inputs "++"
SaturateOnIntegerOverflow on
}
Block {
BlockType Outport
Name "is"
Position [235, 73, 265, 87]
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Block {
BlockType Outport
Name "ir"
Position [235, 203, 265, 217]
Port "2"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "fs"
SrcPort 1
Points [45, 0]
Branch {
DstBlock "G11"
DstPort 1
}
Branch {
Points [0, 130]
DstBlock "G21"
DstPort 1
}
}
Line {
SrcBlock "G11"
SrcPort 1
Points [30, 0]
DstBlock "Sum4"
DstPort 1
}
Line {
SrcBlock "fr"
SrcPort 1
Points [25, 0]
Branch {
DstBlock "G12"
DstPort 1
}
Branch {
Points [0, 130]
DstBlock "G22"
DstPort 1
}
}
Line {
SrcBlock "G12"
SrcPort 1
Points [30, 0]
DstBlock "Sum4"
DstPort 2
}
Line {
SrcBlock "Sum4"
SrcPort 1
DstBlock "is"
DstPort 1
}
Line {
SrcBlock "G21"
SrcPort 1
Points [30, 0]
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "G22"
SrcPort 1
Points [30, 0]
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "ir"
DstPort 1
}
Annotation {
Position [142, 276]
Text "INVERSE INDUCTANCE"
}
}
}
Block {
BlockType SubSystem
Name "info"
Ports []
Position [540, 329, 638, 400]
ForegroundColor "darkGreen"
DropShadow on
ShowName off
FontWeight "bold"
ShowPortLabels on
TreatAsAtomicUnit off
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
MaskDisplay "\ndisp('MATHEMATICAL\\nMODEL')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "info"
Location [30, 296, 490, 679]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "96"
AutoZoom on
Annotation {
Position [214, 27]
ForegroundColor "blue"
Text "Mathematical model of the induction mac"
"hine. \nSpace vector formulation in an arbitrary dq common reference frame."
"\nPer unit description. "
FontName "Arial"
FontSize 12
FontWeight "bold"
}
Annotation {
Position [15, 70]
HorizontalAlignment "left"
VerticalAlignment "top"
Text " Electrical system equations: \n "
" vs = Rs is + 1/wo (dfs/dt) + wk M(pi/2) fs \n vr = Rr "
"ir + 1/wo (dfr/dt) + (wk - wm) M(pi/2) fr\n where the variables i, v, "
"and f are 2-dimensional space vectors; for instance\n is = [ids iq"
"s] and so forth,\n wk is the speed of the reference frame, wm the rotor "
"speed,\n and M(pi/2)represents a 90o space rotator namely M(pi/2) = [0 -"
"1;1 0]\n\n The flux linkage current relations are:\n fds = Ls ids"
" + Lm idr \n fdr = Lm ids + Lr idr (D_axis)\n "
" Ls =Lm +Lsl "
"; Lr = Lm +Lrl\n fqs = Ls iqs + Lm iqr\n fqr = Lm iqs + Lr"
" iqr (Q_axis)\n "
"\n Mechanical system equations:\n Te = 2H (dwm/dt ) + Bm wm + Tl "
"\n where Te = fs (cross) is = M(pi/2) fs (dot) is = fds iqs - fqs "
"ids\n = fs x is = M(pi/2) fs . is\n "
" = ir x fr = Lm (ir x is) = Lm/Lr (fr x is) \n "
" = 1/Lm' (fr x fs) Lm' =Lm c/(1-c) c = 1 - Lm^2/(L"
"s Lr) "
FontName "Arial"
FontSize 12
}
}
}
Block {
BlockType Gain
Name "rot"
Position [200, 25, 230, 55]
Orientation "left"
Gain "[0 -1;1 0]"
Multiplication "Matrix(K*u)"
SaturateOnIntegerOverflow on
}
Block {
BlockType Gain
Name "rot1"
Position [195, 240, 225, 270]
Orientation "left"
Gain "[0 -1;1 0]"
Multiplication "Matrix(K*u)"
SaturateOnIntegerOverflow on
}
Block {
BlockType Gain
Name "rot2"
Position [405, 25, 435, 55]
Gain "[0 -1;1 0]"
Multiplication "Matrix(K*u)"
SaturateOnIntegerOverflow on
}
Block {
BlockType Constant
Name "vr"
Position [110, 325, 140, 355]
Value "[0 0]"
VectorParams1D on
}
Block {
BlockType Outport
Name "Te"
Position [615, 43, 645, 57]
FontWeight "bold"
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Block {
BlockType Outport
Name "is"
Position [615, 218, 645, 232]
FontWeight "bold"
Port "2"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "Gain"
SrcPort 1
Points [-50, 0]
DstBlock "Sum"
DstPort 3
}
Line {
SrcBlock "vr"
SrcPort 1
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "Gain1"
SrcPort 1
Points [-50, 0]
DstBlock "Sum1"
DstPort 3
}
Line {
SrcBlock "Integrator"
SrcPort 1
Points [15, 0]
Branch {
DstBlock "flux-current"
DstPort 1
}
Branch {
Points [0, -90]
Branch {
DstBlock "rot"
DstPort 1
}
Branch {
DstBlock "rot2"
DstPort 1
}
}
}
Line {
Labels [2, 0]
SrcBlock "Integrator1"
SrcPort 1
Points [15, 0; 0, -85]
Branch {
Points [0, -75]
DstBlock "flux-current"
DstPort 2
}
Branch {
DstBlock "rot1"
DstPort 1
}
}
Line {
SrcBlock "Product1"
SrcPort 1
Points [20, 0]
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "rot1"
SrcPort 1
Points [-80, 0; 0, 20]
DstBlock "Product1"
DstPort 1
}
Line {
SrcBlock "Product"
SrcPort 1
Points [20, 0]
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "rot"
SrcPort 1
Points [-85, 0; 0, 20]
DstBlock "Product"
DstPort 1
}
Line {
SrcBlock "rot2"
SrcPort 1
DstBlock "Te_calc"
DstPort 1
}
Line {
SrcBlock "Sum4"
SrcPort 1
DstBlock "Product1"
DstPort 2
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Gain4"
DstPort 1
}
Line {
SrcBlock "Gain4"
SrcPort 1
DstBlock "Integrator"
DstPort 1
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "Gain5"
DstPort 1
}
Line {
SrcBlock "Gain5"
SrcPort 1
DstBlock "Integrator1"
DstPort 1
}
Line {
SrcBlock "flux-current"
SrcPort 1
Points [35, 0]
Branch {
Points [0, -70]
DstBlock "Te_calc"
DstPort 2
}
Branch {
Points [0, 95]
Branch {
DstBlock "Gain"
DstPort 1
}
Branch {
DstBlock "is"
DstPort 1
}
}
}
Line {
Name "Te"
Labels [0, 0]
SrcBlock "Te_calc"
SrcPort 1
DstBlock "Te"
DstPort 1
}
Line {
SrcBlock "vs"
SrcPort 1
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "wk"
SrcPort 1
Points [5, 0]
Branch {
DstBlock "Product"
DstPort 2
}
Branch {
Points [0, 215]
DstBlock "Sum4"
DstPort 1
}
}
Line {
SrcBlock "wm"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -