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

📄 ch111.mdl

📁 《Matlab7.x系统建模与仿真光盘内容》源码
💻 MDL
📖 第 1 页 / 共 2 页
字号:
	    PropName		    "Components"
	  }
	}
	PropName		"Components"
      }
      Name		      "Configuration"
      SimulationMode	      "normal"
      CurrentDlgPage	      "Solver"
    }
    PropName		    "ConfigurationSets"
  }
  Simulink.ConfigSet {
    $PropName		    "ActiveConfigurationSet"
    $ObjectID		    1
  }
  BlockDefaults {
    Orientation		    "right"
    ForegroundColor	    "black"
    BackgroundColor	    "white"
    DropShadow		    off
    NamePlacement	    "normal"
    FontName		    "Helvetica"
    FontSize		    10
    FontWeight		    "normal"
    FontAngle		    "normal"
    ShowName		    on
  }
  BlockParameterDefaults {
    Block {
      BlockType		      Gain
      Gain		      "1"
      Multiplication	      "Element-wise(K.*u)"
      ParameterDataTypeMode   "Same as input"
      ParameterDataType	      "sfix(16)"
      ParameterScalingMode    "Best Precision: Matrix-wise"
      ParameterScaling	      "2^0"
      OutDataTypeMode	      "Same as input"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
      LockScale		      off
      RndMeth		      "Floor"
      SaturateOnIntegerOverflow	on
      SampleTime	      "-1"
    }
    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
    }
    Block {
      BlockType		      Mux
      Inputs		      "4"
      DisplayOption	      "none"
      BusObject		      "BusObject"
      NonVirtualBus	      off
    }
    Block {
      BlockType		      Scope
      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"
    }
    Block {
      BlockType		      Step
      Time		      "1"
      Before		      "0"
      After		      "1"
      SampleTime	      "-1"
      VectorParams1D	      on
      ZeroCross		      on
    }
    Block {
      BlockType		      Sum
      IconShape		      "rectangular"
      Inputs		      "++"
      InputSameDT	      on
      OutDataTypeMode	      "Same as first input"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
      LockScale		      off
      RndMeth		      "Floor"
      SaturateOnIntegerOverflow	on
      SampleTime	      "-1"
    }
    Block {
      BlockType		      ToWorkspace
      VariableName	      "simulink_output"
      MaxDataPoints	      "1000"
      Decimation	      "1"
      SampleTime	      "0"
      FixptAsFi		      off
    }
  }
  AnnotationDefaults {
    HorizontalAlignment	    "center"
    VerticalAlignment	    "middle"
    ForegroundColor	    "black"
    BackgroundColor	    "white"
    DropShadow		    off
    FontName		    "Helvetica"
    FontSize		    10
    FontWeight		    "normal"
    FontAngle		    "normal"
  }
  LineDefaults {
    FontName		    "Helvetica"
    FontSize		    9
    FontWeight		    "normal"
    FontAngle		    "normal"
  }
  System {
    Name		    "ch111"
    Location		    [202, 147, 936, 563]
    Open		    on
    ModelBrowserVisibility  off
    ModelBrowserWidth	    200
    ScreenColor		    "white"
    PaperOrientation	    "landscape"
    PaperPositionMode	    "auto"
    PaperType		    "A4"
    PaperUnits		    "centimeters"
    ZoomFactor		    "100"
    ReportName		    "simulink-default.rpt"
    Block {
      BlockType		      Step
      Name		      "Ea"
      Position		      [60, 80, 90, 110]
      After		      "2"
      SampleTime	      "0"
    }
    Block {
      BlockType		      Gain
      Name		      "G1"
      Position		      [125, 80, 155, 110]
      Gain		      "1/L"
      ParameterDataTypeMode   "Inherit via internal rule"
      OutDataTypeMode	      "Inherit via internal rule"
      SaturateOnIntegerOverflow	off
    }
    Block {
      BlockType		      Gain
      Name		      "G2"
      Position		      [255, 15, 300, 55]
      Orientation	      "left"
      Gain		      "R/L"
      ParameterDataTypeMode   "Inherit via internal rule"
      OutDataTypeMode	      "Inherit via internal rule"
      SaturateOnIntegerOverflow	off
    }
    Block {
      BlockType		      Gain
      Name		      "G3"
      Position		      [275, 153, 330, 197]
      Orientation	      "left"
      Gain		      "Kb/L"
      ParameterDataTypeMode   "Inherit via internal rule"
      OutDataTypeMode	      "Inherit via internal rule"
      SaturateOnIntegerOverflow	off
    }
    Block {
      BlockType		      Gain
      Name		      "G4"
      Position		      [285, 215, 330, 255]
      Orientation	      "left"
      Gain		      "K/J"
      ParameterDataTypeMode   "Inherit via internal rule"
      OutDataTypeMode	      "Inherit via internal rule"
      SaturateOnIntegerOverflow	off
    }
    Block {
      BlockType		      Gain
      Name		      "G5"
      Position		      [290, 341, 335, 379]
      Orientation	      "left"
      Gain		      "B/J"
      ParameterDataTypeMode   "Inherit via internal rule"
      OutDataTypeMode	      "Inherit via internal rule"
      SaturateOnIntegerOverflow	off
    }
    Block {
      BlockType		      Mux
      Name		      "Mux"
      Ports		      [2, 1]
      Position		      [455, 86, 460, 124]
      ShowName		      off
      Inputs		      "2"
      DisplayOption	      "bar"
    }
    Block {
      BlockType		      Integrator
      Name		      "Position"
      Ports		      [1, 1]
      Position		      [460, 285, 490, 315]
    }
    Block {
      BlockType		      ToWorkspace
      Name		      "Position out"
      Position		      [515, 285, 575, 315]
      VariableName	      "y2"
      MaxDataPoints	      "inf"
      SampleTime	      "-1"
      SaveFormat	      "Structure"
    }
    Block {
      BlockType		      Scope
      Name		      "Scope"
      Ports		      [1]
      Position		      [520, 89, 550, 121]
      Location		      [284, 278, 608, 517]
      Open		      off
      NumInputPorts	      "1"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      YMin		      "-0.5"
      YMax		      "2"
      DataFormat	      "StructureWithTime"
    }
    Block {
      BlockType		      Sum
      Name		      "Sum"
      Ports		      [3, 1]
      Position		      [190, 73, 230, 117]
      ShowName		      off
      Inputs		      "-+-"
      InputSameDT	      off
      OutDataTypeMode	      "Inherit via internal rule"
      SaturateOnIntegerOverflow	off
    }
    Block {
      BlockType		      Sum
      Name		      "Sum1"
      Ports		      [2, 1]
      Position		      [185, 278, 225, 322]
      ShowName		      off
      Inputs		      "+-"
      InputSameDT	      off
      OutDataTypeMode	      "Inherit via internal rule"
      SaturateOnIntegerOverflow	off
    }
    Block {
      BlockType		      Integrator
      Name		      "current"
      Ports		      [1, 1]
      Position		      [310, 80, 340, 110]
    }
    Block {
      BlockType		      Integrator
      Name		      "velocity"
      Ports		      [1, 1]
      Position		      [310, 285, 340, 315]
    }
    Line {
      SrcBlock		      "Ea"
      SrcPort		      1
      DstBlock		      "G1"
      DstPort		      1
    }
    Line {
      SrcBlock		      "G1"
      SrcPort		      1
      DstBlock		      "Sum"
      DstPort		      2
    }
    Line {
      SrcBlock		      "Sum"
      SrcPort		      1
      DstBlock		      "current"
      DstPort		      1
    }
    Line {
      SrcBlock		      "current"
      SrcPort		      1
      Points		      [35, 0]
      Branch {
	Points			[0, -60]
	DstBlock		"G2"
	DstPort			1
      }
      Branch {
	Points			[25, 0]
	Branch {
	  DstBlock		  "Mux"
	  DstPort		  1
	}
	Branch {
	  Points		  [0, 140]
	  DstBlock		  "G4"
	  DstPort		  1
	}
      }
    }
    Line {
      SrcBlock		      "G2"
      SrcPort		      1
      Points		      [-85, 0; 0, 45]
      DstBlock		      "Sum"
      DstPort		      1
    }
    Line {
      SrcBlock		      "G4"
      SrcPort		      1
      Points		      [-120, 0; 0, 55]
      DstBlock		      "Sum1"
      DstPort		      1
    }
    Line {
      SrcBlock		      "G3"
      SrcPort		      1
      Points		      [-105, 0; 0, -65]
      DstBlock		      "Sum"
      DstPort		      3
    }
    Line {
      SrcBlock		      "G5"
      SrcPort		      1
      Points		      [-125, 0; 0, -50]
      DstBlock		      "Sum1"
      DstPort		      2
    }
    Line {
      SrcBlock		      "Sum1"
      SrcPort		      1
      DstBlock		      "velocity"
      DstPort		      1
    }
    Line {
      SrcBlock		      "velocity"
      SrcPort		      1
      Points		      [20, 0]
      Branch {
	Points			[60, 0]
	Branch {
	  DstBlock		  "Position"
	  DstPort		  1
	}
	Branch {
	  Points		  [0, -185]
	  DstBlock		  "Mux"
	  DstPort		  2
	}
      }
      Branch {
	Points			[0, -125]
	DstBlock		"G3"
	DstPort			1
      }
      Branch {
	Points			[0, 60]
	DstBlock		"G5"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Position"
      SrcPort		      1
      DstBlock		      "Position out"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Mux"
      SrcPort		      1
      DstBlock		      "Scope"
      DstPort		      1
    }
    Annotation {
      Name		      "Sum"
      Position		      [205, 129]
    }
    Annotation {
      Name		      "Sun"
      Position		      [202, 331]
    }
  }
}

⌨️ 快捷键说明

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