📄 pah.mdl
字号:
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
AutoZoom on
Block {
BlockType Inport
Name "Ddelta_e"
Position [35, 148, 65, 162]
FontName "Arial"
FontSize 11
Port "1"
PortWidth "-1"
SampleTime "-1"
DataType "auto"
SignalType "auto"
Interpolate on
}
Block {
BlockType Reference
Name "Beaver dynamics"
Ports [3, 2, 0, 0, 0]
Position [200, 107, 280, 223]
BackgroundColor "lightBlue"
FontName "Arial"
FontSize 11
SourceBlock "fdclib10/Beaver dynamics\nfor autopilot mod"
"els"
SourceType "SubSystem"
}
Block {
BlockType Demux
Name "Demux"
Ports [1, 2, 0, 0, 0]
Position [405, 92, 410, 163]
BackgroundColor "black"
ShowName off
Outputs "2"
}
Block {
BlockType Ground
Name "Ground_1"
Position [105, 160, 115, 170]
ShowName off
FontSize 11
}
Block {
BlockType Ground
Name "Ground_2"
Position [105, 170, 115, 180]
ShowName off
FontSize 11
}
Block {
BlockType Ground
Name "Ground_3"
Position [105, 180, 115, 190]
ShowName off
FontSize 11
}
Block {
BlockType Ground
Name "Ground_4"
Position [170, 120, 180, 130]
ShowName off
FontSize 11
}
Block {
BlockType Mux
Name "Mux"
Ports [4, 1, 0, 0, 0]
Position [130, 150, 135, 190]
BackgroundColor "black"
ShowName off
FontName "Arial"
FontSize 11
Inputs "4"
DisplayOption "none"
}
Block {
BlockType Selector
Name "Selector"
Position [345, 86, 385, 174]
ShowName off
FontName "Arial"
FontSize 11
Elements "[5 8]"
InputPortWidth "13"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1, 0, 0, 0]
Position [310, 114, 325, 141]
ShowName off
FontName "Arial"
FontSize 11
IconShape "rectangular"
Inputs "-+"
SaturateOnIntegerOverflow on
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1, 0, 0, 0]
Position [165, 149, 180, 176]
ShowName off
FontName "Arial"
FontSize 11
IconShape "rectangular"
Inputs "++"
SaturateOnIntegerOverflow on
}
Block {
BlockType Terminator
Name "Terminator_12"
Position [295, 190, 305, 200]
ShowName off
FontSize 11
}
Block {
BlockType Constant
Name "c1"
Position [30, 195, 85, 215]
ShowName off
FontName "Arial"
FontSize 11
Value "uprop0"
}
Block {
BlockType Constant
Name "c2"
Position [210, 64, 265, 86]
ShowName off
FontName "Arial"
FontSize 11
Value "[xinco;0]"
}
Block {
BlockType Constant
Name "c3"
Position [30, 105, 85, 125]
ShowName off
FontName "Arial"
FontSize 11
Value "uaero0"
}
Block {
BlockType SubSystem
Name "t"
Ports [0, 0, 0, 0, 0]
Position [15, 15, 178, 61]
ForegroundColor "blue"
ShowName off
FontName "Arial"
FontSize 11
ShowPortLabels off
MaskDisplay "disp('Call aircraft model and convert\\nI/O"
" signals to small-deviations.\\nM.O. Rauw, January 2004')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "t"
Location [469, 57, 574, 147]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
AutoZoom on
}
}
Block {
BlockType Outport
Name "Dtheta"
Position [435, 138, 465, 152]
FontName "Arial"
FontSize 11
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Block {
BlockType Outport
Name "Dq"
Position [435, 103, 465, 117]
FontName "Arial"
FontSize 11
Port "2"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Selector"
DstPort 1
}
Line {
SrcBlock "Beaver dynamics"
SrcPort 1
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "c2"
SrcPort 1
Points [20, 0; 0, 45]
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Beaver dynamics"
SrcPort 2
DstBlock "Terminator_12"
DstPort 1
}
Line {
SrcBlock "Ddelta_e"
SrcPort 1
DstBlock "Mux"
DstPort 1
}
Line {
SrcBlock "Ground_3"
SrcPort 1
DstBlock "Mux"
DstPort 4
}
Line {
SrcBlock "Ground_2"
SrcPort 1
DstBlock "Mux"
DstPort 3
}
Line {
SrcBlock "Ground_1"
SrcPort 1
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "c3"
SrcPort 1
Points [55, 0; 0, 40]
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "Beaver dynamics"
DstPort 2
}
Line {
SrcBlock "c1"
SrcPort 1
DstBlock "Beaver dynamics"
DstPort 3
}
Line {
SrcBlock "Ground_4"
SrcPort 1
DstBlock "Beaver dynamics"
DstPort 1
}
Line {
SrcBlock "Selector"
SrcPort 1
DstBlock "Demux"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 1
DstBlock "Dq"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 2
DstBlock "Dtheta"
DstPort 1
}
Annotation {
Position [102, 247]
VerticalAlignment "top"
ForegroundColor "red"
Text "Add initial inputs. Here the elevator\nis t"
"he only control input; this must \nbe added to uaero0. The engine\ninputs mus"
"t be set to uprop0. Here,\nno atmospheric disturbances are\nconsidered, so uw"
"ind = [0 0 0 0 0 0]'."
FontName "Arial"
FontSize 11
}
Annotation {
Position [392, 247]
VerticalAlignment "top"
ForegroundColor "red"
Text "Subtract initial value of the state \nvect"
"or. Only deviations from the \nnominal flight-condition are used \nas inputs "
"to the control laws."
FontName "Arial"
FontSize 11
}
}
}
Block {
BlockType SubSystem
Name "t"
Ports [0, 0, 0, 0, 0]
Position [15, 15, 156, 78]
ForegroundColor "blue"
DropShadow on
ShowName off
OpenFcn "browse apilot"
FontName "Arial"
FontSize 11
ShowPortLabels off
MaskDisplay "disp('Pitch Attitude Hold mode,\\nwithout turn-"
"compensation\\n(no signal limiters).\\nM.O. Rauw, May 2004')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "t"
Location [469, 78, 574, 168]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
AutoZoom on
}
}
Line {
SrcBlock "ac"
SrcPort 1
Points [15, 0]
Branch {
Points [0, 135; -390, 0; 0, -110]
DstBlock "Sum"
DstPort 2
}
Branch {
DstBlock "Dtheta"
DstPort 1
}
}
Line {
SrcBlock "ac"
SrcPort 2
Points [5, 0]
Branch {
Points [0, 55]
DstBlock "Kq"
DstPort 1
}
Branch {
DstBlock "Dq"
DstPort 1
}
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "Cables &\nactuators"
DstPort 1
}
Line {
Name "Ddeltae"
FontName "Arial"
Labels [1, 0]
SrcBlock "Cables &\nactuators"
SrcPort 1
DstBlock "ac"
DstPort 1
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Ktheta"
DstPort 1
}
Line {
SrcBlock "Dtheta_ref"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Kq"
SrcPort 1
Points [-100, 0; 0, -55]
DstBlock "Sum1"
DstPort 3
}
Line {
SrcBlock "Integrator"
SrcPort 1
Points [5, 0; 0, 30]
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "Ktheta"
SrcPort 1
Points [5, 0]
Branch {
Points [0, -45]
DstBlock "Integrator"
DstPort 1
}
Branch {
DstBlock "Sum1"
DstPort 2
}
}
Annotation {
Position [117, 267]
VerticalAlignment "top"
ForegroundColor "red"
Text "Pitch Attitude Hold"
FontName "Arial"
FontSize 11
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -