A Quasi Universal Practical IMC Algorithm
A Quasi Universal Practical IMC Algorithm
REGULAR PAPER
tunable, has a unique form and can be applied to almost all process types: stable proportional online tuning; time delay;
processes (with or without time delay, with or without overshoot, of minimum or nonminimum transient time
phase), integral processes and even some unstable processes. The proposed algorithm is better
than the proportional-integral-derivative (PID) algorithm (which is also quasi-universal and
practical) due to its robustness, high control performance (especially for processes with time
delay) and simple experimental procedure for determining the controller parameters. Some
applications are presented to highlight the main features of the algorithm and the tuning
procedure for all process types.
where KP is the process steady-state gain, tP – the pro- Also, since the steady-state error is zero, the final value
cess time delay, and TtrP – the transient time of the of u(t) is equal to the inverse of the process steady-state
response y(t) (which does not include the time delay); gain:
more precisely, 1
uð 1 Þ ¼ : (19)
KP
TtrP ¼ t1 tP ; (12)
Therefore, the magnitude coefficient M of the closed-
where t1 is the settling time (when the response is
loop control system response u(t) to a unit step refer-
approximately 98% of its steady-state value):
ence, defined as the ratio between the initial value u
(0+) and the final value u(1), has the expression
yðt1 Þ 0:98yð 1 Þ: (13)
uð0þ Þ KP
Note that a first-order plus time delay model is too M¼ ¼ ¢K: (20)
simple to describe with sufficient accuracy the process uð 1 Þ KM
sluggishness, whereas a third-order plus time delay
When the human operator increases/decreases the
model is too complicated to be used to increase the
tuning gain K, the control action becomes stronger/
model accuracy. For the internal controller, we have
weaker.
Downloaded by [Manpres Distribution ZT80731] at 01:54 17 November 2017
pffiffiffiffi
TtrM 4 K 2 A ¼ 1 p3 K ; (34)
t0 ¼ pffiffiffiffi ln pffiffiffiffi : (26) pffiffiffiffi
4:2 K K 2
B ¼ 1 p4 K : (35)
For K = 1, the response uid(t) given by (22) is a step
The discrete-time primary form of the control algo-
function of magnitude 1/KM. Actually, due to the
rithm has the equations
model inaccuracy, the form of the closed-loop system
response u(t) to a step reference is not a perfect step 8
> ek ¼ rk yk
function. By comparing the response u(t) with the >
>
>
>
>
ideal response in step form, the human operator can < xk ¼ ðp1 þ p2 Þxk1 p1 p2 xk2 þ KM PuklM 1
>
verify online if the model parameters have appropriate
fk ¼ ek þ xk ;
>
>
values, and can adjust these parameters to improve the >
>
>
>
model accuracy. So, if the initial value u(0+) is larger/ >
: uk ¼ ðp3 þ p4 Þuk1 p3 p4 uk2 þ 1 f
smaller than its final value u(1), then the model gain KM
KM needs to be proportionally increased/decreased to (36)
have KM KP. Then, for KM KP, analyzing the new
response u(t) to a step reference, if u(t) is larger/ where
smaller than u(0+) in a time range t > t M, then the
pffiffiffiffiffi
model parameter TtrM needs to be increased/decreased. p1 ¼ e8:4T=TtrM ; p2 ¼ p1 ; (37)
pffiffiffi pffiffiffiffiffi
In its primary (standard) form, used to control sta-
p3 ¼ p1 K ; p4 ¼ p3 ; (38)
ble proportional-type processes (with or without time
delay, with or without overshoot, of minimum or non- P ¼ ð1 p1 Þð1 p2 Þ; (39)
pffiffiffiffi
minimum phase), the algorithm has four parameters: f ¼ Kfk þ K ðA þ BÞfk1 þ ABfk2 : (40)
where
Figures 4 and 5 show the closed-loop system
responses y(t) and u(t) to a unit step reference for K =
p1 ¼ eT=T1 ¼ e8:4T=TtrM ; (28)
pffiffiffiffiffi 0.5, 1, 2.5, 8. A good control performance is achieved
p2 ¼ eT=T2 ¼ p1 ; (29) for K = 2.5. The control response u(t) is too strong for
172 V. CIRTOAJE
Figure 3. Process response to a unit step input. Figure 6. Control system responses y(t) to a unit step reference
for KM = 1.5, 2, 2.5.
Downloaded by [Manpres Distribution ZT80731] at 01:54 17 November 2017
K = 8, when
uð0þ Þ ¼ K=KM ¼ 4; uð 1 Þ ¼ 1=KP ¼ 0:5; values of the model gain KM, model time delay tM and
model transient time TtrM, respectively. All these
and too weak for K = 0.5, when responses show that the control performance is robust
with respect to the model parameters KM, tM and TtrM.
uð0þ Þ ¼ 0:25; uð 1 Þ ¼ 0:5: The closed-loop control system is respectively stable
for KM > 0.54, for all t M > 0, and for TtrM > 6.
For K = 1, the response u(t) is close to a step function; Figures 9–11 show the closed-loop system responses
this confirms that the model parameters have been y(t) to a unit step reference for the best values of the
suitably chosen. Note that the closed-loop system is tuning parameter K and various values of the model
stable for all positive K < 3600. parameters KM, tM and TtrM, respectively. The control
Figures 6–8 show the closed-loop system responses performance remains good even for wrong values of the
y(t) to a unit step reference for K = 2.5 and different model parameters. Moreover, we claim that the control
AUTOMATIKA 173
Figure 10. System responses y(t) to a unit step reference for A: This follows immediately from Figure 12, where are
t M = 9, K = 25; B: t M = 6, K = 2.5; C: t M = 3, K = 0.75. depicted the responses y(t) to a unit step reference for
KR = 0.1, 0.2, 0.3 and the best values of the integral
performance is better for KM > KP than for KM < KP, time constant Ti, namely Ti = 6.2, 10, 16, respectively.
for tM > tP than for tM < tP, and for TtrM > TtrP than
for TtrM < TtrP. Remark 2.1: The proposed algorithm can be also used
The response A in Figure 9 shows that for the to control stable proportional-type processes with
wrong value KM = 2.5, if the process-operator selects overshoot. Let P be a such process, whose input step
K = 11, then the control system performance is even response has the maximum value at the time t0. In
better than the one obtained for KM = 2 and K = 2.5 order to choose the model parameters, this process
(response B). The closed-loop system with KM = 2.5 is (with or without oscillations) is approximated by a
process P ~ of P1 type (with the unit step response
stable for K < 4600.
Figure 10 shows that for the wrong value t M = 9, by monotonic and finite), whose step response ~yðt Þ
choosing K = 25 (response A), the control system per- remains constant (at its maximum value) for t t0
formance is better than the one obtained for t M = 6 (Figures 13 and 16). From the step response ~yðt Þ, we
~ P , the time
can easily choose the steady-state gain K
and K = 2.5 (response B). Note that the closed-loop
system with t M = 9 is stable for K < 240. delay t P and the transient time
Figure 11 shows that for the wrong value TtrM = 70,
~ trP ¼ t0 t P :
T (41)
if the process-operator chooses K = 7 (response A),
Thus, the model parameters are
~ P;
KM ¼ K tM ¼ tP ; ~ trP :
TtrM ¼ T (42)
~ P < K=KP ;
uð0þÞ ¼ K=KM ¼ K=K (43)
Example 2.2: Consider the following non-oscillatory The closed-loop system responses y(t) and u(t) to a
process with overshoot unit step reference are shown in Figures 14 and 15 for
K = 0.25, 1, 4. The control variable u(t) is too strong
1:5ð24s þ 1Þe5s for K = 4 – when u(0+) = K/KM 2, and too weak for
GP ðsÞ ¼ :
ð4s þ 1Þð8s þ 1Þð9s þ 1Þ K = 0.25 – when u(0+) = K/KM 0.125. Note that the
system is stable for all K > 0.
From the process unit step response ~yðt Þ in Figure 13,
it follows that Example 2.3: Consider the oscillatory process with
overshoot
~ P ¼ 1:98;
K tP ¼ 5;
~ trP ¼ t0 t P ¼ 24 5 ¼ 19; 1:5ð2s þ 1Þe5s
T GP ðsÞ ¼ :
ð3s þ 1Þð4s þ 1Þð6s2 þ 3s þ 1Þ
therefore,
From the process unit step response in Figure 16, it fol-
~ P ¼ 1:98; t M ¼ t P ¼ 5;
KM ¼ K lows that
~ trP ¼ 19:
TtrM ¼ T ~ P ¼ 1:98;
K t P ¼ 7;
Downloaded by [Manpres Distribution ZT80731] at 01:54 17 November 2017
~
T trP ¼ t0 tP ¼ 29 7 ¼ 22;
therefore,
~ P ¼ 1:98; tM ¼ tP ¼ 7;
KM ¼ K
~ trP ¼ 22:
TtrM ¼ T
Figure 15. Control system responses u(t) to a unit step refer- Figure 17. Control system responses y(t) to a unit step refer-
ence for K = 0.25, 1, 4. ence for K = 0.4, 0.2, 0.1.
AUTOMATIKA 175
Figure 18. Control system responses u(t) to a unit step refer- Figure 20. Control system responses y(t) to a unit step refer-
ence for K = 0.4, 0.2, 0.1. ence for K = 10, 5, 1.
2ð1 4sÞe2s
GP ðsÞ ¼ :
ð4s þ 1Þð8s þ 1Þð10s þ 1Þ
Figure 21. Control system responses u(t) to a unit step refer-
From the process unit step response shown in Figure 19, ence for K = 10, 5, 1.
it follows the model parameters
proportional type (called the compensated process) by
KM ¼ 2; tM ¼ 11; means of a feedback path of pure proportional type, as
TtrM ¼ t1 tP ¼ 65 11 ¼ 54: shown in Figure 22.
As a rule, for an integral-type process, the step
Figures 20 and 21 show the closed-loop system response of the compensated process has zero over-
responses y(t) and u(t) to a unit step reference for three shoot for small values of the feedback gain Kf, and non-
values of the tuning gain K. The best response is zero overshoot for large values of Kf. A suitable variant
achieved for K = 10. The closed-loop system is stable is to choose the gain Kf as large as possible such that
for K < 36.6. the overshoot of the step response of the compensated
process remains zero. Then, for selected Kf, the model
parameters KM, tM and TtrM are determined from the
3. Extended form of the control algorithm compensated process response y(t) to a step change of
the input c. If K = 1 and the model parameters have
The algorithm can be extended to control integral-type appropriate values, then the closed-loop control system
processes and unstable processes. The main idea is to response c(t) to a step reference is close to a step
turn the original process into a stable process of function.
Note that the steady-state error is zero for a step and
even for a ramp disturbance added to the process
output.
Figure 19. Process response to a unit step input. Figure 22. Closed-loop system with compensated process.
176 V. CIRTOAJE
According to Equations (36)–(40) and the con- input c is monotonic and bounded (Figure 23). Choos-
troller structure in Figure 22, the discrete-time con- ing Kf = 0.6, it follows that
trol algorithm has the following equations:
KM ¼ 1:67; tM ¼ 7;
8
> ek ¼ rk yk TtrM ¼ t1 t P ¼ 82 7 ¼ 75:
>
>
>
> xk ¼ ðp1 þ p2 Þxk1 p1 p2 xk2 þ KM PcklM 1
>
>
>
< For Kf = 0.6 and K = 1, 3, 8, the closed-loop control
f k ¼ ek þ x k
; system responses y(t), c(t) and u(t) to a unit step refer-
>
> 1
>
> ck ¼ ðp3 þ p4 Þck1 p3 p4 ck2 þ ence are shown in Figures 24–26. The control variables
>
>
f
>
> KM c(t) and u(t) are too strong for K = 8, when
:
uk ¼ ck Kf ðyk y0 Þ
(44) uð0þ Þ ¼ cð0þ Þ ¼ K=KM 4:79;
x0 ¼ KM u0 : (45)
ck1 ¼ ck2 ¼ ¼ cklM 1 ¼ u0 (46) Figure 23. Compensated process responses y(t) to a unit step
xk1 ¼ xk2 ¼ x0 ; fk1 ¼ fk2 ¼ x0 : (47) input c = 1(t) for Kf = 0.5, 0.6, 0.8.
fk ¼ ðek e0 Þ þ xk :
ðs þ 1Þe5s
GP ðsÞ ¼ :
10sð2s þ 1Þð5s þ 1Þ
Figure 26. Control system responses u(t) to a unit step refer- Figure 28. Control system responses y(t) to a unit step refer-
ence for Kf = 0.6 and K = 1, 3, 8. ence for Kf = 0.5 and K = 1, 8, 25.
and too weak for K = 1, when response y to a unit step input c is monotonic and
bounded (Figure 29). From this compensated process
Downloaded by [Manpres Distribution ZT80731] at 01:54 17 November 2017
Setting K = 25, the system response y(t) to a unit step uð0þ Þ ¼ K=KM 0:13:
reference (Figure 28) is even better than the response
obtained for Kf = 0.6 and K = 3 (Figure 24). The If K = 1, then the control response c(t) is close to a
closed-loop system is stable for K < 4500. step function. The closed-loop system is stable for
K < 460.
Example 3.2: Consider the unstable process
Remark 3.1: A similar but simpler control algorithm
ðs þ 1Þe2s can be obtained by replacing the second-order internal
GP ðsÞ ¼ :
2ð1 þ 3sÞð1 6sÞ controller (16) with the first-order controller
Figure 27. Control system responses y(t) to the ramp distur- Figure 29. Compensated process responses y(t) to input c = 1
bance v(t) = t/10 for K = 3. (t) for Kf = ¡2.08, ¡ 2.13, ¡ 2.5.
178 V. CIRTOAJE
Figure 30. Control system responses y(t) to a unit step reference for Kf = ¡2.13 and K = 1, 4, 8.
Downloaded by [Manpres Distribution ZT80731] at 01:54 17 November 2017
1 K þ ð1 r1 K Þz 1
G0i1 ðzÞ ¼ ¢ ; (51)
KM 1 r1 z1
where
The practical feature of the control algorithm fol- algorithm is better than the popular PID algorithm. In
lows from the following considerations: addition, for integral-type processes, the proposed
algorithm achieves zero steady-state error for a ramp
– whatever the process to be controlled, the control disturbance added to the process output.
algorithm has the unique form (44);
– the algorithm has a tuning gain K (with stan-
dard value 1) instead of a tuning filter time Disclosure statement
constant (as usual in the IMC design), which
No potential conflict of interest was reported by the
achieves a natural trade-off between closed-
author.
loop performance and robustness to model
uncertainties;
– the controller parameters can be easily deter- References
mined from the step response of the process (or
compensated process), and can be verified and [1] Garcia C, Morari M. Internal model control. A unify-
adjusted online; in addition, due to the tuning ing review and some new results. Ind Eng Chem Proc
Des Dev. 1982;21(2):308–323.
gain K, it is not necessary to estimate with high [2] Rivera D, Morari M, Skogestad S. Internal model con-
accuracy the model parameters in order to have trol - PID controller design. Ind Eng Chem Process
Downloaded by [Manpres Distribution ZT80731] at 01:54 17 November 2017
good control performance (as shown in the simu- Des Dev. 1986;25:252–265.
lation Example 2.1, it is better to select KM > KP [3] Francis B, Wonham W. The internal model principle
than KM < KP, t M > t P than t M < t P, and TtrM > of control theory. Automatica. 1976;12(5):457–465.
[4] Bengtsson G. Output regulation and internal models -
TtrP than TtrM < TtrP);
a frequency domain approach. Automatica. 1977;13
– as the PID algorithm, the proposed control algo- (4):333–345.
rithm is quasi-universal because it can be applied [5] Horn I, Arulandu J, Gombas C, et al. Improved filter
to control almost all process types: proportional design in internal model control. Ind Eng Chem Res.
processes (with or without time delay, with or 1996;35:3437–3441.
without overshoot, with or without oscillation, of [6] Brosilow C, Joseph B. Techniques of model-based con-
trol. Upper Saddle River (NJ): Prentice Hall; 2002.
minimum or nonminimum phase), integral pro- [7] Chia TL, Lefkowitz I. Internal model-based control for
cesses, stable or unstable processes. integrating processes. ISA Trans. 2010;49(4):519–527.
[8] Zhou W, Yu M, Huang DQ. A high-order internal
The main original contributions of the paper are the model based iterative learning control scheme for dis-
following: crete linear time-varying system. Int J Autom Comput.
2015;12(3):330–336.
[9] Hiromitsu O, Ryo T, Takahiro M, et al. Design of IMC
– an extension of the proposed algorithm to control based on an optimal control for a servo-system. J Con-
all or almost all industrial processes; trol Sci Eng. 2015;1–5.
– an experimental procedure of tuning the control- [10] Yao F, Xinggao L. Adaptive IMC of a high-purity heat-
ler parameters much simpler than the procedures integrated air separation column. Chem Eng Des J
used for the PID controllers; Control Sci Eng. 2015;38(9):1599–1607.
[11] Chien IL, Fruehauf PS. Consider IMC tuning to
– the use of a tuning gain with standard value 1 improve controller performance. Chem Eng Progress.
instead of a filter time constant that is usually 1990;10:33–41.
used in the classical IMC design; [12] Skogestad S. Simple analytic rules for model reduction
– the use of the process transient time as model and PID controller tuning. Model Ident Control.
parameter (together with the process steady-state 2004;25(2):85–120.
[13] Xiang L, Dai Y, Lu X. Novel IMC-PID controller
gain and process time delay);
design and parameter tuning with improving control
– a design of the discrete-time control algorithm as performance for the SOPTD. 10th IEEE International
a set of difference equations which can be easily Conference on Control and Automation (ICCA);
implemented on a real time controller; Hangzhou, China; 2013.
– a design of the conditions of bumpless transfer [14] Vanavil B, Anusha AV, Perumalsamy M, et al.
between the three controller modes: MANUAL, Enhanced IMC-PID controller design with lead-lag fil-
ter for unstable and integrating process with time
COMPENSATORY and AUTOMATIC; delay. Chem Eng Commun. 2014;201(11):1468–1496.
– a proposal to generalize and improve the control [15] Kurmar DB, Padma SR. Tuning of IMC based PID
algorithm in order to avoid some unusual situa- controllers for integrating systems with time delay. ISA
tions where the controller output to a step refer- Trans. 2016;63:242–255.
ence has a very sharp shape. [16] Ghousiya BK, Seshagiri RA, Radhakrishnan TK.
Enhanced IMC based PID controller design for non-
minimum phase integrating processes with time delay.
Due to its robustness, high control performance ISA Trans. 2017;68:223–234.
(especially for the processes with time delay) and tun- [17] Yamada K. Modified internal model control for unsta-
ing procedure simplicity, the proposed control ble system. Proceeding of the 7th Mediterranean
AUTOMATIKA 181
Conference on Control and Automation (MED99); integrator in continuous-time system. Int J Info Elec-
Haifa, Israel; 1999. p. 293–302. tron Eng. 2013;3(4):357–360.
[18] Cirtoaje V. Process compensation based control. Bul [20] Cirtoaje V, Baiesu A. Comparative study of three prac-
Univ “Petrol-Gaze” din Ploiesti, Seria Tehnica. 2006; tical IMC algorithms with inner controller of first
LVIII(1):48–53. and second order. JEEE Control Comput Sci. 2016;
[19] Shibasaki H, Endo J, Hikichi Y, et al. A modified inter- 2(2):21–28.
nal model control for an unstable plant with an
Downloaded by [Manpres Distribution ZT80731] at 01:54 17 November 2017