Multiplicative Extended Kalman Filter (MEKF)
- Multiplicative Extended Kalman Filter is a nonlinear state estimation technique on SO(3)/SE(3) that employs multiplicative corrections to preserve group structure and avoid over-parameterization.
- It separates the global state on a nonlinear manifold from a minimal local error state, using local linearization and retraction to update estimates accurately.
- MEKF is widely used in high-precision applications like satellite attitude determination and robotic pose tracking, demonstrating superior estimation accuracy and robust convergence.
The multiplicative extended Kalman filter (MEKF) is a nonlinear stochastic filtering framework specifically tailored for state estimation on matrix Lie groups, with particular emphasis on attitude and pose estimation on SO(3) or SE(3) manifolds. Unlike the standard additive formulation, the MEKF employs a local, group-theoretic parameterization of error and updates the global state estimate via a multiplicative correction. This approach ensures consistency with the group structure, maintains constraints such as unit norm for quaternions or orthogonality for rotation matrices, and avoids the pitfalls of over-parameterization and error accumulation associated with naive additive updates. MEKF is the de facto standard in high-precision applications such as satellite attitude determination, robotic pose tracking with scan matching, and inertial navigation systems.
1. Mathematical Structure and State Representation
The MEKF’s fundamental principle is to separate the global state, which evolves on a nonlinear manifold (e.g., rotation group SO(3), pose group SE(3)), from a minimal, Euclidean local error state used internally by the filter’s correction step. For attitude estimation, the global state is typically given as a quaternion () or rotation matrix . The filter maintains:
- Nominal (reference) state: or , representing the best current estimate.
- Local error state: A small-angle vector or corresponding small error quaternion . The true state is related to the nominal state via
or for rotation matrices,
where denotes the skew-symmetric matrix mapping and is a small vector.
For pose estimation, the MEKF is extended to SE(3), with the state , comprising both orientation and position, adopting multiplicative errors for orientation and additive errors for position. The error state is then stacked as with appropriate parameterization (Barczyk et al., 2015).
In systems with slowly-varying instrument biases (e.g., gyroscope bias), the error state is further augmented:
2. Propagation (Prediction) Step
Continuous-Time Dynamics
MEKF propagates the global state using the system’s true nonlinear kinematics:
- For attitude: (quaternion), (rotation matrix).
- For pose: ; (linear velocity in the body frame) (Barczyk et al., 2015).
Input measurements are modeled with additive bias and noise:
with , being zero-mean, white Gaussian processes.
Local Error-State Linearization
Linearization is performed about the nominal state, yielding system matrices and for the small error state. For attitude and bias estimation:
where
and (Takátsy et al., 2021, Chang, 2017).
For discretization, the state transition and process-noise covariances are computed via matrix exponentiation or first-order approximations:
with specific formulae for bias and rate noise structures (Takátsy et al., 2021).
3. Multiplicative Measurement Update
Upon new sensor data arrival (e.g., vector observations or scan-matching pose corrections), the innovation relates measured and predicted observations. The measurement model is written in the body frame. For direction observations:
where is the rotation matrix for the estimated quaternion.
The measurement residual is linearized in terms of the local error. The sensitivity matrix (Jacobian) for small-angle error is typically for attitude or
when multiple vectors are stacked (Takátsy et al., 2021). For pose updates from ICP- or vision-based scan-matching, the innovation is parameterized via right-invariant errors on and additive position (Barczyk et al., 2015).
Crucially, the multiplicative update is realized by retraction:
- Attitude update: , with constructed from the estimated correction .
- Matrix form: .
- Position and bias updates remain additive.
After each update, the error state is reset and covariance is optionally “re-projected” to account for nonlinear coordinate changes (Chang, 2017).
4. Covariance and Algorithmic Details
The error-state covariance evolves according to the standard or Joseph-form EKF recursion:
where is the Kalman gain, the measurement noise, and the current Jacobian.
When the state is reset multiplicatively, the covariance requires a congruence transformation to maintain consistency with the new error-state basis:
where is a function of the applied correction and is derived analytically (Chang, 2017).
Algorithmic steps, as implemented in practice, follow the cycle:
- Read noisy sensor inputs (gyro, odometry, etc.).
- Propagate the nominal global state.
- Propagate the error-state covariance.
- Upon new observation:
- Compute measurement residual and innovation.
- Form and apply the Kalman gain.
- Retract the correction multiplicatively to the global state.
- Reset error state; update covariance.
Explicit pseudocode and practical steps for satellite attitude (with bias), including quaternion propagation, matrix assembly, and in-place renormalization, are detailed in (Takátsy et al., 2021).
5. Extensions: Trajectory-Independent and Geometric MEKF
The trajectory-dependence (i.e., dependence on the nominal state) in traditional MEKF measurement models can induce inconsistency for large initial errors. Recent approaches establish trajectory-independent linearizations by fully exploiting the group-affine property of the attitude kinematics:
- Traditional: .
- Trajectory-independent: , with the measured vector (Chang, 2021).
This adjustment yields first-order error dynamics that are exact irrespective of estimation errors, significantly improving convergence under poor initialization and large misalignment scenarios. Monte Carlo and field-testing demonstrate robust convergence and sub-degree accuracy, even in adversarial conditions (Chang, 2021).
The equivalence of the MEKF and the geometric EKF (GEKF) has been rigorously established when covariance resets after multiplicative correction are performed consistently (Chang, 2017). Thus, “geometric MEKF” (GMEKF) refers to this fully consistent, geometry-respecting formulation.
6. Performance Analysis and Practical Outcomes
Performance assessments across satellite and robotic domains consistently show that MEKF achieves superior estimation accuracy and uncertainty quantification compared to the additive EKF (AEKF). Metrics such as attitude RMSE (root-mean-square error), (covariance norm), and real-time cycle cost have been benchmarked:
| Parameter | MEKF | AEKF |
|---|---|---|
| Attitude RMSE [deg] | 0.12 | 0.75 |
| Covariance norm | 0.010 | 1.000 |
| Update time [s] | 0.012 | 0.002 |
The MEKF’s computational cost is only marginally higher and generally negligible for practical embedded systems. In satellite attitude scenarios, MEKF maintains sub-degree accuracy with low drift, and experiments confirm rapid recovery after periods of degraded observation (e.g., Sun occultation) (Hassan et al., 2023, Takátsy et al., 2021).
Scan-matching-aided localization experiments show MEKF delivers sub-5 cm RMS error and ≈1° heading accuracy on straight-line tests. However, its performance degrades with highly nonlinear trajectories (e.g., circular motion), motivating further developments such as the invariant EKF (IEKF) which better handles nonlinearity in the presence of large attitude error (Barczyk et al., 2015).
7. Generalizations and Geometric Stability
The Generalized -MEKF introduces curvature correction terms to the filter’s gain and Riccati equations, thereby ensuring almost global uniform asymptotic stability (AGUAS) except at singular initializations (i.e., 180° misalignment) (Aslam et al., 11 Mar 2025). Specifically, the gain and covariance evolution include error-state dependent matrices reflecting curvature:
$[G_q\ G_b] = \tfrac12[\tr[M]I - M + e_Me_M^\top,\ \sqrt{1+\tr[M]}I]P\begin{bmatrix}I\ 0\end{bmatrix}Q_3^{-1}$
and the Riccati equation scales the process and measurement noise by geometric terms. For small errors, these reduce to the standard MEKF equations; for large errors, they guarantee global convergence in the absence of measurement singularity.
Simulation studies show that the generalized MEKF matches standard MEKF performance in both transient and steady-state regimes but benefits from global stability guarantees (Aslam et al., 11 Mar 2025).
References
- (Barczyk et al., 2015) Invariant EKF Design for Scan Matching-aided Localization
- (Takátsy et al., 2021) Attitude determination for nano-satellites—II. Dead reckoning with a multiplicative extended Kalman filter
- (Chang, 2021) MEKF Ignoring Initial Conditions for Attitude Estimation Using Vector Observations
- (Chang, 2017) Alternate Derivation of Geometric Extended Kalman Filter by MEKF Approach
- (Aslam et al., 11 Mar 2025) Geometric Nonlinear Filtering with Almost Global Convergence for Attitude and Bias Estimation on the Special Orthogonal Group
- (Hassan et al., 2023) A Comparative Analysis Between the Additive and the Multiplicative Extended Kalman Filter for Satellite Attitude Determination