Problem with convert acceleration to velocity and displacement
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/166106/image.png)
Problem is that the velocity and displacement is increase with time. What i need to do make the velocity and displacement stable around 0.
0 Kommentare
Antworten (2)
Jos (10584)
am 9 Jun. 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 Kommentare
Bora Eryilmaz
am 21 Mär. 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.
0 Kommentare
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!