Android accelerometer accuracy (Inertial navigation)

前端 未结 6 1110
遥遥无期
遥遥无期 2020-11-22 02:49

I was looking into implementing an Inertial Navigation System for an Android phone, which I realise is hard given the accelerometer accuracy, and constant fluctuation of rea

6条回答
  •  天命终不由人
    2020-11-22 03:22

    Android accelerometer is digital, it samples acceleration using the same number of "buckets", lets say there are 256 buckets and the accelerometer is capable of sensing from -2g to +2g. This means that your output would be quantized in terms of these "buckets" and would be jumping around some set of values.

    To calibrate an android accelerometer, you need to sample a lot more than 1000 points and find the "mode" around which the accelerometer is fluctuating. Then find the number of digital points by how much the output fluctuates and use that for your filtering.

    I recommend Kalman filtering once you get the mode and +/- fluctuation.

提交回复
热议问题