PID Controller Based DC Motor Speed Control
PID Controller Based DC Motor Speed Control
Volume: 5 Issue: 9 35 – 38
_______________________________________________________________________________________________
Abstract – Due to extensive use of motion control system in industry, there has been growing research on proportional-integral-derivative (PID)
controllers. DC motors are widely used various areas of industrial applications. The aim of this paper is to implement efficient method for
controlling speed of DC motor using a PID controller based. Proposed system is implemented using arduino microcontroller and PID controller.
Motor speed is controlled through PID based revolutions per minute of the motor. This encoder data will be send through microcontroller to
Personal Computer with PID controller implemented in MATLAB. Results shows that PID controllers used provide efficient controlling of DC
motor.
Keywords – DC Motor; Control System; PID Controller; MATLAB Simulation: Arduino
__________________________________________________*****_______________________________________________
𝐾𝐼 𝐾 𝐷 𝑆 2 +𝐾𝑃 𝑆+𝐾𝐼
𝐾𝑃 + + 𝐾𝐷 𝑆 = …… (1)
𝑆 𝑆
Read motor data through6.microcontroller
Where,
KP = Proportional gain
Send this data to PC
KI = Integral gain
KD = Derivative gain
𝑑𝑒
µ = 𝐾𝑃 𝑒 + 𝐾𝐼 𝑒 𝑑𝑡 + 𝐾𝐷 ………… (2)
𝑑𝑡
Microcontroller gives command to
Motor
This signal (u) is send to the plant, and it gives the new
output (Y). This new output (Y) will be sent back to the sensor
again to find the new error signal (e).The controller takes this
new error signal and computes its derivative and its integral
Increase/Decrease RPM depending
again. This process will continue[4].
upon the current RPM
Characteristics of P, I, and D controllers
A proportional controller (KP) reduces the rise time but it
will never eliminate the steady-state error.
End
An integral control (KI) eliminates the steady-state error,
but it makes the transient response worse.
Fig.2. System Implementation Flow
36
IJRITCC | September 2017, Available @ http://www.ijritcc.org
_______________________________________________________________________________________
International Journal on Recent and Innovation Trends in Computing and Communication ISSN: 2321-8169
Volume: 5 Issue: 9 35 – 38
_______________________________________________________________________________________________
A derivative control (KD) increases stability of the system,
by reducing the overshoot, and it improves the transient
response of the system [2].
Table No.1 Effects of each of controllers KP, KI, and KD
on a closed-loop system[2]
CL RISE OVERSHOOT SETTLING S-S
RESPONSE TIME TIME ERROR
37
IJRITCC | September 2017, Available @ http://www.ijritcc.org
_______________________________________________________________________________________
International Journal on Recent and Innovation Trends in Computing and Communication ISSN: 2321-8169
Volume: 5 Issue: 9 35 – 38
_______________________________________________________________________________________________
[9] Saurabh Dubey1, Dr. S.K. Srivastava, “A PID Controlled Real
Time Analysis of DC Motor”, International Journal of
Innovative Research in Computer and Communication
Engineering, Vol. 1, Issue 8, October 2013.
[10] Pikaso Pal , Rajeeb Dey , Raj Kumar Biswas , Shubhashish
Bhakta, “Optimal pid controller design for speed control of a
separately excited dc motor: a firefly based optimization
approach”, International Journal of Soft Computing,
Mathematics and Control (IJSCMC), Vol. 4, No. 4, November
2015.
[11] Safina Al Nisa, Lini Mathew, S Chatterji ,“Comparative
Analysis of Speed Control of DC Motor Using AI Technique”,
International Journal of Engineering Research and Applications,
Vol. 3, Issue 3, May-Jun 2013, pp.1137-1146.
Fig.6 Motor RPM vs Number of Samples for threshold
RPM=2000
VI. CONCLUSION
Proposed system consists of servomotor and PID controller.
System is designed and implemented using MATLAB and
arduino IDE software tools. PID controller collects data from
microcontroller to calculate the error and control the speed
with in operated range Results shows that PID controllers
used provide efficient controlling of DC motor.
REFERENCES
[1] Pooja.hanchate,priyanka.gadag,prithvi.h,sapna.u,Ramya.s,priyak
a.b, swathi.i, raghavendra.m.shet, “speed control of dc motor
using pid controller”, international conference, 27th march,
2016, chennai, india.
[2] Nikhil Tripathi , Rameshwar Singh , Renu yadav3 “Analysis of
Speed Control of DC Motor –A review study”, International
Research Journal of Engineering and Technology (IRJET),
Volume: 02 Issue: 08 | Nov-2015.
[3] K. Venkateswarlu & Dr. Ch. Chengaiah ,“Comparative Study on
DC Motor Speed Control using Various Controllers”,Global
Journal of Researches in Engineering Electrical and Electronics
Engineering Volume13,Issue17,Version1.0,Year2013.
[4] Thirupathi Allam, Matla Raju, S.Sundeep Kumar,“Design of
PID controller for DC Motor Speed Control Using Arduino
Microcontroller”, International Research Journal of Engineering
and Technology (IRJET), Volume: 03 Issue: 09 | Sep-2016.
[5] Shatrughana Prakash Yadav , V.K. Tripathi, “A Case Study of
DC Motor Speed Control with PID Controller through MAT
LAB”, International Journal of Advanced Research in Computer
and Communication Engineering Vol. 5, Issue 5, May 2016.
[6] S. A. Deraz,“Genetic Tuned PID Controller Based Speed
Control of DC Motor Drive”, International Journal of
Engineering Trends and Technology (IJETT) – Volume 17
Number 2 – Nov 2014.
[7] Gajal Parasha ,“Speed control of Dc motor using PID controller:
A review”, SSRG International Journal of Electrical and
Electronics Engineering (SSRG-IJEEE) – volume 3 Issue 5 May
2016.
[8] SALIM, JYOTI OHRI ,“FUZZY Based PID Controller for
Speed Control of D.C. Motor Using LabVIEW”, WSEAS
TRANSACTIONS on SYSTEMS and CONTROL, Volume 10,
2015.
38
IJRITCC | September 2017, Available @ http://www.ijritcc.org
_______________________________________________________________________________________