Problem with convert acceleration to velocity and displacement

6 visualizaciones (últimos 30 días)
vu ngothanh
vu ngothanh el 9 de Jun. de 2016
Respondida: Bora Eryilmaz el 21 de Mzo. de 2024
Hi everyone,
I used DAQ to get acceleration, however, when I convert accleration to velocity and displacement (using 'cumtrapz' function) is not OK like the picture below:
Problem is that the velocity and displacement is increase with time. What i need to do make the velocity and displacement stable around 0.

Respuestas (2)

Jos (10584)
Jos (10584) el 9 de Jun. de 2016
Apparently there is an offset in your acceleration data. You can subtract a running mean
A(k) = ValueFromDaq - mean(A(1:k-1))
  6 comentarios
Jos (10584)
Jos (10584) el 10 de Jun. de 2016
Good suggestion, Star Strider, to use the median.
vu ngothanh
vu ngothanh el 13 de Jun. de 2016
Dear Mr Jos and Star Strider,
at last, I found "detrend" function. I think that is the best solution for this situation.
Thank you for you all for helping me.

Iniciar sesión para comentar.


Bora Eryilmaz
Bora Eryilmaz el 21 de Mzo. de 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.

Categorías

Más información sobre Fourier Analysis and Filtering en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by