Learning the Unscented Kalman Filter
Version 1.2.0.0 (2,5 KB) von
Yi Cao
An implementation of Unscented Kalman Filter for nonlinear state estimation.
Nonlinear state estimation is a challenge problem. The well-known Kalman Filter is only suitable for linear systems. The Extended Kalman Filter (EKF) has become a standarded formulation for nonlinear state estimation. However, it may cause significant error for highly nonlinear systems because of the propagation of uncertainty through the nonlinear system.
The Unscented Kalman Filter (UKF) is a novel development in the field. The idea is to produce several sampling points (Sigma points) around the current state estimate based on its covariance. Then, propagating these points through the nonlinear map to get more accurate estimation of the mean and covariance of the mapping results. In this way, it avoids the need to calculate the Jacobian, hence incurs only the similar computation load as the EKF.
For tutorial purpose, this code implements a simplified version of UKF formulation, where we assume both the process and measurement noises are additive to avoid augment of state and also to simplify the assumption on nonlinear maps.
The code is heavily commented with an example to use the function. Hence, it is sutiable for beginners to learn the UKF. For comparison, the EKF code can be found from https://www.mathworks.com/matlabcentral/fileexchange/18189-learning-the-extended-kalman-filter
Zitieren als
Yi Cao (2024). Learning the Unscented Kalman Filter (https://www.mathworks.com/matlabcentral/fileexchange/18217-learning-the-unscented-kalman-filter), MATLAB Central File Exchange. Abgerufen.
Kompatibilität der MATLAB-Version
Erstellt mit
R2007a
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS LinuxKategorien
- Control Systems > System Identification Toolbox > Online Estimation >
- Mathematics and Optimization > Optimization Toolbox > Systems of Nonlinear Equations >
Mehr zu Online Estimation finden Sie in Help Center und MATLAB Answers
Tags
Quellenangaben
Inspiriert von: Learning the Kalman Filter, Learning the Extended Kalman Filter
Inspiriert: Neural Network training using the Unscented Kalman Filter, Nonlinear least square optimization through parameter estimation using the Unscented Kalman Filter
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.2.0.0 | Add a reference. |
||
1.1.0.0 | update the code. |
||
1.0.0.0 | update example |