Matlab gets stuck when the swarm intelligence algorithm optimizes the control parameters...
Mostrar comentarios más antiguos
Dear all,
I am working on a swarm intelligence algorithm to optimize the parameters of ADRC control, which uses m-code and simulink model. This swarm intelligence algorithm is based on iteration. I write an iterative algorithm in matlab with m-code, and then use the sim function to run ADRC mdl file and return the output value. The controlled object is a relatively complex and huge industrial system.
However, during the running process, matlab often get stuck, that is, it does not report an error or runs down, and it will keep this state, and the computer will also report that the temperature is too high.
I want to ask if it is because the controlled system is too huge or there are too many iterations, or the running time of each iteration is too long to cause matlab to get stuck? Is there any workaround?
Thank you for your help.
3 comentarios
Sam Chak
el 29 de Sept. de 2022
Hi @Joe Jones
Without testing the code and the ADRC.mdl, we can only make wild guesses.
Does the optimization of the ADRC thing works on a simple system such a Double Integrator?
Does any non-ADRC thing such as state-feedback works on the huge industrial system?
Have you tested the optimization using any non-swarm intelligence algorithm?
Doing so may help you to identify and pinpoint one of the 3 suspects {PSO, ADRC, Huge System} that might be causing the issue at the macro level.
Joe Jones
el 29 de Sept. de 2022
Respuestas (0)
Categorías
Más información sobre State-Space Control Design and Estimation en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
