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

📄 navlib2.mdl

📁 matlab的FDC工具箱
💻 MDL
📖 第 1 页 / 共 3 页
字号:
Library {
  Name			  "navlib2"
  Version		  3.00
  BlockDataTips		  on
  BlockParametersDataTip  on
  BlockAttributesDataTip  off
  BlockPortWidthsDataTip  off
  BlockDescriptionStringDataTip	off
  BlockMaskParametersDataTip off
  ToolBar		  off
  StatusBar		  off
  BrowserShowLibraryLinks off
  BrowserLookUnderMasks	  off
  Created		  "Tue Mar 18 15:22:07 2003"
  UpdateHistory		  "UpdateHistoryNever"
  ModifiedByFormat	  "%<Auto>"
  LastModifiedBy	  "Dutchroll"
  ModifiedDateFormat	  "%<Auto>"
  LastModifiedDate	  "Fri Jan 21 22:54:38 2005"
  ModelVersionFormat	  "1.%<AutoIncrement:11>"
  ConfigurationManager	  "none"
  BlockDefaults {
    Orientation		    "right"
    ForegroundColor	    "black"
    BackgroundColor	    "white"
    DropShadow		    off
    NamePlacement	    "normal"
    FontName		    "Helvetica"
    FontSize		    10
    FontWeight		    "normal"
    FontAngle		    "normal"
    ShowName		    on
  }
  AnnotationDefaults {
    HorizontalAlignment	    "center"
    VerticalAlignment	    "middle"
    ForegroundColor	    "black"
    BackgroundColor	    "white"
    DropShadow		    off
    FontName		    "Helvetica"
    FontSize		    10
    FontWeight		    "normal"
    FontAngle		    "normal"
  }
  LineDefaults {
    FontName		    "Helvetica"
    FontSize		    9
    FontWeight		    "normal"
    FontAngle		    "normal"
  }
  System {
    Name		    "navlib2"
    Location		    [21, 55, 346, 235]
    Open		    on
    ModelBrowserVisibility  off
    ModelBrowserWidth	    200
    ScreenColor		    "white"
    PaperOrientation	    "landscape"
    PaperPositionMode	    "auto"
    PaperType		    "usletter"
    PaperUnits		    "inches"
    ZoomFactor		    "100"
    AutoZoom		    on
    ReportName		    "simulink-default.rpt"
    Block {
      BlockType		      SubSystem
      Name		      "VOR"
      Ports		      [2, 4, 0, 0, 0]
      Position		      [35, 44, 95, 101]
      FontName		      "Arial"
      FontSize		      11
      ShowPortLabels	      off
      MaskType		      "VOR"
      MaskDescription	      "Calculation of nominal VOR signals"
      MaskHelp		      "eval('fdchelp vor')"
      MaskPromptString	      "X-position of VOR station, relative to aircraft"
" at t=0 sec. [m]:|Y-position of VOR station, relative to aircraft at t=0 sec."
" [m]:|Altitude of VOR station above sea level [m]:|Course Datum [deg]; 0 = no"
"rth:"
      MaskStyleString	      "edit,edit,edit,edit"
      MaskTunableValueString  "on,on,on,on"
      MaskCallbackString      "|||"
      MaskEnableString	      "on,on,on,on"
      MaskVisibilityString    "on,on,on,on"
      MaskVariables	      "xVOR=@1;yVOR=@2;HVOR=@3;CD=@4;"
      MaskInitialization      " CD=CD*pi/180;"
      MaskDisplay	      "disp('Nominal\\nVOR\\nsignals')"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      MaskValueString	      "10000|5000|0|0"
      System {
	Name			"VOR"
	Location		[27, 62, 653, 489]
	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=\n[xe ye H]'"
	  Position		  [15, 98, 45, 112]
	  FontName		  "Arial"
	  FontSize		  11
	  Port			  "1"
	  PortWidth		  "-1"
	  SampleTime		  "-1"
	  DataType		  "auto"
	  SignalType		  "auto"
	  Interpolate		  on
	}
	Block {
	  BlockType		  Inport
	  Name			  "psi"
	  Position		  [235, 43, 270, 57]
	  FontName		  "Arial"
	  FontSize		  11
	  Port			  "2"
	  PortWidth		  "-1"
	  SampleTime		  "-1"
	  DataType		  "auto"
	  SignalType		  "auto"
	  Interpolate		  on
	}
	Block {
	  BlockType		  Saturate
	  Name			  "+/- 10 deg"
	  Position		  [430, 100, 455, 120]
	  FontName		  "Arial"
	  FontSize		  11
	  UpperLimit		  "10*pi/180"
	  LowerLimit		  "-10*pi/180"
	  Port {
	    PortNumber		    1
	    Name		    "Gamma_VOR"
	    TestPoint		    off
	    RTWStorageClass	    "Auto"
	  }
	}
	Block {
	  BlockType		  Fcn
	  Name			  "1 = to, 0 = from"
	  Position		  [380, 45, 495, 65]
	  FontName		  "Arial"
	  FontSize		  11
	  Expr			  "abs(u[1]) > (pi/2)"
	}
	Block {
	  BlockType		  Constant
	  Name			  "CD (const.)"
	  Position		  [240, 129, 270, 151]
	  FontName		  "Arial"
	  FontSize		  11
	  Value			  "CD"
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Cone of silence flag"
	  Ports			  [2, 1, 0, 0, 0]
	  Position		  [320, 238, 435, 282]
	  FontName		  "Arial"
	  FontSize		  11
	  ShowPortLabels	  on
	  System {
	    Name		    "Cone of silence flag"
	    Location		    [39, 77, 447, 286]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    ZoomFactor		    "100"
	    AutoZoom		    on
	    Block {
	      BlockType		      Inport
	      Name		      "R_VOR"
	      Position		      [15, 73, 50, 87]
	      FontName		      "Arial"
	      FontSize		      11
	      Port		      "1"
	      PortWidth		      "-1"
	      SampleTime	      "-1"
	      DataType		      "auto"
	      SignalType	      "auto"
	      Interpolate	      on
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "uVOR"
	      Position		      [15, 123, 50, 137]
	      FontName		      "Arial"
	      FontSize		      11
	      Port		      "2"
	      PortWidth		      "-1"
	      SampleTime	      "-1"
	      DataType		      "auto"
	      SignalType	      "auto"
	      Interpolate	      on
	    }
	    Block {
	      BlockType		      Logic
	      Name		      "Logical\nOperator"
	      Ports		      [1, 1, 0, 0, 0]
	      Position		      [280, 92, 315, 118]
	      ShowName		      off
	      FontName		      "Arial"
	      FontSize		      11
	      Operator		      "NOT"
	      Inputs		      "1"
	    }
	    Block {
	      BlockType		      RelationalOperator
	      Name		      "Relational\nOperator"
	      Position		      [80, 19, 110, 46]
	      ShowName		      off
	      FontName		      "Arial"
	      FontSize		      14
	      Operator		      "~="
	    }
	    Block {
	      BlockType		      SubSystem
	      Name		      "Reversed cone of silence\n flag with pr"
"otection against\n'division by zero' warnings."
	      Ports		      [2, 1, 1, 0, 0]
	      Position		      [130, 53, 255, 157]
	      FontName		      "Arial"
	      FontSize		      11
	      ShowPortLabels	      on
	      System {
		Name			"Reversed cone of silence\n flag with "
"protection against\n'division by zero' warnings."
		Location		[65, 103, 499, 275]
		Open			off
		ModelBrowserVisibility	off
		ModelBrowserWidth	200
		ScreenColor		"white"
		PaperOrientation	"landscape"
		PaperPositionMode	"auto"
		PaperType		"usletter"
		PaperUnits		"inches"
		ZoomFactor		"100"
		AutoZoom		on
		Block {
		  BlockType		  Inport
		  Name			  "R_VOR"
		  Position		  [20, 128, 50, 142]
		  FontName		  "Arial"
		  FontSize		  11
		  Port			  "1"
		  PortWidth		  "-1"
		  SampleTime		  "-1"
		  DataType		  "auto"
		  SignalType		  "auto"
		  Interpolate		  on
		}
		Block {
		  BlockType		  Inport
		  Name			  "uVOR"
		  Position		  [20, 88, 50, 102]
		  FontName		  "Arial"
		  FontSize		  11
		  Port			  "2"
		  PortWidth		  "-1"
		  SampleTime		  "-1"
		  DataType		  "auto"
		  SignalType		  "auto"
		  Interpolate		  on
		}
		Block {
		  BlockType		  EnablePort
		  Name			  "Enable"
		  Ports			  [0, 0, 0, 0, 0]
		  Position		  [25, 15, 45, 35]
		  FontName		  "Arial"
		  FontSize		  11
		  StatesWhenEnabling	  "held"
		  ShowOutputPort	  off
		}
		Block {
		  BlockType		  Mux
		  Name			  "Mux1"
		  Ports			  [2, 1, 0, 0, 0]
		  Position		  [95, 104, 100, 126]
		  BackgroundColor	  "black"
		  ShowName		  off
		  FontName		  "Arial"
		  Inputs		  "[3 1]"
		  DisplayOption		  "none"
		}
		Block {
		  BlockType		  Fcn
		  Name			  "c.o.s. criterion (output == 0 if \n"
"aircraft flies THROUGH c.o.s.)"
		  Position		  [140, 105, 340, 125]
		  FontName		  "Arial"
		  FontSize		  11
		  Expr			  "atan((u[3]-HVOR)/u[4])<40*pi/180"
		}
		Block {
		  BlockType		  Outport
		  Name			  "reversed\nc.o.s. flag"
		  Position		  [370, 108, 400, 122]
		  FontName		  "Arial"
		  FontSize		  11
		  Port			  "1"
		  OutputWhenDisabled	  "reset"
		  InitialOutput		  "0"
		}
		Line {
		  SrcBlock		  "uVOR"
		  SrcPort		  1
		  Points		  [20, 0; 0, 15]
		  DstBlock		  "Mux1"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "R_VOR"
		  SrcPort		  1
		  Points		  [20, 0; 0, -15]
		  DstBlock		  "Mux1"
		  DstPort		  2
		}
		Line {
		  SrcBlock		  "c.o.s. criterion (output == 0 if \n"
"aircraft flies THROUGH c.o.s.)"
		  SrcPort		  1
		  DstBlock		  "reversed\nc.o.s. flag"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Mux1"
		  SrcPort		  1
		  DstBlock		  "c.o.s. criterion (output == 0 if \n"
"aircraft flies THROUGH c.o.s.)"
		  DstPort		  1
		}
		Annotation {
		  Position		  [246, 34]
		  ForegroundColor	  "red"
		  Text			  "Note: this subsystem is enabled onl"
"y if denominator in c.o.s. criterion is \nnot equal to zero. The subsystem re"
"turns 0 if the aircraft flies THROUGH\nthe cone of silence, hence the output "
"is the REVERSED c.o.s. flag!"
		  FontName		  "Arial"
		  FontSize		  11
		}
	      }
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "zero"
	      Position		      [15, 17, 45, 33]
	      ShowName		      off
	      FontName		      "Arial"
	      FontSize		      11
	      Value		      "0"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "c.o.s. flag"
	      Position		      [340, 98, 375, 112]
	      FontName		      "Arial"
	      FontSize		      11
	      Port		      "1"
	      OutputWhenDisabled      "held"
	      InitialOutput	      "[]"
	    }
	    Line {
	      SrcBlock		      "Reversed cone of silence\n flag with pr"
"otection against\n'division by zero' warnings."
	      SrcPort		      1
	      DstBlock		      "Logical\nOperator"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "uVOR"
	      SrcPort		      1
	      DstBlock		      "Reversed cone of silence\n flag with pr"
"otection against\n'division by zero' warnings."
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "zero"
	      SrcPort		      1
	      DstBlock		      "Relational\nOperator"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "R_VOR"
	      SrcPort		      1
	      Points		      [5, 0]
	      Branch {
		DstBlock		"Reversed cone of silence\n flag with "
"protection against\n'division by zero' warnings."
		DstPort			1
	      }
	      Branch {
		Points			[0, -40]
		DstBlock		"Relational\nOperator"
		DstPort			2
	      }
	    }
	    Line {
	      SrcBlock		      "Relational\nOperator"
	      SrcPort		      1
	      Points		      [75, 0]
	      DstBlock		      "Reversed cone of silence\n flag with pr"
"otection against\n'division by zero' warnings."
	      DstPort		      enable
	    }
	    Line {
	      SrcBlock		      "Logical\nOperator"
	      SrcPort		      1
	      DstBlock		      "c.o.s. flag"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  Mux
	  Name			  "Mux1"
	  Ports			  [2, 1, 0, 0, 0]

⌨️ 快捷键说明

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