📄 imswing.mdl
字号:
}
Line {
SrcBlock "flux-current1"
SrcPort 1
Points [40, 0]
Branch {
Points [0, 95]
Branch {
DstBlock "Gain"
DstPort 1
}
Branch {
DstBlock "is"
DstPort 1
}
}
Branch {
Points [0, -70]
DstBlock "Dot Product2"
DstPort 2
}
}
Line {
Name "Te"
Labels [0, 0]
SrcBlock "Dot Product2"
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"
SrcPort 1
Points [30, 0]
DstBlock "Sum4"
DstPort 2
}
Annotation {
Name "ROTOR"
Position [243, 297]
ForegroundColor "red"
FontSize 12
}
Annotation {
Name "STATOR"
Position [238, 86]
ForegroundColor "red"
FontSize 12
}
Annotation {
Name "fs"
Position [337, 79]
}
Annotation {
Name "fr"
Position [335, 294]
}
Annotation {
Name "is"
Position [490, 120]
}
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 "ir"
Position [494, 278]
}
}
}
Block {
BlockType Integrator
Name "Integrator2"
Ports [1, 1]
Position [540, 80, 570, 110]
ShowName off
InitialCondition "n0"
Port {
PortNumber 1
Name "wm"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
}
Block {
BlockType Scope
Name "Is"
Ports [1]
Position [460, 211, 495, 259]
NamePlacement "alternate"
Location [628, 493, 1096, 792]
Open on
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "Stator current [pu]"
}
List {
ListType SelectedSignals
axes1 ""
}
TimeRange "0.7000000000000001"
YMin "0.2"
YMax "1.6"
SaveName "ScopeData1"
DataFormat "StructureWithTime"
}
Block {
BlockType Mux
Name "Mux6"
Ports [2, 1]
Position [470, 16, 475, 69]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType SubSystem
Name "SubSystem1"
Ports []
Position [15, 304, 192, 341]
BackgroundColor "yellow"
DropShadow on
ShowName off
OpenFcn "edit(which('imdef1vec.m'))"
FontSize 12
FontWeight "bold"
TreatAsAtomicUnit off
MaskDisplay "disp('Double click this block\\n to modify the "
"parameters');"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "SubSystem1"
Location [152, 182, 650, 482]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
}
}
Block {
BlockType Sum
Name "Sum2"
Ports [3, 1]
Position [410, 85, 430, 105]
ShowName off
IconShape "round"
Inputs "-+-"
}
Block {
BlockType Lookup
Name "Torque pulse"
Position [65, 15, 95, 45]
FontWeight "bold"
InputValues "[0 0.1 0.1 0.4 0.4 1] "
OutputValues "[Tl0 Tl0 0.5 0.5 1 1] "
Port {
PortNumber 1
Name "Tl"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
}
Block {
BlockType Constant
Name "frequency"
Position [30, 140, 60, 170]
FontWeight "bold"
Value "wk"
}
Block {
BlockType SubSystem
Name "info"
Ports []
Position [387, 289, 459, 358]
ForegroundColor "darkGreen"
DropShadow on
ShowName off
FontWeight "bold"
TreatAsAtomicUnit off
MaskDisplay "plot(-1.5,-1.5,1.5,1.5,cos(0:.01:7),sin(0:.01:7"
") )\ndisp('INFO')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "info"
Location [230, 82, 777, 361]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "91"
Annotation {
Name "Running of a Line-Fed Induction Motor \n S"
"ynchronous frame \nPer unit system"
Position [299, 37]
ForegroundColor "blue"
FontSize 12
FontWeight "bold"
}
Annotation {
Name "The induction machine is modeled in vectori"
"zed form in conformity with the state vector formulation. This\none-to-one co"
"rrespondence can be seen by clicking both the INDUCTION MACHINE subsystem blo"
"ck and \n the MATHEMATICAL MODEL equation block. The synchronous reference fr"
"ame is chosen here because \nthe machine is operating under balanced three-ph"
"ase sinusoidal excitation; the input voltage is thefore \nconstant as indicat"
"ed.\nThe parameters describing the electromechanical system are expressed in "
"per unit and are entered\nafter double-clicking the PARAMETERS/IC block. The"
" system is initially assumed to be operated under\n load in a steady state de"
"fined by a specified speed. The initial conditions are established by calling"
" \na phasor calculation based on the standard steady-state equivalent circuit"
" of the induction machine.\nThe simulation can then be run. In the present ca"
"se, it exhibits the dynamic response to a pulsed\napplied torque. The torque "
"developed, the speed, and the stator current are observed on the scopes .\nT"
"he torque-speed dynamic characteristics can then be obtained after double cli"
"cking the X-Y PLOT block.\nA movie of the machine space vectors (in the synch"
"ronous frame) can then produced to be named\n\"imswing.avi\".\n"
Position [15, 75]
HorizontalAlignment "left"
VerticalAlignment "top"
FontName "Arial"
FontSize 12
}
}
}
Block {
BlockType Fcn
Name "mag"
Position [390, 220, 430, 250]
Expr "sqrt(u(1)^2+u(2)^2)"
}
Block {
BlockType Scope
Name "mec"
Ports [2]
Position [625, 34, 660, 81]
NamePlacement "alternate"
Location [630, 86, 1103, 428]
Open on
NumInputPorts "2"
List {
ListType AxesTitles
axes1 "torque [pu]"
axes2 "speed [pu]"
}
List {
ListType SelectedSignals
axes1 ""
axes2 ""
}
TimeRange "0.7000000000000001"
YMin "0~0.97"
YMax "1.5~1.01"
DataFormat "StructureWithTime"
}
Block {
BlockType SubSystem
Name "space vector"
Ports []
Position [597, 290, 665, 356]
ForegroundColor "orange"
DropShadow on
ShowName off
OpenFcn "figure(1),plot(wm,Te,'-b'),grid,title('TORQUE-S"
"PEED DYNAMIC CHARACTERISTICS'),xlabel('SPEED [pu]'),ylabel('TORQUE [pu]'),"
FontWeight "bold"
TreatAsAtomicUnit off
MaskDisplay "plot(-1.5,-1.5,1.5,1.5,cos(0:.01:7),sin(0:.01:7"
") )\ndisp('XY plots')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "space vector"
Location [81, 508, 528, 696]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
}
}
Block {
BlockType Constant
Name "voltage"
Position [30, 90, 60, 120]
FontWeight "bold"
Value "[vs 0]"
}
Block {
BlockType Outport
Name "wm"
Position [645, 88, 675, 102]
}
Block {
BlockType Outport
Name "Te"
Position [380, 108, 410, 122]
Port "2"
}
Block {
BlockType Outport
Name "is"
Position [325, 118, 355, 132]
Port "3"
}
Block {
BlockType Outport
Name "ir"
Position [325, 148, 355, 162]
Port "4"
}
Block {
BlockType Outport
Name "fs"
Position [325, 178, 355, 192]
Port "5"
}
Block {
BlockType Outport
Name "fr"
Position [325, 208, 355, 222]
Port "6"
}
Block {
BlockType Outport
Name "Tl"
Position [320, 38, 350, 52]
Port "7"
}
Line {
SrcBlock "voltage"
SrcPort 1
DstBlock "IM"
DstPort 1
}
Line {
SrcBlock "frequency"
SrcPort 1
DstBlock "IM"
DstPort 2
}
Line {
SrcBlock "IM"
SrcPort 2
Points [0, 0; 10, 0]
Branch {
DstBlock "is"
DstPort 1
}
Branch {
Points [0, 110]
DstBlock "mag"
DstPort 1
}
}
Line {
SrcBlock "Sum2"
SrcPort 1
DstBlock "1/2H"
DstPort 1
}
Line {
SrcBlock "1/2H"
SrcPort 1
DstBlock "Integrator2"
DstPort 1
}
Line {
SrcBlock "Mux6"
SrcPort 1
DstBlock "mec"
DstPort 1
}
Line {
Name "Te"
SrcBlock "IM"
SrcPort 1
Points [0, 0; 75, 0]
Branch {
Labels [-1, 1]
DstBlock "Sum2"
DstPort 2
}
Branch {
Labels [-1, 1]
Points [0, -40]
DstBlock "Mux6"
DstPort 2
}
Branch {
DstBlock "Te"
DstPort 1
}
}
Line {
SrcBlock "Bm"
SrcPort 1
Points [-95, 0]
DstBlock "Sum2"
DstPort 3
}
Line {
Name "wm"
Labels [2, 0]
SrcBlock "Integrator2"
SrcPort 1
Points [0, 0; 35, 0]
Branch {
DstBlock "mec"
DstPort 2
}
Branch {
DstBlock "wm"
DstPort 1
}
Branch {
Points [0, 40]
Branch {
Points [0, 135; -540, 0; 0, -65]
DstBlock "IM"
DstPort 3
}
Branch {
DstBlock "Bm"
DstPort 1
}
}
}
Line {
SrcBlock "Clock2"
SrcPort 1
DstBlock "Torque pulse"
DstPort 1
}
Line {
Name "Tl"
Labels [0, 0]
SrcBlock "Torque pulse"
SrcPort 1
Points [0, 0; 190, 0]
Branch {
Points [130, 0]
Branch {
Labels [-1, 1]
DstBlock "Mux6"
DstPort 1
}
Branch {
DstBlock "Sum2"
DstPort 1
}
}
Branch {
Points [0, 15]
DstBlock "Tl"
DstPort 1
}
}
Line {
SrcBlock "IM"
SrcPort 3
DstBlock "ir"
DstPort 1
}
Line {
SrcBlock "IM"
SrcPort 4
DstBlock "fs"
DstPort 1
}
Line {
SrcBlock "IM"
SrcPort 5
DstBlock "fr"
DstPort 1
}
Line {
SrcBlock "mag"
SrcPort 1
DstBlock "Is"
DstPort 1
}
Annotation {
Name "MECHANICAL SYSTEM"
Position [469, 159]
FontWeight "bold"
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -