📄 imrotfluxframe2.mdl
字号:
SrcPort 1
Points [45, 0]
Branch {
DstBlock "G11"
DstPort 1
}
Branch {
Points [0, 115]
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, 115]
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 [137, 251]
Text "INVERSE INDUCTANCE"
}
}
}
Block {
BlockType Constant
Name "fqr"
Position [240, 170, 270, 200]
Value "0"
VectorParams1D on
}
Block {
BlockType SubSystem
Name "info"
Ports []
Position [877, 299, 949, 368]
ForegroundColor "darkGreen"
DropShadow on
ShowName off
ShowPortLabels on
TreatAsAtomicUnit off
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
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 "info"
Location [575, 382, 1007, 692]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "84"
AutoZoom on
Annotation {
Position [234, 32]
Text "Mathematical model of the induction mac"
"hine \ndescribed in the rotor flux reference frame.\n(Per unit formulation)"
FontSize 12
FontWeight "bold"
}
Annotation {
Position [25, 75]
HorizontalAlignment "left"
VerticalAlignment "top"
Text " Electrical system equations: \n "
" vs = Rs.is + 1/wo.(dfs/dt) + j.wk.fs \n where the"
" variables is, vs, and fs are 2-dimensional space vectors\n "
"and j represents a 90o space rotator namely j = [0 -1;1 0]\n wf = "
"wm + wr; wr = Rr. Lm/(Lm+Lrl). (iqs / fdr)\n 1/wo.(Lm+Lrl)/Rr.(d"
"fdr/dt) +fdr = Lm.ids\n fqr = 0\n \n The flux linkage current "
"relations :\n fds = (Lm + Lsl).ids + Lm.idr\n fdr = Lm.ids"
" + (Lm + Lrl).idr (D_axis)\n\n fqs = (Lm + Lsl).iqs + Lm.iqr"
"\n fqr = Lm.iqs + (Lm+Lrl).iqr (Q_axis)\n\n Mechanical syst"
"em equations:\n Te = 2H.dwm/dt + Bm.wm + Tl \n where T"
"e = (iqs.fdr). Lm/(Lm + Lrl) \n "
FontName "Arial"
FontSize 12
}
}
}
Block {
BlockType Gain
Name "rot"
Position [175, 15, 205, 45]
Orientation "left"
Gain "[0 -1;1 0]"
Multiplication "Matrix(K*u)"
SaturateOnIntegerOverflow on
}
Block {
BlockType Outport
Name "Te"
Position [1000, 48, 1030, 62]
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Block {
BlockType Outport
Name "is"
Position [685, 208, 715, 222]
Port "2"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Block {
BlockType Outport
Name "wf"
Position [230, 308, 260, 322]
Port "3"
OutputWhenDisabled "held"
InitialOutput "[]"
}
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-current1"
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-current1"
SrcPort 1
Points [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 [55, 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 [-30, 0; 0, -35]
Branch {
DstBlock "wf"
DstPort 1
}
Branch {
Labels [1, 0]
Points [0, -250]
DstBlock "Product"
DstPort 2
}
}
Line {
Name "wr"
Labels [2, 0]
SrcBlock "divide"
SrcPort 1
Points [0, 10; -380, 0; 0, -40]
DstBlock "Sum4"
DstPort 1
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "flux-current1"
DstPort 2
}
Line {
SrcBlock "fqr"
SrcPort 1
DstBlock "Mux"
DstPort 2
}
Line {
Name "iqs"
SrcBlock "Demux"
SrcPort 2
Points [0, 0; 10, 0]
Branch {
Labels [1, 0]
DstBlock "Rr*Lm/(Lm+Lrl)"
DstPort 1
}
Branch {
Points [0, -85]
DstBlock "Product1"
DstPort 1
}
}
Line {
SrcBlock "Gain1"
SrcPort 1
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "Gain2"
DstPort 1
}
Line {
SrcBlock "Gain2"
SrcPort 1
DstBlock "Integrator2"
DstPort 1
}
Line {
Name "fdr"
SrcBlock "Integrator2"
SrcPort 1
Points [0, 0; 20, 0]
Branch {
Points [0, -50]
DstBlock "Product1"
DstPort 2
}
Branch {
Points [0, 50]
Branch {
Labels [1, 0]
Points [0, 85; -190, 0]
Branch {
Points [0, 60; -90, 0]
DstBlock "divide"
DstPort 2
}
Branch {
Points [-370, 0]
DstBlock "Mux"
DstPort 1
}
}
Branch {
Points [-235, 0]
DstBlock "Sum1"
DstPort 2
}
}
}
Line {
SrcBlock "Product1"
SrcPort 1
DstBlock "Gain5"
DstPort 1
}
Line {
SrcBlock "Gain5"
SrcPort 1
DstBlock "Te"
DstPort 1
}
Line {
SrcBlock "flux-current1"
SrcPort 2
DstBlock "Terminator"
DstPort 1
}
Annotation {
Position [213, 76]
ForegroundColor "red"
Text "STATOR"
FontSize 12
}
Annotation {
Position [312, 69]
Text "fs"
}
Annotation {
Position [465, 110]
Text "is"
}
}
}
Block {
BlockType Integrator
Name "Integrator1"
Ports [1, 1]
Position [625, 255, 655, 285]
ShowName off
ExternalReset "none"
InitialConditionSource "internal"
InitialCondition "0"
LimitOutput off
UpperSaturationLimit "inf"
LowerSaturationLimit "-inf"
ShowSaturationPort off
ShowStatePort off
AbsoluteTolerance "auto"
}
Block {
BlockType SubSystem
Name "Mechanical \nsystem"
Ports [2, 1]
Position [650, 106, 750, 204]
BackgroundColor "yellow"
NamePlacement "alternate"
ShowName off
ShowPortLabels on
TreatAsAtomicUnit off
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
MaskDisplay "disp('MECHANICAL\\nSYSTEM')"
MaskIconFrame on
MaskIconOpaque off
MaskIconRotate "none"
MaskIconUnits "autoscale"
Port {
PortNumber 1
Name "wm"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
}
System {
Name "Mechanical \nsystem"
Location [529, 108, 1007, 307]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "automatic"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "155"
AutoZoom on
Block {
BlockType Inport
Name "Te"
Position [15, 48, 45, 62]
Port "1"
Interpolate on
}
Block {
BlockType Inport
Name "Tl"
Position [15, 13, 45, 27]
Port "2"
Interpolate on
}
Block {
BlockType Gain
Name "1/2H"
Position [115, 37, 175, 73]
ShowName off
Gain "1/(2*H)"
Multiplication "Element-wise(K.*u)"
SaturateOnIntegerOverflow on
}
Block {
BlockType Gain
Name "Bm"
Position [145, 80, 175, 110]
Orientation "left"
ShowName off
Gain "Bm"
Multiplication "Element-wise(K.*u)"
SaturateOnIntegerOverflow on
}
Block {
BlockType Integrator
Name "Integrator"
Ports [1, 1]
Position [195, 39, 225, 71]
ShowName off
ExternalReset "none"
InitialConditionSource "internal"
InitialCondition "n0"
LimitOutput off
UpperSaturationLimit "inf"
LowerSaturationLimit "-inf"
ShowSaturationPort off
ShowStatePort off
AbsoluteTolerance "auto"
}
Block {
BlockType Sum
Name "Sum"
Ports [3, 1]
Position [70, 45, 90, 65]
ShowName off
IconShape "round"
Inputs "-+-"
SaturateOnIntegerOverflow on
}
Block {
BlockType Outport
Name "wm"
Position [270, 48, 300, 62]
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "1/2H"
SrcPort 1
DstBlock "Integrator"
DstPort 1
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "1/2H"
DstPort 1
}
Line {
SrcBlock "Bm"
SrcPort 1
Points [-60, 0]
DstBlock "Sum"
DstPort 3
}
Line {
SrcBlock "Integrator"
SrcPort 1
Points [20, 0]
Branch {
Points [0, 40]
DstBlock "Bm"
DstPort 1
}
Branch {
DstBlock "wm"
DstPort 1
}
}
Line {
SrcBlock "Te"
SrcPort 1
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "Tl"
SrcPort 1
Points [30, 0]
DstBlock "Sum"
DstPort 1
}
}
}
Block {
BlockType Mux
Name "Mux4"
Ports [3, 1]
Position [100, 100, 105, 210]
BackgroundColor "black"
ShowName off
Inputs "3"
DisplayOption "bar"
Port {
PortNumber 1
Name "v_ABC"
PropagatedSignals ", , "
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
}
}
Block {
BlockType Mux
Name "Mux6"
Ports [2, 1]
Position [690, 31, 695, 84]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Sin
Name "Sine Wave"
Position [35, 105, 65, 135]
ShowName off
Amplitude "vs"
Frequency "2*pi*ws*60"
Phase "pi/2-an"
SampleTime "0"
VectorParams1D on
}
Block {
BlockType Sin
Name "Sine Wave1"
Position [35, 140, 65, 170]
ShowName off
Amplitude "vs"
Frequency "2*pi*ws*60"
Phase "pi/2-an-2*pi/3"
SampleTime "0"
VectorParams1D on
}
Block {
BlockType Sin
Name "Sine Wave2"
Position [35, 175, 65, 205]
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -