Integration of acceleration data
조회 수: 4 (최근 30일)
이전 댓글 표시
Hello everyone,
I have an acceleration data i collected using an accelerometer. I want to integrate this acceleration data twice to get position.
I found out about the problem of acceleration drift and the initial conditions associated with accelerometers.
I tried using the 'cumtrapz','trapz' commands, then tried using the FFT filtering before integration and after but the waveform still shows sign of poor integration or I could say, the drift still persist. and i checked other responses made here but they do not seem to help.
Does anyone know a way of integrating accelerometer data that could be of help.
Thanks in advance.
댓글 수: 0
답변 (1개)
Mahesh
2012년 5월 2일
You can try Removing the mean and trend from the signal. x=x-mean(x); x=detrend(x);
for integration you can use either cumsum or cumtrapz but problem with this function is they induce some frequency in your original signal .
you can validate this function by taking simple sine signal
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Fourier Analysis and Filtering에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!