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

📄 block143.mdl

📁 this is the simulik models of servo drive using matlab 7.1
💻 MDL
📖 第 1 页 / 共 4 页
字号:
      YMin		      "-5"
      YMax		      "5"
      SaveToWorkspace	      off
      SaveName		      "ScopeData"
      LimitDataPoints	      on
      MaxDataPoints	      "5000"
      Decimation	      "1"
      SampleInput	      off
      SampleTime	      "-1"
    }
    Block {
      BlockType		      Signum
      ZeroCross		      on
      SampleTime	      "-1"
    }
    Block {
      BlockType		      Step
      Time		      "1"
      Before		      "0"
      After		      "1"
      SampleTime	      "-1"
      VectorParams1D	      on
      ZeroCross		      on
    }
    Block {
      BlockType		      SubSystem
      ShowPortLabels	      on
      Permissions	      "ReadWrite"
      PermitHierarchicalResolution "All"
      SystemSampleTime	      "-1"
      RTWFcnNameOpts	      "Auto"
      RTWFileNameOpts	      "Auto"
      SimViewingDevice	      off
      DataTypeOverride	      "UseLocalSettings"
      MinMaxOverflowLogging   "UseLocalSettings"
    }
    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		      TransferFcn
      Numerator		      "[1]"
      Denominator	      "[1 2 1]"
      AbsoluteTolerance	      "auto"
      Realization	      "auto"
    }
  }
  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		    "Block143"
    Location		    [2, 82, 1014, 722]
    Open		    on
    ModelBrowserVisibility  off
    ModelBrowserWidth	    200
    ScreenColor		    "white"
    PaperOrientation	    "landscape"
    PaperPositionMode	    "auto"
    PaperType		    "usletter"
    PaperUnits		    "inches"
    ZoomFactor		    "77"
    ReportName		    "simulink-default.rpt"
    Block {
      BlockType		      SubSystem
      Name		      "Subsystem"
      Ports		      [0, 1]
      Position		      [325, 65, 365, 125]
      NamePlacement	      "alternate"
      TreatAsAtomicUnit	      off
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      MaskHideContents	      off
      System {
	Name			"Subsystem"
	Location		[2, 82, 997, 722]
	Open			on
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	Block {
	  BlockType		  Sum
	  Name			  "Add"
	  Ports			  [2, 1]
	  Position		  [315, 108, 345, 152]
	  Inputs		  "+-"
	  InputSameDT		  off
	  OutDataTypeMode	  "Inherit via internal rule"
	  OutScaling		  "2^-10"
	  SaturateOnIntegerOverflow off
	}
	Block {
	  BlockType		  Sum
	  Name			  "Add1"
	  Ports			  [2, 1]
	  Position		  [575, 107, 605, 138]
	  Inputs		  "+-"
	  InputSameDT		  off
	  OutDataTypeMode	  "Inherit via internal rule"
	  OutScaling		  "2^-10"
	  SaturateOnIntegerOverflow off
	}
	Block {
	  BlockType		  Sum
	  Name			  "Add2"
	  Ports			  [2, 1]
	  Position		  [675, 407, 705, 438]
	  Orientation		  "left"
	  NamePlacement		  "alternate"
	  Inputs		  "-+"
	  InputSameDT		  off
	  OutDataTypeMode	  "Inherit via internal rule"
	  OutScaling		  "2^-10"
	  SaturateOnIntegerOverflow off
	}
	Block {
	  BlockType		  Sum
	  Name			  "Add3"
	  Ports			  [3, 1]
	  Position		  [380, 397, 410, 543]
	  Orientation		  "left"
	  NamePlacement		  "alternate"
	  Inputs		  "+++"
	  InputSameDT		  off
	  OutDataTypeMode	  "Inherit via internal rule"
	  OutScaling		  "2^-10"
	  SaturateOnIntegerOverflow off
	}
	Block {
	  BlockType		  Sum
	  Name			  "Add4"
	  Ports			  [2, 1]
	  Position		  [455, 181, 480, 274]
	  InputSameDT		  off
	  OutDataTypeMode	  "Inherit via internal rule"
	  OutScaling		  "2^-10"
	  SaturateOnIntegerOverflow off
	}
	Block {
	  BlockType		  Sum
	  Name			  "Add5"
	  Ports			  [3, 1]
	  Position		  [625, 255, 655, 385]
	  Orientation		  "left"
	  NamePlacement		  "alternate"
	  Inputs		  "+++"
	  InputSameDT		  off
	  OutDataTypeMode	  "Inherit via internal rule"
	  OutScaling		  "2^-10"
	  SaturateOnIntegerOverflow off
	}
	Block {
	  BlockType		  Sum
	  Name			  "Add6"
	  Ports			  [2, 1]
	  Position		  [400, 637, 430, 668]
	  Inputs		  "+-"
	  InputSameDT		  off
	  OutDataTypeMode	  "Inherit via internal rule"
	  OutScaling		  "2^-10"
	  SaturateOnIntegerOverflow off
	}
	Block {
	  BlockType		  Sum
	  Name			  "Add7"
	  Ports			  [2, 1]
	  Position		  [620, 582, 650, 613]
	  Orientation		  "left"
	  NamePlacement		  "alternate"
	  Inputs		  "+-"
	  InputSameDT		  off
	  OutDataTypeMode	  "Inherit via internal rule"
	  OutScaling		  "2^-10"
	  SaturateOnIntegerOverflow off
	}
	Block {
	  BlockType		  Gain
	  Name			  "Current Amplifier"
	  Position		  [230, 455, 260, 485]
	  Orientation		  "left"
	  NamePlacement		  "alternate"
	  Gain			  "125"
	  ParameterDataTypeMode	  "Inherit via internal rule"
	  OutDataTypeMode	  "Inherit via internal rule"
	  SaturateOnIntegerOverflow off
	}
	Block {
	  BlockType		  Derivative
	  Name			  "Derivative"
	  Position		  [780, 305, 810, 335]
	  Orientation		  "left"
	  NamePlacement		  "alternate"
	}
	Block {
	  BlockType		  Derivative
	  Name			  "Derivative1"
	  Position		  [280, 235, 310, 265]
	}
	Block {
	  BlockType		  Derivative
	  Name			  "Derivative2"
	  Position		  [455, 505, 485, 535]
	  Orientation		  "left"
	  NamePlacement		  "alternate"
	}
	Block {
	  BlockType		  Scope
	  Name			  "Desired"
	  Ports			  [1]
	  Position		  [835, 534, 865, 566]
	  Floating		  off
	  Location		  [5, 52, 1021, 729]
	  Open			  off
	  NumInputPorts		  "1"
	  List {
	    ListType		    AxesTitles
	    axes1		    "%<SignalLabel>"
	  }
	  SaveName		  "ScopeData2"
	  DataFormat		  "StructureWithTime"
	  SampleTime		  "0"
	}
	Block {
	  BlockType		  Scope
	  Name			  "Error"
	  Ports			  [1]
	  Position		  [745, 599, 775, 631]
	  Orientation		  "left"
	  NamePlacement		  "alternate"
	  Floating		  off
	  Location		  [5, 52, 1021, 729]
	  Open			  off
	  NumInputPorts		  "1"
	  List {
	    ListType		    AxesTitles
	    axes1		    "%<SignalLabel>"
	  }
	  SaveName		  "ScopeData1"
	  DataFormat		  "StructureWithTime"
	  SampleTime		  "0"
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain"
	  Position		  [380, 23, 435, 77]
	  Gain			  "18.234"
	  ParameterDataTypeMode	  "Inherit via internal rule"
	  OutDataTypeMode	  "Inherit via internal rule"
	  SaturateOnIntegerOverflow off
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain10"
	  Position		  [370, 235, 400, 265]
	  Gain			  "0.000003925"
	  ParameterDataTypeMode	  "Inherit via internal rule"
	  OutDataTypeMode	  "Inherit via internal rule"
	  SaturateOnIntegerOverflow off
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain4"
	  Position		  [515, 305, 545, 335]
	  Orientation		  "left"
	  NamePlacement		  "alternate"
	  Gain			  "1.11111"
	  ParameterDataTypeMode	  "Inherit via internal rule"
	  OutDataTypeMode	  "Inherit via internal rule"
	  SaturateOnIntegerOverflow off
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain5"
	  Position		  [700, 110, 730, 140]
	  Gain			  "0.00015"
	  ParameterDataTypeMode	  "Inherit via internal rule"
	  OutDataTypeMode	  "Inherit via internal rule"
	  SaturateOnIntegerOverflow off
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain6"
	  Position		  [835, 398, 890, 432]
	  Orientation		  "left"
	  NamePlacement		  "alternate"
	  Gain			  "6866"
	  ParameterDataTypeMode	  "Inherit via internal rule"
	  OutDataTypeMode	  "Inherit via internal rule"
	  SaturateOnIntegerOverflow off
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain7"
	  Position		  [705, 260, 735, 290]
	  Orientation		  "left"
	  NamePlacement		  "alternate"
	  Gain			  "3.9"
	  ParameterDataTypeMode	  "Inherit via internal rule"
	  OutDataTypeMode	  "Inherit via internal rule"
	  SaturateOnIntegerOverflow off
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain8"
	  Position		  [705, 305, 735, 335]
	  Orientation		  "left"
	  NamePlacement		  "alternate"
	  Gain			  "0.003465"
	  ParameterDataTypeMode	  "Inherit via internal rule"
	  OutDataTypeMode	  "Inherit via internal rule"
	  SaturateOnIntegerOverflow off
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain9"
	  Position		  [370, 190, 400, 220]
	  Gain			  "0.0000678"
	  ParameterDataTypeMode	  "Inherit via internal rule"
	  OutDataTypeMode	  "Inherit via internal rule"
	  SaturateOnIntegerOverflow off
	}
	Block {
	  BlockType		  Integrator
	  Name			  "Integrator"
	  Ports			  [1, 1]
	  Position		  [885, 110, 915, 140]
	  IgnoreLimit		  off
	}
	Block {
	  BlockType		  Integrator
	  Name			  "Integrator1"
	  Ports			  [1, 1]
	  Position		  [455, 455, 485, 485]
	  Orientation		  "left"
	  NamePlacement		  "alternate"
	  IgnoreLimit		  off
	}
	Block {
	  BlockType		  Gain
	  Name			  "Kd"
	  Position		  [535, 545, 565, 575]
	  Orientation		  "left"
	  NamePlacement		  "alternate"
	  Gain			  "0.000125"
	  ParameterDataTypeMode	  "Inherit via internal rule"
	  OutDataTypeMode	  "Inherit via internal rule"
	  SaturateOnIntegerOverflow off
	}
	Block {
	  BlockType		  Gain
	  Name			  "Kd1"
	  Position		  [510, 650, 540, 680]
	  Gain			  "0.000125"
	  ParameterDataTypeMode	  "Inherit via internal rule"
	  OutDataTypeMode	  "Inherit via internal rule"
	  SaturateOnIntegerOverflow off
	}
	Block {
	  BlockType		  Gain
	  Name			  "Ki"
	  Position		  [535, 455, 565, 485]
	  Orientation		  "left"
	  NamePlacement		  "alternate"
	  Gain			  "0.005"
	  ParameterDataTypeMode	  "Inherit via internal rule"
	  OutDataTypeMode	  "Inherit via internal rule"
	  SaturateOnIntegerOverflow off
	}
	Block {
	  BlockType		  Gain
	  Name			  "Kp"
	  Position		  [535, 410, 565, 440]
	  Orientation		  "left"
	  NamePlacement		  "alternate"
	  Gain			  "2"
	  ParameterDataTypeMode	  "Inherit via internal rule"
	  OutDataTypeMode	  "Inherit via internal rule"
	  SaturateOnIntegerOverflow off
	}
	Block {
	  BlockType		  Math
	  Name			  "Math\nFunction"
	  Ports			  [1, 1]
	  Position		  [400, 115, 430, 145]
	  Operator		  "sqrt"
	}
	Block {
	  BlockType		  Mux
	  Name			  "Mux"
	  Ports			  [2, 1]
	  Position		  [670, 511, 675, 549]
	  Orientation		  "left"
	  NamePlacement		  "alternate"
	  ShowName		  off
	  Inputs		  "2"
	  DisplayOption		  "bar"
	}
	Block {
	  BlockType		  Product
	  Name			  "Product"
	  Ports			  [2, 1]
	  Position		  [240, 122, 270, 153]
	  InputSameDT		  off
	  OutDataTypeMode	  "Inherit via internal rule"
	  SaturateOnIntegerOverflow off
	}
	Block {
	  BlockType		  Product
	  Name			  "Product1"
	  Ports			  [2, 1]
	  Position		  [500, 22, 530, 53]
	  InputSameDT		  off
	  OutDataTypeMode	  "Inherit via internal rule"
	  SaturateOnIntegerOverflow off
	}
	Block {
	  BlockType		  Constant
	  Name			  "Ps"
	  Position		  [105, 50, 135, 80]
	  Value			  "2000"
	}
	Block {
	  BlockType		  Saturate
	  Name			  "Saturation"
	  Position		  [330, 455, 360, 485]
	  Orientation		  "left"
	  NamePlacement		  "alternate"
	  UpperLimit		  "10"
	  LowerLimit		  "-10"
	}
	Block {
	  BlockType		  Signum
	  Name			  "Sign"
	  Position		  [105, 115, 135, 145]
	}
	Block {
	  BlockType		  Step
	  Name			  "Step"
	  Position		  [735, 500, 765, 530]
	  Time			  "0"
	  After			  "10"
	  SampleTime		  "0"
	}
	Block {
	  BlockType		  TransferFcn
	  Name			  "Transfer Fcn"
	  Position		  [50, 448, 165, 492]
	  Orientation		  "left"
	  NamePlacement		  "alternate"
	  Numerator		  "[1710.936]"
	  Denominator		  "[1 1068 1140624]"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out1"
	  Position		  [780, 380, 810, 395]
	  Orientation		  "up"
	  IconDisplay		  "Port number"
	}
	Line {
	  SrcBlock		  "Ps"
	  SrcPort		  1
	  Points		  [160, 0]
	  DstBlock		  "Add"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Sign"
	  SrcPort		  1
	  Points		  [85, 0]
	  DstBlock		  "Product"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Add"
	  SrcPort		  1
	  Points		  [0, 0]
	  DstBlock		  "Math\nFunction"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Math\nFunction"
	  SrcPort		  1
	  Points		  [50, 0]
	  DstBlock		  "Product1"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Gain"
	  SrcPort		  1
	  Points		  [10, 0; 0, -20]
	  DstBlock		  "Product1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Product1"
	  SrcPort		  1
	  Points		  [10, 0; 0, 75]
	  DstBlock		  "Add1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Transfer Fcn"
	  SrcPort		  1
	  Points		  [-20, 0; 0, -340]
	  Branch {
	    Points		    [65, 0]
	    DstBlock		    "Sign"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, -95; 340, 0]
	    DstBlock		    "Gain"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Gain4"
	  SrcPort		  1
	  Points		  [-285, 0; 0, -70]

⌨️ 快捷键说明

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