Skip to main content
Visitor II
June 1, 2021
Question

Velocity calculation in IIS3DWB vibration sensor

  • June 1, 2021
  • 2 replies
  • 1638 views

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?

    This topic has been closed for replies.

    2 replies

    ST Employee
    June 15, 2021

    Hi @NukulK​ ,

    it is not possible to have a high accuracy with your application.

    there is much noise that can make the integral calculation drift and a high precision is physically impossible.

    Niccolò

    NukulKAuthor
    Visitor II
    June 15, 2021

    Hello @niccolo.ruffini​ ,

    I understand it is not possible to have high accuracy with this approach.

    But is there any other approach that you suggest using which I can calculate instantaneous/RMS/Peak velocity from IIS3DWB vibration sensor?

    I want to use this for vibration analysis.

    Thanks,

    Nukul

    ST Employee
    June 16, 2021

    Hi Nukul @NukulK​ ,

    you can try to better identify the 0 motion level with a range of values.

    also, are you using a high pass filter?

    Niccolò

    NukulKAuthor
    Visitor II
    June 16, 2021

    Hi Niccolo,

    By zero motion level, do you mean zero-g offset? Also I am using a HPF, so the DC bias is eliminated from the signal.

    Thanks,

    Nukul