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!