📄 f14.mdl
字号:
Name "Gain1"
Position [230, 285, 270, 325]
ShowName off
Gain "Mq"
}
Block {
BlockType Gain
Name "Gain2"
Position [230, 223, 270, 267]
ShowName off
Gain "Mw"
}
Block {
BlockType Gain
Name "Gain5"
Position [530, 222, 580, 268]
ShowName off
Gain "1/Uo"
}
Block {
BlockType Mux
Name "Mux"
Ports [3, 1]
Position [830, 126, 835, 194]
ShowName off
Inputs "3"
DisplayOption "bar"
}
Block {
BlockType SubSystem
Name "Nz pilot\ncalculation"
Ports [2, 1]
Position [520, 20, 590, 75]
TreatAsAtomicUnit off
System {
Name "Nz pilot\ncalculation"
Location [3, 74, 462, 307]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "w"
Position [25, 20, 45, 40]
}
Block {
BlockType Inport
Name "q"
Position [25, 80, 45, 100]
Port "2"
}
Block {
BlockType Constant
Name "Constant"
Position [75, 172, 100, 198]
Value "Uo"
}
Block {
BlockType Derivative
Name "Derivative"
Position [125, 17, 165, 43]
ShowName off
}
Block {
BlockType Derivative
Name "Derivative1"
Position [125, 77, 165, 103]
ShowName off
}
Block {
BlockType Gain
Name "Gain1"
Position [190, 67, 240, 113]
ShowName off
Gain "22.8"
}
Block {
BlockType Gain
Name "Gain2"
Position [320, 67, 370, 113]
ShowName off
Gain "1/g"
}
Block {
BlockType Product
Name "Product"
Ports [2, 1]
Position [145, 132, 170, 163]
ShowName off
}
Block {
BlockType Sum
Name "Sum1"
Ports [3, 1]
Position [265, 75, 295, 105]
ShowName off
IconShape "round"
Inputs "-++"
}
Block {
BlockType Outport
Name "Pilot\ng force (g)"
Position [400, 80, 420, 100]
InitialOutput "0"
}
Line {
SrcBlock "q"
SrcPort 1
Points [35, 0; 0, 0]
Branch {
Points [0, 50]
DstBlock "Product"
DstPort 1
}
Branch {
DstBlock "Derivative1"
DstPort 1
}
}
Line {
SrcBlock "Constant"
SrcPort 1
Points [10, 0; 0, -30]
DstBlock "Product"
DstPort 2
}
Line {
SrcBlock "Gain2"
SrcPort 1
DstBlock "Pilot\ng force (g)"
DstPort 1
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "Gain2"
DstPort 1
}
Line {
SrcBlock "Derivative1"
SrcPort 1
DstBlock "Gain1"
DstPort 1
}
Line {
SrcBlock "Gain1"
SrcPort 1
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "Product"
SrcPort 1
Points [105, 0]
DstBlock "Sum1"
DstPort 3
}
Line {
SrcBlock "Derivative"
SrcPort 1
Points [110, 0]
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "w"
SrcPort 1
DstBlock "Derivative"
DstPort 1
}
Annotation {
Name "Nz pilot calculation"
Position [286, 172]
}
Annotation {
Name "Nz = (dq/dt*22.8 + q*Uo - dw/dt)/g"
Position [285, 192]
}
}
}
Block {
BlockType SignalGenerator
Name "Pilot"
Position [15, 18, 55, 42]
WaveForm "square"
Frequency "0.500000"
Units "rad/sec"
}
Block {
BlockType Scope
Name "Scope"
Ports [1]
Position [875, 144, 905, 176]
FontSize 12
Location [791, 422, 1181, 720]
Open on
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
TimeRange "20"
YMin "-15"
YMax "15"
DataFormat "StructureWithTime"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [295, 235, 315, 255]
ShowName off
IconShape "round"
Inputs "|++"
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [90, 20, 110, 40]
ShowName off
IconShape "round"
Inputs "|++"
}
Block {
BlockType ZeroOrderHold
Name "Zero-Order\nHold"
Position [725, 167, 750, 193]
ShowName off
SampleTime "0.1"
}
Block {
BlockType ZeroOrderHold
Name "Zero-Order\nHold1"
Position [725, 127, 750, 153]
ShowName off
SampleTime "0.1"
}
Block {
BlockType ZeroOrderHold
Name "Zero-Order\nHold2"
Position [770, 147, 795, 173]
ShowName off
SampleTime "0.1"
}
Block {
BlockType Outport
Name "alpha (rad)"
Position [630, 235, 650, 255]
InitialOutput "0"
}
Block {
BlockType Outport
Name "Nz Pilot (g)"
Position [625, 95, 645, 115]
Port "2"
InitialOutput "0"
}
Line {
SrcBlock "Gain5"
SrcPort 1
Points [20, 0]
Branch {
DstBlock "alpha (rad)"
DstPort 1
}
Branch {
Points [0, 100; -540, 0; 0, -220]
DstBlock "Controller"
DstPort 2
}
Branch {
Points [0, -65]
DstBlock "Zero-Order\nHold"
DstPort 1
}
}
Line {
Name "w"
Labels [0, 1]
SrcBlock "Aircraft\nDynamics\nModel"
SrcPort 1
Points [20, 0]
Branch {
Points [0, 0; 0, 100]
DstBlock "Gain5"
DstPort 1
}
Branch {
Points [0, 0; 0, -110]
DstBlock "Nz pilot\ncalculation"
DstPort 1
}
}
Line {
SrcBlock "Nz pilot\ncalculation"
SrcPort 1
Points [5, 0]
Branch {
Points [0, 55]
DstBlock "Nz Pilot (g)"
DstPort 1
}
Branch {
Points [75, 0; 0, 110]
DstBlock "Zero-Order\nHold2"
DstPort 1
}
}
Line {
SrcBlock "Gain2"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Gain"
SrcPort 1
DstBlock "Aircraft\nDynamics\nModel"
DstPort 2
}
Line {
SrcBlock "Pilot"
SrcPort 1
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "u"
SrcPort 1
Points [50, 0]
DstBlock "Sum1"
DstPort 2
}
Line {
Name "qGust"
Labels [0, 1]
SrcBlock "Dryden Wind\nGust Models"
SrcPort 2
Points [40, 0; 0, 35]
DstBlock "Gain1"
DstPort 1
}
Line {
Name "wGust"
Labels [0, 1]
SrcBlock "Dryden Wind\nGust Models"
SrcPort 1
Points [40, 0]
Branch {
DstBlock "Gain2"
DstPort 1
}
Branch {
Points [0, -60]
DstBlock "Gain"
DstPort 1
}
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Aircraft\nDynamics\nModel"
DstPort 3
}
Line {
SrcBlock "Gain1"
SrcPort 1
Points [30, 0]
DstBlock "Sum"
DstPort 2
}
Line {
Name "q"
Labels [0, 1]
SrcBlock "Aircraft\nDynamics\nModel"
SrcPort 2
Points [35, 0]
Branch {
DstBlock "Nz pilot\ncalculation"
DstPort 2
}
Branch {
Points [0, 105; -430, 0]
DstBlock "Controller"
DstPort 3
}
}
Line {
SrcBlock "Actuator\nModel"
SrcPort 1
DstBlock "Aircraft\nDynamics\nModel"
DstPort 1
}
Line {
SrcBlock "Controller"
SrcPort 1
DstBlock "Actuator\nModel"
DstPort 1
}
Line {
SrcBlock "Sum1"
SrcPort 1
Points [10, 0]
Branch {
Points [0, 55; -50, 0]
DstBlock "Controller"
DstPort 1
}
Branch {
Points [310, 0; 0, -15; 265, 0; 0, 125]
DstBlock "Zero-Order\nHold1"
DstPort 1
}
}
Line {
SrcBlock "Zero-Order\nHold1"
SrcPort 1
DstBlock "Mux"
DstPort 1
}
Line {
SrcBlock "Zero-Order\nHold2"
SrcPort 1
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "Zero-Order\nHold"
SrcPort 1
DstBlock "Mux"
DstPort 3
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "Scope"
DstPort 1
}
Annotation {
Name "Simulation parameters:\nSolver: ODE1 (Euler) -"
"> 3-4 ms cycle time\nFixed Step size: 20 ms\nUpload: every 100 ms"
Position [706, 297]
HorizontalAlignment "left"
}
Annotation {
Name "Use the 'External Mode Control panel' to start/"
"stop this model (trigger initially unarmed)"
Position [420, 387]
FontName "Arial"
FontSize 14
FontWeight "bold"
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -