Design and Implementation of PID Control
Design and Implementation of PID Control
266
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
controller helps get our output (velocity,
1 Introduction temperature, position) where we want it, in a
short time, with minimal overshoot, and with
Any controller design for any system commonly
little error [2]. It also the most adopted
needs some knowledge about the system before
controllers in the industry due to the good cost
it will be developed. This involves a
and given benefits to the industry [3]. Many
mathematical description of the relation among
nonlinear processes can be controlled using the
inputs to the process, its variables and its output,
well-known and industrially proven PID
that is called the model of the system. The model
controller [4]. A considerable direct performance
can be represented as a set of transfer functions,
increase (financial gain) is demanded when
which is usually called mathematical modeling.
replacing a conventional control system with an
Modeling for the complex systems can be a very
advanced one [4]. The maintenance costs of an
difficult task. For example, in a complex system
inadequate conventional control solution may be
such as a multiple inputs and multiple outputs
less obvious. The tricky part of controller design
system, the inaccurate models will cause the
is to figure out just how much of a corrective
systems is unstable or has a bad system
effort the controller should apply to the process
performance.
in each case. Some situation requires tighter
control of the process variable than On-Off
Proportional Integral Derivative (PID) control can provide. Proportional control
controllers are widely used in industrial practice provides better control because its output operate
over 60 years ago. The invention of PID control linearly anywhere between fully on and fully off
is in 1910 (largely owing to Elmer Sperry’s ship [5]. As its name implies, its output changes
autopilot) and the straightforward Ziegler- proportionally to the input error signal.
Nichols (Z-N) tuning rule in 1942 [1]. Today, Proportional controller simply multiplies the
PID is used in more than 90% of practical error by a constant to compute its next output. In
control systems, ranging from consumer 1930s the control engineers discovered that the
electronics such as cameras to industrial error could be eliminated altogether by
processes such as chemical processes. The PID automatically resetting the set point to an
Proceedings of the 3rd WSEAS/IASME International Conference on Dynamical Systems and Control, Arcachon, France, October 13-15, 2007 267
artificially high value [3][6]. The PID controllers solution. Implementation of PID into PLC offers
function is to maintain the output at a level that the easier way to troubleshoot a system as
there is no difference (error) between the process compared to the system using microprocessor,
variable and the setpoint in as fast microcontroller or other controllers. With this
response as possible advantage, the men in charge do not have to
troubleshoot the system from a scratch when
The PID controller based on an input-output there is system problems happen.
inversion procedure which is allow to determine
a closed form expression of the command signal
to be applied to the closed loop system. To
3 Problem Solution
obtain the best possible PID control for a
particular application, the gain setting for each 3.1 Research Methodology
mode must initially be made. These setting are
different for each system. While the system is START
actually running, tuning the adjustment are often
be made to the gain setting to attain optimal LITERATURE REVIEW
Figure 3: Implementation of On-off controller K p , i.e. Ki = K p /Ti and K d = K pTd where Ti is the
in PLC
integral time of the controller and Td is the rate
System
time.
Pout = K pe t( )
t
References:
[1] J. Swder,G.Wszoek,W.Carvalho,
Figure 6: Response in MATLAB
Programmable controller design forElectro-
Proportional+Integral mode
pneumatic Systems, Journal of Material
Proceedings of the 3rd WSEAS/IASME International Conference on Dynamical Systems and Control, Arcachon, France, October 13-15, 2007 271