Navigation and Control

What Is a Particle Filter? How Robots Estimate Their Location.

By Rodolfo Garcia Calderoni, CFA ·

On this pageWhat Is a Particle Filter?Key TakeawaysHow Does a Particle Filter Work?What Is Particle Resampling?Particle Filter vs. Kalman FilterWhere Are Particle Filters Used?Frequently Asked QuestionsThe Bottom LineSourcesRelated terms

What Is a Particle Filter?

A particle filter is a mathematical algorithm that estimates the state of a system by maintaining many possible explanations of where or how the system is operating.

In robotics, particle filters are commonly used to estimate a robot's location when sensor measurements are uncertain.

Instead of assuming the robot is at one exact position, the algorithm considers multiple possible positions and assigns them different probabilities.

For example, a warehouse robot may use a particle filter to determine which aisle it is in when several aisles have similar layouts.

Key Takeaways

  • Particle filters represent uncertainty using many possible estimates called particles.
  • Measurements are used to assign greater weight to estimates that better explain the observations.
  • Particle filters are useful when several different states may be plausible at the same time.

How Does a Particle Filter Work?

Imagine a mobile robot starting inside a warehouse without knowing its exact position.

Its software creates hundreds of hypothetical positions throughout the mapped facility.

Each hypothetical position is represented by a particle.

The robot then collects LiDAR measurements of nearby walls and shelving.

The algorithm compares those observations with what the map predicts at each particle's location.

Particles consistent with the measurements receive greater weight.

Those that poorly explain the observations receive less weight.

As the robot moves and gathers additional information, the distribution of particles changes.

Eventually, many particles may concentrate around the robot's most likely location.

What Is Particle Resampling?

Resampling is a step used by many particle-filter algorithms.

Particles with higher weights are more likely to be represented in the next collection of particles.

Less plausible estimates may disappear.

For example, if the robot's measurements strongly indicate that it is near the loading dock, particles representing distant warehouse aisles may receive little weight.

Resampling helps concentrate computational resources on more plausible possibilities.

However, excessive resampling can also reduce diversity and cause the algorithm to overlook alternative explanations.

Particle Filter vs. Kalman Filter

Both algorithms estimate uncertain system states.

A Kalman filter represents uncertainty using a mathematical estimate and covariance under particular modeling assumptions.

A particle filter represents uncertainty using many weighted samples.

Particle filters can be useful when the probability distribution contains several distinct possibilities.

For example, a robot uncertain about which of three identical corridors it occupies may need to represent multiple competing location estimates.

A single Gaussian estimate may not describe that uncertainty adequately.

Where Are Particle Filters Used?

One widely used example is Adaptive Monte Carlo Localization, or AMCL.

AMCL helps robots estimate their positions within known maps using sensor observations.

Particle filters are also used in tracking, navigation, and other state-estimation problems.

Their main trade-off is computational cost, which increases with the number of particles and the complexity of evaluating them.

Frequently Asked Questions

Does each particle represent a physical particle?

No. A particle is a mathematical sample representing one possible system state.

Does a particle filter always find the correct location?

No. Performance depends on sensor quality, map accuracy, the motion model, and the algorithm's configuration.

The Bottom Line

Particle filters allow robots to track several possible explanations of their location or state simultaneously. They are valuable when uncertainty cannot be represented adequately by one simple estimate.

Sources

  1. Nav2 — AMCL Documentation

Black Scarab Weekly

Follow the physical AI economy

Get Black Scarab news, deep research, and practical analysis in one clear Thursday briefing.

Weekly reporting and deep dives. Unsubscribe anytime. See our privacy notice.