Extended Kalman Filter (EKF)
Author: Tianjiang Shuo
Reference: Qian Yingjing (2014), "Research on Autonomous Navigation and Orbit Keeping of Spacecraft on Quasi-Periodic Orbits in Cislunar Space"
Website: https://cislunarspace.cn
Definition
The Extended Kalman Filter (EKF) is an extension of the standard Kalman filter to nonlinear systems. It achieves state estimation for nonlinear systems by performing first-order linearization at the current state estimate. The EKF is one of the most widely used filtering algorithms in the field of spacecraft autonomous navigation.
The core idea of the EKF: expand the nonlinear system equations in a Taylor series at the current state estimate, retain the first-order terms (ignoring higher-order terms), and transform the problem into a Kalman filtering problem for a linear system.
Algorithm Principles
System Model
Let the nonlinear system model be:
State equation:
Measurement equation:
where is the process noise and is the measurement noise.
EKF Algorithm Workflow
1. State Prediction
Predict the state and covariance using the nonlinear state equation:
where is the state transition matrix (Jacobian).
2. Linearization
Compute the measurement matrix (Jacobian):
3. Kalman Gain
4. State Update
Applications in Autonomous Navigation
Cislunar Space Navigation
Qian Yingjing (2014) applied the EKF to autonomous navigation systems for quasi-periodic orbits near Earth-Moon libration points:
- State vector: , containing position and velocity
- Dynamics model: N-body dynamics under an ephemeris model
- Measurement inputs: Angular measurements from Sun-Earth-Moon sensors
- Filter output: Estimated spacecraft position and velocity along with covariance
Key Implementation Details
Jacobian Matrix Computation
The key to the EKF lies in computing the state transition matrix and measurement matrix . For an ephemeris model:
- The state transition matrix is obtained through integration of the variational equations
- The measurement matrix is obtained by taking partial derivatives of the measurement functions
Numerical Stability
Long-duration integration may cause the covariance matrix to lose positive definiteness. The following techniques can be employed:
- U-D decomposition
- Square-root filtering
- Covariance bounding
Convergence Analysis
The convergence of the EKF is influenced by the following factors:
- Initial estimate: The initial state estimate must be sufficiently accurate
- Noise statistics: The statistical properties of process and measurement noise must be accurately modeled
- Observability: The system must satisfy observability requirements
- Linearization error: For strongly nonlinear systems, neglecting higher-order terms may cause error accumulation
Advantages and Disadvantages of the EKF
Advantages
| Advantage | Description |
|---|---|
| High computational efficiency | Jacobian matrix computation and matrix operations have computational complexity of |
| Engineering maturity | Well-established theory, rich code libraries, widely used in aerospace engineering |
| Strong real-time capability | Suitable for online estimation with low storage requirements |
Disadvantages
| Disadvantage | Description |
|---|---|
| Linearization error | First-order approximation may introduce significant errors for strongly nonlinear systems |
| Convergence uncertainty | Global convergence is not guaranteed; divergence may occur |
| Jacobian computation | Deriving the Jacobian matrix for complex systems is tedious and error-prone |
Improved Variants of the EKF
Unscented Kalman Filter (UKF)
The UKF uses sigma-point sampling instead of linearization, avoiding Jacobian computation:
- Accuracy can reach second or third order
- Better robustness for strongly nonlinear systems
- Slightly higher computational cost than the EKF
Cubature Kalman Filter (CKF)
Based on a spherical cubature rule for numerical integration, offering good numerical stability.
Adaptive EKF
Estimates noise statistics online to adapt to changing environments.
Related Concepts
- Autonomous Navigation
- Sun-Earth-Moon Autonomous Navigation (SEM Navigation)
- Observability
- State Transition Matrix (STM)
- Ephemeris Model
References
- Gelb A. Applied Optimal Estimation [M]. MIT Press, 1974.
- Qian Yingjing. Research on Autonomous Navigation and Orbit Keeping of Spacecraft on Quasi-Periodic Orbits in Cislunar Space [D]. Harbin Institute of Technology, 2014.
- Julier S J, Uhlmann J K. Unscented filtering and nonlinear estimation [J]. Proceedings of the IEEE, 2004.
