New Resampling Algorithm For Particle Filter Localization For Mobile Robot With 3 Ultrasonic Sonar Sensor
New Resampling Algorithm For Particle Filter Localization For Mobile Robot With 3 Ultrasonic Sonar Sensor
= 1
N
=1
{ resampling of 90% new particles around old particles with
largest weight }
[W_desc Idx] = sort(round(partikels_weight*N), 'descend');
W_desc = W_desc * N; { normalized to total particle count }
i = 1;
j = 1;
N10 = N / 10; { 10% of population }
while (i <= (N-N10)) && (j <= N)
for k = 1 to W_desc(j)
X_new(i) = draw new state around old state X(j);
{ X_new(i) = X(j) + small random noise }
W_new(i) = W(Idx(j));
i = i + 1;
if i > (N-N10)
break; { 90% of particle population }
end
end;
j = j + 1;
end
{ add 10% of particles, uniformly distributed }
for i=(N-N10+1) to N
X_new(i) = draw new random particle from config space;
W_new(i) = 1/N;
end
W_new = W_new / sum(W_new); { weight normalization}
return [W_new X_new];
V. EXPERIMENT PLATFORM
Fig. 3 Architecture of experiment platform
The experiment platform for this research is built using
LEGO Mindstorms NXT. LEGO Mindstorms NXT is a
modular low cost hobby-educational robotic platform. The
main reason of this selection is cost, simplicity, and
modularity of this platform. There are 3 kind of sensors used
in this platform for this research :
3 ultrasonic range sensors for raw range measurement.
This sensor is arranged to face left, forward and right
direction, with exactly 90 degrees angular gap between
them. The main purpose of these 3 ultrasonic is for
correction step in the particle filter
Compass sensor for heading measurement. This sensor is
placed in far top position, to avoid any interference from
motor actuator.
CMOS color camera with wireless analog transmitter for
vision sensing. This sensor is placed in front of the robot
facing forward.
The actuator used in this are two servo motors with
differential drive configuration.
For controlling the mobile robot, RWTH Mindstorms NXT
Toolbox is utilized. This software toolbox enables us to
control the LEGO Mindstorms NXT from MATLAB
environtment running on PC. PC running MATLAB and the
toolbox can communicate to the LEGO Mindstorms NXT
using bluetooth wireless connection, with 115200 baud rate
connection speed. By using MATLAB in conjuction with
RWTH Mindstorms NXT Toolbox and bluetooth wireless
connection to control the robot, the robot can move freely in
real time manners while complex algorithm can be developed
using PC along with many MATLAB readily available
functions and toolboxes.
Fig. 4 RWTH Mindstorms NXT Toolbox architecture
Fig. 5 Robot platform built using LEGO Mindstorms NXT
Beside MATLAB and RWTH Mindstorms NXT Toolbox
there is another software running on the PC for computer
vision functionality. This software is utilizing ARToolkit
library, an augmented library to identify augmented reality tag.
This library is usually used for augmented reality purpose in
game and education application. But in this research this
library is used for landmark identification and positioning in
an improved environtment for autonomous mobile robot
research. By using augmented reality visual tag, landmark
identification and positioning can be done in efficient and
quick manner. This ARToolkit library is developed by
Hirokazu Kato from Human Interface Technology Laboratory
(HITLAB), University of Washington. In future research this
mechanism can be replaced by more general purpose
computer vision algorithm for landmark identification such as
SIFT or SURF algorithm.
Fig. 6 Experiment environtment with augmented reality
tags as landmarks
Fig. 7 Graphical user interface of the robot platform
VI. EXPERIMENTS AND ANALYSIS
In the first experiment of this research, three resampling
algorithms of particles filter are tested : LTR resampling,
SWR resampling and new resampling proposed in this paper.
In this research a particle filter for localization is used for
testing purpose. In this particle filter, beside 3 ultrasonic range
finder for raw measurement, the compass sensor is also used
to bound the heading error (this will be discussed in future
paper). CMOS Camera for vision is not used in this
experiment. In this experiment the robot mission is just to
move around in the operating environtment with reactive
obstacle avoidance, and the particle filter is used to localize
the robots. Three experiments are conducted with each
resampling algorithm. The exact groundtruth position of the
robots are measured and will be compared with the position
estimation resulted from the particle filter. The norm used for
comparison between three resampling algorithms is euclidean
distance between groundtruth position and estimated position.
Certain number of steps are chose to represent the transient
and steady state condition.
The graphic below ilustrate the comparison between three
resampling algorithms
Fig. 8 Error comparison between three resampling
algorithms
From the above graphics, it can be seen the the particle
filter with new resampling algorithms has a better error
correction trend compared to particle filter with SWR or LTR
resampling algorithms. The particle filter with new resampling
algorithms reach the steady state condition after around 60
steps and the position error is less than 5 cm. This new
resampling algorithms give significant performance
enhancement compared to the commonly used resampling
algorithms.
The second experiment of this research, the performance of
the new resampling algorithms and SWR resampling
algorithms are compared in robot kidnaping situation. LTR
resampling algorithms is not tested in this experiment,
because it performs signicantly worse that SWR resampling
algorithms. In this experiment, the particle filter localization
has to be considerably responsive to new estimation
convergence after the robot is suddenly moved to new random
location. The same as the previous experiment, euclidean
distance between groundtruth position and estimated position
is used as performance indicator.
The graphic below ilustrate the comparison between two
resampling algorithms
Fig. 9 Error comparison between new resampling
algorithms and SWR resampling algorithms in robot
kidnaping situation
From the above graphics, it can be seen that the new
resampling algorithms enable the particle filter to recover
more quickly in robot kidnaping situation in the 150
th
step. In
less than 15 filtering step after the kidnaping, the particle filter
with new resampling algorithms can already be able to reduce
the error to less than 20 cm, and at the 60
th
step it has already
been able to reach steady state condition with less than 5 cm
steady state error. Meanwhile the particle filter with SWR
resampling algorithms has tendency to converge, but the
transient condition is significantly longer than the particle
filter with new resampling algorithms. In this experiment it
can be seen that the particle filter with new resampling
algorithms performs much better than the particle filter with
SWR resampling algorithms.
VII. CONCLUSIONS
In this paper, a new resampling algorithm for particle filter
localization is proposed. The basic ideas of the new
resampling algorithms are : (1) the new samples are drawn
around the old particles with highest weight. The number of
new particles is proportional with the weight. (2) The states of
the new particles are not just duplicated from the states of the
old particle but, drawn near the states of the old particle, so
the new particles are slightly different from the old particle. (3)
certain amount of new particles are drawn randomly with
uniform distribution from the robots configuration space to
accommodate kidnaping situation. A robotic experiment
platform is also built using LEGO Mindstorms NXT, and to
enable the flexibility of programming using MATLAB,
RWTH Mindstorms NXT Toolbox and bluetooth wireless
communication between PC and LEGO Mindstorms NXT is
used. This scheme enables high flexibility of autonomous
mobile robot programming using MATLAB.
Two experiments are conducted to test the performance of
the new resampling algorithms compared to other commonly
used resampling algorithms in particle filter, i.e. SWR and
LTE resampling algorithms. The first experiment is only
localization mission with reactive obstacle avoidance. The
second experiment is the same with the first but with added
robot kidnaping situation. From both experiments, it can be
concluded that the new resampling algorithms performs much
better for robot with 3 ultrasonic range finder.
REFERENCES
[1] Alpaydin, E. (2004) : Introduction to Machine Learning, MIT Press,
Massachusetts.
[2] Behrens, A., Atorf, L., Aach, T. (2010) : Teaching Practical
Engineering for Freshman Students using the RWTH-Mindstorms
NXT Toolbos for MATLAB, Institute of Imaging and Computer
Vision, RWTH Aachen University, Germany.
[3] Bravo, F.G., Vale, A., Ribeiro, M.I. (2007) : Particle-Filter Approach
and Motion Strategy for Cooperative Localization, Departemento de
Ingenieria Elecrnica, Systemas Informaticos y Automatica, Univ. de
Huelva, Spain
[4] Burguera, A., Gonzales, Y., Oliver, G. (2009) : Mobile Robot
Localization using Particle Filters and Sonar Sensors, Universitat de les
Illes Balears, Spain
[5] Carpenter, J., Clifford, P., Fearnhead, P. (1999) : An Improved particle
filter for non-linear problems, IEEE proceedings - Radar, Sonar and
Navigation, 146:2-7
[6] Foka, A., Trahanias, P. (2007) : Real-time hierarchical POMDPs for
autonomous robot navigation, Institute of Computer Science,
University of Crete, Greece, Robotics and Autonomous Systems
Journal
[7] Guez, A., Pineau, J. (2010) : Multi Tasking SLAM, School of
Computer Science, Mcgill University, Montreal, Canada, 2010 IEEE
International Conference on Robotics and Automation, Anchorage
Convention District, May 2-8 2010, Anchorage, Alaska, USA
[8] Hahnel, D., Burgard, W., Fox, D., Thrun, S. (2003) : An Efficient
FastSLAM Algorithm for Generating Maps of Large-Scale Cyclic
Environments from Raw Laser Range Measurements, Departement of
Computer Science University of Freiburg, Computer Science and
Engineering University of Washington, Computer Science
Departement Stanford University.
[9] Hu, W., Downs, T., Gordon, W., Milford, M., David, P. (2004) : A
Modified Particle Filter for Simultaneous Robot Localization and
Landmark Tracking in an Indoor Environment, School of Information
Technology and Electrical Engineering, University of Quensland,
Brisbane
[10] Montemerlo, M., Thrun, S. (2003) : Simultaneous Localization and
Mapping with Unknown Data Association Using FastSLAM
[11] Muller, J., Rottman, A., Rendl, L.M., Burgard, W. (2009), A
Probabilistic Sonar Sensor Model for Robust Localization of a Small-
size Blimp in Indoor Environments using a Filter partikel, ICRA
Conference 2009
[12] Rekleitis, M.R. (2003) : A Particle Filter Tutorial for Mobile Robot
Localization, Centre for Intelligent Machines, McGill University,
Canada
[13] Riisgard, S., and Blas, M. SLAM For Dummies (2004): A Tutorial
Approach To Simultaneous Localizing and Mapping, MIT
[14] Sutton, R.S., Barto, A.G. (1998) : Reinforcement Learning An
Introdution, MIT Press, Cambridge, MA.
[15] Thrun, S. (2000) : Probabilistic Algorithms in Robotics, CMU-CS-00-
126, School of Computer Science, Carnegie Mellon University,
Pittsburgh.
[16] Thrun, S., Burgard W. dan Fox, D. (2005) : Probabilistic Robotics, The
MIT Press, Cambridge, England.