Escolar Documentos
Profissional Documentos
Cultura Documentos
Abstract
In this paper two sets of tuning rules for fractional PIDs are presented. These rules are quadratic and require the same
plant timeresponse data used by the rst ZieglerNichols tuning rule for (usual, integer) PIDs. Hence no model for the
plant to control is neededonly an S-shaped step response is. Even if a model is known rules quickly provide a starting
point for ne tuning. Results compare well with those obtained with rule-tuned integer PIDs.
r 2006 Elsevier B.V. All rights reserved.
Keywords: Fractional controllers; PID; ZieglerNichols tuning rules
1. Introduction
The output of PID controllers (proportional
derivativeintegrative controllers) is a linear combination of the input, the derivative of the input and
the integral of the input. They are widely used and
enjoy signicant popularity, because they are
simple, effective and robust.
One of the reasons why this is so is the existence
of tuning rules for nding suitable parameters for
PIDs, rules that do not require any model of the
plant to control. All that is needed to apply such
Corresponding author. Tel.: +351 218 419 119.
0165-1684/$ - see front matter r 2006 Elsevier B.V. All rights reserved.
doi:10.1016/j.sigpro.2006.02.020
ARTICLE IN PRESS
D. Valerio, J.S. da Costa / Signal Processing 86 (2006) 27712784
2772
Even though fractional PIDs have been increasingly used over the last years, methods proposed to
tune them always require a model of the plant to
control [3,4]. (An exception is [5], but the proposed
method is far from the simplicity of tuning rules for
integer PIDs.) This paper addresses this issue
proposing two sets of tuning rules for fractional
PIDs. Proposed rules bear similarities to the rst rule
proposed by Ziegler and Nichols for integer PIDs,
and make use of the same plant time response data.
The paper is organised as follows. Section 2 sums
up the fundamentals of fractional calculus needed to
understand fractional PIDs. Then, in Section 3, two
analytical methods for tuning fractional PIDs when
a plant model is available are addressed; these are
used as basis for deriving the tuning rules given in
Section 4. Section 5 gives some examples of
application and Section 6 draws some conclusions.
2. Fractional order systems
2.1. Definitions
Fractional calculus is a generalisation of ordinary
calculus. The main idea is to develop a functional
operator D, associated to an order n not restricted
to integer numbers, that generalises the usual
notions of derivatives (for a positive n) and integrals
(for a negative n).
Just as there are several alternative denitions of
(usual, integer) integrals (due to Riemann, Lebesgue, Steltjes, etc.), so there are several alternative
denitions of fractional derivatives that are not
exactly equivalent. The most usual denition is due
to Riemann and Liouville and generalises two
equalities easily proved for integer orders:
Z x
x tn1
n
f t dt; n 2 N,
(1)
D
f
x
c x
n 1!
c
Dn Dm f x Dnm f x;
m 2 Z
0 _ n; m 2 N0 .
(2)
8
R x x xn1
>
>
f x dx
>
> c
>
Gn
>
>
<
f x
>
>
>
Dn c Dxnn f x
>
>
>
>
:
It is worth noticing that, when n is positive but noninteger, operator D still needs integration limits c
and x; in other words, D is a local operator for
natural values of n (usual derivatives) only.
The Laplace transform of D follows rules rather
similar to the usual ones:
L0 Dnx f x
8 n
s F s
>
<
n1
P k nk1
n
>
s 0 Dx
f 0
: s F s
4
This means that, if zero initial conditions are
assumed, systems with a dynamic behaviour described by differential equations involving fractional
derivatives give rise to transfer functions with
fractional powers of s.
Even though n may assume both rational and
irrational values in (4), the names fractional
calculus and fractional order systems are commonly used for purely historical reasons. Some
authors replace fractional with non-integer or
generalised, however.
Thorough expositions of these subjects may be
found in [2,6,7].
2.2. Integer order approximations
The most usual way of making use, both in
simulations and hardware implementations, of
transfer functions involving fractional powers of s
is to approximate them with usual (integer order)
transfer functions with a similar behaviour. So as to
perfectly mimic a fractional transfer function, an
integer transfer function would have to include an
innite number of poles and zeroes. Nevertheless, it
is possible to obtain reasonable approximations
with a nite number of zeroes and poles.
One of the best-known approximations is due to
Manabe and Oustaloup and makes use of a
recursive distribution of poles and zeroes. The
approximating transfer function is given by [8]
N
Y
1 s=oz;n
n1
if n 0;
if n40;
n minfk 2 N : k4ng:
if n 1onon 2 N:
k0
sn k
if no0;
if np0;
1 s=op;n
n40.
(5)
ARTICLE IN PRESS
D. Valerio, J.S. da Costa / Signal Processing 86 (2006) 27712784
thereon: low values result in simpler approximations, but also cause the appearance of a ripple in
both gain and phase behaviours; such a ripple may
be practically eliminated increasing N, but the
approximation will be computationally heavier.
Frequencies of poles and zeroes in (5) are given by
p
oz;1 ol Z,
6
op;n oz;n a; n 1 . . . N,
oz;n1 op;n Z; n 1 . . . N 1,
7
8
a oh =ol n=N
Z oh =ol
1n=N
n d
s s s ;
n n d ^ n 2 Z ^ d 2 0; 1.
e
F
+
-
G*
+
+
10
+
2773
+
+
(11)
I
Dsm .
(12)
sl
In this section, two methods published in the
literature for analytically tuning the ve parameters
of such controllers are given.
Cs P
FG
.
1 FG G 0
K
eLs .
1 sm T
(13)
(14)
Firstly, let
1
,
1 sT F
m
1s T
,
G
K
K
G0
1 sL.
1 sm T
F
15
16
17
1=KT F L T=KT F L
.
s
s1m
(18)
ARTICLE IN PRESS
2774
Secondly, let
F 1,
1 sm T
,
G
K
K
1
G0
.
m
1 s T 1 sL
19
20
21
1m s .
(22)
K
s
s
K
If one of the two integral parts is neglectable, (22)
will be a fractional PID controller. (The price to pay
for neglecting a term is some possible slight
deterioration in performance.)
Finally, if a Pade approximation with one pole
and one zero is used in G 0 ,
F 1,
1 sm T
,
G
K
K
1 sL=2
G0
,
m
1 s T 1 sL=2
23
24
25
1
1=KL
T=KL
T m
s 1m
s .
(26)
2K
s
s
2K
Again, (26) will be a fractional PID if one of the two
integral parts is neglectable.
Obviously, should m 2 Z, Eqs. (18), (22) and (26)
become usual PIDs.
C
(29)
oocg
(28)
(3) So as to reject high-frequency noise, the closedloop transfer function must have a small
magnitude at high frequencies; thus it is required
that at some specied frequency oh its magni-
K
eLs .
1 sT
(32)
ARTICLE IN PRESS
D. Valerio, J.S. da Costa / Signal Processing 86 (2006) 27712784
2775
in
t
ge
nt
output
at
in
fle
ct
io
n
ta
n
33
inflection point
0:1pTp50
Lp2
and
(34)
L+T
time
35
jm 2=3 rad 38 ,
36
oh 10 rad=s,
ol 0:01 rad=s,
37
38
H 10 dB,
N 20 dB.
39
40
and
Lp0:5.
(41)
42
Table 1
Parameters for the rst set of tuning rules
P
0:0662
0:2528
0:1081
0:0702
0:0328
0:2202
0:8736
0:2746
0:1489
0:1557
0:0250
0:0323
Parameters to use
1
2:1187
L
3:5207
T
0:1563
1:5827
L2
0:0025
T2
LT
0:1824
1:1421
1:3707
0:0357
0:5552
0:0002
0:2630
1:2902
0:5371
0:0381
0:2208
0:0007
0:0014
when 5pTp50
0:5201
1:0645
2:6643
0:3268
0:3453
0:0229
1:0944
0:2018
0:0002
0:0003
0:1054
0:0028
ARTICLE IN PRESS
D. Valerio, J.S. da Costa / Signal Processing 86 (2006) 27712784
2776
Table 2
Parameters for the second set of tuning rules
l
1:0574
24:5420
0:3544
46:7325
0:0021
0:3106
0:6014
0:4025
0:7921
0:4508
0:0018
1:2050
1:1851
0:3464
0:0492
1:7317
0:0006
0:0380
0:8793
15:0846
0:0771
28:0388
0:0000
1:6711
0:2778
2:1522
0:0675
2:4387
0:0013
0:0021
jm 1 rad 57 ,
output
43
oh 10 rad=s,
ol 0:01 rad=s,
44
45
H 20 dB,
46
N 20 dB.
47
0.5
10
(a)
gain / dB
1
L
T
L2
T2
LT
1.5
20
30
40
50
time / s
50
0
-50
10-2
10-1
100
/ rad s
101
102
101
102
101
102
101
102
-1
-200
-400
-600
(b)
10-2
10-1
100
10-1
100
0
gain / dB
-20
-40
10-2
/ rad s
-1
0
gain / dB
5. Examples
phase /
(c)
-20
-40
-60
-80
10-2
10-1
100
1
Fig. 4. (a) Step response of (51) controlled with (52) when K is 32
,
1 1 1 1
16, 8, 4, 2, 1 (thick line), 2, 4 and 8. (b) Open-loop Bode diagram
when K 1. (c) Closed-loop function gain (top) and sensitivity
function gain (bottom) when K 1.
ol 103 rad=s,
48
49
50
oh 10 rad=s,
N 7.
ARTICLE IN PRESS
1.5
1.5
output
output
2777
K
0.5
0.5
K
10
20
40
50
50
0
-50
10-2
-1
10
10
10
10
phase /
phase /
-400
10-1
100
101
102
(b)
gain / dB
gain / dB
-20
50
0
10-1
100
101
102
100
101
102
100
101
102
101
102
-200
-400
10-2
10-1
-20
-40
-40
10-1
100
101
10-2
102
0
gain / dB
0
-20
-40
-60
-1
10
10
10-1
/ rad s-1
/ rad s-1
gain / dB
50
(c)
40
-600
-600
-80
10-2
30
-200
10-2
20
/ rad s-1
/ rad s-1
10-2
10
time / s
-50
10-2
(b)
(a)
time / s
gain / dB
gain / dB
(a)
30
10
(c)
-20
-40
-60
-80
10-2
10-1
100
10
1
Fig. 5. (a) Step response of (51) controlled with (53) when K is 32
,
1 1 1 1
,
,
,
,
1
(thick
line).
(b)
Open-loop
Bode
diagram
when
K
1.
16 8 4 2
(c) Closed-loop function gain (top) and sensitivity function gain
(bottom) when K 1.
1
Fig. 6. (a) Step response of (51) controlled with (54) when K is 32
,
1 1 1 1
,
,
,
and
1
(thick
line).
(b)
Open-loop
Bode
diagram
when
16 8 4 2
K 1. (c) Closed-loop function gain (top) and sensitivity
function gain (bottom) when K 1.
ARTICLE IN PRESS
D. Valerio, J.S. da Costa / Signal Processing 86 (2006) 27712784
2778
K 0:1s
e
.
1s
(51)
C 1 s 0:4448
52
53
54
4:3200s2
K
K
e0:2s
19:1801s 1 1 20s
(55)
Table 3
Data on step responses of Figs. 46
K
1
32
1
16
1
8
1
4
1
2
1
2
4
8
Rise time
(s)
Overshoot
(%)
Settling time
(s)
Rise time
(s)
Overshoot
(%)
Settling time
(s)
Rise time
(s)
Overshoot
(%)
Settling time
(s)
22.1
13.8
8.9
5.9
4.0
2.6
1.7
0.9
0.2
26
27
28
30
30
27
20
12
7
94.6
59.1
36.5
22.6
19.8
14.6
7.4
5.5
3.9
28.1
15.1
8.1
4.4
2.4
1.3
0.7
0.3
5
5
5
6
8
9
8
8
78.2
19.2
10.2
12.4
7.7
4.7
2.8
1.4
1.0
0.6
0.4
0.2
0.1
0.1
23
33
40
45
48
74
3.7
3.9
2.8
1.9
1.3
0.7
ARTICLE IN PRESS
D. Valerio, J.S. da Costa / Signal Processing 86 (2006) 27712784
1.5
1.5
output
output
2779
0.5
0.5
K
10
20
(a)
30
40
50
time / s
50
0
-4
10
-2
10
10
/ rad s
10
50
-50
50
-100
10-4
10-2
100
102
102
-1
-100
(b)
10-4
10-2
100
102
10-2
100
102
0
gain / dB
-40
-60
10-2
100
-20
-40
-60
-80
10-4
102
/ rad s
/ rad s-1
-1
0
gain / dB
0
-50
-100
10-4
100
- 150
-20
-80
10-4
10-2
/ rad s
gain / dB
40
50
10-4
-150
(c)
30
time / s
-1
phase /
phase /
20
-50
-50
gain / dB
10
100
gain / dB
gain / dB
100
(b)
(a)
10-2
100
102
1
Fig. 7. (a) Step response of (55) controlled with (56) when K is 32
,
1 1 1 1
16, 8, 4, 2, 1 (thick line), 2, 4, 8, 16 and 32. (b) Open-loop Bode
diagram when K 1. (c) Closed-loop function gain (top) and
sensitivity function gain (bottom) when K 1.
(c)
-50
-100
10-4
10-2
100
102
1
Fig. 8. (a) Step response of (55) controlled with (57) when K is 32
,
1 1 1 1
16, 8, 4, 2, 1 (thick line), 2, 4, 8, 16 and 32. (b) Open-loop Bode
diagram when K 1. (c) Closed-loop function gain (top) and
sensitivity function gain (bottom) when K 1.
ARTICLE IN PRESS
D. Valerio, J.S. da Costa / Signal Processing 86 (2006) 27712784
2780
output
Gs
1
0.5
K
10
20
30
time / s
(a)
40
50
K
K
p e0:5s
e0:1s
1 1:5s
1 s
(59)
gain / dB
100
50
0
-50
10-4
0:6187
0:3105s1:0618 ,
s1:3646
1:6486
C 2 s 1:4098 1:1011 0:2139s0:1855 ,
s
90:0000
0:9000 s.
C ZN s 18:0000
s
C 1 s 0:6021
10-2
100
102
/ rad s-1
60
61
62
phase /
0
-50
-100
-150
(b)
10-4
10-2
100
102
10-2
100
102
gain / dB
0
-20
-40
-60
-80
10-4
/ rad s
-1
gain / dB
0
50
100
(c)
10-4
10-2
100
102
1
Fig. 9. (a) Step response of (55) controlled with (58) when K is 32
,
1 1 1 1
,
,
,
,
1
(thick
line),
2,
4,
8,
16
and
32.
(b)
Open-loop
Bode
16 8 4 2
diagram when K 1. (c) Closed-loop function gain (top) and
sensitivity function gain (bottom) when K 1.
The step responses obtained (together with openloop Bode diagrams and sensitivity and closed-loop
functions gains) are given in Figs. 1012. Table 5
presents data on the step responses. The PID
performs poorly because it tries to obtain a fast
response and thus employs higher gains (and hence
1
the loop becomes unstable if K is larger than 32
), but
that is not what is most relevant. The most relevant
result here is that fractional PIDs still achieve
practically constant overshoots, since, in spite of the
different plant structure, the conditions they were
expected to verify are still veried to a reasonable
degree, as the frequencyresponse plots show.
In this case it is possible to nd IMC-tuned
fractional PIDs to compare results. Using the
parameters of plant (59) (K 1, T 1, L 0:5
and m 0:5; these are not the parameters of
the approximation used with the tuning rules),
Eqs. (22) and (26) yield the two following transfer
functions:
2
2
C IMC 1 1=2 s1=2 ,
s s
1 2
2
1
C IMC 1=2 s1=2 .
2 s s
2
63
64
ARTICLE IN PRESS
D. Valerio, J.S. da Costa / Signal Processing 86 (2006) 27712784
2781
Table 4
Data on step responses of Figs. 79
K
1
32
1
16
1
8
1
4
1
2
1
2
4
8
16
32
Rise time
(s)
Overshoot
(%)
Settling time
(s)
Rise time
(s)
Overshoot
(%)
Settling time
(s)
Rise time
(s)
Overshoot
(%)
Settling time
(s)
31.4
15.6
9.1
5.7
3.8
2.6
1.7
1.2
0.8
0.5
0.2
8
19
28
34
36
35
31
23
15
8
45.5
38.2
47.1
32.1
22.1
15.3
10.5
7.2
3.3
2.5
1.8
21.7
10.9
6.3
3.8
2.4
1.5
0.9
0.5
0.3
0.2
0.1
5
13
17
19
19
16
13
9
6
6
148.0
23.3
19.2
13.3
9.0
5.9
3.8
2.5
1.5
0.7
0.3
1.5
1.0
0.7
0.5
0.4
0.3
0.2
0.2
0.1
0.1
0.1
75
74
71
66
61
53
43
31
22
17
15
41.2
25.9
14.0
8.2
4.6
2.0
1.3
0.8
0.8
0.8
0.8
65
66
ARTICLE IN PRESS
D. Valerio, J.S. da Costa / Signal Processing 86 (2006) 27712784
1.4
1.4
1.2
1.2
0.8
0.8
output
output
2782
0.6
0.6
0.4
0.4
K
0.2
0.2
0
10
20
(a)
30
40
50
80
gain / dB
gain / dB
20
0
-1
10
10
10
10
40
50
40
20
0
10-2
10-1
100
101
102
101
102
101
102
101
102
/ rad s-1
0
phase /
phase /
30
time / s
-20
-500
-1000
10-2
20
60
40
/ rad s-1
(b)
10
80
60
-20
10-2
(a)
time / s
10-1
100
101
102
(b)
-500
-1000
10-2
10-1
100
10-1
100
0
gain / dB
gain / dB
0
-20
-40
10-2
10-1
100
101
-20
-40
102
10-2
/ rad s-1
/ rad s
(c)
-20
gain / dB
gain / dB
-40
-60
-80
10-2
-1
-1
10
10
10
10
Fig. 10. (a) Step response of (59) controlled with (60) when K is
1 1 1 1 1
32, 16, 8, 4, 2, 1 (thick line) and 2. (b) Open-loop Bode diagram
when K 1. (c) Closed-loop function gain (top) and sensitivity
function gain (bottom) when K 1.
(c)
-20
-40
-60
-80
10-2
10-1
100
Fig. 11. (a) Step response of (59) controlled with (61) when K is
and 1 (thick line). (b) Open-loop Bode diagram when
K 1. (c) Closed-loop function gain (top) and sensitivity
function gain (bottom) when K 1.
1 1 1 1 1
32, 16, 8, 4, 2
ARTICLE IN PRESS
1.4
1.2
0.2
0
10
(a)
20
30
40
50
time / s
31
0.6 s
0.4
Rise time
(s)
0.6
Overshoot
(%)
0.8
output
2783
3.1 s
Settling time
(s)
40
20
0
-20
10-2
10-1
100
101
102
100
101
102
100
101
102
101
102
86.6
47.7
27.1
16.0
9.6
5.6
60
Settling time
(s)
gain / dB
80
/ rad s
-1
-20
Overshoot
(%)
7
7
8
9
9
8
26.5
14.7
8.2
4.6
2.4
1.1
gain / dB
Rise time
(s)
10-1
Rise time
(s)
-1000
10-2
(b)
-500
phase /
10-1
/ rad s-1
-20
Fig. 12. (a) Step response of (59) controlled with (62) when K is
(b) Open-loop Bode diagram when K 1. (c) Closed-loop
function gain (top) and sensitivity function gain (bottom) when
K 1.
1
32.
1
2
100
25.1
15.8
10.3
6.9
4.4
2.7
1.5
10-1
1
32
1
16
1
8
1
4
1
2
-80
10-2
(c)
Table 5
Data on step responses of Fig. 1012.
-60
26
27
28
29
27
23
17
-40
Overshoot
(%)
gain / dB
105.5
65.8
41.2
26.1
17.2
11.9
8.6
10-2
Settling time
(s)
-40
ARTICLE IN PRESS
D. Valerio, J.S. da Costa / Signal Processing 86 (2006) 27712784
2784
1.4
References
1.2
output
1
0.8
0.6
K
0.4
0.2
0
10
20
(a)
30
40
50
30
40
50
time / s
1.4
1.2
output
1
0.8
0.6
K
0.4
0.2
0
(b)
10
20
time / s
Fig. 13. (a) Step response of (59) controlled with (65) when K is
1 1 1 1
1
32, 16, 8, 4 and 2. (b) Step response of (59) controlled with (66)
1 1 1 1 1
when K is 32
, 16, 8, 4, 2 and 1 (thick line).