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 random samples (particles). Each particle is a hypothesis: "maybe I am at pose ." This non-parametric approach handles multi-modal beliefs and non-Gaussian noise naturally.
Key Formula / Algorithm
Each particle carries a weight proportional to how likely it is given the latest sensor measurement :
After resampling, each particle is drawn with probability , so high-weight particles survive and low-weight ones are discarded.
The normalised mean pose estimate:
How It Works (Step by Step)
- Initialise: scatter particles uniformly across the map (global uncertainty) or near a known start.
- Predict (motion update): move every particle by the motion command , plus random noise drawn from the motion noise model.
- Update (sensor update): compute weight for each particle (how well does the sensor reading match if the robot were at ?).
- Normalise weights: .
- Resample: draw 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
- If all particles have equal weight after the sensor update, what does this tell us about the quality of the sensor reading?
- 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