Derivation of Extended Kalman Filter (EKF)
The Kalman Filter heavily exploits the fact that our dynamics/measurements are linear. However, typical robotics problems have non-linear dynamics or non-linear observation model or both. Extended-Kalman Filter (EKF) is a modification of the KF to handle such situations. EKF linearizes the dynamics and observation equations of a non-linear system at each timestep and then plugs them into the Kalman Filter formulae.
Consider a non-linear dynamical system with non-linear observations,
Step 1: Propagating the dynamics by one timestep
Just like KF, suppose we have the estimate
Step 2: Incorporating the observation
Now that we know
The EKF dramatically expands the applicability of the Kalman Filter. It is very commonly used in robotics and can handle nonlinear observations from complex sensors such as a LiDAR and camera easily. For instance, sophisticated augmented/virtual reality systems like Google AR Core or Snapchat uses EKF to track the motion of the phone or of the objects in the image. The EKF is a clever extension of KF to nonlinear systems but it no longer has the property of optimality (which the KF had for linear systems). There do exist filters for nonlinear systems that will have a smaller mean-squared error than the EKF which we will talk about in the next blog post!
Keep up the good work mah boy !
ReplyDeleteMark my words, you will be very successful in robotics !