Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
a r t i c l e in f o
a b s t r a c t
Article history:
Received 21 October 2007
Accepted 21 July 2009
Available online 19 August 2009
Application of fractional order PID (FOPID) controller to an automatic voltage regulator (AVR) is
presented and studied in this paper. An FOPID is a PID whose derivative and integral orders are
fractional numbers rather than integers. Design stage of such a controller consists of determining ve
parameters. This paper employs particle swarm optimization (PSO) algorithm to carry out the
aforementioned design procedure. PSO is an advanced search procedure that has proved to have very
high efciency. A novel cost function is dened to facilitate the control strategy over both the timedomain and the frequency-domain specications. Comparisons are made with a PID controller and it is
shown that the proposed FOPID controller can highly improve the system robustness with respect to
model uncertainties.
& 2009 Elsevier Ltd. All rights reserved.
Keywords:
AVR
Optimal control
Particle swarm optimization
Fractional order PID controller
Robustness improvement
1. Introduction
Fractional calculus extends the ordinary calculus by extending
the ordinary differential equations to fractional order differential
equations, i.e. those having non-integer orders of derivatives and
integrals. Such equations can provide linear models and transfer
functions for some innite-dimensional physical systems (Canat &
Faucher, 2003). On the other hand, fractional order controllers
may be employed to achieve feedback control objectives for such
systems. Modeling and control topics using the concept of
fractional order systems have been recently attracting more
attentions because the advancements in computation power
allow simulation and implementation of such systems with
adequate precision.
Fractional order PID (FOPID) controller is a convenient
fractional order structure that has been employed for control
purposes (Ferreira & Machado, 2003; Monje, Vinagre, Feliu, &
Chen, 2008; Podlubny, 1999). An FOPID is characterized by ve
parameters: the proportional gain, the integrating gain, the
derivative gain, the integrating order and the derivative order.
Different design methods have been reported including pole
distribution (Petras, 1999), frequency domain approach (Vinagre,
Podlubny, Dorcak, & Feliu, 2000), state-space design (Dorcak,
Petras, Kostial, & Terpak, 2001) and two-stage or hybrid approach
ARTICLE IN PRESS
M. Zamani et al. / Control Engineering Practice 17 (2009) 13801387
2. Fractional calculus
Fractional calculus is a generalization of the ordinary calculus.
The chief idea is to develop a functioning operator D, associated to
an order v not limited to integer numbers, that generalizes the
ordinary concepts of derivative (for a positive v) and integral (for a
negative v) (Valerio & Sa Da Costa, 2006).
There are different denitions for fractional derivatives. The
most usual denition is introduced by Riemann and Liouville
(Oldham & Spanier, 1974) that generalizes the following denitions corresponding to integer orders:
Z x
x tn1
n
f t dt; n 2 N
1
0 Dx f x
n 1!
c
The generalized denition of D becomes c Dvx f x. The Laplace
transform of D pursues the renowned rule L0 Dvx sv Fs for zero
initial conditions. This means that, if zero initial conditions are
assumed, the systems with dynamic behavior described by
differential equations including fractional derivatives give rise to
transfer functions with fractional orders of s. More details are
provided in Miller and Ross (1993) and Samko, Kilbas, and
Marichev (1993).
The most common way of using, in both simulations and
hardware implementations, of transfer functions including fractional orders of s is to approximate them with usual (integer
order) transfer functions. To perfectly approximate a fractional
transfer function, an integer transfer function would have to
involve an innite number of poles and zeroes. Nonetheless, it is
possible to obtain logical approximations with a nite number of
zeroes and poles.
One of the well-known approximations is caused by Oustaloup
who uses the recursive distribution of poles and zeroes. The
approaching transfer function is given by Oustaloup (1991):
sv k
N
Y
1 s=oz;n
n1
1 s=op;n
op;n oz;n e;
oz;n1 op;n Z;
n 1; . . . ; N
n 1; . . . ; N 1
1381
vt1
id
id
id
id
xt1
xt
vt1
;
id
id
id
d 1; . . . ; D
9
10
5
4. AVR design using FOPID controller
v=N
e oh =ol
Z oh =ol 1v=N
The case vo0 can be handled by inverting (2). For jvj41, the
approximation becomes dissatisfactory. So it is common to
separate the fractional orders of s as follows:
sv sn sd ;
v n d;
n 2 Z; d 2 0; 1
12
13
ARTICLE IN PRESS
1382
VC s 1 tA s
14
Typical values of kA are in the range of 10400. The amplier timeconstant often ranges from 0.02 to 0.1 s.
Exciter model: Exciter model and parameters greatly depend on
its type. A simplied transfer function of a modern exciter is
VF s
kE
VR s 1 tE s
15
Typical values of kE are in the range of 0.81 and the timeconstant tE for an AC exciter is in the range of 0.51.0 s.
Vt s 1 tR s
16
ARTICLE IN PRESS
M. Zamani et al. / Control Engineering Practice 17 (2009) 13801387
1383
Vref(s)
FOPID Controller
Amplifier
Exciter
Limiter
Generator
Vt(s)
ISE
17
e2 t dt
18
ITSE
If the particle k does not satisfy the stability of closed loop, then k
is an unstable particle and its cost function is penalized with a
very large positive constant P1 . Consequently, k does not survive in
the evolutionary process. Otherwise, the particle k is not
penalized. Therefore, the total evaluation of a particle k, can be
obtained as
Fk Jk Pk
te t dt
19
w5 jetj w6 u2 tdt
PM GM
0
22
23
24
20
t1
kmin
okmax
d okid
d
25
where kmin
and kmax
represent the lower and upper bounds,
d
d
respectively, of member d of the particle k. For example, when
and kmax
d is 1, the lower and upper bounds of kP are kmin
P
P ,
respectively.
(6) If the number of iterations reaches the maximum, then go to
Step 7, otherwise go to Step 2.
(7) The latest Pg is the optimal controller parameter.
The owchart of the algorithm is also shown in Fig. 4.
ARTICLE IN PRESS
1384
Start
Evaluate cost of
(22) for Ki (F(ki)),
i=1,...,n
Pi=Ki
i=1,...,n
F(ki)<F(Pi)
i=1,...,n
N
5.3. First test: basic performance
Pg=best of Pi
i=1,...,n
Ten trials are performed for the proposed controller. The best
solution is summarized in the rst row of Table 1.
The designed FOPID controller is of order six as its fractional
derivative and integral have been approximated by N 3 in (2).
The Hankel minimum degree approximation (MDA) without
balancing (Safonov, Chiang, & Limebeer, 1990) can be employed
to reduce its order to four
1:111e005s4 1:268e006s3 1:405e007s2 2:281e006s 955
G~ c s
s4 4:258e005s3 8:407e007s2 4:322e004s
26
iter<iter_max
Optimal solution=Pg
End
5. Numerical results
d
argGc joGjojoocg C0
do
27
ARTICLE IN PRESS
M. Zamani et al. / Control Engineering Practice 17 (2009) 13801387
1385
Table 1
Comparison of the evaluation values between both the PID and the proposed FOPID controller.
Controller
KP
KI
KD
MP %
tr
ts
ESS
PM
GM
Jk
FOPID
Red. FOPID
PID
0.17
0.0046
0.03
0.0268
0.014
0.18
0.97
1.38
0
0
2
27
27
17.6
52
51
27
0
0
0
95
94
69
310
309
124
750
755
1042
80
Original FOPID Controller
Reduced FOPID Controller
Magnitude (dB)
60
40
20
0
20
180
Phase (deg)
135
90
45
0
45
90
104
102
100
102
104
0.6
0.4
VF s
1
VR s 0:5 0:5
Step Response
1.4
AVR with FOPID
AVR with PID
1.2
Amplitude
1
0.8
0.2
0
0
50
100
150
28
Time (sec)
Fig. 6. Step responses of the AVR controlled by PID and FOPID.
This means that the system with FOPID controller is more robust,
with respect to gain changes, in comparison with the one with
using PID controller (Valerio & Sa Da Costa, 2006). This occurs due
to the presence of phase margin in performance criterion (20). As
6. Conclusion
This paper presents a design method for determining the
FOPID controller parameters using the PSO algorithm. The
proposed method involves a new time-domain and frequencydomain performance criterion. Application of the method to a
practical AVR shows that the proposed algorithm can perform an
ARTICLE IN PRESS
1386
Bode Diagram
Magnitude (dB)
50
100
AVR with FOPID
AVR with PID
150
360
270
Phase (deg)
180
90
0
90
180
270
102
101
100
Frequency (rad/sec)
101
102
Step Response
Step Response
1.8
2
AVR with FOPID
1.6
1.6
1.4
1.4
Amplitude
1.2
Amplitude
1.8
1
0.8
0.6
1.2
1
0.8
0.6
0.4
0.4
0.2
0.2
0
0
0
50
100
150
200
250
300
350
400
Time (sec)
Fig. 8. Step responses of the AVR controlled by PID and FOPID in the presence of
uncertainties in generator model.
References
Canat, S., & Faucher, J. (2003). Fractional order: Frequential parametric identication of the skin effect in the rotor bar of squirrel cage induction machine. In
Proceedings of design engineering technical conference.
50
100
150
200
250
Time (sec)
300
350
400
Fig. 9. Terminal voltage step responses of the AVR controlled by PID and FOPID in
the presence of generator and exciter uncertainties.
Chengbin, M., & Hori, Y. (2004). The application of fractional order pid
controller for robust two-inertia speed control. In Proceedings of 4th
international power electronics and motion control conference (pp. 14771482),
August.
Dorcak, L., Petras, I., Kostial, I., & Terpak, J. (2001). State-space controller design for
the fractional-order regulated system. In Proceedings of ICCC (pp. 1520).
Eberhart, R., & Shi, Y. (2001). Particle swarm optimization: Developments,
applications and resources. In Proceedings of IEEE international conference on
evolutionary computation (pp. 8186).
Ferreira, F., & Machado, T. (2003). Fractional-order hybrid control of robotic
manipulators. In Proceedings of 11th international conference on advanced
robotics (pp. 393398), June.
Gaing, Z. (2004). A particle swarm optimization approach for optimum design
of pid controller in avr system. IEEE Transactions on Energy Conversion, 19(2),
384391.
ARTICLE IN PRESS
M. Zamani et al. / Control Engineering Practice 17 (2009) 13801387
IEEE standard denition for excitation systems for synchronous machines (ansi)
(1986). IEEE Std 421.1.
Kennedy, J., & Eberhart, R. (1995). Particle swarm optimization. In Proceedings of
IEEE international conference on neural networks (Vol. 4, pp. 19421947).
Krohling, R. A., & Rey, J. P. (2001). Design of optimal disturbance rejection pid
controllers using genetic algorithm. IEEE Transactions on Evolutionary Computation, 5(1), 7882.
Kundur, P. (1994). Power system stability and control. New York: McGraw-Hill.
Liang, J. J., Qin, A. K., Suganthan, P. N., & Baskar, S. (2006). Comprehensive learning
particle swarm optimizer for global optimization of multimodal functions. IEEE
Transactions on Evolutionary Computation, 10(3), 281295.
Lubich, C. (1986). Discretized fractional calculus. SIAM Journal of Mathematical
Analysis, 17(3), 704719.
Miller, K. S., & Ross, B. (1993). An introduction to the fractional calculus and fractional
differential equations. New York: Wiley.
Monje, C. A., Vinagre, B. M., Feliu, V., & Chen, Y. Q. (2008). Tuning and auto-tuning
of fractional order controllers for industry applications. Control Engineering
Practice Journal, 16(7), 798812.
Naka, S., Genji, T., Yura, T., & Fukuyama, Y. (2001). Practical distribution state
estimation using hybrid particle swarm optimization. In Proceedings of IEEE
power engineering society (Vol. 2, pp. 815820).
Oldham, K. B., & Spanier, J. (1974). The fractional calculus. New York: Academia.
Oldham, K. B., & Zoski, C. G. (1983). Analogue instrumentation for
processing polarographic data. Journal of Electroanalytical Chemistry, 157(1),
2751.
1387