📄 work003.mdl
字号:
sm1 on
sm2 on
sm3 on
sm4 on
sm5 on
sm6 on
sm7 on
sm8 on
sm9 on
sm10 on
sm11 on
asm1 off
asm2 off
asm3 off
asm4 off
asm5 on
asm6 off
asm7 off
asm8 off
asm9 on
asm10 on
asm11 off
pmsm1 on
pmsm2 on
pmsm3 on
pmsm4 on
pmsm5 on
pmsm6 on
lastType "3"
}
Block {
BlockType Gain
Name "Gain"
Position [930, 150, 960, 180]
NamePlacement "alternate"
Gain "2"
Multiplication "Element-wise(K.*u)"
SaturateOnIntegerOverflow on
}
Block {
BlockType Reference
Name "IGBT Inverter"
Tag "PoWeRsYsTeMbLoCk"
Ports [3, 3]
Position [640, 122, 705, 188]
NamePlacement "alternate"
SourceBlock "powerlib2/Power\nElectronics/Universal Bridge"
SourceType "Universal Bridge"
arms "3"
confi "ABC as output terminals"
injcc "1000"
cf "inf"
device "IGBT / Diodes"
Ron "1e-3"
Lon "0"
VFs "[ 0.8 0.8 ]"
Vf ".8"
gtoparameters "[ 1e-6 , 1e-6 ]"
igbtparameters "[ 1e-6 , 2e-6 ]"
mesure "None"
PSBOutputType "111"
}
Block {
BlockType Reference
Name "Induction Motor\n50 HP / 460 V"
Tag "PoWeRsYsTeMbLoCk"
Ports [4, 1]
Position [745, 122, 820, 208]
NamePlacement "alternate"
SourceBlock "powerlib2/Machines/Asynchronous Machine\nSI Uni"
"ts"
SourceType "Asynchronous Machine"
rotType "Squirrel-cage"
ctrl "Stationary"
x1 "[ 50*746, 460, 60 ]"
x2 "[ 0.087 0.8e-3 ]"
x3 "[ 0.228 0.8e-3 ]"
x4 "34.7e-3"
x5 "[1.662 0.1 2 ]"
x6 "[ 1, 0 , 0 , 0 , 0 , 0 , 0 , 0 ]"
PSBOutputType "1110"
iounits "1"
}
Block {
BlockType Step
Name "Load_torque"
Position [665, 205, 695, 235]
Time "0.2"
Before "0"
After "100"
SampleTime "0"
VectorParams1D on
}
Block {
BlockType SubSystem
Name "MT-ABC"
Ports [3, 1]
Position [390, 108, 440, 212]
NamePlacement "alternate"
ShowPortLabels on
TreatAsAtomicUnit off
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
System {
Name "MT-ABC"
Location [473, 309, 897, 472]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "I_M*"
Position [55, 113, 85, 127]
Port "1"
LatchInput off
Interpolate on
}
Block {
BlockType Inport
Name "I_T*"
Position [55, 83, 85, 97]
Port "2"
LatchInput off
Interpolate on
}
Block {
BlockType Inport
Name "Teta"
Position [15, 23, 45, 37]
Port "3"
LatchInput off
Interpolate on
}
Block {
BlockType Fcn
Name "Fcn"
Position [75, 51, 105, 69]
ShowName off
Expr "sin(u)"
}
Block {
BlockType Fcn
Name "Fcn1"
Position [75, 19, 105, 41]
ShowName off
Expr "cos(u)"
}
Block {
BlockType Gain
Name "Gain2"
Position [235, 31, 265, 59]
ShowName off
Gain "sqrt(2/3)"
Multiplication "Element-wise(K.*u)"
SaturateOnIntegerOverflow on
}
Block {
BlockType Gain
Name "Gain3"
Position [265, 61, 295, 89]
ShowName off
Gain "sqrt(2/3)"
Multiplication "Element-wise(K.*u)"
SaturateOnIntegerOverflow on
}
Block {
BlockType Gain
Name "Gain4"
Position [290, 92, 320, 118]
ShowName off
Gain "sqrt(2/3)"
Multiplication "Element-wise(K.*u)"
SaturateOnIntegerOverflow on
}
Block {
BlockType Mux
Name "Mux"
Ports [4, 1]
Position [125, 15, 130, 135]
ShowName off
Inputs "4"
DisplayOption "none"
}
Block {
BlockType Mux
Name "Mux2"
Ports [3, 1]
Position [340, 32, 345, 118]
ShowName off
Inputs "3"
DisplayOption "none"
}
Block {
BlockType Fcn
Name "ia"
Position [165, 35, 190, 55]
NamePlacement "alternate"
Expr "u[1]*u[4]-u[2]*u[3]"
}
Block {
BlockType Fcn
Name "ib"
Position [165, 66, 190, 84]
Expr "(0.866*u[2]-0.5*u[1])*u[4]+(0.5*u[2]+0.866*"
"u[1])*u[3]"
}
Block {
BlockType Fcn
Name "ic"
Position [165, 96, 190, 114]
Expr "(-0.5*u[1]-0.833*u[2])*u[4]+(0.5*u[2]-0.866"
"*u[1])*u[3]"
}
Block {
BlockType Outport
Name "Iabc*"
Position [370, 68, 400, 82]
Port "1"
OutputWhenDisabled "held"
InitialOutput "0"
}
Line {
SrcBlock "Fcn"
SrcPort 1
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "Fcn1"
SrcPort 1
DstBlock "Mux"
DstPort 1
}
Line {
SrcBlock "Mux2"
SrcPort 1
DstBlock "Iabc*"
DstPort 1
}
Line {
SrcBlock "Mux"
SrcPort 1
Points [10, 0]
Branch {
Points [0, -30]
DstBlock "ia"
DstPort 1
}
Branch {
DstBlock "ib"
DstPort 1
}
Branch {
Points [0, 30]
DstBlock "ic"
DstPort 1
}
}
Line {
SrcBlock "Teta"
SrcPort 1
Points [10, 0]
Branch {
DstBlock "Fcn1"
DstPort 1
}
Branch {
DstBlock "Fcn"
DstPort 1
}
}
Line {
SrcBlock "I_T*"
SrcPort 1
DstBlock "Mux"
DstPort 3
}
Line {
SrcBlock "I_M*"
SrcPort 1
DstBlock "Mux"
DstPort 4
}
Line {
SrcBlock "Gain3"
SrcPort 1
DstBlock "Mux2"
DstPort 2
}
Line {
SrcBlock "ic"
SrcPort 1
DstBlock "Gain4"
DstPort 1
}
Line {
SrcBlock "Gain4"
SrcPort 1
DstBlock "Mux2"
DstPort 3
}
Line {
SrcBlock "Gain2"
SrcPort 1
DstBlock "Mux2"
DstPort 1
}
Line {
SrcBlock "ia"
SrcPort 1
DstBlock "Gain2"
DstPort 1
}
Line {
SrcBlock "ib"
SrcPort 1
DstBlock "Gain3"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Observor"
Ports [2, 2]
Position [270, 239, 325, 301]
ShowName off
ShowPortLabels on
TreatAsAtomicUnit off
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
MaskType "Observor"
MaskPromptString "T2|Lm"
MaskStyleString "edit,edit"
MaskTunableValueString "on,on"
MaskCallbackString "|"
MaskEnableString "on,on"
MaskVisibilityString "on,on"
MaskToolTipString "on,on"
MaskVariables "T2=@1;Lm=@2;"
MaskDisplay "text(0.1,0.5,'Observor');"
MaskIconFrame on
MaskIconOpaque off
MaskIconRotate "none"
MaskIconUnits "normalized"
MaskValueString "0.1557|34.7e-3"
MaskVariableAliases ","
System {
Name "Observor"
Location [198, 102, 783, 348]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "automatic"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "i_αβ"
Position [25, 48, 55, 62]
Port "1"
LatchInput off
Interpolate on
}
Block {
BlockType Inport
Name "ω"
Position [25, 88, 55, 102]
Port "2"
LatchInput off
Interpolate on
}
Block {
BlockType Reference
Name "Cartesian to\nPolar"
Ports [2, 2]
Position [475, 64, 505, 131]
SourceBlock "simulink_extras/Transformations/Cartesian t"
"o\nPolar"
SourceType "Cart2Polar"
}
Block {
BlockType Demux
Name "Demux"
Ports [1, 2]
Position [80, 36, 85, 74]
BackgroundColor "black"
ShowName off
Outputs "2"
BusSelectionMode off
}
Block {
BlockType Gain
Name "Gain1"
Position [120, 30, 160, 60]
Gain "Lm"
Multiplication "Element-wise(K.*u)"
SaturateOnIntegerOverflow on
}
Block {
BlockType Gain
Name "Gain2"
Position [120, 78, 160, 112]
Gain "T2"
Multiplication "Element-wise(K.*u)"
SaturateOnIntegerOverflow on
}
Block {
BlockType Gain
Name "Gain3"
Position [120, 149, 160, 181]
Gain "Lm"
Multiplication "Element-wise(K.*u)"
SaturateOnIntegerOverflow on
}
Block {
BlockType Product
Name "Product"
Ports [2, 1]
Position [195, 63, 225, 87]
NamePlacement "alternate"
Inputs "2"
Multiplication "Element-wise(.*)"
SaturateOnIntegerOverflow on
}
Block {
BlockType Product
Name "Product1"
Ports [2, 1]
Position [195, 118, 225, 142]
Inputs "2"
Multiplication "Element-wise(.*)"
SaturateOnIntegerOverflow on
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [255, 26, 275, 64]
ShowName off
IconShape "rectangular"
Inputs "|+-"
SaturateOnIntegerOverflow on
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [255, 136, 275, 174]
ShowName off
IconShape "rectangular"
Inputs "|++"
SaturateOnIntegerOverflow on
}
Block {
BlockType TransferFcn
Name "Transfer Fcn"
Position [325, 27, 385, 63]
Numerator "[1]"
Denominator "[T2 1]"
AbsoluteTolerance "auto"
Realization "auto"
}
Block {
BlockType TransferFcn
Name "Transfer Fcn1"
Position [330, 137, 390, 173]
Numerator "[1]"
Denominator "[T2 1]"
AbsoluteTolerance "auto"
Realization "auto"
}
Block {
BlockType Outport
Name "phi"
Position [530, 73, 560, 87]
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Block {
BlockType Outport
Name "Theta"
Position [530, 108, 560, 122]
Port "2"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "Demux"
SrcPort 1
DstBlock "Gain1"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 2
Points [5, 0; 0, 100]
DstBlock "Gain3"
DstPort 1
}
Line {
SrcBlock "Gain1"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Gain3"
SrcPort 1
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "Gain2"
SrcPort 1
Points [5, 0]
Branch {
Points [0, -25]
DstBlock "Product"
DstPort 1
}
Branch {
Points [0, 40]
DstBlock "Product1"
DstPort 2
}
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Transfer Fcn"
DstPort 1
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "Transfer Fcn1"
DstPort 1
}
Line {
SrcBlock "Transfer Fcn1"
SrcPort 1
Points [0, 0; 15, 0]
Branch {
Points [0, -60; -235, 0; 0, -15]
DstBlock "Product"
DstPort 2
}
Branch {
Points [30, 0; 0, -40]
DstBlock "Cartesian to\nPolar"
DstPort 2
}
}
Line {
SrcBlock "Product"
SrcPort 1
Points [10, 0]
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "Product1"
SrcPort 1
Points [5, 0; 0, 25]
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "Transfer Fcn"
SrcPort 1
Points [0, 0; 25, 0]
Branch {
Points [0, 65; -240, 0; 0, 15]
DstBlock "Product1"
DstPort 1
}
Branch {
Points [25, 0; 0, 35]
DstBlock "Cartesian to\nPolar"
DstPort 1
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -