- If the values are too small, the filter may not be able to effectively correct for noise. On the other hand, if the values are too large, the filter may overcorrect and introduce instability. Ensure that the values you are using for the R and Q matrices are appropriate for your problem.
- The performance of the Kalman filter can be influenced by the dynamics of your system. If the dynamics are highly nonlinear or if there are significant uncertainties, the filter may not be able to accurately estimate the state. It often requires some trial and error and a good understanding of the system dynamics and noise characteristics.
Kalman Filter/Discrete System/kalmf - R and Q do not seem to influence the Performance of the Kalman Filter
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
I have the following Problem: For a given Problem, I use Kalman Filter/kalmf matlab function to improve the quality of my prediction data.
I have been trying to vary the entries of the R and Q matrix from 0.1 - 1000 but it seems like it does not have any influence on my performance.
What could have gone wrong here?
0 comentarios
Respuestas (1)
Yash
el 21 de Dic. de 2023
Hi Benjamin,
The process noise covariance Q and the sensor noise covariance R are values greater than zero that you typically obtain from studies or measurements of your system. These values should be chosen based on the characteristics of your system and the noise present in your measurements. It is possible that the values you are using for the R and Q matrices are not appropriate for your specific problem.
Here are a few workarounds you can try to troubleshoot the issue:
Further, one thing to note is that the Kalman filter assumes that the system is linear and that the noise is Gaussian. If these assumptions do not hold for your problem, you may need to consider using a different filtering technique.
To know more about the assumptions and algorithm of Kalman Filtering you can refer to its documentation here: https://in.mathworks.com/help/control/ug/kalman-filtering.html
Hope this helps!
0 comentarios
Ver también
Categorías
Más información sobre State-Space Control Design and Estimation en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!