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

📄 f16_openloop.mdl

📁 这是建立F16的非线性simulink模型
💻 MDL
📖 第 1 页 / 共 4 页
字号:
	  RTWSystemCode		  "Auto"
	  System {
	    Name		    "LEF act."
	    Location		    [210, 392, 781, 692]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "In1"
	      Position		      [35, 78, 65, 92]
	      Port		      "1"
	      IconDisplay	      "Port number"
	      LatchInput	      off
	    }
	    Block {
	      BlockType		      Saturate
	      Name		      "Command\nSaturation"
	      Position		      [100, 70, 130, 100]
	      UpperLimit	      "25"
	      LowerLimit	      "0"
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gain"
	      Position		      [220, 65, 270, 105]
	      Gain		      "1/0.136"
	    }
	    Block {
	      BlockType		      Integrator
	      Name		      "Integrator\n"
	      Ports		      [1, 1]
	      Position		      [385, 69, 415, 101]
	      InitialCondition	      "init_dlef*180/pi"
	      UpperSaturationLimit    "25"
	      LowerSaturationLimit    "-25"
	    }
	    Block {
	      BlockType		      Saturate
	      Name		      "Rate\nSaturation"
	      Position		      [310, 70, 340, 100]
	      UpperLimit	      "25"
	      LowerLimit	      "-25"
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum"
	      Ports		      [2, 1]
	      Position		      [175, 75, 195, 95]
	      ShowName		      off
	      IconShape		      "round"
	      Inputs		      "|+-"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out1"
	      Position		      [485, 78, 515, 92]
	      IconDisplay	      "Port number"
	      BusOutputAsStruct	      off
	    }
	    Line {
	      SrcBlock		      "Integrator\n"
	      SrcPort		      1
	      Points		      [25, 0]
	      Branch {
		Points			[0, 90; -260, 0]
		DstBlock		"Sum"
		DstPort			2
	      }
	      Branch {
		DstBlock		"Out1"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "Rate\nSaturation"
	      SrcPort		      1
	      DstBlock		      "Integrator\n"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Gain"
	      SrcPort		      1
	      DstBlock		      "Rate\nSaturation"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Sum"
	      SrcPort		      1
	      DstBlock		      "Gain"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Command\nSaturation"
	      SrcPort		      1
	      DstBlock		      "Sum"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "In1"
	      SrcPort		      1
	      DstBlock		      "Command\nSaturation"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  Integrator
	  Name			  "LF_state"
	  Ports			  [1, 1]
	  Position		  [355, 320, 385, 350]
	  InitialCondition	  "-init_x(3)*180/pi"
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum"
	  Ports			  [3, 1]
	  Position		  [560, 320, 590, 350]
	  ShowName		  off
	  IconShape		  "round"
	  Inputs		  "-|+|+"
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum1"
	  Ports			  [2, 1]
	  Position		  [235, 325, 255, 345]
	  ShowName		  off
	  IconShape		  "round"
	  Inputs		  "|+-"
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum2"
	  Ports			  [2, 1]
	  Position		  [415, 325, 435, 345]
	  ShowName		  off
	  IconShape		  "round"
	  Inputs		  "++|"
	}
	Block {
	  BlockType		  Constant
	  Name			  "coeff1"
	  Position		  [560, 375, 590, 405]
	  Orientation		  "up"
	  NamePlacement		  "alternate"
	  ShowName		  off
	  Value			  "1.45"
	}
	Block {
	  BlockType		  Terminator
	  Name			  "end"
	  Position		  [110, 131, 130, 149]
	  ShowName		  off
	}
	Block {
	  BlockType		  Terminator
	  Name			  "end1"
	  Position		  [125, 331, 145, 349]
	  ShowName		  off
	}
	Block {
	  BlockType		  Terminator
	  Name			  "end2"
	  Position		  [110, 221, 130, 239]
	  ShowName		  off
	}
	Block {
	  BlockType		  Gain
	  Name			  "r2d1"
	  Position		  [135, 165, 185, 205]
	  ShowName		  off
	  Gain			  "180/pi"
	}
	Block {
	  BlockType		  Gain
	  Name			  "r2d6"
	  Position		  [480, 146, 525, 184]
	  ShowName		  off
	  Gain			  "9.05"
	}
	Block {
	  BlockType		  Outport
	  Name			  "delta_lef\n"
	  Position		  [860, 328, 890, 342]
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Line {
	  SrcBlock		  "Degrees to\nRadians"
	  SrcPort		  1
	  DstBlock		  "delta_lef\n"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Gain3"
	  SrcPort		  1
	  Points		  [45, 0; 0, -150]
	  DstBlock		  "Creating    qbar / ps"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "LEF act."
	  SrcPort		  1
	  DstBlock		  "Degrees to\nRadians"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Sum"
	  SrcPort		  1
	  DstBlock		  "LEF act."
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "state"
	  SrcPort		  1
	  DstBlock		  "Demux"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Sum1"
	  SrcPort		  1
	  DstBlock		  "Gain1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Gain1"
	  SrcPort		  1
	  DstBlock		  "LF_state"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Gain"
	  SrcPort		  1
	  Points		  [75, 0]
	  DstBlock		  "Sum2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Gain2"
	  SrcPort		  1
	  DstBlock		  "Sum"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "coeff1"
	  SrcPort		  1
	  DstBlock		  "Sum"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "Sum2"
	  SrcPort		  1
	  Points		  [0, 0; 5, 0]
	  Branch {
	    Points		    [0, 45; -200, 0]
	    DstBlock		    "Sum1"
	    DstPort		    2
	  }
	  Branch {
	    DstBlock		    "Gain2"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "LF_state"
	  SrcPort		  1
	  DstBlock		  "Sum2"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "r2d1"
	  SrcPort		  1
	  Points		  [5, 0; 0, 110; 20, 0]
	  Branch {
	    Points		    [0, 40]
	    DstBlock		    "Sum1"
	    DstPort		    1
	  }
	  Branch {
	    DstBlock		    "Gain"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Creating    qbar / ps"
	  SrcPort		  1
	  DstBlock		  "r2d6"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "r2d6"
	  SrcPort		  1
	  Points		  [45, 0]
	  DstBlock		  "Sum"
	  DstPort		  1
	}
	Line {
	  Name			  "Vt"
	  Labels		  [0, 0]
	  SrcBlock		  "Demux"
	  SrcPort		  1
	  Points		  [155, 0; 0, 120]
	  DstBlock		  "Creating    qbar / ps"
	  DstPort		  2
	}
	Line {
	  Name			  "beta"
	  Labels		  [0, 0]
	  SrcBlock		  "Demux"
	  SrcPort		  2
	  Points		  [0, 15]
	  DstBlock		  "end"
	  DstPort		  1
	}
	Line {
	  Name			  "alpha"
	  Labels		  [0, 0]
	  SrcBlock		  "Demux"
	  SrcPort		  3
	  Points		  [0, 20]
	  DstBlock		  "r2d1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Demux"
	  SrcPort		  4
	  Points		  [0, 25]
	  DstBlock		  "end2"
	  DstPort		  1
	}
	Line {
	  Name			  "ze"
	  Labels		  [0, 0]
	  SrcBlock		  "Demux"
	  SrcPort		  5
	  Points		  [0, 30]
	  DstBlock		  "Gain3"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Demux"
	  SrcPort		  6
	  Points		  [10, 0; 0, 55]
	  DstBlock		  "end1"
	  DstPort		  1
	}
	Annotation {
	  Name			  "Initialize LF_state with -alpha0 value in d"
"egrees!!!!"
	  Position		  [344, 407]
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "SubSystem1"
      Ports		      []
      Position		      [261, 244, 335, 273]
      BackgroundColor	      "lightBlue"
      DropShadow	      on
      ShowName		      off
      OpenFcn		      "edit(fullfile(cd,'F16_dyn.c'))"
      TreatAsAtomicUnit	      off
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      MaskDisplay	      "disp('F16_dyn.c');"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"SubSystem1"
	Location		[150, 184, 648, 484]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "Trimmed input"
      Ports		      [0, 1]
      Position		      [50, 63, 105, 117]
      TreatAsAtomicUnit	      off
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      MaskDisplay	      "image(imread('aerodata\\f16cockpit.jpg'))"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"Trimmed input"
	Location		[104, 98, 849, 676]
	Open			on
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  SubSystem
	  Name			  "Aileron act"
	  Ports			  [1, 1]
	  Position		  [345, 294, 445, 336]
	  TreatAsAtomicUnit	  off
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  MaskDisplay		  "port_label('output', 1, 'da')\nport_label('"
"input', 1, 'da_ref')"
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	  System {
	    Name		    "Aileron act"
	    Location		    [322, 328, 893, 628]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "In1"
	      Position		      [40, 93, 70, 107]
	      Port		      "1"
	      IconDisplay	      "Port number"
	      LatchInput	      off
	    }
	    Block {
	      BlockType		      Saturate
	      Name		      "Command\nSaturation"
	      Position		      [100, 85, 130, 115]
	      UpperLimit	      "21.5*pi/180"
	      LowerLimit	      "-21.5*pi/180"
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gain"
	      Position		      [225, 80, 275, 120]
	      Gain		      "20.2"
	    }
	    Block {
	      BlockType		      Integrator

⌨️ 快捷键说明

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