Professional Documents
Culture Documents
Abstract: This paper presents several tuning rules for fractional PID controllers,
similar to the first and the second sets of tuning rules proposed by Ziegler and
Nichols for integer PIDs. Fractional PIDs so tuned perform better than integer
PIDs; in particular, step-responses have roughly constant overshoots even when
the gain of the plant varies.
Keywords: Fractional PIDs, tuning rules
1. INTRODUCTION
PID (proportionalintegralderivative) controllers are well-known and widely used because they
are simple, effective, robust, and easily tuned. An
important contribution for this last characteristic
was the development of several tuning rules for
tuning the parameters of such controllers from
some simple response of the plant. The data required by a tuning rule would not suffice to find
a model of the plant, but is expected to suffice to
find a reasonable controller.
Such rules are the only choice when there is really
no model for the plant and no way to get it. Even
when we do have a model, if our control specifications are not too difficult to attain, a rule may be
all that is needed, saving the time and the effort
required by an analytical method. Rules have their
problems, namely providing controllers that are
hardly optimal according to any criteria and that
hence might be better tuned (and sometimes have
to be better tuned to meet specifications), but
since they often (though not always) work and
1
I
+ Ds
s
(1)
where the (first-order) integral and the (firstorder) derivative of (1) are replaced by fractional
derivatives like this:
C(s) = P +
I
+ Ds
s
(2)
ta
ti
nf
le
ct
io
po
in
ta
ng
en
output
inflection point
2. TUNING BY MINIMISATION
0
(3)
(4)
C (h ) G (h )
(5)
1 + C (h ) G (h ) < H
(4) To reject output disturbances and closely follow references, the sensitivity function must
have a small magnitude at low frequencies;
hence, at some specified frequency l , its
magnitude is to be less than some specified
gain N :
(6)
1 + C (l ) G (l ) < N
(5) To be robust when gain variations of the
plant occur, the phase of the open-loop transfer function is to be (at least roughly) constant around the gain-crossover frequency:
d
arg [C () G ()]
=0
(7)
d
=cg
time
L+T
K
eLs
1 + sT
(8)
(9)
o
(10)
h = 10 rad/s
(11)
l = 0.01 rad/s
(12)
H = 10 dB
(13)
N = 20 dB
(14)
(16)
Table 1. Parameters for the first set of tuning rules for S-shaped response plants
Parameters to use when 0.1 T 5
I
0.3254
1.5766
0.0662
0.8736
0.2478
0.2098
0.2528
0.2746
0.1429
0.1313
0.1081
0.1489
0.1330
0.0713
0.0702
0.1557
0.0258
0.0016
0.0328
0.0250
0.0171
0.0114
0.2202
0.0323
0.5201
1.0645
1.1421
1.2902
2.6643
0.3268
1.3707
0.5371
0.3453
0.0229
0.0357
0.0381
1.0944
0.2018
0.5552
0.2208
0.0002
0.0003
0.0002
0.0007
0.1054
0.0028
0.2630
0.0014
0
Pcr
0
(17)
m = 1 rad 57o
(18)
h = 10 rad/s
(19)
l = 0.01 rad/s
(20)
H = 20 dB
(21)
N = 20 dB
P
2.1187
3.5207
0.1563
1.5827
0.0025
0.1824
output
1
L
T
L2
T2
LT
P
0.0048
0.2664
0.4982
0.0232
0.0720
0.0348
time
(22)
Pcr 2
(23)
+0.1584Pcr
Kcr
Pcr
(24)
(25)
(26)
K
s(s + 1 )(s + 2 )
(27)
(28)
(29)
(30)
Table 2. Parameters for the second set of tuning rules for S-shaped response plants
1
L
T
L2
T2
LT
P
1.0574
24.5420
0.3544
46.7325
0.0021
0.3106
I
0.6014
0.4025
0.7921
0.4508
0.0018
1.2050
1.1851
0.3464
0.0492
1.7317
0.0006
0.0380
D
0.8793
15.0846
0.0771
28.0388
0.0000
1.6711
0.2778
2.1522
0.0675
2.4387
0.0013
0.0021
Table 3. Parameters for the first set of tuning rules for plants with critical gain and
period
1
Kcr
Pcr
1/Kcr
1/Pcr
0.4139
0.7067
1.3240
0.2293
0.8804
0.0145
0.0101
0.0081
0.0153
0.0048
0.1584
0.0049
0.0163
0.0936
0.0061
0.4384
0.2951
0.1393
0.5293
0.0749
0.0855
0.1001
0.0791
0.0440
0.0810
1.4405
5.7800
0.4712
1.3190
0.5425
0.0000
0.0238
0.0003
0.0024
0.0023
0.4795
0.2783
0.0029
2.6251
0.0281
32.2516
56.2373
7.0519
138.9333
5.0073
0.6893
2.5917
0.1355
0.1941
0.2873
Table 4. Parameters for the second set of tuning rules for plants with critical gain
and period
1
Kcr
Pcr
2
Pcr
Kcr Pcr
1/Kcr
1/Pcr
Kcr /Pcr
Pcr /Kcr
P
1.0101
0.0024
0.8606
0.1991
0.0005
0.9300
0.1609
0.0009
0.5846
I
10.5528
0.2352
17.0426
6.3144
0.0617
0.9399
1.5547
0.0687
3.4357
0.6213
0.0034
0.2257
0.1069
0.0008
1.1809
0.0904
0.0010
0.8139
D
15.7620
0.1771
23.0396
8.2724
0.1987
0.8892
2.9981
0.0389
2.8619
1.0101
0.0024
0.8606
0.1991
0.0005
0.9300
0.1609
0.0009
0.5846
Table 5. Parameters for the third set of tuning rules for plants with critical gain
and period
1
Kcr
Pcr
Kcr Pcr
1/Kcr
1/Pcr
Kcr /Pcr
Pcr /Kcr
log10 (Kcr )
log10 (Pcr )
P
1.6403
0.0046
1.6769
0.0002
0.8615
2.9089
0.0012
0.7635
0.4049
12.6948
I
92.5612
0.0071
33.0655
0.0020
1.0680
133.7959
0.0011
5.6721
0.9487
336.1220
8. IMPLEMENTATION
For implementation purposes, fractional PID controllers are usually converted into integer continuous transfer functions or into discrete transfer
functions. This is done replacing each fractional
derivative with a suitable approximation.
There are many ways of finding integer or discrete
transfer functions that approximate a fractional
derivative. In what follows one of the most popular integer ones will be considered. On digital
approximations of fractional derivatives, see for
instance (Valerio and S
a da Costa, 2005a).
0.7381
0.0004
0.1907
0.0000
0.0167
0.0360
0.0000
0.0792
0.0164
0.4636
D
8.6771
0.0636
1.0487
0.0529
2.1166
8.4563
0.0113
2.3350
0.0002
16.6034
0.6688
0.0000
0.4765
0.0002
0.3695
0.4083
0.0001
0.0639
0.1714
3.6738
N 1+
Y
n=1
1+
s
z,n
s
p,n
>0
(31)
z,1 = a
(32)
p,n = z,n , n = 1 . . . N
(33)
z,n+1 = p,n , n = 1 . . . N 1
= (b /a )
= (b /a )
1
N
(34)
(35)
(36)
n + = n Z [0; 1] (37)
9. ROBUSTNESS
Evidence showing that rules in sections 3 and 4
provide reasonable, robust controllers has been
presented in (Valerio and S
a da Costa, 2005b;
Valerio and S
a da Costa, 2006). Here, similar
examples are shown for critical gain based rules.
The plant considered is
G1 (s) =
K
e0.2s
20s + 1
(38)
C1 (s) = 0.0109 +
1
s3 + 2.539s2 + 62.15s
(41)
14.3683
1.6866s1.2328 (42)
s0.5588
(43)
b = 10 rad/s
(44)
N =7
(45)
10. CONCLUSIONS
In this paper tuning rules (inspired by those proposed by Ziegler and Nichols for integer PIDs) are
given to tune fractional PIDs. Two different sets
of fixed performance specifications are used; other
rules may be similarly obtained for other sets.
Such specifications are roughly followed and are
more stringent than those aimed at by the rules of
Ziegler and Nichols. Though developed for plants
with particular forms, the rules presented can
usually be applied to other plants with different
transfer functions, as long as they have S-shaped
unit-step responses or a critical gain control.
Fractional PIDs so tuned perform better than
rule-tuned PIDs. This may seem trivial, for we
now have five parameters to tune (while PIDs
have but three), and the actual implementation
requires several poles and zeros (while PIDs have
but one invariable pole and two zeros). But the
new structure might be so poor that it would not
improve the simpler one it was trying to upgrade;
this is not, however, the case, for fractional PIDs
perform fine and with greater robustness. Additionally, examples given show tuning rules to be
an effective way to tune the five parameters required. Of course, better results might be got with
an analytical tuning method for integer PIDs;
but what we compare here is the performance
with tuning rules. These reasonably (though not
exactly) follow the specifications from which they
were built (through tuning by minimisation).
One might wonder, since the final implementation
has plenty of zeros and poles, why these could
not be chosen on their own right, for instance
adjusting them to minimise some suitable criteria.
Of course they could: but such a minimisation is
hard to accomplish. By treating all those zeros
and poles as approximations of a fractional controller, it is possible to tune them easily and with
good performances, as seen above, and to obtain a
understandable mathematical formulation of the
dynamic behaviour obtained.
So this seems to be a promising approach to
fractional control. Future work is possible and
desirable, to further explore other means of tuning
this type of controller.
20
gain / dB
gain / dB
100
1.5
50
0
output
50 2
10
10
0
0
10
20
time / s
30
40
50
10
10
10
10
20
500
1000 2
10
40
60 2
10
10
gain / dB
0.5
phase /
10
frequency / rads1
0
20
10
10
10
10
10
0
20
40 2
10
10
10
frequency / rads1
10
10
Fig. 3. Left: Step response of (38) controlled with (39) when K is 1/16, 1/8, 1/4, 1/2, 1 (thick line),
2, 4 and 8; centre: open-loop Bode diagram when K = 1; right: sensitivity function gain (top) and
closed-loop gain (bottom) when K = 1
20
gain / dB
gain / dB
100
1.5
50
0
output
50 2
10
10
0
0
10
time / s
30
40
50
1000 2
10
10
10
10
20
500
20
40
60 2
10
10
phase /
0.5
10
gain / dB
10
frequency / rads1
0
20
10
10
10
10
10
0
20
40 2
10
10
10
frequency / rads1
10
10
Fig. 4. Left: Step response of (38) controlled with (40) when K is 1/32, 1/16, 1/8, 1/4, 1/2, 1 (thick
line), 2, 4 and 8; centre: open-loop Bode diagram when K = 1; right: sensitivity function gain (top)
and closed-loop gain (bottom) when K = 1
1.5
20
gain / dB
gain / dB
50
0
50
output
10
10
10
frequency / rads1
10
0
0
20
time / s
30
40
50
200
300
2
10
10
10
10
20
gain / dB
phase /
10
40
60 2
10
10
100
0.5
0
20
10
10
10
frequency / rads1
10
10
10
10
0
20
40
60
80 2
10
10
10
Fig. 5. Left: Step response of (41) controlled with (42) when K is 1/8, 1/4, 1/2, 1 (thick line), 2, 4,
8 and 16; centre: open-loop Bode diagram when K = 1; right: sensitivity function gain (top) and
closed-loop gain (bottom) when K = 1
REFERENCES
Caponetto, R., L. Fortuna and D. Porto (2002).
Parameter tuning of a non integer order PID
controller. In: Electronic proceedings of the
15th International Symposium on Mathematical Theory of Networks and Systems.
Caponetto, Ricardo, Luigi Fortuna and Domenico
Porto (2004). A new tuning strategy for a non
integer order PID controller. In: First IFAC
Workshop on Fractional Differentiation and
its Applications. Bordeaux.
Monje, C. A., B. M. Vinagre, Y. Q. Chen, V. Feliu,
P. Lanusse and J. Sabatier (2004). Proposals
for fractional PI D tuning. In: First IFAC
Workshop on Fractional Differentiation and
its Applications. Bordeaux.
Oustaloup, Alain (1991). La commande
CRONE : commande robuste dordre non entier. Herm`es. Paris. In French.
Podlubny, Igor (1999). Fractional differential
equations. Academic Press. San Diego.