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

📄 navlib2.mdl

📁 MATLAB在飞行动力学和控制中应用的工具
💻 MDL
📖 第 1 页 / 共 2 页
字号:
Library {
  Name			  "navlib2"
  Version		  2.09
  PaperOrientation	  landscape
  PaperType		  usletter
  PaperUnits		  inches
  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		    [13, 47, 301, 218]
    Open		    on
    ScreenColor		    white
    Block {
      BlockType		      SubSystem
      Name		      "VOR"
      Ports		      [2, 4, 0, 0, 0]
      Position		      [160, 40, 240, 95]
      FontName		      "Arial"
      ShowPortLabels	      off
      MaskType		      "VOR"
      MaskDescription	      "Calculation of nominal\nVOR signals"
      MaskHelp		      "eval('fdchelp vor')"
      MaskPromptString	      "x-position VOR relative to aircraft at t=0 "
			      "sec. [m]:|y-position VOR relative to aircraft "
			      "at t=0 sec. [m]:|Altitude of VOR in [m] above "
			      "sea level:|Course Datum [deg] (0 = north):"
      MaskStyleString	      "edit,edit,edit,edit"
      MaskVariables	      "xVOR=@1;yVOR=@2;HVOR=@3;"
      MaskInitialization      " CD=@4*pi/180;"
      MaskDisplay	      "disp('Nominal\\nVOR\\nsignals')"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      none
      MaskIconUnits	      autoscale
      MaskValueString	      "xVOR|yVOR|HVOR|CD"
      System {
	Name			"VOR"
	Location		[4, 42, 622, 440]
	Open			off
	ScreenColor		white
	Block {
	  BlockType		  Inport
	  Name			  "uVOR=\n[xe ye H]'"
	  Position		  [20, 95, 40, 115]
	  DropShadow		  on
	  FontName		  "Arial"
	  Port			  "1"
	  PortWidth		  "-1"
	  SampleTime		  "-1"
	}
	Block {
	  BlockType		  Inport
	  Name			  "psi"
	  Position		  [240, 40, 260, 60]
	  DropShadow		  on
	  FontName		  "Arial"
	  Port			  "2"
	  PortWidth		  "-1"
	  SampleTime		  "-1"
	}
	Block {
	  BlockType		  Saturate
	  Name			  "+/- 10 deg"
	  Position		  [430, 100, 455, 120]
	  FontName		  "Arial"
	  UpperLimit		  "10*pi/180"
	  LowerLimit		  "-10*pi/180"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "1 = to, 0 = from"
	  Position		  [380, 45, 495, 65]
	  FontName		  "Arial"
	  Expr			  "abs(u[1]) > (pi/2)"
	}
	Block {
	  BlockType		  Constant
	  Name			  "CD (const.)"
	  Position		  [240, 129, 270, 151]
	  FontName		  "Arial"
	  Value			  "CD"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "Cone of silence flag"
	  Position		  [200, 245, 400, 265]
	  FontName		  "Arial"
	  Expr			  "atan((u[3]-HVOR)/u[4])>40*pi/180"
	}
	Block {
	  BlockType		  Mux
	  Name			  "Mux"
	  Ports			  [2, 1, 0, 0, 0]
	  Position		  [95, 244, 100, 266]
	  BackgroundColor	  black
	  FontName		  "Arial"
	  ShowName		  off
	  Inputs		  "[3 1]"
	}
	Block {
	  BlockType		  Mux
	  Name			  "Mux1"
	  Ports			  [2, 1, 0, 0, 0]
	  Position		  [95, 349, 100, 371]
	  BackgroundColor	  black
	  FontName		  "Arial"
	  ShowName		  off
	  Inputs		  "2"
	}
	Block {
	  BlockType		  Mux
	  Name			  "Mux2"
	  Ports			  [2, 1, 0, 0, 0]
	  Position		  [560, 344, 565, 366]
	  BackgroundColor	  black
	  FontName		  "Arial"
	  ShowName		  off
	  Inputs		  "2"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "QDR"
	  Position		  [85, 95, 270, 115]
	  FontName		  "Arial"
	  Expr			  "atan((u[2]-yVOR)/(u[1]-xVOR))"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "R_VOR"
	  Position		  [85, 190, 275, 210]
	  FontName		  "Arial"
	  Expr			  "sqrt((u[1]-xVOR)^2+(u[2]-yVOR)^2)"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "Range-flag"
	  Position		  [240, 350, 355, 370]
	  FontName		  "Arial"
	  Expr			  "u[2]>u[1]"
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum"
	  Ports			  [2, 1, 0, 0, 0]
	  Position		  [305, 100, 320, 120]
	  FontName		  "Arial"
	  ShowName		  off
	  Inputs		  "-+"
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum1"
	  Ports			  [2, 1, 0, 0, 0]
	  Position		  [305, 45, 320, 65]
	  FontName		  "Arial"
	  ShowName		  off
	  Inputs		  "+-"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "VOR-Range approximation"
	  Position		  [85, 285, 525, 305]
	  FontName		  "Arial"
	  Expr			  "1000*(-2.3570*10^(-6)*(u[3]-HVOR)^2 + "
				  "5.7087*10^(-2)*(u[3]-HVOR) + 80.8612)"
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "t"
	  Ports			  [0, 0, 0, 0, 0]
	  Position		  [15, 5, 110, 50]
	  ForegroundColor	  blue
	  DropShadow		  on
	  FontName		  "Arial"
	  ShowName		  off
	  OpenFcn		  "fdchelp vor"
	  ShowPortLabels	  off
	  MaskDisplay		  "disp('VOR signals\\nMarc Rauw\\nOctober "
				  "1997')"
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  none
	  MaskIconUnits		  autoscale
	  System {
	    Name		    "t"
	    Location		    [22, 190, 132, 275]
	    Open		    off
	    ScreenColor		    white
	  }
	}
	Block {
	  BlockType		  Outport
	  Name			  "yVOR1"
	  Position		  [580, 100, 600, 120]
	  DropShadow		  on
	  FontName		  "Arial"
	  Port			  "1"
	  OutputWhenDisabled	  held
	  InitialOutput		  "0"
	}
	Block {
	  BlockType		  Outport
	  Name			  "yVOR2"
	  Position		  [580, 190, 600, 210]
	  DropShadow		  on
	  FontName		  "Arial"
	  Port			  "2"
	  OutputWhenDisabled	  held
	  InitialOutput		  "0"
	}
	Block {
	  BlockType		  Outport
	  Name			  "yVOR3"
	  Position		  [580, 345, 600, 365]
	  DropShadow		  on
	  FontName		  "Arial"
	  Port			  "3"
	  OutputWhenDisabled	  held
	  InitialOutput		  "0"
	}
	Block {
	  BlockType		  Outport
	  Name			  "yVOR4"
	  Position		  [580, 45, 600, 65]
	  DropShadow		  on
	  FontName		  "Arial"
	  Port			  "4"
	  OutputWhenDisabled	  held
	  InitialOutput		  "0"
	}
	Line {
	  SrcBlock		  "uVOR=\n[xe ye H]'"
	  SrcPort		  1
	  Points		  [15, 0]
	  Branch {
	    DstBlock		    "QDR"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 95]
	    Branch {
	      DstBlock		      "R_VOR"
	      DstPort		      1
	    }
	    Branch {
	      Points		      [0, 50]
	      Branch {
		DstBlock		"Mux"
		DstPort			1
	      }
	      Branch {
		Points			[0, 45]
		DstBlock		"VOR-Range approximation"
		DstPort			1
	      }
	    }
	  }
	}
	Line {
	  SrcBlock		  "1 = to, 0 = from"
	  SrcPort		  1
	  DstBlock		  "yVOR4"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "CD (const.)"
	  SrcPort		  1
	  Points		  [10, 0; 0, -25]
	  DstBlock		  "Sum"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Mux"
	  SrcPort		  1
	  DstBlock		  "Cone of silence flag"
	  DstPort		  1
	}
	Line {
	  Name			  "R_VOR"
	  SrcBlock		  "R_VOR"
	  SrcPort		  1
	  Points		  [15, 0]
	  Branch {
	    Labels		    [1, 0]
	    DstBlock		    "yVOR2"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 30; -225, 0; 0, 30]
	    Branch {
	      DstBlock		      "Mux"
	      DstPort		      2
	    }
	    Branch {
	      Points		      [0, 105]
	      DstBlock		      "Mux1"
	      DstPort		      2
	    }
	  }
	}
	Line {
	  SrcBlock		  "Mux1"
	  SrcPort		  1
	  DstBlock		  "Range-flag"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Range-flag"
	  SrcPort		  1
	  DstBlock		  "Mux2"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "VOR-Range approximation"
	  SrcPort		  1
	  Points		  [5, 0; 0, 40; -455, 0]
	  DstBlock		  "Mux1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Mux2"
	  SrcPort		  1
	  DstBlock		  "yVOR3"

⌨️ 快捷键说明

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