📄 mrlib.mdl
字号:
SrcBlock "wk"
SrcPort 1
Points [5, 0]
Branch {
Points [0, 215]
DstBlock "Sum4"
DstPort 1
}
Branch {
DstBlock "Product"
DstPort 2
}
}
Line {
SrcBlock "vs"
SrcPort 1
DstBlock "Sum"
DstPort 2
}
Line {
Name "Te"
Labels [0, 0]
SrcBlock "Dot Product2"
SrcPort 1
DstBlock "Te"
DstPort 1
}
Line {
SrcBlock "flux-current1"
SrcPort 1
Points [40, 0]
Branch {
Points [0, -70]
DstBlock "Dot Product2"
DstPort 2
}
Branch {
Points [0, 95]
Branch {
DstBlock "is"
DstPort 1
}
Branch {
DstBlock "Gain"
DstPort 1
}
}
}
Line {
SrcBlock "Gain5"
SrcPort 1
DstBlock "Integrator1"
DstPort 1
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "Gain5"
DstPort 1
}
Line {
SrcBlock "Gain4"
SrcPort 1
DstBlock "Integrator"
DstPort 1
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Gain4"
DstPort 1
}
Line {
SrcBlock "Sum4"
SrcPort 1
DstBlock "Product1"
DstPort 2
}
Line {
SrcBlock "rot2"
SrcPort 1
DstBlock "Dot Product2"
DstPort 1
}
Line {
SrcBlock "rot"
SrcPort 1
Points [-85, 0; 0, 20]
DstBlock "Product"
DstPort 1
}
Line {
SrcBlock "Product"
SrcPort 1
Points [20, 0]
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "rot1"
SrcPort 1
Points [-80, 0; 0, 20]
DstBlock "Product1"
DstPort 1
}
Line {
SrcBlock "Product1"
SrcPort 1
Points [20, 0]
DstBlock "Sum1"
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 "Integrator"
SrcPort 1
Points [15, 0]
Branch {
Points [0, -90]
Branch {
DstBlock "rot2"
DstPort 1
}
Branch {
DstBlock "rot"
DstPort 1
}
}
Branch {
DstBlock "flux-current1"
DstPort 1
}
}
Line {
Name "ir"
Labels [3, 0]
SrcBlock "flux-current1"
SrcPort 2
Points [15, 0; 0, 225]
DstBlock "Gain1"
DstPort 1
}
Line {
SrcBlock "Gain1"
SrcPort 1
Points [-50, 0]
DstBlock "Sum1"
DstPort 3
}
Line {
SrcBlock "vr"
SrcPort 1
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "Gain"
SrcPort 1
Points [-50, 0]
DstBlock "Sum"
DstPort 3
}
Annotation {
Name "ir"
Position [494, 278]
}
Annotation {
Name "VECTORIZED DYNAMIC MODEL OF THE INDUCTION M"
"ACHINE IN ARBITRARY REFERENCE FRAME\n(per unit formulation)"
Position [312, 451]
FontSize 12
FontWeight "bold"
}
Annotation {
Name "is"
Position [490, 120]
}
Annotation {
Name "fr"
Position [335, 294]
}
Annotation {
Name "fs"
Position [337, 79]
}
Annotation {
Name "STATOR"
Position [238, 86]
ForegroundColor "red"
FontSize 12
}
Annotation {
Name "ROTOR"
Position [243, 297]
ForegroundColor "red"
FontSize 12
}
}
}
Block {
BlockType SubSystem
Name "IM1"
Ports [3, 2]
Position [260, 20, 415, 160]
ShowName off
FontSize 14
FontWeight "bold"
TreatAsAtomicUnit off
MaskPromptString "Stator resistance [Ohm]|Rotor resistance [Ohm]|"
"Stator leakage inductance [H]|Rotor leakage inductance [H]|Magnetizing induct"
"ance [H]|Number of poles|Base frequency [rad/s]"
MaskStyleString "edit,edit,edit,edit,edit,edit,edit"
MaskTunableValueString "on,on,on,on,on,on,on"
MaskCallbackString "||||||"
MaskEnableString "on,on,on,on,on,on,on"
MaskVisibilityString "on,on,on,on,on,on,on"
MaskToolTipString "on,on,on,on,on,on,on"
MaskVarAliasString ",,,,,,"
MaskVariables "Rs=@1;Rr=@2;Lsl=@3;Lrl=@4;Lm=@5;p=@6;wo=@7;"
MaskDisplay "patch([-1.1 -1.1 1.2 1.2 -1.3],[-1.3 1.3 1.3 -1"
".3 -1.3],[0.9 .9 .9] )\nplot(-1.5,-1.5,1.5,1.5,cos(0:.01:7),sin(0:.01:7),[-.5"
" -1 1 .5],[-.866 -1.2 -1.2 -.866] )\ndisp('INDUCTION\\nMACHINE\\n(SI)')\nport"
"_label('input',3,'wmec')"
MaskIconFrame on
MaskIconOpaque off
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "0.5|0.5|3e-3|3e-3|100e-3|4|2*pi*60"
System {
Name "IM1"
Location [32, 349, 867, 809]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "vs"
Position [15, 123, 45, 137]
}
Block {
BlockType Inport
Name "wk"
Position [15, 68, 45, 82]
Port "2"
}
Block {
BlockType Inport
Name "wmec"
Position [15, 333, 45, 347]
Port "3"
}
Block {
BlockType SubSystem
Name " ckt"
Ports []
Position [606, 361, 695, 404]
BackgroundColor "lightBlue"
DropShadow on
ShowName off
OpenFcn "helpview(which('imeqsSI.html'));"
FontWeight "bold"
TreatAsAtomicUnit off
MaskDisplay "disp('MATHEMATICAL\\nMODEL')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name " ckt"
Location [116, 520, 441, 651]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
}
}
Block {
BlockType Reference
Name "Dot Product"
Ports [2, 1]
Position [595, 120, 635, 155]
ShowName off
SourceBlock "simulink/Math\nOperations/Dot Product"
SourceType "Dot Product"
}
Block {
BlockType Gain
Name "Gain"
Position [255, 210, 285, 240]
Orientation "left"
ShowName off
Gain "Rs"
}
Block {
BlockType Gain
Name "Gain1"
Position [255, 390, 285, 420]
Orientation "left"
ShowName off
Gain "Rr"
}
Block {
BlockType Gain
Name "Gain2"
Position [660, 123, 720, 157]
ShowName off
Gain "0.75*p*Lm"
}
Block {
BlockType Integrator
Name "Integrator"
Ports [1, 1]
Position [265, 115, 295, 145]
ShowName off
InitialCondition "fs0"
}
Block {
BlockType Integrator
Name "Integrator1"
Ports [1, 1]
Position [260, 325, 290, 355]
ShowName off
InitialCondition "fr0"
}
Block {
BlockType Gain
Name "M"
Position [215, 25, 245, 55]
Orientation "left"
Gain "[0 -1;1 0]"
Multiplication "Matrix(K*u)"
}
Block {
BlockType Gain
Name "M1"
Position [210, 240, 240, 270]
Orientation "left"
Gain "[0 -1;1 0]"
Multiplication "Matrix(K*u)"
}
Block {
BlockType Gain
Name "M2"
Position [540, 160, 570, 190]
Gain "[0 -1;1 0]"
Multiplication "Matrix(K*u)"
}
Block {
BlockType Product
Name "Product"
Ports [2, 1]
Position [145, 52, 175, 83]
ShowName off
}
Block {
BlockType Product
Name "Product1"
Ports [2, 1]
Position [145, 267, 175, 298]
ShowName off
}
Block {
BlockType Sum
Name "Sum"
Ports [3, 1]
Position [190, 120, 210, 140]
ShowName off
IconShape "round"
Inputs "-+-"
}
Block {
BlockType Sum
Name "Sum1"
Ports [3, 1]
Position [190, 330, 210, 350]
ShowName off
IconShape "round"
Inputs "-+-"
}
Block {
BlockType Sum
Name "Sum4"
Ports [2, 1]
Position [95, 280, 115, 300]
ShowName off
IconShape "round"
Inputs "|+-"
}
Block {
BlockType SubSystem
Name "flux-current1"
Ports [2, 2]
Position [360, 106, 480, 199]
ShowName off
FontWeight "bold"
TreatAsAtomicUnit off
MaskDisplay "disp('FLUX-CURRENT\\nRELATIONS')"
MaskIconFrame on
MaskIconOpaque off
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "flux-current1"
Location [831, 512, 1122, 803]
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]
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -