Comparison of Control System Using PLC & PID
Comparison of Control System Using PLC & PID
Comparison of Control System Using PLC & PID
Abstract— A control system is an interconnection of generate a set of coefficients associated with a desired
components forming a system configuration that will provide a controller's characteristics. A MATLAB program is used to
desired system response. Due to the increasing complexity of the activate the PID controller, calculate and plot the time
system under control and the interest in achieving optimum response of the control system. When the MATLAB program
performance, the importance of control system engineering has
is run, it plots the time response of the system. Industries need
grown in the past decade. This paper proposes the development
of a robust soft-hardware interfacing based advance control a sophisticated, smooth and easy handling controller. When
where linearize the input-output data is obtained. A production requirements changed so did the control system.
proportional–integral–derivative controller (PID controller) is a This becomes very expensive when the change is frequent.
generic control loop control Feedback mechanism widely used in Since relays are mechanical devices they also have a limited
industrial control system. A PID controller attempts to correct life time which required strict adhesion to maintenance
the error between a measured process variable and a desired set- schedules. Troubleshooting was also quite tedious when so
point by calculating and then outputting a corrective action that many relays are involved. These relays would be individually
can adjust the process accordingly. PID controller is designed wired together in a manner that would yield the desired
using MATLAB functions to generate a set of coefficients
outcome. The present challenge to control engineers is the
associated with a desired controller's characteristics. A
MATLAB program is used to activate the PID controller, modeling and control of modern, complex, interrelated
calculate and plot the time response of the control system. systems such as traffic control systems, chemical process and
Although, PID based controller have particularly been robotic systems. Perhaps the most characteristic quality of
successfully applied in modern control engineering in the last control engineering is the opportunity to control machines and
decade, this paper deals with the feasibility of employing industrial and economic process for the benefit of society.
advanced control technique of Programmable Logic Controllers PLC provides above all the term we need. PLCs are used in
(PLC) to linearize the input-output characteristics of control almost every aspect of industry to expand and enhance
system. In machining, packaging, material handling, automated production [1]. Where older automated systems would use
assembly or countless other industries applications the PLC is
hundreds or thousands of electromechanical relays, a single
more efficient considering money and time than any other
control. The effectiveness of proposed control system of water PLC can be programmed as an efficient replacement [2, 3, 4].
tank liquid level control is amply demonstrated by the It uses a programmable memory to store instructions and
significantly low error in discrete response testing. execute functions including on/off control, timing, counting,
sequencing, arithmetic, and data handling [5]. The
Keywords— PLC Controller, PID Controller, Level Control, functionality of the PLCs has evolved over the years to
Water level. include capabilities beyond typical relay control. Sophisticated
motion control, process control, distributive control systems,
I. INTRODUCTION
and complex networking have now been added to the PLC’s
A feedback control system often uses a function of a functions [6]. Therefore, PLCs provide many advantages over
prescribed relationship between the output and reference input conventional relay type of control, including increased
to control the process. Often the difference between the output reliability, more flexibility, lower cost, communication
of the process under control and the reference input is capability, faster response time and convenience to
amplified and used to control the process so that the difference troubleshoot [7]. The importance of PLC is easy programming
is continually reduced. The feedback concept has been the with ladder diagram [8] for control and the Industrial
foundation for control system analysis and design. applications are the main motivation of this thesis.
Mathematical modeling of liquid level system treats of step
response analyses of dynamic system. MATLAB is
extensively used step response analysis and Routh’s stability II. PID IN CONTROL SYSTEM
criteria for the stability for higher order closed loop systems. A PID controller is a generic control loop control
A PID controller is designed using MATLAB functions to Feedback mechanism widely used in industrial control system.
A PID controller attempts to correct the error between a
measured process variable and a desired set-point by
calculating and then outputting a corrective action that can
adjust the process accordingly. The PID controller calculation
involves three separate parameters; the proportional, the
integral and derivative values. The proportional value
determines the reaction to the current error, the integral
determines the reaction based on the sum of recent errors and
the derivative determines the reaction to the rate at which the
error has been changing [9]. By "tuning" the three constants in
the PID controller algorithm the PID can provide control
action designed for specific process requirements. The
response of the controller can be described in terms of the
responsiveness of the controller to an error, the degree to Figure 3: Pictorial view Experimental kit of PID (mod. G30B/EV).
which the controller overshoots the set-point and the degree of
system oscillation. In PID control action is defined by,
III. PLC IN CONTROL SYSTEM
t A Programmable Logic Controller (PLC) is a device that
Kp de(t ) was invented to replace the necessary sequential relay circuits
u (t ) = K p * e(t ) + ∫ e(t )dt + K p * Td for machine control. The basic elements of a PLC include
Ti 0 dt input modules, a central processing unit (CPU), output
modules and a programming device.
In Laplace transform quantities,
U (s) 1
= K p (1 + + Td * s)
E ( s) Ti * s
Td
d
dt
e Kp
u
u
Figure 10: Set-point versus level of PD Controller. Figure 14: Set-point versus feed-back of PI Controller.
Figure 11: Set-point versus feed-back of PD Controller. Figure 15: Set-point versus error of PI Controller.
The same experiment is done using both PID & PLC. By The experimental output curve is given below.
"tuning" the three constants in the PID controller algorithm the
PID can provide control action designed for specific process
requirements. In water level control water level height and
change of height in different time is recorded.
REFERENCES
VI. CONCLUSION
The development of a robust soft-hardware interfacing
based advance control technique which gives linear input
output curve is depicted in this paper. Different control actions
are performed and chose the better one Programmable Logic
Controller which gives reliable control. For speed position
control, the test results showed that with the PID controller
added, the steady state error is minimized. Actual system
outputs also agreed with theoretical results, indicating the
accuracy of the system transfer functions. At the present time