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

📄 b747cl.mdl

📁 library of aircraft models to be used with Simulink
💻 MDL
📖 第 1 页 / 共 5 页
字号:
	  SrcBlock		  "throttle"
	  SrcPort		  1
	  DstBlock		  "wind6"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "c5"
	  SrcPort		  1
	  Points		  [25, 0]
	  DstBlock		  "Sum5"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "wind6"
	  SrcPort		  1
	  DstBlock		  "Sum5"
	  DstPort		  2
	}
      }
    }
    Block {
      BlockType		      Scope
      Name		      "Beta"
      Ports		      [1, 0, 0, 0, 0]
      Position		      [635, 72, 655, 78]
      Floating		      off
      Location		      [912, 348, 1196, 534]
      Open		      off
      NumInputPorts	      "1"
      TickLabels	      "OneTimeTick"
      ZoomMode		      "on"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      Grid		      "on"
      TimeRange		      "100             "
      YMin		      "0"
      YMax		      "250000"
      SaveToWorkspace	      off
      SaveName		      "ScopeData6"
      DataFormat	      "StructureWithTime"
      LimitMaxRows	      on
      MaxRows		      "5000"
      Decimation	      "1"
      SampleInput	      off
      SampleTime	      "0"
    }
    Block {
      BlockType		      Clock
      Name		      "Clock"
      Position		      [150, 65, 170, 85]
      ShowName		      off
      DisplayTime	      off
      Decimation	      "10"
    }
    Block {
      BlockType		      Reference
      Name		      "DT-B747"
      Ports		      [3, 3, 0, 0, 0]
      Position		      [360, 86, 415, 204]
      DropShadow	      on
      FontName		      "Arial"
      SourceBlock	      "airlib/DT-B747"
      SourceType	      "Discrete Time General Nonlinear Aircraft Model"
      GM1		      "[8.32   59.74   510.95   24675560  44876980   6"
"7383260   0   1315126  0   288772  0.05]"
      CD_wind		      "[0.0164  0.2  0  0  0]"
      CL_wind		      "[0.21  4.4  6.6  0.32  0.7]"
      Cm_body		      "[0  -1   -20.5    -1.3    -2.7]"
      CY_body		      "[0   -0.9    0     0     -0    0.12]"
      Cl_body		      "[0    -0.16    -0.34   0.13    -0.013    0.008]"
      Cn_body		      "[0    0.16   -0.026    -0.28     -0.0018   -0.1"
"]"
      x0		      "[150.148  0.0464959 0   0 0 0   0 0.0464959 0  "
" 0 0 61]"
      Port {
	PortNumber		1
	Name			"x"
	TestPoint		off
	RTWStorageClass		"Auto"
      }
      Port {
	PortNumber		2
	Name			"xdt"
	TestPoint		off
	RTWStorageClass		"Auto"
      }
      Port {
	PortNumber		3
	Name			"var"
	TestPoint		off
	RTWStorageClass		"Auto"
      }
    }
    Block {
      BlockType		      Demux
      Name		      "Demux1"
      Ports		      [1, 12, 0, 0, 0]
      Position		      [590, 15, 595, 310]
      BackgroundColor	      "black"
      ShowName		      off
      FontName		      "Arial"
      Outputs		      "12"
    }
    Block {
      BlockType		      SubSystem
      Name		      "Double click here for info\n2"
      Ports		      [0, 0, 0, 0, 0]
      Position		      [510, 189, 571, 217]
      ForegroundColor	      "green"
      DropShadow	      on
      ShowName		      off
      ShowPortLabels	      off
      MaskDisplay	      "disp('Output\\nSignals')"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"Double click here for info\n2"
	Location		[597, 132, 750, 700]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	AutoZoom		on
	Annotation {
	  Position		  [22, 284]
	  HorizontalAlignment	  "left"
	  Text			  "01 v (m/s)\n02 alpha (rad)\n03 beta (rad) "
"\n04 p (rad/s)\n05 q (rad/s)\n06 r  (rad/s)\n07 psi (rad)\n08 theta (rad) \n0"
"9 phi (rad)\n10 xe (m)\n11 ye (m)\n12 ze (m)\n13 v dot (m/s2) \n14 alpha dot "
"(rad/s) \n15 beta dot (rad/s) \n16 p dot (rad/s2)\n17 q dot (rad/s2)\n18 r do"
"t (rad/s2)\n19 fi dot (rad/s)\n20 theta dot (rad/s)\n21 psi dot (rad/s)\n22 x"
"e dot (m/s)\n23 ye dot (m/s)\n24 ze dot (m/s)\n25 u dot (m/s2)\n26 v dot (m/s"
"2)\n27 w dot (m/s2)\n28 pb/2v (rad)\n29 qc/v (rad) \n30 rb/v (rad) \n31 Ax (g"
") \n32 Ay (g) \n33 Az (g) \n34 ax (g)\n35 ay (g)\n36 az (g) \n37 delta elevat"
"ors (rad) \n38 delta ailerons (rad)\n39 delta rudder (rad)\n40 delta stabs (r"
"ad)"
	}
      }
    }
    Block {
      BlockType		      Ground
      Name		      "Ground1"
      Position		      [255, 65, 275, 85]
      ShowName		      off
    }
    Block {
      BlockType		      Ground
      Name		      "Ground2"
      Position		      [45, 168, 65, 182]
      ShowName		      off
    }
    Block {
      BlockType		      Mux
      Name		      "Mux"
      Ports		      [4, 1, 0, 0, 0]
      Position		      [320, 153, 325, 212]
      ForegroundColor	      "blue"
      BackgroundColor	      "blue"
      ShowName		      off
      FontName		      "Arial"
      Inputs		      "4"
      DisplayOption	      "none"
    }
    Block {
      BlockType		      Mux
      Name		      "Mux1"
      Ports		      [4, 1, 0, 0, 0]
      Position		      [450, 88, 455, 242]
      BackgroundColor	      "black"
      ShowName		      off
      FontName		      "Arial"
      Inputs		      "[12 12 12 4]"
      DisplayOption	      "none"
    }
    Block {
      BlockType		      Reference
      Name		      "Noise"
      Ports		      [0, 1, 0, 0, 0]
      Position		      [380, 258, 415, 272]
      SourceBlock	      "simulink3/Sources/Band-Limited\nWhite Noise"
      SourceType	      "Continuous White Noise."
      Cov		      "[1e-7*ones(1,6) 1e-10*ones(1,3) zeros(1,31)]"
      Ts		      "0.05"
      seed		      "1:40"
    }
    Block {
      BlockType		      Scope
      Name		      "Phi"
      Ports		      [1, 0, 0, 0, 0]
      Position		      [635, 222, 655, 228]
      Floating		      off
      Location		      [548, 406, 832, 592]
      Open		      off
      NumInputPorts	      "1"
      TickLabels	      "OneTimeTick"
      ZoomMode		      "on"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      Grid		      "on"
      TimeRange		      "100             "
      YMin		      "-0.0002446"
      YMax		      "-0.0002438"
      SaveToWorkspace	      off
      SaveName		      "ScopeData12"
      DataFormat	      "StructureWithTime"
      LimitMaxRows	      on
      MaxRows		      "5000"
      Decimation	      "1"
      SampleInput	      off
      SampleTime	      "0"
    }
    Block {
      BlockType		      Selector
      Name		      "Selector3"
      Position		      [510, 153, 555, 177]
      ShowName		      off
      Elements		      "1:12"
      InputPortWidth	      "40"
    }
    Block {
      BlockType		      Sum
      Name		      "Sum"
      Ports		      [2, 1, 0, 0, 0]
      Position		      [475, 255, 495, 275]
      Orientation	      "down"
      NamePlacement	      "alternate"
      ShowName		      off
      IconShape		      "round"
      Inputs		      "++|"
      SaturateOnIntegerOverflow	on
    }
    Block {
      BlockType		      Terminator
      Name		      "Terminator"
      Position		      [295, 65, 315, 85]
      ShowName		      off
    }
    Block {
      BlockType		      Constant
      Name		      "The 747 Pilot Was Here"
      Position		      [45, 138, 105, 152]
      NamePlacement	      "alternate"
      Value		      "0.75"
    }
    Block {
      BlockType		      Scope
      Name		      "Theta"
      Ports		      [1, 0, 0, 0, 0]
      Position		      [635, 197, 655, 203]
      Floating		      off
      Location		      [962, 543, 1266, 737]
      Open		      off
      NumInputPorts	      "1"
      TickLabels	      "OneTimeTick"
      ZoomMode		      "on"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      Grid		      "on"
      TimeRange		      "300"
      YMin		      "0.0463"
      YMax		      "0.0467"
      SaveToWorkspace	      off
      SaveName		      "ScopeData11"
      DataFormat	      "StructureWithTime"
      LimitMaxRows	      on
      MaxRows		      "5000"
      Decimation	      "1"
      SampleInput	      off
      SampleTime	      "0"
    }
    Block {
      BlockType		      ToWorkspace
      Name		      "To Workspace4"
      Position		      [190, 65, 210, 85]
      ShowName		      off
      VariableName	      "t"
      Buffer		      "1000"
      Decimation	      "1"
      SampleTime	      "0.05"
      SaveFormat	      "Matrix"
    }
    Block {
      BlockType		      Constant
      Name		      "Wind"
      Position		      [360, 56, 415, 74]
      Orientation	      "left"
      NamePlacement	      "alternate"
      Value		      "zeros(6,1)"
    }
    Block {
      BlockType		      SubSystem
      Name		      "elevator"
      Ports		      [4, 4, 0, 0, 0]
      Position		      [250, 139, 300, 196]
      ForegroundColor	      "blue"
      ShowName		      off
      FontName		      "Arial"
      ShowPortLabels	      off
      MaskDisplay	      "disp('Cable &\\nactuator\\ndynamics')"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      Port {
	PortNumber		3
	Name			" "
	TestPoint		off
	RTWStorageClass		"Auto"
      }
      System {
	Name			"elevator"
	Location		[85, 501, 654, 913]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	AutoZoom		on
	Block {
	  BlockType		  Inport
	  Name			  "D_thr"
	  Position		  [45, 155, 65, 175]
	  DropShadow		  on
	  FontName		  "Arial"
	  Port			  "1"
	  PortWidth		  "-1"
	  SampleTime		  "-1"
	  DataType		  "auto"
	  SignalType		  "auto"
	  Interpolate		  on
	}
	Block {
	  BlockType		  Inport
	  Name			  "D_elv"
	  Position		  [45, 245, 65, 265]
	  DropShadow		  on
	  FontName		  "Arial"
	  Port			  "2"
	  PortWidth		  "-1"
	  SampleTime		  "-1"
	  DataType		  "auto"
	  SignalType		  "auto"
	  Interpolate		  on
	}
	Block {
	  BlockType		  Inport
	  Name			  "D_ail"
	  Position		  [45, 295, 65, 315]
	  DropShadow		  on
	  FontName		  "Arial"
	  Port			  "3"
	  PortWidth		  "-1"
	  SampleTime		  "-1"
	  DataType		  "auto"
	  SignalType		  "auto"
	  Interpolate		  on
	}
	Block {
	  BlockType		  Inport
	  Name			  "D_rud"
	  Position		  [45, 345, 65, 365]
	  DropShadow		  on
	  FontName		  "Arial"
	  Port			  "4"
	  PortWidth		  "-1"
	  SampleTime		  "-1"
	  DataType		  "auto"
	  SignalType		  "auto"
	  Interpolate		  on
	}
	Block {
	  BlockType		  TransportDelay
	  Name			  " delay"
	  Position		  [100, 240, 145, 270]
	  FontName		  "Arial"
	  DelayTime		  "0.03"
	  InitialInput		  "-1.71374e-004"
	  BufferSize		  "1024"
	}
	Block {
	  BlockType		  TransportDelay
	  Name			  " delay "
	  Position		  [100, 150, 145, 180]
	  FontName		  "Arial"
	  DelayTime		  "0.03"
	  InitialInput		  "0.490154"
	  BufferSize		  "1024"
	}
	Block {
	  BlockType		  Gain
	  Name			  "Force [N]"
	  Position		  [285, 149, 315, 181]
	  FontName		  "Arial"
	  Gain			  "368160"
	  SaturateOnIntegerOverflow on
	}
	Block {
	  BlockType		  Ground
	  Name			  "Ground1"
	  Position		  [405, 175, 425, 195]
	  ShowName		  off
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "IIR1"
	  Ports			  [1, 1, 0, 0, 0]
	  Position		  [185, 147, 245, 183]
	  ShowPortLabels	  on
	  MaskType		  "Discrete Time First Order IIR"
	  MaskDescription	  "  Each channel has the transfer function \n"
"  (1-exp(-aT))/(1-exp(-aT)(z^-1)) which is a good\n  (pz-matched) approximati"
"on of a/(s+a) if 10*a*T<pi"
	  MaskHelp		  "<p>\n  Each channel has the transfer functi"
"on \n  (1-exp(-aT))/(1-exp(-aT)(z^-1)) which is a good\n  (pz-matched) approx"
"imation of a/(s+a) if 10*a*T<pi\n</p>\n"
	  MaskPromptString	  "Number of Channels|Cutoff Frequency (a)|Ini"
"tial Condition|Sample Time"
	  MaskStyleString	  "edit,edit,edit,edit"
	  MaskTunableValueString  "on,on,on,on"
	  MaskCallbackString	  "|||"
	  MaskEnableString	  "on,on,on,on"
	  MaskVisibilityString	  "on,on,on,on"
	  MaskVariables		  "ni=@1;a=@2;x0=@3;T=@4;"
	  MaskInitialization	  "A=[];B=[];C=[];D=[];\nfor i=1:ni,\nA=[A,zer"
"os(size(A,1),1);zeros(1,size(A,2)),exp(-a*T)];\nB=[B,zeros(size(B,1),1);zeros"
"(1,size(B,2)),1-exp(-a*T)];\nC=[C,zeros(size(C,1),1);zeros(1,size(C,2)),exp(-"
"a*T)];\nD=[D,zeros(size(D,1),1);zeros(1,size(D,2)),1-exp(-a*T)];\nend"
	  MaskDisplay		  "dpoly(a,[1 a],'s')"
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	  MaskValueString	  "1|4|0.490154|0.05"
	  System {
	    Name		    "IIR1"
	    Location		    [350, 143, 766, 250]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    ZoomFactor		    "100"
	    AutoZoom		    on
	    Block {
	      BlockType		      Inport
	      Name		      "In"
	      Position		      [80, 43, 110, 57]
	      Port		      "1"
	      PortWidth		      "-1"
	      SampleTime	      "-1"
	      DataType		      "auto"
	      SignalType	      "auto"
	      Interpolate	      on
	    }
	    Block {
	      BlockType		      DiscreteStateSpace
	      Name		      "Discrete State-Space"
	      Position		      [135, 32, 255, 68]
	      A			      "A"
	      B			      "B"
	      C			      "C"
	      D			      "D"
	      X0		      "x0"
	      SampleTime	      "T"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out"
	      Position		      [275, 43, 305, 57]
	      Port		      "1"
	      OutputWhenDisabled      "held"
	      InitialOutput	      "[]"
	    }
	    Line {
	      SrcBlock		      "Discrete State-Space"
	      SrcPort		      1
	      DstBlock		      "Out"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "In"
	      SrcPort		      1

⌨️ 快捷键说明

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