Professional Documents
Culture Documents
ABSTRACT I. INTRODUCTION
978-1-5090-2084-3/16/$/31.002016 IEEE
217
2016 1st International Conference on Innovation and Challenges in Cyber Security (ICICCS 2016)
218
2016 1st International Conference on Innovation and Challenges in Cyber Security (ICICCS 2016)
rate of flow of qin cubic meters per second. controls. These basic process controls are
Water is flowing out of the tank via a hole in developed and built with the process itself,
the bottom of the tank of area a. The rate of to facilitate basic operation, control and
flow of water through the hole is following automation requirements [8].
the Bernoulli equation given by:
qout = a2gh (2) a) Genetic Algorithm
Genetic Algorithm (GA) is a global
optimization algorithm which is derived
from evolution and natural selection.
Genetic algorithm cannot always provide
optimal solution; it has its own advantages
and it is a powerful tool for solving complex
problems. The basic thought of genetic
algorithm shown in flow graph
Population members
Figure 3 Simple Water Tank
where h is level of tank and g is gravity.
Conservation of mass yields the equation Generation = 0
A = qin - qout = qin a2gh (3)
Evaluate fitness value of
Parameters in equations 3.2 are h = 25cm, r
population members
= 9.5cm, a = 0.07cm and surface area of
tank is A=2057.5cm 2058cm
Integrating the equation (3), and taking Selection
laplace transform of the above equation
H(s) = (qin a2gh) Crossover
The simulink model shown in Figure 4
Gen = Gen+1 Mutation
No
Is it the last
generation
Figure 4 Simulink Model for Water Level
Yes
III. TECHNIQUES OF INTELLIGENT
CONTROLLERS Stop
Advanced Process Control (APC) refers to Figure 5 Flow graph for GA algorithm
an advance range of techniques and 1) Randomly producing an original
technologies implemented within industrial population whose number of individuals
process control systems and advanced is a constant N.
process controls are usually deployed
optionally and in addition to basic process
219
2016 1st International Conference on Innovation and Challenges in Cyber Security (ICICCS 2016)
2) Second step is producing next The simulink model of water level shown in
generation by crossing over and Figure 4 has been incorporated with PID
mutation among individuals. controller and PSO/GA and is shown in Fig.
3) Forming the new population of these 5. The set point is defined by unit step
N individuals from the generation of 2 function which represents the desired set
4) Producing the next generation by point. The output of simulink model which
repeating the step 2 and step 3 until represents the output values of process
obtaining the individual which satisfies variables.
conditions.
b) PSO ALGORITHM
PSO simulates the behaviors of bird
flocking. Suppose the scenario: a group of
birds are randomly searching food in an
area. There is only one piece of food in the
area being searched. PSO is initialized with
a group of random particles (solutions) and
then searches for optima by updating
generations. In each iteration, each particle Figure 6. Block Diagram to Control
is updated by following two best values. The
first one is the best solution (fitness) it has Water Level Using PSO/GA Algorithm
achieved. The fitness value is also store. After using PSO algorithm to tune the
This value is called pbest. Another best parameters of PID controller, the results of
value that is tracked by the PSO is the best process variables (water level, temperature
value, obtained so far by any particle in the and flow rate) which are gotten, after the
population. The best value is a global best execution of PSO algorithm code at setpoint
and called gbest. When a particle takes 8 then we got the values of settling time, rise
part of the population as its topological time, overshoot, steady state error etc.
neighbors, then this best value is a local best
and is called lbest. After finding the two best 10
220
2016 1st International Conference on Innovation and Challenges in Cyber Security (ICICCS 2016)
Water Level
15 Measured Value
is 6.111 and the steady state Error is 0.
50 10
40 5
Temperature Control
Set Point
Measured Value
30 0
0 100 200 300 400 500 600
Time
0
0 100 200 300 400 500 600 V. COMPARISON OF RESULTS
Time
4
process
2
variable 90 30 0.2 0
0
0 100 200 300 400 500 600
without
Time
PSO/GA
Figure 9. Control of Water Level Using Controlling
GA Algorithm at SP=8 process 0.7006 0.3986 0 0
At the setpoint 20 the simulation results of variable with
water level control shown in Figure 9. The
rise time is 0.2636s, settling time is 0.4594s, PSO
overshoot is 0.2290 and the steady state Controlling
Error is 0.
process 0.4499 0.2598 0 0.2284
variable with
GA
221
2016 1st International Conference on Innovation and Challenges in Cyber Security (ICICCS 2016)
222
2016 1st International Conference on Innovation and Challenges in Cyber Security (ICICCS 2016)
223