Design of Fractional - Order PID Controller Based On Genetic Algorithm
Design of Fractional - Order PID Controller Based On Genetic Algorithm
= ymax
value in the domain of the problem to be solved
"
111 111
is the object of study. Optimization Method for n
Optimal Solution. The advantage is not too much Where δ indicates the accuracy of the
dependent on other auxiliary conditions, but only encoding, and the length of the code or the
need to ensure that there is a suitable fitness number of bits n , the value is:
function, in a sufficient number of populations
ymax − ymin
and the number of iterations case, for different δ= (2)
problems can be the optimal solution or 2n − 1
suboptimal Solution, independent of the specific For a parameter value y , if y contains a
problem areas. fractional part and has a precision of m bits,
2 PRINCIPLES OF GENETIC the binary code string shall satisfy:
OPTIMIZATION ALGORITHM 2 n −1 < y − ymin < 2n − 1 (3)
The process of converting the true value
As the application of genetic algorithm is quite
extensive, coding methods are also varied. At y − ymin into a binary number for a point y
present, there is not a set of strict and complete in the interval is the binary coding process of the
convincing guidance theory and standards to parameter.
design appropriate coding methods, commonly For binary digital code string x decoding
used coding methods are: mode of operation is to set its decimal number is
Binary coding: is the most basic encoding, the demical ( x) :
mathematical symbol set is binary
y max − y min
symbols0and1binary symbol set {0,1}, the y = y min + demical ( x ) (4)
length of the code string need to solve the 2n − 1
problem according to the accuracy and Therefore, for a parameters, the encoding
complexity of the problem determine. Assuming length of each parameter is n j , j = 1, 2," , a
that the parameter has a spatial range of
to be optimized, then all parameters are binary
[ ymin , ymax ] , coding the parameter with a binary coded into a binary code whose total length is:
978-1-5090-4657-7/17/$31.00 2017
c IEEE 808
N = n1 + n2 + " + na (5) probability of the way the father of individual
selection to the offspring. Commonly used
Floating-Point Coding: Each individual
methods are roulette methods, random
corresponds to a different floating-point number
competition, the best choice to retain, no
within the solution space. The number of
playback random selection , this selection of
floating-point numbers is equal to the number of
roulette methods.
variables to be solved. The coding method is
The Roulette Wheel Selection method is the
mainly used to solve some multidimensional and
operation of selecting the current solution in a
high precision continuous function optimization
put-back fashion according to the randomly
problems. The advantage of this method is that it
generated probability after converting the
can maintain better population diversity in
existing solution to probability. Assuming that
crossover operation and mutation operation,
especially in the larger solution space. , And the the population of the current solution is N and
higher the accuracy of the lower complexity. the fitness value of the i th individual is F (i ) ,
Specific steps are as follows: the probability of the individual being selected
(1) The parameters are encoded is:
From the solution space of the problem to be F (i)
solved, N initial values are randomly selected as Pi = N
(7)
the parent and constitute the initial population. In ¦ F (i )
i =1
order to avoid the time occupation and precision
The N probability values are arranged in order
loss caused by the conversion between binary
and floating point (decimal), this paper adopts from small to large. In the selection process,
the floating-point encoding method to encode the randomly generated numbers between [0,1] are
M +1 M
N initial values with easy-to-implement binary
encoding and floating-point encoding method. between ¦i =1
pi and ¦ p , (M < n) ,
i =1
i then the
(2) Select the appropriate fitness function
Since the probability of choosing the parent to Mth individual is selected to the next generation
the next generation is related to the individual until N individuals are selected until. The
fitness value, it is also a probabilistic problem. number of groups is limited and the random
Therefore, this method can not guarantee that selection of the solution operation and other
individuals with high fitness values can select reasons, each solution in the actual operation
the next generation, and individuals with low was selected to the next generation of the
fitness values Can not be selected for the next number of its selected number of times between
generation. The fitness function has a great n
r e u y
points. For a single point of intersection, the ki p( s)
method of operation is, for a string of code, -
kd
resulting in a probability of random Pc ∈ [0,1] ,
then N * Pc represents the location of the cross,
Figure 3 integer order PID controller structure
until the N individual operation is completed. The control law is:
Two-point crossover and multipoint crossover de(t )
are similar to this method except that the u (t ) = k p e(t ) + ki ³ e(t ) dt + kd ˄10
corresponding number of probabilities need to be dt
generated to determine the position at which to ˅
cross. 4 DESIGN OF FRACTIONAL
For paired chromosomes A, B that encode ORDER CONTROLLER
parameters as floating-point numbers, pairs of
The structure of the fractional-order controller is
pairs of chromosomes are often manipulated
shown below:
using arithmetic crossovers
Ai +1 = α B i + (1 − α ) A i
kp
(8)
B i +1 = α Ai + (1 − α ) B i r e
ki s − λ
u
p(s)
y
rin,yout