What Is A PID Controller
What Is A PID Controller
What Is A PID Controller
History
The history of the PID controller is, In the year 1911, the first PID controller
was developed by Elmer Sperry. After that, TIC (Taylor Instrumental
Company) was implemented a former pneumatic controller with completely
tunable in the year1933. After a few years, control engineers removed the
error of steady-state that is found within proportional controllers through
retuning the end to some false value until the error wasn’t zero.
In 1942, Ziegler & Nichols have introduced tuning rules to discover and set the
suitable parameters of PID controllers by the engineers. At last, automatic PID
controllers were extensively used in industries in the mid of 1950.
This controller provides good results as compared with the ON/OFF type
controller. In the ON/OFF type controller, simply two conditions are obtainable
to manage the system. Once the process value is lower than the fixed point,
then it will turn ON. Similarly, it will turn OFF once the value is higher than a
fixed value. The output is not stable in this kind of controller and it will swing
frequently in the region of the fixed point. However, this controller is more
steady & accurate as compared to the ON/OFF type controller.
PID controller maintains the output such that there is zero error between the
process variable and setpoint/ desired output by closed-loop operations. PID
uses three basic control behaviors that are explained below.
P- Controller
P-controller
This controller requires biasing or manual reset when used alone. This is
because it never reaches the steady-state condition. It provides stable
operation but always maintains the steady-state error. The speed of the
response is increased when the proportional constant Kc increases.
P-Controller Response
I-Controller
PI controller
Integral control decreases its output when a negative error takes place. It limits the
speed of response and affects the stability of the system. The speed of the response is
increased by decreasing integral gain, Ki.
PI Controller Response
In the above figure, as the gain of the I-controller decreases, the steady-state
error also goes on decreasing. For most of the cases, the PI controller is used
particularly where the high-speed response is not required.
While using the PI controller, I-controller output is limited to somewhat range
to overcome the integral wind up conditions where the integral output goes on
increasing even at zero error state, due to nonlinearities in the plant.
D-Controller
I-controller doesn’t have the capability to predict the future behavior of error.
So it reacts normally once the setpoint is changed. D-controller overcomes
this problem by anticipating the future behavior of the error. Its output
depends on the rate of change of error with respect to time, multiplied by
derivative constant. It gives the kick start for the output thereby increasing
system response.
PID controller
In the above figure response of D, the controller is more, compared to the PI
controller, and also settling time of output is decreased. It improves the
stability of the system by compensating for phase lag caused by I-controller.
Increasing the derivative gain increases the speed of response.
ON/OFF Control
An on-off control method is the simplest type of device used for temperature
control. The device output may be ON/OFF through no center state. This
controller will turn ON the output simply once the temperature crosses the
fixed point. A limit controller is one particular kind of ON/OFF controller that
uses a latching relay. This relay is reset manually and used to turn off a
method once a certain temperature is attained.
Proportional Control
This kind of controller is designed to remove the cycling which is connected
through ON/OFF control. This PID controller will reduce the normal power
which is supplied toward the heater once the temperature reaches the fixed
point.
This controller has one feature to control the heater so that it will not exceed
the fixed point however it will reach the fixed point to maintain a steady
temperature.
This proportioning act can be achieved through switching ON & OFF the
output for small time periods. This time proportioning will change the ratio
from ON time to OFF time for controlling the temperature.
These controllers are also referred through their reciprocals, RATE & RESET
correspondingly. The terms of PID must be adjusted separately otherwise
tuned to a specific system with the trial as well as error. These controllers will
offer the most precise and steady control of the 3 types of controller.
These control devices provide different choices for solo & twin loop control.
The standalone type PID controllers provide several fixed-point configurations
to produce the autonomous several alarms.
These standalone controllers mainly comprise PID controllers from Honeywell,
temperature controllers from Yokogawa, autotune controllers from OMEGA,
Siemens, and ABB controllers.
PLCs are used like PID controllers in most of the industrial control applications
The arrangement of PID blocks can be done within PACs or PLCs to give
superior choices for an exact PLC control. These controllers are smarter as
well as powerful as compared with separate controllers. Each PLC includes
the PID block within the software programming.
Tuning Methods
Before the working of the PID controller takes place, it must be tuned to suit
with dynamics of the process to be controlled. Designers give the default
values for P, I, and D terms, and these values couldn’t give the desired
performance and sometimes leads to instability and slow control
performances. Different types of tuning methods are developed to tune the
PID controllers and require much attention from the operator to select the best
values of proportional, integral, and derivative gains. Some of these are given
below.
PID controllers are used in most industrial applications but one should know
the settings of this controller to adjust it correctly to generate the preferred
output. Here, tuning is nothing but the procedure of receiving an ideal reply
from the controller through setting best proportional gains, integral &
derivative factors.
The desired output of the PID controller can be obtained by tuning the
controller. There are different techniques available to get the required output
from the controller like trial &error, Zeigler-Nichols & process reaction curve.
The most frequently used methods are trial & error, Zeigler-Nichols, etc.
Trial and Error Method: It is a simple method of PID controller tuning. While
the system or controller is working, we can tune the controller. In this method,
first, we have to set Ki and Kd values to zero and increase the proportional
term (Kp) until the system reaches oscillating behavior. Once it is oscillating,
adjust Ki (Integral term) so that oscillations stop and finally adjust D to get a
fast response.
After that, we need to calculate slope, dead time, the rise time of the curve,
and finally substitute these values in P, I, and D equations to get the gain
values of PID terms.
Zeigler-Nichols table
PID Controller Structure
PID controller consists of three terms, namely proportional, integral, and
derivative control. The combined operation of these three controllers gives a
control strategy for process control. PID controller manipulates the process
variables like pressure, speed, temperature, flow, etc. Some of the
applications use PID controllers in cascade networks where two or more PID’s
are used to achieve control.
A feedback signal from the process plant is compared with a set point or
reference signal u(t) and the corresponding error signal e(t) is fed to the PID
algorithm. According to the proportional, integral, and derivative control
calculations in the algorithm, the controller produces a combined response or
controlled output which is applied to plant control devices.
All control applications don’t need all three control elements. Combinations
like PI and PD controls are very often used in practical applications.
Applications
The PID controller applications include the following.
The best PID controller application is temperature control where the controller
uses an input of a temperature sensor & its output can be allied to a control
element like a fan or heater. Generally, this controller is simply one element in
a temperature control system. The entire system must be examined as well
as considered while choosing the right controller.
In this state, this controller will generate PWM signals to activate the IGBTs of
the inverter. Based on the change within the load, the response signal is
provided to the PID controller so that it will produce n error. These signals are
generated based on the fault signal. In this state, we can obtain changeable
input & output through a similar inverter.
Application of PID Controller: Closed Loop Control for a Brushless DC motor
PID Controller Interfacing
The design and interfacing of the PID controller can be done using the
Arduino microcontroller. In the laboratory, the Arduino based PID controller is
designed using the Arduino UNO board, electronic components,
thermoelectric cooler, whereas the software programming languages used in
this system are C or C++. This system is used to control the temperature
within the laboratory.
The parameters of PID for a specific controller are found physically. The
function of various PID parameters can be implemented through the
subsequent contrast between different forms of controllers.
This interfacing system can efficiently calculate the temperature through an
error of ± 0.6℃ whereas a constant temperature regulates through simply a
small difference from the preferred value is attained. The concepts used in
this system will provide inexpensive as well as exact techniques to manage
physical parameters in a preferred range within the laboratory.
Thus, this article discusses an overview of the PID controller which includes
history, block diagram, structure, types, working, tuning methods, interfacing,
advantages, and applications. We hope we have been able to provide basic
yet precise knowledge about PID controllers. Here is a simple question for you
all. Amongst the different tuning methods, which method is preferably used to
achieve an optimum working of the PID controller and why?
You are requested to kindly give your answers in the comment section below.
Photo Credits
PID controller block diagram by wikimedia
PID controller structure, P-controller, P – controller response & PID controller
by blog.opticontrols
P – controller response by controls.engin.umich
PID Controller response by wikimedia
Zeigler-Nichols table by controls.engin