Implementation of PID on PIC24F series microcontroller for speed control of a DC motor using MPLAB and Proteus

Speed control of DC motor is very critical in most of the industrial systems where accuracy and protection are of essence. This paper presents the simulations of Proportional Integral Derivative Controller (PID) on a 16-bit PIC 24F series microcontroller for speed control of a DC motor in the presence of load torque. The PID gains have been tuned by Linear Quadratic Regulator (LQR) technique and then it is implemented on microcontroller using MPLAB and finally simulated for speed control of DC motor in Proteus Virtual System Modeling (VSM) software.Proteus has built in feature to add load torque to DC motor so simulation results have been presented in three cases speed of DC motor is controlled without load torque, with 25% load torque and with 50% load torque. In all three cases PID effectively controls the speed of DC motor with minimum steady state error.

[1]  Alok K. Mukherjee,et al.  Development of Microcontroller Based Speed Control Scheme of BLDC Motor Using Proteus VSM Software , 2014 .

[2]  Qing-Guo Wang,et al.  PI/PID controller tuning via LQR approach , 1998, Proceedings of the 37th IEEE Conference on Decision and Control (Cat. No.98CH36171).

[3]  Umesh Kumar Bansal,et al.  Speed Control of DC Motor Using Fuzzy PID Controller , 2013 .

[4]  Akash Verma,et al.  Speed Control of DC Motor using Pid Controller Based on Matlab , 2013 .

[5]  Manoj Kumar Singh,et al.  PID Controller Auto Tuning using ASBO Technique , 2014 .

[6]  Amit Agrawal,et al.  Controlling DC Motor using Microcontroller (PIC16F72) with PWM , 2012 .

[7]  Chandrakant Kadu,et al.  Real Time DC Motor Speed Control using PIDController in LabVIEW , 2014 .

[8]  Jovitha Jerome,et al.  LQR based Optimal Tuning of PID Controller for Trajectory Tracking of Magnetic Levitation System , 2013 .

[9]  P. C. Pandey,et al.  DC Motor Speed Control using PID Controllers , 2009 .

[11]  B. Anderson,et al.  Optimal control: linear quadratic methods , 1990 .

[12]  Moayed Almobaied,et al.  Fuzzy PID Controllers Using FPGA Technique for Real Time DC Motor Speed Control , 2011 .

[13]  Juntong Chen,et al.  Application of Proteus software in MCU teaching , 2011, 2011 Second International Conference on Mechanic Automation and Control Engineering.

[14]  C.C. Hang,et al.  A comparative performance study of PID auto-tuners , 1991, IEEE Control Systems.

[15]  Shantanu Das,et al.  LQR based improved discrete PID controller design via optimum selection of weighting matrices using fractional order integral performance index , 2013, 1301.0931.