📄 navlib1.mdl
字号:
FontSize 11
Value "RWpos"
}
Block {
BlockType Fcn
Name "dgs"
Position [170, 285, 395, 305]
FontName "Arial"
FontSize 11
Expr "(u[4]*tan_gamgs + u[3]) * cos_gamgs"
}
Block {
BlockType Fcn
Name "epsilon gs"
Position [170, 240, 395, 260]
FontName "Arial"
FontSize 11
Expr "gamgs + atan(u[3]/u[4])"
}
Block {
BlockType SubSystem
Name "t"
Ports [0, 0, 0, 0, 0]
Position [7, 7, 158, 42]
ForegroundColor "blue"
DropShadow on
ShowName off
OpenFcn "browse ils"
FontName "Arial"
FontSize 11
ShowPortLabels off
MaskDisplay "disp('Nominal ILS signals\\nM.O. Rauw, Febr"
"uary 2004')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "t"
Location [-5, 57, 105, 157]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
AutoZoom on
}
}
Block {
BlockType Fcn
Name "xf"
Position [125, 55, 325, 75]
FontName "Arial"
FontSize 11
Expr "u[1]*cos_psiRW+u[2]*sin_psiRW"
}
Block {
BlockType Fcn
Name "yf"
Position [125, 90, 325, 110]
FontName "Arial"
FontSize 11
Expr "-u[1]*sin_psiRW+u[2]*cos_psiRW"
}
Block {
BlockType Outport
Name "yils1"
Position [635, 393, 665, 407]
FontName "Arial"
FontSize 11
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Block {
BlockType Outport
Name "yils2"
Position [635, 248, 665, 262]
FontName "Arial"
FontSize 11
Port "2"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Block {
BlockType Outport
Name "yils3"
Position [635, 108, 665, 122]
FontName "Arial"
FontSize 11
Port "3"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Block {
BlockType Outport
Name "yils4"
Position [640, 513, 670, 527]
FontName "Arial"
FontSize 11
Port "4"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "Gamma gs"
SrcPort 1
Points [15, 0; 0, 30; -285, 0; 0, 40]
DstBlock "Mux5"
DstPort 2
}
Line {
SrcBlock "Mux5"
SrcPort 1
DstBlock "ILStest"
DstPort 1
}
Line {
SrcBlock "ILStest"
SrcPort 1
DstBlock "yils4"
DstPort 1
}
Line {
SrcBlock "Gamma loc"
SrcPort 1
Points [25, 0]
Branch {
Points [0, 80; -285, 0; 0, 20]
DstBlock "Mux5"
DstPort 1
}
Branch {
Points [40, 0]
Branch {
DstBlock "Sloc"
DstPort 1
}
Branch {
Points [0, -145]
DstBlock "Mux7"
DstPort 2
}
}
}
Line {
SrcBlock "Mux6"
SrcPort 1
DstBlock "Gamma gs"
DstPort 1
}
Line {
SrcBlock "Mux2"
SrcPort 1
Points [35, 0]
Branch {
Points [0, 0]
DstBlock "epsilon gs"
DstPort 1
}
Branch {
Points [0, 45]
DstBlock "dgs"
DstPort 1
}
}
Line {
SrcBlock "Mux1"
SrcPort 1
DstBlock "yils3"
DstPort 1
}
Line {
SrcBlock "Rloc"
SrcPort 1
Points [20, 0]
Branch {
Points [110, 0; 0, -215]
DstBlock "Mux1"
DstPort 4
}
Branch {
Points [0, 30; -240, 0; 0, 35]
Branch {
DstBlock "Mux3"
DstPort 2
}
Branch {
Points [0, 115]
DstBlock "Mux5"
DstPort 3
}
}
}
Line {
SrcBlock "dgs"
SrcPort 1
Points [10, 0; 0, -185]
DstBlock "Mux1"
DstPort 2
}
Line {
SrcBlock "Mux3"
SrcPort 1
DstBlock "Gamma loc"
DstPort 1
}
Line {
SrcBlock "yf"
SrcPort 1
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "xf"
SrcPort 1
Points [15, 0; 0, 25]
DstBlock "Mux"
DstPort 1
}
Line {
Name "igs"
FontSize 11
Labels [1, 0]
SrcBlock "Sgs"
SrcPort 1
DstBlock "+/- 150 e-6A"
DstPort 1
}
Line {
Name "iloc"
FontSize 11
Labels [1, 0]
SrcBlock "Sloc"
SrcPort 1
DstBlock "+/- 150 e-6A"
DstPort 1
}
Line {
SrcBlock "+/- 150 e-6A"
SrcPort 1
DstBlock "Mux8"
DstPort 2
}
Line {
SrcBlock "Mux7"
SrcPort 1
DstBlock "yils2"
DstPort 1
}
Line {
SrcBlock "+/- 150 e-6A"
SrcPort 1
Points [15, 0]
DstBlock "Mux8"
DstPort 1
}
Line {
SrcBlock "Mux8"
SrcPort 1
DstBlock "yils1"
DstPort 1
}
Line {
SrcBlock "Rgs"
SrcPort 1
Points [20, 0]
Branch {
Points [100, 0; 0, -70]
DstBlock "Mux1"
DstPort 3
}
Branch {
Points [0, 30; -260, 0; 0, 35]
Branch {
DstBlock "Mux2"
DstPort 2
}
Branch {
Points [0, 195]
Branch {
DstBlock "Mux6"
DstPort 2
}
Branch {
Points [0, 85]
DstBlock "Mux5"
DstPort 4
}
}
}
}
Line {
SrcBlock "uils =\n[xe,ye,H]'"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "cnst"
SrcPort 1
DstBlock "Sum"
DstPort 2
}
Line {
Name "Hf"
FontSize 11
Labels [1, 1]
SrcBlock "Demux"
SrcPort 2
Points [255, 0; 0, -20]
DstBlock "Mux"
DstPort 3
}
Line {
SrcBlock "epsilon gs"
SrcPort 1
Points [50, 0]
Branch {
DstBlock "Mux7"
DstPort 1
}
Branch {
DstBlock "Sgs"
DstPort 1
}
}
Line {
Name "[xf yf Hf]'"
FontSize 11
Labels [0, 1]
SrcBlock "Mux"
SrcPort 1
Points [25, 0]
Branch {
Points [0, 65; -330, 0; 0, 25]
Branch {
Points [0, 50]
Branch {
DstBlock "Mux2"
DstPort 1
}
Branch {
Points [0, 105]
Branch {
DstBlock "Rloc"
DstPort 1
}
Branch {
Points [0, 50]
Branch {
DstBlock "Mux3"
DstPort 1
}
Branch {
Points [0, 45]
DstBlock "Mux6"
DstPort 1
}
}
}
}
Branch {
DstBlock "Rgs"
DstPort 1
}
}
Branch {
DstBlock "Mux1"
DstPort 1
}
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Demux"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 1
Points [15, 0]
Branch {
Points [0, 0]
DstBlock "yf"
DstPort 1
}
Branch {
Points [0, -35]
DstBlock "xf"
DstPort 1
}
}
}
}
Block {
BlockType SubSystem
Name "ILS example"
Ports [1, 2, 0, 0, 0]
Position [435, 72, 490, 128]
BackgroundColor "lightBlue"
FontName "Arial"
FontSize 11
ShowPortLabels off
MaskDisplay "plot(0,0,100,100,[53,23,30,61,53],[45,60,64,49,"
"45],[16,27,32,26],[48,40,43,47],[21,20,24,26,21],[44,55,56,47,44],[20,20,16],"
"[50,50,48],[38,27,26,33],[52,46,48,55],[42,38,27],[50,47,46],[40,44,44,45,45,"
"44,42],[48,44,42,42,44,44,50],[47,45,43],[55,58,58],[54,84,98,90,54],[36,21,5"
"6,58,36],[74,68],[34,29],[81,76],[43,38],[87,83],[49,45],[94,89],[57,52],[105"
",105],[0,0])"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "ILS example"
Location [44, 74, 693, 344]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
AutoZoom on
Block {
BlockType Inport
Name "x"
Position [15, 133, 45, 147]
FontName "Arial"
FontSize 11
Port "1"
PortWidth "-1"
SampleTime "-1"
DataType "auto"
SignalType "auto"
Interpolate on
}
Block {
BlockType SubSystem
Name "1/Sgs"
Ports [1, 1, 0, 0, 0]
Position [495, 48, 550, 92]
ShowName off
FontName "Arial"
FontSize 11
ShowPortLabels off
MaskType "1/Sgs"
MaskDescription "Multiplication factor 1/Sgs = abs(gamgs)/62"
"5, with gamgs the nominal glideslope angle measured in [rad]."
MaskHelp "This block implements a multiplication fact"
"or 1/Sgs = abs(gamgs)/625, with gamgs the nominal glideslope angle measured i"
"n [rad]."
MaskPromptString "Nominal glideslope angle [deg]:"
MaskStyleString "edit"
MaskTunableValueString "on"
MaskEnableString "on"
MaskVisibilityString "on"
MaskVariables "gamgs=@1;"
MaskInitialization "K = abs(gamgs)*(pi/180)/625;"
MaskDisplay "plot([0,100,0,0],[0,50,100,0]);disp('1/Sgs "
" ');"
MaskIconFrame off
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "-3"
System {
Name "1/Sgs"
Location [48, 79, 238, 157]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "automatic"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
AutoZoom on
Block {
BlockType Inport
Name "In"
Position [25, 33, 55, 47]
FontSize 11
Port "1"
PortWidth "-1"
SampleTime "-1"
DataType "auto"
SignalType "auto"
Interpolate on
}
Block {
BlockType Gain
Name "1/Sgs"
Position [80, 27, 110, 53]
FontName "Arial"
FontSize 11
Gain "K"
SaturateOnIntegerOverflow on
}
Block {
BlockType Outport
Name "Out"
Position [135, 33, 165, 47]
FontSize 11
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "1/Sgs"
SrcPort 1
DstBlock "Out"
DstPort 1
}
Line {
SrcBlock "In"
SrcPort 1
DstBlock "1/Sgs"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "1/Sloc"
Ports [1, 1, 0, 0, 0]
Position [495, 138, 550, 182]
ShowName off
FontName "Arial"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -