📄 pahrah.mdl
字号:
BlockType Reference
Name "Beaver dynamics"
Ports [3, 2, 0, 0, 0]
Position [205, 127, 285, 263]
BackgroundColor "lightBlue"
FontName "Arial"
FontSize 11
SourceBlock "fdclib10/Beaver dynamics\nfor autopilot mod"
"els"
SourceType "SubSystem"
}
Block {
BlockType Demux
Name "Demux"
Ports [1, 4, 0, 0, 0]
Position [415, 90, 420, 220]
BackgroundColor "black"
ShowName off
Outputs "4"
}
Block {
BlockType Ground
Name "Ground_4"
Position [100, 210, 110, 220]
ShowName off
FontSize 11
}
Block {
BlockType Ground
Name "Ground_6"
Position [175, 145, 185, 155]
ShowName off
FontSize 11
}
Block {
BlockType Mux
Name "Mux"
Ports [4, 1, 0, 0, 0]
Position [125, 180, 130, 220]
BackgroundColor "black"
ShowName off
FontName "Arial"
FontSize 11
Inputs "4"
DisplayOption "none"
}
Block {
BlockType Selector
Name "Selector"
Position [355, 111, 395, 199]
ShowName off
FontName "Arial"
FontSize 11
Elements "[5 8 6 9]"
InputPortWidth "13"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1, 0, 0, 0]
Position [320, 139, 335, 166]
ShowName off
FontName "Arial"
FontSize 11
IconShape "rectangular"
Inputs "-+"
SaturateOnIntegerOverflow on
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1, 0, 0, 0]
Position [170, 179, 185, 206]
ShowName off
FontName "Arial"
FontSize 11
IconShape "rectangular"
Inputs "++"
SaturateOnIntegerOverflow on
}
Block {
BlockType Terminator
Name "Terminator_12"
Position [305, 225, 315, 235]
ShowName off
FontSize 11
}
Block {
BlockType Constant
Name "c1"
Position [30, 230, 85, 250]
ShowName off
FontName "Arial"
FontSize 11
Value "uprop0"
}
Block {
BlockType Constant
Name "c2"
Position [230, 79, 280, 101]
ShowName off
FontName "Arial"
FontSize 11
Value "[xinco;0]"
}
Block {
BlockType Constant
Name "c3"
Position [35, 80, 90, 100]
ShowName off
FontName "Arial"
FontSize 11
Value "uaero0"
}
Block {
BlockType SubSystem
Name "t"
Ports [0, 0, 0, 0, 0]
Position [9, 9, 172, 56]
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 "Dq"
Position [450, 103, 480, 117]
FontName "Arial"
FontSize 11
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Block {
BlockType Outport
Name "Dtheta"
Position [450, 133, 480, 147]
FontName "Arial"
FontSize 11
Port "2"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Block {
BlockType Outport
Name "Dr"
Position [450, 163, 480, 177]
FontName "Arial"
FontSize 11
Port "3"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Block {
BlockType Outport
Name "Dphi"
Position [450, 193, 480, 207]
FontName "Arial"
FontSize 11
Port "4"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "Beaver dynamics"
SrcPort 1
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "c2"
SrcPort 1
Points [15, 0; 0, 55]
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Beaver dynamics"
SrcPort 2
DstBlock "Terminator_12"
DstPort 1
}
Line {
SrcBlock "Ddelta_e"
SrcPort 1
Points [30, 0; 0, 70]
DstBlock "Mux"
DstPort 1
}
Line {
SrcBlock "Ground_4"
SrcPort 1
DstBlock "Mux"
DstPort 4
}
Line {
SrcBlock "Ddelta_r"
SrcPort 1
DstBlock "Mux"
DstPort 3
}
Line {
SrcBlock "Ddelta_a"
SrcPort 1
Points [20, 0; 0, 40]
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "c3"
SrcPort 1
Points [55, 0; 0, 95]
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "Beaver dynamics"
DstPort 2
}
Line {
SrcBlock "c1"
SrcPort 1
DstBlock "Beaver dynamics"
DstPort 3
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Selector"
DstPort 1
}
Line {
SrcBlock "Ground_6"
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
}
Line {
SrcBlock "Demux"
SrcPort 3
DstBlock "Dr"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 4
DstBlock "Dphi"
DstPort 1
}
Annotation {
Position [102, 272]
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, 272]
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 Gain
Name "dar"
Position [345, 396, 380, 424]
Orientation "left"
FontName "Arial"
FontSize 11
Gain "dar"
SaturateOnIntegerOverflow on
}
Block {
BlockType Gain
Name "drr-Kr"
Position [345, 350, 380, 380]
Orientation "left"
FontName "Arial"
FontSize 11
Gain "drr-Kr"
SaturateOnIntegerOverflow on
}
Block {
BlockType SubSystem
Name "elevator"
Ports [3, 3, 0, 0, 0]
Position [315, 182, 370, 258]
ShowName off
FontName "Arial"
FontSize 11
ShowPortLabels off
MaskDisplay "disp('Cable &\\nactuator\\ndynamics')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
Port {
PortNumber 1
Name "Ddeltae"
TestPoint off
RTWStorageClass "Auto"
}
Port {
PortNumber 2
Name "Ddeltaa"
TestPoint off
RTWStorageClass "Auto"
}
Port {
PortNumber 3
Name " Ddeltar"
TestPoint off
RTWStorageClass "Auto"
}
System {
Name "elevator"
Location [12, 49, 312, 393]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
AutoZoom on
Block {
BlockType Inport
Name "VDdeltae"
Position [20, 78, 50, 92]
FontName "Arial"
FontSize 11
Port "1"
PortWidth "-1"
SampleTime "-1"
DataType "auto"
SignalType "auto"
Interpolate on
}
Block {
BlockType Inport
Name "VDdeltaa"
Position [15, 148, 45, 162]
FontName "Arial"
FontSize 11
Port "2"
PortWidth "-1"
SampleTime "-1"
DataType "auto"
SignalType "auto"
Interpolate on
}
Block {
BlockType Inport
Name "VDdeltar"
Position [15, 218, 45, 232]
FontName "Arial"
FontSize 11
Port "3"
PortWidth "-1"
SampleTime "-1"
DataType "auto"
SignalType "auto"
Interpolate on
}
Block {
BlockType StateSpace
Name "Ailerons actuator\nand cables"
Position [140, 146, 210, 184]
FontName "Arial"
FontSize 11
A "Aail"
B "Bail"
C "Cail"
D "Dail"
X0 "0"
}
Block {
BlockType StateSpace
Name "Elevator actuator\nand cables"
Position [140, 76, 210, 114]
FontName "Arial"
FontSize 11
A "Aelv"
B "Belv"
C "Celv"
D "Delv"
X0 "0"
}
Block {
BlockType Ground
Name "Ground_1"
Position [70, 165, 80, 175]
ShowName off
FontSize 11
}
Block {
BlockType Ground
Name "Ground_2"
Position [70, 235, 80, 245]
ShowName off
FontSize 11
}
Block {
BlockType Ground
Name "Ground_3"
Position [70, 95, 80, 105]
ShowName off
FontSize 11
}
Block {
BlockType Mux
Name "Mux"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -