Professional Documents
Culture Documents
systems and processes for about half a century and are extensively used for
industrial automation and process control today. The main reason is due to their
The PID controller in the form we know it today emerged from the period
from 1915 to 1940. Integral action called automatic reset was used in
proportional controllers to obtain the correct steady state value. The potential of a
controller that could anticipate future control errors was discussed in 1920s. A
controller with derivative action was introduced by Ralph Clarridge of the Taylor
instrument company in 1935. The PID controller has gone through an interesting
reported [26], A very significant development took place with the emergence of
computer based control in 1960’s. The next stage of development was of digital
control, where the computer was controlling the actuator directly. The
or single loop controllers [27], [28]. It also led to the development of distributed
control system for process control, where PID controller was a key element. As
16
computing power of microprocessors increased it was possible to introduce
of a digital PID controller [29] on a digital signal processor which admits a very
high sampling rate. However it has been known that conventional PID
controllers generally do not work well for nonlinear systems, higher order and
controllers such as autotuning and adaptive PID controllers were developed [30],
such systems. The first piece of hardware in any process control system is the
device that measures the variables that must be considered in making a decision
17
Variable to be measured Action command
convert the information from one energy system to another. For example, an
electronic control system can not deal directly with the speed of rotation of a
mechanical shaft. Therefore, sensor must measure the shaft rotational speed and
convert that information into an electrical one for use by the controller [31], [32].
For the system to perform desired control, it may be necessary to convert the
signal from the sensor to another more suitable variable. This is accomplished
by the signal conditioning and filtering circuits in the control system [33]. The
controller compares the signal with the set- point and generates an error signal
which after necessary manipulation is fed to the final control element represented
by ‘servo’ block.
18
2.3 PID Control of plants
control action. The combined action has the advantage of three individual control
actions.
(2.1)
where u(t) is the control variable, e(t) is the error variable, Kp is the proportional
gain, T, is the integral time and Td is the derivative time. In the proportional control
of a plant whose transfer function does not possess an integrator, there is steady
state error in the response to a step input and this can be eliminated if the
integral control action is included in the controller. Fig. 2.2 shows the commonly
used system configuration with the controller placed in series with the controlled
controller that will meet the transient and steady state specifications of the closed
19
d n
between process variable ‘x’, set point ‘ysp\ load disturbance 'd ‘and
x= (ysp-n)+ (2.2)
1 + KKp 1 + KK,
process gain and Kp the controller gain. Assuming 'n' is zero it can be
observed from Eqn.(2.2) that loop gain should be high in order to ensure
that process output ‘ x’ is close to set point ysp. A high value of the loop gain
will also make the system insensitive to load disturbance. To avoid making the
system sensitive to measurement noise, loop gain should not be made too large.
It is therefore obvious that the design of loop gain is a trade-off between different
control objectives.
20
2.3.1 Proportional Action
the control error. A system with controlled process G(s) = -—is considered
and its response with proportional control for step input is illustrated in Fig. 2.3.
/
u ■■ ^
.................... <......... -
\
.............. ...................................... -
KP=1
i i
Time in sec
il
c
CO
21
2.3.2 Integral action
The main function of the integral action is to make sure that the process
output agrees with the set-point in steady state. With proportional control, there
is normally a control error in steady state. With integral action, a small positive
error will always lead to an increase in control signal, and a negative error will
give a decrease in control signal no matter how small the error is. The properties
of integral action for the same system are illustrated in Fig. 2.4.
Amplitude
Time in sec
The purpose of the derivative action is to improve the closed loop stability.
Because of the process dynamics, it will take some time before a change in
control variable is noticed in the process output. Thus the control system will be
22
late in correcting for an error. The properties of derivative action of the
are illustrated in Fig. 2.5. Initially damping increases with increasing derivative
time, but decreases aqain when damping time becomes too large.
all the three control modes, a successful approach is to select the integral time
first, set the derivative time to about one-fourth of integral time and then adjust
response is still too oscillatory double the integral and derivative time and if it is
too slow in approaching the set-point, half the integral and derivative time and
23
then readjust the proportional gain. For trial and error tuning, enough information
literature Ziegler-Nichols tuning method is the most popular in which they have
suggested rules for tuning PID controllers based on experimental step responses
or based on the value of Kp that results in marginal stability when only the
First method
gain Kp, integral time Ti, and derivative time Td based on the transient response
experiments on the plant. In the first method, the step response of a first order
system plant with transportation lag is determined as shown in Fig. 2.6. The
Ke~Ls
transfer function of the plant is given byGp(s) =--------. If the response does not
Ts +1
exhibit S-shaped curve this method does not apply. The S-shaped curve is
characterized by two constants, delay time L and time constant T. The delay time
and time constant are determined by drawing a tangent line at the inflexion point
of S-shaped curve and determining the intersections of the tangent with the time
axis and line c(t)=K. According to Ziegler- Nichols first tuning method, the values
24
C(t)
P T/L 00 0
PI 0.9T/L L/0.3 0
The PID controller tuned by the first method of Ziegler-Nichols rules gives
25
Gc(s) = Kp(l + -^- + Tds)
(2.3)
T,s
Substituting the values for Kp, Tj and Td corresponding to proportional integral
= 0.6T(s,fl;L):
(2.5)
s
where G,.(s) denotes controller transfer function. From Eqn.(2.5) it is clear that
the PID controller has a pole at the origin and double zeros at s = -1/L.
Second method
control action , increase Kp from 0 to a critical value Kcr where the output first
exhibits sustained oscillations. Thus, the critical gain Kcr and the corresponding
According to Z-N second method the values of Kp,Ti and Td can be set
26
Fig. 2.7 Sustained oscillation with critical period Pcr
Table 2.2 Z-N Tuning rule based on critical gain and critical
time period
Type of Controller KP T, Td
P 0.5Kcr 00 0
PI 0.45KO, Pcr/1 .2 0
The PID controller tuned by the second method of Ziegler-Nichols rules gives
G c (s) = K p (1 + 2- + Tds)
(2.6)
T:S
1 ^
= 0.6K 1 +--------- + 0.125Pcrs (2.7)
0.5Pcrs ,
(s+4/p„ y
0.075K crPcr (2.8)
27
Thus, the PID controller has a pole at the origin and double zeros at s = -4/Pcr.
made by Chien, Hrones and Reswick (CHR) [34], They proposed to use
The Chien , Hrones and Reswick method is based on the process model.
Ke'Ls
GP(s) (2.9)
Ts + 1
To tune the controller according to the CHR method, the parameters ‘a’
and ‘L’ are first determined in the same way as for the Z-N step response
method as illustrated in Fig. 2.6. The controller parameters for the load
They are summarized in Table 2.3. From Table 2.3 it can be observed that the
tuning rules based on 20% overshoot design criteria are quite similar to Z-N step
response method. Table 2.4 illustrates the set-point response using CHR
method. From Table 2.4 it can be observed that in set point response method,
controller parameters are not only based on ‘a’ and ‘L’ but also on the time
constant T .
28
Table 2.3 Controller parameters obtained from CHR load
Disturbance response method
Controller KP T, Td KP T, Td
P 0.3/a 0.7/a
Controller Kp T. Td Kp T, Td
P 0.3/a 0.7/a
GP =———(2.10)
1+sT
where Gp represents the process transfer function. The main design criterion
29
give a quarter amplitude decay ratio. For P and PD controllers the poles are
adjusted to give maximum gain, subject to the constraint on the decay ratio. This
minimizes the steady state error due to load disturbances. For PI and PID
K
controllers the integral gain is maximized. This corresponds to
T,
minimization of the integral error due to a unit step load disturbances. For PID
controllers three closed loop poles are assigned in which two poles are
complex, and the third real pole is positioned at the same distance from the origin
as the other poles. The Table 2.5 illustrates the tuning formula in terms of three
selected from the table. A comparison with Table 2.1 shows that the controller
parameters are close to those obtained by the Z-N step response method for
small x. By using this method the closed loop systems have low damping and
Controller KP T, Td
!<■♦"*)
a 1-r
P
a 1 -r 1 - 0.87r
i
i
30
2.5 Modifications of PID Control schemes
Fig. 2.9 shows the block diagram of Pl-D control. In order to avoid the
set point kick phenomenon the derivative action is operated in the feedback path
so that differentiation occurs only on the feedback signal but not on the reference
signal.
R(s)
31
In the absence of the disturbances and noise the closed loop transfer functions
of the basic PID control system shown in Fig. 2.8 and Fig. 2.9 are respectively
Y(s) K„Gp(s)
Kl- + Tds)- (2.11)
R(s) Ts
1 + (1 + —+ Tds)KpGp(s)
T: S
and
Y(s) KpGp(s)
= (! + —) (2.12)
R(s) T,s
I +(l + —- + Tds)KpGp(S)
Ts
In the absence of reference input and noise the closed loop transfer functions
between the output Y(s) and disturbance D(s) in either case is same and is
given by
^ =^------------ (2.13)
(S) l + KpGp(s)(l + ~-+TJs)
TjS
Consider the analog PID controller having the transfer function given by
trapezoidal approximation for the integrator [37], the Eqn.( 2.6) becomes
32
Defining
KP=KP(1-—)
P 2J'j (2.15)
— KJ
K- p (2.16)
T,
KpTd
K, (2.17)
T
Eqn.{2.14) becomes
where G(z) is the transfer function of digital PID controller in position form. The
The most popular and widely used tuning approach for digital PID
controllers is to apply the rules for analog PID controllers with a simple
modification to account for the effect of sampling. When a continuous time signal
sampled values constant for each sampling interval, the reconstructed signal is
33
correction for sampling is then simply to add one half of the sampling time to
Integral windup
For large deviation of the error signal, the actuator element is driven to
control variable. When control output is equal to the reference value, error sign is
reversed and it will take a long time to integrate backwards and this may result in
programming. In this case the integration is executed only if error is less than
2.7 Summary
is made. Because most PID controllers are adjusted onsite, many different types
of tuning rules have been proposed in the literature. The usefulness of PID
chapter we have discussed Z-N method of tuning and other methods of tuning
like Cohen-Coon and CHR methods. Even though good response to load
34