Controllers-Control Fundamentals (1)
Controllers-Control Fundamentals (1)
CONTROLLERS
05/15/25
SREC - EEE - MBSD 1
Feedback Controllers
Proportional Control
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)
3
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,
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)
4
5
The key concepts behind proportional control are the following:
100%
PB (8-3)
Kc
6
In order to derive the transfer function for an ideal proportional
controller (without saturation limits), define a deviation variable
pt as
pt p t p (8-4)
7
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
where τ I , an adjustable parameter referred to as the integral time
or reset time, has units of time.
Ps 1 τ I s 1
K c 1 K c (8-9)
E s τ s
I I τ s
Reset Windup
Derivative Control
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.
10
• 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:
Ps
K c 1 τ D s (8-11)
E s
Ps τDs
K c 1 (8-12)
E s ατ D s 1
12
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.
1 t de t
p t p K c e t 0 e t * dt * τ D dt (8-13)
τI
13
The corresponding transfer function is:
Ps 1
K c 1 τDs (8-14)
E s τI s
Ps τ I s 1 τ D s 1
K c (8-15)
E s τ
I Ds ατ s 1
14
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
15
• 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 0 e t * dt * τ D dt (8-17)
τI
16
• 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:
p t p K c ysp t ym t (8-22)
17
Figure 8.11 Reverse
and direct-acting
proportional
controllers. (a) reverse
acting (Kc > 0. (b)
direct acting (Kc < 0)
18
• Example: Flow Control Loop
Assume FT is direct-acting.
19
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.)
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)
20
Example: Liquid Level Control
• Control valves are air-to-open
• Level transmitters are direct acting
• Simple
• Cheap
• Used In residential heating and domestic refrigerators
• Limited use in process control due to continuous
cycling of controlled variable excessive wear
on control valve.
22
On-Off Controllers (continued)
Synonyms:
“two-position” or “bang-bang” controllers.
23
Practical case (dead band)
24
25
Proportional-Integral (PI) Control
1
t
p( t ) p K c e( t ) e( t )dt
I 0
ysp
27
Some controllers are calibrated in 1/I
("repeats per minute") instead of I .
For PI controllers, p is not adjustable.
28
PID Controller
Ideal controller
29
Controller Comparison
30
Typical Response of Feedback Control Systems
Consider response of a controlled system after a
sustained disturbance occurs (e.g., step change in
the disturbance variable)
31
Figure 8.13.
Proportional control:
effect of controller
gain.
32
Figure 8.14. PI control: (a) effect of reset time (b) effect of
controller gain.
33
Position and Velocity Algorithms for Digital PID
Control
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
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, … 34
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 D
pk p K c ek e j ek ek 1 (8-26)
1 j 1 t
t k D
pk p K c ek e j ek ek 1 (8-26)
1 j 1 t
t D
pk pk pk 1 K c ek ek 1 ek ek 2ek 1 ek 2
I t
(8-28)
36
The velocity form has three advantages over the position form:
37
38