简体   繁体   English

卡尔曼滤波器中出现大量噪声

[英]Huge amount of noise appeared in the kalman filter

I am implementing a Kalman filter but I am getting a huge amount of noise to the result.我正在实施卡尔曼滤波器,但结果中出现了大量噪音。 The amount of noise which I added and code for it is:我添加的噪音量和代码是:

y = np.arange(100)
y = y + 0.0065 * np.random.randn() # yaw rate

My resulting output is:我得到的 output 是:

在此处输入图像描述

0.0065 is already very much less noise. 0.0065 已经是非常少的噪音。 Is there any way to clean this noise?有什么办法可以清除这种噪音吗?

Kalman filter is indeed one way to filter noise out of your observations.卡尔曼滤波器确实是从观察中滤除噪声的一种方法。 If well implemented and tuned to the dynamics of your problem, it can effectively retrieve accurate estimates considering a Gaussian noise scenario (for different noise models the classical Kalman filter may not be suitable).如果实施得当并针对问题的动态进行了调整,它可以有效地检索考虑到高斯噪声场景的准确估计(对于不同的噪声模型,经典卡尔曼滤波器可能不适合)。 As explained here , you need to tune your process and observation covariance noise matrices.正如这里所解释的,您需要调整您的过程和观察协方差噪声矩阵。 Sometimes its a process of trial and error.有时它是一个反复试验的过程。 The more noisy you consider your observations to be, the more weight the filter puts into the previous knowledge.您认为您的观察结果越嘈杂,过滤器对先前知识的权重就越大。 The more noisy you consider your process to be (highly dynamic), the less weight the filter puts into the previous knowledge.您认为您的过程(高度动态)的噪声越大,过滤器对先前知识的权重就越小。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM