You're offline — cached pages and worlds still work
Drishti Innovations logo
Drishti Innovations

Particle Filter for Robot Localization

Comprehensive notes, formulas, and practice questions for Particle Filter for Robot Localization.

Particle Filter for Robot Localization

Particle Filter for Robot Localization

Core Idea

Unlike the Kalman filter — which represents belief as a single Gaussian ellipse — the particle filter represents the robot's belief as a cloud of NN random samples (particles). Each particle is a hypothesis: "maybe I am at pose (xi,yi,θi)(x_i, y_i, \theta_i)." This non-parametric approach handles multi-modal beliefs and non-Gaussian noise naturally.

Key Formula / Algorithm

Each particle ii carries a weight wiw_i proportional to how likely it is given the latest sensor measurement zz:

wip(zxi)w_i \propto p(z \mid x_i)

After resampling, each particle is drawn with probability wi/jwjw_i / \sum_j w_j, so high-weight particles survive and low-weight ones are discarded.

The normalised mean pose estimate:

x^=i=1Nwixi\hat{x} = \sum_{i=1}^{N} w_i\, x_i

How It Works (Step by Step)

  1. Initialise: scatter NN particles uniformly across the map (global uncertainty) or near a known start.
  2. Predict (motion update): move every particle by the motion command uu, plus random noise drawn from the motion noise model.
  3. Update (sensor update): compute weight wi=p(zxi)w_i = p(z \mid x_i) for each particle (how well does the sensor reading match if the robot were at xix_i?).
  4. Normalise weights: wiwi/jwjw_i \leftarrow w_i / \sum_j w_j.
  5. Resample: draw NN new particles with replacement proportional to weights. Cloud collapses toward the true pose.

Real-World Application

The Roomba vacuum uses a simplified particle filter (Monte Carlo Localisation) to know where it has cleaned. Google's self-driving car used 1 million particles at startup for "kidnapped robot" recovery. Particle filters also power face tracking in phone cameras.

Quick Check

  1. If all particles have equal weight after the sensor update, what does this tell us about the quality of the sensor reading?
  2. Why might a particle filter outperform an EKF in a corridor with two identical-looking junctions?

Key Takeaways (TL;DR)

  • Core Idea
  • Key Formula / Algorithm
  • How It Works (Step by Step)
  • Real-World Application

Master this topic with Drishti OS

Get unlimited mock tests, AI-powered mentorship, and complete video courses when you join.

Start Free Practice