0% found this document useful (0 votes)
45 views

Feedback Controllers: Figure 8.1 Schematic Diagram For A Stirred-Tank Blending System

1) On-off controllers are simple and cheap but have limited use in process control due to excessive wear from the continuous cycling of controlled variables. 2) Proportional control reduces error by making the controller output proportional to the error signal. Integral control eliminates steady-state error by making the controller output dependent on the integral of error over time. Derivative control anticipates changes in error by basing the output on the rate of change of error. 3) Combining proportional, integral, and derivative control modes results in PID control, which is widely used in industrial process control applications to provide fast, accurate responses without offset or overshoot.

Uploaded by

Joy Roy
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
45 views

Feedback Controllers: Figure 8.1 Schematic Diagram For A Stirred-Tank Blending System

1) On-off controllers are simple and cheap but have limited use in process control due to excessive wear from the continuous cycling of controlled variables. 2) Proportional control reduces error by making the controller output proportional to the error signal. Integral control eliminates steady-state error by making the controller output dependent on the integral of error over time. Derivative control anticipates changes in error by basing the output on the rate of change of error. 3) Combining proportional, integral, and derivative control modes results in PID control, which is widely used in industrial process control applications to provide fast, accurate responses without offset or overshoot.

Uploaded by

Joy Roy
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
You are on page 1/ 42

Feedback Controllers

Chapter 8

Figure 8.1 Schematic diagram for a stirred-tank blending system.


1
On-Off Controllers

• Simple
• Cheap
Chapter 8

• Used In residential heating and domestic refrigerators


• Limited use in process control due to continuous
cycling of controlled variable  excessive wear
on control valve.

2
3
On-Off Controllers (continued)
Synonyms:
“two-position” or “bang-bang” controllers.
Chapter 8

Controller output has two possible values.


4
Practical case (dead band)
Chapter 8

5
Basic Control Modes
Next we consider the three basic control modes starting with the
simplest mode, proportional control.

Proportional Control
Chapter 8

In feedback control, the objective is to reduce the error signal to


zero where
e t   ysp t   ym t  (8-1)
and
e t   error signal
ysp t   set point
ym t   measured value of the controlled variable
(or equivalent signal from the sensor/transmitter)

6
Although Eq. 8-1 indicates that the set point can be time-varying,
in many process control problems it is kept constant for long
periods of time.
For proportional control, the controller output is proportional to
the error signal,
Chapter 8

p t   p  K c e t  (8-2)

where:

p t   controller output
p  bias (steady-state) value
K c  controller gain (usually dimensionless)

7
Chapter 8

8
The key concepts behind proportional control are the following:

1. The controller gain can be adjusted to make the controller


output changes as sensitive as desired to deviations between
set point and controlled variable;
2. the sign of Kc can be chosen to make the controller output
Chapter 8

increase (or decrease) as the error signal increases.

For proportional controllers, bias p can be adjusted, a procedure


referred to as manual reset.
Some controllers have a proportional band setting instead of a
controller gain. The proportional band PB (in %) is defined as

100%
PB = (8-3)
Kc

9
In order to derive the transfer function for an ideal proportional
controller (without saturation limits), define a deviation variable
p t  as
p t  =
 p t   p (8-4)

Then Eq. 8-2 can be written as


Chapter 8

p  t   K c e  t  (8-5)

The transfer function for proportional-only control:


P  s 
 Kc (8-6)
E s

An inherent disadvantage of proportional-only control is that a


steady-state error occurs after a set-point change or a sustained
disturbance.

10
Integral Control
For integral control action, the controller output depends on the
integral of the error signal over time,
1 t
p t   p  0 e t *dt * (8-7)
τI
Chapter 8

where τ I , an adjustable parameter referred to as the integral time


or reset time, has units of time.

Integral control action is widely used because it provides an


important practical advantage, the elimination of offset.
Consequently, integral control action is normally used in
conjunction with proportional control as the proportional-integral
(PI) controller:
 1 t 
p t   p  K c  e t   0 e t * dt *  (8-8)
 τI
11
• Integral action eliminates steady-state error
(i.e., offset) Why??? e  0  p is changing with
time until e = 0, where p reaches steady state.
Chapter 8

ysp

12
Proportional-Integral (PI) Control

 1
t

p( t )  p  K c e( t )   e( t )dt 
 
 I 0 

• Response to unit step change in e:


Chapter 8

Figure 8.6. Response of proportional-integral controller to


unit step change in e(t).
13
The corresponding transfer function for the PI controller in
Eq. 8-8 is given by

P  s   1   τI s 1 
 Kc 1    Kc   (8-9)
E s  τ s
I  τ
 I  s
Chapter 8

Some commercial controllers are calibrated in terms of 1/ τ I


(repeats per minute) rather than τ I (minutes, or minutes per
repeat).

Reset Windup

• An inherent disadvantage of integral control action is a


phenomenon known as reset windup or integral windup.
• Recall that the integral mode causes the controller output to
change as long as e(t*) ≠ 0 in Eq. 8-8.
14
• When a sustained error occurs, the integral term becomes
quite large and the controller output eventually saturates.
• Further buildup of the integral term while the controller is
saturated is referred to as reset windup or integral windup.

Derivative Control
Chapter 8

The function of derivative control action is to anticipate the future


behavior of the error signal by considering its rate of change.
• The anticipatory strategy used by the experienced operator can
be incorporated in automatic controllers by making the
controller output proportional to the rate of change of the error
signal or the controlled variable.

15
• Thus, for ideal derivative action,

de t 
p t   p  τ D (8-10)
dt
where τ D , the derivative time, has units of time.
For example, an ideal PD controller has the transfer function:
Chapter 8

P  s 
 K c 1  τ D s  (8-11)
E s 

• By providing anticipatory control action, the derivative mode


tends to stabilize the controlled process.
• Unfortunately, the ideal proportional-derivative control
algorithm in Eq. 8-10 is physically unrealizable because it
cannot be implemented exactly.
16
Chapter 8

• For analog controllers, the transfer function in (8-11) can be


approximated by
P  s   τD s 
 K c 1   (8-12)
E s  ατ D s  1 
where the constant α typically has a value between 0.05 and
0.2, with 0.1 being a common choice.
• In Eq. 8-12 the derivative term includes a derivative mode
filter (also called a derivative filter) that reduces the sensitivity
of the control calculations to high-frequency noise in the
measurement. 17
Proportional-Integral-Derivative (PID) Control
Now we consider the combination of the proportional, integral,
and derivative control modes as a PID controller.
• Many variations of PID control are used in practice.
• Next, we consider the three most common forms.
Chapter 8

Parallel Form of PID Control


The parallel form of the PID control algorithm (without a
derivative filter) is given by
 1 t de t  
p t   p  K c e t    e t * dt *  τ D  (8-13)
 τI 0 dt 
The corresponding transfer function is:

P  s   1 
 K c 1   τD s (8-14)
E s   τI s 
19
Expanded Form of PID Control
In addition to the well-known series and parallel forms, the
expanded form of PID control in Eq. 8-16 is sometimes used:
t de t 
p t   p  K c e t   K I  e t * dt *  K D (8-16)
0 dt
Series Form of PID Control
Chapter 8

Historically, it was convenient to construct early analog


controllers (both electronic and pneumatic) so that a PI element
and a PD element operated in series.
Commercial versions of the series-form controller have a
derivative filter that is applied to either the derivative term, as in
Eq. 8-12, or to the PD term, as in Eq. 8-15:

P  s   τ I s  1  τ D s  1 
 Kc    (8-15)
E s τ
 I  Ds ατ s  1 
20
Position and Velocity Algorithms for Digital PID
Control
 1 t de t  
p t   p  K c e t    e t * dt *  τ D  (8-13)
 τI 0 dt 
A straight forward way of deriving a digital version of the parallel
form of the PID controller (Eq. 8-13) is to replace the integral and
Chapter 8

derivative terms by finite difference approximations,


t k
0 e t * dt   e j t (8-24)
j 1
de ek  ek 1
 (8-25)
dt t
where:
t = the sampling period (the time between successive
measurements of the controlled variable)
ek = error at the kth sampling instant for k = 1, 2, … 21
There are two alternative forms of the digital PID control
equation, the position form and the velocity form. Substituting (8-
24) and (8-25) into (8-13), gives the position form,

 t k 
Chapter 8

D
pk  p  K c ek   e j  ek  ek 1  (8-26)
 1 j 1 t 

Where pk is the controller output at the kth sampling instant. The


other symbols in Eq. 8-26 have the same meaning as in Eq. 8-13.
Equation 8-26 is referred to as the position form of the PID
control algorithm because the actual value of the controller output
is calculated.
22
In the velocity form, the change in controller output is
calculated. The velocity form can be derived by writing the
position form of (8-26) for the (k-1) sampling instant:

 t k -1 D 
pk -1 p  K c ek -1  e j  ek -1 ek -21  (8(8-26)
– 27)
 1 j 1 t 
Chapter 8

Note that the summation still begins at j = 1 because it is assumed


that the process is at the desired steady state for
j  0 and thus ej = 0 for j  0. Subtracting (8-27) from (8-26)
gives the velocity form of the digital PID algorithm:

 t D 
pk  pk  pk 1  K c ek  ek 1   ek  ek  2ek 1  ek 2 
 I t 
(8-28)
23
The velocity form has three advantages over the position form:

1. It inherently contains anti-reset windup because the


summation of errors is not explicitly calculated.
2. This output is expressed in a form, pk, that can be utilized
Chapter 8

directly by some final control elements, such as a control


valve driven by a pulsed stepping motor.
3. For the velocity algorithm, transferring the controller from
manual to automatic mode does not require any initialization
of the output ( p in Eq. 8-26). However, the control valve (or
other final control element) should be placed in the
appropriate position prior to the transfer.

24
Features of PID Controllers
Elimination of Derivative and Proportional Kick
• One disadvantage of the previous PID controllers is that a
sudden change in set point (and hence the error, e) will cause
the derivative term momentarily to become very large and thus
Chapter 8

provide a derivative kick to the final control element.


• This sudden change is undesirable and can be avoided by basing
the derivative action on the measurement, ym, rather than on the
error signal, e.
• We illustrate the elimination of derivative kick by considering
the parallel form of PID control in Eq. 8-13.
• Replacing de/dt by –dym/dt gives
 1 t dym t  
p t   p  K c e t    e t * dt *  τ D  (8-17)
 τ I
0 dt 
25
Reverse or Direct Action
• The controller gain can be made either negative or positive.
• For proportional control, when Kc > 0, the controller output p(t)
increases as its input signal ym(t) decreases, as can be seen by
combining Eqs. 8-2 and 8-1:
Chapter 8

p t   p  K c  ysp t   ym t  (8-22)


• This controller is an example of a reverse-acting controller.
• When Kc < 0, the controller is said to be direct acting because
the controller output increases as the input increases.
• Equations 8-2 through 8-16 describe how controllers perform
during the automatic mode of operation.
• However, in certain situations the plant operator may decide to
override the automatic mode and adjust the controller output
manually. 26
Figure 8.11 Reverse
Chapter 8

and direct-acting
proportional
controllers. (a) reverse
acting (Kc > 0. (b)
direct acting (Kc < 0)

27
Automatic and Manual Control Modes
• Automatic Mode
Controller output, p(t), depends on e(t), controller
constants, and type of controller used.
( PI vs. PID etc.)
Chapter 8

 Manual Mode
Controller output, p(t), is adjusted manually.
 Manual Mode is very useful when unusual
conditions exist:
plant start-up
plant shut-down
emergencies
• Percentage of controllers "on manual” ??
(30% in 2001, Honeywell survey)

28
Typical Response of Feedback Control Systems

29
Typical Changes in Input
• Two Type of excitation or input
- changes in set-point
- changes in disturbance
• Changes may be various types
• Consider only step input
1. Step input in set-point
2. Step input in disturbance

30
Effect of Kc, step input in set-point, P controller

Kc increases

31
Effect of Kc, step input in set-point, PI controller

Kc increases

32
Effect of i, step input in set-point, PI controller

I increases

33
Effect of No, P, PI and PID Control

PID control PI control No control

P Control

34
Response for Step Input in Disturbance
Chapter 8

Figure 8.12. Typical process responses with feedback control


for step input in disturbance.

35
Step Disturbance

No Control

P control

PI
PID

36
Taui increasing

37
Figure 8.13.
Proportional control:
effect of controller
gain.
Chapter 8

Figure 8.15. PID


control: effect of
derivative time.

38
Chapter 8

Figure 8.14. PI control: (a) effect of reset time (b) effect of


controller gain.

39
PID Controller
 Ideal controller

• Transfer function (ideal)


 1
t
de 
Chapter 8

p( t )  p  K c e( t )   e( t )dt    D 
 I 0 dt 
P(s)  1 
 K c 1    Ds 
E(s)   Is 
 Transfer function (actual)
P(s)   Is  1   Ds  1 
 K c   
E(s)   Is   Ds  1 
α = small number (0.05 to 0.20) lead / lag units

40
Controller Comparison

P - Simplest controller to tune (Kc).


- Offset with sustained disturbance or setpoint
change.
Chapter 8

PI - More complicated to tune (Kc, I) .


- Better performance than P
- No offset
- Most popular FB controller
PID - Most complicated to tune (Kc, I, D) .
- Better performance than PI
- No offset
- Derivative action may be affected by noise

41
• Bob Rice, Ph.D., director of solutions engineering for
Control Station, sums up the three elements: “The
proportional term looks at where my value is currently.
Integral looks at where I’ve been over time, and derivative
tries to predict where I’m going. Derivative tries to work
opposite of where proportional and integral are trying to
drive the process. P and I are trying to drive one way, and
D is trying to counteract that. Derivative has its largest
effect when the process is changing rapidly in one
direction. The P and I terms are saying, 'Keep going.’ The
derivative catches it and says, 'You’re going too fast. You
need to slow down.’”

You might also like