Main Content

DC Motor Controller Tuning

这个例子展示了如何设计一个PI控制系统em to control the speed of a DC motor. It is based on the Control System Toolbox™DC Motor Control(Control System Toolbox)example.

After loading the model and pre-configuredControl System Designer, you can design a new controller using Response Optimization.

Requires Control System Toolbox™.

Opening the Model and Control System Designer

Open the model and pre-configured Control System Designer using the command

controlSystemDesigner('dcmotor_demoproject')

Design Overview

The goal of the overall design is to track a reference change in speed with minimal overshoot and to reject output disturbances. The controller must satisfy the following requirements:

  • The closed-loop poles of the control loop are restricted to a region on the root locus plot that implies less than a 5% overshoot.

  • The closed-loop poles of the control loop are restricted to a region on the root locus plot that implies a settling time less than 2 seconds.

  • The output (y) of a unit step output disturbance is reduced by 80% within 0.5 seconds and by 95% within 1 second.

These design requirements have been added to the Control System Designer. To complete the design, using response optimization, click theStart Optimizationbutton within theResponse Optimizationdialog.

Related Topics