Genetic Algorithm-Based Adaptive Tuning Method of PID Controllers
Genetic Algorithm-Based Adaptive Tuning Method of PID Controllers
net/publication/271842666
CITATIONS READS
0 112
4 authors, including:
Hussam Khasawneh
University of Jordan
28 PUBLICATIONS 99 CITATIONS
SEE PROFILE
Some of the authors of this publication are also working on these related projects:
Gentle Electromagnetic Pump for Fluids with Stress-Sensitive Microparticles View project
All content following this page was uploaded by Zaer Abo-Hammour on 05 March 2015.
The input data to the algorithm is divided into Consider the open loop transfer function is:
two parts; the genetic-algorithms related parameters s +1
and the plants related parameters. The genetic- G(s) =
algorithms related parameters include the population s + 10 s + 32 s 2 + 32 s
4 3
size, Np, the cross over probability, Pc, the mutation Results of the tuning process for the PID controller
probability, Pm, the weights of the fitness function, using the genetic algorithm and the root locus
the initialization method, the selection scheme, the techniques are shown in Table 1 where all weights
replacement method, and finally the termination used in the fitness function have the value of 0.25.
criterion. The plants related parameters include the Results show the superiority of the genetic
coefficients of both numerator and denominator of algorithms in tuning the PID controller over the root
the plant transfer function, the range of searching for locus method. After that, the effects of different
each parameter of controllers (KP, KI, and KD), and values of the weights of fitness function were
the desired values of every response parameter ( Tr, considered. In this process, emphasis is given to
Tp, OS, Ts). one response parameter (a value of 0.7), while the
The initial setting of the genetic-algorithm other three parameters are given less equal weight (a
related parameters are as follows: the population size value of 0.1 for each). This process is repeated four
is set 100 individuals. The crossover probability is times to take all the possibilities. The results are
kept at 0.7, the mutation probability is 0.01. The shown in Table 2 and Figure 2, where it is clear that
rank based selection strategy is used where the rank- for this plant, the weights changes of the settling
based ratio is set to 0.5. Generational replacement time, rise time, and peak time, have a minor impact
scheme is applied where the number of elite parents on the response parameters while the overshoot is
that are passed to the next generation equals one– seriously affected by the weight changes.
tenth of the population size. The searching range for
KP, KI, and KD parameters set to 0-500, 0-100, and
0-20 respectively with accuracy equal to 0.1. The
genetic-algorithm is stopped when one of the
following conditions is met. First, the improvement
in the fitness value of the best individual in the
population over 100 generations is less than 0.001.
Second, a maximum number of 1000 generations is
reached.
Different plants were investigated for the
purpose of tuning the PID controller. However, we
will present only one case, which will present the
overall conclusion of this new technique. Results of
the tuning process using GAs will be compared with Figure 2. Step response for different weights
the results of tuning the controller using the root
locus technique. Furthermore, the effects of the
Table 1. Comparison between PID tuning using GA with equal weights and root locus
Method used PID Parameters Response Parameters
KP KI KD TS Tr TP OS%
Root locus tuning 46.13 1.86 90.46 5.34 0.214 0.308 2.95
Genetic algorithm tuning 88.9 0.6 50.1 2.86 0.265 0.498 0.484
Table 2. Step response results of the PID controlled plant for different weights using GA
Fitness Weights PID Parameters Response Parameters
W_ts W_tr W_tp W_os KP KI KD TS Tr TP OS%
0.7 0.1 0.1 0.1 165.3 5.8 20 2.73 0.293 0.652 35.2
0.1 0.7 0.1 0.1 171.5 45.3 18.8 3.21 0.271 0.657 37.7
0.1 0.1 0.7 0.1 111 11.6 12.8 4.220 0.355 0.820 26.4
0.1 0.1 0.1 0.7 74 0 18.2 2.700 0.470 0.850 0.464
5. Conclusions
In this paper, an approach for the optimal tuning [5] K. Ogata, Modern Control Engineering. Prentice Hall.
of the PID controller parameters using genetic USA, 4th edition, 2002.
algorithms is introduced. In this approach, the user [6] R. Bandyopadhyay, U. Chakraborty, D. Patranabis,
specifies his own design specifications of the plant "Auto tuning a PID controller: A fuzzy- genetic
response in time domain. The genetic algorithm will approach", Journal of systems Architecture. Vol. 47,
then tune the three parameters of the PID controller 2001, pp. 663-673.
in an adaptive manner, where the desired [7] C. Jiang, Y. Ma, C. Wang, PID controller parameters
optimization of hydro-turbine governing systems using
specification values will be reduced automatically deterministic –chaotic- mutation evolutionary
once any of the actual response parameters is equal programming (DCMEP). Energy conversion and
to or smaller than the desired value. In this manner, management, 2006.
the designer will get the best results of the genetic [8] S. Skogestad, "Simple analytic rules for model
algorithm after the termination process of the reduction and PID controller Tuning", Journal of Elsevier
evolution. Process Control, V. 13, 2003, pp. 291-309.
Simulation results show that the proposed [9] W. Tan, F. Lu, A. Loh, K. Tan, "Modeling and control
genetic approach outperforms the conventional root of a pilot pH plant using genetic algorithm", Engineering
locus method for the tuning process. Furthermore, it applications of artificial inelegance. Vol. 18, No. 4,
is also concluded that the weighting factors used in 2005, pp. 485-494.
the fitness function may have a noticeable impact on [10] J. Holland, Adaptation in Natural and Artificial
Systems. Ann Arbor: University of Michigan Press, 1975.
the tuning process and correspondingly plant [11] D. Godberg, Genetic Algorithms in Search,
response. Optimization and Machine Learning, Reissue, Addison-
Wesley Publishing Company, 1980.
6. References [12] J. Lima, A. Ruano, "Neuro-genetic PID auto tuning:
time invariant case", IMACS Journal of Mathematics and
[1] N. Koivo, J. Tanttu, "Tuning of PID Controller: Computers in Simulation, Vol. 51, 2000, pp. 287-300.
Survey of SISO and MIMO techniques", Proc. IFAC [13] Z. Abo-Hammour, Advanced continuous Genetic
Inteelligent Tuning Adaptive Control Symp., Singaphore, Algorithm and their Applications in the motion planning
1991, pp. 75-80. of robot manipulators and in the numerical solution of
[2] W. Bialkowski, The Control Handbook, W.S. Levine, boundary value problems, Pakistan Institute of
Ed. Boca Raton, Florida: CRC/IEEE Press, 1996, pp. engineering and applied science, Pakistan, 2002.
1219-1242. [14] C. Lin, H. Jan, T. Hwang, Structure Variable PID
[3] L. Desborough, R. Miller, "Increasing customer value Control Design Based on DNA Coding Method. Proc.
of industrial control performance monitoring – IEEE Int. Conf. Control Applications, 2004.
honeywell’s experience", Proc. 6th Int'l Conf. Chemical [15] A. Seyedkazaemi, A. Akbarimajed, A. Rahnamaei,
Process Control (CPC VI), John Wiley & Sons, 2002, pp. A. Baghbanpourasl, A genetically Tuned Optimal
172-192. Controller. Proc. Int. Conf. on Artificial Intelligence,
[4] K. Astrom, T. Hagglund, Advanced PID Control. Corfu Island, Greece, 2007.
Research T. Park, NC: ISA, 2005.