A Simple Method For On-Line Identification and Controller Tuning
A Simple Method For On-Line Identification and Controller Tuning
A Simple Method For On-Line Identification and Controller Tuning
The three-mode (PID) controller is still widely used in chemi- Simulation examples are supplied to demonstrate the robustness
cal industries because it is robust and is easy to operate. Many and applicability of this identification method.
tuning guidelines have been recommended for the PID control-
lers. These include the Ziegler-Nichols closed-loop cycling The Method
method (Zeigler and Nichols, 1942), the Cohen-Coon open-loop Consider a single-input/single-output(SISO) feedback con-
reaction curve method (Cohen and Coon, 1952), and many trol system as shown in Figure 1. With P mode controller, it is
other model-based minimum error integral methods (Lopez et assumed that the closed-loop system is underdamped if a feed-
al., 1967). The Ziegler-Nichols continuous cycling procedure is back gain large enough is chosen. The typical response to step
usually criticized for requiring the controlled process to be set-point change is shown in Figure 2. The response approxi-
forced to the level of marginal stability. On the other hand, the mates that of an underdamped second-order system with some
advantage of the Ziegler-Nichols tuning formulae is that it need element of dead time, as in Eq. 1,
not characterize the process by parametric models, the results of
which are known to depend on testing conditions. Many algo- C(s ) K e-dr
rithms have been presented to obtain the critical data (ultimate G,(s) = -=
gain and period) under acceptable conditions (e.g., Krishna-
R(s) 72s2 + 2<7s + 1
swamy et al., 1987). Here,
Recently, Yuwana and Seborg (1982) proposed a simple on-
line algorithm which used the closed-loop response and the Pade
approximation of the dead-time element to evaluate the parame-
ters of a first-order process model, then the critical data of the
model are used for subsequent controller tuning by Ziegler-
-In (H)
Nichols rules. Lee (1989) modified the identification algorithms
by matching the dominate poles of the closed-loop model to the
<= ./r2+ In2 (H)
(3)
poles of observed process transfer function. This modification
enables the method to be used for processes with large dead
times such as were not comprehended in the original paper.
However, the applicability of Lee’s modification to under-
damped processes has not been demonstrated.
Instead of using a low-order parametric model in process d = 2 f p , - t,,
characterization, this article proposes determining the process
critical data directly from the closed-loop response during step
set-point change under P control mode. The modified method is
expected to have two advantages over the algorithms of Yuwa-
na-Seborg and Lee:
1) It can provide more robust process critical data under
many different testing conditions.
2) It is applicable to underdamped processes and processes In these equations, A is the magnitude of input disturbance in
with dominant dead times. set point, and H i s the overshoot. Note that the new steady state
(c,) after step change in set point can be inferred from the tran- Q)
u)
sient response data (Yuwana and Seborg, 1982). The testing c
0
period can thus be reduced dramatically. c1
u)
Instead of estimating an open-loop parametric model from Q)
L
the closed-loop transfer function, the ultimate gain and fre-
quency of the open-loop system, which are critical for subse-
quent controller settings, are determined directly. The phase
cross-over frequency (w,) of the closed-loop transfer function
can be easily obtained by solving the following nonlinear equa-
tion,
O tq tml Time
- do, - tan-' (;-)=-r (8) Figure 2. Typical underdamped closed-loop response to
a step-setpoint change.
The corresponding magnitude at this frequency is,
Here, the process gain, K,,,, can be determined from the above-
mentioned simple closed-loop test (Yuwana and Seborg, 1982),
Table 1 gives estimates for tests of two feedback gains and Notation .
three different dead times. The results show that the proposed A = magnitude of set-point change
method can provide consistent estimates subject even to various c, C(s) = controlled variable and its Laplace transform
degrees of process lag and testing condition. rm,.cpl. cp2 = first minimum, first and second peaks of c
c, = steady state of c
d , d,, d, = dead times of closed-loop response, model and process
G,(s), Gd(s) = controller and closed-loop transfer functions
Example 2 C,(s), GJs) = model and process transfer functions
The considered process dynamics is (Yuwana and Seborg, GM = gain margin
1982; Lee, 1989), H = overshoot
K , Kc, K,,, K, = closed-loop gain, controller gain, ultimate controller
gain and model gain
&s
P. = ultimate period
Gp(s) = (s + 1)2(2s+ 1) R (s ) = Laplace transform of set point
t,,, rp, = time of first minimum and first peak of closed-loop
response
Table 2 reveals testing conditions and the estimates obtained, { = damping factor
T , T,,,= process and model time constants
including results based on methods of YS and Lee. These results w, = ultimate frequency
also show that the present method can provide critical data and
PID settings which are more consistent with the Ziegler-Nichols Literature Cited
closed-loop cycling method.
Cohen, G. H., and G. A. Coon, “Theoretical Investigation of Retarded
Control,” Trans. ASME. 75,827 (1953).
Krishnaswamy, P. R., B. E. Mary Chan, and G. P. Rangaiah, “Closed-
Example 3 Loop Tuning of Process Control Systems,” Chem. Eng. Sci., 42,2173
The underdamped process of Yuwana and Seborg (1 982) is (1987).
Lopez, A. M. P., P. W. Murrill, and C. L. Smith, “Controller Tuning
considered, Relationships Based on Integral Performance Criteria,” inst. Tech.,
14,57 (1 967).
e-’ Lee, J., “On-Line PID Controller Tuning from a Single, Closed-Loop
Test,” AIChE J., 35,329 (1989).
Gp(s) = 9 s2 + 2.4 s +1 Yuwana, M., and D. E. Seborg, “A New Method for On-Line Con-
troller Tuning,” AIChE J., 28,434 (1982).
The comparison of results of YS, Lee and present methods, Ziegler, J. G., and N. B. Nichols, “Optimum Settings for Automatic
Controllers,” Trans. ASME, 64,759 (1942).
Table 3, demonstrates the robustness of proposed process char-
acterization method. Manuscript received May 23, 1989.