Clear Filters
Clear Filters

Is there anyway to convert vibration acceleration data into velocity ?

50 views (last 30 days)
How can I convert the vibration acceleration data collected in real time to velocity ? I know the relation is to integrate the data but my system requires real time velocity monitoring. I appreciate your reply.
Thanks in advance

Accepted Answer

Ella on 20 Dec 2015
I already found the answer so I'll just post here if anyone need.
velocity = cumtrapz(acceleration-mean(acceleration));
-- The acceleration signal is subtracted from its mean() value in order to remove the DC components and prevent the unnecessary ramp in the velocity signal.
-- cumtrapz() Matlab function is used to integrate the acceleration data in real time using trapezoidal rule.
  1 Comment
sercan demirkiran
sercan demirkiran on 14 Dec 2017
Edited: sercan demirkiran on 14 Dec 2017
Hello Ella,
I would like to ask how it worked. Because, My data is random vibration data which is acquired on a bearing. When I applied your method 'velocity = cumtrapz(acceleration-mean(acceleration))' and ramp was still there. In some blogs people mentioned about using high pass (which I have used 5 Hz) filter to prevent ramping in time data. I have tried, 5 Hz High pass filter then applied cumtrapz. Ramping is not existing anymore.

Sign in to comment.

More Answers (1)

Bora Eryilmaz
Bora Eryilmaz on 21 Mar 2024
The new convertVibration function in MATLAB R2024a release of the Predictive Maintenance Toolbox lets you compute baseline-corrected and filtered acceleration, velocity, and displacement signals from vibration measurements using a single sensor output from either an accelerometer, velocity sensor, or displacement sensor.


Find more on Vibration Analysis in Help Center and File Exchange


Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!