简体   繁体   English

如何为扩展卡尔曼滤波器估计 R 中的参数

[英]How to estimate parameters in R for extended Kalman Filter

Any one knows how to estimate parameters in R for extended KF?有谁知道如何为扩展 KF 估计 R 中的参数? please educate me, thanks.请教我,谢谢。 I tried KF before but didn't work out for extended KF?我之前尝试过 KF,但对扩展 KF 不起作用? is there existing package?有现有的包吗?

Specifically, my problem is: Y(t) = F(X(t)) + w1, X(t) = alpha + beta * X(t-1) + w2,具体来说,我的问题是:Y(t) = F(X(t)) + w1,X(t) = alpha + beta * X(t-1) + w2,

where F is a nonlinear function, w1 and w2 are assumed to be iid, how can we estimate the parameters alpha, beta, and the several paramters in function F() then.其中 F 是一个非线性函数,假设 w1 和 w2 是 iid,那么我们如何估计参数 alpha、beta 以及函数 F() 中的几个参数。

Thanks a lot.非常感谢。

R depends on your measurements and the way you take them, not on the phisical model. R 取决于你的测量和你采取的方式,而不是物理模型。 Should be diagonal.应该是对角线。

As part of your filter, you have to calculate innovation .作为过滤器的一部分,您必须计算创新 Just have a look to the innovation (error of the expected measurement and the actual measurement).看看创新(预期测量和实际测量的误差)。 That order of error should be ok for your R matrix.对于您的 R 矩阵,该错误顺序应该没问题。

在此处输入图片说明

Another way of thinking is that R is diagonal of the (measurement noise)^2.另一种思考方式是 R 是(测量噪声)^2 的对角线。 If you are dealing with camera and it is well calibrated, error shoulden't be more than 2 pixels.如果您正在处理相机并且经过良好校准,则误差不应超过 2 个像素。 Try to give values fromo 1 to 3.6.尝试给出从 1 到 3.6 的值。 It should be experimental, but it is also important that you know what parameters mean.它应该是实验性的,但了解参数的含义也很重要。

Perhaps this >>http://www.stat.berkeley.edu/~brill/Stat248/kalmanfiltering.pdf >> can help you.也许这个 >>http://www.stat.berkeley.edu/~brill/Stat248/kalmanfiltering.pdf >> 可以帮助你。 It is an overview of r-packages for Kalman filter and there seems to be a part for the extended version of KF inside of sspir package.它是卡尔曼滤波器的 r 包的概述,似乎在 sspir 包中包含了 KF 扩展版本的一部分。

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

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