Exploiting Symmetries to Design EKFs with Consistency Properties for Navigation and SLAM
Martin Brossard (CAOR), Axel Barrau, Silv\`ere Bonnabel (CAOR)

TL;DR
This paper introduces a novel invariant EKF framework that ensures consistency in navigation and SLAM by properly capturing unobservable directions, demonstrated through theoretical proofs and empirical evaluations.
Contribution
It develops an alternative EKF based on a nonlinear error that inherently respects symmetry properties, ensuring consistency in unobservable scenarios.
Findings
The alternative EKF captures unobservable directions automatically.
The proposed EKF outperforms standard EKF in experiments.
It achieves performance comparable to iSAM in multi-robot SLAM.
Abstract
The Extended Kalman Filter (EKF) is both the historical algorithm for multi-sensor fusion and still state of the art in numerous industrial applications. However, it may prove inconsistent in the presence of unobservability under a group of transformations. In this paper we first build an alternative EKF based on an alternative nonlinear state error. This EKF is intimately related to the theory of the Invariant EKF (IEKF). Then, under a simple compatibility assumption between the error and the transformation group, we prove the linearized model of the alternative EKF automatically captures the unobservable directions, and many desirable properties of the linear case then directly follow. This provides a novel fundamental result in filtering theory. We apply the theory to multi-sensor fusion for navigation, when all the sensors are attached to the vehicle and do not have access to…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsRobotics and Sensor-Based Localization · Target Tracking and Data Fusion in Sensor Networks · Inertial Sensor and Navigation
This paper has been accepted in:
IEEE Sensors Journal Vol. 19(4), 2019.
DOI : 10.1109/JSEN.2018.2882714
The present online version posted by the authors is augmented with an extended appendix which provides much more details to practitioners and is not explicitly displayed in the journal paper. Notably, all the pseudo algorithms that are used in the simulations and experiments are provided in detail (whereas, owing to space limits, the journal paper gives only their general form and one has to work out the details). Nevertheless, please cite the IEEE Sensors Journal paper when referring to the present paper as follow:
@article{brossardExploiting2019,
author={Martin {Brossard} and Axel {Barrau} and Silv\‘ere {Bonnabel}},
journal={IEEE Sensors Journal},
title={Exploiting Symmetries to Design EKFs With Consistency Properties for Navigation and SLAM},
year={2019},
volume={19},
number={4},
pages={1572-1579},
doi={10.1109/JSEN.2018.2882714},
ISSN={1530-437X},
month={Feb},
}
IEEE copyright applies. Personal use of this material is permitted. Permission from IEEE must be obtained for all other uses, in any current or future media, including reprinting/republishing this material for advertising or promotional purposes, creating new collective works, for resale or redistribution to servers or lists, or reuse of any copyrighted component of this work in other works.
Exploiting Symmetries to Design EKFs with Consistency Properties for Navigation and SLAM
Martin Brossard M. Brossard and S. Bonnabel are with MINES ParisTech, PSL Research University, Centre for Robotics, 60 Boulevard Saint-Michel, 75006 Paris, France (email: [email protected];[email protected]).
Axel Barrau A. Barrau is with Safran Tech, Groupe Safran, Rue des Jeunes Bois-Châteaufort, 78772, Magny Les Hameaux Cedex, France (email: [email protected]).
and Silvère Bonnabel11footnotemark: 1
Abstract
The Extended Kalman Filter (EKF) is both the historical algorithm for multi-sensor fusion and still state of the art in numerous industrial applications. However, it may prove inconsistent in the presence of unobservability under a group of transformations. In this paper we first build an alternative EKF based on an alternative nonlinear state error. This EKF is intimately related to the theory of the Invariant EKF (IEKF). Then, under a simple compatibility assumption between the error and the transformation group, we prove the linearized model of the alternative EKF automatically captures the unobservable directions, and many desirable properties of the linear case then directly follow. This provides a novel fundamental result in filtering theory. We apply the theory to multi-sensor fusion for navigation, when all the sensors are attached to the vehicle and do not have access to absolute information, as typically occurs in GPS-denied environments. In the context of Simultaneous Localization And Mapping (SLAM), Monte-Carlo runs and comparisons to OC-EKF, robocentric EKF, and optimization-based smoothing algorithms (iSAM) illustrate the results. The proposed EKF is also proved to outperform standard EKF and to achieve comparable performance to iSAM on a publicly available real dataset for multi-robot SLAM.
1 Introduction
Multi-sensor fusion for navigation of autonomous and non-autonomous vehicles, or for Simultaneous Localization And Mapping (SLAM) or Visual Inertial Odometry (VIO) is classically handled by the Extended Kalman Filter (EKF). Although powerful alternative techniques have since emerged, the EKF is both the historical algorithm - originally implemented in the Apollo program - and still a prevalent algorithm in the academia and in the industry, see e.g., [13, 7, 40].
One major limitation of the EKF is its inconsistency, that is, the filter returns a covariance matrix that is too optimistic [2], leading to inaccurate estimates. EKF inconsistency in the context of SLAM has been the object of many papers, see e.g. [31, 22, 36, 16, 1, 26, 24, 23, 27, 29]. Theoretical analysis [31, 24, 29] reveals inconsistency is caused by the inability of EKF to reflect the unobservable degrees of freedom of SLAM. Indeed, the filter tends to erroneously acquire information along the directions spanned by these unobservable degrees of freedom. The Observability Constrained (OC)-EKF [29, 26] constitutes one of the most advanced solutions to remedy this problem and has been fruitfully adapted, e.g. for VIO, cooperative localization, and unscented Kalman filter [28, 36, 25]. The idea is to pick a linearization point that is such that the unobservable subspace “seen” by the filter is of appropriate dimension.
In this paper we propose a novel general theory. We first propose to build EKFs based on an alternative error , generalizing the Invariant EKF (IEKF) methodology [5]. This means the covariance matrix reflects the dispersion of , and not of . When unobservability stems from symmetries, the technique may resolve the consistency issues of the EKF. Indeed symmetries are encoded by the action of a transformation group [39], where denotes the corresponding infinitesimal unobservable transformation. Under the simple condition that the image of matrix is independent of , the EKF based on is proved to possess the desirables properties of the linear case regarding unobservability, and is thus consistent.
1.1 Specific Application to SLAM
The specific application to SLAM was released by the authors on Arxiv in 2015 [4] and encountered immediate successes reported in [42, 41, 20, 12, 14, 6, 21], although the work was never published elsewhere.
More precisely, we noticed back in [10] the SLAM problem bears a nontrivial Lie group structure. In the Arxiv preprint [4] we formalized the group introduced in [10] and called it , and we proved that for odometry based SLAM, using the right invariant error of and devising an EKF based on this error, i.e., a Right-Invariant EKF (RIEKF), the linearized system possesses the desirable properties of the linear case, since it automatically correctly captures unobservable directions for SLAM. Thus, virtually all properties of the linear Kalman filter regarding unobservability may be directly transposed: the information about unobservable directions is non-increasing (see Proposition 2), the dimension of the unobservable subspace has appropriate dimension (this relates to the result of OC-EKF [25, 29, 28]), the filter’s output is invariant to linear unobservable transformations, even if they are stochastic and thus change the EKF’s covariance matrix along unobservable directions [42]. The right-invariant error for the proposed Lie group structure was also recently shown to lead to deterministic observers having exponential convergence properties in [38].
Along the same lines, using the right-invariant error of the group we proposed in [5] also led to alternative consistent IEKF for visual inertial SLAM and VIO applications [41, 20, 12, 14, 21]. In particular, [20] demonstrates that an alternative Invariant MSCKF based on the right-invariant error of naturally enforces the state vector to remain in the unobservable subspace, a consistency property which is preserved when considering point and line features [21], or when a network of magnetometers is available [14].
1.2 Paper’s Organization
Section 2 presents the general theory. Section 3 applies the theory to the general problem of navigation in the absence of absolute measurements, as typically occurs in GPS-denied environments. Section 4 is dedicated to SLAM and compares the proposed EKF to conventional EKF, OC-EKF [29], robocentric mapping filter [15] and iSAM [32, 33]. In Section 5, we show our alternative EKF achieves comparable results to iSAM and outperforms the conventional EKF on a multi-robot SLAM experiment using the UTIAS dataset [35].
Preliminary ideas and results can be found in the 2015 technical report [4]. Although the present paper is a major rewrite, notably including a novel general theory encompassing the particular application to SLAM of [4], and novel comparisons and experiments, [4] serves as preliminary material for the present paper. Matlab codes used for the paper are available at https://github.com/CAOR-MINES-ParisTech/esde.
2 General Theory
Let us consider the following dynamical system in discrete time with state and observations :
[TABLE]
where is the function encoding the evolution of the system, is the Gaussian process noise, is the input, is the observation function and a Gaussian measurement noise.
We now define mathematical symmetries, see [39, 8].
Definition 1**.**
An action of a (Lie) group on is defined as a family of bijective maps satisfying
[TABLE]
where corresponds to the identity of the group .
Definition 2**.**
Let be defined as in (3)-(4). We say that system (1)-(2) is totally invariant under the action of if
the dynamics are equivariant under , i.e.,
[TABLE] 2. 2.
the observation map is invariant w.r.t.
[TABLE]
“Symmetry” is defined as invariance to transformations . Throughout the paper we will rather use the term invariant, along the lines of the preceding definition.
As in this paper we pursue the design of consistent EKFs, we will focus on the system “seen” by an EKF: it consists of the linearization of system (1)-(2) about the estimated trajectory in the state space. Along the lines of [24, 28] we use the linearized system about a trajectory.
Let denote a solution of (1) with noise turned off. The local observability matrix [17] at for the time interval between time-steps and is defined as
[TABLE]
with the Jacobians , .
First we show the directions spanned by the action of are necessarily unobservable directions of the linearized system, that is, they lie in the kernel of the observability matrix.
Proposition 1**.**
If system (1)-(2) is invariant in the sense of Definition 2, then the directions infinitesimally spanned by at any necessarily lie in , with defined by (7), and are thus unobservable.
Proof.
Differentiating111 On Lie groups differentiation can indeed be rigorously defined as \frac{\partial}{\partial\alpha}\phi_{\alpha}\bigr{|}_{\alpha=Id}(\mathbf{x})\delta\alpha:=\frac{d}{ds}\phi_{\exp(s\delta\alpha)}(\mathbf{x})|_{s=0} with in the Lie algebra, which mean partial derivative of with respect to at . (5) and (6) w.r.t. at we obtain
[TABLE]
Let denote a solution of (1) with noise turned off. (9) applied at yields . Considering then (8) at leads to . Applying (9) at yields and thus . A simple recursion proves . ∎
Indeed, no matter the number of observations and moves, we are inherently unable to detect an initial (infinitesimal) transformation , the problem being invariant to it.
2.1 Observability Issues of the Standard EKF
Let be a sequence of state estimates given by an EKF. The linearized system “seen” by the EKF involves the estimated observability matrix
[TABLE]
where Jacobians are computed at the estimates. The directions spanned by at necessarily lie in , as proved by Proposition 1, but there is a null probability that they lie in , because of the noise and Kalman updates, see [28]. A major consequence is that the EKF gains spurious information along the unobservable directions.
In fact, this problem stems from the choice of estimation error that does not match unobservability of system (1)-(2): changing the estimation error may resolve the problem.
2.2 EKF Based on a Nonlinear Error
In this section, we define an EKF based on a nonlinear function that provides an alternative to the usual linear estimation error . We prove consistency under compatibility assumptions of the group action and .
The methodology builds upon the alternative errors
[TABLE]
The filter is displayed in Algorithm 2. As the covariance matrix is supposed to reflect the dispersion of , we need to define Jacobians w.r.t our alternative state error. At line 2 , are Jacobians of the error propagation function, and at line 3, , are Jacobians of the error measurement defined through the following first order approximations
[TABLE]
At line 4, denotes the (best) error estimate according to the EKF. However, defining the (best) state corresponding to estimate is not straightforward as in the linear case where . At line 5 we use a retraction , that is, any function which is consistent with the error to the first order, i.e., .
Note that, we recover the conventional EKF if we let be the usual linear error.
2.3 Compatibility Assumptions and Main Consistency Result
The matrix222To fix ideas and help the reader understand the tools, let us pick an example. For instance we can let the state space be and a rotation of angle around the origin. The group is the circle, and the identity element is . In this case, using polar coordinates, i.e. we have . The directions spanned by at are which is a vector orthogonal to in . Now, consider an error between two elements of the state space . What we advocate in the preset paper is that nonlinear errors may be much better suited for EKF design, but to keep things simple at this stage assume merely that denotes the linear error. In this case we have . This is an element of the state space , and we can differentiate with respect to . We find . Of course, it would have been different if we had chosen a different error. If we choose the polar coordinates error, that is is a two component vector with first component the difference of norms and second component the difference of angles in polar coordinates, then we find which is quite different, and thus . We see to some extent this error is more “compatible” with the symmetry group we chose since it is the same at any . In this footnote, the group was of dimension 1, i.e. it was encoded by a one dimensional element . If had another component, we would need to differentiate with respect to it also. As a result we would not obtain a vector but a matrix, each column being associated to a component of . reflects how infinitesimal transformations of the state produced by the action of affect the error variable . In Assumption 1 below this matrix is used to define a kind of “compatibility” between an invariance group and a nonlinear error function , which leads to the main result of this paper (Theorem 1).
Assumption 1**.**
The image of the matrix is a fixed subspace that does not depend on .
Proposition 1 proved that if the system (1)-(2) is totally invariant, then the directions infinitesimally spanned by at any point lie in , with defined by (7), and thus they are unobservable. We have also recalled this is not true for the linearized system seen by the EKF, i.e. for [28]. We have the following powerful result:
Theorem 1**.**
If the system (1)-(2) is invariant, and under Assumption 1, the unobservable directions spanned by at any point , measured using error necessary lie in , with defined by (13)-(14).
Proof.
Let . Recalling (14), we have with a linearized approximation to . But also . From (9) the latter is . Thus for any , i.e. .
Using (13), is defined as
[TABLE]
thus . Besides, using (5) yields
[TABLE]
applying Assumption 1 at . Thus for any we have and thus . We have thus proved
[TABLE]
This proves the result through an immediate recursion. ∎
We obtain the consistency property we pursue: the linearized model has the desirable property of the linear Kalman filter regarding the unobservabilities, when expressed in terms of error . As a byproduct, the unobservable subspace seen by the filter is automatically of appropriate dimension.
2.4 Consequences in Terms of Information
In the linear Gaussian case, the inverse of the covariance matrix output by the Kalman filter is the Fisher information available to the filter (as stated in [2] p. 304). Thus, the inverse of the covariance matrix output by any EKF should reflect an absence of information gain along unobservable directions. Otherwise, the output covariance matrix would be too optimistic, i.e., the filter inconsistent [2].
Note that, the covariance matrix reflects the dispersion of the error of (11)-(12), as emphasized by the superscript . We have the following consistency result.
Proposition 2**.**
Let be an unobservable direction spanned by at the estimate , measured using alternative error . Let with be its propagation through the linearized model. Under Assumption 1 the Fisher information according to the filter about is non-increasing , i.e.,
[TABLE]
Proof.
At propagation step we have
[TABLE]
since is positive semidefinite. As we have just proved .
At update step (in information form) we have
[TABLE]
But using (18) we see and thus so . ∎
The theorem essentially ensures the linearized model of the filter has a structure which guarantees that the covariance matrix at all times reflects an absence of “spurious” (Bayesian Fisher) information gain over unobservable directions, ensuring strong consistency properties of our alternative EKF.
3 Application to Multi-Sensor Fusion for Navigation
In this section, we consider a navigating vehicle or a robot equipped with sensors which only measure quantities relative to the vehicle’s frame. Thus the vehicle cannot acquire information about its absolute position and orientation, which results in inevitable unobservability. The state space is and the state is defined as
[TABLE]
where represents the orientation of the vehicle, i.e., its columns are the axes of the vehicle’s frame, and where
are vectors of the global frame, such as the vehicle’s position, 2. 2.
are velocities in the global frame, and higher order derivatives of the ’s. 3. 3.
, are quantities being invariant to global transformations, such as sensors’ biases or camera’s calibration parameters.
Without restriction, we consider in the following for convenience of notation.
Definition 3**.**
The Special Euclidean group describes rigid motions in 3D and is defined as . Given , the group operation is and the inverse . We denote the identity.
Changes of global frame are encoded as the action of an element on . Thus, quantities expressed in the global frame (such as the vehicle position) are rotated and translated by the action , whereas quantities expressed in the vehicle’s frame, such as Inertial Measurement Unit (IMU) biases, are left unchanged. The action then writes (with and )
[TABLE]
Assumption 2**.**
The vehicle’s dynamic does not depend on the choice of global frame, and the vehicle’s sensors only have access to relative observations, i.e. no absolute information is available.
As a result, the equations write (1)-(2) and are invariant to the action of in the sense of Definition 2.
To differentiate w.r.t. elements of we resort to its Lie algebra and do in detail what is sketched in Footnote 1.
Definition 4**.**
The Lie algebra of encodes small rigid motions about the identity. It is defined as , where is the skew symmetric matrix associated with cross product with . For any , we have where denotes the exponential map of (for a definition see (39)-(43) below with ).
For more information about and its use in state estimation for robotics see the recent monographs [3, 18].
Writing in (27) we see the directions infinitesimally spanned by at in the direction write for the state (23):
[TABLE]
where and .
Example 1**.**
[SLAM] Consider a simple SLAM system with one robot and one landmark [28]. Let be the position of the robot, the orientation of the robot, and the landmark’s position. The state is
[TABLE]
The dynamics write where denote orientation and position increments typically measured through odometry. The observation of the landmark in the robot’s frame is of the form . Translations and rotations of the global frame correspond to actions of elements as
[TABLE]
The system is obviously invariant.
Referring to (25), as and , the directions spanned by at are as follows
[TABLE]
with . As a direct consequence of Prop. 1, those directions are unobservable. The system continues to be invariant even if a sophisticated model is assumed: the motion equations do not depend a choice of global frame.
Example 2**.**
[VIO, or Visual Inertial Navigation System (VINS)] Consider a vehicle equipped with an IMU and a camera, as in [36]. Let denote the vehicle velocity, the IMU bias and/or scale factors. The state is
[TABLE]
and observations correspond to landmarks’ bearings in the vehicle frame, whereas inputs are provided by an IMU. A change of global frame writes
[TABLE]
where we restrict to be around the gravity axis, i.e. with , since the vertical is measured [36]. The action is then also invariant.
3.1 EKF Based on a Nonlinear Error
For the general state of (23) consider the nonlinear error
[TABLE]
where and . We set for simplicity. To linearize, we have the following first order vector approximation of (55) that lives in
[TABLE]
where .
Proposition 3**.**
The error (55) is compatible with the action (24) of in the sense of Assumption 1.
Proof.
For , using (55) we obtain that
[TABLE]
such that turns out to be independent of , and the result is readily obtained by differentiation at . ∎
3.2 Choice of the Retraction
When the state space is a Lie group, and one uses errors that are invariant with respect to right multiplication, the theory of Invariant EKF (IEKF) [9, 5] suggests to use where denotes the Lie group exponential. In [10], it was noticed a natural Lie group structure underlies the (odometry based) SLAM problem. In the preprint [4] of the current article, we formalized more elegantly this group, and called it . The current paper is a generalization to more complete state (23), which may be endowed with the group structure (direct product of groups and ). For state (23) we thus suggest , i.e.
[TABLE]
with , and where
[TABLE]
[TABLE]
, and .
3.3 Extension to Problems Involving Multiple Robots
Consider a problem consisting of systems, see e.g. Section 5. We have global orientations, one for each system, that transform as the global frame’s orientation. For such problems, we define a collection of of (23), and the alternative state error of the problem merely writes
[TABLE]
where is the error (55) for the -th system.
4 Simulation Results
This section considers the 2D wheeled-robot SLAM problem and illustrates the performances of the proposed approach. We conduct similar numerical experiment as in the sound work [28] dedicated to EKF inconsistency and benefits of the OC-EKF, i.e., a robot makes 7 circular loops and 20 landmarks are disposed around the trajectory, see Figure 2. We refer the interested reader to the available Matlab code for the parameter setting and reproducing the present results.
We compare our approach to standard EKF which conveys an estimate of the linear error; OC-EKF [28] which linearizes the model in a nontrivial way to enforce the unobservable subspace of to have an appropriate dimension; robocentric EKF [15, 19, 37] which express the state in the robot’s frame and then devise an EKF; and iSAM [32, 33], a popular optimization technique both for SLAM and odometry estimation which finds the most likely state trajectory given all past measurements. The differences between the estimation errors used by the various EKF variants are recapped in Figure 1.
The results confirm the consistency guarantees of Theorem 1 and Proposition 2 are beneficial to the EKF in practice.
4.1 Monte-Carlo Based Numerical Results
Figure 3 displays the Normalized Estimation Error Squared (NEES), Root Mean Square Error (RMSE) and distance to Maximum-Likelihood estimate, over 1000 Monte-Carlo runs.
4.1.1 Consistency Evaluation
The NEES [2] provides information about the filter consistency, such that NEES 1 reveals an inconsistency issue: the actual uncertainty is higher than the computed uncertainty. As expected, the NEES of the robot pose estimates in Figure 3 indicates that the standard EKF is inconsistent, whereas the other approaches are more consistent. The proposed EKF and iSAM obtain the best NEES, whereas the NEES of OC-EKF and robocentric EKF slightly increase after the first turn, i.e. at the first loop closure.
4.1.2 Accuracy Performances
We evaluate accuracy through RMSE of the robot position error. This confirms that: “solving consistency issues improves the accuracy of the estimate as a byproduct, as wrong covariances yield wrong gains” [2]. Numerical results are displayed in Figure 1.
4.1.3 Distance to Maximum-Likelihood Estimate
We use as a third performance criterion distance to the estimates returned by iSAM [32], which are optimal in the sense that it returns the Maximum A Posteriori (MAP) estimate. To this respect, we see that the proposed EKF is the closest to iSAM.
4.1.4 Execution Time
We provide the execution time of the filters for the 100 Monte-Carlo runs in Table 1, which are implemented in Matlab and tested on Precision Tower 7910 armed with CPU E5-2630 v4 2.20 Hz. The iSAM’s execution time is not included since it cannot be compared: it is implemented using C++ and an optimized code, whereas we used Matlab based simulations. It is thus evidently lower. Regarding computational complexity, our proposed filter has similar complexity as the standard EKF and OC-EKF, since its EKF-based structure makes it quadratic in the state dimension, i.e., number of landmarks. The use of a retraction at the update step instead of mere addition may slightly increase the computational burden, but the impact in the execution time proves negligible. The robocentric filter is penalized because it moves the landmarks during propagation, which in turn impacts the propagation of the covariance matrix. In our solution landmarks remain fixed during propagation. Note that the proposed solution can be implemented using recent techniques [34, 30] to decrease computational load. To implement the robocentric and OC-EKF we report that we used the code of [28], see Acknowledgments.
These simulations confirm that regarding SLAM, the proposed filter is an alternative to the OC-EKF. Contrarily to OC-EKF the model is linearized at the (best) estimate, and is thus much closer to standard EKF methodology, and applies to a large class of problems without explicit computation of the unobservable directions.
5 Experimental Results
This section validates the proposed filter on multi-robot SLAM on the UTIAS dataset [35], to prove the feasibility and the benefits of the approach. Since both robocentric and OC-EKF are not straightforwardly applied to multi-robot SLAM, we compare our approach to iSAM and a standard EKF only, both filter using a centralized scheme, although both can be used in decentralized estimation [34] (an OC-EKF has been derived only for cooperative localization in [29]).
The 2D indoor UTIAS dataset [35] consists of a collection of 9 individual datasets of 20-70 min containing odometry and range and bearing measurements data from 5 robots, as well as ground-truth for all robot poses and 15 landmark positions, and has been especially realized for studding the multi-robot SLAM problem. The forward velocity and angular velocity commands are logged at as odometry data. The maximum forward velocity of a robot is , and the maximum angular velocity is 0.35rad/s. Each robot and landmark has a unique identification barcode, that are detected in rectified images captured by the camera on each robot. The encoded identification barcode as well as the range and bearing to each barcode is then extracted, where the camera on each robot is placed to align with the robot body frame. The ground-truth pose for each robot and ground-truth position for each landmark is provided by a Vicon motion capture system at with accuracy on the order of .
5.1 Alternative Error Derivation
Let robots navigate in an unknown environment of landmarks, where is the pose of the -th robot. Inspired from Section 3.3, we suggest to treat each robot as a system with its own global orientation. Regarding landmarks, we chose to consider each landmark as a system (23), whose orientation is fixed and is associated with the orientation of the robot that observes this landmark for the first time (we have then ). Our error leads to an increase of the dimension of the covariance matrix , but clearly improves the filter accuracy, as shown below.
To recap the difference with EKF for the present problem:
- •
The standard EKF conveys an estimate of the dispersion of the linear error, which is for the -th robot and for the -th landmark.
- •
The proposed EKF conveys an estimate of the dispersion of an alternative error defined as for the -th robot and for the -th landmark.
This is an application of the method of Section 3.3, where each landmark position is associated to a fixed orientation . Note that, deriving a robocentric EKF seems non-trivial.
5.2 Experimental Results
We conducted preliminary tests to calibrate the motion model and to characterize the noise properties of the motion and measurement models as follows: standard deviation on odometry as 20 % of the robot velocity, and standard deviation of range and bearing measurement as, respectively, and . We then define a maximum observation range of . This corresponds to the most favorable setting for standard EKF.
Since the NEES is a statistical indicator and is very sensitive to parameter tuning, we focus on the RMSE, which is plotted on Figure 5 for the robot positions on all the available experiments. The RMSE for the standard EKF is summarized over all datasets in Figure 2, with improvement for iSAM and the proposed EKF of as much as 50 % compared to the standard EKF in the more challenging dataset 9 (where visual barriers reduce the number of barcode detections).
6 Conclusion
This work evidences the EKF for robot navigation is not inherently inconsistent but the choice of the estimation error for linearization is pivotal: properly defining the error the EKF shall linearize yields consistency. For SLAM, Monte-Carlo simulations and real experiments have evidenced our alternative EKF outperforms the EKF and achieves similar performance as state of the art iSAM. It thus offers an alternative to OC-EKF based on a sound mathematical theory anchored in geometry. Moreover the general theory goes beyond basic SLAM. Future works concern the application of the method in various navigation problems and its derivation for both unscented Kalman filter and optimization techniques [32, 33].
Acknowledgments
We thank Guoquan Paul Huang of University of Delaware for sharing his code of OC-EKF.
Appendix A 2D Mono-Robot Wheeled-SLAM
We detail in this section the proposed filter for the 2D mono-robot wheeled-SLAM problem, which correspond to Section IV. This section starts by recalling the considering problem, details the proposed EKF and finishes with the standard EKF algorithm for the reader to compare and see what the differences are.
We consider a 2D SLAM system with one robot and landmarks. Let be the position of the robot, the orientation of the robot, and the position of the -th landmark. The state is given as
[TABLE]
The dynamics write
[TABLE]
where
[TABLE]
denotes orientation and position increments typically measured through odometry, and is the rotation matrix of angle . The noise in the propagation model is given as
[TABLE]
and contains noise on both the angular and position increments.
The observation of the landmarks in the robot’s frame writes
[TABLE]
where for any landmark we have
[TABLE]
which represents a range and bearing observation and is the noise in the measurement of the -th landmark, letting
[TABLE]
be the covariance matrix for all the noise in the observation (51). Only a small fraction of the landmarks are observed at each step, i.e. only a subset of (51) is used. We now detail the proposed EKF for the considered SLAM problem. This EKF first appears in [4] and was then shown to remedy consistency issues in this context.
A.1 Proposed EKF Derivation
For the considered problem, the non-linear error is defined as, see (25)
[TABLE]
To linearize, we have the following first order vector approximation, see (26)-(27)
[TABLE]
The proposed filter operates in two steps: propagation and update, see Algorithm 2. We now detail these two steps.
A.2 Propagation
At this step, we first propagate the state with the noise free model to compute . We then propagate the covariance, where Jacobian are obtained after conserving only the first order error term in . The Jacobian of the propagation are given as
[TABLE]
[TABLE]
A.3 Update
This step considers the observations of the landmarks. The Jacobian for for the measurements are given as
[TABLE]
where is the matrix
[TABLE]
and . The non-zero parts of in (61) correspond to the error on the robot position and on the -th landmark. Once the Kalman gain is computed, we compute the innovation and them update the state. The retraction required to update the state is given as the exponential of , see Section IV-A and see also [4]. We have thus
[TABLE]
where
[TABLE]
We conclude this step by updating the matrix covariance, see step 6 of Algorithm 2.
A.4 Standard EKF Algorithm
We provide in this section the standard EKF algorithm. The standard EKF follows Algorithm 2 with a simple linear error that we denote using the superscript std.
In 3D, the difference between two rotation matrices does not make any sense. It is thus customary to use the difference in the sense of group multiplication on , and this is what is referred to as “standard” EKF in the following. Thus, the state error on which the EKF is built is as follows:
[TABLE]
The following first order vector approximation writes
[TABLE]
The Jacobians and the retraction are given as
[TABLE]
[TABLE]
[TABLE]
[TABLE]
with the matrix
[TABLE]
where we let
[TABLE]
and
[TABLE]
where
[TABLE]
and has the same form (70) as for the proposed EKF, and .
Appendix B 3D Mono-Robot Wheeled-SLAM
We detail in this section the proposed filter for the 3D mono-robot wheeled-SLAM problem. This section starts by recalling for the reader to compare. The similarities with the 2D problem (see Section A) are obvious.
We consider a 3D SLAM system with one robot and landmarks. Let be the position of the robot, the orientation of the robot, and the position of the -th landmark. The state is given as
[TABLE]
The dynamics write
[TABLE]
where
[TABLE]
denotes orientation and position increments typically measured through odometry, and . The noise in the propagation model is given as
[TABLE]
and contains noise on both the angular and position increments.
The observation of the landmarks in the robot’s frame is given as
[TABLE]
where the observation model for one landmark
[TABLE]
represents a perspective projection observation given e.g. by a monocular camera and is the noise in the measurement of the -th landmark, letting
[TABLE]
be the covariance matrix for all the noise in the observation (93). Only a small fraction of the landmarks are observed at each step, i.e. only a subset of (93) is used. We now detail the proposed EKF for the considered SLAM problem.
B.1 Proposed EKF Derivation
For the considered problem, the non-linear error is defined as in (31)
[TABLE]
To linearize, we have the following first order vector approximation, see (32)-(33)
[TABLE]
The proposed filter operates in two steps: propagation and update, see Algorithm 2. We now detail these two steps.
B.2 Propagation
At this step, we first propagate the state with the noise free model to compute . We then propagate the covariance, where Jacobian are obtained after conserving only the first order error term in . The Jacobians of the propagation are given as
[TABLE]
[TABLE]
B.3 Update
This step considers the observations of the landmarks. The Jacobian for for the measurements are given as
[TABLE]
and . Once the Kalman gain is computed, we compute the innovation and them update the state. The retraction required for updated the state is given as the exponential of , see Section IV-A. We have thus
[TABLE]
where
[TABLE]
[TABLE]
[TABLE]
We conclude this step by updating the matrix covariance.
B.4 Standard EKF Algorithm
We provide in this section the standard EKF algorithm. The standard EKF follows Algorithm 2 with a different error as the proposed and where we use the superscript std.
The non-linear error is defined as
[TABLE]
The following first order vector approximation writes
[TABLE]
The Jacobians and the retraction are given as
[TABLE]
[TABLE]
[TABLE]
[TABLE]
[TABLE]
where
[TABLE]
and has the same form (70) as for the proposed EKF, and .
Appendix C 2D Multi-Robot Wheeled-SLAM
We detail in this section the proposed filter for the 2D multi-robot wheeled-SLAM problem. This section starts by recalling the considering problem and details the proposed EKF. The similarities with the mono-robot problem (see Section A) are immediate.
We consider a 2D SLAM system with robots and landmarks. Let be the position of the -th robot, the orientation of the -th robot, and the position of the -th landmark. The state is given as
[TABLE]
The dynamics writes
[TABLE]
where
[TABLE]
denotes orientation and position increments typically measured through odometry for each robot, and is the rotation matrix of angle . The noise in the propagation model is given as
[TABLE]
and contains noise on both the angular and position increments.
The observations of the landmarks robots in the robot’s frames are given as
[TABLE]
where the observation model for one landmark or one robot
[TABLE]
represents a range and bearing observation and is the noise in the measurement, letting
[TABLE]
be the covariance matrix for all the noise in the observation (51). Only a small fraction of the landmarks are observed at each step, i.e. only a subset of (51) is used. We now detail the proposed EKF for the considered SLAM problem.
C.1 Proposed EKF Derivation
For the considered problem, the non-linear error is defined as, (25)
[TABLE]
To linearize, we have the following first order vector approximation, see (26)-(27)
[TABLE]
The proposed filter operates in two steps: propagation and update, see Algorithm 2. We now detail these two steps.
C.2 Propagation
TODO During these state, we first propagate the state with the noise free model to compute . We then propagate the covariance, where Jacobian are obtained after conserving only the first order error term in . The Jacobian of the propagation are given as
[TABLE]
[TABLE]
C.3 Update
This step considers the observations of the landmarks. The Jacobian for for the measurements are given as
[TABLE]
and . Once the Kalman gain is computed, we compute the innovation and them update the state. The retraction required for updated the state is given as the exponential of , see Section IV-A of [11]. We have thus
[TABLE]
where
[TABLE]
We conclude this step by updating the matrix covariance.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] T. Bailey, J. Nieto, J. Guivant, M. Stevens, and E. Nebot. Consistency of the EKF-SLAM algorithm. In International Conference on Intelligent Robots and Systems , pages 3562–3568. IEEE, 2006.
- 2[2] Yaakov Bar-Shalom, X.-Rong Li, and Thiagalingam Kirubarajan. State estimation for nonlinear dynamic systems. In Estimation with Applications to Tracking and Navigation , pages 371–420. 2002.
- 3[3] Timothy D. Barfoot. State Estimation for Robotics . Cambridge University Press, 2017.
- 4[4] Axel Barrau and Silvere Bonnabel. An EKF-SLAM algorithm with consistency properties. ar Xiv preprint , 2015 (V 1), 2016 (V 3).
- 5[5] Axel Barrau and Silvère Bonnabel. The invariant extended Kalman filter as a stable observer. IEEE Trans. on Automatic Control , 62(4), 2017 (Arxiv, 2014).
- 6[6] Axel Barrau and Silvère Bonnabel. Invariant Kalman Filtering. Annual Review of Control, Robotics, and Autonomous Systems , 1(1):237–257, 2018.
- 7[7] Michael Bloesch, Michael Burri, Sammy Omari, Marco Hutter, and Roland Siegwart. Iterated extended Kalman filter based visual-inertial odometry using direct photometric feedback. The International Journal of Robotics Research , 36(10):1053–1072, 2017.
- 8[8] S. Bonnabel, P. Martin, and P. Rouchon. Symmetry-preserving observers. IEEE Trans. on Automatic Control , 53(11):2514–2526, 2008.
