Sunteți pe pagina 1din 6

Adaptive control of dominant time delay systems via polynomial identification

A. Besharati Rad K.M. Tsang W.L. Lo

Indexing terms: Dominant lime delay, Adaptice control. Predictice PI control, Polynomial idenrifrcation

Controller design

Abstract: An adaptive algorithm for controlling systems with dominant time delay is presented. The algorithm is derived by integration of Hagglund's predictive PI (PIP) controller with the online polynomial identification algorithm. For the purpose of identification and control, the system under control is modelled by a first-order with delay model and its parameters, including the time delay, are identified. The identified parameters are used to tune the predictive PI controller. The performance of this algorithm is verified by an experimental study for a system with variable time delay. It is also shown that this controller performs better than the popular Foxboro's EXACT controller for a dominant time delay process.
1
Introduction

Hagglund [3, 41 introduced a predictive PI controller (PIP) that is specially suited to systems with dominant time delay. The controller is effectively a Smith predictor [7] whereby the structure of the model is fixed to a firstorder with time delay. Note that a first-order model with delay is sensible for dominant time delay systems. Hagglund determined the parameters of the model (offline) from the process reaction curve and used them to calculate the controller parameters. The high-order dominant delay process is approximated by

Control of systems with large dead time imposes much more restriction on design methodology and conventional control algorithms may not be directly applicable. For example, it is well known that Zeigler-Nichols tuned PID controllers cannot give an acceptable performance for this class of processes. To design an adaptive controller for a dominant time delay system, the parameters of the system, including the time delay, should be estimated online, this is if the delay is not known a priori. There are many adaptive control algorithms derived specifically for time delay systems [ I , 21; many of them, however, do not address the dominant time delay systems explicitly. In this paper, a new adaptive control algorithm is introduced which is designed particularly for dominant time delay systems. The design is based on online tuning of the predictive PI (PIP) controller which was recently introduced by Hagglund [3,4]. The purpose of the paper is to extend Hagglund's P I P to adaptive capability. This adaptive controller can control high-order systems with dominant time delay. For the purpose of identification and control, the system is modelled by a first-order transfer function with time delay. The parameters of this model, including the time delay, are estimated via online polynomial identification [ 151. The controller is implemented in continuous-time [ 6 ] in contrast to conventional discrete-time approach. The proposed algorithm will also take into account the case of variable time delay.

where m < n, L is the actual time delay, K is the static gain, T is the apparent delay and T is the effective time constant. The system is labelled as a dominant time delay process if T > 5s. Hagglund's PIP has the following structure:

where
U([) = control signal e(t) = error signal K p = proportional gain Ti = integral time constant T = model time delay p = differential operator d / d t

If the parameters of the model are known, the controller can easily be tuned. The proportional gain and integral time constant of the controller are selected based on model static gain and effective time constant as
1 K,=- K

and

7;=r

(3)

r IEE. 1995 Paper 1973D IC8). received 22nd February 1995 The authors are with The Hong Kong Polytechnic University, Department of Electrical Engneering. Hung Horn, Kowloon, Hong Kong
I E E Pro.-Conrrol Theory Appl., Vol. 142, No. 5, September 1995

In process control, the parameters of the system and thus the model change and therefore the controller needs constant retuning. Hagglund's P I P is designed for a known system and the first-order model is derived offline and as such cannot cope with system parameter changes. Moreover, this controller is essentially a Smith predictor and it is well known that a Smith predictor is sensitive to mismatch between the process and the model. This problem can be solved if we somehow estimate online the model parameters namely K , s and T from the input u(t) and the output y(f) of the original high-order system, we will be able to update and hence retune the controller from eqns. 2 and 3 as the system change.
433

Adaptive PIP controller

To design an adaptive controller around the predictive PI controller, the parameters of the system including the unknown time delay should be identified recursively. In this Section, we first present the identification algorithm and then outline the design procedure for the adaptive PIP controller.
3.1 Parameter estimation The, possibly, high-order dominant delay process is modelled by eqn. 1. However, the adaptive controller requires simultaneous estimation of time delay ( T ) , gain ( K ) and time constant (5). Standard least squares cannot be directly applied since the presence of unknown delay imposes a nonlinear in the parameter configuration. Let us define the parameter vector O(t) = [ T , aO, a l ] T where a,, = l/K and a, = T/K. Now, we can use Polynomial identification method [ S I which extends the continuousleast squares criterion to polynomial in the parameter system; i.e. the parameters of a general nth order system with unknown time delay can be identified. This is achieved by minimising the following cost function:

feasible for single processor implementation. However, since eqn. 1 can be represented as a system with no numerator dynamics, the identification is very much simplified and is implemented by first partitioning the parameter vector O ( t ) as

[z]

where A = [ao,

U , ] ~

(11)

Let us define hi(t),gi(t)and Y ( t )as


q i ( t ) = 80' = ( - 1 y + 1 77
l%(t)

d'u(t - T )
~

dt'

for i 2 1

and

Y(t) = -= I" - y(t) T ,:[': ] ?A


In the above equations, u(t) is the control signal, i is the truncation order and is selected by the user and y(t) is the system output. Similarly, H , ( t ) is partitioned as

~ [ e ( t )t ,] = + e - @ ' [ d ( t- d o l T ~ o [ d (-)do] ) t

l e - 8 ( r - r ) t 2 ( tT) dr ,
T)

(4)
is the
(5)

where e(t) is the parameter vector, and e(t, estimation error defined as

Differentiating once again with respect to B(t) gives

qt, T) = d Y ( T ) ,

U(T),

&t)l

In eqn. 4, P is the nonnegative scalar forgetting factor: and So is the positive definite matrix initial cost weighting.
Theorem: If the optimal estimate of d of 0 exists and is unique for every t , then it satisfies the following system of differential equations:

For i 2 2, the only component of Hi([)that is not zero is that corresponding to T and is given by

Thus, the differential equation for updating the cost (eqn. 8) becomes

and for i > 1, Ji[e(t),t ] is given by differential equation

where

Ji[d(t),t ] =

?J[d(t), t ]

iie
(94

p(t) = J,[d(t), t ] The only nonzero initial conditions are

3.2 Design of the adaptive controller A step by step procedure for the design of the adaptive PIP controller is as follows: Step I : The high-order system is modelled by a firstorder with time delay (eqn. I), the initial parameter vector [6(0)],initial cost [J2(0)],the forgetting factor (P), the truncation order of estimation ( i ) are chosen. Based on the a priori knowledge of the system bandwidth, the state variable filter 161 is selected. Step 2: The parameters of this model are identified from the input and output of the original high-order system (eqns. 6 and 12-17). Step 3 : The parameters of the PIP are updated (eqn. 2 and 3). Step 4 : Go back to step 2.
4 Experimental studies

40) eo =

J,(o)

so

(10)

Proof: The proof is obtained by repeated differentiation of the cost function eqn. 4. The general algorithm considers a transfer function with both numerator and denominator as well as time delay which makes it not
434

In this Section we demonstrate the performance of the adaptive algorithm proposed in this paper on two real systems. The first system is a flow control problem and the second one is a temperature control problem. Since the algorithm reported in this paper is applicable to systems with dominant time delay, we added artificial
I E E Proc.-Control Theory Appl., Vol. 142, N o . 5, September 1995

time delay to outputs of both systems. For flow control, a fixed delay and for temperature control, a variable delay was added to their respective outputs. Furthermore, to assess the performance of the controller we have compared it with a popular commercial PID self-tuner, i.e. the Foxboro EXACT.
4.1 Flow control Flow control is a typical process control situation in food, drink and petrochemical industries. A laboratoryscale process control unit (PCU) from Bytronic [SI was used to demonstrate the performance of the algorithm on a real system. The system rig consisted of a sump, a pump, a manual/computer control diverter valve, a cooler and a drain valve. The sump water was pumped through the pipeline, the cooler and the manual flow control valve to the process tank. The flow rate was \ measured by an impeller type flow meter located near the process tank. The water was fed back to the sump via the drain valve, thus completing the flow cycle. The objective was to control the flow rate by manipulating the pump voltage. Fig. 1 shows the PCU layout for the flow control
strrrer

1/(0.5s + 1)4 was applied to the system input and output for generating filtered high-order derivatives of input and output which are needed for parameter estimation (eqns. 12 and 13). The set-point was a square-wave with an amplitude of 0.15 and a period of 80 s which was superimposed on a DC offset level of 0.75. Fig. 2 shows the

O 00 z

50

10 0
t1me.s
Li

150

2 00

process

01

50

I
sump pump BItronir process control lajour for Jon rate control erperr-

100 t1me.s b

150

200

Flg 1 menf

experiment. From omine modelling, the model of the flow rate control system was found to be

where U s ) and T/,(s) were the Laplace transform of the flow rate and pump drive voltage, respectively. This was clearly not a dominant time delay system. To show the performance of the proposed algorithm for a dominant time delay system, extra time delay of 7.8 s was added to the system output signal (flow rate) to make the overall system time delay to 8 s which was about six times the system time constant. Therefore, the overall system transfer function was

0
Fig. 2
( I

50

100 t1me.s
C

150

200

Adaptiae.Pow control oJByfronic process control unit

Set point and output flow rale IF) against time h Pump drive voltage (VI against time c Estimated parameters ( T d . K . r ) against time

The flow rate was measured every 0.05 s and was delayed for 7.8 s before being used to calculate the updated control signal (i.e., the pump drive voltage). Three parameters were estimated. The estimator initial parameters and the initial cost, the forgetting factor and the estimation truncation order were selected as O(0) = [6, I , l], 12(0) 0.011, where Z3 is a 3 x 3 identity matrix, for= getting factor b = 0.05 and the identification truncation order i = 4, respectively. The design was implemented in continuous-time and the state variable filter of the form
I E E Proc.-Conrrol Theory Appl., Vol. / 4 2 , No. 5, September 1995

overall experimental results. In particular, Fig. 2a shows the set-point, output pair, Fig. 26 shows the control signal (pump driving voltage) and the estimated parameters are shown in Fig. 2c. As shown in this figure, the adaptive PIP controller shows a very satisfactory performance. Next, to compare the proposed controller with an industrial controller, an experiment for Foxboro EXACT self-tuning controller was also carried out. The Foxboro EXACT self-tuning controller uses a pattern recognition technique to tune the controller. By continously monitoring the behaviour pattern of the error signal, the controller settings will be adjusted in order to match the user-specified damping and overshoot constraints when a series of set point changes or load disturbance changes is applied to the process.
435

The initial estimates of the controller parameters were determined using the prerune function. The MAIN NB (noise band) MAIN cornax (maximum wait time) and MAIN DFCT (derivative factor) were determined automatically through this pretune function. The MAIN DMP (damping factor) and the MAIN OVR (overshoot) were both selected at the default value of 0.25. The process was then subjected to a series of set-point changes (three or more set point changes), hence the EXACT self-tuning algorithm obtained the opimal controller parameters. This industrial PID controller implements a series PID control algorithm which has the following form:

controller on a variable time delay system. The system consisted of an adjustable air blower, a length of tube and a heater. The air was drawn through the throttle

:;i
0 0

,
120

,
160

40

80
time,s a

where U ( s ) and E ( s ) are the Laplace transform of the control and the error signals, respectively. After a series of set-point changes, the EXACT tuning algorithm converged and the final settings were obtained. The EXACT controller performance after tuning period (about 300 s) is shown in Fig. 3. In particular, Fig. 3a shows the set
:
'

4,

2.

O 04 . 6 ' >

U-

' 3 4!
2

02

i 2j
Fig. 4

0 0

40

80
time. s b

120

160

o Set p i n 1
~~

Compnrison of the proposed algorithm with E X A C T and oulput Row rate (F) against time

h Pump drive voltage ( V )against time

PIPI
Foxboro

2r

?L

3 3;

opening by the centrifugal blower. It was then warmed up by the heater as it passed through the tube length and sent back to the atmosphere. The system input was the heater drive voltage and with its output the air temperature which was measured by a thermistor fitted to the end of the tube. The schematic diagram of the heater is shown in Fig. 5.
I

1 2&'

I -

-0
Fig. 3

BO rne.5
5

123

:60

adjustable airflow

Conrrol

0:

B r r r o n r c process control unir h i F o r h o r o E X . 4 C T

o O ~ i pandi sei poini flou raie iFI against time ~

h Pump dri\e boltage I I I against time

point and the output and Fig. 3b shows the control action. The PID parameters obtained from Foxboro EXACT controller were K , = 0.3125 (proportional band = 320%), 7; = 2.4 and & = 0.6 (MAIN P = 320, MAIN I = 0 . 4 m i n and MAIN D =0.01 min). The closed-loop response after 300 s for the proposed controller PIP and the EXACT controller are shown in Fig. 4. It is apparent that the proposed controller performs better than the EXACT controller for this dominant time delay process.
4.2 Temperarure control A popular piece of control engineering laboratory equipment, the feedback process trainer PT326 [SI, was used to demonstrate the performance of the adaptive PIP
476

controller

measurement

external ac tuot ion slgna I

Fig. 5

Block dingram f o r the feedhnck process trainer (PT326)

The adjustable air blower was set at 40" and was maintained at this angle for the duration of the experiment. An open loop test was then carried out on the system and from the process reaction curve, a first-order
I E E Pro?.-Control Theorv A p p l , Vol. 142, N o 5 , September IYYS

model was deduced as

Since the time delay of the system was fixed and very small as compared to its time constant, a variable delay was added to the measured system output. Therefore, the system transfer function was

track the variable time delay and PIP can give a very good control for this system. The model of the heater was also used to compare simulation results with the actual experimental results. Fig. 7a-c shows the simulation results and compare very well with those of Fig. 6a-c.
>

G,(s)

V ( s ) l.le-Ls =V,(s) 0.5s + 1

(22)

L = 2.0 for 0

L L

= =

2.5

3.0

< t < 60 for 0 < t < 120 for 0 < t < 180
> lor

A state variable filter of the form 1/(0.6s + was applied to the system input and output for polynomial identification. The estimator initial parameters, the initial cost, the forgetting factor and the estimator truncation order were selected as O(0)= Cl.0, 0.5, O.5lr, J z ( 0 )= 1 x 10-513 where 1, is a 3 x 3 identity matrix, = 0.05 and i = 4, respectively. The set-point was a square-wave with amplitude of 1.0 and period of 40 s superimposed on DC offset level 4.0. Fig. 6a-c shows the overall results. In
>
L

times a

c ' P 81

'

30

60

10

90 time. s
b

120

150

180

, 8"

x olL.._---,
* o
30 60

90

120

150

180

t1me.s
a

E
Fig. 7

o!0

I i

I -

30

60

90
time, s
C

120

150

180

Adaprirr control of sirnuluted model of PT326 with variable

dela!
Set point and output against time h Control action against time c Estimated parameters against time
U

30

60

90 hme, s
b

120

150

180

Conclusions

30

60

90
time.5
C

120

150

180

Fig. 6

Adaprire ronrrol uJPT326 tiirh iuriahle delay

n Set point and output against time

h Control action agamrt time c Estimated parameters agamrt time

particular, Fig. 6u shows the setpoint, output pair, Fig. 6h shows the control signal and Fig. 6c shows the estimated parameters. As shown in this figure, the adaptive PIP controller shows excellent performance under variable time delay condition. The polynomial identification can
I E E Proc.-Control Theory .4ppl.. Vol. 142. No. 5, September 1995

A new adaptive controller is proposed for the special class of systems with dominant time delay. This class of systems are known to be difficult to control and there are few algorithms which can successfully control this type of processes. However, for the purpose of identification and control, dominant time delay systems can be represented by a first-order with time delay model. The parameters of this model are recursively identified by the polynomial identification and are used to tune Hagglund's PIP controller. Experimental studies were carried out to show the performance of algorithm under noisy environment, parameter variations and input disturbances. The controller performance deteriorates as the ratio of the time delay to the effective time constant of the system decreases. Therefore, it can be concluded that for the dominant time delay systems, this approach can be very useful and lead to a much improved performance compared to the Zeigler and Nichols tuned PID controllers. One of the main attractive properties of the proposed controller is its ability to track a variable time delay. These claims have been verified by simulation as well as
417

experimental systems.
6

studies on

two laboratory-scale real

4 HAGGLUND, T.: 'A predictive PI controller for processes with long dead times'. IEEE Control Systems, 1992, 12, (I), pp. 57-60

References

I C L A R K E , D.W.. MOHTADI, C., and TUFFS, P.S.: 'Generalised predictive control. Part I : The basic aleorithm'. Auromarica. 1987. 23.
( 2 ) pp 137-148 2 DUMONT. G A ELNAGGAR, A and ELSHAFEI, A 'Adaptive predictive control of systems with varying time delay', Int. J. Adaptioe Conrrol & Signal Processing, 1993, 7 , pp. 91-101 3 HAGGLUND, T.: 'A dead time compensating three term controller'. IFAC Identification and system parameter estimation, Pergamon press plc, Budapest. Hungary, 1991,pp. 1167-117?

5 GAWTHROP, P.J., NIHTILA, M.T., and BESHARATI RAD, A.: 'Recursive parameter estimation of continuous systems with unknown time delay', Control, Theory & Adu. Techno/., 1989, 5, (3) pp. 227-248 6 GAWTHROP, P.J.: 'Continuous self-tuning control'. Vol. I , 'Design' (Research Studies Press, UK, 1987) 7 SMITH, O.J.M.: 'Closer control of loops with dead time', Chem. Engng, 1957,53, (5). pp. 217-219 8 BYTRONIC (UK): 'Documentation for the Bytronic process control unit' (Bytronic, UK, 1994) 9 FEEDBACK INSTRUMENTS LTD.: 'Manual for PT326' (Feedback Inst. Ltd.. UK, 1982)

438

IEE Proc.-Conlrol Theory Appl., Vol. 142, N o . 5, September I995

S-ar putea să vă placă și