Velocity calculation in IIS3DWB vibration sensor
I am trying to compute velocity from the acceleration values by configuring the my IIS3DWB vibration sensor at +-4g. The formula I am using to calculate the instantaneous velocity is V(t) = V0 + ʃa*dt.
What I am experiencing right now is a drift in my velocity values, it is just increasing without applying any force, perhaps due to integration error. I am converting a from g to m/s^2 and I am taking dt=1/ODR (26.7kHz) and I am reading the values from 3k FIFO buffer inside the sensor. Can anyone suggest how can I calculate velocity even with near about accuracy, if not full accuracy?
