How to speed up simulation time for fuzzy controllers in simulink
14 次查看(过去 30 天)
显示 更早的评论
I have implemented fuzzy controller in simulink as uploaded at http://tinypic.com/view.php?pic=5l9t07&s=6. Fuzzy controller has two inputs with three membership functions and 9 rules.The issue is that; that the simulink is taking too long time to run it. What could be the issue. Any guidance.
1 个评论
SOURABH GHOSH
2021-2-27
You can approximate a nonlinear fuzzy PID controller using a lookup table. By replacing a Fuzzy Logic Controller block with Lookup Table blocks in Simulink, you can deploy a fuzzy controller with simplified generated code and improved execution speed.
采纳的回答
Ryan G
2013-1-16
You can try running in accelerator or rapid accelerator mode, change to a stiff ode solver or breaking what appears to be an algebraic loop in the feedback with a transfer function or unit delay.
6 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Fuzzy Logic in Simulink 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!