The extended Kalman filter (EKF) is the standard way to estimate the state of a non-linear system, such as the position and orientation of a vehicle, from inertial sensors and occasional measurements. It linearizes the dynamics about the current estimate. When the estimate is far from the truth, the gains it computes can be wrong and the filter can diverge. Few EKF stability results avoid the assumption that the filter's own covariance matrices stay bounded.
Barrau and Bonnabel study the invariant EKF (IEKF) on matrix Lie groups. For a class of systems they call group affine, the error between two trajectories, measured by group multiplication, evolves on its own, independent of the trajectory. After a logarithmic change of variables, this error even obeys an exact linear equation. They use this to prove that the IEKF, used as a deterministic observer, converges locally around any trajectory. Its hypotheses are the classical Kalman stability conditions, checked on the system linearized about the true trajectory rather than about the estimate.
This mission formalizes Sections 2 and 3 of the paper and their proofs in Appendices B and C.
A matrix Lie group is a closed subgroup of . A linear isomorphism from onto its Lie algebra gives the exponential . The system is
The left- and right-invariant errors between two trajectories are and .
The state is observed at the times , either through (left-invariant outputs) or through (right-invariant outputs). Between observations the IEKF copies the dynamics, . At it updates by , or by for right-invariant outputs. The gain comes from a Riccati equation built from the matrix that linearizes the error dynamics, a constant observation matrix , and the design matrices and .
Suppose the Deyst–Price conditions of the linear Kalman filter hold for the system linearized about the true trajectory . Then there is a radius , independent of the initialization time , with the following property. If the invariant error at is within of the identity, it tends to the identity as . The statement is the one the proof in Appendix C establishes. It uses the sign convention for of the paper's worked examples, the Deyst–Price form of the observability condition, a bound on the transition matrix within each sampling interval, and the comparability of the design matrices near the true trajectory that the proof of Lemma 4 asserts.
Local convergence of an EKF-type observer around every trajectory, under conditions checked in advance on the true trajectory, is rare for non-linear systems. The paper's examples, a car with GPS or landmark measurements and inertial navigation with landmarks, are standard problems in robotics and navigation, and the IEKF is used in practice for them. Theorem 1 characterizes exactly the systems for which the invariant error is autonomous. Theorem 2 turns this autonomy into an exact linear equation, which is the structural fact behind the stability proof.
Checking the paper's statements against their proofs found several errors:
The formal statements make each of these explicit.
Not included:
namespace InvariantEKF
theorem iekf_asymptotically_stable {N d K : ℕ} {U : Type*} (left : Bool)
(G : Set (Matrix (Fin N) (Fin N) ℝ)) (hG : IsMatrixLieGroup G)
(L : (Fin d → ℝ) →ₗ[ℝ] Matrix (Fin N) (Fin N) ℝ) (hL : IsLieAlgebraCoords G L)
(f : U → Matrix (Fin N) (Fin N) ℝ → Matrix (Fin N) (Fin N) ℝ) (hf : IsGroupAffine G f)
(u : ℝ → U) (hreg : IsLocLipschitzField (fun t => f (u t)))
(hcomplete : ∀ a ∈ G, ∃ χ, IsTrajectory G f u (Set.Ici 0) χ ∧ χ 0 = a)
(A : U → Matrix (Fin d) (Fin d) ℝ)
(hA : ∀ t, 0 ≤ t → IsLinearization L (errField left f (u t)) (A (u t)))
(dvec : Fin K → Fin N → ℝ) (dt : ℝ) (hdt : 0 < dt)
(Qhat : ℝ → Matrix (Fin N) (Fin N) ℝ → Matrix (Fin d) (Fin d) ℝ)
(Nhat : ℕ → Matrix (Fin N) (Fin N) ℝ → Matrix (Fin K × Fin N) (Fin K × Fin N) ℝ)
(hQ : ∀ t X, (Qhat t X).PosSemidef) (hN : ∀ n X, (Nhat n X).PosSemidef)
(χ : ℝ → Matrix (Fin N) (Fin N) ℝ) (hχ : IsTrajectory G f u (Set.Ici 0) χ)
(Phi : ℝ → ℝ → Matrix (Fin d) (Fin d) ℝ) (hPhi : IsTransitionMatrix (fun t => A (u t)) Phi)
(α₁ α₂ β₁ β₂ δ₁ δ₂ δ₃ c : ℝ) (M : ℕ) (hα₁ : 0 < α₁) (hα₂ : 0 < α₂) (hβ₁ : 0 < β₁)
(hβ₂ : 0 < β₂) (hδ₁ : 0 < δ₁) (hδ₂ : 0 < δ₂) (hδ₃ : 0 < δ₃) (hM : 1 ≤ M)
(hDP : DeystPriceConditions dt Phi (fun s => Qhat s (χ s)) (obsH left L dvec)
(fun n => Nhat n (χ ((n : ℝ) * dt))) α₁ α₂ β₁ β₂ δ₁ δ₂ δ₃ M)
(hbdd : BoundedTransition dt Phi c)
(hcomp : TuningComparable left L χ dt Qhat Nhat)
(P0 : Matrix (Fin d) (Fin d) ℝ) (hP0 : P0.PosDef) :
∃ ε > 0, ∀ t0 : ℝ, 0 ≤ t0 → ∀ χhat0 ∈ G,
∀ (xs : ℕ → ℝ → Matrix (Fin N) (Fin N) ℝ) (Ps : ℕ → ℝ → Matrix (Fin d) (Fin d) ℝ),
IsIEKFRun left L f u A dvec dt Qhat Nhat χ t0 χhat0 P0 xs Ps →
invErrDist left (χ t0) χhat0 < ε →
Tendsto (fun t => invErrDist left (χ t) (piecewiseRun xs dt t)) atTop (𝓝 0) := by sorry
end InvariantEKFLet be a matrix Lie group with Lie algebra coordinates . Let be group affine, locally Lipschitz in the state uniformly on compact time windows, and forward complete on . It is observed at through left-invariant outputs (resp. right-invariant outputs ), . Let be defined by for (resp. ), and let be the observation matrix of the filter. The design matrices and are positive semidefinite functions of the estimate.
Fix a true trajectory , . Suppose the Deyst-Price conditions (i)-(v) of Theorem 3 hold for , i.e. for the system linearized about the true trajectory, with positive constants. Suppose also that the transition matrix of is bounded on each sampling interval, and that evaluated at nearby estimates are comparable with their values on (for every there is such that an invariant error with gives , and likewise for ). Fix .
Then the Left (resp. Right) Invariant EKF (36)-(37) is an asymptotically stable observer of , with a radius independent of the initialization time. There is such that, for every and every initial estimate with ,
(resp. with in place of ).
Formalization Note This is Theorem 4 as the proof in Appendix C establishes it. (a) has the sign of the paper's worked examples. With the sign printed in Section 3.3 the filter diverges, even for . (b) Condition (v) of Theorem 3 is in the form of Deyst and Price. (c) The bounded-transition condition supplies the bounds for all that Lemmas 5-7 use. (d) The comparability of is the inequality the proof of Lemma 4 asserts. It fails for the paper's general form when is singular. (e) The distance of Definition 2 is measured through the invariant error. (f) The same is used at every initialization time.
No submissions yet on this mission's goal. Log in and be the first to prove it.