Please explain what is the use of kalman filter in this tutorial

我与影子孤独终老i 提交于 2019-12-04 19:29:57

A simple detection with background subtraction will give a result in every sample period, however the result will be noisy (due to measurement noise and perhaps quantization) and detection errors will have a huge impact.

If you want to observe an object you usually know something about how it will move. It won't jump from one position to the next but move there in a continuous way. The Kalman filter combines the measurements from the simple detection algorithm and combines them with the model knowledge that you have about the object (position can't jump), so it filters the measurement and considers the history of the measurements. Considering a linear system, you can prove that the Kalman filter is the optimal way of filtering the data considering the measurement noise of the system.

Edit: In this tutorial, the Kalman filter is obviously used to predict the position of the ball in the next step. In the downwards motion, this works pretty well. As the filter doesn't know anything about the floor, the prediction is of course wrong when the ball hits the ground. During the upwards motion, the prediction still suffers from this error.

An intutitive overview of the kalman works on the principle of least means square. It computes 2 parameter which is related to the kalman gain. You can think of it this way - there are 2 parameters, 1 for observed, the other for prediction, ie. the 2 parameters will give more weight to trust the observed data, and less for the prediction data, or vice versa, to adapt on the next round if the 'guess' is correct. If not, the error will influence the gains to adjust accordingly. Thus, kalman filter, like wiener, is termed 'adaptive'.

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