Notes on Kalman Filter (KF, EKF, ESKF, IEKF, IESKF)

Gyubeom Im
2024-06-28
Abstract:The Kalman Filter (KF) is a powerful mathematical tool widely used for state estimation in various domains, including Simultaneous Localization and Mapping (SLAM). This paper presents an in-depth introduction to the Kalman Filter and explores its several extensions: the Extended Kalman Filter (EKF), the Error-State Kalman Filter (ESKF), the Iterated Extended Kalman Filter (IEKF), and the Iterated Error-State Kalman Filter (IESKF). Each variant is meticulously examined, with detailed derivations of their mathematical formulations and discussions on their respective advantages and limitations. By providing a comprehensive overview of these techniques, this paper aims to offer valuable insights into their applications in SLAM and enhance the understanding of state estimation methodologies in complex environments.
Robotics
What problem does this paper attempt to address?
The paper primarily discusses the Kalman Filter (KF) and its several variants, including the Extended Kalman Filter (EKF), Error-state Kalman Filter (ESKF), Iterated Extended Kalman Filter (IEKF), and Iterated Error-state Kalman Filter (IESKF). The paper attempts to address the problem of effectively predicting and updating system states in dynamic systems, especially when noise is present in the system model and observation data. The paper begins by introducing the fundamentals of estimation theory, including Bayesian philosophy, different types of estimation problems (such as filtering, smoothing, prediction, and interpolation), and the modeling of dynamic systems. Subsequently, it elaborates on the concept of recursive Bayesian filtering, which is the core idea behind Kalman filtering. Recursive Bayesian filtering is specifically referred to as Kalman filtering when the belief (bel) follows a Gaussian distribution. Kalman filtering operates through two key steps: the prediction step and the correction step. The prediction step forecasts the system state based on the motion model, while the correction step uses the observation model and actual observation data to update the state estimate. The paper also discusses the role of the Kalman gain, which is a critical parameter in determining the weight between observation data and prediction data. For nonlinear systems, the standard Kalman filter is no longer applicable, hence the introduction of the Extended Kalman Filter (EKF). The EKF linearizes the nonlinear model locally through Taylor series expansion, allowing the Kalman filter to be applied to nonlinear dynamic systems. However, the EKF may be inefficient and limited in accuracy when dealing with high-dimensional nonlinear systems, which led to the proposal of the Error-state Kalman Filter (ESKF). The ESKF improves the speed and accuracy of the algorithm by decomposing the state into nominal state and error state and linearizing only the error state. Furthermore, the paper mentions the Iterated Extended Kalman Filter (IEKF) and Iterated Error-state Kalman Filter (IESKF), which further enhance the accuracy of state estimation by applying the EKF or ESKF process multiple times iteratively. In summary, the paper aims to provide a comprehensive overview of the Kalman Filter and its variants to achieve precise state estimation in various dynamic systems.