Professional Documents
Culture Documents
Time optimum control of a second-order overdamped system with transportation lag was studied for given
maximum and minimum constraints on the manipulated variable. Pontryagin's maximum principle and a
phase plane analysis were used to derive the two-position control law which would drive the system
output to its dlesired value in the shortest time. A two-position programmed controller, based on switching
time, was synthesized on an analog computer. This controller verified the optimum control law and pro-
vided significant response time improvement over a well tuned proportional-integral-derivative industrial
controller. The degree of improvement is best for large set point changes on processes with large t h e
constants, large transportation lags, or narrow limits of asymmetric saturation. The results of this study
are useful for startups and for transitions between steady-state operating conditions, for the class of processes
whose dynamics are adequately represented as second-order with delay.
HEMICAL process dynamics, as distinguished from those of necessity for knowledge of the theoretical process dynamics,
mechanical or electrical systems, are characterized by which are usually impossible to obtain. Since Equation 1
large time constants, distributed parameters, and sluggish has been found to be broadly applicable and experimental
response. Although thi: criterion for optimum control in the procedures for fitting the parameters have been established,
chemical industry is generally maximum profit, a criterion of the results of the present study should be applicable on a prac-
minimum time would seem to be almost equivalent and is tical basis to a reasonably broad class of process control prob-
clearly more convenient for analysis. The time optimum lems (5, 7). However, it is clear that processes which cannot be
programmed control function specifies the manipulated vari- approximated by Equation 1: such as a highly exothermic
able, M ( t ) , that drives the process output, C ( t ) , to the desired chemical reactor, will require specific formulation and solution
value as rapidly as poscible. The optimum feedback control for the time optimum control law; this topic receives no atten-
law is the manipulated variable specified as a function of the tion in the present work, but has been investigated in a t least
output, rather than of time. two recent papers (4, 9 ) .
I n this work, control of single manipulated input-single T h e manipulated variable in a real process is always con-
controlled output processes, where dynamics may be repre- strained between some maximum limits; hence we assume
sented by a transfer function of the form k 5 M 5 K , where k and K are known. We neglect constraints
on dM/dt. If saturation occurs elsewhere in the loop, k and K
are determined by the most narrow limits.
The block diagram is shown in Figure 1 . R is the set point
is considered. We assume a unity process gain with no loss or desired value of the output C. The error is defined to be
of generality. C(s) and M ( s ) are the normalized, transformed e R - C. The problem of controller design is to specify
process output and input variables, T is the predominant M such that e is reduced to zero in minimum time.
process time constant, b T is the smaller process time constant Although the process itself is linear, the constraints on M
(0 < b < I ) , and U T if3 the transportation lag or dead time. introduce nonlinearity to the control loop. The investigation
Since the effects of distributed parameters and higher order of this problem without transportation lag was pioneered by
dynamic characteristics may often be lumped with the delay Bushaw in 1 3 5 2 (3) and, independently, by Feldbaum (8).
constant, U T ,this transfer function has been found to represent In 1 9 5 6 , a principle leading to the solution of the general
adequately the behavior of many chemical process operations, problem of finding a n optimum control function for this type
including a liquid-liquid extraction column (2), a cracking of constraint was formulated by Pontryagin (74). Desoer (6)
furnace (729, heat exchangers, pneumatic transmission lines, has shown from Pontryagin's maximum principle that, for
agitated mixing vessels (70), and large distillation columns (75).
T h e three dynamic parameters, T , 6 , and a, are assumed to
be known. Methods for fitting these parameters by practical
dynamic testing, to processes whose true (unknown) dynamics
K IL
are more complex than the transfer function of Equation 1 ,
have received extensive recent attention as reported in the
-1
k
monograph of Hougen (70). In contrast with recent studies
on synthesis of time optimum controllers (4, 9), a major objec-
tive of the present study is a practically implementable con-
troller, applicable to s~ broad class of processes, without Figure 1 . Block diagram of the system
(5)
M = M ( t ) , to = 0. The phase plane trajectories are shown in
Figure 2 for the three forcing functions. Time is a parameter
along the trajectories. In each case, a stable node occurs on
the e axis at the value of the forcing function.
At time t = 0, a step change is made in the set point from R,
Next formulate the Hamiltonian of the conjugate system
to R. For time t < 0, e = e = 0 = R, - M . The conditions
HE Cib(t)Fi(x,f,t ) (7) immediately after the set point change are e (0) = el = R R,, -
and i ( 0 ) = 0. The desired final conditions are e ( t J = & ( t 5 )=
to get 0, where t j is unspecified,but is to be minimized.
The heavy trajectories of Figure 2, b and c, which pass
H=
- M ( t - UT) + R -~
(6 + 1)
bT
x2 1'
- b T2 (8)
exactly through the origin, constitute the desired final paths,
and hence are switching lines. When e l is finite and negative,
M should be k (because the system output must be reduced)
K - R
- + ( k -K - R + "'> (9)
exp (15)
____
K - k If e' is not readily available, the controller design can be based
K-I?+ -
K - R+ e x p t T ) (13) on time. Equation 15 gives tz implicitly for initial conditions
$1 = 0, e l < 0. When e l > 0, K and k should be interchanged.
Equations 1 1 of the first part of the curve, evaluated a t t = The switching time, t 2 , is independent of the dead time. This
tz = t 3 - aT, give equations for the switching error and error important result allows synthesis of a programmed timing
derivative. These can 'be solved for the quantities ( k - R + controller for process startups and transitions, without the need
1 - b
[exp (u) - b exp(a/b)] -K +R done in the linear range of operation-Le., no saturation-
to ensure some theoretical significance of the results. Mini-
for e < 0. mum response time or settling time for load changes was not a
useful criterion for optimum P I D controller settings, because
Performance of Two-Position Controller
the “optimum” transients showed undesirable characteristics.
The performance of the time optimum two-position con-
As an example, if one chooses to minimize the 5% settling
troller was compared with that of a well tuned proportional-
time, t j % , settings can be found for some processes (small u )
integral-derivative controller on a n analog computer. Equa-
for which the error never exceeds 0.05L, so that ts% = 0.
tion 1 5 was the basis for logic circuits to provide the switching
However, such a transient had excessive oscillation and was not
time controller, A second-order Pad6 approximation was
acceptable for practical applications. Latour (73) gives more
used to simulate the process transportation lag. Latour (13)
details of this topic. T h e optimum P I D settings based on
gives the details of the circuits.
absolute area under the error curve gave transients, such as
To assure fair comparison for each set of process constants,
that shown in Figure 5, which were more likely to be con-
u and 6, “optimum” P I D controller settings were determined.
sidered as acceptable for industrial practice. For convenience,
the responses generated by the two-position control are labeled
BB on the diagrams (for bang-bang).
A series of comparisons between the well tuned P I D con-
troller and the two-position controller was made. The
output of the PID controller was now limited a t K and k for
fair comparisons. Figure 6 is an example phase plane resulting
from one of these tests. Each trajectory begins a t e l = -30,
e‘ = 0, and remains a t this position for an elapse of time U T
after application of M = k . T h e first switch on the two-
position trajectory, a t t = tz, is indicated. At t = t 4 , the final
switch from two-position back to PID control occurred. This
was done to approximate the action that would occur in prac-
tice if a control room operator forced this two-position control
by manual set point adjustment. (Also, the theoretical final
I I switch to M = R is difficult to achieve in practice, because of
-60 -30 60
inaccuracies in knowledge of transduction constants, such as
change in flow per unit change i n pneumatic pressure.) This
imperfect final switch caused slight undershoot past the origin,
T = 1.0 -60-
K = 40 since a small nonzero error is applied to the P I D controller a t
k E -100 t 4 . The reported theoretical minimum response time, t s , was
R - -20
b = 0.5 not affected by this final switch approximation. I t is im-
portant to emphasize that the switch a t t z is from full forward
to full reverse (k to K ) to give maximum deceleration and
bring the system rapidly to the origin. For simple on-off
control, the switch occurs at e = 0 rather than a t the indicated
switching line, and a limit cycle results.
I n comparing the trajectories of Figures 5 and 6, it may be
Figure 4. Example phase plane switching line seen that the P I D trajectory initially follows the two-position
2or
I I t
3 4
-10
/
-v
b= Q5
R = -30
K = 100
-20
Figure 5. Error transient comparison between two-position and PID control for test 20
f \
K =Kx)
..
k =-I00
$:
Figure 6. Phase plane comparison between two-position and PID control for test 20
40
I I
-60
maximum and minimum M was wide. However, the two- SET POINT CHANGE, A -&
position improvement over P I D is best when the saturation Figure 8. Effect of initial error size on response time for
limits are narrow. two-position and PID controllers
T h e effect of asymmetry on response time is shown in Figure tions studied. For test 3, Table I, if T = 1 hour, the two-
12. Asymmetry occurs when R is not midway between k and position response would be 1.8 hours faster than the PID
K . Asymmetry in the K direction (refer to Figure 7 once tb%. The degree of improvement is best for large set point
again) means shifting K and k upward while maintaining K - k changes on processes with large a and b or narrow limits of
constant a t 140, with fixed R, = 0 and R = -30. The re- asymmetric saturation.
sponse time becomes very large near k - R = 0, since this set
point requires the saturation minimum, k , a t steady state. Applications
T h e two-position improvement is better for greater asym- An immediate application of this work is the use of the time
metry. switching equation for manual set point control on a typical
I n summary, the time optimum controller is significantly industrial controller. An experienced operator often applies
superior to a well tuned PID controller for nearly all condi- full on or off saturating action for some period of time before
l I , I , I I , I ~
0 0.I 0.2
0.5 I.o
MINOR TIME CONSTANT, b TRANSPORTATION LAG, a
Figure 9. Effect of minor time constant on re- Figure 10. Effect of transportation lag on re-
sponse time for two-position and PID controllers sponse time for two-position and PID controllers
4
c
\
c I-
z
+
w‘ 2.0-
z
c
\ O
g
I-
3
W
v)
z
2
v)
1.5- ‘“Y O U
w
i2
a
2 0
1.0-
L? ‘0
t5 I
-- -
I l l 1 I I I I I I I 0
80 140 200 260
SATURATION RANGE, K -k 100
40
-70
k- R
100
40 -10
130
70 K-R
Figure 1 1 . Effect of saturation range on response ASYMMETRY IN K DIRECTION
time for two-position and PID controllers
Figure 12. Effect of asymmetry on response
time for two-position and PID controllers
putting the control set point to a new desired value. If
parameters T , b, K , and k can be adequately approximated,
Equation 15 can be used to make a table of values for t z for r
various el = R - R,. Thus, to make a set point change, the
Ro= 0
pointer can be moved to cause full force in one direction u p to .
15 -
@I=R
t 2 , then full force in the opposite direction until t 4 . At t 4 , K = I,O in.
k =-IO in.
the pointer is returned to the desired set point value, R. This b = 0.150
procedure was found to function well if the integral action was a = 0.154
turned off during the transient, and subsequently reapplied - T = 6.9min.
when the process reached the vicinity of its new control point. v)
W
This avoids the undesired integration of the errors during the e
z
3
two-position transient. If use of this simple two-position 5 10-
action with full reversal is made for process startups and a
transitions, significant time savings will be made in bringing r
the process to a new steady state. e5 -
Lapse (72) found the transfer function of a cracking furnace v)
to be c
exp (-1.06s)
5
v)
5-
a
(6.9s f 1) (1.03s f 1) :
where the constants are in minutes. For this case, T = 6.9 Y -
c
minutes, a = 0.154, and b = 0.15. Figure 13 indicates the
switching time, t 2 , for various set point changes from R, = 0
to R. Saturation was assumed to occur a t K = 1 inch and
k = - 1 inch from the center of the chart, R,. If the actual
0 -a5 -ID
SET POINT CHANGE, R INCHES OF CHART
process b deviated from the assumed b = 0.15 by loyo,t 4 was
i n error by approximately 0.1 minute. Figure 13. Time for first switch for set point
If the process is subject to loads during programmed two- changes on Lapse’s cracking furnace
position control, a different trajectory will be followed. Since
the operator will switch to a linear feedback controller near the
origin, deviations due to loads will not greatly affect this is also valid for a system with transportation lag in the feedback
procedure. Also, calculations indicate the position of the measuring element.
switching line to be somewhat insensitive to loads when K k - T h e results of this work provide an upper bound on the
is large. possible response time improvement which can be made over
If the switching time is consistently in error, a trial and error “good” P I D control of processes with transportation lag. I n
adjustment of parameter b or T may give improvement. addition, they indicate the class of control situations for which
Equation 1 5 might even be used to determine or confirm these possible response time improvement is greatest. This informa-
model parameters. tion forms the basis for further research on the development of
We show in Appendix I1 that the optimum control function simple, suboptimal control methods, such as the suggested
Appendix II
Suppose a dynamical system is governed by the differential
equation Proposition. The time optimum control function for sys-
;(t) = Ax@) + bM(t) (AI)
tems with dead time in the feedback measuring element is the
same as for systems of Figure 1.
k < M ( t ) 6 K , all t Given the system
Complex set!; of equations describing the concentration-time profiles of a chemical reaction can be solved
by random number (Monte Carlo) simulation techniques. The basis for a valid solution is a stochastic model of
a chemical reaction in which the reaction path is not fixed but allowed to vary from trial to trial. An example
is presented to illustrate the convergence of Monte Carlo simulation to results predicted by the laws of mass
action. A relationship between Monte Carlo sampling and numerical integration is demonstrated which
should prove useful in the numerical solution of complex reactions (involving a series of equations) difficult to
solve by analytic procedures.