Professional Documents
Culture Documents
App PID
App PID
App PID
PID is acronym for Proportional Plus Integral Plus Derivative Controller. It is a control
loop feedback mechanism (controller) widely used in industrial control systems due to their
robust performance in a wide range of operating conditions & simplicity.
For PID control, the actuating signal u(t), consists of proportional error signal added with
derivative and integral of error signal e(t)
Where Kp is the Proportional Gain, Kd is the Derivative Gain & Ki is the Integral Gain of the
controller.
In Frequency Domain (after taking Laplace Transform of both sides),the control input can be
represented as
Thus, PID controller adds pole at the origin and two zeroes to the Open loop transfer function
But a PID controller removes steady-state error and decreases system settling times while
maintaining a reasonable transient response
#Proportional Control
In Proportional control, the actuating signal for the control action in a control system is
proportional to the error signal. The error signal being the difference between the reference
input signal and the feedback signal obtained from the output
The Transfer function of the controller is:
The proportional controller (Kp) reduces the rise time, increases the overshoot, reduces the
steady state error but never eliminates it completely.
Large values of K lead to small steady-state error; however, they also lead to a faster, less
damped responses.
If we want a small overshoot and a small steady-state error, a proportional gain alone is not
enough.
#PD Controller
For Derivative control action the actuating signal consists of proportional error signal added
with derivative of the error signal
Proportional-derivative (PD) control considers both the magnitude of the system error and the
derivative of this error. Derivative control has the effect of adding damping to a system, and,
thus, has a stabilizing influence on the system response.
The derivative controller reduced both the overshoot and the Settling time, and had a small
effect on the rise time and the steady-state error.
The PD controller has decreased the system settling time considerably; however, to control
the steady-state error, the derivative gain Kd must be high. This decreases the response times
of the system and can make it susceptible to noise.
Effects of PD Controller :-
#PI Controller
For Integral control action, the actuating signal consists of proportional-error signal added
with integral of the error signal.
Proportional-integral (PI) control considers both the magnitude of the system error signal and
the integral of this error
Using integral control makes the system type-one, so the steady-state error due to a step
input is zero.
The response shows that the Integral control has removed the steady-state error and improved
the transient response, but it has also increased the system settling time.
Increasing Ki increases overshoot & settling time making system response sluggish
To reduce both settling time and overshoot, a PI controller by itself is not enough
Effects of PI Controller :-
PID Controller
For PID control, the actuating signal u(t),consists of proportional error signal added with
derivative and integral of error signal e(t)
A PID controller has removed steady-state error and decreased system settling times while
maintaining a reasonable transient response
While designing a PID controller, the general rule is to add proportional control to get the
desired rise time, add derivative control to get the desired overshoot, and then add integral
control (if needed) to eliminate the steady-state error.
Effects of PID Controller:-
❖ Its purpose is to improve stability as well as to decrease Steady State Error.
❖ It adds a pole at origin which increases type of system which result into reduction of
steady state error.
❖ It adds 2 zeroes in LHP, one finite zero to avoid effect on stability & other zero to
improve stability of system
They date back to 1939, when the Taylor and Foxboro instrument companies introduced the
first two PID controllers. All present-day controllers are based on those original proportional,
integral, and derivative modes.
PID controllers are the workhorse of modern process control systems, as they automate
regulation tasks that otherwise would have to be done manually. While the proportional
control mode is the main driving force in a controller, each mode fulfils a unique function.
Proportional and integral control modes are essential for most control loops, while the
derivative mode is excellent for motion control. Temperature control is a typical application
that uses all three control modes.
MANUAL CONTROL
The control task done by the operator is called feedback control, because the operator changes
the firing rate based on feedback from the process via the temperature gauge. The operator,
valve, process, and temperature gauge form a control loop. Any change the operator makes to
the gas valve affects the temperature, which is fed back to the operator, thereby closing the
loop.
AUTOMATIC CONTROL
To automate temperature control with a PID controller, the following are required:
The operator sets the PID controller’s set point (SP) to the desired temperature, and the
controller’s output (CO) sets the position of the control valve. The temperature measurement,
called the process variable (PV), is then transmitted to the PID controller, which compares it
to the set point and calculates the difference, or error (E), between the two signals. Based on
the error and the controller’s tuning constants, the controller calculates the appropriate
controller output to set the control valve at the correct position to keep the temperature at the
set point (Figure 2). If the temperature rises above its set point, the controller will reduce the
valve position and vice versa.
Each of the controller’s three modes reacts differently to the error. The amount of response
produced by each control mode is adjustable by changing the controller’s tuning settings.
The adjustable setting for proportional control is called the Controller Gain (Kc). A higher
controller gain increases the amount of proportional control action for a given error. If the
controller gain is set too high, the control loop will begin oscillating and become unstable. If
set too low, the control loop will not respond adequately to disturbances or set point changes.
For most controllers, adjusting the controller gain setting influences the amount of response
in the integral and derivative control modes.
Figure 3. (left) The non-interactive PID controller algorithm; (right) the parallel PID
controller algorithm
The need for manual reset led to the development of automatic reset, known as the integral
control mode. The function of the integral control mode is to increment or decrement the
controller’s output over time to reduce the error, as long as there is any error present (process
variable not at set point). Given enough time, the integral action will drive the controller
output until the error is zero.
If the error is large, the integral mode will increment/decrement the controller output at a fast
rate; if the error is small, the changes will be slow. For a given error, the speed of the integral
action is set by the controller’s integral time setting (Ti). If the integral time is set too long,
the controller will be sluggish; if it is set too short, the control loop will oscillate and become
unstable.
Most controllers use integral time in minutes as the unit of measure for integral control. Some
use integral time in seconds, and a few controllers use integral gain (Ki) in repeats per
minute.
After a disturbance, the integral mode continues to increment the controller’s output until it
has eliminated all offset and brought the heater outlet temperature back to its set point.
The derivative control mode produces an output based on the rate of change of the error. It
produces more control action if the error changes at a faster rate; if there is no change in the
error, the derivative action is zero. This mode has an adjustable setting called Derivative
Time (Td). The larger the derivative time setting, the more derivative action is produced. If
the derivative time is set too long, however, oscillations will occur and the control loop will
be unstable. A Td setting of zero effectively turns off the derivative mode. Two units of
measure are used for the derivative setting of a controller: minutes and seconds.
PROPORTIONAL + INTEGRAL + DERIVATIVE CONTROLLER
The output of a PID controller is made up of the sum of the proportional, integral, and
derivative control actions. PID control algorithms come in different designs, including the
noninteractive algorithm and the parallel algorithm. Both are shown in Figure 3.
In a PID controller, the derivative mode provides more control action sooner than is possible
with either P or PI control. This reduces the effect of a disturbance and shortens the time it
takes for the level to return to its set point.
Figure 4 compares the process heater outlet temperature recovery time after a sudden change
in fuel gas pressure under P, PI, and PID control.
CONTROLLER TUNING
PID controllers require tuning, but when they first came to market, there were no clear
instructions on how to do this. Tuning was done through trial and error until 1942, when two
tuning methods were published by J. G. Ziegler and N. B. Nichols from the Taylor
Instruments Company.
These tuning rules work well on processes with very long time constants relative to their dead
times and on level control loops, which contain an integrating process. They do not work well
on control loops that contain self-regulating processes, such as flow, temperature, pressure,
speed, and composition.
Most control loops contain self-regulating processes, and tuning methods have been
developed for them. The Cohen-Coon tuning rules, for example, work well on virtually all
control loops with self-regulating processes. These rules were originally designed to give a
very fast response, but this resulted in loops with a high oscillatory response. With slight
modification of the rules, control loops still respond quickly but are much less prone to
oscillations. Today there are more than 100 controller tuning methods, each designed to
achieve a certain objective.