how to convert accelerometer sensor data into velocity
조회 수: 9 (최근 30일)
이전 댓글 표시
This is Prashanth doing research.as part of my research I choose ADXL 335 accelerometer sensor and took reading around 350 with 0.1s.the response of this sensor in the form of 'g'. so how can convert g value into velocity. if you have Matlab code, please share with me
thanking you
댓글 수: 1
James Tursa
2016년 5월 6일
So you have readings every 0.1s, and the value is in units of g's? And you want to integrate this into velocity?
답변 (1개)
CS Researcher
2016년 5월 6일
Share the readings and explain more. What is 'g'? Are these the acceleration values? If yes, you have acceleration and you have time. You know
v = u + gt
Assuming initial velocity = 0
v = gt
Just do this:
v = readings .* time
댓글 수: 1
shridharnator
2020년 11월 24일
But the problem with this is that if you take the 3 axis readings in 2d matrix and just keep adding previous velocity to the product of g and t you will get a monotonically increasing function and the lst time I checked while taking the readings I was not going at Mach 2, 10 seconds after taking the readings.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!