In the next section, the idea behind the proposed
algorithm that uses a dynamic performance index
table will be outlined.
3 A DYNAMIC SUPERVISORY
LAYER USING THE ON-LINE
PARTICLE SWARM
OPTIMISATION ALGORITHM
The PSO is used in the proposed algorithm to
modify the performance index table of the SOFLC at
every sampling instant with only one particle from a
population being evaluated at that instant. The other
particles in the PSO population are then estimated
based on their relationship to the one applied to
process (optimal one); Figure 2 shows the structure
of the proposed scheme.
3.1 The PSO Process Encoding
In the proposed algorithm, the rules of the
performance index table are optimised by ‘N’ sets of
the PSO algorithm, where the number of these sets
‘N’ is decided by the number of cells in the PI table.
Each PSO set is independent and does not depend on
other PSO sets and only includes a small size of
particles. At each sampling instant, particles of the
set that represents the consequence of the PI table
will carry out one iteration ( equations 3 and 4) to
generate new particles and velocities , the remaining
‘N-1’ PSO sets in the other cells are kept unchanged.
Various PI tables with different sizes were tried
and good results are achieved when a PI table with
25 cells was used and was therefore adopted in this
paper; the inputs of the PI table are taken as the
tracking error and the change of error, while the
output of the table is rule modification value
P
i
(nT)
of the low-level basic fuzzy logic controller. Each
rule of the PI table is optimised through a PSO set
which consists of 5 particles. With such a population
size, a fast convergence is achieved, thus making the
optimisation process computationally inexpensive.
In the first generation, the 5×25 particles and
velocities are randomly generated, all particles are
given the same fitness values and a random particle
is selected in each set to fill the corresponding cell
of the PI table.
Figure 3 shows an example of how PI rules are
updated in the proposed algorithm and how the low-
level fuzzy logic controller is modified. At the
sampling instant ‘nT’, the cell ‘F24’ which produced
the modification value P
i
(nT-mT) at the sampling
instant ‘nT-mT’ is recalled again. All the 5 particles
in this cell experience one iteration of the PSO-
based operations after being given various rankings
based on the estimated fitness values, resulting in
new particles and velocities in this cell. If this cell
‘F24’ is visited again by the SOFLC algorithm, the
shaded particle ‘0.6’ in part B, for instance, with the
highest fitness (optimal particle), will be selected to
generate the modification value. In the meantime ,
the cell ‘F41’ is responsible for providing the lower-
level fuzzy logic rule-base with the modification
value
P
i
(nT) .The shaded particle ‘0.2’ in set A is the
one with the highest fitness and will be selected to
produce the modification value.
The new generated fuzzy rules are stored in a
rule bank and are added to this bank according to
this mechanism: a new rule can be added to a
particular cell of the rule bank if there is no rule in
this cell, otherwise the existing rule will be replaced
by the new one.
Figure 2: The detailed structure behind the proposed
SOFLC algorithm.
3.2 The on-Line PSO Algorithm
PSO has been classically developed for use in off-
line optimisation. In this technique, the social
behaviour among particles flying through a
multidimensional search space is simulated using
equations 3 and 4. In the off-line schema, swarms
which represent sets of solutions evolve for a
number of generations in order to produce the best
solution which is used as the system output. For
instance, when the PSO is used to tune a PID
controller (Oi et al., 2008), the optimisation is
carried out off-line based on a mathematical model
that represents the process to be controlled. At each
iteration, all the particles in the swarm are tested
through a fitness function to evaluate their suitability
to control the process; the best obtained solution is
then used in the real system afterwards.
Self-OrganisingFuzzyLogicControlwithaNewOn-LineParticleSwarmOptimisation-basedSupervisoryLayer
97