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

📄 fdclib5.mdl

📁 matlab的FDC工具箱
💻 MDL
📖 第 1 页 / 共 4 页
字号:
	  SourceBlock		  "fdclib5/uvw"
	  SourceType		  "uvw"
	}
	Block {
	  BlockType		  Reference
	  Name			  "xdotcorr"
	  Ports			  [3, 1, 0, 0, 0]
	  Position		  [385, 125, 440, 165]
	  ShowName		  off
	  FontName		  "Arial"
	  FontSize		  11
	  SourceBlock		  "fdclib5/xdotcorr"
	  SourceType		  "xdotcorr"
	  b			  "GM1(2)"
	  S			  "GM1(3)"
	  m			  "GM1(10)"
	  CYbdot		  "AM(2,19)"
	}
	Block {
	  BlockType		  Gain
	  Name			  "xfix"
	  Position		  [460, 127, 505, 163]
	  DropShadow		  on
	  ShowName		  off
	  InitFcn		  "if exist('xfix')==0, xfix=ones(12,1); end"
	  FontName		  "Arial"
	  FontSize		  11
	  Gain			  "xfix"
	  SaturateOnIntegerOverflow on
	  Port {
	    PortNumber		    1
	    Name		    "xdot"
	    TestPoint		    off
	    RTWStorageClass	    "Auto"
	  }
	}
	Block {
	  BlockType		  Outport
	  Name			  "x"
	  Position		  [635, 138, 665, 152]
	  FontName		  "Arial"
	  FontSize		  11
	  Port			  "1"
	  OutputWhenDisabled	  "held"
	  InitialOutput		  "[]"
	}
	Block {
	  BlockType		  Outport
	  Name			  "xdot"
	  Position		  [635, 178, 665, 192]
	  FontName		  "Arial"
	  FontSize		  11
	  Port			  "2"
	  OutputWhenDisabled	  "held"
	  InitialOutput		  "[]"
	}
	Block {
	  BlockType		  Outport
	  Name			  "ybvel"
	  Position		  [635, 258, 665, 272]
	  FontName		  "Arial"
	  FontSize		  11
	  Port			  "3"
	  OutputWhenDisabled	  "held"
	  InitialOutput		  "[]"
	}
	Line {
	  Name			  "yhlp"
	  SrcBlock		  "yhlp"
	  SrcPort		  1
	  Points		  [5, 0]
	  Branch {
	    DstBlock		    "uvw"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, -25]
	    Branch {
	      Labels		      [2, 0]
	      Points		      [0, -80]
	      DstBlock		      "12 ODEs"
	      DstPort		      4
	    }
	    Branch {
	      Labels		      [1, 0]
	      Points		      [300, 0; 0, -85]
	      DstBlock		      "xdotcorr"
	      DstPort		      2
	    }
	  }
	}
	Line {
	  Name			  "ybvel* =\n[u v w]' +\n[uw vw ww]'"
	  Labels		  [0, 0]
	  SrcBlock		  "Sum"
	  SrcPort		  1
	  DstBlock		  "12 ODEs"
	  DstPort		  5
	}
	Line {
	  SrcBlock		  "uvw"
	  SrcPort		  1
	  Points		  [20, 0]
	  Branch {
	    DstBlock		    "ybvel"
	    DstPort		    1
	  }
	  Branch {
	    DstBlock		    "Sum"
	    DstPort		    2
	  }
	}
	Line {
	  SrcBlock		  "uwind"
	  SrcPort		  1
	  DstBlock		  "Demux"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Demux"
	  SrcPort		  1
	  DstBlock		  "Sum"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Ftot"
	  SrcPort		  1
	  Points		  [200, 0; 0, 20]
	  DstBlock		  "12 ODEs"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Mtot"
	  SrcPort		  1
	  DstBlock		  "12 ODEs"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "12 ODEs"
	  SrcPort		  1
	  DstBlock		  "xdotcorr"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "xdotcorr"
	  SrcPort		  1
	  DstBlock		  "xfix"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "yatm"
	  SrcPort		  1
	  Points		  [315, 0; 0, -165]
	  DstBlock		  "xdotcorr"
	  DstPort		  3
	}
	Line {
	  Name			  "x"
	  Labels		  [2, 1]
	  SrcBlock		  "*1"
	  SrcPort		  1
	  Points		  [0, 140; -555, 0; 0, -40]
	  DstBlock		  "uvw"
	  DstPort		  2
	}
	Line {
	  Name			  "xdot"
	  Labels		  [0, 1]
	  SrcBlock		  "xfix"
	  SrcPort		  1
	  Points		  [30, 0]
	  Branch {
	    DstBlock		    "Integrator"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 40]
	    DstBlock		    "xdot"
	    DstPort		    1
	  }
	}
	Line {
	  Name			  "x"
	  Labels		  [2, 1]
	  SrcBlock		  " *1"
	  SrcPort		  1
	  Points		  [0, -65; -350, 0; 0, 30]
	  DstBlock		  "12 ODEs"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Demux"
	  SrcPort		  2
	  DstBlock		  "Terminator_1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Integrator"
	  SrcPort		  1
	  Points		  [20, 0]
	  Branch {
	    Points		    [0, 0]
	    DstBlock		    "x"
	    DstPort		    1
	  }
	  Branch {
	    DstBlock		    " *1"
	    DstPort		    1
	  }
	  Branch {
	    DstBlock		    "*1"
	    DstPort		    1
	  }
	}
	Annotation {
	  Position		  [211, 256]
	  Text			  "ybvel  = [u v w]'"
	  FontSize		  9
	}
	Annotation {
	  Position		  [107, 182]
	  VerticalAlignment	  "top"
	  Text			  "Exclude time-\nderivatives\nof windspeeds"
	  FontName		  "Arial"
	  FontSize		  11
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "Eulerdot"
      Ports		      [1, 1, 0, 0, 0]
      Position		      [15, 178, 75, 222]
      FontName		      "Arial"
      FontSize		      11
      ShowPortLabels	      off
      MaskType		      "Eulerdot"
      MaskDescription	      "Calculation of d(psi)/dt, d(theta)/dt,\nand d(p"
"hi/dt)"
      MaskHelp		      "eval('browse eulerdot')"
      MaskDisplay	      "disp('psi dot\\ntheta dot\\nphi dot')"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"Eulerdot"
	Location		[6, 44, 493, 260]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	AutoZoom		on
	Block {
	  BlockType		  Inport
	  Name			  "ueul"
	  Position		  [15, 108, 45, 122]
	  FontName		  "Arial"
	  FontSize		  11
	  Port			  "1"
	  PortWidth		  "-1"
	  SampleTime		  "-1"
	  DataType		  "auto"
	  SignalType		  "auto"
	  Interpolate		  on
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "0"
	  Ports			  [0, 0, 0, 0, 0]
	  Position		  [20, 15, 160, 45]
	  ForegroundColor	  "blue"
	  DropShadow		  on
	  ShowName		  off
	  OpenFcn		  "browse eulerdot"
	  FontName		  "Arial"
	  FontSize		  11
	  ShowPortLabels	  off
	  MaskDisplay		  "disp('EULERDOT\\nM.O. Rauw, March 2003')"
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	  System {
	    Name		    "0"
	    Location		    [99, 72, 274, 227]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    ZoomFactor		    "100"
	    AutoZoom		    on
	  }
	}
	Block {
	  BlockType		  Mux
	  Name			  "Mux1"
	  Ports			  [2, 1, 0, 0, 0]
	  Position		  [110, 151, 115, 184]
	  BackgroundColor	  "black"
	  ShowName		  off
	  FontName		  "Arial"
	  FontSize		  11
	  Inputs		  "[29 1]"
	  DisplayOption		  "none"
	}
	Block {
	  BlockType		  Mux
	  Name			  "Mux2"
	  Ports			  [3, 1, 0, 0, 0]
	  Position		  [415, 91, 420, 139]
	  BackgroundColor	  "black"
	  ShowName		  off
	  FontName		  "Arial"
	  FontSize		  11
	  Inputs		  "3"
	  DisplayOption		  "none"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "phi dot"
	  Position		  [145, 160, 355, 180]
	  FontName		  "Arial"
	  FontSize		  11
	  Expr			  "u[4] + u[30]*u[26]"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "psi dot"
	  Position		  [145, 65, 355, 85]
	  FontName		  "Arial"
	  FontSize		  11
	  Expr			  "(u[5]*u[28] + u[6]*u[29])/u[27]"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "theta dot"
	  Position		  [145, 105, 355, 125]
	  FontName		  "Arial"
	  FontSize		  11
	  Expr			  "u[5]*u[29] - u[6]*u[28]"
	}
	Block {
	  BlockType		  Outport
	  Name			  "yeul"
	  Position		  [440, 108, 470, 122]
	  FontName		  "Arial"
	  FontSize		  11
	  Port			  "1"
	  OutputWhenDisabled	  "held"
	  InitialOutput		  "[]"
	}
	Line {
	  SrcBlock		  "Mux1"
	  SrcPort		  1
	  DstBlock		  "phi dot"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "phi dot"
	  SrcPort		  1
	  Points		  [30, 0; 0, -40]
	  DstBlock		  "Mux2"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "Mux2"
	  SrcPort		  1
	  DstBlock		  "yeul"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "theta dot"
	  SrcPort		  1
	  DstBlock		  "Mux2"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "psi dot"
	  SrcPort		  1
	  Points		  [15, 0]
	  Branch {
	    Points		    [0, 70; -285, 0; 0, 30]
	    DstBlock		    "Mux1"
	    DstPort		    2
	  }
	  Branch {
	    Points		    [15, 0; 0, 25]
	    DstBlock		    "Mux2"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "ueul"
	  SrcPort		  1
	  Points		  [25, 0]
	  Branch {
	    Points		    [0, -40]
	    DstBlock		    "psi dot"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 45]
	    DstBlock		    "Mux1"
	    DstPort		    1
	  }
	  Branch {
	    DstBlock		    "theta dot"
	    DstPort		    1
	  }
	}
	Annotation {
	  Position		  [397, 192]
	  VerticalAlignment	  "top"
	  ForegroundColor	  "red"
	  Text			  "yeul=[psi dot; theta dot; phi dot]"
	  FontName		  "Arial"
	  FontSize		  11
	}
	Annotation {
	  Position		  [72, 192]
	  VerticalAlignment	  "top"
	  ForegroundColor	  "red"
	  Text			  "ueul=[x;Ftot;Mtot;yhlp]"
	  FontName		  "Arial"
	  FontSize		  11
	}
      }
    }
    Block {
      BlockType		      Integrator
      Name		      "Integrator"
      Ports		      [1, 1, 0, 0, 0]
      Position		      [375, 338, 405, 372]
      FontName		      "Arial"
      FontSize		      11
      ExternalReset	      "none"
      InitialConditionSource  "internal"
      InitialCondition	      "xinco"
      LimitOutput	      off
      UpperSaturationLimit    "inf"
      LowerSaturationLimit    "-inf"
      ShowSaturationPort      off
      ShowStatePort	      off
      AbsoluteTolerance	      "auto"
    }
    Block {
      BlockType		      SubSystem
      Name		      "Vabdot"
      Ports		      [1, 1, 0, 0, 0]
      Position		      [15, 48, 75, 92]
      FontName		      "Arial"
      FontSize		      11
      ShowPortLabels	      off
      MaskType		      "Vabdot"
      MaskDescription	      "Calculation of dV/dt, dalpha/dt, dbeta/dt."
      MaskHelp		      "eval('browse vabdot')"
      MaskPromptString	      "Mass of the aircraft [kg]:"
      MaskStyleString	      "edit"
      MaskTunableValueString  "on"
      MaskEnableString	      "on"
      MaskVisibilityString    "on"
      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		[6, 44, 642, 248]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	AutoZoom		on
	Block {
	  BlockType		  Inport
	  Name			  "uVab"
	  Position		  [15, 98, 45, 112]
	  FontSize		  11
	  Port			  "1"
	  PortWidth		  "-1"
	  SampleTime		  "-1"
	  DataType		  "auto"
	  SignalType		  "auto"
	  Interpolate		  on
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "0"
	  Ports			  [0, 0, 0, 0, 0]
	  Position		  [5, 5, 155, 35]
	  ForegroundColor	  "blue"
	  DropShadow		  on
	  ShowName		  off
	  OpenFcn		  "browse vabdot"
	  FontName		  "Arial"
	  FontSize		  11
	  ShowPortLabels	  off
	  MaskDisplay		  "disp('VABDOT\\nM.O. Rauw, March 2003')"
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	  System {
	    Name		    "0"
	    Location		    [99, 72, 274, 227]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    ZoomFactor		    "100"
	    AutoZoom		    on
	  }
	}
	Block {
	  BlockType		  Mux
	  Name			  "Mux2"
	  Ports			  [3, 1, 0, 0, 0]
	  Position		  [565, 79, 570, 131]
	  BackgroundColor	  "black"
	  ShowName		  off
	  FontName		  "Arial"
	  FontSize		  11
	  Inputs		  "3"
	  DisplayOption		  "none"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "V dot"
	  Position		  [80, 55, 535, 75]
	  FontName		  "Arial"
	  FontSize		  11
	  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		  [80, 95, 535, 115]
	  FontName		  "Arial"
	  FontSize		  11
	  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		  [80, 135, 535, 155]
	  FontName		  "Arial"
	  FontSize		  11
	  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		  [595, 98, 625, 112]
	  FontSize		  11
	  Port			  "1"
	  OutputWhenDisabled	  "held"
	  InitialOutput		  "[]"
	}
	Line {
	  SrcBlock		  "Mux2"
	  SrcPort		  1
	  DstBlock		  "yVab"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "uVab"
	  SrcPort		  1
	  Points		  [10, 0]
	  Branch {
	    Points		    [0, -40]
	    DstBlock		    "V dot"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 40]
	    DstBlock		    "beta dot"
	    DstPort		    1
	  }
	  Branch {
	    DstBlock		    "alpha dot"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "alpha dot"
	  SrcPort		  1
	  DstBlock		  "Mux2"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "V dot"
	  SrcPort		  1
	  Points		  [10, 0]
	  DstBlock		  "Mux2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "beta dot"
	  SrcPort		  1
	  Points		  [10, 0]
	  DstBlock		  "Mux2"
	  DstPort		  3
	}
	Annotation {
	  Position		  [67, 182]
	  VerticalAlignment	  "top"
	  ForegroundColor	  "red"
	  Text			  "uVab=[x;Ftot;Mtot;yhlp]"
	  FontName		  "Arial"
	  FontSize		  11
	}
	Annotation {
	  Position		  [547, 182]
	  VerticalAlignment	  "top"
	  ForegroundColor	  "red"
	  Text			  "yVab=[V dot;alpha dot;beta dot]"
	  FontName		  "Arial"
	  FontSize		  11
	}
      }
    }
    Block {

⌨️ 快捷键说明

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