Matlab gets stuck when the swarm intelligence algorithm optimizes the control parameters...
이전 댓글 표시
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
Sam Chak
2022년 9월 29일
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
2022년 9월 29일
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 State-Space Control Design and Estimation에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
