Obstacle Avoidance Based On Fuzzy Logic
Obstacle Avoidance Based On Fuzzy Logic
Abstract
In this paper we design an obstacle avoidance controller for a wheeled robot, based on Fuzzy Logic.
The robot uses 3 ultrasonic sensors to detect obstacles, and dead reckoning to know its position with
respect to the target. The Fuzzy Logic controller is
tuned using Genetic Algorithms. In particular, we
optimize the total path time and the smoothness
of the steering profile. Simulations show that the
controller is successful in simple scenarios.
Keywords: Obstacle Avoidance, Fuzzy Logic
Controller, Genetic Algorithm, Intelligent Control.
INTRODUCTION
GUIDANCE SYSTEM
The mission of the robot is to reach a target without any collisions. We consider a wheeled robot
equipped with 3 ultrasound sensors for obstacle
detection. If an obstacle is intercepted, the sensors
calculate the range by a time of flight measurement. The robot estimates its position by dead
reckoning, so that it knows its relative position
with respect to the target all along the trajectory.
The trajectory can be controlled by the steering
angle and the velocity.
We also consider that the robot does not have any
map about the environment. Instead, all the decisions taken by the robot are local, based on the
information provided by the sensors in real time
(i.e. the robot does not store previous measure-
3.1
MEMBERSHIP FUNCTIONS
INFERENCE RULES
Left
0
1
0
0
1
1
0
1
Input
Front Right
0
0
0
0
1
0
0
1
1
0
0
1
1
1
1
1
Error
-/0/+
-/0/+
-/0/+
-/0/+
-/0/+
-/0/+
-/0/+
-/0/+
Output
Vel. Strng.
1
+ /0/1
0/0/0
-/+/+
1
+/0/0
0
1
0
0
+
0
+
(i i1 )
SIMULATIONS
Krange
Kh.error
Ksteer
Kt
Ks
Steps
Trivial
1
1
1
60
Fast
2.9
2.9
3.2
1
0
47
Smooth
1.95
1.12
0.7
0
1
CONCLUSION