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

📄 dc_motor.mdl

📁 直流电机伺服控制系统仿真matlab程序
💻 MDL
📖 第 1 页 / 共 2 页
字号:
    }
    Block {
      BlockType		      Sin
      SineType		      "Time based"
      Amplitude		      "1"
      Bias		      "0"
      Frequency		      "1"
      Phase		      "0"
      Samples		      "10"
      Offset		      "0"
      SampleTime	      "-1"
      VectorParams1D	      on
    }
    Block {
      BlockType		      Step
      Time		      "1"
      Before		      "0"
      After		      "1"
      SampleTime	      "-1"
      VectorParams1D	      on
      ZeroCross		      on
    }
    Block {
      BlockType		      SubSystem
      ShowPortLabels	      on
      Permissions	      "ReadWrite"
      RTWSystemCode	      "Auto"
      RTWFcnNameOpts	      "Auto"
      RTWFileNameOpts	      "Auto"
      SimViewingDevice	      off
      DataTypeOverride	      "UseLocalSettings"
      MinMaxOverflowLogging   "UseLocalSettings"
    }
    Block {
      BlockType		      Sum
      IconShape		      "rectangular"
      Inputs		      "++"
      ShowAdditionalParam     off
      InputSameDT	      on
      OutDataTypeMode	      "Same as first input"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
      LockScale		      off
      RndMeth		      "Floor"
      SaturateOnIntegerOverflow	on
    }
    Block {
      BlockType		      Terminator
    }
    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		    "Helvetica"
    FontSize		    10
    FontWeight		    "normal"
    FontAngle		    "normal"
  }
  LineDefaults {
    FontName		    "Helvetica"
    FontSize		    9
    FontWeight		    "normal"
    FontAngle		    "normal"
  }
  System {
    Name		    "dc_motor4_weizhi2"
    Location		    [329, 147, 1349, 769]
    Open		    on
    ModelBrowserVisibility  off
    ModelBrowserWidth	    200
    ScreenColor		    "white"
    PaperOrientation	    "landscape"
    PaperPositionMode	    "auto"
    PaperType		    "usletter"
    PaperUnits		    "inches"
    ZoomFactor		    "100"
    ReportName		    "simulink-default.rpt"
    Block {
      BlockType		      Abs
      Name		      "Abs"
      Position		      [295, 315, 325, 345]
      Orientation	      "left"
      SaturateOnIntegerOverflow	off
      ZeroCross		      off
    }
    Block {
      BlockType		      DataTypeConversion
      Name		      "Data Type Conversion"
      Position		      [170, 196, 225, 224]
    }
    Block {
      BlockType		      SubSystem
      Name		      "Demux"
      Ports		      [1, 4]
      Position		      [1125, 323, 1150, 432]
      Orientation	      "left"
      NamePlacement	      "alternate"
      TreatAsAtomicUnit	      off
      System {
	Name			"Demux"
	Location		[446, 290, 642, 464]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "m"
	  Position		  [25, 58, 55, 72]
	}
	Block {
	  BlockType		  Demux
	  Name			  "Demux"
	  Ports			  [1, 4]
	  Position		  [80, 28, 95, 97]
	  ShowName		  off
	}
	Block {
	  BlockType		  Outport
	  Name			  "wm"
	  Position		  [120, 13, 150, 27]
	}
	Block {
	  BlockType		  Outport
	  Name			  "Ia"
	  Position		  [120, 43, 150, 57]
	  Port			  "2"
	}
	Block {
	  BlockType		  Outport
	  Name			  "If"
	  Position		  [130, 78, 160, 92]
	  Port			  "3"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Te"
	  Position		  [120, 118, 150, 132]
	  Port			  "4"
	}
	Line {
	  SrcBlock		  "Demux"
	  SrcPort		  1
	  Points		  [5, 0]
	  DstBlock		  "wm"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Demux"
	  SrcPort		  2
	  Points		  [5, 0]
	  DstBlock		  "Ia"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "m"
	  SrcPort		  1
	  DstBlock		  "Demux"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Demux"
	  SrcPort		  3
	  Points		  [15, 0]
	  DstBlock		  "If"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Demux"
	  SrcPort		  4
	  Points		  [5, 0]
	  DstBlock		  "Te"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      TransferFcn
      Name		      "Filter"
      Position		      [770, 355, 810, 375]
      Orientation	      "left"
      NamePlacement	      "alternate"
      ShowName		      off
      Numerator		      "1"
      Denominator	      "[1e-5 1]"
      MaskDisplay	      "disp('Filter')"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      Port {
	PortNumber		1
	Name			"Ia"
	TestPoint		off
	LinearAnalysisOutput	off
	LinearAnalysisInput	off
	RTWStorageClass		"Auto"
	DataLogging		off
	DataLoggingNameMode	"SignalName"
	DataLoggingDecimateData	off
	DataLoggingDecimation	"2"
	DataLoggingLimitDataPoints off
	DataLoggingMaxPoints	"5000"
      }
    }
    Block {
      BlockType		      Integrator
      Name		      "Integrator1"
      Ports		      [1, 1]
      Position		      [950, 260, 980, 290]
      Orientation	      "left"
      NamePlacement	      "alternate"
    }
    Block {
      BlockType		      Integrator
      Name		      "Integrator2"
      Ports		      [1, 1]
      Position		      [845, 315, 875, 345]
      Orientation	      "left"
      NamePlacement	      "alternate"
    }
    Block {
      BlockType		      Step
      Name		      "Load_torque 2"
      Position		      [1125, 105, 1155, 125]
      Time		      "0"
      Before		      "0.1"
      After		      "0.1"
      SampleTime	      "0.0001"
    }
    Block {
      BlockType		      Lookup
      Name		      "Look-Up\nTable"
      Position		      [785, 163, 810, 197]
      InputValues	      "[0 10 20 30 40 50 60 70 80 90]"
      OutputValues	      "[1  0.8  0.6  0.9  0.7  0.5  0.3  0.2  0.1  0]*"
"0.8"
    }
    Block {
      BlockType		      SubSystem
      Name		      "More Info"
      Ports		      []
      Position		      [910, 435, 937, 460]
      DropShadow	      on
      TreatAsAtomicUnit	      off
      MaskDisplay	      "disp('?')"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"More Info"
	Location		[108, 205, 854, 647]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	Annotation {
	  Name			  "Start the simulation. Observe the motor cur"
"rent, voltage, and speed during the starting on the scope.\n\nAt the end of t"
"he simulation time (1.5 s), the system has attained its steady-state. The fin"
"al state vector can\nbe saved by previously  selecting 'Workspace I/O/Save to"
" workspace/Final state' in Simulation/Parameters window.\nOnce the simultion "
"is finished save the xFinal variable into xInitial.   \n\nNote : The initial "
"conditions state vector xInitial to start with wm = 120 rad/s and Te = 5 N.m "
"is stored in the psbdcdrive_init.mat file.  \n\nReplace the constant wref and"
" TL blocks by the two Simulink step functions with different starting times."
"\n(Refence speed wref changed from 120 to 160 rad/s at t = 0.4 s and load tor"
"que changed from 5 to 25 N.m at  t= 2s)\nSelect  'Workspace I/O/Load from wor"
"k space/Initial state' in Simulation parameters window to load the steady-sta"
"te  vector xInitial.\nRestart the simulation  and observe the drive response "
"to successive changes in speed reference and load torque. "
	  Position		  [19, 246]
	  HorizontalAlignment	  "left"
	  VerticalAlignment	  "top"
	  FontName		  "Arial"
	  FontSize		  12
	}
	Annotation {
	  Name			  "Case study: Chopper-Fed DC Motor Drive"
	  Position		  [19, 22]
	  HorizontalAlignment	  "left"
	  VerticalAlignment	  "top"
	  FontSize		  14
	  FontWeight		  "bold"
	}
	Annotation {
	  Name			  "Circuit Description"
	  Position		  [19, 72]
	  HorizontalAlignment	  "left"
	  VerticalAlignment	  "top"
	  ForegroundColor	  "blue"
	  FontSize		  14
	  FontWeight		  "bold"
	}
	Annotation {
	  Name			  "Demonstration"
	  Position		  [19, 222]
	  HorizontalAlignment	  "left"
	  VerticalAlignment	  "top"
	  ForegroundColor	  "blue"
	  FontSize		  14
	  FontWeight		  "bold"
	}
	Annotation {
	  Name			  "The DC motor is fed by the DC source throug"
"h a chopper which consists of GTO thyristor Th1\nand free-wheeling diode D1. "
"The motor drives a mechanical load characterized by inertia J, friction\ncoef"
"icient B, and load torque TL.\n\nThe hysteresis current controller compares t"
"he sensed current with the reference and generates \nthe trigger signal for t"
"he GTO thyristor to force the motor current to follow the reference.      \nT"
"he speed control loop uses a proportional-integral controller which produces "
"the reference for the current loop.\nCurrent and Voltage Measurement blocks p"
"rovide signals for visualization purpose.           "
	  Position		  [18, 93]
	  HorizontalAlignment	  "left"
	  VerticalAlignment	  "top"
	  FontName		  "Arial"
	  FontSize		  12
	}
	Annotation {
	  Name			  "H. Le-Huy (Universit

⌨️ 快捷键说明

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