Kalman filter for RSSI in iOS

自古美人都是妖i 提交于 2021-02-06 13:59:39

问题


I've made an iOS App to range the beacons. I've noticed that the RSSI value from beacons is fluctuating randomly with time. In order to get smooth RSSI value, I am trying to use Kalman filter.

In Kalman filter equations as described here, the measurement noise (R) can be calculated by measuring variance from series of RSSI values and the process noise (Q) can be assumed as negligible. However, I couldn't figure out exact idea about the estimate of error variance (P) in the equation.

Since my actual measurement data is the series of RSSI values, how am I supposed to implement Kalman filter?


回答1:


Basically the estimate of error variance(P) depends on it's own past value and the process noise(Q). Since the process noise(Q) is negligible or very small value (0.00001) and P doesn't depend on actual measurement, eventually it becomes a fixed value. Moreover if your system is mobile, you can take series of RSSI values and your movement as input variables.



来源:https://stackoverflow.com/questions/29027824/kalman-filter-for-rssi-in-ios

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!