Implementation of a C Library of Kalman Filters for Application on Embedded Systems
Open Access
Abstract
Having knowledge about the states of a system is an important component in most control systems. However, an exact measurement of the states cannot always be provided because it is either not technically possible or only possible with a significant effort. Therefore, state estimation plays an important role in control applications. The well-known and widely used Kalman filter is often employed for this purpose. This paper describes the implementation of nonlinear Kalman filter algorithms, the extended and the unscented Kalman filter with square-rooting, in the programming language C, that are suitable for the use on embedded systems. The implementations deal with single or double precision data types depending on the application. The newly implemented filters are demonstrated in the context of semi-active vehicle damper control and the estimation of the tire–road friction coefficient as application examples, providing real-time capability. Their per-formances were evaluated in tests on an electronic control unit and a rapid-prototyping platform.Keywords
Funding Information
- DLR internal projects
- German Federal Ministry of Education and Research (01|S17023B)
- European ITEA3 project EMPHYSIS (15016)
This publication has 21 references indexed in Scilit:
- Battery Modelling and Simulation Using a Programmable Testing EquipmentComputers, 2018
- A Study about Kalman Filters Applied to Embedded SensorsSensors, 2017
- Implementation of a Simplified State Estimator for Wind Turbine Monitoring on an Embedded SystemAnnals of Computer Science and Information Systems, 2017
- Implementation of Extended Kalman Filter Based Dynamic State Estimation on SMIB System Incorporating UPFC DynamicsEnergy Procedia, 2016
- Multiple sensor fusion for mobile robot localization and navigation using the Extended Kalman Filter2015
- Implementing the Unscented Kalman Filter on an embedded system: A lesson learnt2015
- Constrained state estimation using the Unscented Kalman Filter2008
- Optimal State Estimation2006
- Kalman Filtering and Neural Networks2001
- LAPACK Users' Guide1999