📄 imrotfluxstart.mdl
字号:
BlockType Gain
Name "Gain4"
Position [220, 125, 245, 155]
ShowName off
Gain "2*pi*60"
}
Block {
BlockType Gain
Name "Gain5"
Position [960, 58, 1010, 92]
ShowName off
Gain "Lm/(Lm+Lrl)"
}
Block {
BlockType Integrator
Name "Integrator"
Ports [1, 1]
Position [275, 125, 305, 155]
ShowName off
InitialCondition "[0 0]"
}
Block {
BlockType Integrator
Name "Integrator2"
Ports [1, 1]
Position [815, 115, 845, 145]
ShowName off
InitialCondition "1e-5"
Port {
PortNumber 1
Name "fdr"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
}
Block {
BlockType Mux
Name "Mux"
Ports [2, 1]
Position [325, 166, 330, 204]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Product
Name "Product"
Ports [2, 1]
Position [130, 62, 160, 93]
ShowName off
}
Block {
BlockType Product
Name "Product1"
Ports [2, 1]
Position [890, 56, 935, 89]
ShowName off
}
Block {
BlockType Gain
Name "Rr*Lm/(Lm+Lrl)"
Position [529, 290, 581, 340]
Orientation "down"
NamePlacement "alternate"
Gain "Lm*Rr/(Lm+Lrl)"
}
Block {
BlockType Sum
Name "Sum"
Ports [3, 1]
Position [175, 130, 195, 150]
ShowName off
IconShape "round"
Inputs "-+-"
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [625, 120, 645, 140]
ShowName off
IconShape "round"
Inputs "|+-"
}
Block {
BlockType Sum
Name "Sum4"
Ports [2, 1]
Position [120, 360, 140, 380]
Orientation "left"
ShowName off
IconShape "round"
Inputs "|++"
Port {
PortNumber 1
Name "wf"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
}
Block {
BlockType Terminator
Name "Terminator"
Position [485, 175, 505, 195]
ShowName off
}
Block {
BlockType Product
Name "divide"
Ports [2, 1]
Position [537, 365, 608, 395]
Orientation "down"
Inputs "*/"
Port {
PortNumber 1
Name "wr"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
}
Block {
BlockType SubSystem
Name "flux-current"
Ports [2, 2]
Position [355, 115, 470, 210]
TreatAsAtomicUnit off
System {
Name "flux-current"
Location [674, 436, 1006, 686]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "fs"
Position [20, 23, 50, 37]
}
Block {
BlockType Inport
Name "fr"
Position [20, 88, 50, 102]
Port "2"
}
Block {
BlockType Gain
Name "G22"
Position [125, 195, 155, 225]
NamePlacement "alternate"
Gain "(Lsl+Lm )/(Lsl*Lrl+Lsl*Lm+Lrl*Lm)"
}
Block {
BlockType Gain
Name "Gm"
Position [125, 80, 155, 110]
NamePlacement "alternate"
Gain "Lm /(Lsl*Lrl+Lsl*Lm+Lrl*Lm)"
}
Block {
BlockType Gain
Name "Gm1"
Position [125, 130, 155, 160]
NamePlacement "alternate"
Gain "Lm /(Lsl*Lrl+Lsl*Lm+Lrl*Lm)"
}
Block {
BlockType Gain
Name "Gs"
Position [125, 15, 155, 45]
NamePlacement "alternate"
Gain "(Lrl+Lm) /(Lsl*Lrl+Lsl*Lm+Lrl*Lm)"
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [180, 170, 200, 190]
ShowName off
IconShape "round"
Inputs "-+"
}
Block {
BlockType Sum
Name "Sum4"
Ports [2, 1]
Position [180, 55, 200, 75]
ShowName off
IconShape "round"
Inputs "+-"
}
Block {
BlockType Outport
Name "is"
Position [240, 58, 270, 72]
}
Block {
BlockType Outport
Name "ir"
Position [240, 173, 270, 187]
Port "2"
}
Line {
SrcBlock "fs"
SrcPort 1
Points [0, 0; 45, 0]
Branch {
DstBlock "Gs"
DstPort 1
}
Branch {
Points [0, 115]
DstBlock "Gm1"
DstPort 1
}
}
Line {
SrcBlock "Gs"
SrcPort 1
Points [30, 0]
DstBlock "Sum4"
DstPort 1
}
Line {
SrcBlock "fr"
SrcPort 1
Points [0, 0; 25, 0]
Branch {
DstBlock "Gm"
DstPort 1
}
Branch {
Points [0, 115]
DstBlock "G22"
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 "G22"
SrcPort 1
Points [30, 0]
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "ir"
DstPort 1
}
Annotation {
Name "INVERSE INDUCTANCES"
Position [142, 236]
}
}
}
Block {
BlockType Constant
Name "fqr"
Position [265, 180, 295, 210]
Value "0"
}
Block {
BlockType SubSystem
Name "model"
Ports []
Position [752, 339, 824, 408]
ForegroundColor "darkGreen"
DropShadow on
ShowName off
TreatAsAtomicUnit off
MaskDisplay "plot(-1.5,-1.5,1.5,1.5,cos(0:.01:7),sin(0:."
"01:7) )\ndisp('MODEL')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "model"
Location [481, 310, 1001, 692]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "108"
Annotation {
Name "Mathematical model of the induction mac"
"hine \ndescribed in the rotor flux reference frame.\n(Per unit formulation)"
Position [234, 32]
ForegroundColor "blue"
FontSize 12
FontWeight "bold"
}
Annotation {
Name " Electrical system equations: \n "
" vs = Rs is + 1/wo (dfs/dt) + wf M(pi/2) fs \n whe"
"re the variables is, vs, and fs are 2-dimensional space vectors\n "
" and M(pi/2) represents a 90o space rotator namely [0 -1;1 0]\n "
" wf = wm + wr; wr = Rr Lm/Lr (iqs / fdr)\n 1/wo Lr/Rr (dfdr/d"
"t) + fdr = Lm ids\n fqr = 0\n \n The flux linkage current relatio"
"ns :\n fs = Ls is + Lm ir\n fr = Lm is + Lr ir \n "
" Ls= Lm + Lsl ; Lr = Lm + Lrl\n\n Mechanical syste"
"m equations:\n Te = 2H (dwm/dt) + Bm wm + Tl \n where "
"Te = Lm/Lr (iqs fdr) "
Position [25, 75]
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 Outport
Name "Te"
Position [1025, 68, 1055, 82]
}
Block {
BlockType Outport
Name "is"
Position [710, 228, 740, 242]
Port "2"
}
Block {
BlockType Outport
Name "wf"
Position [250, 328, 280, 342]
Port "3"
}
Line {
SrcBlock "Gain"
SrcPort 1
Points [-20, 0]
DstBlock "Sum"
DstPort 3
}
Line {
SrcBlock "Integrator"
SrcPort 1
Points [0, 0; 15, 0]
Branch {
DstBlock "flux-current"
DstPort 1
}
Branch {
Points [0, -90]
DstBlock "rot"
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 "Sum"
SrcPort 1
DstBlock "Gain4"
DstPort 1
}
Line {
SrcBlock "Gain4"
SrcPort 1
DstBlock "Integrator"
DstPort 1
}
Line {
SrcBlock "flux-current"
SrcPort 1
Points [0, 0; 35, 0]
Branch {
Points [0, 95]
Branch {
DstBlock "Gain"
DstPort 1
}
Branch {
DstBlock "is"
DstPort 1
}
}
Branch {
DstBlock "Demux"
DstPort 1
}
}
Line {
SrcBlock "vs"
SrcPort 1
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "wm"
SrcPort 1
Points [30, 0]
DstBlock "Sum4"
DstPort 2
}
Line {
SrcBlock "Rr*Lm/(Lm+Lrl)"
SrcPort 1
DstBlock "divide"
DstPort 1
}
Line {
Name "ids"
Labels [0, 1]
SrcBlock "Demux"
SrcPort 1
DstBlock "Gain1"
DstPort 1
}
Line {
Name "wf"
Labels [0, 0]
SrcBlock "Sum4"
SrcPort 1
Points [-5, 0; 0, -35]
Branch {
Labels [1, 0]
Points [0, -250]
DstBlock "Product"
DstPort 2
}
Branch {
DstBlock "wf"
DstPort 1
}
}
Line {
Name "wr"
Labels [2, 0]
SrcBlock "divide"
SrcPort 1
Points [0, 10; -405, 0; 0, -40]
DstBlock "Sum4"
DstPort 1
}
Line {
SrcBlock "fqr"
SrcPort 1
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -