Professional Documents
Culture Documents
Adaptive Control
Adaptive Control
Adaptive Control
Adaptive Control
Note: The source of the technical material in this volume is the Professional
Engineering Development Program (PEDP) of Engineering Services.
Warning: The material contained in this document was developed for Saudi
Aramco and is intended for the exclusive use of Saudi Aramco’s
employees. Any material contained in this document which is not
already in the public domain may not be copied, reproduced, sold, given,
or disclosed to third parties, or otherwise used in whole, or in part,
without the written permission of the Vice President, Engineering
Services, Saudi Aramco.
CONTENTS PAGE
LINEARIZED
²P
14
11
DEAD
BAND
pH 7 m
( OUT )
4
0
REAGENT ( IN ) pH ( C )
Applying the controller to the process in some cases linearizes the loop for constant gain. The
intent here is to get a linear overall response by compensating the nonlinearity of the process
with the nonlinearity of the controller. This works for well-behaved titration curves, where
the high gain portion of the pH curve coincides with the dead band of the controller.
CONTROLLER
DEAD BAND
PROCESS
pH INPUT
If the titration curve drifts (changes shape) the linearization loses its effectiveness and there is
nothing the controller can do to take care of the problem. Therefore, this is strictly nonlinear
control. Remember, to be adaptive, the controller must change its parameters in order to
accommodate the changing process parameters. To accomplish this requires a more capable
controller as well as additional communication between the process and the controller.
BASED
ON ∆ r
PROGRAMMED
ADAPTATION
BASED
ON ∆q
FEEDFORWARD FF / FB r
ADAPTATION CONTROL
BASED
ON ∆ C
FEEDBACK
ADAPTATION
LOADS
q
PROCESS
OUTPUT
Programmed Adaptation
If it is possible to determine a relationship in a given process between a process variable and
its effect on the gain of that process than a program can be set up to adapt the controller
adjustments (tuning settings) to accommodate the particular process gain. Large capacity
processes such as a heat exchanger or a critical level application are examples of this
approach. Both of these processes have dynamic gains that vary with load. They are also in
most cases a once through-process which may be difficult to control with a simple feedback
loop.
Example of Programmed Adaptation Using Process Variable Information
Let us proceed to investigate the level application for programmed adaptation.
LC
OUTPUT OF
PROCESS
FO LOAD
A test of this process shows that the gain of the process is a function of the load as well as the
set point or operating point.
STEADY STATE
r3
f3
f2
h r2 f1
r1
Fi
If we could analytically define the load curves for the process, we could define the gain of the
process for various set points at the particular load. A computer is programmed to schedule
various controller gains, PID as a function of the set point and the particular load. The tuning
constants of the controller are thus modified to compensate for the changing process gain and
to maintain optimum response.
m
C
m SUPPLY
PROCESS
PRODUCT
C = f (LOAD, m )
LOAD
Feedforward Adaptation
We can improve on gain scheduling type of adaptive open-loop approach by arranging an
adaptive program based directly on load information. This makes the strategy a feedforward
adaptation.
INPUT
FS
FW, T 2
OUTPUT
FW, T 1
LOADS
CONDENSATE
This is also a once through capacity process whose steady state gain:
∆T2
Kp =
∆F s
FW 1
T2 FW 2
FW 3
t
Where: Fw3 > Fw2 > Fw1
Recognize that as the load, Fw, increases through the heat exchanger, the dead time decreases.
That is, if we set the steam flow, Fs, at a given flow and observe the outlet temperature, T2, at
a given cold water flow Fw3, we would see some dead time and then a steady state outlet
temperature. If we decrease the load to Fw1 where Fw1 < Fw3, then, since the flow through
the process is less, the dead time is longer and the steady state outlet temperature is higher.
The steady state gain for this process
∆T 2
Kp =
∆F s Load = Const
is a function of the load, as in the case of the level tank. As the load, Fw, increases, the
steady state gain decreases. Now considering the dynamic gain, we know:
1 1
τd ∝ ∝ i.e. as load, F w ↑, the Dead Time, τdt ↓
Fw Load
We also know that the period of oscillation and dead time are related:
τo ∝ τd
1
I ∝ ∝ Fw
τo
∴ I, D ∝ F w (where I and D are in min)
Thus, as the load increases, we want I and D to increase in order to maintain a constant
damping period.
Putting all the information together we can now synthesize a load adapted PID algorithm.
Consider a PID algorithm:
100 1 dc
m =
PB
e + ∫
I
edt - D
dt
We can convert this to the load adapted algorithm:
100 1 D dc
m =
PB
f e +
If ∫ edt -
f dt
Where f is the normalized (0 to 1) output of a flow transmitter measuring the load Fw.
If we tune the controller at maximum flow (f = 1) the above algorithm is a normal PID
algorithm. At maximum load the process gain is minimum and controller gain is maximum.
As f decreases, the process gain increases and we require the controller gain to decrease and
maintain the damped period, τo constant.
Summary of adaptation:
100
f
PB as f decreases, Gp increases, and Gc decreases.
1 as f decreases τ d in the process increases and τ o increases. The
If effective integral time, I f, increases causing the period to decrease.
D
as f decreases, effective derivative time increases, decreasing τ o .
f
The proportional term serves to maintain constant damping with the load change while the
integral and derivative adapted terms serve to maintain constant τo with decreasing load.
The gain compensation is accomplished by programming the PID settings of the controller as
functions of load (Fw).
Feedback Adaptation
The titration curve shown below is extremely nonlinear.
TITRATION CURVE
14
11
pH 7
0
REAGENT
The gain of this process varies significantly and is quite high between 4 < pH < 11.
A nonlinear-controller has some possibilities regarding control of this process if the titration
curve is stable and of a fixed shape. The titration curve however can change its shape or drift
which make the nonlinear solution ineffective. Other solutions became available as electronic
hardware was introduced to the process industries. Electronic solutions became available in
the early 1970's prior to the microprocessor age.
One of the earliest industrial adaptive control strategies used electronic hardware in a
feedback type adaptation using two controllers. One of these controllers had a nonlinear
algorithm with a dead band while the other controller performed the adaptation by varying the
dead band on the nonlinear controller.
SET POINT
pHT
PROCESS
The adaptive controller senses the period of the pH measurement and changes the dead band
as required to bring measurement to the set point. The adaptive control strategy involved the
widening of the dead band if oscillations persisted and the narrowing of the dead band when
the response was sluggish.
GLOSSARY
adaptive control Control in which automatic means are used to change the type
and/or influence of control parameters in such a way as to improve
the performance of the control system.
characteristic curve A graph (curve) which shows the ideal values at steady-state, or an
output variable of a system as a function of an input variable, the
other input variables being maintained at specified constant values.
compensation Provision of a special construction, a supplemental device, circuit, or
special materials to counteract sources or error due to variations in
specified operating conditions.
compensator A device which converts a signal into some function which, either
alone or in combination with other signals, directs the final
controlling element to reduce deviations in the directly controlled
variable.
dead band The range through which an input can be varied without initiating
observable change in output. (There are separate and distinct input-
output relationships for increasing and decreasing signals.)
dead zone A predetermined range of input through which the output remains
unchanged, irrespective of the direction of change of the input
signal.
drift An undesired change in the output-input relationship over a period
of time.
feedforward control Control in which information concerning one or more conditions
that can disturb the controlled variable is converted, outside of any
feedback loop, into corrective action to minimize deviations of the
controlled variable.
linear The type of relationship that exists between two variables when the
ratio of the value of one variable to the corresponding value of the
other is constant over the entire range of possible values.