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

📄 sldemo_f14.mdl

📁 This demonstration models a flight control for the longitudinal motion of a Grumman Aerospace F-14 T
💻 MDL
📖 第 1 页 / 共 4 页
字号:
      LatchByCopyingInsideSignal off
      Interpolate	      on
    }
    Block {
      BlockType		      InportShadow
      UseBusObject	      off
      BusObject		      "BusObject"
      BusOutputAsStruct	      off
      PortDimensions	      "-1"
      SampleTime	      "-1"
      DataType		      "auto"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
      SignalType	      "auto"
      SamplingMode	      "auto"
      Interpolate	      on
    }
    Block {
      BlockType		      Integrator
      ExternalReset	      "none"
      InitialConditionSource  "internal"
      InitialCondition	      "0"
      LimitOutput	      off
      UpperSaturationLimit    "inf"
      LowerSaturationLimit    "-inf"
      ShowSaturationPort      off
      ShowStatePort	      off
      AbsoluteTolerance	      "auto"
      IgnoreLimit	      off
      ZeroCross		      on
      ContinuousStateAttributes	"''"
    }
    Block {
      BlockType		      SignalViewerScope
      Floating		      off
      ModelBased	      off
      TickLabels	      "OneTimeTick"
      ZoomMode		      "on"
      Grid		      "on"
      TimeRange		      "auto"
      YMin		      "-5"
      YMax		      "5"
      SaveToWorkspace	      off
      SaveName		      "ScopeData"
      LimitDataPoints	      on
      MaxDataPoints	      "5000"
      Decimation	      "1"
      SampleInput	      off
      SampleTime	      "0"
      Disabled		      off
      ScrollMode	      on
    }
    Block {
      BlockType		      Outport
      Port		      "1"
      UseBusObject	      off
      BusObject		      "BusObject"
      BusOutputAsStruct	      off
      PortDimensions	      "-1"
      SampleTime	      "-1"
      DataType		      "auto"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
      SignalType	      "auto"
      SamplingMode	      "auto"
      OutputWhenDisabled      "held"
      InitialOutput	      "[]"
    }
    Block {
      BlockType		      Product
      Inputs		      "2"
      Multiplication	      "Element-wise(.*)"
      CollapseMode	      "All dimensions"
      CollapseDim	      "1"
      InputSameDT	      on
      OutDataTypeMode	      "Same as first input"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
      LockScale		      off
      RndMeth		      "Zero"
      SaturateOnIntegerOverflow	on
      SampleTime	      "-1"
    }
    Block {
      BlockType		      Reference
    }
    Block {
      BlockType		      SignalGenerator
      WaveForm		      "sine"
      TimeSource	      "Use simulation time"
      Amplitude		      "1"
      Frequency		      "1"
      Units		      "Hertz"
      VectorParams1D	      on
    }
    Block {
      BlockType		      SubSystem
      ShowPortLabels	      "FromPortIcon"
      Permissions	      "ReadWrite"
      PermitHierarchicalResolution "All"
      TreatAsAtomicUnit	      off
      SystemSampleTime	      "-1"
      RTWFcnNameOpts	      "Auto"
      RTWFileNameOpts	      "Auto"
      RTWMemSecFuncInitTerm   "Inherit from model"
      RTWMemSecFuncExecute    "Inherit from model"
      RTWMemSecDataConstants  "Inherit from model"
      RTWMemSecDataInternal   "Inherit from model"
      RTWMemSecDataParameters "Inherit from model"
      SimViewingDevice	      off
      DataTypeOverride	      "UseLocalSettings"
      MinMaxOverflowLogging   "UseLocalSettings"
    }
    Block {
      BlockType		      Sum
      IconShape		      "rectangular"
      Inputs		      "++"
      CollapseMode	      "All dimensions"
      CollapseDim	      "1"
      InputSameDT	      on
      OutDataTypeMode	      "Same as first input"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
      LockScale		      off
      RndMeth		      "Floor"
      SaturateOnIntegerOverflow	on
      SampleTime	      "-1"
    }
    Block {
      BlockType		      TransferFcn
      Numerator		      "[1]"
      Denominator	      "[1 2 1]"
      AbsoluteTolerance	      "auto"
      ContinuousStateAttributes	"''"
      Realization	      "auto"
    }
  }
  AnnotationDefaults {
    HorizontalAlignment	    "center"
    VerticalAlignment	    "middle"
    ForegroundColor	    "black"
    BackgroundColor	    "white"
    DropShadow		    off
    FontName		    "Helvetica"
    FontSize		    10
    FontWeight		    "normal"
    FontAngle		    "normal"
    UseDisplayTextAsClickCallback off
  }
  LineDefaults {
    FontName		    "Helvetica"
    FontSize		    9
    FontWeight		    "normal"
    FontAngle		    "normal"
  }
  System {
    Name		    "sldemo_f14"
    Location		    [34, 84, 772, 507]
    Open		    on
    ModelBrowserVisibility  off
    ModelBrowserWidth	    200
    ScreenColor		    "white"
    PaperOrientation	    "landscape"
    PaperPositionMode	    "auto"
    PaperType		    "usletter"
    PaperUnits		    "inches"
    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
    TiledPageScale	    1
    ShowPageBoundaries	    off
    ZoomFactor		    "100"
    ReportName		    "simulink-default.rpt"
    Block {
      BlockType		      Inport
      Name		      "u"
      Position		      [15, 92, 45, 108]
      IconDisplay	      "Port number"
    }
    Block {
      BlockType		      TransferFcn
      Name		      "Actuator\nModel"
      Position		      [255, 97, 315, 143]
      Denominator	      "[ Ta, 1]"
    }
    Block {
      BlockType		      SubSystem
      Name		      "Aircraft\nDynamics\nModel"
      Ports		      [3, 4]
      Position		      [345, 88, 460, 282]
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      FunctionWithSeparateData off
      MaskHideContents	      off
      MaskDisplay	      "port_label('input',1,'\\delta_{e}, deg','texmod"
"e','on');\nport_label('input',2,'wGust, ft/sec','texmode','on');\nport_label("
"'input',3,'qGust, rad/sec','texmode','on');\nport_label('output',1,'wdot, ft/"
"sec^2','texmode','on');\nport_label('output',2,'qdot, rad/sec^{2}','texmode',"
"'on');\nport_label('output',3,'q, rad/sec','texmode','on');\nport_label('outp"
"ut',4,'\\alpha, rad','texmode','on');\n\n"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      Port {
	PortNumber		3
	Name			"q, rad/sec"
	RTWStorageClass		"Auto"
	DataLoggingNameMode	"SignalName"
      }
      Port {
	PortNumber		4
	Name			"alpha, rad"
	RTWStorageClass		"Auto"
	DataLoggingNameMode	"SignalName"
	DataLoggingName		"alpha"
      }
      System {
	Name			"Aircraft\nDynamics\nModel"
	Location		[11, 55, 701, 486]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
	TiledPageScale		1
	ShowPageBoundaries	off
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "Elevator\nDeflection\nd (deg)"
	  Position		  [35, 27, 65, 43]
	  IconDisplay		  "Port number"
	}
	Block {
	  BlockType		  Inport
	  Name			  "Vertical Gust\nwGust (ft/sec)"
	  Position		  [85, 92, 115, 108]
	  Port			  "2"
	  IconDisplay		  "Port number"
	}
	Block {
	  BlockType		  Inport
	  Name			  "Rotary Gust\nqGust (rad/sec)"
	  Position		  [85, 267, 115, 283]
	  Port			  "3"
	  IconDisplay		  "Port number"
	}
	Block {
	  BlockType		  InportShadow
	  Name			  "Elevator\nDeflection\nd (deg)1"
	  Position		  [40, 341, 70, 359]
	  Port			  "1"
	  IconDisplay		  "Port number"
	  LatchByDelayingOutsideSignal off
	  LatchByCopyingInsideSignal off
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain1"
	  Position		  [525, 92, 575, 138]
	  ShowName		  off
	  Gain			  "1/Uo"
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain3"
	  Position		  [290, 145, 330, 185]
	  Orientation		  "left"
	  ShowName		  off
	  Gain			  "Uo"
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain4"
	  Position		  [290, 203, 330, 247]
	  Orientation		  "left"
	  ShowName		  off
	  Gain			  "Mw"
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain5"
	  Position		  [140, 15, 175, 55]
	  ShowName		  off
	  Gain			  "Zd"
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain6"
	  Position		  [145, 330, 180, 370]
	  ShowName		  off
	  Gain			  "Md"
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Pitch Channel"
	  Ports			  [1, 2]
	  Position		  [365, 245, 440, 305]
	  FontName		  "Arial"
	  FontSize		  14
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  FunctionWithSeparateData off
	  MaskHideContents	  off
	  System {
	    Name		    "Pitch Channel"
	    Location		    [730, 208, 1216, 456]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
	    TiledPageScale	    1
	    ShowPageBoundaries	    off
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "Input"
	      Position		      [85, 92, 115, 108]
	      FontName		      "Arial"
	      FontSize		      14
	      IconDisplay	      "Port number"
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gain"
	      Position		      [220, 172, 265, 218]
	      Orientation	      "left"
	      ShowName		      off
	      FontName		      "Arial"
	      FontSize		      14
	      Gain		      "Mq"
	    }
	    Block {
	      BlockType		      Integrator
	      Name		      "Integrate\nqdot"
	      Ports		      [1, 1]
	      Position		      [275, 83, 310, 117]
	      ShowName		      off
	      FontName		      "Arial"
	      FontSize		      14
	      IgnoreLimit	      off
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum"
	      Ports		      [2, 1]
	      Position		      [150, 85, 180, 115]
	      ShowName		      off
	      FontName		      "Arial"
	      FontSize		      14
	      IconShape		      "round"
	      Inputs		      "|++"
	      CollapseMode	      "All dimensions"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "q"
	      Position		      [395, 92, 425, 108]
	      FontName		      "Arial"
	      FontSize		      14
	      IconDisplay	      "Port number"
	      BusOutputAsStruct	      off
	      InitialOutput	      "0"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "qdot"
	      Position		      [395, 37, 425, 53]
	      FontName		      "Arial"
	      FontSize		      14
	      Port		      "2"
	      IconDisplay	      "Port number"
	      BusOutputAsStruct	      off
	      InitialOutput	      "0"
	    }
	    Line {
	      SrcBlock		      "Sum"
	      SrcPort		      1
	      Points		      [50, 0]
	      Branch {
		Points			[0, -55]
		DstBlock		"qdot"
		DstPort			1
	      }
	      Branch {
		DstBlock		"Integrate\nqdot"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "Integrate\nqdot"
	      SrcPort		      1
	      Points		      [30, 0]
	      Branch {
		Points			[0, 95]
		DstBlock		"Gain"
		DstPort			1
	      }
	      Branch {
		DstBlock		"q"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "Gain"
	      SrcPort		      1
	      Points		      [-50, 0]
	      DstBlock		      "Sum"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Input"
	      SrcPort		      1
	      DstBlock		      "Sum"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum1"
	  Ports			  [3, 1]
	  Position		  [225, 85, 255, 115]
	  ShowName		  off
	  IconShape		  "round"
	  Inputs		  "+-+"
	  CollapseMode		  "All dimensions"
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum2"
	  Ports			  [3, 1]
	  Position		  [225, 260, 255, 290]
	  ShowName		  off
	  IconShape		  "round"
	  Inputs		  "+-+"
	  CollapseMode		  "All dimensions"
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Vertical Channel"
	  Ports			  [1, 2]
	  Position		  [365, 70, 440, 130]
	  FontName		  "Arial"
	  FontSize		  14
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  FunctionWithSeparateData off
	  MaskHideContents	  off
	  System {
	    Name		    "Vertical Channel"
	    Location		    [697, 77, 1183, 325]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
	    TiledPageScale	    1
	    ShowPageBoundaries	    off
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "Input"
	      Position		      [85, 92, 115, 108]
	      FontName		      "Arial"
	      FontSize		      14
	      IconDisplay	      "Port number"
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gain"
	      Position		      [220, 172, 265, 218]
	      Orientation	      "left"
	      ShowName		      off
	      FontName		      "Arial"
	      FontSize		      14
	      Gain		      "Zw"
	    }
	    Block {
	      BlockType		      Integrator
	      Name		      "Integrate"
	      Ports		      [1, 1]
	      Position		      [275, 83, 310, 117]
	      ShowName		      off
	      FontName		      "Arial"
	      FontSize		      14
	      IgnoreLimit	      off
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum"
	      Ports		      [2, 1]
	      Position		      [150, 85, 180, 115]
	      ShowName		      off
	      FontName		      "Arial"
	      FontSize		      14
	      IconShape		      "round"
	      Inputs		      "|++"
	      CollapseMode	      "All dimensions"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "wdot"
	      Position		      [395, 37, 425, 53]
	      FontName		      "Arial"
	      FontSize		      14
	      IconDisplay	      "Port number"
	      BusOutputAsStruct	      off
	      InitialOutput	      "0"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "w"
	      Position		      [395, 92, 425, 108]
	      FontName		      "Arial"
	      FontSize		      14
	      Port		      "2"
	      IconDisplay	      "Port number"
	      BusOutputAsStruct	      off
	      InitialOutput	      "0"
	    }
	    Line {
	      SrcBlock		      "Input"
	      SrcPort		      1
	      DstBlock		      "Sum"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Gain"
	      SrcPort		      1

⌨️ 快捷键说明

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