フィルターのクリア

input 2 expects a value in range [-0.5 0.3], but has a value of 0.442213.

2 ビュー (過去 30 日間)
Mücahit
Mücahit 2024 年 4 月 14 日
編集済み: Sanju 2024 年 4 月 25 日
I am trying to control half car model with fuzzy logic controller. no matter what I do with the input and output values, I get the same error. I wonder if I'm making a mistake in the simulink.
  1 件のコメント
Sanju
Sanju 2024 年 4 月 22 日
Can you please share your model for better understanding and reproduction of the issue.

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

回答 (1 件)

Sanju
Sanju 2024 年 4 月 25 日
編集済み: Sanju 2024 年 4 月 25 日
To fix the error "input expects value in range", you can try out the following steps,
  • 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 by setting it to "none".
  • Manually adjust the upper and lower bounds for input and output membership functions to accommodate for the error.
  • Increase input range values of the fuzzy inference system (FIS).
  • 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 についてさらに検索

製品


リリース

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by