Optimal Tuning of PID Controllers for FOPTD SOPTD
Optimal Tuning of PID Controllers for FOPTD SOPTD
net/publication/222402204
Optimal tuning of PID controllers for FOPTD, SOPTD and SOPTD with lead
processes
CITATIONS READS
92 5,257
3 authors, including:
A. Elkamel
University of Waterloo
654 PUBLICATIONS 13,489 CITATIONS
SEE PROFILE
All content following this page was uploaded by A. Elkamel on 05 October 2018.
Abstract
This paper presents the synthesis and analysis of optimal tuning of proportional integral derivative (PID) parameters for different process systems:
first order plus time delay (FOPTD), second order plus time delay (SOPTD) and second order plus time delay with lead (SOPTDLD). This work
involved optimization of the PID control parameters to achieve the minimization of the integral absolute error (IAE). A set of new and generalized
tuning correlations relating the controller parameters to the process parameters was obtained for step changes in set point and load separately.
Simulation results showed that the use of the proposed tuning correlations results in superior closed loop performance compared to other tuning
techniques previously proposed in the literature.
© 2007 Elsevier B.V. All rights reserved.
Keywords: PID control; FOPTD; SOPTD; SOPTD with lead; Multi-objective optimization; IAE; Ziegler–Nichols method; Cohen–Coon method
1. Introduction were proposed for first order plus time delay (FOPTD) system,
as they can explain the behavior of a wide range of processes.
Proportional integral derivative (PID) controllers are still Thus, suitable tuning rules for PID controllers are needed for
widely used today to control many processes because of their processes represented by transfer functions other than FOPDT.
long history of proven operation in addition to the fact that they Also, model based tuning methods were found attractive for
are well understood by many operational, technical and mainte- practitioners because they have only one tuning parameter. How-
nance personnel. Furthermore, an industrial PID controller has ever, many control systems do not provide Smith Predictor or
many extensions that make it a practical tool for operating a Internal Model Control functionality [8]. At the same time, many
chemical process. Many PID controller tuning methods have distributed parameter systems where a state variable is a func-
been proposed in the literature. For example, Ziegler–Nichols tion of more than one independent variable encountered in the
tuning [1], Cohen–Coon tuning [2], Direct Synthesis Method process plants such as packed beds, trickle beds with recycle,
[3], Internal Model Control [4], tuning rules based on the mini- continuously stirred tank reactors (CSTRs) in series, etc., cannot
mization of different error criteria [5], and neural networks based be modeled as FOPTD and instead, are often empirically mod-
methodologies [6,7]. All these methods have their own advan- eled using second order plus time delay (SOPTD) and SOPTD
tages, disadvantages and limitations. Most of the tuning methods with lead (SOPTDLD). Many industrially proven techniques are
now available for fitting these models to plant data [9].
In this paper, a set of tuning correlations is obtained for three
Abbreviations: C–C, Cohen and Coon; CSTR, continuously stirred tank
different processes whose dynamics are modeled with FOPTD,
reactor; FOPTD, first order plus time delay; IAE, integral of absolute error; ISE, SOPTD and SOPTDLD. Most of the chemical processes can
integral of square error; ITAE, integral of time weighted absolute error; ITSE, be effectively modeled by one of these types of models. In this
integral of time weighted square error; PID, proportional integral derivative; work, controller tuning parameters that minimize integral abso-
P–M, proposed method; R/L, Rovira (1981)/Lopez et al. (1967); SOPTD, second lute error (IAE) are investigated. The resulting solutions are then
order plus time delay; SOPTDLD, second order plus time delay with lead; Z–N,
Ziegler–Nichols
summarized in the form of algebraic correlations that can be con-
∗ Corresponding author. Tel.: +1 519 888 4567; fax: +1 519 746 4979. veniently used by practitioners when applying PID control. In
E-mail address: [email protected] (A. Elkamel). the proposed method, the controller parameters obtained from
0255-2701/$ – see front matter © 2007 Elsevier B.V. All rights reserved.
doi:10.1016/j.cep.2006.11.013
252 C.R. Madhuranthakam et al. / Chemical Engineering and Processing 47 (2008) 251–264
FOPTD:
KP exp(−θs)
KP GP = (3)
τ1 s + 1
SOPTD:
Fig. 1. Schematic of the feedback control loop. KP exp(−θs)
KP G P = (4)
(τ1 s + 1)(τ2 s + 1)
Ziegler–Nichols’ method are used as the initial guess for the SOPTDLD:
optimization problem that deals with the minimization of the KP (τ3 s + 1) exp(−θs)
IAE in the output variable. K P GP = (5)
(τ1 s + 1)(τ2 s + 1)
2. Proposed tuning correlations The error e(t) is defined by Eq. (6) given below:
The ideal PID controller transfer function is defined by Eq. e(t) = R(t) − Y (t) (6)
(1):
Ciancone and Marlin [13] have recently made an attempt at
1 developing simple tuning rules for FOPTD processes with the
KC GC = KC 1 + + τD s (1)
τI s following goals in mind: (1) minimization of the IAE, (2)
The above transfer function is not physically realizable since assumption of a +25% (correlated) change in the process model
no device can be constructed which truly differentiates an input parameters and (3) compliance with pre-specified limits on the
signal (Luyben and Luyben [10]). Also, an ideal PID controller variation of the manipulated variable. They proposed differ-
causes a derivative kick when used in the feedback control ent charts for dimensionless tuning constants in terms of the
system especially for a step change in the set point. Thus, an fraction dead time defined as θ/(θ + τ 1 ), with the above con-
implemental form of the PID controller that is based on aug- straints. Separate charts were obtained by these authors for both
menting Eq. (1) with a first order filter of the derivative term is set point and load changes. In their method, optimization was
used instead. This can be achieved either by a series or parallel done by continuously varying the controller parameters until the
configuration. Most often, the derivative term multiplied by the objective function was satisfied by the above constraints. Since
filter transfer function is used on the measured variable rather the objective function for minimizing all the constraints was
than on the controller error. This is done to avoid a derivative non-linear, they proposed to optimize each controller parameter
kick occurring following step changes in the set point. For the independently as per the following procedure:
simulations conducted in the present manuscript, a parallel form
of PID controller configuration as shown in Fig. 1 was used. The 1. With the integral time set to infinity and derivative time set
transfer function for the parallel form PID controller is given by to zero, they obtained an optimal proportional gain.
Eq. (2). 2. Using the optimal proportional gain obtained in step 1, they
optimized the integral time followed by the optimum deriva-
τI s + 1 τD s tive time.
U(s) = KC e(s) − KC Y (s) (2)
τI s ατD s + 1
where U is the controller output, e the error and Y is the controlled In the present work, we attempt to develop simple and useful
variable as shown in Fig. 1. The “derivative filter factor” α value mathematical expressions that can be readily used for tuning
is generally selected in the interval [0.05, 0.2] (Shinskey [11] and an extensive set of processes and as described by the transfer
Luyben [12]) and most often it is preset to 0.1. In the current functions (3)–(5). In order to improve the convergence properties
work, a value of α = 0.1 is used for conducting the comparison of the involved optimization problems in search of the tuning
of the performance of the proposed tuning method for different parameters, the following steps are employed:
process transfer functions. Fig. 1 shows the conventional feed-
back control system used in the present study. In Fig. 1, KC GC,Ser 1. For a unit step change in set point or load, with propor-
is the servo compensator (=KC (1 + (1/τ I s))), KP GP the process, tional control alone, the ultimate gain and ultimate period
KC GC the controller (=KC (1 + (1/τ I s) + (τ D s/(ατ D s + 1)))), R the (the gain for which the system is at the limit of stability and
set point, U the controller output, D the disturbance variable and the corresponding period of oscillation) for a particular pro-
Y is the controlled variable. cess transfer function (FOPTD, SOPTD and SOPTDLD) is
The combined dynamics of the process, final control ele- determined.
ment and the sensor is assumed to be conveniently represented 2. Ziegler–Nichols tuning rules are used to provide an initial
by FOPTD, SOPTD and SOPTDLD. The corresponding trans- guess for the non-linear optimization. The best controller
C.R. Madhuranthakam et al. / Chemical Engineering and Processing 47 (2008) 251–264 253
Fig. 2. Dimensionless control parameters obtained from model vs. simulation results for first order plus time delay process (described by Eq. (3)): (a, c and e) for
set point change and (b, d and f) for load change.
the tuning model. Fig. 2(a, c and e) correspond, respectively, objective function, i.e. minimization of IAE. His tuning rules
to the proportional gain, integral time and derivative time rela- can be used with θ/τ 1 varying from 0.1 to 1. For processes with
tionship for a unit step change in the set point. Fig. 2(b, d and a ratio θ/τ 1 greater than one, the performance was not robust
f) are the correlations of the tuning parameters corresponding and gives an over stable performance. This is further discussed
to a unit step change in the load. The tuning models are shown in the following case studies section. Also, Lopez et al. [18]
in Table 2. Rovira [17] developed tuning rules with the same developed separate tuning rules for FOPTD processes for unit
Table 2
Proposed tuning relations for FOPTD process
Tuning parameter Set point change Load change
0.4967
θ −1.2299 0.5249
θ −1.2787
KC
KP θ+τ KP θ + τ1
θ 1 −1.317 θ
τI 0.6739θ θ −1.9167 + 2.1356
θ + τ1 θ + τ1
θ 2 θ θ 2 θ
τD τ1 1.138 + 0.1992 τ1 1.1321 + 0.1788
θ + τ1 θ + τ1 θ + τ1 θ + τ1
C.R. Madhuranthakam et al. / Chemical Engineering and Processing 47 (2008) 251–264 255
Fig. 4. Closed loop response for first order plus time delay process: (a, c and e) set point change and (b, d and f) load change for processes GP1 (s), GP2 (s) and GP3 (s),
respectively.
tuning methods based on full SOPTD models lead to superior results cannot be compared with the proposed method because
results. Archibald and Tae-Won [16] performed simulations for the controller in our study has parallel configuration and also the
finding the optimum tuning parameters for SOPTD processes dynamics of the disturbance variable D(t), is unit step change
with first order disturbance dynamics. The controller defined by rather than a first order exponential disturbance. Since, the opti-
Eq. (1) was used in their study. As discussed in Section 1, they mization was performed with the initial settings obtained from
have produced many charts based on different normalized pro- Z–N method, the results obtained from the proposed method
cess and control parameters with first order disturbance. Their were initially compared with Z–N method only. Also, there is
C.R. Madhuranthakam et al. / Chemical Engineering and Processing 47 (2008) 251–264 257
Table 3
Tuning parameters and performance characteristics for FOPTD
Process Method Set point change Load change
KC τI τD Tr Ts Os IAE KC τI τD IAE
KP1 GP1 (s) Z–N 6.39 2.31 0.37 1.7 17.6 1.83 4.4 6.39 2.31 0.37 0.61
C–C 6.92 2.27 0.35 1.7 35.7 1.97 7.7 6.92 2.27 0.35 0.88
R/L 4.4 7.0 0.4 2.2 4.7 1.1 1.8 6.32 1.71 0.39 0.66
P–M 4.5 7.0 0.37 2.1 4.7 1.12 1.8 5.26 1.93 0.7 0.42
KP2 GP2 (s) Z–N 0.43 19.37 3.1 16.4 78.4 1.43 23.49 0.43 19.37 3.1 49.83
C–C 0.4 18.09 3.08 16.8 66.3 1.38 21.02 0.4 18.09 3.08 46.16
R/L 0.27 16.39 3.48 20.6 20.6 1.05 15.96 0.36 11.39 4.82 39.73
P–M 0.28 16.7 4.33 20.0 36.8 1.04 16.28 0.34 11.4 3.56 37.59
KP3 GP3 (s) Z–N 1.15 24.0 3.84 22.2 163.4 1.38 37.7 1.15 24.0 3.84 27.3
C–C 0.88 16.78 3.88 24.5 66.8 1.19 23.7 0.88 16.78 3.88 19.3
R/L 0.59 14.58 4.59 54.2 54.2 – 24.7 0.76 13.40 7.42 20.87
P–M 0.8 15.6 4.28 25.6 53.7 1.11 22.3 0.82 11.91 4.19 16.05
Table 4
Proposed tuning relations for SOPTD process
Tuning parameter Set point change Load change
0.5723
θ
−1.0409 0.6202
θ
−0.9931
KC
KP θ + τ1 + τ2 KP θ + τ1 + τ2
−1.6501 2
τI τ1 θ θ θ
0.2476(θ + τ1 + τ2 ) (θ + τ1 ) 13.81 − 14.906 + 4.566
θ θ + τ1 + τ2 θ + τ1 + τ2 θ + τ1 + τ2
τD τ1
θ
−1.4636 θ
−1.4849
0.0943 0.0921
(τ2 + θ)θ θ + τ1 + τ2 θ + τ1 + τ2
very scarce literature on optimization of controller tuning param- result is similar to the result obtained for FOPTD process. A
eters obtained for SOPTD and SOPTD with lead processes with ´
very similar trend was also observed by Åstrom and Hägguland
minimization of IAE as the objective function. Furthermore, [19] for lower fraction dead time.
the optimal controller tuning parameters vary with the objective
function used in optimization. Fig. 5 shows the validation of
the tuning models with the simulation data for set point and load 3.4. Case studies for SOPTD
changes. The corresponding tuning models are shown in Table 4.
The conclusions from these models were generally similar to The performance of three different processes with SOPTD
those obtained for FOPTD models except for the derivative time. dynamics were analyzed by using the controller parameters
Once again the controller gain is inversely proportional to the obtained from the proposed method and was compared with
process gain. With the increase in the dead time, the integral time parameters obtained from Z–N method. The process transfer
decreases. Contrary to the FOPTD process, with an increase in functions for the three processes (with small dead time, dead
the dead time the derivative time also increases. Fig. 6 shows the time equal to the dominant process time constant and dominant
integral time to derivative time ratio as a function of fraction dead dead time) are described by the following equations:
time for SOPTD processes. It clearly shows that a constant τ I /τ D
ratio was obtained for load change while for set point change 1
KP4 GP4 (s) = exp(−2s) (14)
at very small fraction dead time, the τ I /τ D ratio increases. This (15s + 1)(2s + 1)
Table 5
Tuning parameters and performance characteristics for SOPTD
Process Method Set point change Load change
KC τI τD Tr Ts Os IAE KC τI τD IAE
KP4 GP4 (s) Z–N 7.44 8.25 1.32 5.5 53.0 1.77 13.32 7.44 8.25 1.32 1.73
P–M 5.97 26.9 1.62 6.6 21.8 1.22 6.67 5.74 6.56 1.71 1.33
KP5 GP5 (s) Z–N 2.04 21 3.36 16.6 87.6 1.5 24.44 2.04 21 3.36 13.04
P–M 1.57 22.83 4.38 19.3 44.5 1.1 17.15 1.77 14.58 3.88 9.39
KP6 GP6 (s) Z–N 0.88 6.75 4.32 10.5 167.4 1.65 29.65 0.88 6.75 4.32 27.21
P–M 0.88 13.5 2.16 11.1 55.0 1.4 15.14 0.68 7.82 2.82 12.68
258 C.R. Madhuranthakam et al. / Chemical Engineering and Processing 47 (2008) 251–264
Fig. 5. Dimensionless control parameters obtained from model vs. simulation results for SOPTD (described by Eq. (4)): (a, c and e) for set point change and (b, d
and f) for load change.
1
KP5 GP5 (s) = exp(−7s) (15)
(7s + 1)2
2
KP6 GP6 (s) = exp(−5s) (16)
(5s + 1)(3s + 1)
The closed loop response due to a unit step change in set point
and load, respectively, are shown in Fig. 7. The controller param-
eters used and the corresponding performance IAE calculations
are shown in Table 5. Fig. 7(e and f) shows the relative advantage
of the proposed methodology over the Z–N method. The large
oscillations resulting with the Z–N tuning will not only result in
a high IAE but also in highly oscillatory control actions that will
lead to wear of the control element. On the other hand, using the
tuning parameters obtained from the proposed method would
give a better performance with reduced oscillations. Table 5
shows that lower IAE values were obtained by using the pro-
posed method of tuning. Also, the overshoot and the settling Fig. 6. The ratio between integral time and derivative time as a function of
fraction dead time for SOPTD process.
time were smaller as compared to the Z–N tuning method.
C.R. Madhuranthakam et al. / Chemical Engineering and Processing 47 (2008) 251–264 259
Fig. 7. Closed loop response for SOPTD: (a, c and e) set point change for processes 1, 2 and 3, respectively, and (b, d and f) load change for processes 1, 2 and 3,
respectively.
Fig. 8. Dimensionless control parameters obtained from model vs. simulation results for second order plus time delay with lead process (described by Eq. (5)): (a, c
and e) for set point change and (b, d and f) for load change.
different combinations of the process parameters are considered more than that of set point change. The integral time and deriva-
with the range being 1–20. Furthermore, the simulations were tive time are modeled in a similar fashion and were found to
performed such that τ 1 > τ 3 . Fig. 8 shows the validity of the increase with a decrease in the fraction dead time. The models
proposed tuning models with respect to simulation results. For obtained for SOPTDLD are shown in Table 6. The τ I /τ D ratio
SOPTDLD processes, the controller gain is inversely propor- as a function of fraction dead time is shown in Fig. 9. For a set
tional to the process gain. The controller gain for load change is point change and at very low values of fraction dead time, the
Table 6
Proposed tuning relations for SOPTDLD process
Tuning parameter Set point change Load change
0.5254
θ
−1.2206 0.4938
θ
−1.3594
KC
KP θ + τ1 + τ2 − τ3 KP θ + τ1 + τ2 − τ3
θ
−1.4569 τ2 (τ1 + τ2 − τ3 )
θ
−2.4858
τI 0.5657θ 12.585
θ + τ1 + τ2 − τ3 θ θ + τ1 + τ2 − τ3
τD θ
θ
−2.9057 θ
−2.9185
6.7572 6.465
τ2 (τ1 + τ2 − τ3 ) θ + τ1 + τ2 − τ3 θ + τ1 + τ2 − τ3
C.R. Madhuranthakam et al. / Chemical Engineering and Processing 47 (2008) 251–264 261
KP max − KP
To compare the performance of the processes with the Robustness = × 100% or
proposed model for control parameters, three processes with KP
different process parameter configurations are analyzed. The τ1 max − τ1
× × 100% or
transfer functions for the three processes GP7 (s), GP8 (s) and τ1
GP9 (s) are described by Eqs. (17)–(19), respectively. τ2 max − τ2
× × 100% or
6(s + 1) τ2
KP GP7 (s) = exp(−5s) (17)
(7s + 1)(3s + 1) τ3 max − τ3
× × 100% or
4(5s + 1) τ3
KP GP8 (s) = exp(−10s) (18) θmax − θ
(15s + 1)(7s + 1) × × 100% (20)
θ
15(7s + 1)
KP GP9 (s) = exp(−10s) (19)
(20s + 1)(5s + 1) The subscript ‘max’ refers to the value that corresponds to the
conditionally stable response.
The closed response due to step change in the set point and
The performance is defined as follows:
load are shown in Fig. 10 for the three processes, GP7 (s), GP8 (s)
and GP9 (s). Fig. 10 clearly shows that the response obtained
σe,M
2
by the proposed method is superior to the one obtained using Performance = × 100% (21)
Z–N settings. The controller parameters and the corresponding σe2
Table 7
Tuning parameters and performance characteristics for SOPTDLD
Process Method Set point change Load change
KC τI τD Tr Ts Os IAE KC τI τD IAE
KP7 GP7 (s) Z–N 0.39 12.6 2 9.8 42.5 1.5 13 0.39 12.6 2 32.5
P–M 0.27 14.31 2.93 12.5 12.5 1.04 9.4 0.32 8.32 2.5 28.1
KP8 GP8 (s) Z–N 0.63 22.25 3.56 17.4 73.1 1.52 23.8 0.63 22.25 3.56 35.7
P–M 0.47 27.5 4.78 20.2 40.1 1.1 17.1 0.5477 15.04 4.1 30.53
KP9 GP9 (s) Z–N 0.17 19.81 3.17 16.2 78.3 1.52 23.1 0.17 19.81 3.17 125.8
P–M 0.12 25.8 4.53 19.8 47.1 1.0 17.2 0.14 12.41 3.79 107.5
262 C.R. Madhuranthakam et al. / Chemical Engineering and Processing 47 (2008) 251–264
Fig. 10. Closed loop response for SOPTD with lead process: (a, c and e) set point change for processes 1, 2 and 3, respectively, and (b, d and f) load change for
processes 1, 2 and 3, respectively.
where σe2 is the variance of the error and σe,M2 is the minimum σU
2 (which also represents the valve adjustments) to the mini-
control error variance achieved by using parallel PID structure mum variance PID controller, σU,M
2 . The definition for control
with α = 0.05. The performance of PID controller, either series or effort is then given by the following equation:
parallel configuration will be bounded by 0% (unstable control
σU
2
system) and 100% (best control system). Similarly, the control Control effort = × 100% (22)
effort is defined as the ratio of the variance of the control error, σU,M
2
C.R. Madhuranthakam et al. / Chemical Engineering and Processing 47 (2008) 251–264 263
Subscripts [11] F.G. Shinskey, Process Control Systems, third ed., McGraw-Hill, New
max max value for which the response becomes condition- York, 1988.
ally stable [12] W.L. Luyben, Process Modeling, Simulation and Control for Chemical
Engineers, McGraw-Hill, New York, 1973.
1–9 indices to represent different processes [13] R. Ciancone, T. Marlin, Tune controllers to meet plant objectives, Control
5 (1992) 50–57.
References [14] A.B. Corripio, Tuning of Industrial Control Systems, Instrument Society
of America, 1990.
[1] J.G. Ziegler, N.B. Nichols, Optimum settings for automatic controllers, [15] T. Sayeed, T. Mahdi, Optimal tuning of PID controllers for first order plus
Trans. ASME 64 (1942) 759–768. time delay models using dimensional analysis, in: The Fourth Interna-
[2] G.H. Cohen, G.A. Coon, Theoretical consideration of related control, tional Conference on Control and Automation (ICCA’03), June 2003, pp.
Trans. ASME 75 (1953) 827–834. 942–946.
[3] D. Chen, D.E. Seborg, PI/PID controller design based on direct synthesis [16] G.H. Archibald, K. Tae-Won, Effect of disturbance dynamics on optimum
and disturbance rejection, Ind. Eng. Chem. Res. 41 (19) (2002) 4807–4822. control of second order plus dead time processes, Instrum. Chem. Petrol.
[4] D.E. Rivera, M. Morari, S. Skogestad, Internal model control. 4. PID Ind. 20 (April) (1988) 69–79.
controller design, Ind. Eng. Chem. Process Des. Dev. 25 (1986) 252–265. [17] A.A. Rovira, Ph.D. Dissertation, Louisiana State University, Baton Rouge,
[5] A. Andrášik, A. Mészáros, S.F. de Azevedo, On-line tuning of a neural 1981.
PID controller based on plant hybrid modelling, Comput. Chem. Eng. 28 [18] A.M. Lopez, P.W. Murrill, C.L. Smith, Controller tuning relationships
(2004) 1499–1509. based on integral performance criteria, Instrum. Technol. 14 (November)
[6] C.H. Lee, C.C. Teng, Calculation of PID controller parameters by using a (1967) 57.
´
[19] K.J. Åstrom, T. Hägglund, Revisiting the Ziegler–Nichols step response
fuzzy neural network, ISA Trans. 42 (3) (2003) 391–400.
[7] Y. Yeong-Koo, T.I. Kwon, A neural PID controller for the pH neutralization method for PID control, J. Process Control 14 (2004) 635–650.
process, Ind. Eng. Chem. Res. 38 (3) (1999) 978–987. [20] W.A. Weigand, J.E. Kegerreis, Comparison of controller-setting techniques
[8] W. Micheal, M.W. Foley, R.H. Julien, B.R. Copeland, A comparison of as applied to second-order dead time processes, Ind. Eng. Chem. Process
PID controller tuning methods, Can. J. Chem. Eng. 83 (August) (2005) Des. Dev. 11 (1) (1972) 86–90.
712–722. [21] B.W. Bequette, Process Control—Modeling, Design and Simulation, Pren-
[9] D.E. Seborg, T.F. Edgar, D.A. Mellichamp, Process Dynamics and Control, tice Hall, 2003.
second ed., Wiley, New York, 2004. [22] T. Marlin, Process Control, Mc Graw-Hill, NY, 1995.
[10] M.L. Luyben, W.L. Luyben, Essentials of Process Control, McGraw-Hill,
New York, 1997.