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

📄 fdclib5.mdl

📁 MATLAB在飞行动力学和控制中应用的工具
💻 MDL
📖 第 1 页 / 共 5 页
字号:
		  SrcPort		  1
		  Points		  [30, 0; 0, -40]
		  DstBlock		  "Mux2"
		  DstPort		  3
		}
		Line {
		  SrcBlock		  "Mux1"
		  SrcPort		  1
		  DstBlock		  "phi dot"
		  DstPort		  1
		}
		Annotation {
		  Position		  [72, 192]
		  VerticalAlignment	  top
		  ForegroundColor	  red
		  FontName		  "Arial"
		  Text			  "ueul=[x;Ftot;Mtot;yhlp]"
		}
		Annotation {
		  Position		  [402, 192]
		  VerticalAlignment	  top
		  ForegroundColor	  red
		  FontName		  "Arial"
		  Text			  "yeul=[psi dot; theta dot; phi dot]"
		}
	      }
	    }
	    Block {
	      BlockType		      Mux
	      Name		      "Mux"
	      Ports		      [4, 1, 0, 0, 0]
	      Position		      [95, 114, 100, 186]
	      BackgroundColor	      black
	      FontName		      "Arial"
	      ShowName		      off
	      Inputs		      "[12 3 3 11]"
	    }
	    Block {
	      BlockType		      Mux
	      Name		      "Mux1"
	      Ports		      [4, 1, 0, 0, 0]
	      Position		      [270, 81, 275, 129]
	      BackgroundColor	      black
	      FontName		      "Arial"
	      ShowName		      off
	      Inputs		      "[3 3 3 3]"
	    }
	    Block {
	      BlockType		      SubSystem
	      Name		      "Vabdot"
	      Ports		      [1, 1, 0, 0, 0]
	      Position		      [150, 67, 210, 113]
	      FontName		      "Arial"
	      ShowPortLabels	      off
	      MaskType		      "Vabdot"
	      MaskDescription	      "Calculation of dV/dt, dalpha/dt, "
				      "dbeta/dt."
	      MaskHelp		      "eval('fdchelp vabdot')"
	      MaskPromptString	      "Mass of the aircraft [kg]:"
	      MaskStyleString	      "edit"
	      MaskVariables	      "m=@1;"
	      MaskDisplay	      "disp('V dot\\nalpha dot\\nbeta dot')"
	      MaskIconFrame	      on
	      MaskIconOpaque	      on
	      MaskIconRotate	      none
	      MaskIconUnits	      autoscale
	      MaskValueString	      "GM1(10)"
	      System {
		Name			"Vabdot"
		Location		[4, 42, 618, 260]
		Open			off
		ScreenColor		white
		Block {
		  BlockType		  Inport
		  Name			  "uVab"
		  Position		  [10, 95, 30, 115]
		  DropShadow		  on
		  FontName		  "Arial"
		  Port			  "1"
		  PortWidth		  "-1"
		  SampleTime		  "-1"
		}
		Block {
		  BlockType		  SubSystem
		  Name			  "0"
		  Ports			  [0, 0, 0, 0, 0]
		  Position		  [5, 5, 155, 35]
		  ForegroundColor	  blue
		  DropShadow		  on
		  FontName		  "Arial"
		  ShowName		  off
		  OpenFcn		  "fdchelp vabdot"
		  ShowPortLabels	  off
		  MaskDisplay		  "disp('VABDOT\\nM.O. Rauw, October "
					  "1997')"
		  MaskIconFrame		  on
		  MaskIconOpaque	  on
		  MaskIconRotate	  none
		  MaskIconUnits		  autoscale
		  System {
		    Name		    "0"
		    Location		    [99, 72, 274, 227]
		    Open		    off
		    ScreenColor		    white
		  }
		}
		Block {
		  BlockType		  Mux
		  Name			  "Mux2"
		  Ports			  [3, 1, 0, 0, 0]
		  Position		  [540, 79, 545, 131]
		  BackgroundColor	  black
		  FontName		  "Arial"
		  ShowName		  off
		  Inputs		  "3"
		}
		Block {
		  BlockType		  Fcn
		  Name			  "V dot"
		  Position		  [60, 55, 515, 75]
		  FontName		  "Arial"
		  Expr			  "(u[13]*u[19]*u[21]+u[14]*u[22]+u[15]"
					  "*u[20]*u[21])/m"
		}
		Block {
		  BlockType		  Fcn
		  Name			  "alpha dot"
		  Position		  [60, 95, 515, 115]
		  FontName		  "Arial"
		  Expr			  "(-u[13]*u[20]+u[15]*u[19])/(m*u[1]*u"
					  "[21]) - u[23]*(u[4]*u[19]+u[6]*u[20]"
					  ") + u[5]"
		}
		Block {
		  BlockType		  Fcn
		  Name			  "beta dot"
		  Position		  [60, 135, 515, 155]
		  FontName		  "Arial"
		  Expr			  "(-u[13]*u[19]*u[22]+u[14]*u[21]-u[15"
					  "]*u[20]*u[22])/(m*u[1]) + u[4]*u[20]"
					  " - u[6]*u[19]"
		}
		Block {
		  BlockType		  Outport
		  Name			  "yVab"
		  Position		  [570, 95, 590, 115]
		  DropShadow		  on
		  FontName		  "Arial"
		  Port			  "1"
		  OutputWhenDisabled	  held
		  InitialOutput		  "0"
		}
		Line {
		  SrcBlock		  "beta dot"
		  SrcPort		  1
		  Points		  [5, 0]
		  DstBlock		  "Mux2"
		  DstPort		  3
		}
		Line {
		  SrcBlock		  "V dot"
		  SrcPort		  1
		  Points		  [5, 0]
		  DstBlock		  "Mux2"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "alpha dot"
		  SrcPort		  1
		  DstBlock		  "Mux2"
		  DstPort		  2
		}
		Line {
		  SrcBlock		  "uVab"
		  SrcPort		  1
		  Points		  [10, 0]
		  Branch {
		    DstBlock		    "alpha dot"
		    DstPort		    1
		  }
		  Branch {
		    DstBlock		    "beta dot"
		    DstPort		    1
		  }
		  Branch {
		    DstBlock		    "V dot"
		    DstPort		    1
		  }
		}
		Line {
		  SrcBlock		  "Mux2"
		  SrcPort		  1
		  DstBlock		  "yVab"
		  DstPort		  1
		}
		Annotation {
		  Position		  [527, 182]
		  VerticalAlignment	  top
		  ForegroundColor	  red
		  FontName		  "Arial"
		  Text			  "yVab=[V dot;alpha dot;beta dot]"
		}
		Annotation {
		  Position		  [67, 182]
		  VerticalAlignment	  top
		  ForegroundColor	  red
		  FontName		  "Arial"
		  Text			  "uVab=[x;Ftot;Mtot;yhlp]"
		}
	      }
	    }
	    Block {
	      BlockType		      SubSystem
	      Name		      "pqrdot"
	      Ports		      [1, 1, 0, 0, 0]
	      Position		      [150, 128, 210, 172]
	      FontName		      "Arial"
	      ShowPortLabels	      off
	      MaskType		      "pqrdot"
	      MaskDescription	      "Calculation of dp/dt, dq/dt, and dr/dt"
	      MaskHelp		      "eval('fdchelp pqrdot')"
	      MaskDisplay	      "disp('p dot\\nq dot\\nr dot')"
	      MaskIconFrame	      on
	      MaskIconOpaque	      on
	      MaskIconRotate	      none
	      MaskIconUnits	      autoscale
	      System {
		Name			"pqrdot"
		Location		[4, 42, 564, 259]
		Open			off
		ScreenColor		white
		Block {
		  BlockType		  Inport
		  Name			  "upqr"
		  Position		  [20, 135, 40, 155]
		  DropShadow		  on
		  FontName		  "Arial"
		  Port			  "1"
		  PortWidth		  "-1"
		  SampleTime		  "-1"
		}
		Block {
		  BlockType		  SubSystem
		  Name			  "0"
		  Ports			  [0, 0, 0, 0, 0]
		  Position		  [15, 15, 160, 45]
		  ForegroundColor	  blue
		  DropShadow		  on
		  FontName		  "Arial"
		  ShowName		  off
		  OpenFcn		  "fdchelp pqrdot"
		  ShowPortLabels	  off
		  MaskDisplay		  "disp('PQRDOT\\nM.O. Rauw, October "
					  "1997')"
		  MaskIconFrame		  on
		  MaskIconOpaque	  on
		  MaskIconRotate	  none
		  MaskIconUnits		  autoscale
		  System {
		    Name		    "0"
		    Location		    [99, 72, 274, 227]
		    Open		    off
		    ScreenColor		    white
		  }
		}
		Block {
		  BlockType		  Demux
		  Name			  "Demux"
		  Ports			  [1, 5, 0, 0, 0]
		  Position		  [70, 107, 75, 183]
		  BackgroundColor	  black
		  FontName		  "Arial"
		  ShowName		  off
		  Outputs		  "[3 3 9 3 11]"
		}
		Block {
		  BlockType		  Fcn
		  Name			  "Fcn"
		  Position		  [240, 60, 300, 80]
		  FontName		  "Arial"
		  ShowName		  off
		  Expr			  "u[1]^2"
		}
		Block {
		  BlockType		  Fcn
		  Name			  "Fcn1"
		  Position		  [240, 80, 300, 100]
		  FontName		  "Arial"
		  ShowName		  off
		  Expr			  "u[1]*u[2]"
		}
		Block {
		  BlockType		  Fcn
		  Name			  "Fcn2"
		  Position		  [240, 100, 300, 120]
		  FontName		  "Arial"
		  ShowName		  off
		  Expr			  "u[1]*u[3]"
		}
		Block {
		  BlockType		  Fcn
		  Name			  "Fcn3"
		  Position		  [240, 120, 300, 140]
		  FontName		  "Arial"
		  ShowName		  off
		  Expr			  "u[2]^2"
		}
		Block {
		  BlockType		  Fcn
		  Name			  "Fcn4"
		  Position		  [240, 140, 300, 160]
		  FontName		  "Arial"
		  ShowName		  off
		  Expr			  "u[2]*u[3]"
		}
		Block {
		  BlockType		  Fcn
		  Name			  "Fcn5"
		  Position		  [240, 160, 300, 180]
		  FontName		  "Arial"
		  ShowName		  off
		  Expr			  "u[3]^2"
		}
		Block {
		  BlockType		  StateSpace
		  Name			  "Matrix Gain"
		  Position		  [415, 95, 475, 125]
		  FontName		  "Arial"
		  A			  "A"
		  B			  "B"
		  C			  "C"
		  D			  "D"
		  X0			  "0"
		  MaskType		  "Matrix Gain"
		  MaskDescription	  "Matrix Gain"
		  MaskHelp		  "This block implements an matrix "
					  "gain.\\nThe matrix dimensions "
					  "must be in accordance\\nwith "
					  "the dimension of the inputvector."
		  MaskPromptString	  "Gain matrix:"
		  MaskStyleString	  "edit"
		  MaskInitialization	  "A = []; B = []; C = []; D = @1;"
		  MaskDisplay		  "disp('y = A*u')"
		  MaskIconFrame		  on
		  MaskIconOpaque	  on
		  MaskIconRotate	  none
		  MaskIconUnits		  autoscale
		  MaskValueString	  "GM2"
		}
		Block {
		  BlockType		  Mux
		  Name			  "Mux"
		  Ports			  [7, 1, 0, 0, 0]
		  Position		  [335, 32, 340, 188]
		  BackgroundColor	  black
		  FontName		  "Arial"
		  ShowName		  off
		  Inputs		  "[3 1 1 1 1 1 1]"
		}
		Block {
		  BlockType		  Terminator
		  Name			  "Terminator1"
		  Position		  [90, 138, 105, 152]
		  ShowName		  off
		}
		Block {
		  BlockType		  Terminator
		  Name			  "Terminator2"
		  Position		  [90, 168, 105, 182]
		  ShowName		  off
		}
		Block {
		  BlockType		  Terminator
		  Name			  "Terminator3"
		  Position		  [90, 108, 105, 122]
		  ShowName		  off
		}
		Block {
		  BlockType		  Outport
		  Name			  "ypqr"
		  Position		  [525, 100, 545, 120]
		  DropShadow		  on
		  FontName		  "Arial"
		  Port			  "1"
		  OutputWhenDisabled	  held
		  InitialOutput		  "0"
		}
		Line {
		  SrcBlock		  "Mux"
		  SrcPort		  1
		  DstBlock		  "Matrix Gain"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Matrix Gain"
		  SrcPort		  1
		  DstBlock		  "ypqr"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Fcn5"
		  SrcPort		  1
		  DstBlock		  "Mux"
		  DstPort		  7
		}
		Line {
		  SrcBlock		  "Fcn4"
		  SrcPort		  1
		  DstBlock		  "Mux"
		  DstPort		  6
		}
		Line {
		  SrcBlock		  "Fcn3"
		  SrcPort		  1
		  DstBlock		  "Mux"
		  DstPort		  5
		}
		Line {
		  SrcBlock		  "Fcn2"
		  SrcPort		  1
		  DstBlock		  "Mux"
		  DstPort		  4
		}
		Line {
		  SrcBlock		  "Fcn1"
		  SrcPort		  1
		  DstBlock		  "Mux"
		  DstPort		  3
		}
		Line {
		  SrcBlock		  "Fcn"
		  SrcPort		  1
		  DstBlock		  "Mux"
		  DstPort		  2
		}
		Line {
		  SrcBlock		  "Demux"
		  SrcPort		  4
		  Points		  [110, 0; 0, -110]
		  DstBlock		  "Mux"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Demux"
		  SrcPort		  2
		  Points		  [125, 0]
		  Branch {
		    DstBlock		    "Fcn3"
		    DstPort		    1
		  }
		  Branch {
		    Points		    [0, 20]
		    Branch {
		      Points		      [0, 20]
		      DstBlock		      "Fcn5"
		      DstPort		      1
		    }
		    Branch {
		      DstBlock		      "Fcn4"
		      DstPort		      1
		    }
		  }
		  Branch {
		    Points		    [0, -20]
		    Branch {
		      DstBlock		      "Fcn2"
		      DstPort		      1
		    }
		    Branch {
		      Points		      [0, -20]
		      Branch {
			Points			[0, -20]
			DstBlock		"Fcn"
			DstPort			1
		      }
		      Branch {
			DstBlock		"Fcn1"
			DstPort			1
		      }
		    }
		  }
		}
		Line {
		  SrcBlock		  "Demux"
		  SrcPort		  3
		  DstBlock		  "Terminator1"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Demux"
		  SrcPort		  5
		  DstBlock		  "Terminator2"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Demux"
		  SrcPort		  1
		  DstBlock		  "Terminator3"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "upqr"
		  SrcPort		  1
		  DstBlock		  "Demux"
		  DstPort		  1
		}
		Annotation {
		  Position		  [449, 7]
		  VerticalAlignment	  top
		  ForegroundColor	  red
		  FontName		  "Arial"
		  Text			  "ytmp = [L; M; N; p^2; pq; pr; "
					  "q^2; qr; r^2]"
		}
		Annotation {
		  Position		  [72, 197]
		  VerticalAlignment	  top
		  ForegroundColor	  red
		  FontName		  "Arial"
		  Text			  "upqr=[x;Ftot;Mtot;yhlp]"
		}
		Annotation {
		  Position		  [492, 197]
		  VerticalAlignment	  top
		  ForegroundColor	  red
		  FontName		  "Arial"
		  Text			  "ypqr=[p dot;q dot;r dot]"
		}
		Annotation {
		  Position		  [371, 97]
		  VerticalAlignment	  top
		  FontName		  "Arial"
		  Text			  "ytmp"
		}
		Annotation {
		  Position		  [444, 142]
		  VerticalAlignment	  top
		  ForegroundColor	  red
		  FontName		  "Arial"
		  Text			  "Here: ypqr = GM2*ytmp"
		}
		Annotation {
		  Position		  [148, 147]
		  VerticalAlignment	  top
		  FontName		  "Arial"
		  Text			  "[L M N]'"

⌨️ 快捷键说明

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