Research Article

An Adaptive Unscented Particle Filter Algorithm through Relative Entropy for Mobile Robot Self-Localization

Algorithm 1

(1) Initialization:
  
  do
    draw the particles from the prior and set
            
           
                 
    // is the number of particles in UPF. is the initial mean value of .
    // is the initial covariance of . is the initial mean value of .
    // is the covariance of . is the covariance of .
  While ( )
(2) For
  // is the run time of UPF.
  (1) Importance sampling
  
  do
    Update the particles with UKF, obtain and .
          
    // The particles are sampled from .
  while ( )
  (2) Computing the importance weights
   
   do
            
   // is the importance weight of the th particle at the time step .
   // The state transition probability can be obtained from (1).
   // The observation model can be obtained from (2).
   // is the proposal distribution.
   while ( )
  (3) Normalize the importance weights
   
   do
               
   while ( )
  (4) Resampling step
   
   do
   Multiply/Suppress particles according to the importance weights to obtain
   random particles .
   while( )
  (5) Output
   The output is the state estimation of at the time step . It can be approximated by (3).