Output of my fuzzy controller is constant even when the ruleviewer block shows otherwise

3 views (last 30 days)
I am using a fuzzy controller in my simulink model and am using the block with rule viewer. When I simulate the system for any length of time, for some reason the out is the initial default value of the controllers for all time. I can see in ruleviewer that the output is being changed as the simulation proceeds but the actual output is constant. Help would be appreciated
  4 Comments
Arthur Fagundes
Arthur Fagundes on 16 Sep 2020
Solved my problem today. In my case, the issue was that the input was assuming values out of the range of the rules... (out of the universe of discourse). When I added saturation blocks to the input of the fuzzy controller, it worked perfectly!

Sign in to comment.

Answers (0)

Categories

Find more on Fuzzy Logic in Simulink in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!