SlideShare a Scribd company logo
1 of 4
Download to read offline
International Journal on Recent and Innovation Trends in Computing and Communication ISSN: 2321-8169
Volume: 5 Issue: 9 35 – 38
_______________________________________________________________________________________________
35
IJRITCC | September 2017, Available @ http://www.ijritcc.org
_______________________________________________________________________________________
PID Controller based DC Motor Speed Control
V. V. Kulkarni
Assistant Professor
Electrical Engineering Department
AISSMS COE Pune
Pune
e-mail: vvkulkarni@aissmscoe.com
Dr. V. A. Kulkarni
Associate Professor
Electrical Engineering Department
Govt. College of Engineeringg,
Aurangabad
e-mail: ku1111@rediffmail.com
Romharshal Talele
ME – II
Electrical Engineering Department
AISSMS COE Pune
Pune
e-mail: romtalele@gmail.com
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
__________________________________________________*****_______________________________________________
I. INTRODUCTION
PID controller is becoming very important since in last few
years its demand is increasing from various industries as it
gives the consistency and maintains the output even if its input
is changed. The DC motor are also popular in the industry
control applications since long time, they have good
characteristic such as high response performance, high start
torque characteristics, and easy for linear control. DC motor
gives good speed control respond. They have wide speed
control range and they are used in speed control systems which
needs high control requirements like high precision digital
tools, rolling mill, double-hulled tanker etc[1]. For example,
suppose DC motor is used in a robot, constant power is applied
to each motor on a robot, in this case poor robot cannot
maintain a steady speed. It goes slower over carpet, faster over
smooth flooring, slower up hill, faster downhill, etc. So, it is
important to take into account a controller to control the speed
of DC motor in desired speed [2].
Many control schemes such as proportional, integral,
derivative, proportional integral, PID, adaptive, and FLCs are
used for speed control of dc motors. For controlling speed of
the DC motor, voltage to the armature of dc motor is varied
[3].Control system is a system which controls other system.
Open Loop Control System
In Open Loop Control System, it cannot correct the
variation in output automatically. In these systems the output
remains constant for a constant input signal. By
approximately changing input output may change to desired
value and variations in external Conditions may cause the
output to change [1].
Closed Loop Control System
In closed Loop Control System, it can correct the variation
in output automatically. In these systems the output remains
constant for a changing input signal. The measured
response of the system is compared with a desired
response of the system. The difference between two response
gives the actual response of the system[1].
This paper is organized as follows: Section II gives
introduction to the PID controllers and importance of the DC
motor. Proposed work and system flow is given Section III.
Software design, Hardware components and its implementation
is discussed in Section IV. Section V describes results of
proposed system. Finally, conclusion is given in Section VI.
II. PROPOSED WORK
A. Block Diagram of the Proposed system
Figure 1 shows the block diagram of the proposed work.
Fig.1 Block Diagram of the Proposed System
Proposed system consists of Arduino mega controller
development board, DC motor driver, servomotor and PC with
MATLAB code. In proposed system speed of the DC motor is
controlled through PID controller using MATLAB. The
system works in the form of closed loop. Feedback about the
International Journal on Recent and Innovation Trends in Computing and Communication ISSN: 2321-8169
Volume: 5 Issue: 9 35 – 38
_______________________________________________________________________________________________
36
IJRITCC | September 2017, Available @ http://www.ijritcc.org
_______________________________________________________________________________________
status about the RPM of the motor is given to microcontroller
then data is send to PC through serial communication. PID
controller is implemented in MATLAB it receives data and
give command to arduino controller according to the set
threshold. Microcontroller gives command to dc motor driver
through PWM. It drives the servomotor according to the
command received.
B. System Flow
Algorithm
1. Start and initialize the system
2. Read motor data through microcontroller
3. Send this data to PC and take decision using PID
controller
4. Send this data back to microcontroller and send command
to motor driver
5. Motor speed is controlled
System implementation flow is shown in Fig. 2.
6.
Yes
No
Fig.2. System Implementation Flow
III. PID CONTROLLER
A. PID Controller
PID controller algorithm provides control action for the
designed process according to requirements[1]. Figure 3
shows the block diagram of PID Controller.
Fig.3 Blocks of PID Controller
The response of the controller can be described in
terms of the responsiveness of the controller the degree to
which the controller overshoots the set-point ,to an error and
the degree of system oscillation. PID Controller is the
combination of Proportional, Derivative and Integral
controllers. PID controller works in a closed-loop system as
shown in figure 3. The transfer function of the PID controller is
given below:
𝐾𝑃 +
𝐾 𝐼
𝑆
+ 𝐾 𝐷 𝑆 =
𝐾 𝐷 𝑆2 +𝐾 𝑃 𝑆+𝐾 𝐼
𝑆
…… (1)
Where,
KP = Proportional gain
KI = Integral gain
KD = Derivative gain
The desired input value is represented as (R) and the actual
output is represented as a (Y). The difference between desired
input and actual output is represented by variable (e) called as
tracking error. This error signal (e) is send to the PID
controller, and the controller computes the derivative and the
integral of this error signal. The signal (u) just pass the
controller is now equal to the proportional gain (KP) times the
magnitude of the error plus the integral gain (KI) times the
integral of the error plus the derivative gain (KD) times the
derivative of the error as given in equation (2).
µ = 𝐾𝑃 𝑒 + 𝐾𝐼 𝑒 𝑑𝑡 + 𝐾 𝐷
𝑑𝑒
𝑑𝑡
………… (2)
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
again. This process will continue[4].
Characteristics of P, I, and D controllers
 A proportional controller (KP) reduces the rise time but it
will never eliminate the steady-state error.
 An integral control (KI) eliminates the steady-state error,
but it makes the transient response worse.
Start
Initialize the system
Read motor data through microcontroller
Send this data to PC
Motor RPM
=Set
Threshold
Keep motor
running
Increase/Decrease RPM depending
upon the current RPM
End
Send command to microcontroller
Microcontroller gives command to
Motor
International Journal on Recent and Innovation Trends in Computing and Communication ISSN: 2321-8169
Volume: 5 Issue: 9 35 – 38
_______________________________________________________________________________________________
37
IJRITCC | September 2017, Available @ http://www.ijritcc.org
_______________________________________________________________________________________
 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]
IV. SYSTEM DEVELOPMENT
A. Software Description
1. Arduino Compiler
The Arduino Software (IDE) is an open source compiler in
which we can write code and upload it to the board. It runs on
Mac OS X, Linux and Windows. It is based on processing and
other open-source software and environment is written in Java.
Arduino compiler accepts C and C++ many of the libraries are
written in C++.The Arduino environment performs some small
transformations on the code to make sure that the code is
correct then it gets passed to a compiler, which turns the code
into machine language.
2. MATLAB
MATLAB is a high-performance language its basic data
element is an array that does not require dimensioning. Matrix
and vector formulations allow us to solve many technical
computing problems. It integrates computation with the
programming visualization which gives easy-to-use
environment where problems and solutions can be expressed
in the mathematical notation. Areas in which MATLAB
toolboxes are available include control systems, simulation,
signal processing, neural wavelets, fuzzy logic, and many
others.
B. Hardware Description
The block diagram of the implemented model which is
used in this work is shown below in figure 4. Also the
different parameters of the individual component are explained
below.The motor used in this work is a permanent magnet DC
motor. An encoder is connected to the motor. The encoder is
of 2000 ppr. The encoder is used to count the output pulses of
motor.
The specifications of the same are listed below.
Rated voltage (V) 24
No load speed (rpm) 6600
Rated speed (rpm) 6000
Rated torque (kgcm) 5.2
Stall torque (kgcm) 22
Rotor inertia (Gcm2
) 600
Starting current (A) 29.5
Fig.4. Implemented Model
PWM pulses for the motor are given through the arduino
board and driver circuit from PC/MATLAB. The loading
arrangement consists of a digital weight, load cell and load cell
amplifier. The output of the load cell amplifier is given as
feedback to the arduino to measure the pulses and accurate
weight.
V. RESULTS AND DISCUSSIONS
Figure 5 and 6 shows the MATLAB simulation results of
the system. Figure 5 shows the graph of the motor RPM vs
number of samples, error signal and the control signal for the
threshold RPM of 1500.Initially RPM is 2500 then at sample
110,170 RPM goes below 1500.Hence, it is seen that error
signal is present at samples 0,110 and 170. Control signal for
the given error signal is shown in figure.
Fig.5 Motor RPM vs Number of Samples for threshold
RPM=1500
Figure 6 shows the graph of the motor RPM vs number of
samples, error signal and the control signal for the threshold
RPM of 2000.Initially RPM is 3500 then at sample 60, 85 RPM
goes below 2000.Hence, it is seen that error signal is present at
samples 0, 60 and 85. Control signal for the given error signal
is shown in figure.
CL
RESPONSE
RISE
TIME
OVERSHOOT SETTLING
TIME
S-S
ERROR
Kp Decrease Increase Small
change
Decrease
Ki Decrease Increase Increase Eliminate
Kd Small
change
Decrease Decrease Small
change
International Journal on Recent and Innovation Trends in Computing and Communication ISSN: 2321-8169
Volume: 5 Issue: 9 35 – 38
_______________________________________________________________________________________________
38
IJRITCC | September 2017, Available @ http://www.ijritcc.org
_______________________________________________________________________________________
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.
[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.

More Related Content

What's hot

Single area load frequency control by using pi,fuzzy logic control1
Single area load frequency control by using pi,fuzzy logic control1Single area load frequency control by using pi,fuzzy logic control1
Single area load frequency control by using pi,fuzzy logic control1
SAI SREE
 
Vector Control of AC Induction Motors
Vector Control of AC Induction MotorsVector Control of AC Induction Motors
Vector Control of AC Induction Motors
Pranjal Barman
 

What's hot (20)

Facts devices
Facts devicesFacts devices
Facts devices
 
Design of Speed and Current Controller for Two Quadrant DC Motor Drive
Design of Speed and Current Controller for Two Quadrant DC Motor DriveDesign of Speed and Current Controller for Two Quadrant DC Motor Drive
Design of Speed and Current Controller for Two Quadrant DC Motor Drive
 
Single area load frequency control by using pi,fuzzy logic control1
Single area load frequency control by using pi,fuzzy logic control1Single area load frequency control by using pi,fuzzy logic control1
Single area load frequency control by using pi,fuzzy logic control1
 
Analysis, design and modeling of dc dc converter
Analysis, design and modeling of dc dc converterAnalysis, design and modeling of dc dc converter
Analysis, design and modeling of dc dc converter
 
A study on PLC basic
A study on PLC basicA study on PLC basic
A study on PLC basic
 
Permanent magnet motor drives.pptx
Permanent magnet motor drives.pptxPermanent magnet motor drives.pptx
Permanent magnet motor drives.pptx
 
Dead time elimination for voltage source inverter
Dead time elimination for voltage source inverterDead time elimination for voltage source inverter
Dead time elimination for voltage source inverter
 
INDUSTRIAL AUTOMATION USING PLC
INDUSTRIAL AUTOMATION USING PLCINDUSTRIAL AUTOMATION USING PLC
INDUSTRIAL AUTOMATION USING PLC
 
Class 19 pi & pd control modes
Class 19   pi & pd control modesClass 19   pi & pd control modes
Class 19 pi & pd control modes
 
Speed control of a dc motor a matlab approach
Speed control of a dc motor a matlab approachSpeed control of a dc motor a matlab approach
Speed control of a dc motor a matlab approach
 
Three phase voltage source inverter
Three phase voltage source inverterThree phase voltage source inverter
Three phase voltage source inverter
 
Vector Control of AC Induction Motors
Vector Control of AC Induction MotorsVector Control of AC Induction Motors
Vector Control of AC Induction Motors
 
Grid to vehicle concept
Grid to vehicle conceptGrid to vehicle concept
Grid to vehicle concept
 
Harmonic Analysis of 6-Pulse and 12-Pulse Converter Models
Harmonic Analysis of 6-Pulse and 12-Pulse Converter ModelsHarmonic Analysis of 6-Pulse and 12-Pulse Converter Models
Harmonic Analysis of 6-Pulse and 12-Pulse Converter Models
 
Distributed Generation
Distributed Generation Distributed Generation
Distributed Generation
 
ev.ppt
ev.pptev.ppt
ev.ppt
 
Electric drives
Electric drivesElectric drives
Electric drives
 
Islanding
IslandingIslanding
Islanding
 
PWM RECTIFIER
PWM RECTIFIERPWM RECTIFIER
PWM RECTIFIER
 
Computer control of power system.
Computer control of power system.Computer control of power system.
Computer control of power system.
 

Similar to PID Controller based DC Motor Speed Control

Camera Movement Control using PID Controller in LabVIEW
Camera Movement Control using PID Controller in LabVIEWCamera Movement Control using PID Controller in LabVIEW
Camera Movement Control using PID Controller in LabVIEW
ijtsrd
 
D0255033039
D0255033039D0255033039
D0255033039
theijes
 
Folza_paper_mechatronics
Folza_paper_mechatronicsFolza_paper_mechatronics
Folza_paper_mechatronics
Alex Folz
 

Similar to PID Controller based DC Motor Speed Control (20)

Software control systems for smart antenna
Software control systems for smart antennaSoftware control systems for smart antenna
Software control systems for smart antenna
 
Direct Digital Control
Direct Digital ControlDirect Digital Control
Direct Digital Control
 
Robotic Catching Arm using Microcontroller
Robotic Catching Arm using MicrocontrollerRobotic Catching Arm using Microcontroller
Robotic Catching Arm using Microcontroller
 
Camera Movement Control using PID Controller in LabVIEW
Camera Movement Control using PID Controller in LabVIEWCamera Movement Control using PID Controller in LabVIEW
Camera Movement Control using PID Controller in LabVIEW
 
Self-Tuning Fuzzy PID Design for BLDC Speed Control
Self-Tuning Fuzzy PID Design for BLDC Speed ControlSelf-Tuning Fuzzy PID Design for BLDC Speed Control
Self-Tuning Fuzzy PID Design for BLDC Speed Control
 
IRJET- Speed Control of Induction Motor using Hybrid PID Fuzzy Controller
IRJET- Speed Control of Induction Motor using Hybrid PID Fuzzy ControllerIRJET- Speed Control of Induction Motor using Hybrid PID Fuzzy Controller
IRJET- Speed Control of Induction Motor using Hybrid PID Fuzzy Controller
 
IRJET - Hybrid Model of Smart Energy Consumption Monitoring System
IRJET - Hybrid Model of Smart Energy Consumption Monitoring SystemIRJET - Hybrid Model of Smart Energy Consumption Monitoring System
IRJET - Hybrid Model of Smart Energy Consumption Monitoring System
 
IRJET- Analysis of 3-Phase Induction Motor with High Step-Up PWM DC-DC Conver...
IRJET- Analysis of 3-Phase Induction Motor with High Step-Up PWM DC-DC Conver...IRJET- Analysis of 3-Phase Induction Motor with High Step-Up PWM DC-DC Conver...
IRJET- Analysis of 3-Phase Induction Motor with High Step-Up PWM DC-DC Conver...
 
IRJET- Design and Analysis of Fuzzy and GA-PID Controllers for Optimized Perf...
IRJET- Design and Analysis of Fuzzy and GA-PID Controllers for Optimized Perf...IRJET- Design and Analysis of Fuzzy and GA-PID Controllers for Optimized Perf...
IRJET- Design and Analysis of Fuzzy and GA-PID Controllers for Optimized Perf...
 
D0255033039
D0255033039D0255033039
D0255033039
 
International Journal of Computational Engineering Research(IJCER)
International Journal of Computational Engineering Research(IJCER)International Journal of Computational Engineering Research(IJCER)
International Journal of Computational Engineering Research(IJCER)
 
Lecture Notes: EEEC4340318 Instrumentation and Control Systems - Introductio...
Lecture Notes:  EEEC4340318 Instrumentation and Control Systems - Introductio...Lecture Notes:  EEEC4340318 Instrumentation and Control Systems - Introductio...
Lecture Notes: EEEC4340318 Instrumentation and Control Systems - Introductio...
 
IRJET- Design & Development of Two-Wheeled Self Balancing Robot
IRJET-  	  Design & Development of Two-Wheeled Self Balancing RobotIRJET-  	  Design & Development of Two-Wheeled Self Balancing Robot
IRJET- Design & Development of Two-Wheeled Self Balancing Robot
 
PC Based DC Motor Speed Control using PID for Laboratory
PC Based DC Motor Speed Control using PID for LaboratoryPC Based DC Motor Speed Control using PID for Laboratory
PC Based DC Motor Speed Control using PID for Laboratory
 
Design and Implementation of a Self-Balancing Two-Wheeled Robot Driven by a F...
Design and Implementation of a Self-Balancing Two-Wheeled Robot Driven by a F...Design and Implementation of a Self-Balancing Two-Wheeled Robot Driven by a F...
Design and Implementation of a Self-Balancing Two-Wheeled Robot Driven by a F...
 
IRJET- Fuzzy Logic based Fault Detection in Induction Machines using Cloud
IRJET- Fuzzy Logic based Fault Detection in Induction Machines using CloudIRJET- Fuzzy Logic based Fault Detection in Induction Machines using Cloud
IRJET- Fuzzy Logic based Fault Detection in Induction Machines using Cloud
 
Folza_paper_mechatronics
Folza_paper_mechatronicsFolza_paper_mechatronics
Folza_paper_mechatronics
 
The Design of Multi-Platforms Rail Intelligence Flatness Detection System
The Design of Multi-Platforms Rail Intelligence Flatness Detection SystemThe Design of Multi-Platforms Rail Intelligence Flatness Detection System
The Design of Multi-Platforms Rail Intelligence Flatness Detection System
 
Development of Software for Estimation of Structural Dynamic Characteristics ...
Development of Software for Estimation of Structural Dynamic Characteristics ...Development of Software for Estimation of Structural Dynamic Characteristics ...
Development of Software for Estimation of Structural Dynamic Characteristics ...
 
IRJET - Design of EV with Fault Detection and Monitoring in Low Voltage S...
IRJET -  	  Design of EV with Fault Detection and Monitoring in Low Voltage S...IRJET -  	  Design of EV with Fault Detection and Monitoring in Low Voltage S...
IRJET - Design of EV with Fault Detection and Monitoring in Low Voltage S...
 

More from rahulmonikasharma

Comparative of Delay Tolerant Network Routings and Scheduling using Max-Weigh...
Comparative of Delay Tolerant Network Routings and Scheduling using Max-Weigh...Comparative of Delay Tolerant Network Routings and Scheduling using Max-Weigh...
Comparative of Delay Tolerant Network Routings and Scheduling using Max-Weigh...
rahulmonikasharma
 

More from rahulmonikasharma (20)

Data Mining Concepts - A survey paper
Data Mining Concepts - A survey paperData Mining Concepts - A survey paper
Data Mining Concepts - A survey paper
 
A Review on Real Time Integrated CCTV System Using Face Detection for Vehicle...
A Review on Real Time Integrated CCTV System Using Face Detection for Vehicle...A Review on Real Time Integrated CCTV System Using Face Detection for Vehicle...
A Review on Real Time Integrated CCTV System Using Face Detection for Vehicle...
 
Considering Two Sides of One Review Using Stanford NLP Framework
Considering Two Sides of One Review Using Stanford NLP FrameworkConsidering Two Sides of One Review Using Stanford NLP Framework
Considering Two Sides of One Review Using Stanford NLP Framework
 
A New Detection and Decoding Technique for (2×N_r ) MIMO Communication Systems
A New Detection and Decoding Technique for (2×N_r ) MIMO Communication SystemsA New Detection and Decoding Technique for (2×N_r ) MIMO Communication Systems
A New Detection and Decoding Technique for (2×N_r ) MIMO Communication Systems
 
Broadcasting Scenario under Different Protocols in MANET: A Survey
Broadcasting Scenario under Different Protocols in MANET: A SurveyBroadcasting Scenario under Different Protocols in MANET: A Survey
Broadcasting Scenario under Different Protocols in MANET: A Survey
 
Sybil Attack Analysis and Detection Techniques in MANET
Sybil Attack Analysis and Detection Techniques in MANETSybil Attack Analysis and Detection Techniques in MANET
Sybil Attack Analysis and Detection Techniques in MANET
 
A Landmark Based Shortest Path Detection by Using A* and Haversine Formula
A Landmark Based Shortest Path Detection by Using A* and Haversine FormulaA Landmark Based Shortest Path Detection by Using A* and Haversine Formula
A Landmark Based Shortest Path Detection by Using A* and Haversine Formula
 
Processing Over Encrypted Query Data In Internet of Things (IoTs) : CryptDBs,...
Processing Over Encrypted Query Data In Internet of Things (IoTs) : CryptDBs,...Processing Over Encrypted Query Data In Internet of Things (IoTs) : CryptDBs,...
Processing Over Encrypted Query Data In Internet of Things (IoTs) : CryptDBs,...
 
Quality Determination and Grading of Tomatoes using Raspberry Pi
Quality Determination and Grading of Tomatoes using Raspberry PiQuality Determination and Grading of Tomatoes using Raspberry Pi
Quality Determination and Grading of Tomatoes using Raspberry Pi
 
Comparative of Delay Tolerant Network Routings and Scheduling using Max-Weigh...
Comparative of Delay Tolerant Network Routings and Scheduling using Max-Weigh...Comparative of Delay Tolerant Network Routings and Scheduling using Max-Weigh...
Comparative of Delay Tolerant Network Routings and Scheduling using Max-Weigh...
 
DC Conductivity Study of Cadmium Sulfide Nanoparticles
DC Conductivity Study of Cadmium Sulfide NanoparticlesDC Conductivity Study of Cadmium Sulfide Nanoparticles
DC Conductivity Study of Cadmium Sulfide Nanoparticles
 
A Survey on Peak to Average Power Ratio Reduction Methods for LTE-OFDM
A Survey on Peak to Average Power Ratio Reduction Methods for LTE-OFDMA Survey on Peak to Average Power Ratio Reduction Methods for LTE-OFDM
A Survey on Peak to Average Power Ratio Reduction Methods for LTE-OFDM
 
IOT Based Home Appliance Control System, Location Tracking and Energy Monitoring
IOT Based Home Appliance Control System, Location Tracking and Energy MonitoringIOT Based Home Appliance Control System, Location Tracking and Energy Monitoring
IOT Based Home Appliance Control System, Location Tracking and Energy Monitoring
 
Thermal Radiation and Viscous Dissipation Effects on an Oscillatory Heat and ...
Thermal Radiation and Viscous Dissipation Effects on an Oscillatory Heat and ...Thermal Radiation and Viscous Dissipation Effects on an Oscillatory Heat and ...
Thermal Radiation and Viscous Dissipation Effects on an Oscillatory Heat and ...
 
Advance Approach towards Key Feature Extraction Using Designed Filters on Dif...
Advance Approach towards Key Feature Extraction Using Designed Filters on Dif...Advance Approach towards Key Feature Extraction Using Designed Filters on Dif...
Advance Approach towards Key Feature Extraction Using Designed Filters on Dif...
 
Alamouti-STBC based Channel Estimation Technique over MIMO OFDM System
Alamouti-STBC based Channel Estimation Technique over MIMO OFDM SystemAlamouti-STBC based Channel Estimation Technique over MIMO OFDM System
Alamouti-STBC based Channel Estimation Technique over MIMO OFDM System
 
Empirical Mode Decomposition Based Signal Analysis of Gear Fault Diagnosis
Empirical Mode Decomposition Based Signal Analysis of Gear Fault DiagnosisEmpirical Mode Decomposition Based Signal Analysis of Gear Fault Diagnosis
Empirical Mode Decomposition Based Signal Analysis of Gear Fault Diagnosis
 
Short Term Load Forecasting Using ARIMA Technique
Short Term Load Forecasting Using ARIMA TechniqueShort Term Load Forecasting Using ARIMA Technique
Short Term Load Forecasting Using ARIMA Technique
 
Impact of Coupling Coefficient on Coupled Line Coupler
Impact of Coupling Coefficient on Coupled Line CouplerImpact of Coupling Coefficient on Coupled Line Coupler
Impact of Coupling Coefficient on Coupled Line Coupler
 
Design Evaluation and Temperature Rise Test of Flameproof Induction Motor
Design Evaluation and Temperature Rise Test of Flameproof Induction MotorDesign Evaluation and Temperature Rise Test of Flameproof Induction Motor
Design Evaluation and Temperature Rise Test of Flameproof Induction Motor
 

Recently uploaded

"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments""Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
mphochane1998
 
Hospital management system project report.pdf
Hospital management system project report.pdfHospital management system project report.pdf
Hospital management system project report.pdf
Kamal Acharya
 
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Kandungan 087776558899
 

Recently uploaded (20)

HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARHAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
 
Introduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaIntroduction to Serverless with AWS Lambda
Introduction to Serverless with AWS Lambda
 
Online food ordering system project report.pdf
Online food ordering system project report.pdfOnline food ordering system project report.pdf
Online food ordering system project report.pdf
 
Path loss model, OKUMURA Model, Hata Model
Path loss model, OKUMURA Model, Hata ModelPath loss model, OKUMURA Model, Hata Model
Path loss model, OKUMURA Model, Hata Model
 
Computer Graphics Introduction To Curves
Computer Graphics Introduction To CurvesComputer Graphics Introduction To Curves
Computer Graphics Introduction To Curves
 
Ground Improvement Technique: Earth Reinforcement
Ground Improvement Technique: Earth ReinforcementGround Improvement Technique: Earth Reinforcement
Ground Improvement Technique: Earth Reinforcement
 
Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdf
 
Post office management system project ..pdf
Post office management system project ..pdfPost office management system project ..pdf
Post office management system project ..pdf
 
Theory of Time 2024 (Universal Theory for Everything)
Theory of Time 2024 (Universal Theory for Everything)Theory of Time 2024 (Universal Theory for Everything)
Theory of Time 2024 (Universal Theory for Everything)
 
Memory Interfacing of 8086 with DMA 8257
Memory Interfacing of 8086 with DMA 8257Memory Interfacing of 8086 with DMA 8257
Memory Interfacing of 8086 with DMA 8257
 
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments""Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
 
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
 
8086 Microprocessor Architecture: 16-bit microprocessor
8086 Microprocessor Architecture: 16-bit microprocessor8086 Microprocessor Architecture: 16-bit microprocessor
8086 Microprocessor Architecture: 16-bit microprocessor
 
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptxHOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
 
Hospital management system project report.pdf
Hospital management system project report.pdfHospital management system project report.pdf
Hospital management system project report.pdf
 
Convergence of Robotics and Gen AI offers excellent opportunities for Entrepr...
Convergence of Robotics and Gen AI offers excellent opportunities for Entrepr...Convergence of Robotics and Gen AI offers excellent opportunities for Entrepr...
Convergence of Robotics and Gen AI offers excellent opportunities for Entrepr...
 
Linux Systems Programming: Inter Process Communication (IPC) using Pipes
Linux Systems Programming: Inter Process Communication (IPC) using PipesLinux Systems Programming: Inter Process Communication (IPC) using Pipes
Linux Systems Programming: Inter Process Communication (IPC) using Pipes
 
UNIT 4 PTRP final Convergence in probability.pptx
UNIT 4 PTRP final Convergence in probability.pptxUNIT 4 PTRP final Convergence in probability.pptx
UNIT 4 PTRP final Convergence in probability.pptx
 
Max. shear stress theory-Maximum Shear Stress Theory ​ Maximum Distortional ...
Max. shear stress theory-Maximum Shear Stress Theory ​  Maximum Distortional ...Max. shear stress theory-Maximum Shear Stress Theory ​  Maximum Distortional ...
Max. shear stress theory-Maximum Shear Stress Theory ​ Maximum Distortional ...
 
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
 

PID Controller based DC Motor Speed Control

  • 1. International Journal on Recent and Innovation Trends in Computing and Communication ISSN: 2321-8169 Volume: 5 Issue: 9 35 – 38 _______________________________________________________________________________________________ 35 IJRITCC | September 2017, Available @ http://www.ijritcc.org _______________________________________________________________________________________ PID Controller based DC Motor Speed Control V. V. Kulkarni Assistant Professor Electrical Engineering Department AISSMS COE Pune Pune e-mail: vvkulkarni@aissmscoe.com Dr. V. A. Kulkarni Associate Professor Electrical Engineering Department Govt. College of Engineeringg, Aurangabad e-mail: ku1111@rediffmail.com Romharshal Talele ME – II Electrical Engineering Department AISSMS COE Pune Pune e-mail: romtalele@gmail.com 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 __________________________________________________*****_______________________________________________ I. INTRODUCTION PID controller is becoming very important since in last few years its demand is increasing from various industries as it gives the consistency and maintains the output even if its input is changed. The DC motor are also popular in the industry control applications since long time, they have good characteristic such as high response performance, high start torque characteristics, and easy for linear control. DC motor gives good speed control respond. They have wide speed control range and they are used in speed control systems which needs high control requirements like high precision digital tools, rolling mill, double-hulled tanker etc[1]. For example, suppose DC motor is used in a robot, constant power is applied to each motor on a robot, in this case poor robot cannot maintain a steady speed. It goes slower over carpet, faster over smooth flooring, slower up hill, faster downhill, etc. So, it is important to take into account a controller to control the speed of DC motor in desired speed [2]. Many control schemes such as proportional, integral, derivative, proportional integral, PID, adaptive, and FLCs are used for speed control of dc motors. For controlling speed of the DC motor, voltage to the armature of dc motor is varied [3].Control system is a system which controls other system. Open Loop Control System In Open Loop Control System, it cannot correct the variation in output automatically. In these systems the output remains constant for a constant input signal. By approximately changing input output may change to desired value and variations in external Conditions may cause the output to change [1]. Closed Loop Control System In closed Loop Control System, it can correct the variation in output automatically. In these systems the output remains constant for a changing input signal. The measured response of the system is compared with a desired response of the system. The difference between two response gives the actual response of the system[1]. This paper is organized as follows: Section II gives introduction to the PID controllers and importance of the DC motor. Proposed work and system flow is given Section III. Software design, Hardware components and its implementation is discussed in Section IV. Section V describes results of proposed system. Finally, conclusion is given in Section VI. II. PROPOSED WORK A. Block Diagram of the Proposed system Figure 1 shows the block diagram of the proposed work. Fig.1 Block Diagram of the Proposed System Proposed system consists of Arduino mega controller development board, DC motor driver, servomotor and PC with MATLAB code. In proposed system speed of the DC motor is controlled through PID controller using MATLAB. The system works in the form of closed loop. Feedback about the
  • 2. International Journal on Recent and Innovation Trends in Computing and Communication ISSN: 2321-8169 Volume: 5 Issue: 9 35 – 38 _______________________________________________________________________________________________ 36 IJRITCC | September 2017, Available @ http://www.ijritcc.org _______________________________________________________________________________________ status about the RPM of the motor is given to microcontroller then data is send to PC through serial communication. PID controller is implemented in MATLAB it receives data and give command to arduino controller according to the set threshold. Microcontroller gives command to dc motor driver through PWM. It drives the servomotor according to the command received. B. System Flow Algorithm 1. Start and initialize the system 2. Read motor data through microcontroller 3. Send this data to PC and take decision using PID controller 4. Send this data back to microcontroller and send command to motor driver 5. Motor speed is controlled System implementation flow is shown in Fig. 2. 6. Yes No Fig.2. System Implementation Flow III. PID CONTROLLER A. PID Controller PID controller algorithm provides control action for the designed process according to requirements[1]. Figure 3 shows the block diagram of PID Controller. Fig.3 Blocks of PID Controller The response of the controller can be described in terms of the responsiveness of the controller the degree to which the controller overshoots the set-point ,to an error and the degree of system oscillation. PID Controller is the combination of Proportional, Derivative and Integral controllers. PID controller works in a closed-loop system as shown in figure 3. The transfer function of the PID controller is given below: 𝐾𝑃 + 𝐾 𝐼 𝑆 + 𝐾 𝐷 𝑆 = 𝐾 𝐷 𝑆2 +𝐾 𝑃 𝑆+𝐾 𝐼 𝑆 …… (1) Where, KP = Proportional gain KI = Integral gain KD = Derivative gain The desired input value is represented as (R) and the actual output is represented as a (Y). The difference between desired input and actual output is represented by variable (e) called as tracking error. This error signal (e) is send to the PID controller, and the controller computes the derivative and the integral of this error signal. The signal (u) just pass the controller is now equal to the proportional gain (KP) times the magnitude of the error plus the integral gain (KI) times the integral of the error plus the derivative gain (KD) times the derivative of the error as given in equation (2). µ = 𝐾𝑃 𝑒 + 𝐾𝐼 𝑒 𝑑𝑡 + 𝐾 𝐷 𝑑𝑒 𝑑𝑡 ………… (2) 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 again. This process will continue[4]. Characteristics of P, I, and D controllers  A proportional controller (KP) reduces the rise time but it will never eliminate the steady-state error.  An integral control (KI) eliminates the steady-state error, but it makes the transient response worse. Start Initialize the system Read motor data through microcontroller Send this data to PC Motor RPM =Set Threshold Keep motor running Increase/Decrease RPM depending upon the current RPM End Send command to microcontroller Microcontroller gives command to Motor
  • 3. International Journal on Recent and Innovation Trends in Computing and Communication ISSN: 2321-8169 Volume: 5 Issue: 9 35 – 38 _______________________________________________________________________________________________ 37 IJRITCC | September 2017, Available @ http://www.ijritcc.org _______________________________________________________________________________________  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] IV. SYSTEM DEVELOPMENT A. Software Description 1. Arduino Compiler The Arduino Software (IDE) is an open source compiler in which we can write code and upload it to the board. It runs on Mac OS X, Linux and Windows. It is based on processing and other open-source software and environment is written in Java. Arduino compiler accepts C and C++ many of the libraries are written in C++.The Arduino environment performs some small transformations on the code to make sure that the code is correct then it gets passed to a compiler, which turns the code into machine language. 2. MATLAB MATLAB is a high-performance language its basic data element is an array that does not require dimensioning. Matrix and vector formulations allow us to solve many technical computing problems. It integrates computation with the programming visualization which gives easy-to-use environment where problems and solutions can be expressed in the mathematical notation. Areas in which MATLAB toolboxes are available include control systems, simulation, signal processing, neural wavelets, fuzzy logic, and many others. B. Hardware Description The block diagram of the implemented model which is used in this work is shown below in figure 4. Also the different parameters of the individual component are explained below.The motor used in this work is a permanent magnet DC motor. An encoder is connected to the motor. The encoder is of 2000 ppr. The encoder is used to count the output pulses of motor. The specifications of the same are listed below. Rated voltage (V) 24 No load speed (rpm) 6600 Rated speed (rpm) 6000 Rated torque (kgcm) 5.2 Stall torque (kgcm) 22 Rotor inertia (Gcm2 ) 600 Starting current (A) 29.5 Fig.4. Implemented Model PWM pulses for the motor are given through the arduino board and driver circuit from PC/MATLAB. The loading arrangement consists of a digital weight, load cell and load cell amplifier. The output of the load cell amplifier is given as feedback to the arduino to measure the pulses and accurate weight. V. RESULTS AND DISCUSSIONS Figure 5 and 6 shows the MATLAB simulation results of the system. Figure 5 shows the graph of the motor RPM vs number of samples, error signal and the control signal for the threshold RPM of 1500.Initially RPM is 2500 then at sample 110,170 RPM goes below 1500.Hence, it is seen that error signal is present at samples 0,110 and 170. Control signal for the given error signal is shown in figure. Fig.5 Motor RPM vs Number of Samples for threshold RPM=1500 Figure 6 shows the graph of the motor RPM vs number of samples, error signal and the control signal for the threshold RPM of 2000.Initially RPM is 3500 then at sample 60, 85 RPM goes below 2000.Hence, it is seen that error signal is present at samples 0, 60 and 85. Control signal for the given error signal is shown in figure. CL RESPONSE RISE TIME OVERSHOOT SETTLING TIME S-S ERROR Kp Decrease Increase Small change Decrease Ki Decrease Increase Increase Eliminate Kd Small change Decrease Decrease Small change
  • 4. International Journal on Recent and Innovation Trends in Computing and Communication ISSN: 2321-8169 Volume: 5 Issue: 9 35 – 38 _______________________________________________________________________________________________ 38 IJRITCC | September 2017, Available @ http://www.ijritcc.org _______________________________________________________________________________________ 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. [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.