Error-State Kalman Filtering with Linearized State Constraints
Abstract
:1. Introduction
- We claim two possible approaches with a rigorous mathematical derivation of their respective solutions. Specifically, one method involves placing the constraint before the correction step, while the other involves enforcing the constraint after the correction step.
- Building upon our proposed solution, we examine their statistical properties by leveraging previous results on the full-state CKF in [10]. Particularly, we mathematically prove that, in the linear constraint case, imposing constraints either before or after the correction step yields identical performance in terms of mean square error. Furthermore, we provide the specific conditions under which they hold equivalence when linearized constraints are taken into account.
- We present two numerical examples to evaluate the filter’s performance. In the first example, complete and incomplete constraints are imposed, whereas in the second example, a nonlinear constraint that does not meet our assumption is applied, thus hindering a rigorous assessment of the filter’s behavior. Moreover, we conduct extensive Monte Carlo simulations to scrutinize the filter’s accuracy and robustness across different scenarios of initialization errors. This error factor plays a crucial role in filtering theory [14,15]. The simulation results lend support to our theoretical framework and vision.
2. Related Works
3. Preliminaries
3.1. Mathematical Notation
3.2. Constrained Kalman Filter with Linearized Constraints
3.3. Error-State Kalman Filter
4. Error-State Kalman Filter with Linearized Constraints
4.1. Problem and Solution Formulation
- Pre-constrained ErKF (PreC-ErKF): This method enforces the error state before the correction step. Thus, the OP will be formulated around the a priori state estimate since the a posteriori state estimate is not yet calculated. Moreover, in this case, non-zero ErKF estimates will be projected onto the constraint surface.
- Post-constrained ErKF (PostC-ErKF): In contrast to the above approach, the postC-ErKF enforces the constraints after the correction step. Consequently, the OP will now be computed with , and the zero-valued ErKF’s error state will be projected onto the constraint surface due to the value reset procedure.
4.2. Properties of the CErKF
- 1.
- If the nonlinear constraint can be expressed as
- 2.
- If the above linearized constraint matrix can be further written as
4.3. Implementation
Algorithm 1 Constrained Error-state Kalman Filter |
|
Option #1: Pre-constrained |
|
Option #2: Post-constrained |
|
5. Case Studies
5.1. Example 1: A Linear System with Linear Equality Constraints
5.2. Example 2: A Nonlinear System with a Nonlinear Equality Constraint
- Firstly, the postC-ErKF provides the smallest estimation error and constraint across all evaluated cases. For instance, in the worst case, when , it gives for , while the preC-ErKF, GP-ErKF, and unC-ErKF offer , , and , respectively. In other words, the post-constrained approach decreases the estimation error rate by approximately , , and compared to that of the pre-constrained, gain-constrained, and unconstrained methods, respectively. In the context of constraint error, similarly, it reduces the constraint error rate by approximately , , and compared to others. This table also supports our previous explanation that the GP-ErKF overly enforces the estimation. As a result, although the constraint error is small, the final estimation is poorer compared to the other methods.
- Secondly, the behavior of the preC-ErKF degrades much when faced with large initial errors. Specifically, as increases from to , the pre-constrained strategy produces a corresponding increase in RMSCE with a significant gap value (e.g., from to , and to , respectively). Conversely, the proposed post-constrained method yields a negligible small incremental gap in response to an increase in the initialization errors.
6. Conclusions
Author Contributions
Funding
Data Availability Statement
Acknowledgments
Conflicts of Interest
References
- Chen, S.Y. Kalman Filter for Robot Vision: A Survey. IEEE Trans. Ind. Electron. 2012, 59, 4409–4420. [Google Scholar] [CrossRef]
- Kim, S.G.; Crassidis, J.L.; Cheng, Y.; Fosbury, A.M.; Junkins, J.L. Kalman Filtering for Relative Spacecraft Attitude and Position Estimation. J. Guid. Control. Dyn. 2007, 30, 133–143. [Google Scholar] [CrossRef]
- Gao, G.; Gao, B.; Gao, S.; Hu, G.; Zhong, Y. A Hypothesis Test-Constrained Robust Kalman Filter for INS/GNSS Integration With Abnormal Measurement. IEEE Trans. Veh. Technol. 2023, 72, 1662–1673. [Google Scholar] [CrossRef]
- Auger, F.; Hilairet, M.; Guerrero, J.M.; Monmasson, E.; Orlowska-Kowalska, T.; Katsura, S. Industrial Applications of the Kalman Filter: A Review. IEEE Trans. Ind. Electron. 2013, 60, 5458–5471. [Google Scholar] [CrossRef]
- Anderson, B.D.; Moore, J.B. Optimal Filtering; Courier Corporation: North Chelmsford, MA, USA, 2012. [Google Scholar]
- Daum, F. Nonlinear filters: Beyond the Kalman filter. IEEE Aerosp. Electron. Syst. Mag. 2005, 20, 57–69. [Google Scholar] [CrossRef]
- Roumeliotis, S.; Sukhatme, G.; Bekey, G. Circumventing dynamic modeling: Evaluation of the error-state Kalman filter applied to mobile robot localization. In Proceedings of the 1999 International Conference on Robotics and Automation (ICRA), Detroit, MI, USA, 10–15 May 1999; Volume 2, pp. 1656–1663. [Google Scholar] [CrossRef]
- Madyastha, V.; Ravindra, V.; Mallikarjunan, S.; Goyal, A. Extended Kalman Filter vs. Error State Kalman Filter for Aircraft Attitude Estimation. In Proceedings of the AIAA Guidance, Navigation, and Control Conference, Portland, OR, USA, 8–11 August 2011; p. 6615. [Google Scholar] [CrossRef]
- Simon, D. Kalman filtering with state constraints: A survey of linear and nonlinear algorithms. IET Control. Theory Appl. 2010, 4, 1303–1318. [Google Scholar] [CrossRef]
- Simon, D.; Chia, T.L. Kalman filtering with state equality constraints. IEEE Trans. Aerosp. Electron. Syst. 2002, 38, 128–136. [Google Scholar] [CrossRef]
- Yang, C.; Blasch, E. Kalman Filtering with Nonlinear State Constraints. IEEE Trans. Aerosp. Electron. Syst. 2009, 45, 70–84. [Google Scholar] [CrossRef]
- Titterton, D.; Weston, J. Strapdown Inertial Navigation Technology; IET: Herts, UK, 2004; Volume 17. [Google Scholar]
- Mueller, M.W.; Hehn, M.; D’Andrea, R. Covariance Correction Step for Kalman Filtering with an Attitude. J. Guid. Control. Dyn. 2017, 40, 2301–2306. [Google Scholar] [CrossRef]
- Linderoth, M.; Soltesz, K.; Robertsson, A.; Johansson, R. Initialization of the Kalman filter without assumptions on the initial state. In Proceedings of the 2011 IEEE International Conference on Robotics and Automation, Shanghai, China, 9–13 May 2011; pp. 4992–4997. [Google Scholar] [CrossRef]
- Kneip, L.; Scaramuzza, D.; Siegwart, R. On the initialization of statistical optimum filters with application to motion estimation. In Proceedings of the 2010 IEEE/RSJ International Conference on Intelligent Robots and Systems, Taipei, Taiwan, 18–22 October 2010; pp. 1500–1506. [Google Scholar] [CrossRef]
- Pizzinga, A. Constrained Kalman Filtering: Additional Results. Int. Stat. Rev. 2010, 78, 189–208. [Google Scholar] [CrossRef]
- Julier, S.J.; LaViola, J.J. On Kalman Filtering With Nonlinear Equality Constraints. IEEE Trans. Signal Process. 2007, 55, 2774–2784. [Google Scholar] [CrossRef]
- Ko, S.; Bitmead, R.R. State estimation for linear systems with state equality constraints. Automatica 2007, 43, 1363–1368. [Google Scholar] [CrossRef]
- Teixeira, B.O.S.; Chandrasekar, J.; Palanthandalam-Madapusi, H.J.; Torres, L.A.B.; Aguirre, L.A.; Bernstein, D.S. Gain-Constrained Kalman Filtering for Linear and Nonlinear Systems. IEEE Trans. Signal Process. 2008, 56, 4113–4123. [Google Scholar] [CrossRef]
- Jung, J.H.; Gook Park, C. Constrained Filtering-based Fusion of Images, Events, and Inertial Measurements for Pose Estimation. In Proceedings of the 2020 IEEE International Conference on Robotics and Automation (ICRA), Paris, France, 31 May–31 August 2020; pp. 644–650. [Google Scholar] [CrossRef]
- Do, H.V.; Kwon, Y.S.; Kim, H.J.; Song, J.W. An Improvement of 3D DR/INS/GNSS Integrated System using Inequality Constrained EKF. In Proceedings of the 2022 22nd International Conference on Control, Automation and Systems (ICCAS), Jeju, Republic of Korea, 27 November–1 December 2022; pp. 1780–1783. [Google Scholar] [CrossRef]
- Zanetti, R.; Majji, M.; Bishop, R.H.; Mortari, D. Norm-constrained Kalman filtering. J. Guid. Control. Dyn. 2009, 32, 1458–1465. [Google Scholar] [CrossRef]
- Zanetti, R.; Bishop, R. Quaternion estimation and norm constrained Kalman filtering. In Proceedings of the AIAA/AAS Astrodynamics Specialist Conference and Exhibit, Keystone, CO, USA, 21–24 August 2006; p. 6164. [Google Scholar] [CrossRef]
- Simon, D. Optimal State Estimation: Kalman, H Infinity, and Nonlinear Approaches; John Wiley & Sons: Hoboken, NJ, USA, 2006. [Google Scholar]
- Grewal, M.S.; Andrews, A.P. Kalman Filtering: Theory and Practice with MATLAB; John Wiley & Sons: Hoboken, NJ, USA, 2014. [Google Scholar]
- Trawny, N.; Roumeliotis, S.I. Indirect Kalman filter for 3D attitude estimation. Univ. Minnesota Dept. Comp. Sci. Eng. Tech. Rep. 2005, 2, 2005. [Google Scholar]
- Groves, P.D. Principles of GNSS, Inertial, and Multisensor Integrated Navigation Systems; Artech House: New York, NY, USA, 2008. [Google Scholar]
- Gill, R.; Mueller, M.W.; D’Andrea, R. Full-Order Solution to the Attitude Reset Problem for Kalman Filtering of Attitudes. J. Guid. Control. Dyn. 2020, 43, 1232–1246. [Google Scholar] [CrossRef]
- Chee, S.A.; Forbes, J.R. Norm-constrained consider Kalman filtering. J. Guid. Control. Dyn. 2014, 37, 2048–2053. [Google Scholar] [CrossRef]
- Raihan, D.; Chakravorty, S. Particle Gaussian mixture filters-I. Automatica 2018, 98, 331–340. [Google Scholar] [CrossRef]
- Teixeira, B.O.; Chandrasekar, J.; Tôrres, L.A.; Aguirre, L.A.; Bernstein, D.S. State estimation for linear and non-linear equality-constrained systems. Int. J. Control. 2009, 82, 918–936. [Google Scholar] [CrossRef]
Filter Type | ||||
---|---|---|---|---|
Unconstrained ErKF () | ||||
GP ErKF () [9] | ||||
Pre-constrained ErKF () | ||||
Post-constrained ErKF () |
Filter Type | Time-Averaged RMS Estimation Error (, ) | Time-Averaged RMS Constraint Error | ||||
---|---|---|---|---|---|---|
0.25 | 0.5 | 0.75 | 0.25 | 0.5 | 0.75 | |
UnC-ErKF () | 0.0119, 0.0335 | 0.0124, 0.0336 | 0.0129, 0.0337 | 0.0865 | 0.0887 | 0.0901 |
GP-ErKF () [9] | 0.0075, 0.0194 | 0.0080, 0.0199 | 0.0084, 0.0202 | 0.0035 | 0.0054 | 0.0066 |
PreC-ErKF () | 0.0055, 0.0145 | 0.0058, 0.0145 | 0.0075, 0.0153 | 0.0035 | 0.0076 | 0.0207 |
PostC-ErKF () | 0.0049, 0.0138 | 0.0055, 0.0144 | 0.0059, 0.0146 | 0.0031 | 0.0050 | 0.0061 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Do, H.V.; Song, J.-w. Error-State Kalman Filtering with Linearized State Constraints. Aerospace 2025, 12, 243. https://doi.org/10.3390/aerospace12030243
Do HV, Song J-w. Error-State Kalman Filtering with Linearized State Constraints. Aerospace. 2025; 12(3):243. https://doi.org/10.3390/aerospace12030243
Chicago/Turabian StyleDo, Hoang Viet, and Jin-woo Song. 2025. "Error-State Kalman Filtering with Linearized State Constraints" Aerospace 12, no. 3: 243. https://doi.org/10.3390/aerospace12030243
APA StyleDo, H. V., & Song, J.-w. (2025). Error-State Kalman Filtering with Linearized State Constraints. Aerospace, 12(3), 243. https://doi.org/10.3390/aerospace12030243