Rules base of fuzzy logic controller

3 views (last 30 days)
Maria
Maria on 20 Mar 2014
Moved: Sam Chak on 28 Aug 2024
A fuzzy logic controller for mobile robot velocity (same for controller angle)has two inputs first input is the error velocity and the second is the change of error velocity and one output which the torque , so to make rules base of controller the relationship between two inputs and their effect on the output must be known , so what is relationship between the error velocity and the change of error velocity ? see attachment picture

Answers (1)

Arkadiy Turevskiy
Arkadiy Turevskiy on 20 Mar 2014
Your question is not very clear. As fasr as I can understand you are basically asking about how to go and set up rules and membership functions for the fuzzy inference system. The best way to start is look at a similar example. There is one that is quite similar in Fuzzy Logic Toolbox, this one .
If you have access to Fuzzy Logic Toolbox, open this example, and explore the fuzzy logic controller used in the example:
open_system('sltankrule');
fuzzy(tank)
Look at membership functions and rules. Your system would be quite similar.
  1 Comment
Maria
Maria on 20 Mar 2014
Moved: Sam Chak on 28 Aug 2024
Many thank to Mr. Arkadiy
to be informed that i quite aware about how to use and design fuzzy logic controller , shortly i design a control for mobile robot by fuzzy logic and i did that correctly by two inputs (error velocity and angle error)and two outputs (left torque & right torque) and it works fine , now I am ordered to modified that by adding change of error after a awhile , so how can i manipulated with change of error as input with error , what is the relationship between them ?
hint:(change of error is same the derivative of error )

Sign in to comment.

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!