How to set Q and R in a Kalman filter?

조회 수: 135 (최근 30일)
Marco Maccotta
Marco Maccotta 2017년 5월 8일
댓글: Ahmed Gharieb naga 2024년 1월 27일
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
Ahmed Gharieb naga
Ahmed Gharieb naga 2024년 1월 27일
Check my profile I have a function of kalman filter filter

댓글을 달려면 로그인하십시오.

채택된 답변

Wilson A N
Wilson A N 2017년 5월 11일
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개)

카테고리

Help CenterFile Exchange에서 State-Space Control Design and Estimation에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by