📄 oloop3t.mdl
字号:
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "Start block"
SrcPort 1
Points [30, 0; 0, 30]
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Initial value"
SrcPort 1
Points [10, 0; 0, -30]
DstBlock "Sum"
DstPort 3
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "block"
DstPort 1
}
}
}
Block {
BlockType Ground
Name "Ground_1"
Position [360, 325, 370, 335]
ShowName off
}
Block {
BlockType Ground
Name "Ground_2"
Position [285, 260, 295, 270]
ShowName off
}
Block {
BlockType Ground
Name "Ground_3"
Position [285, 275, 295, 285]
ShowName off
}
Block {
BlockType Ground
Name "Ground_4"
Position [285, 290, 295, 300]
ShowName off
}
Block {
BlockType Ground
Name "Ground_5"
Position [285, 385, 295, 395]
ShowName off
}
Block {
BlockType Ground
Name "Ground_6"
Position [285, 400, 295, 410]
ShowName off
}
Block {
BlockType StateSpace
Name "Linear aircraft\nmodel"
Position [435, 301, 510, 339]
BackgroundColor lightBlue
FontName "Arial"
A "Aac"
B "Bac"
C "Cac"
D "Dac"
X0 "0"
}
Block {
BlockType Mux
Name "Mux"
Ports [3, 1, 0, 0, 0]
Position [385, 304, 390, 336]
BackgroundColor black
FontName "Arial"
ShowName off
Inputs "[4 2 6]"
}
Block {
BlockType Mux
Name "Mux1"
Ports [4, 1, 0, 0, 0]
Position [310, 245, 315, 300]
BackgroundColor black
FontName "Arial"
ShowName off
Inputs "4"
}
Block {
BlockType Mux
Name "Mux2"
Ports [2, 1, 0, 0, 0]
Position [310, 380, 315, 415]
BackgroundColor black
FontName "Arial"
ShowName off
Inputs "2"
}
Block {
BlockType RateLimiter
Name "Rate Limiter"
Position [175, 315, 200, 335]
FontName "Arial"
RisingSlewLimit "3*pi/180"
FallingSlewLimit "-3*pi/180"
}
Block {
BlockType RateLimiter
Name "Rate Limiter "
Position [175, 380, 200, 400]
FontName "Arial"
RisingSlewLimit "50"
FallingSlewLimit "-50"
}
Block {
BlockType Step
Name "Step delta f"
Position [115, 315, 135, 335]
FontName "Arial"
Time "0.001"
Before "0"
After "3*pi/180"
}
Block {
BlockType Step
Name "Step n"
Position [115, 380, 135, 400]
FontName "Arial"
Time "1"
Before "0"
After "200"
}
Block {
BlockType Step
Name "Step pz"
Position [115, 425, 135, 445]
FontName "Arial"
Time "0.001"
Before "0"
After "2"
}
Block {
BlockType Terminator
Name "Terminator_16"
Position [265, 400, 275, 410]
ShowName off
}
Block {
BlockType Terminator
Name "Terminator_17"
Position [265, 260, 275, 270]
ShowName off
}
Block {
BlockType Terminator
Name "Terminator_18"
Position [265, 275, 275, 285]
ShowName off
}
Block {
BlockType Terminator
Name "Terminator_19"
Position [265, 290, 275, 300]
ShowName off
}
Block {
BlockType Terminator
Name "Terminator_20"
Position [265, 385, 275, 395]
ShowName off
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "Linear aircraft\nmodel"
DstPort 1
}
Line {
Name "uaero"
Labels [1, 0]
SrcBlock "Mux1"
SrcPort 1
Points [30, 0; 0, 35]
DstBlock "Mux"
DstPort 1
}
Line {
Name "uprop"
Labels [1, 0]
SrcBlock "Mux2"
SrcPort 1
Points [30, 0; 0, -80]
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "Ground_1"
SrcPort 1
DstBlock "Mux"
DstPort 3
}
Line {
SrcBlock " Rate Limiter"
SrcPort 1
Points [25, 0; 0, -30]
DstBlock "Terminator_16"
DstPort 1
}
Line {
SrcBlock "Rate Limiter "
SrcPort 1
DstBlock "Terminator_20"
DstPort 1
}
Line {
SrcBlock "Rate Limiter"
SrcPort 1
Points [25, 0; 0, -30]
DstBlock "Terminator_19"
DstPort 1
}
Line {
SrcBlock "Block delta r"
SrcPort 1
DstBlock "Terminator_18"
DstPort 1
}
Line {
SrcBlock "Block delta a"
SrcPort 1
Points [85, 0; 0, 30]
DstBlock "Terminator_17"
DstPort 1
}
Line {
SrcBlock "Step delta f"
SrcPort 1
DstBlock "Rate Limiter"
DstPort 1
}
Line {
SrcBlock "Step n"
SrcPort 1
DstBlock "Rate Limiter "
DstPort 1
}
Line {
SrcBlock "Step pz"
SrcPort 1
DstBlock " Rate Limiter"
DstPort 1
}
Line {
SrcBlock "Block delta e"
SrcPort 1
Points [128, 0; 0, 60]
DstBlock "Mux1"
DstPort 1
}
Line {
SrcBlock "Ground_2"
SrcPort 1
DstBlock "Mux1"
DstPort 2
}
Line {
SrcBlock "Ground_3"
SrcPort 1
DstBlock "Mux1"
DstPort 3
}
Line {
SrcBlock "Ground_4"
SrcPort 1
DstBlock "Mux1"
DstPort 4
}
Line {
SrcBlock "Ground_5"
SrcPort 1
DstBlock "Mux2"
DstPort 1
}
Line {
SrcBlock "Ground_6"
SrcPort 1
DstBlock "Mux2"
DstPort 2
}
Annotation {
Position [305, 32]
VerticalAlignment top
FontName "Arial"
FontSize 11
Text "Step 6. Add two Mux blocks from the Simulink"
"-library 'Connections'. First Mux-block "
"combines the aerodynamic control \ninputs "
"into one vector uaero. Note: this vector "
"contains DEVIATIONS from the nominal "
"values of delta e, delta a, delta r, "
"\nand delta f. The second Mux-block combines"
" (deviations of!) the engine inputs, "
"n and pz, into one vector uprop. "
}
Annotation {
Position [317, 77]
VerticalAlignment top
FontName "Arial"
FontSize 11
Text "Step 7. Add a third Mux block, which "
"combines the vectors uaero and uprop, "
"with a vector uwind = [0 0 0 0 0 0]' "
"into one \nlarge input-vector. The "
"resulting inputvector consists of deviations"
" of control inputs to the aircraft model; "
"the last six zeros \nare wind and turbulence"
" velocities and their time-derivatives, "
"which are not considered here. Notice "
"that in this diagram, \nthe block-signal"
" delta e is the only one which is actually "
"connected to the Mux-blocks. Try other "
"combinations yourself! \nUse Ground "
"and Termination blocks from the Simulink "
"library Connections to end open lines "
"(otherwise, Simulink will issue \nwarning "
"messages during simulations). "
" "
" "
" "
}
Annotation {
Position [526, 432]
VerticalAlignment top
ForegroundColor red
FontName "Arial"
FontSize 11
Text "Try experimenting with other\ninputsignals "
"yourself!"
}
Annotation {
Position [97, 7]
VerticalAlignment top
ForegroundColor blue
FontName "Times New Roman"
FontSize 14
FontWeight bold
Text "Construction of OLOOP3."
}
}
}
Block {
BlockType SubSystem
Name "OLOOP3d"
Ports [0, 0, 0, 0, 0]
Position [25, 240, 80, 270]
FontName "Arial"
ShowPortLabels off
System {
Name "OLOOP3d"
Location [4, 42, 613, 513]
Open off
ScreenColor white
Block {
BlockType RateLimiter
Name " Rate Limiter"
Position [115, 425, 140, 445]
FontName "Arial"
RisingSlewLimit "1.0"
FallingSlewLimit "-1.0"
}
Block {
BlockType ToWorkspace
Name " To Workspace "
Position [515, 276, 565, 294]
BackgroundColor yellow
FontName "Arial"
VariableName "yin"
Buffer "1000"
Decimation "1"
SampleTime "0"
}
Block {
BlockType SubSystem
Name "Block delta a"
Ports [0, 1, 0, 0, 0]
Position [50, 221, 80, 249]
FontName "Arial"
ShowPortLabels off
MaskType "Block Fcn"
MaskDescription "Block Function"
MaskHelp "This block implements a block signal.\\nDefi"
"ne the initial (=final) value, the\\namplitu"
"de of the block (positive\\n= upwards, "
"negative=downwards),\\nthe start time, "
"and the stop time (must\\nbe smaller "
"than the start time)."
MaskPromptString "Initial value (=final value):|Amplitude "
"of block (+ = step up, - = step down):|Start"
" time of block:|Stop time of block:"
MaskStyleString "edit,edit,edit,edit"
MaskInitialization "yinit=@1; yblock=@2; tstart=@3; tstop=@4;"
MaskDisplay "plot(0,0,100,100,[100,60,60,20,20,0],[50,50,"
"89,89,50,50])"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate none
MaskIconUnits autoscale
MaskValueString "0|3*pi/180|0|2"
System {
Name "Block delta a"
Location [4, 60, 241, 187]
Open off
ScreenColor white
Block {
BlockType Step
Name "End block"
Position [40, 45, 60, 65]
FontName "Arial"
FontSize 9
Time "tstop"
Before "0"
After "-yblock"
}
Block {
BlockType Constant
Name "Initial value"
Position [40, 85, 80, 105]
FontName "Arial"
FontSize 9
Value "yinit"
}
Block {
BlockType Step
Name "Start block"
Position [40, 5, 60, 25]
FontName "Arial"
FontSize 9
Time "tstart"
Before "0"
After "yblock"
}
Block {
BlockType Sum
Name "Sum"
Ports [3, 1, 0, 0, 0]
Position [115, 36, 130, 74]
FontName "Arial"
FontSize 9
ShowName off
Inputs "+++"
}
Block {
BlockType Outport
Name "block"
Position [165, 45, 185, 65]
DropShadow on
FontName "Arial"
FontSize 9
Port "1"
OutputWhenDisabled held
InitialOutput "0"
}
Line {
SrcBlock "End block"
SrcPort 1
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "Start block"
SrcPort 1
Points [30, 0; 0, 30]
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Initial value"
SrcPort 1
Points [10, 0; 0, -30]
DstBlock "Sum"
DstPort 3
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "block"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Block delta e"
Ports [0, 1, 0, 0, 0]
Position [50, 176, 80, 204]
FontName "Arial"
ShowPortLabels off
MaskType "Block Fcn"
MaskDescription "Block Function"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -