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
Dr. Redmond Ramin Shamshiri (2021). 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 .
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!