DC motor speed control with Lag compensator and PID

DC motor speed control with Lag compensator and PID

You are now following this Submission

DC motor Control using lag compensation and PID
To customize this code you just need to:
1- Change the values of DC motor constants
2- Determine settling time, PO% and SSE and Change the zeros of lag compensation
3- Tune the gains of PID controller

Cite As

Dr. Redmond Ramin Shamshiri (2026). DC motor speed control with Lag compensator and PID (https://www.mathworks.com/matlabcentral/fileexchange/25976-dc-motor-speed-control-with-lag-compensator-and-pid), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Communities
Version Published Release Notes Action
1.1.0.0

Bode plots of the system with lag compensator and PID controller were added.

1.0.0.0