📄 oloop1t.mdl
字号:
}
Line {
SrcBlock "Initial inputs\nfor engmod"
SrcPort 1
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "Block delta r"
SrcPort 1
Points [110, 0]
}
Line {
SrcBlock "Block delta a"
SrcPort 1
Points [90, 0; 0, 30; 20, 0]
}
Line {
SrcBlock "Beaver model"
SrcPort 2
Points [10, 0]
}
Line {
SrcBlock "Beaver model"
SrcPort 3
Points [10, 0]
}
Line {
SrcBlock "Beaver model"
SrcPort 4
Points [10, 0]
}
Line {
SrcBlock "Beaver model"
SrcPort 5
Points [10, 0]
}
Line {
SrcBlock "Beaver model"
SrcPort 6
Points [10, 0]
}
Line {
SrcBlock "Beaver model"
SrcPort 7
Points [10, 0]
}
Line {
SrcBlock "Beaver model"
SrcPort 8
Points [10, 0]
}
Line {
SrcBlock "Beaver model"
SrcPort 9
Points [10, 0]
}
Line {
SrcBlock "Beaver model"
SrcPort 10
Points [10, 0]
}
Line {
SrcBlock "Beaver model"
SrcPort 11
Points [10, 0]
}
Line {
SrcBlock "Beaver model"
SrcPort 12
Points [10, 0]
}
Line {
SrcBlock "Beaver model"
SrcPort 13
Points [10, 0]
}
Line {
SrcBlock "Beaver model"
SrcPort 14
Points [10, 0]
}
Line {
SrcBlock "Beaver model"
SrcPort 15
Points [10, 0]
}
Line {
SrcBlock "Beaver model"
SrcPort 16
Points [10, 0]
}
Line {
Points [420, 215]
DstBlock "Beaver model"
DstPort 1
}
Line {
Points [420, 275]
DstBlock "Beaver model"
DstPort 2
}
Line {
Points [420, 335]
DstBlock "Beaver model"
DstPort 3
}
Line {
SrcBlock "Beaver model"
SrcPort 1
Points [10, 0]
}
Annotation {
Position [319, 312]
VerticalAlignment top
Text "uprop"
}
Annotation {
Position [321, 237]
VerticalAlignment top
Text "uaero"
}
Annotation {
Position [101, 7]
VerticalAlignment top
ForegroundColor blue
FontName "Times New Roman"
FontSize 14
FontWeight bold
Text "Construction of OLOOP1."
}
Annotation {
Position [438, 402]
VerticalAlignment top
ForegroundColor red
FontName "Arial"
FontSize 11
Text "Note: here only a block input to elevator "
"(block delta e) has actually\nbeen connected"
" to the Mux block, so we will first evaluate"
" responses\nof the 'Beaver' to a block-shape"
"d elevator deflection! If you want to "
"assess \nresponses to the other inputs, "
"change the connections."
}
Annotation {
Position [343, 157]
VerticalAlignment top
ForegroundColor red
FontName "Arial"
Text "<--- Aerodynamic control \ninputs + nominal "
"values"
}
Annotation {
Position [345, 352]
VerticalAlignment top
ForegroundColor red
FontName "Arial"
Text "<--- Engine control inputs + \nnominal "
"values"
}
Annotation {
Position [312, 77]
VerticalAlignment top
FontName "Arial"
FontSize 11
Text "Step 7: The initial values of the control "
"inputs must be added to the deviations "
"coming from the two Mux blocks. The initial\n"
"values of these vectors enter the system "
"OLOOP1 by means of two Constant blocks "
"from the 'Sources' library.\nNote: ua0 "
"and ut0 are Matlab variables which must "
"be defined in the Matlab workspace! Add "
"ua0 and ut0 to the \nvectors with the "
"deviations of the inputsignals by means "
"of Sum-blocks from the Simulink library "
"'Linear'. "
}
Annotation {
Position [323, 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 inputs\nint"
"o one vector. Note: this vector contains "
"DEVIATIONS from the nominal values of "
"delta e, delta a, delta r, and delta "
"f.\nThe second Mux-block combines (deviation"
"s of!) the engine inputs, n and pz, into "
"one vector. "
" "
}
}
}
Block {
BlockType SubSystem
Name "OLOOP1d"
Ports [0, 0, 0, 0, 0]
Position [30, 250, 85, 280]
FontName "Arial"
ShowPortLabels off
System {
Name "OLOOP1d"
Location [4, 42, 638, 507]
Open off
ScreenColor white
Block {
BlockType RateLimiter
Name " Rate Limiter"
Position [90, 405, 115, 425]
FontName "Arial"
RisingSlewLimit "1.0"
FallingSlewLimit "-1.0"
}
Block {
BlockType SubSystem
Name "Auto-scale storage\nGraph Scope"
Ports [1, 0, 0, 0, 0]
Position [570, 295, 600, 335]
BackgroundColor gray
FontName "Arial"
ShowPortLabels off
MaskType "Storage scope."
MaskDescription "Storage scope using MATLAB graph window.\nEn"
"ter plotting ranges and line type."
MaskHelp "Uses MATLAB's graph window.\\nUse only "
"one block per system.\\nLine type must "
"be in quotes.\\nSee the M-file sfunyst.m."
MaskPromptString "Initial Time Range:|Initial y-min:|Initial "
"y-max:|Storage pts.:|Line type (rgbw-.:xo):"
MaskStyleString "edit,edit,edit,edit,edit"
MaskInitialization "npts = @4; color = @5; ax = [0, @1, @2, @3];"
MaskDisplay "plot(0,0,100,100,[83,76,63,52,42,38,28,16,11"
",84,11,11,11,90,90,11],[75,58,47,54,72,80,84"
",74,65,65,65,90,40,40,90,90])"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate none
MaskIconUnits autoscale
MaskValueString "5|-0.02|0.02|200|'r-'"
System {
Name "Auto-scale storage\nGraph Scope"
Location [0, 0, 274, 193]
Open off
ScreenColor white
Block {
BlockType Inport
Name "x"
Position [65, 55, 85, 75]
Port "1"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType S-Function
Name "S-function\nM-file which plots\nlines\n"
Ports [1, 0, 0, 0, 0]
Position [130, 55, 180, 75]
CopyFcn "sfunyst([],[],[],'CopyBlock')"
DeleteFcn "sfunyst([],[],[],'DeleteBlock')"
LoadFcn "sfunyst([],[],[],'LoadBlock')"
FunctionName "sfunyst"
Parameters "ax, color, npts"
}
Line {
SrcBlock "x"
SrcPort 1
DstBlock "S-function\nM-file which plots\nlines\n"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Beaver model"
Ports [3, 16, 0, 0, 0]
Position [410, 231, 500, 409]
BackgroundColor lightBlue
ShowPortLabels on
System {
Name "Beaver model"
Location [14, 46, 609, 566]
Open off
ScreenColor white
Block {
BlockType Inport
Name "uaero"
Position [30, 215, 50, 235]
DropShadow on
FontName "Arial"
FontSize 9
Port "1"
PortWidth "4"
SampleTime "-1"
}
Block {
BlockType Inport
Name "uprop"
Position [30, 280, 50, 300]
DropShadow on
FontName "Arial"
FontSize 9
Port "2"
PortWidth "2"
SampleTime "-1"
}
Block {
BlockType Inport
Name "uwind"
Position [30, 345, 50, 365]
DropShadow on
FontName "Arial"
FontSize 9
Port "3"
PortWidth "6"
SampleTime "-1"
}
Block {
BlockType Outport
Name "V"
Position [530, 55, 550, 75]
DropShadow on
FontName "Arial"
Port "1"
OutputWhenDisabled held
InitialOutput "0"
}
Block {
BlockType Outport
Name "alpha"
Position [495, 70, 515, 90]
DropShadow on
FontName "Arial"
Port "2"
OutputWhenDisabled held
InitialOutput "0"
}
Block {
BlockType Outport
Name "beta"
Position [530, 105, 550, 125]
DropShadow on
FontName "Arial"
Port "3"
OutputWhenDisabled held
InitialOutput "0"
}
Block {
BlockType Outport
Name "p"
Position [495, 120, 515, 140]
DropShadow on
FontName "Arial"
Port "4"
OutputWhenDisabled held
InitialOutput "0"
}
Block {
BlockType Outport
Name "q"
Position [530, 155, 550, 175]
DropShadow on
FontName "Arial"
Port "5"
OutputWhenDisabled held
InitialOutput "0"
}
Block {
BlockType Outport
Name "r"
Position [495, 170, 515, 190]
DropShadow on
FontName "Arial"
Port "6"
OutputWhenDisabled held
InitialOutput "0"
}
Block {
BlockType Outport
Name "psi"
Position [530, 205, 550, 225]
DropShadow on
FontName "Arial"
Port "7"
OutputWhenDisabled held
InitialOutput "0"
}
Block {
BlockType Outport
Name "theta"
Position [495, 220, 515, 240]
DropShadow on
FontName "Arial"
Port "8"
OutputWhenDisabled held
InitialOutput "0"
}
Block {
BlockType Outport
Name "phi"
Position [530, 255, 550, 275]
DropShadow on
FontName "Arial"
Port "9"
OutputWhenDisabled held
InitialOutput "0"
}
Block {
BlockType Outport
Name "xe"
Position [495, 270, 515, 290]
DropShadow on
FontName "Arial"
Port "10"
OutputWhenDisabled held
InitialOutput "0"
}
Block {
BlockType Outport
Name "ye"
Position [530, 305, 550, 325]
DropShadow on
FontName "Arial"
Port "11"
OutputWhenDisabled held
InitialOutput "0"
}
Block {
BlockType Outport
Name "H"
Position [495, 320, 515, 340]
DropShadow on
FontName "Arial"
Port "12"
OutputWhenDisabled held
InitialOutput "0"
}
Block {
BlockType Outport
Name "H dot"
Position [500, 370, 520, 390]
DropShadow on
FontName "Arial"
Port "13"
OutputWhenDisabled held
InitialOutput "0"
}
Block {
BlockType Outport
Name "pb/2V"
Position [535, 400, 555, 420]
DropShadow on
FontName "Arial"
Port "14"
OutputWhenDisabled held
InitialOutput "0"
}
Block {
BlockType Outport
Name "qc/V"
Position [495, 415, 515, 435]
DropShadow on
FontName "Arial"
Port "15"
OutputWhenDisabled held
InitialOutput "0"
}
Block {
BlockType Outport
Name "rb/2V"
Position [535, 450, 555, 470]
DropShadow on
FontName "Arial"
Port "16"
OutputWhenDisabled held
InitialOutput "0"
}
Annotation {
Position [292, 262]
ForegroundColor red
FontSize 16
FontWeight bold
Text "THIS IS A DUMMY COPY \nOF THE BEAVER "
"\nDYNAMICS SUBSYSTEM!"
}
}
}
Block {
BlockType SubSystem
Name "Block delta a"
Ports [0, 1, 0, 0, 0]
Position [35, 211, 65, 239]
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 (pos
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -