Professional Documents
Culture Documents
Research Article
Design of PI Controllers for Hydraulic Control Systems
Copyright © 2013 LJubiša Dubonjić et al. This is an open access article distributed under the Creative Commons Attribution
License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly
cited.
The paper proposes a procedure for design of PI controllers for hydraulic systems with long transmission lines which are described
by models of high order. Design is based on the combination of the IE criterion and engineering specifications (settling time and
relative stability) as well as on the application of D-decomposition. In comparison with some known results, the method is of
graphical character, and it is very simple (solving nonlinear algebraic equations is eliminated). The paper presents the algorithm
of software procedure for design of the controller. The method is compared with other methods at the level of simulation, and its
superiority is shown. By applying the Nyquist criterion, it is shown that the method possesses robustness in relation to non modelled
dynamics.
In [9], the problem of disturbance rejection is reduced to By connecting (7) and (8), the final expression for the
minimization of the following IE criterion: characteristic equation of the automatic control system in the
complex domain is obtained as follows:
∞
IE = ∫ 𝑒 (𝑡) 𝑑𝑡. (1) 𝑓 (𝑠) = 𝑓1 (𝑠) + (𝐾𝑝 𝑠 + 𝐾𝑖 ) ⋅ 𝑁 (𝑠) = 0. (9)
0
Mathematical Problems in Engineering 3
Im(𝑠)
𝜉=0
𝜉=
con
sta
nt
𝜔𝑛 𝜑
∗
𝜔𝑛 min
𝜔
∗ 𝜃 ∗
∗ ∗ ∗
𝜉=1∗ ∗ Re(𝑠)
𝜔
∗ 𝜔𝑛 min
𝜎𝑚
Figure 2: Area with the required settling time and relative stability.
Taking into account (9), it is necessary to express the where 𝑇𝑘 and 𝑈𝑘 are Chebyshev functions of the first and
complex number 𝑠 in a suitable form and use it for estab- second kinds for which the following recurrent equations
lishing the relation between the damping degree 𝜉 and the hold:
variable parameters of the controller, 𝐾𝑝 and 𝐾𝑖 , contained
in the characteristic equation (9) for the automatic control 𝑇𝑘+1 = 2𝜉𝑇𝑘 − 𝑇𝑘−1 , 𝑈𝑘+1 = 2𝜉𝑈𝑘 − 𝑈𝑘−1 , (16)
system. This is how the area from the “𝑠” plane below the
straight line 𝜉 = const. (Figure 2) is mapped in the area of the 𝑇0 = 1, 𝑇1 = 𝜉, 𝑈0 = 0, 𝑈1 = 1, (17)
corresponding damping coefficient represented by the curve
𝜉 = const., in the parameter plane of tuning parameters of the 𝑁 (𝜉, 𝜔𝑛 ) = 𝛾 (𝜉, 𝜔𝑛 ) + 𝑗𝛿 (𝜉, 𝜔𝑛 ) , (18)
controller (𝐾𝑝 , 𝐾𝑖 ) as follows:
where 𝛾(𝜉, 𝜔𝑛 ) and 𝛿(𝜉, 𝜔𝑛 ) represent the real and imaginary
𝑠 = 𝜔𝑛 𝑒𝑗𝜙 = 𝜔𝑛 𝑒𝑗(𝜋−𝜃) = −𝜔𝑛 𝑒−𝑗𝜃 = −𝜔𝑛 cos 𝜃 + 𝑗𝜔𝑛 sin 𝜃, parts of the polynomial 𝑁(𝜉, 𝜔𝑛 ), and they are determined
(10) based on the following equations:
where 𝑚
𝛾 (𝜉, 𝜔𝑛 ) = ∑ 𝑏𝑘 (−1)𝑘 𝜔𝑛𝑘 𝑇𝑘 (𝜉) ,
𝜉 = cos 𝜃, 0 ≤ 𝜉 ≤ 1, (11) 𝑘=0
(19)
𝑚
𝑠 = − 𝜔𝑛 𝜉 + 𝑗𝜔𝑛 √1 − 𝜉2 . (12) 𝛿 (𝜉, 𝜔𝑛 ) = √1 − 𝜉2 ∑ 𝑏𝑘 (−1)𝑘+1 𝜔𝑛𝑘 𝑈𝑘 (𝜉) .
𝑘=0
By connecting (9) with (12), the characteristic equation of
the automatic control system obtains the form: By connecting (13) with (14) and (18), it is obtained that
𝐾𝑖 = 𝜔𝑛 [𝜉 + √1 − 𝜉2
gain 𝐾𝑝𝐴. Selection of the maximum integral gain will
𝛽 (𝜉, 𝜔𝑛 ) ⋅ 𝛿 (𝜉, 𝜔𝑛 ) + 𝛼 (𝜉, 𝜔𝑛 ) ⋅ 𝛾 (𝜉, 𝜔𝑛 ) not always yield good results regarding robustness defined
⋅ ] ⋅ 𝐾𝑝 . by phase margin (𝜑𝑚 ), gain margin (𝑔𝑚 ), and robustness
𝛽 (𝜉, 𝜔𝑛 ) ⋅ 𝛾 (𝜉, 𝜔𝑛 ) − 𝛼 (𝜉, 𝜔𝑛 ) ⋅ 𝛿 (𝜉, 𝜔𝑛 )
measure 𝑠𝑚 [27]. This problem is particularly noticeable in
(24) systems of high order. In the character of response of the
For 𝜔𝑛 = 0, the system of (21) gives the solution: closed loop, it is reflected in the increased overshoot (𝑂) and
the increased settling time 𝑡𝑠 .
𝐾𝑖 = 0. (25) In order to solve this problem, the area of selection of
parameters of the controller (𝐾𝑝 , 𝐾𝑖 ) has been narrowed by
Equation (25) represents a singular straight line which, taking out the area in which the system will possess good
together with the curve described by (22), represents the settling time (𝑡𝑠 ) on the corresponding curve 𝜉 = const.
closed contour of the region of possible solutions, in the plane In order to have a system with good settling time, it
of variable parameters 𝐾𝑝 , 𝐾𝑖 shown in Figure 3. is necessary that all real parts of the poles of the transfer
For 𝜉 = 1, the system of (21) is reduced to one equation function of the closed loop should have a location to the left
described by of the straight line 𝜎𝑚 = const. (from Figure 2). The area
from the “𝑠” plane to the left of the straight line 𝜎𝑚 = const.
𝛼 (1, 𝜔𝑛 ) (Figure 2) is thus mapped in the area of the corresponding
𝐾𝑖 = 𝜔𝑛 𝐾𝑝 − . (26)
𝛾 (1, 𝜔𝑛 ) settling time 𝜎min = const., in the parameter plane of tuning
parameters of the controller (𝐾𝑝 , 𝐾𝑖 ) as follows:
Equations (22) through (26) completely define the param-
eter (𝐾𝑝 , 𝐾𝑖 ) plane for the selected value of the damping 𝑠 = −𝜎 + 𝑗𝜔. (27)
coefficient 𝜉 = const., 0 ≤ 𝜉 ≤ 1, at the change of undamped
frequency 𝜔𝑛 = (0, 𝜔𝑛 max ). The parameter plane with its Based on (12) and (27), it is clear that
stability limits is presented in Figure 3.
From Figure 3, three characteristic areas particularly 𝜎 = 𝜉 ⋅ 𝜔𝑛 , 𝜔 = 𝜔𝑛 √1 − 𝜉2 . (28)
stand out for the following:
Here it is necessary to find the minimum value of
(i) 𝜉 = 0, the system is at the stability limit and has undamped frequency that will satisfy the condition:
oscillatory character, the area below the curve 𝜉 = 0 is
the stability area, and the area above the curve is the 𝜎min ≥ 𝜎𝑚 , 𝜉 ⋅ 𝜔𝑛 min ≥ 𝜎𝑚 . (29)
nonstability area;
In order to have all real parts of the complex number 𝑠 =
(ii) 𝜉 = 1, the system has critical damping, and the area −𝜎 to the left of the straight line 𝜎𝑚 , it is necessary to find the
below the curve 𝜉 = 1 is the area in which the system variable parameters (𝐾𝑝 , 𝐾𝑖 ) that will satisfy those conditions.
has monotonous (aperiodic) character. The critically This is realized by replacing the complex number 𝑠 = −𝜎min in
damped response is desired in a lot of applications (9), so that the characteristic equation now obtains the form:
because it represents the fastest aperiodic response
possible; 𝑓1 (−𝜎min )
𝐾𝑖 min = 𝜎min ⋅ 𝐾𝑝 − , 𝜎min = 𝜉 ⋅ 𝜔𝑛 min . (30)
(iii) 𝜉 = const., the curve for the required degree of system 𝑁 (−𝜎min )
damping from which the variable parameters of the
controller (𝐾𝑝 , 𝐾𝑖 ) can be chosen. The value of undamped frequencies 𝜔𝑛 min and 𝜔𝑛 max ,
whose location is identified in Figure 2, is read from the
Figure 3 allows reading the maximum value of integral gain at graphs 𝐾𝑝 (𝜉, 𝜔𝑛 ) = 0 and 𝐾𝑖 (𝜉, 𝜔𝑛 ) = 0, as it is shown in
the point 𝐴, 𝐾𝑖 = 𝐾𝑖 max , and the corresponding proportional Figure 4.
Mathematical Problems in Engineering 5
𝐾𝑝 𝐾𝑖
𝜉 = constant 𝜉 = constant
𝜔𝑛 𝜔𝑛
𝜔𝑛 min 𝜔𝑛 max
(a) (b)
Figure 4: Change of the proportional and integral gains of the controller as a function of undamped frequency for the required damping
coefficient.
𝐾𝑖 MATLAB for the transfer function of the process 𝑊𝑃1 (𝑠) has
been carried out as follows:
𝑊𝑃1 (𝑠) = 1× (5.2 ⋅ 10−25 𝑠10 + 9.23 ⋅ 10−22 𝑠9
nt
A (𝐾𝑝𝐴 , 𝐾𝑖 max ) nsta
= co
𝜎 min + 9.677 ⋅ 10−19 𝑠8 + 7.838 ⋅ 10−16 𝑠7
M (𝐾𝑝𝑀 , 𝐾𝑖𝑀 )
B (𝐾𝑝𝐵 , 𝐾𝑖 min )
+ 4.592 ⋅ 10−13 𝑠6 + 2.072 ⋅ 10−10 𝑠5 + ⋅ ⋅ ⋅ (31)
1000
Start 𝜉=0
800
Data input (4)
600 𝜉 = 0.2
400
𝐾𝑖
Chebyshev function 𝜉 = 0.4
((16) and (17)) 𝜉 = 0.6
200
−200
−5 0 5 10 15 20 25 30 35
𝜔𝑛 min (22) 𝐾𝑝
2
𝐾𝑖 = 𝐾𝑖 + Δ𝐾𝑖 𝑂, 𝑡𝑠
1.5
Amplitude
1
No ? 𝑂 ≤ 𝑂𝑑 , 𝑡𝑠 ≤ 𝑡𝑠𝑑
0.5
0
𝐾𝑝 , 𝐾𝑖 −0.5
0 0.05 0.1 0.15 0.2 0.25 0.3
Time (seconds)
End
𝜉=0 𝜉 = 0.6
Figure 6: Algorithm for determination of parameters of the PI 𝜉 = 0.2 𝜉 = 0.8
controller. 𝜉 = 0.4 𝜉=1
of the PI controller from Table 1 as well as for the critical value 0.4
of the proportional gain 𝐾𝑝𝑘𝑟 = 30.39 at 𝜉 = 0. From Figure 8
0.3
it can be seen that high overshoots and high values of settling
time are obtained in the step response, even for higher values 0.2
of the damping coefficient (𝜉 = 0.6, 0.8, and 1.0) of the closed 0.1
loop. The values of overshoot and settling time are shown in 0
Table 1.
−0.1
Figure 9 shows how the designed controller, in accor- 0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5
dance with the minimum of the IE criterion, rejects the load Time (seconds)
caused by the action of disturbance 𝐷 = 1 at the value of
reference 𝑋𝑟 = 0. From Figure 9 it is possible to conclude 𝜉 = 0.2 𝜉 = 0.8
𝜉 = 0.4 𝜉=1
that good results from the aspect of load disturbance rejection
𝜉 = 0.6 Uncontrolled system
can be expected for the values of the damping coefficient
𝜉 ≥ 0.4. Figure 9 also shows that in an uncontrolled process Figure 9: Response of the system to the action of disturbance 𝐷 = 1
the load of the system which is caused by disturbance will not at 𝐾𝑖 max , for changes of the damping coefficient 0.2 ≤ 𝜉 ≤ 1.
Mathematical Problems in Engineering 7
12 250
10
200
8
6 150
𝐾𝑝
𝐾𝑖
4 100
2
50
0 𝜔𝑛 = 4.36 𝜔𝑛 = 94.4
𝐾𝑝 = 0 𝐾𝑖 = 0
−2 0
0 10 20 30 40 50 60 70 80 90 100 0 10 20 30 40 50 60 70 80 90 100
𝜔𝑛 𝜔𝑛
(a) (b)
Figure 10: Boundary values of the undamped frequency 𝜔𝑛 min and 𝜔𝑛 max for the damping coefficient of the closed loop 𝜉 = 0.6.
Damping 𝜉 𝐾𝑝𝐴 𝐾𝑖 max Overshoot (%) Settling time (ms) Phase margin 𝜑𝑚 (degrees) Gain margin 𝑔𝑚
0.2 14.38 544.4 91 265 15.8 1.56
0.4 11.83 347.6 61 169 27.2 2.1
0.6 10.02 235.4 43 143 35.9 2.6
0.8 8.665 166.9 31 140 42.8 3.1
1.0 7.77 122.9 23 178 48.8 3.57
𝑋: 10.02
be rejected. However, according to this criterion, satisfactory 250 𝑌: 235.4
values of overshoot, settling time, and stability margin will 200
not be obtained, which is best seen from Table 1. 𝜉 = 0.6
150
In order to eliminate the undesired values of increased 100
𝐾𝑖
𝑋: 10.78
overshoot and settling time, for the chosen damping coeffi- 50 𝜎min 𝑌: 57.15
cient 𝜉 = 0.6, the settling time has been estimated according 0 𝑋: 10.73
𝑌: 29.75
to 𝜎min = 𝜉𝜔𝑛 min . The values of the minimum undamped −50
frequency 𝜔𝑛 min and 𝜔𝑛 max are read from Figure 10. −2 0 2 4 6 8 10 12
The minimum value of the integral gain 𝐾𝑖 min = 29.75 𝐾𝑝
and the corresponding proportional gain 𝐾𝑝 = 10.73 is Figure 11: Parameter plane for the required damping degree and
thus obtained in the parameter plane, as it can be seen required settling time.
from Figure 11. Going along the part of the curve shown in
Figure 11, from the point of minimum integral gain toward
the point of maximum integral gain, with the appropriate
step (automatically generated by the program) and recording
the response, it is very easy to reach the point on the curve of parameters of controllers in industrial practice. The results
with the parameters of the controller that will give best of comparison in the step response for the described process
performances for the given process. are shown in Figure 13. The complete performances from
Figure 12 shows the step response of the closed loop with the aspect of response, relative stability and robustness are
the parameters of the controller read from Figure 11. It can be presented in Table 2.
seen from Figure 12 that for the designed values of parameters Based on the results presented in Table 2, it can be seen
of the controller 𝐾𝑝 = 10.78 and 𝐾𝑖 = 57.15, the closed loop that the Ziegler-Nichols method gives a very oscillatory
of the automatic control system possesses good performances response characterized by the overshoot of 62.3% with the
(the overshoot of 9.98% and the settling time of 72.8 ms). settling time of 148 ms and very bad robustness (phase
margin 28∘ , gain margin 1.89, and stability margin 0.48).
The Tyreus-Luyben method gives a well-damped response
4. Comparison with Other Methods characterized by the overshoot of 13.6%, but with a very
high value of settling time of 195 ms. From the aspect of
The PI controller designed by means of the methodology robustness, the Tyreus-Luyben method gives good results.
presented in this paper for the process described by (31) has The method proposed in this paper gives a well-damped
been compared with the Ziegler-Nichols (ZN) [1] and Tyreus- response characterized by the overshoot of 9.98% with con-
Luyben (TL) [28] methods for tuning of parameters of the siderably better settling time of 72 ms in comparison with
PI controller. Those are two very frequent methods of tuning the ZN and TL methods. From the aspect of robustness, the
8 Mathematical Problems in Engineering
Table 2: Comparative presentation of the results of design of the PI controller with performances for three methods.
𝐾𝑝 𝐾𝑖 Overshoot (%) Settling time 𝑡𝑠 (ms) Phase margin Gain margin 𝑔𝑚 Stability margin 𝑠𝑚
Method
𝜑𝑚 (degrees)
Ziegler-Nichols 13.6775 341.8875 62.3 148 1.89 0.48
28
(ZN)
Tyreus-Luyben 9.4379 89.3741 13.6 195 3.05 0.62
54.6
(TL)
Proposed method 10.78 57.15 9.98 72 2.74 0.64
56.5
(PM)
Amplitude
0.06
1 0.04
Amplitude
0.02
0
−0.02
0.5 0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5
Time (seconds)
0 PM (𝜉 = 0.4) TL
0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5 PM (𝜉 = 0.5) ZN
Time (seconds) PM (𝜉 = 0.6)
𝐾𝑝 = 10.02; 𝐾𝑖 max = 235.4 Figure 14: Comparative presentation of the system response to the
𝐾𝑝 = 10.78; 𝐾𝑖 = 57.15 action of load disturbance 𝐷 = 1, for the proposed method (PM),
𝐾𝑝 = 10.73; 𝐾𝑖 min = 29.75 the Ziegler-Nichols method (ZN) and the Tyreus-Luyben method
(TL).
Figure 12: System response at the defined damping coefficient 𝜉 =
0.6 and the required settling time.
in comparison with the Ziegler-Nichols method and does it
considerably better in relation to the Tyreus-Luyben method.
Step response
1.8
1.6 Remark. It is well known that the Ziegler-Nichols frequency
1.4 method cannot be applied to the processes of the first and
1.2 second orders because such processes cannot be brought to
Amplitude
real-time implementation and for auto tuning of the PI [3] D. B. Ender, “Process control performance: not as good as you
controller. The methodology of design of the PI controller think,” Control Engineering, vol. 40, pp. 180–186, 1993.
presented in this paper is simple and can easily be adopted by [4] W. L. Bialkowski, “Dreams and reality: a view from both sides
industry. The extension of this method to design of the PID of the gap,” Pulp Paper Canada, vol. 94, pp. 19–25, 1993.
controller is underway. [5] M. A. Hersh and M. A. Johnson, “A study of advanced control
systems in the workplace,” Control Engineering Practice, vol. 5,
no. 6, pp. 771–778, 1997.
List of Symbols
[6] S. Yamamoto and I. Hashimoto, “Present status and future
𝑎𝑘 , 𝑏𝑘 : Coefficients of the transfer function needs: the view from Japanese industry,” in Proceedings of the
D: Load disturbance International Conference on Chemical Process Control Chemical
𝑒(𝑡): Control value error Process Control, 1991.
𝑓(𝑠): Characteristic polynomial [7] K. J. Astrom and T. Hagglund, PID Controllers: Theory, Design,
𝑓1 (𝑠): Part of the characteristic polynomial 𝑓(𝑠) and Tuning, Instrument Society of America, Research Triangle
Park, NC, USA, 2nd edition, 1995.
𝑔𝑚 : Gain margin
IE: Integrated error [8] F. G. Shinskey, “How good are our controllers in absolute
performance and robustness?” Measurement and Control, vol.
𝐾𝑖 : Integral gain of the controller
23, no. 4, pp. 114–121, 1990.
𝐾𝑝 : Proportional gain of the controller
[9] K. J. Astrom and T. Hagglund, “New tuning methods for PID
𝑁(𝑠), 𝑀(𝑠): Polynomial of the numerator and
controllers,” in Proceedings of the European Control Conference,
denominator of the transfer function pp. 2456–2462, Rome, Italy, 1995.
O (%): Overshoot
[10] K. J. Åström, H. Panagopoulos, and T. Hägglund, “Design of
s: Complex number PI controllers based on non-convex optimization,” Automatica,
𝑠𝑚 : Stability margin vol. 34, no. 5, pp. 585–601, 1998.
𝑇𝑘 (𝜉), 𝑈𝑘 (𝜉): Chebyshev functions of the first and
[11] Y. G. Wang and H. H. Shao, “Optimal tuning for PI controller,”
second kinds Automatica, vol. 36, no. 1, pp. 147–152, 2000.
𝑡 (s): Time
[12] M. R. Mataušek and T. B. Šekara, “PID controller frequency-
𝑡𝑠 (s): Settling time domain tuning for stable, integrating and unstable processes,
U(s): Control signal including dead-time,” Journal of Process Control, vol. 21, no. 1,
𝑊𝑃 , 𝑊𝑅 : Transfer functions of the process and the pp. 17–27, 2011.
controller [13] N. Nedić, L. J. Dubonjić, and V. Filipović, “Design of constant
X(s): Controlled variable gain controllers for the hydraulic control system with a long
𝑋𝑟 (𝑠): Reference value. transmission line,” Forschung im Ingenieurwesen, vol. 75, no. 4,
pp. 231–242, 2011.
Greek Letters [14] Yu. I. Neı̆mark, “The structure of the D-decomposition of a
space of polynomials and the diagrams of Vyšnegradskiı̆ and
Nyquist,” Doklady Akademii Nauk SSSR, vol. 59, pp. 853–856,
𝛼(𝜉, 𝜔𝑛 ): Real part of the polynomial 𝑓1 (𝑠) 1948 (Russian).
𝛽(𝜉, 𝜔𝑛 ): Imaginary part of the polynomial 𝑓1 (𝑠) [15] Y. I. Neı̆mark, “Search for the parameter values that make
𝛾(𝜉, 𝜔𝑛 ): Real part of the polynomial 𝑁(𝑠) automatic control system stable,” Automatika i Telemehanika,
𝛿(𝜉, 𝜔𝑛 ): Imaginary part of the polynomial 𝑁(𝑠) vol. 9, no. 3, pp. 190–203, 1948.
𝜉: Damping coefficient [16] D. Mitrovic, “Graphical analysis and synthesis of feedback con-
𝜎: Real part of the complex number 𝑠 trol systems. I-theory and analysis, II-synthesis, III-sampled-
𝜑𝑚 rad: Phase margin data feedback control systems,” AIEE Transactions, vol. 77, pp.
𝜔 rads−1 : Damped frequency 476–496, 1959.
𝜔𝑛 rads−1 : Undamped frequency [17] D. Siljak, “Analysis and synthesis of feedback control systems in
𝛼(𝜉, 𝜔𝑛 ): Real part of the polynomial 𝑓1 (𝑠) the parameter plane. I-linear continuous systems, II-sampled-
𝛽(𝜉, 𝜔𝑛 ): Imaginary part of the polynomial 𝑓1 (𝑠). data systems,” AIEE Transactions, vol. 83, pp. 449–466, 1964.
[18] D. Siljak, “Generalization of the parameter plane method,” IEEE
Transactions on Automatic Control, vol. 11, no. 1, pp. 63–70, 1966.
Acknowledgment
[19] D. Siljak, Nonlinear Systems: The Parameter Analysis and Design,
This paper was supported by the Republic of Serbia, Ministry Wiley, New York, NY, USA, 1969.
of Education and Science, through Project no. 33026-TR. [20] E. N. Gryazina and B. T. Polyak, “Stability regions in the
parameter space: D-decomposition revisited,” Automatica, vol.
42, no. 1, pp. 13–26, 2006.
References [21] K. J. Astrom and B. Wittenmark, Computer Controlled Systems.
[1] J. G. Ziegler and N. B. Nichols, “Optimum settings for automatic Theory and Design, Prentice-Hall, 1997.
controllers,” Transactions of ASME, vol. 64, pp. 759–768, 1942. [22] K. Zhou, J. C. Doyle, and K. Glover, Robust and Optimal Control,
[2] V. Ž. Filipović and N. N. Nedić, PID Regulators, Scientific Prentice-Hall, 1996.
Monograph, Faculty of Mechanical Engineering Kraljevo, Kral- [23] A. E. Barabanov, Design of Minimax Controllers, Sankt Peter-
jevo, Serbia, 2008. burg University, 1996.
10 Mathematical Problems in Engineering
International
Journal of Journal of
Mathematics and
Mathematical
Discrete Mathematics
Sciences