Page 69 - 2024-Vol20-Issue2
P. 69
65 | Al-Najari, Hen, Paw, & Marhoon
Set parameters of PSO
Initial population of particles
with position and velocity
Fig. 16. Block diagram of the PID based PSO tuning
Evaluate initial Fitness of each
particle and select Pbest and Gbest
Set iteration i=1
Update velocity Fig. 17. PSO convergence characteristic
and Fig. 18. Step response of G fitted
position of each particle Fig. 19. Multi step response of G fitted
Evaluate fitness of each particle
and update Pbest and Gbest
-i=i+1 YES
If i<=mifaifxiter?
NO
Print optimum values of
variables
Fig. 15. The flowchart of PSO