MATLAB Answers

how to convert accelerometer sensor data into velocity

37 ビュー (過去 30 日間)
Prashanth Ragam
Prashanth Ragam 2016 年 5 月 6 日
コメント済み: shridharnator 2020 年 11 月 24 日
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
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
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
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!

Translated by