how can i implement a pid controller with firefly algorithm to optimize pid parameters ?

8 visualizaciones (últimos 30 días)
i use firefly algorithm to find the optimal values of PID parameters Kp,Kd,Ki i built code for PID controller with my system but how can i implement the firefly algorithm with my code to find optimal value for PID parameters

Respuestas (2)

noor diyana
noor diyana el 11 de Mayo de 2017
Hi Sandy jeak . You can try out this code from my senior project. I think its working successful. For objective function and MaxIt ,runtime also you can change as system that you want. All the best! Now, I've to use social spider optimization(SSO)to optimize PID Controller.Hopefully someone can help me also.
  6 comentarios
Varun Rai
Varun Rai el 14 de Feb. de 2020
suppose we have multiple pid controllers in simulink model then how can we write the firefly algorithm foe that. for eg. multiararea load frequency control . reply pls

Iniciar sesión para comentar.


ednilson szeskoski
ednilson szeskoski el 12 de Sept. de 2017
The way to write the transfer function was correct. What was generating the error was the VarMax = 10 where when decreasing the variable obtained success in the simulation. Thank you.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by