📄 oloop3t.mdl
字号:
DstPort 1
}
}
Line {
SrcBlock "Block delta a"
SrcPort 1
Points [85, 0; 0, 30]
DstBlock "Terminator_17"
DstPort 1
}
Line {
SrcBlock "Block delta r"
SrcPort 1
DstBlock "Terminator_18"
DstPort 1
}
Line {
SrcBlock "Rate Limiter"
SrcPort 1
Points [25, 0; 0, -30]
DstBlock "Terminator_19"
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_16"
DstPort 1
}
Line {
SrcBlock "Ground_1"
SrcPort 1
Points [-5, -5]
DstBlock "Mux"
DstPort 3
}
Line {
Name "uprop"
Labels [1, 0]
SrcBlock "Mux2"
SrcPort 1
Points [30, 0; 0, -80]
DstBlock "Mux"
DstPort 2
}
Line {
Name "uaero"
Labels [1, 0]
SrcBlock "Mux1"
SrcPort 1
Points [30, 0; 0, 35]
DstBlock "Mux"
DstPort 1
}
Annotation {
Position [313, 27]
VerticalAlignment top
FontName "Arial"
FontSize 11
Text "Step 8. Add three To Workspace blocks "
"from the Simulink library 'Sinks'. The "
"first one is used to create a time-axis "
"in \nthe vector t in the Matlab Workspac"
"e. Connect this block to a Clock block "
"from the Simulink library 'Sources'. "
"The \nsecond To Workspace block "
"is connected to the inputside of the "
"aircraft model; it creates time-trajectories"
" of the devia-\ntions of control inputs "
"in the matrix yin. The last To Workspace "
"block creates a matrix yout with the "
"time-trajectories of \nthe outputs from "
"the linear aircraft model (also deviations "
"from nominal values!). If the original "
"system BEAVER is used \nto obtain a linear "
"state-space model, the outputvector will "
"be: [ V alpha beta p q r psi theta phi "
"xe ye H Hdot pb/2V ... \n... qc/V "
"rb/2V]' (see LEVEL1.HLP and the block-diagr"
"am of level1 of the system BEAVER). "
" "
}
Annotation {
Position [310, 132]
VerticalAlignment top
FontName "Arial"
FontSize 11
Text "Step 9. Add a Scope-block from the library "
"'Sinks' to visualize outputs during simulati"
"on (here, all outputs are shown in\none "
"Scope, even though this gives some problems "
"regarding scaling of the axes). "
" "
" "
}
Annotation {
Position [97, 2]
VerticalAlignment top
ForegroundColor blue
FontName "Times New Roman"
FontSize 14
FontWeight bold
Text "Construction of OLOOP3."
}
}
}
Block {
BlockType SubSystem
Name "OLOOP3e"
Ports [0, 0, 0, 0, 0]
Position [25, 285, 80, 315]
FontName "Arial"
ShowPortLabels off
System {
Name "OLOOP3e"
Location [4, 43, 585, 499]
Open off
ScreenColor white
Block {
BlockType RateLimiter
Name " Rate Limiter"
Position [95, 410, 120, 430]
FontName "Arial"
RisingSlewLimit "1.0"
FallingSlewLimit "-1.0"
}
Block {
BlockType ToWorkspace
Name " To Workspace "
Position [495, 261, 545, 279]
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 [30, 206, 60, 234]
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 [30, 161, 60, 189]
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 e"
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 "Sum"
SrcPort 1
DstBlock "block"
DstPort 1
}
Line {
SrcBlock "Initial value"
SrcPort 1
Points [10, 0; 0, -30]
DstBlock "Sum"
DstPort 3
}
Line {
SrcBlock "Start block"
SrcPort 1
Points [30, 0; 0, 30]
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "End block"
SrcPort 1
DstBlock "Sum"
DstPort 2
}
}
}
Block {
BlockType SubSystem
Name "Block delta r"
Ports [0, 1, 0, 0, 0]
Position [30, 251, 60, 279]
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 r"
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 "Sum"
SrcPort 1
DstBlock "block"
DstPort 1
}
Line {
SrcBlock "Initial value"
SrcPort 1
Points [10, 0; 0, -30]
DstBlock "Sum"
DstPort 3
}
Line {
SrcBlock "Start block"
SrcPort 1
Points [30, 0; 0, 30]
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "End block"
SrcPort 1
DstBlock "Sum"
DstPort 2
}
}
}
Block {
BlockType Clock
Name "Clock"
Position [430, 215, 450, 235]
FontName "Arial"
Location [30, 40, 140, 75]
}
Block {
BlockType Ground
Name "Ground_1"
Position [280, 310, 290, 320]
ShowName off
}
Block {
BlockType Ground
Name "Ground_2"
Position [205, 245, 215, 255]
ShowName off
}
Block {
BlockType Ground
Name "Ground_3"
Position [205, 260, 215, 270]
ShowName off
}
Block {
BlockType Ground
Name "Ground_4"
Position [205, 275, 215, 285]
ShowName off
}
Block {
Bloc
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -