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

📄 state_respose1.mdl

📁 基于状态观测器的二自由度汽车建模及控制分析
💻 MDL
📖 第 1 页 / 共 2 页
字号:
      YMax		      "5"
      SaveToWorkspace	      off
      SaveName		      "ScopeData"
      LimitDataPoints	      on
      MaxDataPoints	      "5000"
      Decimation	      "1"
      SampleInput	      off
      SampleTime	      "0"
    }
    Block {
      BlockType		      "S-Function"
      FunctionName	      "system"
      SFunctionModules	      "''"
      PortCounts	      "[]"
    }
    Block {
      BlockType		      Sin
      SineType		      "Time based"
      TimeSource	      "Use simulation time"
      Amplitude		      "1"
      Bias		      "0"
      Frequency		      "1"
      Phase		      "0"
      Samples		      "10"
      Offset		      "0"
      SampleTime	      "-1"
      VectorParams1D	      on
    }
    Block {
      BlockType		      StateSpace
      A			      "1"
      B			      "1"
      C			      "1"
      D			      "1"
      X0		      "0"
      AbsoluteTolerance	      "auto"
      Realization	      "auto"
    }
    Block {
      BlockType		      Step
      Time		      "1"
      Before		      "0"
      After		      "1"
      SampleTime	      "-1"
      VectorParams1D	      on
      ZeroCross		      on
    }
  }
  AnnotationDefaults {
    HorizontalAlignment	    "center"
    VerticalAlignment	    "middle"
    ForegroundColor	    "black"
    BackgroundColor	    "white"
    DropShadow		    off
    FontName		    "arial"
    FontSize		    10
    FontWeight		    "normal"
    FontAngle		    "normal"
  }
  LineDefaults {
    FontName		    "arial"
    FontSize		    9
    FontWeight		    "normal"
    FontAngle		    "normal"
  }
  System {
    Name		    "state_respose1"
    Location		    [2, 87, 1022, 726]
    Open		    on
    ModelBrowserVisibility  off
    ModelBrowserWidth	    200
    ScreenColor		    "white"
    PaperOrientation	    "landscape"
    PaperPositionMode	    "auto"
    PaperType		    "A4"
    PaperUnits		    "centimeters"
    ZoomFactor		    "100"
    ReportName		    "simulink-default.rpt"
    Block {
      BlockType		      Constant
      Name		      "Constant"
      Position		      [70, 50, 100, 80]
      Value		      "4"
    }
    Block {
      BlockType		      Constant
      Name		      "Constant1"
      Position		      [65, 295, 95, 325]
      Value		      "0"
    }
    Block {
      BlockType		      Constant
      Name		      "Constant2"
      Position		      [65, 340, 95, 370]
      Value		      "0"
    }
    Block {
      BlockType		      Reference
      Name		      "Discrete \nImpulse"
      Ports		      [0, 1]
      Position		      [60, 386, 100, 424]
      SourceBlock	      "dspsrcs4/Discrete \nImpulse"
      SourceType	      "Discrete Impulse "
      Delay		      "0"
      SampleTime	      "1"
      FrameSample	      "1"
      additionalParams	      off
      allowOverrides	      on
      dataType		      "double"
      isSigned		      on
      wordLen		      "16"
      udDataType	      "sfix(16)"
      fracBitsMode	      "Best precision"
      numFracBits	      "15"
    }
    Block {
      BlockType		      Reference
      Name		      "Discrete \nImpulse1"
      Ports		      [0, 1]
      Position		      [60, 446, 100, 484]
      SourceBlock	      "dspsrcs4/Discrete \nImpulse"
      SourceType	      "Discrete Impulse "
      Delay		      "0"
      SampleTime	      "1"
      FrameSample	      "1"
      additionalParams	      off
      allowOverrides	      on
      dataType		      "double"
      isSigned		      on
      wordLen		      "16"
      udDataType	      "sfix(16)"
      fracBitsMode	      "Best precision"
      numFracBits	      "15"
    }
    Block {
      BlockType		      MultiPortSwitch
      Name		      "Multiport\nSwitch"
      Ports		      [5, 1]
      Position		      [180, 162, 210, 208]
      InputSameDT	      off
      SaturateOnIntegerOverflow	off
    }
    Block {
      BlockType		      Mux
      Name		      "Mux"
      Ports		      [4, 1]
      Position		      [535, 201, 540, 279]
      ShowName		      off
      DisplayOption	      "bar"
    }
    Block {
      BlockType		      Mux
      Name		      "Mux1"
      Ports		      [2, 1]
      Position		      [380, 267, 385, 323]
      ShowName		      off
      Inputs		      "2"
      DisplayOption	      "bar"
    }
    Block {
      BlockType		      Mux
      Name		      "Mux2"
      Ports		      [2, 1]
      Position		      [140, 117, 145, 168]
      ShowName		      off
      Inputs		      "2"
      DisplayOption	      "bar"
    }
    Block {
      BlockType		      Mux
      Name		      "Mux3"
      Ports		      [2, 1]
      Position		      [140, 182, 145, 233]
      ShowName		      off
      Inputs		      "2"
      DisplayOption	      "bar"
    }
    Block {
      BlockType		      Mux
      Name		      "Mux4"
      Ports		      [2, 1]
      Position		      [140, 252, 145, 303]
      ShowName		      off
      Inputs		      "2"
      DisplayOption	      "bar"
    }
    Block {
      BlockType		      Mux
      Name		      "Mux5"
      Ports		      [2, 1]
      Position		      [140, 402, 145, 453]
      ShowName		      off
      Inputs		      "2"
      DisplayOption	      "bar"
    }
    Block {
      BlockType		      "S-Function"
      Name		      "S-function"
      Ports		      [1]
      Position		      [615, 228, 670, 252]
      DeleteFcn		      "pendan([],[],[],'DeleteBlock');"
      FunctionName	      "ball_anim"
    }
    Block {
      BlockType		      Scope
      Name		      "Scope"
      Ports		      [1]
      Position		      [620, 134, 650, 166]
      Location		      [6, 59, 1022, 736]
      Open		      off
      NumInputPorts	      "1"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      TimeRange		      "10"
      YMin		      "-80"
      YMax		      "10"
      DataFormat	      "StructureWithTime"
      LimitDataPoints	      off
    }
    Block {
      BlockType		      Sin
      Name		      "Sine Wave"
      Ports		      [0, 1]
      Position		      [65, 190, 95, 220]
      SineType		      "Time based"
      SampleTime	      "0.05"
    }
    Block {
      BlockType		      Sin
      Name		      "Sine Wave1"
      Ports		      [0, 1]
      Position		      [65, 235, 95, 265]
      SineType		      "Time based"
      SampleTime	      "0.05"
    }
    Block {
      BlockType		      Step
      Name		      "Step"
      Position		      [65, 95, 95, 125]
      Time		      "0"
      SampleTime	      "0.05"
    }
    Block {
      BlockType		      Step
      Name		      "Step1"
      Position		      [65, 140, 95, 170]
      Time		      "0"
      SampleTime	      "0.05"
    }
    Block {
      BlockType		      StateSpace
      Name		      "obj2"
      Position		      [425, 308, 485, 342]
      A			      "Ao"
      B			      "Bo"
      C			      "Co"
      D			      "Do"
      X0		      "[0 0]"
    }
    Block {
      BlockType		      StateSpace
      Name		      "obj3"
      Position		      [430, 198, 490, 232]
      A			      "A1"
      B			      "B1"
      C			      "C1"
      D			      "D1"
      X0		      "[1 0]"
    }
    Block {
      BlockType		      StateSpace
      Name		      "obj4"
      Position		      [430, 148, 490, 182]
      A			      "A2"
      B			      "B2"
      C			      "C2"
      D			      "D2"
      X0		      "[1 0]"
    }
    Block {
      BlockType		      StateSpace
      Name		      "sys1"
      Position		      [280, 263, 340, 297]
      A			      "A"
      B			      "B"
      C			      "C"
      D			      "D"
      X0		      "[1 0]"
    }
    Line {
      SrcBlock		      "Mux1"
      SrcPort		      1
      Points		      [5, 0; 0, 30]
      DstBlock		      "obj2"
      DstPort		      1
    }
    Line {
      SrcBlock		      "sys1"
      SrcPort		      1
      Points		      [10, 0]
      Branch {
	DstBlock		"Mux1"
	DstPort			1
      }
      Branch {
	Points			[0, -30]
	DstBlock		"Mux"
	DstPort			3
      }
    }
    Line {
      SrcBlock		      "Mux"
      SrcPort		      1
      Points		      [5, 0]
      Branch {
	Points			[10, 0; 0, -90]
	DstBlock		"Scope"
	DstPort			1
      }
      Branch {
	DstBlock		"S-function"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Multiport\nSwitch"
      SrcPort		      1
      Points		      [30, 0]
      Branch {
	Points			[0, 125]
	DstBlock		"Mux1"
	DstPort			2
      }
      Branch {
	Points			[20, 0; 0, 10]
	Branch {
	  Points		  [0, -30]
	  DstBlock		  "obj4"
	  DstPort		  1
	}
	Branch {
	  Points		  [0, 10]
	  Branch {
	    DstBlock		    "sys1"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 10]
	    DstBlock		    "obj3"
	    DstPort		    1
	  }
	}
      }
    }
    Line {
      SrcBlock		      "Constant"
      SrcPort		      1
      Points		      [60, 0]
      DstBlock		      "Multiport\nSwitch"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Step"
      SrcPort		      1
      Points		      [15, 0; 0, 20]
      DstBlock		      "Mux2"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Step1"
      SrcPort		      1
      Points		      [25, 0]
      DstBlock		      "Mux2"
      DstPort		      2
    }
    Line {
      SrcBlock		      "Mux2"
      SrcPort		      1
      Points		      [10, 0; 0, 30]
      DstBlock		      "Multiport\nSwitch"
      DstPort		      2
    }
    Line {
      SrcBlock		      "Mux3"
      SrcPort		      1
      Points		      [0, -25]
      DstBlock		      "Multiport\nSwitch"
      DstPort		      3
    }
    Line {
      SrcBlock		      "Mux4"
      SrcPort		      1
      Points		      [5, 0; 0, -85]
      DstBlock		      "Multiport\nSwitch"
      DstPort		      4
    }
    Line {
      SrcBlock		      "Sine Wave"
      SrcPort		      1
      Points		      [10, 0; 0, -10]
      DstBlock		      "Mux3"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Sine Wave1"
      SrcPort		      1
      Points		      [10, 0; 0, -30]
      DstBlock		      "Mux3"
      DstPort		      2
    }
    Line {
      SrcBlock		      "Constant1"
      SrcPort		      1
      Points		      [15, 0; 0, -45]
      DstBlock		      "Mux4"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Constant2"
      SrcPort		      1
      Points		      [25, 0]
      DstBlock		      "Mux4"
      DstPort		      2
    }
    Line {
      SrcBlock		      "obj2"
      SrcPort		      1
      Points		      [15, 0; 0, -55]
      DstBlock		      "Mux"
      DstPort		      4
    }
    Line {
      SrcBlock		      "obj4"
      SrcPort		      1
      Points		      [10, 0; 0, 45]
      DstBlock		      "Mux"
      DstPort		      1
    }
    Line {
      SrcBlock		      "obj3"
      SrcPort		      1
      Points		      [0, 15]
      DstBlock		      "Mux"
      DstPort		      2
    }
    Line {
      SrcBlock		      "Discrete \nImpulse"
      SrcPort		      1
      Points		      [10, 0; 0, 10]
      DstBlock		      "Mux5"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Discrete \nImpulse1"
      SrcPort		      1
      Points		      [10, 0; 0, -25]
      DstBlock		      "Mux5"
      DstPort		      2
    }
    Line {
      SrcBlock		      "Mux5"
      SrcPort		      1
      Points		      [15, 0]
      DstBlock		      "Multiport\nSwitch"
      DstPort		      5
    }
  }
}

⌨️ 快捷键说明

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