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

📄 oloop2t.mdl

📁 MATLAB在飞行动力学和控制中应用的工具
💻 MDL
📖 第 1 页 / 共 5 页
字号:
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "vdryd1 "
	      Ports		      [0, 2, 0, 0, 0]
	      Position		      [35, 144, 110, 186]
	      FontName		      "Arial"
	      ShowName		      off
	      SourceBlock	      "wndlib2/vdryd1 "
	      SourceType	      "vdryd1"
	      MaskParam1	      "150"
	      MaskParam2	      "1"
	      MaskParam3	      "45"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "wdryd1 "
	      Ports		      [0, 2, 0, 0, 0]
	      Position		      [35, 200, 110, 240]
	      FontName		      "Arial"
	      ShowName		      off
	      SourceBlock	      "wndlib2/wdryd1 "
	      SourceType	      "wdryd1"
	      MaskParam1	      "150"
	      MaskParam2	      "1"
	      MaskParam3	      "45"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "uwind\n(due to\nturbulence)"
	      Position		      [250, 160, 270, 180]
	      DropShadow	      on
	      FontName		      "Arial"
	      Port		      "1"
	      OutputWhenDisabled      held
	      InitialOutput	      "0"
	    }
	    Line {
	      SrcBlock		      "udryd1 "
	      SrcPort		      1
	      DstBlock		      "Mux"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "udryd1 "
	      SrcPort		      2
	      Points		      [25, 0; 0, 55]
	      DstBlock		      "Mux"
	      DstPort		      4
	    }
	    Line {
	      SrcBlock		      "wdryd1 "
	      SrcPort		      2
	      DstBlock		      "Mux"
	      DstPort		      6
	    }
	    Line {
	      SrcBlock		      "wdryd1 "
	      SrcPort		      1
	      Points		      [35, 0; 0, -55]
	      DstBlock		      "Mux"
	      DstPort		      3
	    }
	    Line {
	      SrcBlock		      "vdryd1 "
	      SrcPort		      2
	      Points		      [15, 0; 0, 30]
	      DstBlock		      "Mux"
	      DstPort		      5
	    }
	    Line {
	      SrcBlock		      "Mux"
	      SrcPort		      1
	      DstBlock		      "uwind\n(due to\nturbulence)"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "vdryd1 "
	      SrcPort		      1
	      Points		      [15, 0; 0, -25]
	      DstBlock		      "Mux"
	      DstPort		      2
	    }
	    Annotation {
	      Position		      [73, 62]
	      VerticalAlignment	      top
	      ForegroundColor	      red
	      FontName		      "Arial"
	      FontSize		      11
	      Text		      "Dryden filters for V\napprox. constant:"
	    }
	    Annotation {
	      Position		      [173, 92]
	      VerticalAlignment	      top
	      FontName		      "Arial"
	      Text		      "ug"
	    }
	    Annotation {
	      Position		      [172, 117]
	      VerticalAlignment	      top
	      FontName		      "Arial"
	      Text		      "vg"
	    }
	    Annotation {
	      Position		      [173, 142]
	      VerticalAlignment	      top
	      FontName		      "Arial"
	      Text		      "wg"
	    }
	    Annotation {
	      Position		      [179, 167]
	      VerticalAlignment	      top
	      FontName		      "Arial"
	      Text		      "ugdot"
	    }
	    Annotation {
	      Position		      [178, 192]
	      VerticalAlignment	      top
	      FontName		      "Arial"
	      Text		      "vgdot"
	    }
	    Annotation {
	      Position		      [180, 217]
	      VerticalAlignment	      top
	      FontName		      "Arial"
	      Text		      "wgdot"
	    }
	  }
	}
	Line {
	  SrcBlock		  "turb1"
	  SrcPort		  1
	  DstBlock		  "Beaver model"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "Initial inputs\nfor engmod"
	  SrcPort		  1
	  Points		  [25, 0; 0, 20]
	  DstBlock		  "Beaver model"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Initial inputs\nfor aeromod"
	  SrcPort		  1
	  Points		  [25, 0; 0, 20]
	  DstBlock		  "Beaver model"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Beaver model"
	  SrcPort		  8
	  DstBlock		  "Terminator_16"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Beaver model"
	  SrcPort		  2
	  DstBlock		  "Terminator_2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Beaver model"
	  SrcPort		  3
	  DstBlock		  "Auto-scale storage\nGraph Scope"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Beaver model"
	  SrcPort		  4
	  DstBlock		  "Terminator_4"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Beaver model"
	  SrcPort		  5
	  DstBlock		  "Terminator_5"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Beaver model"
	  SrcPort		  6
	  DstBlock		  "Terminator_6"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Beaver model"
	  SrcPort		  7
	  DstBlock		  "Terminator_7"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Beaver model"
	  SrcPort		  9
	  DstBlock		  "Terminator_8"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Beaver model"
	  SrcPort		  10
	  DstBlock		  "Terminator_9"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Beaver model"
	  SrcPort		  11
	  DstBlock		  "Terminator_10"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Beaver model"
	  SrcPort		  12
	  DstBlock		  "Terminator_11"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Beaver model"
	  SrcPort		  13
	  DstBlock		  "Terminator_12"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Beaver model"
	  SrcPort		  14
	  DstBlock		  "Terminator_13"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Beaver model"
	  SrcPort		  15
	  DstBlock		  "Terminator_14"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Beaver model"
	  SrcPort		  16
	  DstBlock		  "Terminator_15"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Beaver model"
	  SrcPort		  1
	  DstBlock		  "Terminator_1"
	  DstPort		  1
	}
	Annotation {
	  Position		  [101, 7]
	  VerticalAlignment	  top
	  ForegroundColor	  blue
	  FontName		  "Times New Roman"
	  FontSize		  14
	  FontWeight		  bold
	  Text			  "Construction of OLOOP2"
	}
	Annotation {
	  Position		  [179, 407]
	  VerticalAlignment	  top
	  FontName		  "Arial"
	  Text			  "Atmospheric Turbulence\nGroup (Dryden "
				  "filters)"
	}
	Annotation {
	  Position		  [250, 37]
	  VerticalAlignment	  top
	  FontName		  "Arial"
	  FontSize		  11
	  Text			  "Step 8. Connect the vector with turbulence "
				  "components to the uwind port of the Beaver "
				  "model."
	}
	Annotation {
	  Position		  [317, 57]
	  VerticalAlignment	  top
	  FontName		  "Arial"
	  FontSize		  11
	  Text			  "Step 9. Here, we will analyze aircraft "
				  "responses to atmospheric turbulence only, "
				  "hence, the control inputs will not be "
				  "varied\nduring the simulation. However, "
				  "they are not equal to zero either, because "
				  "we consider a nonlinear aircraft model, "
				  "NOT a    \n(linear) DEVIATIONS model! "
				  "For instance, the engine speed is usually "
				  "about 1800 to 2000 RPM, NOT zero! The "
				  "initial values \nof the control inputs "
				  "are read from the variables ua0 and ut0 "
				  "from the Matlab workspace. Add two Constant "
				  "blocks from     \nthe Sources library, "
				  "set one of them to ua0 and the other "
				  "to ut0 after double-clicking the blocks, "
				  "and connect the Constant \nblocks to "
				  "the Mux block as shown in the system. "
				  "We now always need to define ua0 and "
				  "ut0 in the Matlab workspace!      "
	}
	Annotation {
	  Position		  [328, 147]
	  VerticalAlignment	  top
	  FontName		  "Arial"
	  FontSize		  11
	  Text			  "Step 10: Connect the output you want "
				  "to monitor during simulations to a Scope "
				  "block (here an Auto-scale storage Graph "
				  "Scope    \nfrom Simulink 1.3 has been "
				  "applied). Connect the remaining open "
				  "lines to Terminator blocks from the Simulink"
				  " library Connections. \nNote: if you "
				  "don't add the Terminator blocks, Simulink "
				  "will issue warnings during simulations. "
				  "Since these warnings do not imply  \nthat "
				  "the simulation results will be invalid, "
				  "it is not really required  to use the "
				  "Terminator blocks.                          "
				  "                              "
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "OLOOP2d"
      Ports		      [0, 0, 0, 0, 0]
      Position		      [25, 265, 80, 295]
      FontName		      "Arial"
      ShowPortLabels	      off
      System {
	Name			"OLOOP2d"
	Location		[4, 42, 677, 478]
	Open			off
	ScreenColor		white
	Block {
	  BlockType		  SubSystem
	  Name			  "Auto-scale storage\nGraph Scope"
	  Ports			  [1, 0, 0, 0, 0]
	  Position		  [370, 230, 400, 270]
	  BackgroundColor	  gray
	  FontName		  "Arial"
	  ShowPortLabels	  off
	  MaskType		  "Storage scope."
	  MaskDescription	  "Storage scope using MATLAB graph window.\nEn"
				  "ter plotting ranges and line type."
	  MaskHelp		  "Uses MATLAB's graph window.\\nUse only "
				  "one block per system.\\nLine type must "
				  "be in quotes.\\nSee the M-file sfunyst.m."
	  MaskPromptString	  "Initial Time Range:|Initial y-min:|Initial "
				  "y-max:|Storage pts.:|Line type (rgbw-.:xo):"
	  MaskStyleString	  "edit,edit,edit,edit,edit"
	  MaskInitialization	  "npts = @4; color = @5; ax = [0, @1, @2, @3];"
	  MaskDisplay		  "plot(0,0,100,100,[83,76,63,52,42,38,28,16,11"
				  ",84,11,11,11,90,90,11],[75,58,47,54,72,80,84"
				  ",74,65,65,65,90,40,40,90,90])"
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  none
	  MaskIconUnits		  autoscale
	  MaskValueString	  "5|-0.02|0.02|200|'r-'"
	  System {
	    Name		    "Auto-scale storage\nGraph Scope"
	    Location		    [0, 0, 274, 193]
	    Open		    off
	    ScreenColor		    white
	    Block {
	      BlockType		      Inport
	      Name		      "x"
	      Position		      [65, 55, 85, 75]
	      Port		      "1"
	      PortWidth		      "-1"
	      SampleTime	      "-1"
	    }
	    Block {
	      BlockType		      S-Function
	      Name		      "S-function\nM-file which plots\nlines\n"
	      Ports		      [1, 0, 0, 0, 0]
	      Position		      [130, 55, 180, 75]
	      CopyFcn		      "sfunyst([],[],[],'CopyBlock')"
	      DeleteFcn		      "sfunyst([],[],[],'DeleteBlock')"
	      LoadFcn		      "sfunyst([],[],[],'LoadBlock')"
	      FunctionName	      "sfunyst"
	      Parameters	      "ax, color, npts"
	    }
	    Line {
	      SrcBlock		      "x"
	      SrcPort		      1
	      DstBlock		      "S-function\nM-file which plots\nlines\n"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Beaver model"
	  Ports			  [3, 16, 0, 0, 0]
	  Position		  [200, 216, 290, 394]
	  BackgroundColor	  lightBlue
	  ShowPortLabels	  on
	  System {
	    Name		    "Beaver model"
	    Location		    [14, 46, 609, 566]
	    Open		    off
	    ScreenColor		    white
	    Block {
	      BlockType		      Inport
	      Name		      "uaero"
	      Position		      [30, 215, 50, 235]
	      DropShadow	      on
	      FontName		      "Arial"
	      FontSize		      9
	      Port		      "1"
	      PortWidth		      "4"
	      SampleTime	      "-1"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "uprop"
	      Position		      [30, 280, 50, 300]
	      DropShadow	      on
	      FontName		      "Arial"
	      FontSize		      9
	      Port		      "2"
	      PortWidth		      "2"
	      SampleTime	      "-1"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "uwind"
	      Position		      [30, 345, 50, 365]
	      DropShadow	      on
	      FontName		      "Arial"
	      FontSize		      9
	      Port		      "3"
	      PortWidth		      "6"
	      SampleTime	      "-1"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "V"
	      Position		      [530, 55, 550, 75]
	      DropShadow	      on
	      FontName		      "Arial"
	      Port		      "1"
	      OutputWhenDisabled      held
	      InitialOutput	      "0"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "alpha"
	      Position		      [495, 70, 515, 90]
	      DropShadow	      on
	      FontName		      "Arial"
	      Port		      "2"
	      OutputWhenDisabled      held
	      InitialOutput	      "0"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "beta"
	      Position		      [530, 105, 550, 125]
	      DropShadow	      on
	      FontName		      "Arial"
	      Port		      "3"
	      OutputWhenDisabled      held
	      InitialOutput	      "0"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "p"
	      Position		      [495, 120, 515, 140]
	      DropShadow	      on
	      FontName		      "Arial"
	      Port		      "4"
	      OutputWhenDisabled      held
	      InitialOutput	      "0"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "q"
	      Position		      [530, 155, 550, 175]
	      DropShadow	      on
	      FontName		      "Arial"
	      Port		      "5"
	      OutputWhenDisabled      held
	      InitialOutput	      "0"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "r"
	      Position		      [495, 170, 515, 190]
	      DropShadow	      on
	      FontName		      "Arial"
	      Port		      "6"
	      OutputWhenDisabled      held
	      InitialOutput	      "0"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "psi"
	      Position		      [530, 205, 550, 225]
	      DropShadow	      on
	      FontName		      "Arial"
	      Port		      "7"
	      OutputWhenDisabled      held

⌨️ 快捷键说明

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