How to set Q and R in a Kalman filter?
137 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Marco Maccotta
le 8 Mai 2017
Commenté : Ahmed Gharieb naga
le 27 Jan 2024
Hi, I have a system where I estimated the parameters using RLS procedure. Now I need to implement a Kalman Filter in continuos time but I don't know how to choose Q and R. Do you have some suggestion? Thanks.
1 commentaire
Réponse acceptée
Wilson A N
le 11 Mai 2017
As I understand the parameters Q and R are referring to the process noise covariance and sensor noise covariance matrices.
I believe this should be provided by the plant manufacturer. However, for simulation purposes, you can assume any value greater than 0 depending on how much you think the process and sensor noise affects the plant. You can refer to the following link which shows an example:
You can also refer to the example given below where the Q and R are calculated from zero-mean, independent random variables with known variances:
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur State-Space Control Design and Estimation dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!