Invariant Extended Kalman Filter
   HOME

TheInfoList



OR:

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 In estimation theory, the extended Kalman filter (EKF) is the nonlinear version of the Kalman filter which linearizes about an estimate of the current mean and covariance. In the case of well defined transition models, the EKF has been considered t ...
(EKF) for nonlinear systems possessing symmetries (or ''invariances''), then generalized and recast as an adaptation to
Lie group In mathematics, a Lie group (pronounced ) is a group that is also a differentiable manifold. A manifold is a space that locally resembles Euclidean space, whereas groups define the abstract concept of a binary operation along with the additio ...
s of the linear Kalman filtering theory.Barrau, A., & Bonnabel, S. (2016). The invariant extended Kalman filter as a stable observer. IEEE Transactions on Automatic Control, 62(4), 1797-1812. 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


Discrete-time framework

Consider a system whose
state State may refer to: Arts, entertainment, and media Literature * ''State Magazine'', a monthly magazine published by the U.S. Department of State * ''The State'' (newspaper), a daily newspaper in Columbia, South Carolina, United States * ''Our S ...
is encoded at time step n by an element x_n of a
Lie group In mathematics, a Lie group (pronounced ) is a group that is also a differentiable manifold. A manifold is a space that locally resembles Euclidean space, whereas groups define the abstract concept of a binary operation along with the additio ...
G and dynamics has the following shape:Barrau, A., & Bonnabel, S. (2019). Linear observed systems on groups. Systems & Control Letters, 129, 36-42. : x_n = \phi_n(x_) \cdot u_n where \phi_n is a
group automorphism In abstract algebra, a group isomorphism is a function between two groups that sets up a one-to-one correspondence between the elements of the groups in a way that respects the given group operations. If there exists an isomorphism between two grou ...
of G , \cdot is the group operation and u_n an element of G . The system is supposed to be observed through a measurement y_n having the following shape: : y_n = x_n \cdot b_n where b_n belongs to a vector space \mathcal endowed with a left action of the elements of G denoted again by \cdot (which cannot create confusion with the group operation as the second member of the operation is an element of \mathcal , not G ). Alternatively, the same theory applies to a measurement defined by a right action: : y_n = b_n \cdot x_n


Filter equations

The invariant extended Kalman filter is an observer \hat_n defined by the following equations if the measurement function is a left action: : \hat_ = \phi_n(\hat_) \cdot u_n : \hat_ = \hat_ \cdot \exp(K_n (\hat_^ \cdot y_n-b_n)) where \exp() is the exponential map of G and K_n 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: : \hat_ = \exp(K_n (y_n \cdot \hat_^-b_n)) \cdot \hat_


Continuous-time framework

The discrete-time framework above was first introduced for continuous-time dynamics of the shape: : \frac x_t = f_t(x_t), where the vector field f_t verifies at any time t the relation: : \forall a,b \in G, f_t(a \cdot b) = f_t(a) b + a f_t(b) - a f(Id)b where the identity element of the group is denoted by Id and is used the short-hand notation g u = L_g(u) (resp. u g = R_g(u) ) for the left translation L_g: TG_x \rightarrow TG_ (resp. the right translation R_g: TG_x \rightarrow TG_ ) where TG_x denots the
tangent space In mathematics, the tangent space of a manifold generalizes to higher dimensions the notion of '' tangent planes'' to surfaces in three dimensions and ''tangent lines'' to curves in two dimensions. In the context of physics the tangent space to a ...
to G at x . It leads to more involved computations than the discrete-time framework, but properties are similar.


Main properties

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: : e^L_ = \hat_^ x_n , : e^L_ = \hat_^ x_n , while for right actions we define a right-invariant error variable as: : e^R_ = x_n \hat_^ , : e^R_ = x_n \hat_^ , Indeed, replacing x_n , \hat_ , \hat_ by their values we obtain for left actions, after some algebra: : e^L_ = u_n^ \cdot \phi_n(e^L_) \cdot u_n , : e^L_ = \exp(-K_n(e^L_ \cdot b_n-b_n)) \cdot e^L_ , and for right actions: : e^R_ = \phi_n(e^R_) , : e^R_ = e^R_ \exp(-K_n(b_n \cdot e^R_-b_n)) , 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 In estimation theory, the extended Kalman filter (EKF) is the nonlinear version of the Kalman filter which linearizes about an estimate of the current mean and covariance. In the case of well defined transition models, the EKF has been considered t ...
does not share, but the similarity with the linear case actually goes much further. Let \xi_, \xi_ be a linear version of the error variable defined by the identity: : e_ = \exp(\xi_), : e_ = \exp(\xi_). Then, with F_n defined by the Taylor expansion \xi_ = F_n \xi_ + \circ(, , \xi_, , ) we actually have: : \xi_ = F_n\xi_. In other words, there are no higher-order terms: the dynamics is linear for the error variable \xi_, \xi_ . This result and error dynamics independence are at the core of theoretical properties and practical performance of IEKF.


Relation to symmetry-preserving observers

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

Consider the system : \dotf(x,u)+M(x) w : y h(x,u) +N(x)v where w,v are independent white Gaussian noises. Consider G a
Lie group In mathematics, a Lie group (pronounced ) is a group that is also a differentiable manifold. A manifold is a space that locally resembles Euclidean space, whereas groups define the abstract concept of a binary operation along with the additio ...
with identity e, and (local)
transformation group In mathematics, the automorphism group of an object ''X'' is the group consisting of automorphisms of ''X'' under composition of morphisms. For example, if ''X'' is a finite-dimensional vector space, then the automorphism group of ''X'' is the g ...
s \varphi_g, \psi_g, \rho_g (g \in G) such that (X,U,Y)=(\varphi_g(x),\psi_g(u),\rho_g(y)). The previous system with noise is said to be ''
invariant Invariant and invariance may refer to: Computer science * Invariant (computer science), an expression whose value doesn't change during program execution ** Loop invariant, a property of a program loop that is true before (and after) each iteratio ...
'' if it is left unchanged by the action the transformations groups \varphi_g, \psi_g, \rho_g; that is, if : \dot Xf(X,U)+M(X) w . : Yh(X,U) +N(X)v


Filter equations and main result

Since it is a
symmetry-preserving filter In mathematics, Symmetry-preserving observers,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. 129 ...
, the general form of an IEKF readsS. Bonnabel, Ph. Martin, and P. Rouchon, “Symmetry-preserving observers,” ''IEEE Transactions on Automatic and Control'', vol. 53, no. 11, pp. 2514–2526, 2008. :\dot=f(\hat x,u) +W(\hat x)L\Bigl(I(\hat x,u),E(\hat x,u,y)\Bigr)E(\hat x,u,y) where * E(\hat x,u,y) is an invariant output error, which is different from the usual output error \hat y-y *W(\hat x)=\bigl(w_1(\hat x),..,w_n(\hat x)\bigr) is an invariant frame *I(\hat x,u) is an invariant vector *L(I,E) is a freely chosen gain matrix. To analyze the error convergence, an invariant state error \eta(\hat x,x) is defined, which is different from the standard output error \hat x-x , 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 E(\hat x,u,y),W(\hat x),I(\hat x,u),\eta(\hat x,x), based on the moving frame method. Similarly to the EKF, the gain matrix L(I,E) is determined from the equations : LPC^T\bigl(N(e)N^T(e)\bigr)^, : \dot PAP+PA^T+M(e)M^T(e)-PC^T\bigl(N(e)N^T(e)\bigr)^CP, where the matrices A,C depend here only on the known invariant vector I(\hat x,u), rather than on (\hat x,u) as in the standard EKF. This much simpler dependence and its consequences are the main interests of the IEKF. Indeed, the matrices A,C 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


Attitude and heading reference systems

Invariant extended Kalman filters are for instance used in
attitude and heading reference systems An attitude and heading reference system (AHRS) consists of sensors on three axes that provide attitude information for aircraft, including roll, pitch, and yaw. These are sometimes referred to as MARG (Magnetic, Angular Rate, and Gravity) sens ...
. 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 leadsS. 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. to consider the
quaternion In mathematics, the quaternion number system extends the complex numbers. Quaternions were first described by the Irish mathematician William Rowan Hamilton in 1843 and applied to mechanics in three-dimensional space. Hamilton defined a quatern ...
error \hat qq^, 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.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


Inertial navigation

A major application of the Invariant extended Kalman filter is
inertial navigation An inertial navigation system (INS) is a navigation device that uses motion sensors (accelerometers), rotation sensors ( gyroscopes) and a computer to continuously calculate by dead reckoning the position, the orientation, and the velocity (dir ...
, which fits the framework after embedding of the state (consisting of attitude matrix R , velocity vector v and position vector x ) into the Lie group SE_2(3) defined by the group operation: :(R_1, v_1, x_1) \cdot (R_2, v_2, x_2) = (R_1 R_2, x_1 + R_1 x_2, v_1 + R_1 v_2)


Simultaneous localization and mapping

The problem of
simultaneous localization and mapping Simultaneous localization and mapping (SLAM) is the computational problem of constructing or updating a map of an unknown environment while simultaneously keeping track of an agent's location within it. While this initially appears to be a chick ...
also fits the framework of invariant extended Kalman filtering after embedding of the state (consisting of attitude matrix R , position vector x and a sequence of static feature points p^1, \dots, p^K ) into the Lie group SE_(3) (or SE_(2) for planar systems)Barrau, A., & Bonnabel, S. (2015). An EKF-SLAM algorithm with consistency properties. arXiv preprint . defined by the group operation: :(R_1, x_1, p_1^1, \dots, p_1^K) \cdot (R_2, x_2, p_2^2, \dots, p_2^K) = (R_1 R_2, x_1 + R_1 x_2, p_1^1 + R_1 p_2^1, \dots, p_1^K + R_1 p_2^K) The main benefit of the Invariant extended Kalman filter in this case is solving the problem of false observability.


References

{{DEFAULTSORT:Invariant Extended Kalman Filter Nonlinear filters Signal estimation