📄 im3frames.mdl
字号:
Block {
BlockType Integrator
Name "Integrator1"
Ports [1, 1]
Position [275, 335, 305, 365]
ShowName off
InitialCondition "[0 0]"
}
Block {
BlockType Product
Name "Product"
Ports [2, 1]
Position [130, 62, 160, 93]
ShowName off
}
Block {
BlockType Product
Name "Product1"
Ports [2, 1]
Position [130, 277, 160, 308]
ShowName off
}
Block {
BlockType Sum
Name "Sum"
Ports [3, 1]
Position [175, 130, 195, 150]
ShowName off
IconShape "round"
Inputs "-+-"
}
Block {
BlockType Sum
Name "Sum1"
Ports [3, 1]
Position [175, 340, 195, 360]
ShowName off
IconShape "round"
Inputs "-+-"
}
Block {
BlockType Sum
Name "Sum4"
Ports [2, 1]
Position [80, 290, 100, 310]
ShowName off
IconShape "round"
Inputs "|+-"
}
Block {
BlockType SubSystem
Name "flux-current1"
Ports [2, 2]
Position [355, 117, 470, 213]
ShowName off
FontWeight "bold"
TreatAsAtomicUnit off
MaskDisplay "disp('FLUX-CURRENT\\nRELATIONS')"
MaskIconFrame on
MaskIconOpaque off
MaskIconRotate "none"
MaskIconUnits "autoscale"
Port {
PortNumber 2
Name "ir"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
System {
Name "flux-current1"
Location [712, 391, 1003, 682]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "fs"
Position [15, 38, 45, 52]
}
Block {
BlockType Inport
Name "fr"
Position [15, 103, 45, 117]
Port "2"
}
Block {
BlockType Gain
Name "Gm"
Position [120, 95, 150, 125]
NamePlacement "alternate"
Gain "Lm /(Lsl*Lrl+Lsl*Lm+Lrl*Lm)"
}
Block {
BlockType Gain
Name "Gm1"
Position [120, 160, 150, 190]
NamePlacement "alternate"
Gain "Lm /(Lsl*Lrl+Lsl*Lm+Lrl*Lm)"
}
Block {
BlockType Gain
Name "Gr"
Position [120, 225, 150, 255]
NamePlacement "alternate"
Gain "(Lsl+Lm )/(Lsl*Lrl+Lsl*Lm+Lrl*Lm)"
}
Block {
BlockType Gain
Name "Gs"
Position [120, 30, 150, 60]
NamePlacement "alternate"
Gain "(Lrl+Lm) /(Lsl*Lrl+Lsl*Lm+Lrl*Lm)"
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [175, 200, 195, 220]
ShowName off
IconShape "round"
Inputs "-+"
}
Block {
BlockType Sum
Name "Sum4"
Ports [2, 1]
Position [175, 70, 195, 90]
ShowName off
IconShape "round"
Inputs "+-"
}
Block {
BlockType Outport
Name "is"
Position [235, 73, 265, 87]
}
Block {
BlockType Outport
Name "ir"
Position [235, 203, 265, 217]
Port "2"
}
Line {
SrcBlock "fs"
SrcPort 1
Points [45, 0]
Branch {
DstBlock "Gs"
DstPort 1
}
Branch {
Points [0, 130]
DstBlock "Gm1"
DstPort 1
}
}
Line {
SrcBlock "Gs"
SrcPort 1
Points [30, 0]
DstBlock "Sum4"
DstPort 1
}
Line {
SrcBlock "fr"
SrcPort 1
Points [25, 0]
Branch {
DstBlock "Gm"
DstPort 1
}
Branch {
Points [0, 130]
DstBlock "Gr"
DstPort 1
}
}
Line {
SrcBlock "Gm"
SrcPort 1
Points [30, 0]
DstBlock "Sum4"
DstPort 2
}
Line {
SrcBlock "Sum4"
SrcPort 1
DstBlock "is"
DstPort 1
}
Line {
SrcBlock "Gm1"
SrcPort 1
Points [30, 0]
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "Gr"
SrcPort 1
Points [30, 0]
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "ir"
DstPort 1
}
Annotation {
Name "INVERSE INDUCTANCES"
Position [147, 276]
}
}
}
Block {
BlockType SubSystem
Name "model"
Ports []
Position [530, 339, 628, 410]
ForegroundColor "darkGreen"
DropShadow on
ShowName off
FontWeight "bold"
TreatAsAtomicUnit off
MaskDisplay "\ndisp('MATHEMATICAL\\nMODEL')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "model"
Location [34, 292, 510, 691]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Annotation {
Name "Mathematical model of the induction mac"
"hine. \nState vector formulation in an arbitrary dq common reference frame.\n"
"Per unit description. "
Position [214, 27]
ForegroundColor "blue"
FontName "Arial"
FontSize 12
FontWeight "bold"
}
Annotation {
Name " 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) "
Position [15, 70]
HorizontalAlignment "left"
VerticalAlignment "top"
FontName "Arial"
FontSize 12
}
}
}
Block {
BlockType Gain
Name "rot"
Position [200, 35, 230, 65]
Orientation "left"
Gain "[0 -1;1 0]"
Multiplication "Matrix(K*u)"
}
Block {
BlockType Gain
Name "rot1"
Position [205, 250, 235, 280]
Orientation "left"
Gain "[0 -1;1 0]"
Multiplication "Matrix(K*u)"
}
Block {
BlockType Constant
Name "vr"
Position [110, 335, 140, 365]
Value "[0 0]"
}
Block {
BlockType Outport
Name "Te"
Position [615, 28, 645, 42]
}
Block {
BlockType Outport
Name "is"
Position [615, 228, 645, 242]
Port "2"
}
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 {
Name "ir"
Labels [3, 0]
SrcBlock "flux-current1"
SrcPort 2
Points [10, 0; 0, 225]
DstBlock "Gain1"
DstPort 1
}
Line {
SrcBlock "Integrator"
SrcPort 1
Points [0, 0; 15, 0]
Branch {
DstBlock "flux-current1"
DstPort 1
}
Branch {
Points [0, -90]
DstBlock "rot"
DstPort 1
}
}
Line {
Labels [2, 0]
SrcBlock "Integrator1"
SrcPort 1
Points [15, 0; 0, -85]
Branch {
Points [0, -75]
DstBlock "flux-current1"
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 [-90, 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 [0, 0; -85, 0]
Branch {
Points [0, 20]
DstBlock "Product"
DstPort 1
}
Branch {
Points [0, -25]
DstBlock "Dot Product1"
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-current1"
SrcPort 1
Points [35, 0]
Branch {
Points [0, 95]
Branch {
DstBlock "Gain"
DstPort 1
}
Branch {
DstBlock "is"
DstPort 1
}
}
Branch {
Points [0, -95]
DstBlock "Dot Product1"
DstPort 2
}
}
Line {
Name "Te"
Labels [0, 0]
SrcBlock "Dot Product1"
SrcPort 1
DstBlock "Te"
DstPort 1
}
Line {
SrcBlock "vs"
SrcPort 1
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "wk"
SrcPort 1
Points [0, 0; 5, 0]
Branch {
DstBlock "Product"
DstPort 2
}
Branch {
Points [0, 215]
DstBlock "Sum4"
DstPort 1
}
}
Line {
SrcBlock "wm"
SrcPort 1
Points [30, 0]
DstBlock "Sum4"
DstPort 2
}
Annotation {
Name "ROTOR"
Position [243, 307]
ForegroundColor "red"
FontSize 12
}
Annotation {
Name "STATOR"
Position [238, 96]
ForegroundColor "red"
FontSize 12
}
Annotation {
Name "fs"
Position [337, 89]
}
Annotation {
Name "fr"
Position [335, 304]
}
Annotation {
Name "is"
Position [490, 130]
}
Annotation {
Name "INDUCTION MACHINE SUBSYSTEM IN ARBITRARY RE"
"FERENCE FRAME"
Position [352, 451]
ForegroundColor "blue"
FontSize 12
FontWeight "bold"
}
Annotation {
Name "ir"
Position [489, 216]
}
}
}
Block {
BlockType Integrator
Name "Integrator"
Ports [1, 1]
Position [145, 150, 175, 180]
ForegroundColor "red"
ShowName off
Port {
PortNumber 1
Name "thetas"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
}
Block {
BlockType Integrator
Name "Integrator1"
Ports [1, 1]
Position [435, 415, 465, 445]
Orientation "left"
ForegroundColor "green"
ShowName off
Port {
PortNumber 1
Name "thetar"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -