フィルターのクリア

How can I solve the problem about "input 2 expects a value in range [-3 3]"with fuzzy logic controller?

18 ビュー (過去 30 日間)
ruzhi chen
ruzhi chen 2019 年 3 月 3 日
回答済み: Sanju 2024 年 4 月 25 日
I used the fuzzy logic controller with 2 inputs.But there are many warnings about its range.
Please see the pictures.
I also used the Saturation to limit the value......
A more incomprehensible question was that after changing the setting "out of range input value" from "warning" to "error" ,No error occurred!!
Please help me to solve these problems.
Thank you for your reply!
微信图片_20190303175757.png
微信图片_201903031757571.png
微信图片_201903031757572.png
微信图片_201903031757573.png

回答 (1 件)

Sanju
Sanju 2024 年 4 月 25 日
  • Normalize the dataset by dividing each input by its maximum value to ensure uniform scaling.
  • Ignore errors by turning off warnings or changing error settings in the fuzzy logic controller block in Simulink.
  • Manually adjust the upper and lower bounds for input and output membership functions to accommodate for the error.
  • Employ an additional set of fuzzy rules that consider error derivatives for better control over the fuzzy logic-based controller outputs. Note that this approach requires extra setup work and computation time..
  • Define fuzzy input membership functions capable of handling values outside the specified range to ensure the controller can handle a wider range of input values.
For further assistance please share your model.
You can also refer to the below documentation links for more information,
Hope this helps!

カテゴリ

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