"Hold Value" of a Fuzzy Control while no rule is active

Hello!
Ist there a way to hold the Output Value of a FIS while there is no rule active?
Thanks!
BG Daniel

답변 (1개)

Sam Chak
Sam Chak 2025년 3월 4일

0 개 추천

If none of the rules is triggered for any output, the defuzzified output value will default to its mean range value, which is obviously undesirable. Ideally, you should ensure that the membership functions cover the entire range of the input variable.
I am not entirely certain how you would implement this; however, to access historical information from the fuzzy output variable when a certain condition is met, you need to use a currentValue variable to store the evaluated fuzzy output value (using evalfis) before the conditional check, and then hold a previous value in the previousValue variable within the conditional statement. If the condition is not met, you can continue evaluating the fuzzy system.
You should decide whether the If–Else approach or the while loop approach is more effective.

카테고리

도움말 센터File Exchange에서 Fuzzy Logic in Simulink에 대해 자세히 알아보기

제품

릴리스

R2024b

태그

질문:

2025년 3월 3일

답변:

2025년 3월 4일

Community Treasure Hunt

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

Start Hunting!

Translated by