📄 glideslo.mdl
字号:
SrcBlock "gamma\nintegrator"
SrcPort 1
Points [10, 0]
Branch {
DstBlock "gamma"
DstPort 1
}
Branch {
Points [0, 110]
Branch {
DstBlock "sin(gamma)"
DstPort 1
}
Branch {
Points [0, 130]
DstBlock "cos(gamma)"
DstPort 1
}
}
}
Line {
SrcBlock "h\nintegrator"
SrcPort 1
DstBlock "h"
DstPort 1
}
Line {
SrcBlock "h derivative\n"
SrcPort 1
DstBlock "h\nintegrator"
DstPort 1
}
Line {
SrcBlock "sin(gamma)"
SrcPort 1
Points [-5, 0; 25, 0]
Branch {
Points [0, 50]
DstBlock "mg*sin(gamma)"
DstPort 1
}
Branch {
DstBlock "Sum2"
DstPort 1
}
}
Line {
SrcBlock "alpha"
SrcPort 1
Points [25, 0]
Branch {
Points [0, 30]
Branch {
Points [0, 80]
DstBlock "Lift & Drag"
DstPort 1
}
Branch {
DstBlock "cos(alpha)"
DstPort 1
}
}
Branch {
Points [0, -30]
DstBlock "sin(alpha)"
DstPort 1
}
}
Line {
SrcBlock "sin(alpha)"
SrcPort 1
DstBlock "Tsin(alpha)\n"
DstPort 1
}
Line {
SrcBlock "cos(alpha)"
SrcPort 1
DstBlock "Tcos(alpha)\n"
DstPort 1
}
Line {
SrcBlock "T"
SrcPort 1
Points [125, 0; 0, -40]
Branch {
DstBlock "Tcos(alpha)\n"
DstPort 2
}
Branch {
Points [0, -60]
DstBlock "Tsin(alpha)\n"
DstPort 2
}
}
Line {
SrcBlock "g"
SrcPort 1
DstBlock "mg"
DstPort 2
}
Line {
SrcBlock "mg"
SrcPort 1
Points [270, 0; 0, 15]
Branch {
Points [0, -50]
DstBlock "mg*sin(gamma)"
DstPort 2
}
Branch {
DstBlock "mg*cos(gamma)"
DstPort 1
}
}
Line {
SrcBlock "cos(gamma)"
SrcPort 1
Points [0, 0; 30, 0]
Branch {
DstBlock "mg*cos(gamma)"
DstPort 2
}
Branch {
Points [0, 40; -170, 0; 0, -130]
DstBlock "tan(gamma_gs)\n*cos(gamma)"
DstPort 2
}
}
Line {
SrcBlock "*1/m"
SrcPort 1
DstBlock "V\nintegrator"
DstPort 1
}
Line {
SrcBlock "1/m"
SrcPort 1
Points [25, 0; 0, -150]
Branch {
Points [0, -70; 130, 0; 0, -30]
DstBlock "*1/m"
DstPort 2
}
Branch {
DstBlock "*1/mV"
DstPort 1
}
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "*1/m"
DstPort 1
}
Line {
SrcBlock "Lift & Drag"
SrcPort 2
Points [60, 0; 0, -195; 55, 0]
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Tcos(alpha)\n"
SrcPort 1
Points [75, 0; 0, -65]
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "mg*sin(gamma)"
SrcPort 1
Points [135, 0; 0, -235; -495, 0]
DstBlock "Sum"
DstPort 3
}
Line {
SrcBlock "Lift & Drag"
SrcPort 1
Points [110, 0]
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "Tsin(alpha)\n"
SrcPort 1
Points [35, 0; 0, 160]
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "mg*cos(gamma)"
SrcPort 1
Points [40, 0; 0, 60; -405, 0]
DstBlock "Sum1"
DstPort 3
}
Line {
SrcBlock "1/V"
SrcPort 1
Points [5, 0; 0, 40]
DstBlock "*1/mV"
DstPort 2
}
Line {
SrcBlock "*1/mV"
SrcPort 1
DstBlock "gamma\nintegrator"
DstPort 1
}
Line {
SrcBlock "Sum1"
SrcPort 1
Points [10, 0; 0, -30]
DstBlock "*1/mV"
DstPort 3
}
Line {
SrcBlock "gamma_gs"
SrcPort 1
DstBlock "tan(gamma_gs)"
DstPort 1
}
Line {
SrcBlock "Sum2"
SrcPort 1
DstBlock "h derivative\n"
DstPort 2
}
Line {
SrcBlock "tan(gamma_gs)"
SrcPort 1
DstBlock "tan(gamma_gs)\n*cos(gamma)"
DstPort 1
}
Line {
SrcBlock "tan(gamma_gs)\n*cos(gamma)"
SrcPort 1
Points [120, 0]
DstBlock "Sum2"
DstPort 2
}
}
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [195, 175, 215, 195]
BackgroundColor "yellow"
ShowName off
IconShape "round"
Inputs "|++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [195, 235, 215, 255]
BackgroundColor "yellow"
ShowName off
IconShape "round"
Inputs "|++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Constant
Name "T0"
Position [60, 286, 125, 314]
BackgroundColor "yellow"
Value "T_trim"
}
Block {
BlockType Scope
Name "V Scope"
Ports [1]
Position [510, 99, 540, 131]
BackgroundColor "green"
Location [695, 57, 1019, 296]
Open on
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
TimeRange "10"
YMin "81.8"
YMax "81.8"
DataFormat "StructureWithTime"
LimitDataPoints off
}
Block {
BlockType Constant
Name "alpha0"
Position [60, 196, 125, 224]
BackgroundColor "yellow"
Value "alpha_trim"
}
Block {
BlockType Scope
Name "gamma Scope"
Ports [1]
Position [510, 184, 540, 216]
BackgroundColor "green"
Location [695, 356, 1019, 595]
Open on
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
TimeRange "10"
YMin "-0.0523599"
YMax "-0.0523599"
SaveName "ScopeData1"
DataFormat "StructureWithTime"
LimitDataPoints off
}
Block {
BlockType Scope
Name "h Scope"
Ports [1]
Position [510, 264, 540, 296]
BackgroundColor "green"
Location [695, 523, 1019, 762]
Open on
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
TimeRange "10"
YMin "-8e-010"
YMax "0"
SaveName "ScopeData2"
DataFormat "StructureWithTime"
LimitDataPoints off
}
Block {
BlockType Outport
Name "V"
Position [430, 168, 460, 182]
BackgroundColor "lightBlue"
}
Block {
BlockType Outport
Name "gamma"
Position [430, 208, 460, 222]
BackgroundColor "lightBlue"
Port "2"
}
Block {
BlockType Outport
Name "h"
Position [430, 248, 460, 262]
BackgroundColor "lightBlue"
Port "3"
}
Line {
SrcBlock "Aircraft"
SrcPort 1
Points [0, 0; 35, 0]
Branch {
DstBlock "V"
DstPort 1
}
Branch {
Points [0, -60]
DstBlock "V Scope"
DstPort 1
}
}
Line {
SrcBlock "Aircraft"
SrcPort 2
Points [0, 0; 35, 0]
Branch {
DstBlock "gamma"
DstPort 1
}
Branch {
Points [0, -15]
DstBlock "gamma Scope"
DstPort 1
}
}
Line {
SrcBlock "Aircraft"
SrcPort 3
Points [0, 0; 35, 0]
Branch {
DstBlock "h"
DstPort 1
}
Branch {
Points [0, 25]
DstBlock "h Scope"
DstPort 1
}
}
Line {
SrcBlock "alpha"
SrcPort 1
Points [40, 0; 0, 35]
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Aircraft"
DstPort 1
}
Line {
SrcBlock "T"
SrcPort 1
Points [40, 0; 0, -15]
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "Aircraft"
DstPort 2
}
Line {
SrcBlock "alpha0"
SrcPort 1
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "T0"
SrcPort 1
Points [75, 0]
DstBlock "Sum1"
DstPort 2
}
Annotation {
Name "Embedded Control Systems in C/C++\nby Jim Ledin"
"\n\nThis model is used by \"dotrim.m\"\n\nModel of an aircraft on landing app"
"roach."
Position [189, 65]
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -