⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 navlib2.mdl

📁 matlab的FDC工具箱
💻 MDL
📖 第 1 页 / 共 3 页
字号:
	  Position		  [95, 374, 100, 396]
	  BackgroundColor	  "black"
	  ShowName		  off
	  FontName		  "Arial"
	  FontSize		  11
	  Inputs		  "2"
	  DisplayOption		  "none"
	}
	Block {
	  BlockType		  Mux
	  Name			  "Mux2"
	  Ports			  [2, 1, 0, 0, 0]
	  Position		  [560, 369, 565, 391]
	  BackgroundColor	  "black"
	  ShowName		  off
	  FontName		  "Arial"
	  FontSize		  11
	  Inputs		  "2"
	  DisplayOption		  "none"
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "QDR"
	  Ports			  [1, 1, 0, 0, 0]
	  Position		  [125, 86, 195, 124]
	  FontName		  "Arial"
	  FontSize		  11
	  ShowPortLabels	  on
	  System {
	    Name		    "QDR"
	    Location		    [36, 77, 423, 242]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    ZoomFactor		    "100"
	    AutoZoom		    on
	    Block {
	      BlockType		      Inport
	      Name		      "uVOR"
	      Position		      [15, 83, 45, 97]
	      FontName		      "Arial"
	      FontSize		      11
	      Port		      "1"
	      PortWidth		      "-1"
	      SampleTime	      "-1"
	      DataType		      "auto"
	      SignalType	      "auto"
	      Interpolate	      on
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "Fcn"
	      Position		      [85, 43, 145, 67]
	      ShowName		      off
	      FontName		      "Arial"
	      FontSize		      11
	      Expr		      "u[1]-xVOR"
	    }
	    Block {
	      BlockType		      SubSystem
	      Name		      "QDR formula with protection \nagainst '"
"division-by-zero' warnings"
	      Ports		      [1, 1, 1, 0, 0]
	      Position		      [215, 60, 310, 120]
	      FontName		      "Arial"
	      FontSize		      11
	      ShowPortLabels	      on
	      System {
		Name			"QDR formula with protection \nagainst"
" 'division-by-zero' warnings"
		Location		[36, 77, 427, 233]
		Open			off
		ModelBrowserVisibility	off
		ModelBrowserWidth	200
		ScreenColor		"white"
		PaperOrientation	"landscape"
		PaperPositionMode	"auto"
		PaperType		"usletter"
		PaperUnits		"inches"
		ZoomFactor		"100"
		AutoZoom		on
		Block {
		  BlockType		  Inport
		  Name			  "uVOR"
		  Position		  [35, 103, 65, 117]
		  FontName		  "Arial"
		  FontSize		  11
		  Port			  "1"
		  PortWidth		  "-1"
		  SampleTime		  "-1"
		  DataType		  "auto"
		  SignalType		  "auto"
		  Interpolate		  on
		}
		Block {
		  BlockType		  EnablePort
		  Name			  "Enable"
		  Ports			  [0, 0, 0, 0, 0]
		  Position		  [35, 20, 55, 40]
		  FontName		  "Arial"
		  FontSize		  11
		  StatesWhenEnabling	  "held"
		  ShowOutputPort	  off
		}
		Block {
		  BlockType		  Fcn
		  Name			  "QDR formula"
		  Position		  [95, 100, 280, 120]
		  FontName		  "Arial"
		  FontSize		  11
		  Expr			  "atan((u[2]-yVOR)/(u[1]-xVOR))"
		}
		Block {
		  BlockType		  Outport
		  Name			  "QDR"
		  Position		  [310, 103, 340, 117]
		  FontName		  "Arial"
		  FontSize		  11
		  Port			  "1"
		  OutputWhenDisabled	  "held"
		  InitialOutput		  "0"
		}
		Line {
		  SrcBlock		  "uVOR"
		  SrcPort		  1
		  DstBlock		  "QDR formula"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "QDR formula"
		  SrcPort		  1
		  DstBlock		  "QDR"
		  DstPort		  1
		}
		Annotation {
		  Position		  [231, 39]
		  ForegroundColor	  "red"
		  Text			  "Note: this subsystem is enabled onl"
"y if the denominator in the \nQDR formula is not equal to zero. If the denomi"
"nator is zero, \nthe aircraft flies above the VOR groundstation. In that case"
", \nthis subsystem will return the previous QDR value."
		  FontName		  "Arial"
		  FontSize		  11
		}
	      }
	    }
	    Block {
	      BlockType		      RelationalOperator
	      Name		      "Relational\nOperator"
	      Position		      [180, 18, 210, 42]
	      ShowName		      off
	      FontName		      "Arial"
	      FontSize		      11
	      Operator		      "~="
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "zero"
	      Position		      [125, 16, 145, 34]
	      ShowName		      off
	      FontName		      "Arial"
	      FontSize		      11
	      Value		      "0"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "QDR"
	      Position		      [345, 83, 375, 97]
	      FontName		      "Arial"
	      FontSize		      11
	      Port		      "1"
	      OutputWhenDisabled      "held"
	      InitialOutput	      "[]"
	    }
	    Line {
	      SrcBlock		      "QDR formula with protection \nagainst '"
"division-by-zero' warnings"
	      SrcPort		      1
	      DstBlock		      "QDR"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "zero"
	      SrcPort		      1
	      DstBlock		      "Relational\nOperator"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Fcn"
	      SrcPort		      1
	      Points		      [10, 0; 0, -20]
	      DstBlock		      "Relational\nOperator"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "uVOR"
	      SrcPort		      1
	      Points		      [15, 0]
	      Branch {
		DstBlock		"QDR formula with protection \nagainst"
" 'division-by-zero' warnings"
		DstPort			1
	      }
	      Branch {
		Points			[0, -35]
		DstBlock		"Fcn"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "Relational\nOperator"
	      SrcPort		      1
	      Points		      [45, 0]
	      DstBlock		      "QDR formula with protection \nagainst '"
"division-by-zero' warnings"
	      DstPort		      enable
	    }
	  }
	}
	Block {
	  BlockType		  Fcn
	  Name			  "R_VOR"
	  Position		  [85, 190, 275, 210]
	  FontName		  "Arial"
	  FontSize		  11
	  Expr			  "sqrt((u[1]-xVOR)^2+(u[2]-yVOR)^2)"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "Range-flag"
	  Position		  [240, 375, 355, 395]
	  FontName		  "Arial"
	  FontSize		  11
	  Expr			  "u[2]>u[1]"
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum"
	  Ports			  [2, 1, 0, 0, 0]
	  Position		  [305, 100, 320, 120]
	  ShowName		  off
	  FontName		  "Arial"
	  FontSize		  11
	  IconShape		  "rectangular"
	  Inputs		  "-+"
	  SaturateOnIntegerOverflow on
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum1"
	  Ports			  [2, 1, 0, 0, 0]
	  Position		  [305, 45, 320, 65]
	  ShowName		  off
	  FontName		  "Arial"
	  FontSize		  11
	  IconShape		  "rectangular"
	  Inputs		  "+-"
	  SaturateOnIntegerOverflow on
	}
	Block {
	  BlockType		  Fcn
	  Name			  "VOR-Range approximation"
	  Position		  [80, 310, 520, 330]
	  FontName		  "Arial"
	  FontSize		  11
	  Expr			  "1000*(-2.3570*10^(-6)*(u[3]-HVOR)^2 + 5.708"
"7*10^(-2)*(u[3]-HVOR) + 80.8612)"
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "t"
	  Ports			  [0, 0, 0, 0, 0]
	  Position		  [15, 6, 102, 55]
	  ForegroundColor	  "blue"
	  DropShadow		  on
	  ShowName		  off
	  OpenFcn		  "fdchelp vor"
	  FontName		  "Arial"
	  FontSize		  11
	  ShowPortLabels	  off
	  MaskDisplay		  "disp('VOR signals\\nMarc Rauw\\nJanuary 200"
"5')"
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	  System {
	    Name		    "t"
	    Location		    [24, 192, 134, 277]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    ZoomFactor		    "100"
	    AutoZoom		    on
	  }
	}
	Block {
	  BlockType		  Outport
	  Name			  "yvor1"
	  Position		  [580, 103, 610, 117]
	  FontName		  "Arial"
	  FontSize		  11
	  Port			  "1"
	  OutputWhenDisabled	  "held"
	  InitialOutput		  "[]"
	}
	Block {
	  BlockType		  Outport
	  Name			  "yvor2"
	  Position		  [580, 193, 610, 207]
	  FontName		  "Arial"
	  FontSize		  11
	  Port			  "2"
	  OutputWhenDisabled	  "held"
	  InitialOutput		  "[]"
	}
	Block {
	  BlockType		  Outport
	  Name			  "yvor3"
	  Position		  [580, 373, 610, 387]
	  FontName		  "Arial"
	  FontSize		  11
	  Port			  "3"
	  OutputWhenDisabled	  "held"
	  InitialOutput		  "[]"
	}
	Block {
	  BlockType		  Outport
	  Name			  "yvor4"
	  Position		  [580, 48, 610, 62]
	  FontName		  "Arial"
	  FontSize		  11
	  Port			  "4"
	  OutputWhenDisabled	  "held"
	  InitialOutput		  "[]"
	}
	Line {
	  SrcBlock		  "QDR"
	  SrcPort		  1
	  Points		  [85, 0]
	  Branch {
	    Points		    [0, -45]
	    DstBlock		    "Sum1"
	    DstPort		    2
	  }
	  Branch {
	    DstBlock		    "Sum"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Cone of silence flag"
	  SrcPort		  1
	  Points		  [105, 0]
	  DstBlock		  "Mux2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Mux2"
	  SrcPort		  1
	  DstBlock		  "yvor3"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "VOR-Range approximation"
	  SrcPort		  1
	  Points		  [10, 0; 0, 40; -455, 0]
	  DstBlock		  "Mux1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Range-flag"
	  SrcPort		  1
	  DstBlock		  "Mux2"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Mux1"
	  SrcPort		  1
	  DstBlock		  "Range-flag"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "R_VOR"
	  SrcPort		  1
	  Points		  [15, 0]
	  Branch {
	    Points		    [0, 50]
	    Branch {
	      DstBlock		      "Cone of silence flag"
	      DstPort		      1
	    }
	    Branch {
	      Points		      [-245, 0; 0, 140]
	      DstBlock		      "Mux1"
	      DstPort		      2
	    }
	  }
	  Branch {
	    DstBlock		    "yvor2"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Sum"
	  SrcPort		  1
	  DstBlock		  "+/- 10 deg"
	  DstPort		  1
	}
	Line {
	  Name			  "Gamma_VOR"
	  FontName		  "Arial"
	  FontSize		  11
	  Labels		  [1, 0]
	  SrcBlock		  "+/- 10 deg"
	  SrcPort		  1
	  DstBlock		  "yvor1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Sum1"
	  SrcPort		  1

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -