Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
mathematical model and real system. The main reason for through the course of the process and eventually converging
using integer-order models was the absence of solution on a single minimum error solution.
methods for fractional-order differential equations. Let the swarm consist of N particles moving around in a D-
PID controllers belong to dominating industrial controllers dimensional search space. Each particle is initialized with a
and therefore are objects of steady effort for improvements of random position and a random velocity. Each particle
their quality and robustness. One of the possibilities to modifies its flying based on its own and companions’
improve PID controllers is to use fractional-order controllers experience at every iteration. The ith particle is denoted by Xi,
with non-integer derivation and integration parts. where Xi = (xi1,xi2,…,xiD). Its best previous solution (pbest) is
A fractional PID controller therefore has the transfer function: represented as Pi = (pi1,pi2,…,piD). Current velocity (position
Kp + Tis-λ + Tdsδ. changing rate) is described by Vi, where Vi = (vi1,vi2,…,viD).
The orders of integration and differentiation are respectively Finally, the best solution achieved so far by the whole swarm
λ and δ (both positive real numbers, not necessarily integers). (gbest) is represented as Pg = (pg1,pg2,…,pgD).
Taking λ =1 and δ =1, we will have an integer order PID At each time step, each particle moves towards pbest and
controller. So we see that the integer order PID controller has gbest locations. The fitness function evaluates the
three parameters, while the fractional order PID controller has performance of particles to determine whether the best fitting
five. solution is achieved. The particles are manipulated according
The fractional order PID controller generalizes the integer to the following equations:
order PID controller and expands it from point to plane. This v id (t + 1) = ωv id (t) + c1 .ϕ1 .(p id (t) − x id (t)) + c 2 .ϕ 2 .(p gd (t) − x id (t))
expansion adds more flexibility to controller design and we (1)
can control our real world processes more accurately. x id ( t + 1) = x id ( t ) + v id ( t + 1) . (2)
We will design both integer order and fractional order PID th
(The equations are presented for the d dimension of the
controllers using the particle swarm optimization (PSO)
position and velocity of the ith particle.)
algorithm and display the advantages the fractional order
Here, c1 and c2 are two positive constants, called cognitive
controllers provide us over the integer order controllers.
learning rate and social learning rate respectively, ϕ1 and ϕ2
are two random functions in the range [0,1], ω is the inertia
factor which balances the global wide-range exploitation and
the local nearby exploration abilities of the swarm.
1 + (Kp + Tis-λ + Tdsδ).Gp(p1).H(p1) = 0. (6) After separating the real and imaginary parts we have:
Assuming H(s) = 1, and Gp(s) being known, (6) can be Ti
R = (K p + 1) + cos(130.57λ) o + Td 2.2 δ cos(130.57δ) o + 0.875
arranged as: 2.2 λ
1+[Kp+Ti(-x+jy)-λ+Td(-x+jy)δ]Gp(-x+jy)= 0. (7) (9)
In this complex equation (7) we have five unknowns, namely Ti
{Kp, Ti, Td, λ, δ}. There are an infinite number of solution I=− sin(130.57λ) o + Td 2.2 δ sin(130.57δ) o − 3.428 (10)
λ
sets for s = p1 = − x + jy . So the equation cannot be 2.2
Also, P = tan-1(I/R). (11)
unambiguously solved.
At this juncture, the PSO algorithm helps us the find the We minimize f = R + I + P using PSO technique
optimal solution set to the complex equation. using the following limits:
Let: 1 ≤ Kp ≤ 1000, 1 ≤ Ti , Td ≤ 500, 0 ≤ λ , δ ≤ 2,
R=real part of the complex expression, ω=0.729 and c1=c2=1.494.
I=imaginary part of the complex expression, The optimized parameters for the fractional order PID
P=phase ( = tan-1(I/R) ). controller are:
We define f = R + I + P and minimize ‘f’ using the Kp=442.68, Ti=324.03, Td=115.27, λ=1.5, δ=1.41.
PSO technique. Our goal is to find out the optimum solution The transfer function for the fractional order PID controller
set {Kp, Ti, Td, λ, δ} for which f=0. is: 442.38 + 324.03s-1.5 + 115.27s1.41.
The solution space is five-dimensional, the five dimensions If we set λ = 1 and δ = 1 before running the PSO algorithm,
being Kp, Ti, Td, λ and δ. So each particle has five- we obtain the three optimized parameters for the integer order
dimensional position and velocity vectors. The personal and PID controller.
global bests are also five-dimensional. The limits on the The optimized parameters for the integer order PID controller
position vectors of the particles (i.e. the controller parameters) are:
are set by us as follows. Kp = 214.84, Ti = 361.57, Td = 76.76.
As a practical assumption, we allow Kp to vary between 1 and The transfer function for the integer order PID controller is:
1000, Ti and Td between 1 and 500, λ and δ between 0 and 2. 214.84 + 361.57s-1 + 76.76s.
Initializations of the five variables are also done in the above- Finally we plot the time responses for unit step input in Fig. 3
mentioned ranges. for:
uncontrolled system open loop response,
We also set the inertia factor ω=0.729 and c1=c2=1.494.
system controlled by integral PID controller,
After running the PSO algorithm, we obtain the position
system controlled by fractional PID controller.
vector of the best particle i.e. the optimized values of the five
controller parameters.
For tuning an integer order PID controller, we simply set λ =
δ = 1, so that the solution space becomes three-dimensional.
The search ranges for the other three variables and the values
of ω, c1 and c2 are kept same as before.
After running the PSO algorithm, we obtain the position
vector of the best particle i.e. the optimized values of the
three controller parameters.
5. ILLUSTRATIONS
A. Example 1
The process (control objective) has the transfer function
1
0.8s 2.2 + 0.5s 0.9 + 1
We want to design a controller such that the closed loop
system has a maximum peak overshoot Mp = 10% and trise =
0.3 seconds.
This translates to ζ = 0.65 and ω0 = 2.2 s-1. The dominant
poles for the closed loop controlled system should lie at
(−1.43 + j1.67) and (−1.43 − j1.67) .
For p1 = (-1.43 + j1.67), the characteristic equation is:
K p + Ti (−1.43 + j1.67) − λ + Td (−1.43 + j1.67) δ
1+ =0 (8)
0.8(−1.43 + j1.67) 2.2 + 0.5(−1.43 + j1.67) 0.9 + 1 Fig. 3. Closed Loop Unit Step Response for Example 1
2nd National Conference on Recent Trends in Information Systems (ReTIS-08)
For the integer order PID controlled process, the maximum For the integer order PID controlled process, the maximum
peak overshoot is 12.5% and the rise time is 0.05 seconds. peak overshoot is 4% and the rise time is 0.4 seconds.
For the fractional order PID controlled process, the maximum For the fractional order PID controlled process, the maximum
peak overshoot is less than 2% and the rise time is 0.1 peak overshoot is about 0.5% and the rise time is almost nil .
seconds.
6. RESULTS
B. Example 2
The process has the transfer function:
Using fractional order PID controllers, we have significantly
400 reduced percentage overshoot and rise and settling times
s 2 + 50s (compared to integral PID controllers).
We want to design a controller such that the closed loop The controllers were designed using the dominant pole in the
system has a maximum peak overshoot Mp = 10% and trise = second quadrant (i.e. –x + jy). Similar results were obtained
0.3 seconds. when the third quadrant dominant pole − x − jy was used.
Proceeding as before: After running the PSO algorithm a substantial number of
The optimized parameters for the fractional order PID times, it was found that almost all the particles had fitness
controller are: zero or very close to zero.
Kp = 32.01, Ti = 10.14, Td = 9.71, λ = 1.19, δ = 1.36. It is noted that for the given common performance criteria on
The transfer function for the fractional order PID controller Mp and trise, the fractional order controller achieves better
is: results than its integer counterpart. The proposed scheme of
32.01 + 10.14s-1.19 + 9.71s1.36 fractional PID controller design will thus find extensive
Setting λ = 1 and δ = 1 before running the PSO algorithm, we commercial application in the next generation controller
obtain the optimized parameters for the integer order PID design.
controller as:
Kp = 3.2, Ti = 5.41, Td=1. REFERENCES
The transfer function for the integer order PID controller is: [1] I. Podlubny, I. Petras and B. M. Vinagre, P. O’ Leary,
3.2 + 5.41s-1 + s. L. Dorcak, “Analogue realizations of fractional-order
Finally we plot the time responses for unit step input in Fig. 4 controllers,” Nonlinear Dynamics, vol 29, pp. 281-
for: 296, 2002.
system controlled by integral PID controller, [2] B. M. Vinagre, I. Podlubny, L. Dorcak and V. Feliu,
system controlled by fractional PID controller. “On fractional PID controllers: A frequency domain
approach,” Proc. Of IFAC Workshop on Digital
Control – Past, Present and Future of PID Control,
pp. 53-58, 2000.
[3] Schlegel Milos and Cech Martin, “The fractional-
order PID controller outperforms the classical one,”
7th International Scientific-Technical Conference –
PROCESS CONTROL 2006, June 13-16, 2006,
Kouty nad Desnou, Czech Republic.
[4] Igor Podlubny, Ivo Petras, Blas M. Vinagre,
YangQuan Chen, Paul O’ Leary and Lubomir
Dorcak, “Realization of fractional order controllers,”
Acta Montanistica Slovaca, vol 8, 2003.
[5] I. Petras, “The fractional order controllers: Methods
for their synthesis and application,” Journal of
Electrical Enginnering, vol 50, no. 9-10, pp. 284-288,
1999.
[6] L. Dorcak, I. Petras, I. Kostial and J. Terpak, “State-
space controller design for the fractional-order
regulated system,” Proc. Of the International
Carpathian Control Conference, pp. 15-20, 2001.
[7] I. Podlubny, “Fractional-order systems and PIλDδ
controllers,” IEEE Trans. On Automatic Control,
vol.44, no. 1, pp. 208-213, 1999.
[8] Ivo Petras, Lubomir Dorcak and Imrich Kostial,
“Control quality enhancement by fractional order
Fig. 4. Closed Loop Unit Step Response for Example 2
2nd National Conference on Recent Trends in Information Systems (ReTIS-08)
controllers,” Acta Montanistica Slovaca, vol 3, no. 2, Conference on Neural Networks, pp.1942-1948,
pp. 143-148, 1998. 1995.
[9] Ivo Petras and Blas M. Vinagre, “Practical [11] Amit Konar and Swagatam Das, “Recent advances in
application of digital fractional-order controller to evolutionary search and optimization algorithms,”
temperature control,” Acta Montanistica Slovaca, vol NGMS 2006, January 11-13, 2006, BESU, Shibpur,
7, no. 2, pp. 131-137, 2002 Howrah, India.
[10] J. Kennedy and R. C. Eberhart, “Particle swarm
optimization,” Proc. of the IEEE International