About this review
Every sensor lies a little. A Kalman filter blends what a robot expects with what it measures, weighted by trust. Eight slides: the loop, the gain, a worked number, and where robots use it.
Source: Explainer · Kalman filters for robotics
Transcript
Welcome. This is Kalman filters, explained for robots. Every sensor lies a little. A Kalman filter blends what the robot expects with what it measures, and trusts each one by how reliable it is. It has guided robots, aircraft and spacecraft for more than sixty years.
Here is the problem. G P S jumps by metres, updates slowly, and disappears indoors. Wheel odometry is smooth, but every slip adds error that never goes away. An I M U gives hundreds of readings a second, but adding up its noise makes the position wander. No single source is fast, smooth and trustworthy at once.
Here is the core idea. The blue curve is the prediction, where the model says the robot should be. It is wide, because motion is imperfect. The orange curve is the sensor reading. It is sharper. The green curve is the fused estimate. It lands nearer the sharper source, and it is narrower than both.
The filter works in a loop. First it predicts. It pushes the estimate forward using the motion command, and doubt grows. Then it updates. It compares with the sensor reading and corrects, and doubt shrinks. It remembers only two things, the latest estimate and how unsure it is. No history is needed.
How much should the robot trust the sensor? That is the Kalman gain, called K. It equals the robot's own uncertainty, divided by that uncertainty plus the sensor noise. If the sensor is noisy, K is near zero. If the robot is lost, K is near one. The gain is computed fresh on every tick.
Let's use real numbers. The prediction says ten metres, with variance four. G P S says twelve metres, with variance one. The gain is four divided by five, which is zero point eight. The correction is zero point eight times two metres, so the new estimate is eleven point six metres. The variance drops to zero point eight, smaller than both.
Robots use this everywhere. Warehouse robots fuse wheels, lidar and G P S to find their position. In slam, the robot and the landmarks share one state, so seeing a landmark again corrects the whole map. Drones blend an I M U, a barometer and G P S. Arms, self driving cars and spacecraft use it too. Apollo navigation famously did.
The filter has limits. The pure version assumes straight line motion and bell curve noise, so turning robots need extended, unscented or particle filters. Wrong noise settings make it overconfident or sluggish. And the cost grows fast with the state size. Double the state, and the work grows eight times. The next deck is about exactly that.
Related reviews
Robotics · Explainer
All reviews