Fuzzy logic
in
Share your Work
•
2 years ago
I have now successfully created a fuzzy logic controller using Processing.
My test case was getting an object avoiding obstacles when given order to move to specific target..
You can try it here
The input variables was simple angle and distance.
Fuzzy sets for inputs:
Angel to obstacle:
smallAngle
mediumAngle
largeAngle
Distance to obstacle:
smallDist
mediumDist
largeDist
Instead of using linguistic rules I used something called FAMM(Fuzzy associative memory matrix) and that only work in a 2 input, 1 output scenario.
smallAngle mediumAngle largeAngle
smallDist 90° 55° 35°
mediumDist 55° 35° 25°
largeDist 35° 25° 5°
Then defuzzification is done true weighting the relationships in the FAMM..
Are there any one how have experience of Fuzzy logic and are some other ones interested in this topic?
My test case was getting an object avoiding obstacles when given order to move to specific target..
You can try it here
The input variables was simple angle and distance.
Fuzzy sets for inputs:
Angel to obstacle:
smallAngle
mediumAngle
largeAngle
Distance to obstacle:
smallDist
mediumDist
largeDist
Instead of using linguistic rules I used something called FAMM(Fuzzy associative memory matrix) and that only work in a 2 input, 1 output scenario.
smallAngle mediumAngle largeAngle
smallDist 90° 55° 35°
mediumDist 55° 35° 25°
largeDist 35° 25° 5°
Then defuzzification is done true weighting the relationships in the FAMM..
Are there any one how have experience of Fuzzy logic and are some other ones interested in this topic?
I would like to make a controller that can handle more then 2 inputs..