Jump to content

Invariant extended Kalman filter

From Wikipedia, the free encyclopedia

The invariant extended Kalman filter (IEKF) (not to be confused with the iterated extended Kalman filter) was first introduced as a version of the extended Kalman filter (EKF) for nonlinear systems possessing symmetries (or invariances),[1] then generalized and recast as an adaptation to Lie groups of the linear Kalman filtering theory.[2] Instead of using a linear correction term based on a linear output error, the IEKF uses a geometrically adapted correction term based on an invariant output error; in the same way the gain matrix is not updated from a linear state error, but from an invariant state error. The main benefit is that the gain and covariance equations have reduced dependence on the estimated value of the state. In some cases they converge to constant values on a much bigger set of trajectories than is the case for the EKF, which results in a better convergence of the estimation.

Filter derivation

[edit]

Discrete-time framework

[edit]

Consider a system whose state is encoded at time step by an element of a Lie group and dynamics has the following shape:[3]

where is a group automorphism of , is the group operation and an element of . The system is supposed to be observed through a measurement having the following shape:

where belongs to a vector space endowed with a left action of the elements of denoted again by (which cannot create confusion with the group operation as the second member of the operation is an element of , not ). Alternatively, the same theory applies to a measurement defined by a right action:

Filter equations

[edit]

The invariant extended Kalman filter is an observer defined by the following equations if the measurement function is a left action:

where is the exponential map of and is a gain matrix to be tuned through a Riccati equation.

If measurement function is a right action then the update state is defined as:

Continuous-time framework

[edit]

The discrete-time framework above was first introduced for continuous-time dynamics of the shape:

where the vector field verifies at any time the relation:[2]

where the identity element of the group is denoted by and is used the short-hand notation (resp. ) for the left translation (resp. the right translation ) where denots the tangent space to at . It leads to more involved computations than the discrete-time framework, but properties are similar.

Main properties

[edit]

The main benefit of invariant extended Kalman filtering is the behavior of the invariant error variable, whose definition depends on the type of measurement. For left actions we define a left-invariant error variable as:

,
,

while for right actions we define a right-invariant error variable as:

,
,

Indeed, replacing , , by their values we obtain for left actions, after some algebra:

,
,

and for right actions:

,
,

We see the estimated value of the state is not involved in the equation followed by the error variable, a property of linear Kalman filtering the classical extended Kalman filter does not share, but the similarity with the linear case actually goes much further. Let be a linear version of the error variable defined by the identity:

Then, with defined by the Taylor expansion we actually have:[2]

In other words, there are no higher-order terms: the dynamics is linear for the error variable . This result and error dynamics independence are at the core of theoretical properties and practical performance of IEKF.[2]

Relation to symmetry-preserving observers

[edit]

Most physical systems possess natural symmetries (or invariance), i.e. there exist transformations (e.g. rotations, translations, scalings) that leave the system unchanged. From mathematical and engineering viewpoint, it makes sense that a filter well-designed for the considered system should preserve the same invariance properties. The idea for the IEKF is a modification of the EKF equations to take advantage of the symmetries of the system.

Definition

[edit]

Consider the system

where are independent white Gaussian noises. Consider a Lie group with identity , and (local) transformation groups () such that . The previous system with noise is said to be invariant if it is left unchanged by the action the transformations groups ; that is, if

.

Filter equations and main result

[edit]

Since it is a symmetry-preserving filter, the general form of an IEKF reads[4]

where

  • is an invariant output error, which is different from the usual output error
  • is an invariant frame
  • is an invariant vector
  • is a freely chosen gain matrix.

To analyze the error convergence, an invariant state error is defined, which is different from the standard output error , since the standard output error usually does not preserve the symmetries of the system.

Given the considered system and associated transformation group, there exists a constructive method to determine , based on the moving frame method.

Similarly to the EKF, the gain matrix is determined from the equations[5]

,
,

where the matrices depend here only on the known invariant vector , rather than on as in the standard EKF. This much simpler dependence and its consequences are the main interests of the IEKF. Indeed, the matrices are then constant on a much bigger set of trajectories (so-called permanent trajectories) than equilibrium points as it is the case for the EKF. Near such trajectories, we are back to the "true", i.e. linear, Kalman filter where convergence is guaranteed. Informally, this means the IEKF converges in general at least around any slowly varying permanent trajectory, rather than just around any slowly varying equilibrium point for the EKF.

Application examples

[edit]

Attitude and heading reference systems

[edit]

Invariant extended Kalman filters are for instance used in attitude and heading reference systems. In such systems the orientation, velocity and/or position of a moving rigid body, e.g. an aircraft, are estimated from different embedded sensors, such as inertial sensors, magnetometers, GPS or sonars. The use of an IEKF naturally leads[5] to consider the quaternion error , which is often used as an ad hoc trick to preserve the constraints of the quaternion group. The benefits of the IEKF compared to the EKF are experimentally shown for a large set of trajectories.[6]

Inertial navigation

[edit]

A major application of the Invariant extended Kalman filter is inertial navigation, which fits the framework after embedding of the state (consisting of attitude matrix , velocity vector and position vector ) into the Lie group [7] defined by the group operation:

Simultaneous localization and mapping

[edit]

The problem of simultaneous localization and mapping also fits the framework of invariant extended Kalman filtering after embedding of the state (consisting of attitude matrix , position vector and a sequence of static feature points ) into the Lie group (or for planar systems)[7] defined by the group operation:

The main benefit of the Invariant extended Kalman filter in this case is solving the problem of false observability.[7]

References

[edit]
  1. ^ Bonnabel, S. (2007, December). Left-invariant extended Kalman filter and attitude estimation. In 2007 46th IEEE Conference on Decision and Control (pp. 1027-1032). IEEE.
  2. ^ a b c d Barrau, A., & Bonnabel, S. (2016). The invariant extended Kalman filter as a stable observer. IEEE Transactions on Automatic Control, 62(4), 1797-1812.
  3. ^ Barrau, A., & Bonnabel, S. (2019). Linear observed systems on groups. Systems & Control Letters, 129, 36-42.
  4. ^ S. Bonnabel, Ph. Martin, and P. Rouchon, “Symmetry-preserving observers,” IEEE Transactions on Automatic and Control, vol. 53, no. 11, pp. 2514–2526, 2008.
  5. ^ a b S. Bonnabel, Ph. Martin and E. Salaün, "Invariant Extended Kalman Filter: theory and application to a velocity-aided attitude estimation problem", 48th IEEE Conference on Decision and Control, pp. 1297–1304, 2009.
  6. ^ Ph. Martin and E. Salaün, "Generalized Multiplicative Extended Kalman Filter for Aided Attitude and Heading Reference System", AIAA Guidance, Navigation and Control Conference, 2010
  7. ^ a b c Barrau, A., & Bonnabel, S. (2015). An EKF-SLAM algorithm with consistency properties. arXiv preprint arXiv:1510.06263.