📄 oloop3t.mdl
字号:
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 StateSpace
Name "Linear aircraft\nmodel"
Position [370, 266, 445, 304]
BackgroundColor lightBlue
FontName "Arial"
A "Aac"
B "Bac"
C "Cac"
D "Dac"
X0 "0"
}
Block {
BlockType RateLimiter
Name "Rate Limiter"
Position [110, 255, 135, 275]
FontName "Arial"
RisingSlewLimit "3*pi/180"
FallingSlewLimit "-3*pi/180"
}
Block {
BlockType RateLimiter
Name "Rate Limiter "
Position [110, 320, 135, 340]
FontName "Arial"
RisingSlewLimit "50"
FallingSlewLimit "-50"
}
Block {
BlockType Step
Name "Step delta f"
Position [40, 255, 60, 275]
FontName "Arial"
Time "0.001"
Before "0"
After "3*pi/180"
}
Block {
BlockType Step
Name "Step n"
Position [40, 320, 60, 340]
FontName "Arial"
Time "1"
Before "0"
After "200"
}
Block {
BlockType Step
Name "Step pz"
Position [40, 365, 60, 385]
FontName "Arial"
Time "0.001"
Before "0"
After "2"
}
Line {
SrcBlock " Rate Limiter"
SrcPort 1
Points [17, 0; 0, -29; 20, 0]
}
Line {
SrcBlock "Rate Limiter"
SrcPort 1
Points [15, 0; 0, -30; 20, 0]
}
Line {
SrcBlock "Block delta a"
SrcPort 1
Points [85, 0; 0, 30; 20, 0]
}
Line {
SrcBlock "Block delta e"
SrcPort 1
Points [115, 0; 0, 61; 7, 0]
}
Line {
SrcBlock "Step pz"
SrcPort 1
DstBlock " Rate Limiter"
DstPort 1
}
Line {
SrcBlock "Step n"
SrcPort 1
DstBlock "Rate Limiter "
DstPort 1
}
Line {
SrcBlock "Step delta f"
SrcPort 1
DstBlock "Rate Limiter"
DstPort 1
}
Line {
SrcBlock "Block delta r"
SrcPort 1
Points [105, 0]
}
Line {
SrcBlock "Rate Limiter "
SrcPort 1
Points [35, 0]
}
Line {
SrcBlock "Linear aircraft\nmodel"
SrcPort 1
Points [30, 0]
}
Line {
Points [330, 285]
DstBlock "Linear aircraft\nmodel"
DstPort 1
}
Annotation {
Position [292, 337]
VerticalAlignment top
ForegroundColor red
FontName "Arial"
Text "<--- Engine control inputs\n(deviations "
"from initial values)"
}
Annotation {
Position [296, 202]
VerticalAlignment top
ForegroundColor red
FontName "Arial"
Text "<--- Aerodynamic control inputs\n(deviations"
" from initial values)"
}
Annotation {
Position [240, 32]
VerticalAlignment top
FontName "Arial"
FontSize 11
Text "Step 4: Add input-generators. Step-blocks "
"from Simulink-library 'Sources', Block-signa"
"l \ngenerators from the FDC-library 'FDCTOOL"
"S', and Rate Limiter blocks from Simulink-\n"
"library 'Nonlinear' (double-click the "
"block-signal generators to see how they "
"work). "
}
Annotation {
Position [188, 82]
VerticalAlignment top
FontName "Arial"
FontSize 11
Text "Step 5: Enter the block-parameters after "
"double-clicking the blocks."
}
Annotation {
Position [97, 7]
VerticalAlignment top
ForegroundColor blue
FontName "Times New Roman"
FontSize 14
FontWeight bold
Text "Construction of OLOOP3."
}
}
}
Block {
BlockType SubSystem
Name "OLOOP3c"
Ports [0, 0, 0, 0, 0]
Position [25, 195, 80, 225]
FontName "Arial"
ShowPortLabels off
System {
Name "OLOOP3c"
Location [4, 42, 627, 520]
Open off
ScreenColor white
Block {
BlockType RateLimiter
Name " Rate Limiter"
Position [175, 425, 200, 445]
FontName "Arial"
RisingSlewLimit "1.0"
FallingSlewLimit "-1.0"
}
Block {
BlockType SubSystem
Name "Block delta a"
Ports [0, 1, 0, 0, 0]
Position [110, 221, 140, 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 "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 e"
Ports [0, 1, 0, 0, 0]
Position [110, 176, 140, 204]
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 "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 r"
Ports [0, 1, 0, 0, 0]
Position [110, 266, 140, 294]
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 "End block"
SrcPort 1
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -