how can i solve this problem?
3 次查看(过去 30 天)
显示 更早的评论
回答(2 个)
Andreas Goser
2023-12-21
With the information given, there is not much to say but to suggest you to do what the message suggests: Reducing the fixed-step size or tightening the error tolerance. If you do not know how to do that - ask that question instead. If it didn't work - try to provide something the community members can reproduce.
0 个评论
Sam Chak
2023-12-21
Hi @worod
FOPID, like the ordinary PID, is a static control architecture. The control parameters require the designer to mathematically set stabilizing values, similar to how the Routh–Hurwitz stability analysis can demonstrate a necessary and sufficient condition for the stability of a linear control system. If destabilizing values are assigned to the control parameters of the FOPID, the system can become highly unstable. This instability may cause certain states to grow exponentially, forcing Simulink to terminate the simulation.
Technical designers typically employ mathematical analysis and formulas, if possible, to determine stabilizing values for control parameters. Alternatively, both technical and non-technical individuals may utilize metaheuristic optimization algorithms, such as the popular Genetic Algorithm (GA) or Particle Swarm Optimization (PSO), allowing the algorithm to autonomously determine values within specified search regions. These regions may encompass both stabilizing and destabilizing values. Throughout iterations and the search for optimal values, the algorithm may inadvertently encounter destabilizing values, leading Simulink to terminate the simulation.
Consider configuring the hyperparameters in gafit() to narrow down the search regions.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 PID Controller Tuning 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!