Академический Документы
Профессиональный Документы
Культура Документы
1. INTRODUCTION
Please note that the PID regulator was first introduced for
Discrete PID regulators can be implemented in many this class of processes historically. There are several ways
different ways. Different structures correspond to different to obtain the discrete time equivalent transformation of
continuous PID regulators. The most common sampled data G,, . The step response equivalent (SRE) transformation of
PID regulator is given by the discrete transfer function Gpc is (see, e.g., in Keviczky (1979)):
GR(z-l) = Po + PlZ -1 + P X 2 = -
p(2-l)
(3)
1- z-I 1- z-1
where z-' is the backward shift operator. The gain, the and using Gpc(s) given by (2),
integral and derivative time constants of the corresponding
continuous regulator can easily be obtained by applying
different approximations for the integral and derivative
bi (' Y z-')
+
( ) = 1+ a; z-I + a; z-2
C i D Z-' Z-d'
(4)
actions. This form includes a PI regulator, too using
p 2 = 0. (In case of an integrating plant GR = P should be where the discrete time delay of the process is
applied.)
d' = d + 1 = entier($) +1 (5)
DISCRETE PID REGULATOR CONTINUOUS PROCESS
with the applied sampling time h . The argument of GiD
corresponds to the ordinary z-transform and
z-'x(t) = x(t - 1) (the meaning of the backward shift
operator, where the integer argument t is discrete time of
the sampled system).
Fig. 1 The block scheme of the closed-loop system SFlE
PID REGULATOR SECOND ORDER PROCESS MODEL
Many rules exist for tuning continuous and discrete time
PID regulators, which procedures are, however, in many
cases non-trivial. Therefore, the automatic tuning of PID I-z-'
regulators has a great practical importance.
In our investigation the PID regulator is applied in a closed- Fig. 2 Second order plant by SRE transformation
loop system given in Fig. 1. This figure shows the
is obtained. Because the different notation by q has Most of the optimal regulator design algorithms are based
on the inverse of the process model. This is valid for
importance only in the theoretical analysis and q-' has the advanced and classical tuning procedures, too. In case of
same sense as z-' ,therefore noninvertable models, a good approximation is preferred
ensuring acceptable robustness for plant parameters and
regulator realization sensitivities.
i.e., to use
PI =Peal ; P2 = P o Q 2 (12)
which means all poles cancellation and is applicable for
Fig. 3 Second order plant by 6 transformation stable processes only. One should note that this was the
original design idea connected to the invention of the PID
While GbD gives an exact matching in all sampling regulators. In the tuning practice it meant that the regulator
cancels the two largest time constants in the process
instants, G;D ensures an exact approximation only at dynamics. Following this idea, the resulting simple closed-
h + O , which is the continuous case itself. (See the loop is easy to be handled from the designer's point of view.
corresponding closed-loop system in Fig. 3.) The reduced closed-loop consists of a serially-connected
integrator and a pure delay z - ~and sometimes a serial
4359
compensator GF, which is easy to realize in digital control
systems, see Fig. 4. 1.4
1.2
0.8
0.6
Fig. 4 The reduced closed-loop system for optimal design 0.4
investigations showed (see Bfinyfisz and coworkers Fig. 5 The optimal KI in the function of d and y
(1982,1985)).
Formerly the case y = 0 was investigated by BBnyBsz and
Introducing the integral gain
Keviczky (1982), when the nonlinear equation has an
Kl =Po& (13) explicit solution
the solution of the absolute value
(14) and it was shown that the optimal gain gives nice step
responses with overshoot values between 1% and 5%.
and phase It should be noted that for y < 0 a serial filter
R oh ysinoh
-- + -- arctg - odh = -IC + $o (15)
2 2 1+ ycosoh
equations for GF 1, ensuring the prescribed can also be applied together with Eq. (20). In this case the
step response will have the same shape as for KI = KI0,
Qa = 1.07 = 60' results in an implicit nonlinear however, the transient will be slower, depending on the
relationship time constant represented by GF via y. (These
modifications are suggested only for inverse stable discrete
1-2arctg- 1+pinr
x=
( ycosx )l(ld-l)=&) (16) models: IyI < 1)
4360
which results in the optimal gain not treated here. (In our practice the recursive IV method
proved to be most powerful and less sensitive to the
KI = 1/(2k - ')Ik=d** = 1/[2(d + 2) - = 1/(2d + 3) (23)3' different problems concerning closed-loop identification.)
Having obtained the estimated process parameters, the PID
using (9) and bo = b:. regulator parameters can finally be computed by the
It is interesting to see that in case of application of the following formulae
we obtain the well known classical design rule of thumb jl,= j o f c;; -
back, available for integrators, compensating dead-time
KI ; j 2 ,= io,q,= I,,KI~,,
(30)
b: 6: bo %r
processes. It is important to note that the most important
advantage of using GFD is that decreasing the sampling The above regulator parameters correspond to the following
interval the overall design goal can always be obtained by integral and derivative time constants:
the application of (23). (The other advantage will be seen at
the adaptive delay estimation.)
4361
second estimation phase. This phase can be based upon the
best approximating impulse responses (see Kurz (1979)) or (41)
on the best statistical significance of the estimated
parameters in a window determined by k^ and the order of B In the following design steps the formulae (29)-(30) can be
(see Habermayer and Keviczky (1985)). In these methods the used with 6: and k^ for the determination of the optimal
order of h is n , i.e., equals to the order of A.
(Assuming a regulator parameters.
second order process this means two 6; parameters are to be
estimated for SRE models.) 6. ITERATIVE SCHEME FOR AUTOTUNING
The special structure of G& in (8) allows to introduce a It is very simple to modify the adaptive versions of sections
very simple new method to estimate b: and d ” . This 3 and 4 to form an iterative regulator refinement scheme,
similarly to the combined method suggested by Keviczky
method also estimates the parameters of Bu. For this (1995) for general controller design. Such scheme needs the
reason the RLS equations (25)-(28) can be used with the off-line process of N samples, i.e. the so-called batch
modified identification of the process parameters. The iterative
procedure means the sequential application of the closed-
(34) loop identification and the above regulator design method
repeating while a proper stop condition is fulfilled.
and
REFERENCES
T
f ( t - 1) = [u(t),U(t - 1))...,u(t - M),-y(t - l), -y(t - 2)]
Agarwal, M. and C. Camidas (1986). On-line estimation of
(35)
time delay and continuous-time process parameters.
parameter and observation vectors. Having obtained American Control Conference, Seattle, 728-733.
i M ( z - ’ ) , the equivalent BBnyhz, Cs. and L. Keviczky (1982). Direct methods for
self-tuning PID regulators. 6th IFAC Symp. on Ident.
and Syst. Par. Est., Washington D.C. (USA),1249-
1254.
BBnyBsz, Cs., J. Hetthessy and L. Keviczky (1985). An
numerator (parameter and delay) will be determined by a adaptive PID regulator dedicated for microprocessor
model matching at zero frequency. For the determination of based compact controllers. 7th IFAC Symp. on Ident.
and Syst. Par. Est., York (UK),1299-1304.
the two unknown parameters: b: and k , the zero and first Goodwin, G.C., R. Lozano Leal, D.Q. Mayne and R.H.
order derivativesof i M ( j o )and h”(jo) will be required to Middleton (1986). Reapproachment between continuous
and discrete model reference adaptive control.
be equal at w = 0. First the equation
Automatica, 22,199-207.
Habermayer, M. and L. Keviczky (1985). Investigation of
an adaptive Smith controller by simulation. 7 t h
Conference on Digital Computer Applications to
gives Process Control, Vienna.
Keviczky, L. (1979). On the transfer functions of sampled
continuous systems. Technical Report, University of
Minnesota, Department of Electrical Engineering,
i=l
Minneapolis (USA).
Then Keviczky, L. (1995). Combined identification and control:
Another way, (Invited plenary paper.) 5th IFAC
(39) Symp. on Adaptive Systems in Control and Signal
Processing ACASPPS, Budapest, Hungary, 13-30.
results in Kurz, H. (1979). Digital parameter-adaptive control of
processes with unknown or time-varying dead-time. 5th
IFAC Symp. on Ident. and Syst. Par. Est., Darmstadt,
1187-1194.
Kurz, H. and W. Goedecke (1981). Digital parameter
adaptive control of processes with unknown dead-time.
where (38) was also used. Note that i is not an integer Automatica, 17, 245-252.
number yet here. In a practical application the best integer
approximation of (40) should be used, i.e.
4362