How to calculate displacement from Accelerometer reading?

时间:2016-12-02 05:08:13

标签: accelerometer sensor frequency

I have accelerometer readings of three axis X, Y and z, will be getting data in a frequency of (62 records per second). Could you please suggest me how can I calculate the displacement.

Data in hand: Accelerometer readings with respect to time.

Do I need to calculate the displacement using time domain data or need to convert into frequency domain. Which one will give a accurate results?

1 个答案:

答案 0 :(得分:1)

您可以随时间对加速度矢量进行双重积分以获得位移。从理论上讲,这是一个非常明智的解决方案。

但在实践中,始终会有g(由于重力引起的加速度)始终作用于至少一个轴的组件。假设您从xyz向量中减去g分量。问题在于,当双重积分时,读数中的任何轻微误差(甚至偏小一个数量级)都会导致误差随着时间的推移而增加,从而导致位移严重不准确。

根据积分值,您很可能会看到一个空闲物体飞向太空。您需要一个额外的传感器来告诉您方向 - 如陀螺仪,并有一些参考点(Wiimote使用红外传感器进行此操作)。

这主要是一个时域问题,但您可以在频域阶段进行一定量的过滤以消除测量错误或过程错误。

tl; dr单独使用加速度传感器进行位置跟踪是一个难题。

相关问题