Professional Documents
Culture Documents
Article
An Integrated Modified Smith Predictor with PID
Controller for Integrator Plus Deadtime Processes
Rames C. Panda, Shih-Bo Hung, and Cheng-Ching Yu
Ind. Eng. Chem. Res., 2006, 45 (4), 1397-1407 • DOI: 10.1021/ie0580194
Downloaded from http://pubs.acs.org on February 1, 2009
Additional resources and features associated with this article are available within the HTML version:
• Supporting Information
• Access to high resolution figures
• Links to articles and content related to this article
• Copyright permission to reproduce figures and/or text from this article
An Integrated Modified Smith Predictor with PID Controller for Integrator Plus
Deadtime Processes
Rames C. Panda,* Shih-Bo Hung,† and Cheng-Ching Yu‡
Department of Chemical Engineering, CLRI, Adyar, Chennai 600 020, India,
Department of Chemical Engineering, National Taiwan UniVersity of Science & Technology, Taipei 106-17,
Taiwan, and Department of Chemical Engineering, National Taiwan UniVersity, Taipei 106-17, Taiwan
“Smith predictor”, as proposed by Smith in the 1950s, is used as a dead-time compensating tool in chemical
process industries. But its applicability was limited because of its poor performance in load-change cases. In
the present work, a novel control scheme is proposed by integrating Smith predictor (SP) and a proportional-
integral-derivative (PID) controller and is named as SPPID. By introducing a tuning parameter (Ksp) in the
control law, to switch between SP and PID mode, a modified SPPID is synthesized (namely MSP-PID) to
counteract the offset. Set-point changes and load disturbances are studied for integrator and dead-time processes
under this control strategy. The validity of the control scheme in the presence of model mismatch is also
studied.
where G̃P* is the delay-free part of the model and D̃ is the dead-
time part of the model. The closed-loop transfer function of SP
becomes
GcGP
y) yset +
1 + Gc[GP* + (GP - G̃P)]
GP[1 + Gc(GP* - G̃P)]GP
L (4)
1 + Gc[GP* + (GP - G̃P)]
KP e-Ds where GPSP is the partial Smith predictor model of the plant
GP ) having transfer function
s
Hence, in the case of PID, there will be no offset (steady-state If GFF ) 0, then eq 10 reduces to
error becomes zero) either for set-point change or load
disturbance. GcGP
Case SP. In the SP side, Ksp ) 1. Then, the PSP model can y) yset +
1 + Gc[GP* + (GP - G̃P)]
be rewritten as GPSP ) GP*, which gives
GP[1 + Gc(GP* - G̃P)]
GcGP L (15)
1 + Gc[GP* + (GP - G̃P)]
y) yset +
1 + Gc[GP* + (GP - G̃P)]
GP[1 + Gc(GP* - G̃P)] Equations 14 and 15 represent original SP transfer functions.
L (9) 2.2.2. Steady-State Offset. Case SP. If GFF ) 0, by applying
1 + Gc[GP* + (GP - G̃P)] the final value theorem, the second part of eq 15 can be
simplified to
Equation 9 represents the original SP transfer function, as given
in eq 4. 1 + KPGcD
Formulation of MSP-PID Structure. The MSP-PID
scheme is shown in Figure 1D, where a feedback path containing
lim
sf0 (Ly) ) Gc
(16)
a controller GFF has been included to counterbalance the load Equation 16 is in similar to the results of Watanabe et al.,7 and
effect. The closed-loop relationship (detailed derivation is given it signifies that there exists a constant offset under load
in the Appendix) of the strategy is given by disturbance. Now for the present process model as described
by eq 1, eq 16 gives
GPGc(1 + GFFG̃P)
y) yset +
1 + GcGPSP - GcG̃P + GcGP + lim ) DKP
sf0
GFFGP + GcGPSPGFFGP
If GFF * 0, then one can obtain the following from the second
GP(1 + GcGPSP - GcG̃P) part of eq 15:
L
1 + GcGPSP - GcG̃P + GcGP + GFFGP + GcGPSPGFFGP
(10) lim
sf0 (Ly) ) 0 (17)
In the GPSP model, the delay-free part is KP/s and the dead- Equation 17 gives zero offset.
time part is e-(1-Ksp)DS, with the value of Ksp, the tuning Case SP-PID. Let us assume that Gc is of PI type. The
parameter, ranging from 0 to 1. steady-state offset of the SP-PID scheme under load disturbance
Under the perfect-model assumption, GP ) G̃P, eq 10 reduces can be given as, for GFF ) 0,
to
y)
GPGc(1 + GFFGP)
y +
set
lim
sf0 (Ly) ) DK K P sp (18)
(1 + GcGPSP)(1 + GFFGP)
for GFF * 0,
GP(1 + GcGPSP - GcGP)
L (11)
(1 + GcGPSP)(1 + GFFGP) lim
sf0 (Ly) ) 0 (19)
It is evident from eq 11 that there is a contrast between SP and
SP-PID, where Ksp can be tuned to adjust the remaining dead and, under the unit set-point change case,
time, DR ) (1 - Ksp)D, in the feedback path. If Ksp ) 0, it
becomes a dead-time process (PID control) with DR ) D. If lim(y) ) R (20)
sf0
Ksp ) 1, then it represents the time-delay-free part of the model
eliminating dead time (SP scheme). which means that it attains set point. But, for GFF ) 0 and Ksp
Asymptotic Case PID. The closed-loop characteristic equa- ) 1, SP-PID renders an offset that varies linearly with Ksp.
tion of MSP-PID becomes To eliminate this offset, a controller in the feedback path is
included in the MSP-PID structure.
(1 + GcGPSP)(1 + GFFGP) ) 0 (12) Case MSP-PID. Let us choose Gc as an internal-model-
control type (IMC-type) of PI controller.14 The controller
In this case, Ksp becomes 0. Then, the PSP model reduces to parameters are given as
GPSP ) GP. This yields, from eq 11,
2λ + D
GcGP GP Kc ) (21)
y) yset + L (13) KP(λ + D)2
1 + GcGP 1 + GcGP
and
with GFF ) 0.
Asymptotic Case SP. In the SP side, Ksp ) 1. Then, the τI ) 2λ + D (22)
PSP model can be rewritten as GPSP ) GP*, which gives, for
the set-point case, with a PI controller structure
1400 Ind. Eng. Chem. Res., Vol. 45, No. 4, 2006
(
Gc ) Kc 1 +
1
τIs ) (23)
The two controllers Gc and GFF form a two-degrees-of-freedom
type of control system.
3. Results
The closed-loop characteristic equation of MSP-PID becomes
3.1. Stability Analysis. The characteristic equations of SP-
(1 + GcGPSP)(1 + GFFGP) ) 0 (24) PID and MSP-PID are taken to evaluate robust stability with
respect to dead-time error. With a change in process dynamics,
Here, GFF is given by the predictive model (GP*) becomes inaccurate, and hence, the
controller performance degrades. If there is an uncertainty in
GFF ) K0 (25) the deadtime, (D * D̃), the multiplicative deadtime error δD )
(D-D̃)/D̃ can be introduced in the closed-loop characteristic
equation of SP-PID and it becomes
The tuning formula for K0, a constant for the proportional
controller, can be found by calculating the ultimate gain.
λs + e-(1-KSP)D̃S(e-(KSP+δD)D̃S - e-KSPD̃S + 1) ) 0 (33)
(1 + GFFGP) ) 0 (26) With Ksp ) 0, this equation reduces to the PI case and it becomes
[ ]
2D
KcKP
The imaginary part becomes ω - K0KP sin(Dω) ) 0, which s2 + (1 + τIs) e-(1+Ksp)D̃S ) 0 (37)
τI
gives
where
π
K0u ) 2λ + D
2KPD Kc ) and τI ) 2λ + D
KP(λ + D)2
Now for proper understanding of controller GFF, we multiply
a term Ksp with GFF without disturbing its gain or phase margins, Now, if Ksp ) 0, as in the PI case, eq 37 becomes
[ ]
so that the controller exists at all other values of Ksp except at
0. KcKP
s2 + (1 + τIs) e-D̃S ) 0 (38)
Hence, τI
K0u(Ksp) π(Ksp) and in the other extreme, with Ksp ) 1, for SP case, eq 37 gives
GFF(Ksp) ) )
[ ]
2 2(2KPD) KcKP
[s + K0KP e-(1+δD)D̃S] s2 + (1 + τIs) e-2D̃S ) 0 (39)
τI
with
Equations 33-35 for SP-PID (or eqs 37-39 for MSP-PID)
0 e Ksp e 1 (30)
can be solved to calculate tolerable dead-time error δD with
respect to λ or Ksp as a parameter. Figure 2 (first column) shows
The equivalent feedback controller (Gc in Figure 1A) equation conditional stability for SP/SP-PID/MSP-PID for the set-point
of the MSP-PID structure (Figure 1D) for the set-point case change case. In Figure 2, part A is for the PI controller and
can be written as part B is for the SP. In column 1 of Figure 2, we find, at smaller
values of λ, that there exists a constraint on stability, resulting
Gc in an oscillatory response with the SP scheme. With an increase
KS ) (31)
1 + Gc(GPSP - G̃P) in λ, the tolerable dead-time error increases. In the case of SP-
PID and MSP-PID, as revealed from the first column of Figure
and the corresponding equivalent controller for load change 2, parts C and D, at lower values of Ksp, robustness is higher
becomes (δD is 1.9 at Ksp ) 0) compared to that at Ksp ) 1, indicating
a degraded tolerance to dead-time error. The second column of
Gc(1 + GFFG̃P) Figure 2 shows the performance with set-point changes, while
KL ) GFF + (32) the third column explains the same with a load disturbance. A
1 + Gc(GPSP - G̃P)
closer look at Figure 1 parts C or D, or Figure 2 parts C or D,
Ind. Eng. Chem. Res., Vol. 45, No. 4, 2006 1401
Figure 2. Tolerable dead-time error and IAE for (A) PI control, (B) Smith predictor, and (C) Smith predictor enhanced PID control for set-point change
case.
will indicate that, near Ksp ) 1, the tolerance to dead time At the PI end, with Ksp ) 0, λ can be calculated from
decreases to a minimum. If we desire to maintain 16%
robustness on dead-time tolerance, we must switch the controller λ ) δPI(DR) ) δPI(1 - Ksp)D (40)
at a particular value of Ksp (i.e., about Ksp ) 0.82) in order to
keep improved performance. To achieve this, a proper design Naturally, δPI is taken to be δPI ) 2.65. At the SP side, with
of the SP-PID scheme is necessary. Moreover, from Figure 3, Ksp ) 1, λ is selected such that the system maintains a certain
we see that there exists offset in the case of load disturbance degree of robustness on tolerable dead time with a compromise
for the SP side, and hence, the SP-PID strategy needs on controller performance. For a minimum tolerable dead time,
modification to eliminate this offset. δD,min, of ∼16%, δsp value can be read from Figure 2B for the
SP side. Then we have
3.2. SP-PID/MSP-PID Design (λ Switching). To imple-
ment the SP-PID/MSP-PID scheme, a proper synthesis λ ) δspDR (41)
technique of controller parameters is needed. According to the
principle of SP-PID, the controller should turn from the SP To achieve the specified robustness (δD,min ) 16%) over the
side to the PID side as the model quality degrades. The tuning entire region of Ksp, a switching point (Ksw) on Ksp is to be
mechanism is achieved by adjusting the tuning parameter Ksp. located (as indicated in Figure 2B). In the present case, Ksw )
3.2.1. Design Gc. Gc (Figure 1D) is an IMC-PI controller 0.82. A linear interpolation is made to find a suitable λ, between
and contains a tuning parameter (closed-loop time constant) λ. the region from Ksp ) Ksw to Ksp ) 1.
1402 Ind. Eng. Chem. Res., Vol. 45, No. 4, 2006
( )
Ksp - Ksw In the load-change case, because it gives constant offset in
λ
) (1 - Ksp)δPI + δ for Ksp > Ksw the SP case, IAE*/Tf (where Tf is simulation time) is recorded.
D 1 - Ksw sp The performance increases with an increase of λ (in the SP case)
(43)
or with an increase in Ksp (in the SP-PID case), as observed in
Thus, the selection of the closed-loop time constant, λ, becomes the third column of Figure 2.
[ ( )]
Case MSP-PID. Row D of Figure 2 shows robustness and
λ Ksp - Ksw performance diagrams for set-point and load changes. With a
) max (1-Ksp)δPI, (1 - Ksp)δPI + δ (44)
D 1 - Ksw sp change of Ksp from 0 to 1, the performance (IAE*) of load
change slowly decreases from ∼13.5 to ∼2.25. Because the
For the present IPDT process, we have δPI ) 2.65, δSP ) 0.25, settling time of load response is high for 0 < Ksp e 1, the IAE*
and Ksw ) 0.82 for SP-PID and Ksw ) 0.82 for the set-point becomes a little higher compared to that of Ksp ) 0.
case of MSP-PID. Figure 4 shows results with λ switching for It is revealed from Figure 3 that, during load changes, the
SP-PID. Robustness on tolerable dead time is maintained at SP-PID scheme gives offset, whereas with the use of MSP-
16%. Changes of closed-loop time constant, λ, integral of PID strategy, the offset can be removed.
absolute errors (IAE), and dead-time margin are plotted in Figure Variations of the closed-loop time constant (λ), IAE*, and
4. tolerable dead-time error with Ksp for the SP-PID and MSP-
Figure 4. (A) Closed-loop time constant, (B) IAE, and (C) tolerable dead-time error for SP-PID for set point.
Ind. Eng. Chem. Res., Vol. 45, No. 4, 2006 1403
Figure 6. Unit step of (A) SP-PID and (B) MSP-PID for set-point changes under different Ksp settings under nominal performance.
Figure 7. Unit step of (A) SP-PID and (B) MSP-PID load responses under different Ksp settings under nominal performance.
1404 Ind. Eng. Chem. Res., Vol. 45, No. 4, 2006
Figure 8. Comparison of performances of present approach (solid line) with that of Majhi and Atherton9 (dashed line) for (a) nominal process, GP ) (1
e-5S)/S, and (b) -10% perturbation on dead time.
Figure 9. Robust performances with MSP-PID for a change in (A) 15% dead time, (B) 40% process gain, (C) e-S/[S(0.25S + 1)] process dynamics, and
(D) robustness on right-hand zero [(-0.05s + 1) e-s]/[(0.2s + 1)s], with different Ksp on nominal values of variables.
Figure 11. Closed-loop Bode plots (complementary sensitivity function) for set-point change under plant-model mismatch with MSP-PID scheme using
different Ksp for processes (A) e-1.15S/S, (B) (1.40 e-S)/S, (C) e-S/[S(0.25S + 1)], and (D) [(-0.1S + 1) e-S[/[(0.05S + 1)S].
Figure 12. Closed-loop load transfer function plots for load change under plant-model mismatch with MSP-PID scheme using different Ksp for processes
(A) e-1.15S/S, (B) (1.40 e-S)/S, (C) e-S/[S(0.25S + 1)], and (D) [(-0.1S + 1) e-S]/[(0.05S + 1)S].
1406 Ind. Eng. Chem. Res., Vol. 45, No. 4, 2006
the numerator of the plant transfer function, MSP-PID performs u ) Gce ) Gc(R - e′) (A.3)
well. A process with transfer function [(-0.1S + 1) e-S]/
[S(0.05S + 1)] was considered for control with an MSP-PID with
controller. Satisfactory performance with inverse response was
obtained (Figure 9 part D) in this case. These results show that, e′ ) GPSPu + L̃ ) GPSPu + y - G̃Pu (A.4)
for low Ksp values, the MSP-PID scheme offers more tolerance.
It is seen that, although MSP-PID renders better performance Now u in eq A.3 can be rewritten as
over SP-PID, it provides less robustness to tolerable dead-time
error compared to SP-PID. However, generally, Ksp is a suitable u ) GcR - Gc[GPSPu + y - G̃Pu] (A.5)
tuning parameter to handle plant-model mismatches,15 as can
be seen in the complementary sensitivity function (eq 10) plots Substituting eq A.2 in eq A.1 we get
as shown in Figure 11. Four different processes (Figure 11 parts
A-D) are considered here. Figure 11 shows that, under plant- y ) GP[L + u - GFF(y - G̃Pu)]
model mismatches, a higher maximum closed-loop log modulus ) GPL-GPGFFy+GP(1+GFFG̃P)u (A.6)
is experienced as Ksp increases. That implies oscillatory
responses are expected and the systems can easily become Replacing y from eq A.6 in eq A.5, we have
unstable for additional perturbation, especially for the case with
Ksp ) 1. Simulation results in Figure 9 also confirm that. Figure (1 + GcGPSP - GcG̃P)u ) GcR - Gcy
12 shows that the MSP-PID schemes (Ksp * 0) indeed improve
load performance (lower magnitude in the low-frequency range). or
However, the improvement comes with a price of higher peak
in the load transfer functions. That implies oscillatory responses, G cR - G cy
and the situation becomes worse when Ksp approaches 1. u) (A.7)
1 + GcGPSP - GcG̃P
4. Conclusion
Combining eq A.6 and eq A.7, we obtain
The Smith predictor (SP) does not work well for load changes
because of its sensitivity to model errors and incorrect structure. y)
An integrated Smith predictor and PID controller (namely, SP-
PID) technique is formulated and presented for integrator plus GPGc(1 + GFFG̃P)
R+
large dead time processes. As this strategy is user-friendly and 1 + GcGPSP - GcG̃P + GPGFF + GcGPSPGPGFF + GPGc
can be regulated with a tuning parameter Ksp, this gives an offset
during load disturbance. This anomaly can be avoided by GP[1 + Gc(GPSP - G̃P)]
L
modifying the structure of SP-PID by introducing a gain (GFF- 1 + GcGPSP - GcG̃P + GPGFF + GcGPSPGPGFF + GPGc
(Ksp)) in the feedback path. As Ksp becomes 0, it reduces to a (A.8)
PI controller, and with 0 < Ksp < 1, it acts as MSP-PID leading
toward an extreme at Ksp ) 1 to SP controller. The newly If we assume that G̃P ) GP, then eq A.8 becomes
proposed control strategy (MSP-PID) removes offset during
load changes with increased performance. At the SP side with GPGc(1 + GFFGP)
Ksp ) 1, it gives better performance but poor stability, whereas y) R+
1 + GcGPSP + GPGFF + GcGPSPGPGFF
at the PI end, with Ksp ) 0, poor performance with better
robustness has been observed. On the basis of the oscillation GP[1 + Gc(GPSP - GP)]
L (A.9)
of the control loop, the operator can tune Ksp to drive the 1 + GcGPSP + GPGFF + GcGPSPGPGFF
controller toward the PI or SP end as per the required
specification (either toward better performance or toward better Equation A.9 gives the closed-loop transfer function of MSP-
stability). Robustness studies show that the present scheme PID.
(MSP-PID) can tolerate changes in process gain, dynamics, or
dead time. This gives an indication of the generosity and Literature Cited
originality of the MSP-PID scheme.
(1) Smith, O. J. M. Closer control of loops with deadtime. Chem. Eng.
Prog. 1957, 53, 217.
Acknowledgment (2) Chien, I. L.; Fruehauf, P. S. Consider IMC tuning to improve
This work was supported by the National Science Council performance. Chem. Eng. Prog. 1990, October, 33-41.
of Taiwan. (3) Luyben, W. L. Tuning proportional-integral-derivative controllers
for integrator/deadtime processes. Ind. Eng. Chem. Res. 1996, 35, 3480-
3483.
Appendix (4) Luyben, W. L. Tuning of proportional-integral controllers for
processes with both inverse response and deadtime. Ind. Eng. Chem. Res.
Derivation of Closed-Loop Transfer Function for MSP- 2000, 39, 973-976.
PID. Let’s view the block diagram of MSP-PID. The output (5) Luyben, W. L. Identification and tuning of integrating processes with
is given by deadtime and inverse response. Ind. Eng. Chem. Res. 2003, 42 (13), 3030-
3035.
y ) GP(L + u - uFF) (A.1) (6) Astrom, K. J.; Hang, C. C.; Lin, B. C. A new Smith Predictor for
controlling a process with an integrator with long dead time. IEEE Trans.
Autom. Control 1994, 39 (2), 343-345.
where (7) Watanabe, K.; Ito, M. A process-model control for linear systems
with delay. IEEE Trans. Autom. Control 1981, AC-26 (6), 1261-1269.
uFF ) GFFL̃ ) GFF(y - G̃Pu) (A.2) (8) Matausek, M. R.; Micie, A. D. A modified Smith predictor for
controlling a process with an integrator and long dead time. IEEE Trans.
and Autom. Control 1996, 41 (8), 1199-1203.
Ind. Eng. Chem. Res., Vol. 45, No. 4, 2006 1407
(9) Somnath, Majhi; Atherton, D. P. Obtaining controller parameters (14) Rivera, D. E.; Morari, M.; Skogestad, S. Internal model control. 4.
for a new Smith predictor using autotuning. Automatica 2000, 36, 1651- PID controller design. Ind. Eng. Chem. Process Des. DeV. 1986, 25, 252.
1658.
(10) Wu, K.-L.; Yu, C.-C.; Yu, C. C. A two degree of freedom level (15) Leva, A.; Colombo, A. M. Estimating model mismatch overbounds
control. J. Process Control 2001, 11, 311-319. for the robust autotuning of industrial regulators. Automatica 2000, 36 (12),
(11) Ingimundarson, A.; Hagglund, T. Performance comparison between 1855.
PID and dead-time compensating controllers. J. Process Control 2002, 12,
887-895.
(12) Hung, S. B.; Lee, M. J.; Huang, H. P.; Yu, C. C. A PID Controller ReceiVed for reView February 15, 2005
with Adjustable Dead Time Compensation. J. Chin. Inst. Chem. Eng. 2005, ReVised manuscript receiVed October 1, 2005
36, 97-106. Accepted November 28, 2005
(13) Morari, M.; Zafiriou, E. Robust Process Control; Prentice Hall:
Englewood Cliffs, NJ, 1989; p 129. IE0580194