?? work007.mdl
字號:
Branch {
DstBlock "Fcn1"
DstPort 1
}
}
Line {
SrcBlock "Mux"
SrcPort 1
Points [10, 0]
Branch {
Points [0, -25]
DstBlock "ia"
DstPort 1
}
Branch {
DstBlock "ib"
DstPort 1
}
}
Line {
SrcBlock "Mux2"
SrcPort 1
DstBlock "Iabc*"
DstPort 1
}
Line {
SrcBlock "Fcn1"
SrcPort 1
DstBlock "Mux"
DstPort 1
}
Line {
SrcBlock "Fcn"
SrcPort 1
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "IT1*"
SrcPort 1
DstBlock "Mux"
DstPort 4
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Gain1"
DstPort 1
}
Line {
SrcBlock "Gain1"
SrcPort 1
Points [5, 0]
DstBlock "Mux2"
DstPort 3
}
}
}
Block {
BlockType UnitDelay
Name "Unit Delay"
Position [480, 295, 520, 335]
Orientation "left"
NamePlacement "alternate"
ShowName off
X0 "0"
SampleTime "1e-5"
RTWStateStorageClass "Auto"
}
Block {
BlockType UnitDelay
Name "Unit Delay1"
Position [455, 345, 495, 385]
Orientation "left"
NamePlacement "alternate"
ShowName off
X0 "0"
SampleTime "1e-5"
RTWStateStorageClass "Auto"
}
Block {
BlockType Reference
Name "Vab"
Tag "PoWeRsYsTeMmEaSuReMeNt"
Ports [2, 1]
Position [660, 23, 685, 47]
SourceBlock "powerlib2/Measurements/Voltage Measurement"
SourceType "Voltage Measurement"
PSBOutputType "0"
PSBequivalent "1"
Port {
PortNumber 1
Name "Vab (V)"
PropagatedSignals "simulink"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
}
}
Block {
BlockType Reference
Name "Vdc"
Tag "PoWeRsYsTeMbLoCk"
Description "source block"
Ports [1, 1]
Position [480, 85, 500, 120]
Orientation "up"
NamePlacement "alternate"
SourceBlock "powerlib2/Electrical\nSources/DC Voltage Source"
SourceType "DC Voltage Source"
V "780"
mesure "None"
PSBOutputType "1"
}
Block {
BlockType Step
Name "w*"
Position [15, 18, 45, 42]
NamePlacement "alternate"
Time "0.5"
Before "60"
After "100"
SampleTime "0"
VectorParams1D on
}
Block {
BlockType SubSystem
Name "weak phir"
Ports [1, 1]
Position [85, 89, 135, 151]
ShowPortLabels on
TreatAsAtomicUnit off
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
MaskPromptString "phir*:"
MaskStyleString "edit"
MaskTunableValueString "on"
MaskEnableString "on"
MaskVisibilityString "on"
MaskToolTipString "on"
MaskVariables "phir=@1;"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "0.98"
System {
Name "weak phir"
Location [2, 74, 790, 575]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "wr"
Position [110, 118, 140, 132]
Port "1"
LatchInput off
Interpolate on
}
Block {
BlockType DataTypeConversion
Name "Data Type \nConversion1"
Position [430, 224, 450, 246]
ShowName off
DataType "double"
SaturateOnIntegerOverflow on
}
Block {
BlockType DataTypeConversion
Name "Data Type \nConversion2"
Position [385, 134, 405, 156]
ShowName off
DataType "double"
SaturateOnIntegerOverflow on
}
Block {
BlockType Fcn
Name "Fcn"
Position [445, 127, 480, 163]
Expr "u[1]*u[2]"
}
Block {
BlockType Fcn
Name "Fcn1"
Position [490, 245, 550, 275]
Expr "u[1]*(u[3]/(u[2]+1e-5))*phir"
}
Block {
BlockType Logic
Name "Logical\nOperator"
Ports [1, 1]
Position [355, 225, 385, 245]
ShowName off
Operator "NOT"
Inputs "2"
}
Block {
BlockType Mux
Name "Mux"
Ports [2, 1]
Position [360, 126, 365, 164]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Mux
Name "Mux1"
Ports [3, 1]
Position [470, 223, 475, 297]
ShowName off
Inputs "3"
DisplayOption "bar"
}
Block {
BlockType RelationalOperator
Name "Relational\nOperator"
Position [255, 117, 285, 148]
Operator "<="
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [580, 167, 615, 223]
ShowName off
IconShape "rectangular"
Inputs "|++"
SaturateOnIntegerOverflow on
}
Block {
BlockType Constant
Name "phir*1"
Position [305, 190, 335, 220]
Value "phir"
VectorParams1D on
}
Block {
BlockType Constant
Name "wn"
Position [110, 185, 140, 215]
Value "120"
VectorParams1D on
}
Block {
BlockType Outport
Name "phir*"
Position [710, 188, 740, 202]
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "wn"
SrcPort 1
Points [20, 0]
Branch {
Points [65, 0; 0, -60]
DstBlock "Relational\nOperator"
DstPort 2
}
Branch {
Points [0, 85]
DstBlock "Mux1"
DstPort 3
}
}
Line {
SrcBlock "wr"
SrcPort 1
Points [45, 0]
Branch {
DstBlock "Relational\nOperator"
DstPort 1
}
Branch {
Points [0, 135]
DstBlock "Mux1"
DstPort 2
}
}
Line {
SrcBlock "Relational\nOperator"
SrcPort 1
Points [10, 0]
Branch {
DstBlock "Mux"
DstPort 1
}
Branch {
Points [0, 100]
DstBlock "Logical\nOperator"
DstPort 1
}
}
Line {
SrcBlock "phir*1"
SrcPort 1
Points [0, -50]
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "Data Type \nConversion2"
DstPort 1
}
Line {
SrcBlock "Logical\nOperator"
SrcPort 1
DstBlock "Data Type \nConversion1"
DstPort 1
}
Line {
SrcBlock "Data Type \nConversion2"
SrcPort 1
DstBlock "Fcn"
DstPort 1
}
Line {
SrcBlock "Data Type \nConversion1"
SrcPort 1
DstBlock "Mux1"
DstPort 1
}
Line {
SrcBlock "Mux1"
SrcPort 1
DstBlock "Fcn1"
DstPort 1
}
Line {
SrcBlock "Fcn"
SrcPort 1
Points [40, 0; 0, 50]
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Fcn1"
SrcPort 1
Points [0, -45]
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "phir*"
DstPort 1
}
}
}
Line {
SrcBlock "w*"
SrcPort 1
DstBlock "PI controler"
DstPort 1
}
Line {
SrcBlock "Induction Motor\n60 HP / 460 V"
SrcPort 1
DstBlock "Demux"
DstPort 1
}
Line {
Name "Vab (V)"
Labels [-1, 0]
SrcBlock "Vab"
SrcPort 1
Points [0, 55]
DstBlock "Scope"
DstPort 1
}
Line {
Labels [3, 1]
SrcBlock "Demux"
SrcPort 3
Points [40, 0; 0, -50]
DstBlock "Scope"
DstPort 3
}
Line {
SrcBlock "Demux"
SrcPort 1
Points [20, 0; 10, 0]
Branch {
Points [0, -60; -255, 0]
DstBlock "Unit Delay"
DstPort 1
}
Branch {
Labels [2, 1]
Points [0, -5]
DstBlock "Scope"
DstPort 2
}
}
Line {
SrcBlock "IM* calculation"
SrcPort 1
Points [25, 0; 0, -55]
DstBlock "TM-ABC"
DstPort 2
}
Line {
SrcBlock "weak phir"
SrcPort 1
DstBlock "IM* calculation"
DstPort 1
}
Line {
SrcBlock "Unit Delay1"
SrcPort 1
Points [-150, 0]
Branch {
Points [-245, 0; 0, -245]
Branch {
Points [0, -60]
DstBlock "PI controler"
DstPort 2
}
Branch {
DstBlock "weak phir"
DstPort 1
}
}
Branch {
DstBlock "Flux-observor"
DstPort 2
}
}
Line {
SrcBlock "PI controler"
SrcPort 1
DstBlock "TM-ABC"
DstPort 1
}
Line {
SrcBlock "ABC-AlphaBeta"
SrcPort 1
DstBlock "Flux-observor"
DstPort 1
}
Line {
SrcBlock "ABC-AlphaBeta"
SrcPort 2
DstBlock "Flux-observor"
DstPort 3
}
Line {
SrcBlock "Flux-observor"
SrcPort 1
Points [0, -40; 175, 0]
DstBlock "TM-ABC"
DstPort 3
}
Line {
SrcBlock "Flux-observor"
SrcPort 2
Points [-15, 0; 0, -110]
DstBlock "IM* calculation"
DstPort 2
}
Line {
SrcBlock "Unit Delay"
SrcPort 1
Points [-75, 0; 0, -80]
Branch {
DstBlock "ABC-AlphaBeta"
DstPort 1
}
Branch {
Points [0, -35]
DstBlock "Current Regulator"
DstPort 2
}
}
Line {
SrcBlock "Bus Bar (thin horiz)"
SrcPort 1
DstBlock "Vdc"
DstPort 1
}
Line {
SrcBlock "Bus Bar (thin horiz)"
SrcPort 2
DstBlock "IGBT Inverter"
DstPort 2
}
Line {
SrcBlock "Vdc"
SrcPort 1
Points [35, 0]
DstBlock "IGBT Inverter"
DstPort 1
}
Line {
SrcBlock "Current Regulator"
SrcPort 1
Points [0, -20]
DstBlock "IGBT Inverter"
DstPort 3
}
Line {
SrcBlock "IGBT Inverter"
SrcPort 1
Points [5, 0]
Branch {
DstBlock "Induction Motor\n60 HP / 460 V"
DstPort 1
}
Branch {
Points [0, -95]
DstBlock "Vab"
DstPort 1
}
}
Line {
SrcBlock "IGBT Inverter"
SrcPort 2
Points [10, 0]
Branch {
DstBlock "Induction Motor\n60 HP / 460 V"
DstPort 2
}
Branch {
Points [0, -105]
DstBlock "Vab"
DstPort 2
}
}
Line {
SrcBlock "IGBT Inverter"
SrcPort 3
DstBlock "Induction Motor\n60 HP / 460 V"
DstPort 3
}
Line {
SrcBlock "TM-ABC"
SrcPort 1
Points [0, 95]
DstBlock "Current Regulator"
DstPort 1
}
Line {
SrcBlock "Load_torque"
SrcPort 1
Points [25, 0; 0, -60]
DstBlock "Induction Motor\n60 HP / 460 V"
DstPort 4
}
Line {
SrcBlock "Demux"
SrcPort 2
DstBlock "Gain1"
DstPort 1
}
Line {
SrcBlock "Gain1"
SrcPort 1
Points [5, 0; 0, 15]
Branch {
Points [0, 195]
DstBlock "Unit Delay1"
DstPort 1
}
Branch {
DstBlock "Scope"
DstPort 4
}
}
Annotation {
Position [44, 234]
Text "wr"
}
}
}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -