Design and Implementation of PID Controller in Pro
Design and Implementation of PID Controller in Pro
net/publication/237698465
CITATIONS READS
2 5,314
4 authors, including:
SEE PROFILE
Some of the authors of this publication are also working on these related projects:
Development of Brain and Voice Signature for building or laboratory entrance View project
Modeling and Control of Photovoltaic Distributed Generation Integration in grid system View project
All content following this page was uploaded by Muhammad Sharfi Najib on 03 October 2014.
Abstract: - Direct Current (DC) motor position control using Programmable Logic Controller (PLC)
is one of the applications which are widely used in automation industries. The aim of this project is
to implement a Proportional Integral Derivative (PID) controller in a DC motor control system of
The Conveyor System. The project is consists of two stages, classical controller and PID controller.
The classical controller and PID controller were implemented in PLC and the results of both methods
were compared. The system response of both controllers were compared and analyzed. Throughout
the analysis, the PID control system illustrated better performance as compared to the classical
control system controller in DC motor position control.
Key-Words: - PID controller, conveyor system, PLC, DC Motor, automation, position control
application, the gain setting for each mode must LITERATURE REVIEW
initially be made. These setting are different for
each system. While the system is actually running, MATLAB SIMULATION
TESTING
NO
Although the general PID concepts and the effects
of adjusting the K p , K i and K d constants are the YES
EXPERIMENTATION
same, when using a programmable logic controller
to perform a PID control function, there are some DATA ANALYSIS
minor differences in the way PID is adjusted. The
PID control unit of a PLC performs all the REPORT WRITING
2 Problem Formulation
DC Motor are easily damage without contribution PLC Classical DC Motor
of control methodology in it system. Frequently, Hardware On-off
the desired performance characteristics of control Controller
systems are specified in terms of the transient
response. The transient response of a practical PLC System
control system usually exhibits damped oscillation
before reaching steady state. As for DC motor,
having a high overshoot is an undesired condition
since the starting current is very high. The Figure 2: Implementation of On-off controller in PLC
position of single phase DC Motor of a conveyor System
system has been controlled by using PID
controller. The position control of DC motor is
very difficult when it is done by using traditional PLC PID DC Motor
control techniques, as it requires a very complex Hardware Controller
mathematical model. By using PID controller, we
can eliminate the need for the mathematical
modeling and allows easy realization as a solution. PLC System
Implementation of PID into PLC offers the easier
way to troubleshoot a system as compared to the
system using microprocessor, microcontroller or
other controllers. With this advantage, the men in Figure 3: Implementation of On-off controller in PLC
charge do not have to troubleshoot the system System
from a scratch when there is system problems
happen.
The output of the system, u (t ) is the sum of three Implementations of Classical Controller and PID
correcting terms, i.e. controller in PLC are the same in hardware
configuration and installation but different in
u (t ) = Pout + I out + Dout software part using ladder programming.
Instructions sets used in Classical Controller is
too complex and very lengthy to program as
where Pout , I out and Dout are the contributions to the compared to PID controller. The advantages of
output from the PID controller from each of the three implementing of PID controller requires no
terms, which defined as complex instruction set for programming and
having simpler calculation and algorithm as
Pout = K p e(t ) compared to Classical Controller. In hardware
t configuration of the PLC system, the physical
I out = K i ∫ e(t )dt and connection of the motor with the solid state relay
0 is shown in Figure 4. A pulse I/O board is used to
de(t ) generate PWM output to the solid state relay to
Dout = K d ;
meet high speed processing operation.
dt
where:
t = Time of the PLC clock
u (t ) = Output
e(t ) = Error = Setpoint – Process variable
K p = Proportional Controller Mode Gain
K i = Integral Controller Mode Gain
K d = Derivative Controller Mode Gain
3.5 Results
4 Conclusion
References:
[1] J. Swder,G.Wszoek,W.Carvalho, Programmable
controller design forElectro-pneumatic Systems, Journal
of Material Processing Technology 164- 1655(2005)
14659-1465
[3] Aurelio Piazzi and Antonio Visioli, A Noncausal
Approach for PID control, Journalof Process Control, 4
March 2006.
[2] Terry Bartelt, Industrial Control Electronics:
Devices, Systems and Applications, Second Edition,