• Tidak ada hasil yang ditemukan

On-line identification

Dalam dokumen RELAY FEEDBACK METHOD FOR PROCESS MODELLING (Halaman 102-107)

CONTROL SYSTEMS BASED ON HALF LIMIT CYCLE DATA

5.2 On-line identification

The configuration of the cascade control system is shown in Fig. 5.1 where, C1 and C2are the master and slave controllers while Gp1 and Gp2 are the outer and inner loop processes, respec- tively. Fig. 5.1 shows the on-line tuning scheme for the cascade control system by employing a relay in parallel with the master controller without disturbing the closed-loop control. The relay height is increased from zero to some acceptable value when re-tuning is necessary. Based on the induced limit cycle oscillations y1and y2, the process dynamics are first identified and then fine tuning of the existing controllers are accomplished.

y1

r +

_

C1

_

y2

u1 u2

Relay

+

C2 Gp2 Gp1

L2

+

L1

Figure 5.1: Structure for on-line tuning of the cascade control system

To make the cascade control effective, the following guidelines are to be incorporated.

• The inner loop should be faster than the outer loop at least by five times and it should be possible to have a high gain in order to regulate disturbances more effectively [39].

• In the absence of default control settings, C1 and C2 are proportional-integral (PI) and proportional (P) type controllers, respectively. These settings are intended primarily for the purpose of stabilizing the process during the tuning procedure. Practical applications of autotuning methods have been mainly to derive more efficient updates of current or default control settings, which are already available in many cases.

Let the process dynamics be represented by the first order rational transfer function model with

dead time

Gpi(s) =kie−θis

τis+1 (5.1)

where, i=1 for the outer and i=2 for the inner process model. Although, the transfer function model is simple with only three model parameters, yet it is most commonly used, especially in the process control industries [39].

5.2.1 Estimation of inner process model

0 10 20 30 40 50

−0.6

−0.4

−0.2 0 0.2 0.4 0.6

time in sec

Relay and process outputs

Figure 5.2: Responses from the relay test,−relay output,− − y2(t)and· · ·y1(t)

A relay autotuning test yields interesting results as shown Fig. 5.2 due to faster dynamics and higher gain of the inner loop compared to the outer loop. The output y2is constant at least over a half period and acts as a constant input for the outer process during that period. Therefore, it is possible to obtain the analytical expressions for half limit cycles y1and y2 (Fig. 5.3) from a single relay test.

T

t2

t0

ε

1:

y

1

( ) t

, 2:

y

2

( ) t

3:

y

1

( ) t

, 4:

y

2

( ) t

:

θ

2

_

1

4 2

3

t1 tp

θ

1

_

time

Output

0

Figure 5.3: Half cycle of the limit cycle outputs

Let the relay amplitudes and hysteresis widths be ±h and ±ε, respectively. The method to obtain the analytical expression of a limit cycle waveform as given in Section 4.2 is used here.

The state and output expressions for Gp2(s)in (5.1) are written in the time domain controllable canonical form as

˙x2(t) =λx2(t)−k2λu2(t−θ2) y2(t) =x2(t)

(5.2)

where,λ=−1/τ2. The relay switches from h to−h at time t=t0due to hysteresis and provides two different piecewise constant input signals during a half period of the inner process output.

The solution of (5.2) for tt1where the input signal u2(tt1) =−h can simply be

y2(t) =y2(t1)eλ(tt1)k2h(1−eλ(tt1)) (5.3) Similarly, the solution for the inner loop transfer function

T2(s) = Y2(s)

U1(s)=Gp2C2(s)[1+Gp2C2(s)]−1 (5.4) is obtained for the inner process output. During an on-line relay test C2(s) =Kc2and substitution

of Gp2(s)in (5.4) gives

T2(s) = k2Kc2e−θ2s

τ2s+1+k2Kc2e−θ2s (5.5) The static load disturbance is neglected during the analysis. With the help of (5.3) and using the limit cycle analysis given in Section 4.2, the output expression from T2(s) is derived. The expression of y2for tt1is obtained as

y2(t) =y2(t1)eλ(tt1)k2Kc2h(1−eλ(tt1))+(k2Kc2)2hλh

(tt1)(2eλ(tt1)eλ(tt0)) +λ−1(1−eλ(tt1))i (5.6)

The first order time derivative of y2(t)becomes

˙

y2(t) =y2(t1)eλ(tt1)λ+k2Kc2heλ(tt1)λ+(k2Kc2)2hλh

eλ(tt1)eλ(tt0)+ (tt1)(2eλ(tt1)λ−eλ(tt0)λ)i (5.7) It is straightforward to calculate the steady state gain k2, since T2(0) =k2Kc2/(1+k2Kc2)from (5.5). This can be simplified for k2as

k2= T2(0) (1−T2(0))Kc2

(5.8) If the constant amplitude of y2is denoted by hy2, then the inner loop gain T2(0) =hy2/h. Then, (5.8) becomes

k2= 1 Kc2

hy2

hhy2

(5.9) It is evident from Fig. 5.3 that the time derivative of y2shows an abrupt change in slope at t=t1 (time is measured from the beginning of the positive half cycle output) due to non-monotonic characteristics of the limit cycle waveform [17]. But, the relay switches at time t0 due to the hysteresis and this fact is used to find the time delayθ2= (t1t0).

Next, substitution of t=t1andθ2= (t1t0)in (5.7) results in

˙

y2(t1) =λy2(t1) +k2Kc2hλ+ (k2Kc2)2hλ(1−eλθ2) (5.10) Using the Pade approximation of eλθ2 = (2+λθ2)/(2−λθ2), (5.10) can be written in a poly- nomial equation form as

aλ2+bλ+c=0 (5.11)

where,

a=y2(t12+k2Kc2hθ2+2(k2Kc2)2hθ2

b=−2y2(t1)−2k2Kc2hy˙2(t12

c=2 ˙y2(t1)

(5.12)

Because of a>0 and c<0 for the positive half period, there exists only one solution forτ2>0 and that is

τ2= 2a b+p

(b2−4ac) (5.13)

Thus, all the parameters of the inner process model Gp2(s)can be estimated using the explicit expressions (5.9) and (5.13) and the measurements of t0, t1, hy2, y2(t1)and ˙y2(t1).

5.2.2 Estimation of outer process model

If the peak amplitude of y1 occurs at time t =tp, the expression for the limit cycle output for Gp1(s)with a constant input of hy2can be written for ttpas

y1(t) =y1(tp)eλ1(ttp)k1hy2(1−eλ1(ttp)) (5.14) where,λ1=−1/τ1. First derivative of the above expression gives

˙

y1(t) =λ1y1(tp)eλ1(ttp)1k1hy2eλ1(ttp) (5.15) Since y1(t2) =0, (5.14) becomes

k1hy2

y1(tp) +k1hy2 =eλ1(t2tp) (5.16) which upon simplification yields

τ1=− t2tp

ln k

1hy2

y1(tp)+k1hy2

(5.17)

Next, substitution of t=t2in (5.15) and the use of (5.16) gives k1=−τ1y˙1(t2)

hy2 (5.18)

In principle, (5.17) and (5.18) explicit expressions can be used for estimation of the unknowns τ1and k1from the measurements of tp, t2, y1(tp)and ˙y1(t2).

The time delayθ1is estimated using the half cycle output for y1 and its first derivative data as was done for the inner process model. It should be noted that the measurement of peak time tp

for y1gives an effective total delay with respect to the time t0as shown in Fig. 5.3. Thus,θ1is calculated asθ1=tpt1=tpt0−θ2.

In practice, the estimation of ˙y2(t1)and ˙y1(t2)by taking numerical derivatives will be sensitive to measuring noise. Therefore, the data to compute ˙y2(t1) and ˙y1(t2), are denoised first by using the Savitzky-Golay smoothing filter discussed in subsection 2.4.2. Then ˙y2 at t =t1 is estimated by taking three or more values of y2 starting from the time instant t1, separated by a small sampling interval, from the half limit cycle database during a relay test. These data are then fitted to a straight line. The slope of this line is then taken as the estimate of ˙y2at t=t1. Similarly, ˙y1(t2)is estimated using the database of y1.

Dalam dokumen RELAY FEEDBACK METHOD FOR PROCESS MODELLING (Halaman 102-107)

Dokumen terkait