How to speed up simulation time for fuzzy controllers in simulink

25 ビュー (過去 30 日間)
Beenish Mazhar
Beenish Mazhar 2013 年 1 月 16 日
コメント済み: SOURABH GHOSH 2021 年 2 月 27 日
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
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
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 件のコメント
Beenish Mazhar
Beenish Mazhar 2013 年 1 月 17 日
編集済み: Beenish Mazhar 2013 年 1 月 17 日
Sir previously sample time was set to -1(inhereted) so when I increased it; the straight line became little curved.The problem is still there..how to solve this problem.Secondly sir can you kindly explain how delay block acts as a sensor and why it is necessary in the model.
Beenish Mazhar
Beenish Mazhar 2013 年 1 月 22 日
Any suggestion.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeFuzzy Logic in Simulink についてさらに検索

タグ

製品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by