10.450 Process Dynamics, Operations, and Control Lecture Notes - 21 Lesson 21. Controllers 21.0 Context
10.450 Process Dynamics, Operations, and Control Lecture Notes - 21 Lesson 21. Controllers 21.0 Context
21.0 Context
Once upon a time, a controller was a box that was installed near the sensor
and valve. Later it was a card and display device inserted in a rack in a
central control room. Now it can be a computer code that runs on a
processor. This lesson describes some of the ways in which the ideal PID
algorithm is actually deployed in operations.
One can still find pneumatic controllers in the process industries. Nozzles,
baffles, and bellows operate upon a compressed air supply to regulate the
compressed air signal given to the control valve. The next generation of
controllers used electronic elements to represent the controller algorithms.
*
xCO (s) 1
Gc (s) = * = K c 1 + + Td s (21.2.1)
(s) Ti s
1
*
x (s)
Gc (s) = CO* = K c 1+
1+ Td s (21.2.2)
(s)
Ti s
1
10.450 Process Dynamics, Operations, and Control
Lecture Notes - 21
Because a change to, e.g., the derivative time Td will affect the integral
action, this PID algorithm is called interacting. Controllers that
implement something more like the ideal (21.2.1) are termed non-
interacting. The mode interaction can be seen by expressing (21.2.2) in
the form of (21.2.1).
1 Td s
Gc (s) = K c 1+ +T s +
T s d
Ti s
i
(21.2.3)
Td 1 Ti Td
= K c 1+ 1+ + s
T
i Ti + Td s Ti + Td
Thus an interacting controller set at Kc, Ti, Td will behave like a non-
interacting controller set at
Td
Kc = Kc 1 +
T
i
Ti = Ti + Td (21.2.4)
Ti Td
Td =
T + T
i d
Notice that TiTd = TiTd. While (21.2.4) shows that a given interacting
setting has an equivalent non-interacting setting, the converse is not
necessarily true. That is, one cannot always take a given tuning
recommendation (Kc, Ti, Td) and find a setting (Kc, Ti, Td) to execute it
on an interacting controller. To see this, invert (21.2.4) to find
2
T T 4TiTd
Td = i i (21.2.5)
2 2
Ti
Td (21.2.6)
4
2
10.450 Process Dynamics, Operations, and Control
Lecture Notes - 21
controller cannot duplicate the non-interacting controller. Shinskey
(1996) recommends that interacting controllers be tuned so that
Td 1
= (21.2.7)
3
Ti
This implies
Td 3
K c = 1.33K c and = (21.2.8)
Ti 16
100
Kc = (21.3.1)
P
%output
K c (= ) (21.3.2)
%input
Even though the PID algorithm (21.1.1) can call for arbitrarily large
values of output xCO, the valve can only range between 0 and 100% open.
Hence, computations of xCO will normally be confined to the extreme
values should they exceed this range. (As a practical matter, this
limitation would occur anyway in the physical valve, but applying the
limit in computations would be very important when using a simulation to
tune a controller.)
3
10.450 Process Dynamics, Operations, and Control
Lecture Notes - 21
21.4 I-mode terminology and reset windup
On some controllers, the integral effect is increased by increasing a
quantity known as the reset rate R, where
1
R= (21.4.1)
Ti
repeats
R(= ) (21.4.2)
time
The assumption of the integral mode is that the controller output gets
stronger, as needed, until the error is driven to zero. In normal
circumstances, the manipulated variable does influence the controlled
variable, and the integral mode is effective in countering error. However,
if something is wrong - the valve stuck, the disturbance too large for the
manipulated variable to correct, some other fault in the process - the
controlled variable could be away from the set point for an extended time.
This causes the integral mode, in the ideal PID algorithm (21.1.1), to build
a large accumulated error. When the controlled variable finally returns
toward the set point, the ideal algorithm will force it to the opposite side to
work off the accumulated error. Known as reset windup, this occurs not
for any good control purpose, but to satisfy an algorithm that was not
intended for this circumstance.
4
10.450 Process Dynamics, Operations, and Control
Lecture Notes - 21
*
xCO (s) 1 Td s
Gc (s) = = K c 1+ + (21.5.1)
(s)
*
Ti s Td s +1
Derivative mode is usually not necessary for set point changes, and indeed
would cause an unwanted spike on a step change. Hence derivative is
normally applied to changes in the controlled variable, not changes in the
error signal.
some process control expertise in-house to interact with the vendors and
improve operations.
21.7 References