The ordinary Kalman filter is a beautiful piece of math, but it comes with a strict requirement: the system it tracks must be linear — its next state must be a straight-line combination of its current state. A satellite drifting in empty space is close enough. A pendulum swinging under gravity is not: its restoring force depends on the sine of the angle, not the angle itself. A drone banking through the air, a chemical reaction, a car turning a corner — nearly everything interesting in the real world curves.
So what do you do when your system is nonlinear but you still want the Kalman filter's optimal blend of model and measurement? The Extended Kalman Filter (EKF), developed in the early 1960s for the Apollo program's guidance computer, offers a pragmatic answer: at every single time step, approximate the nonlinear system with a straight line — its best local linear approximation — and then run the ordinary Kalman filter machinery on that approximation.
The tool that builds this local straight-line approximation is the Jacobian matrix, the multivariable generalization of a derivative. The EKF's whole trick is to recompute the Jacobian fresh at every step, so the "straight line" always matches the curve exactly where the estimate currently sits — like a tangent line that keeps repositioning itself as a car climbs a hill.
Comments
Loading comments...