Using accelerometer data to calculate distance

In summary, the speaker is attempting to quantify an impulse from a hand using an accelerometer, but is struggling to calculate the speed and distance of the motion. They have attempted calculations but are unsure if they are correct. They are looking for advice on how to accurately measure the data they need. Another person suggests using an FFT in the frequency domain to reduce noise effects, but acknowledges it may be difficult for a beginner. They also suggest using a low pass filter to reduce noise. The speaker remains unsure and hopes for further assistance.
  • #1
JacobTV
1
0
I am looking for some help, or even advice as how to proceed.

I am trying to quantify an impulse from a hand (a high velocity low amplitude motion). In attempt to do that, I've tried attaching an accelerometer to my hand.
My problem is, that the values I'd like to calculate as an objective measure of the quality of the motion is speed and distance.
Here is one example of some of the data:

Date, t, Acceleration X (g), Acceleration Y (g), Acceleration Z (g), Acceleration Scalar (g), Speed (m/2)
2015-11-19 07:57:01 +0000, 43.609411, 0.382812, 0.359375, -0.875000, 0.020451, 1.589126
2015-11-19 07:57:01 +0000, 43.655306, 0.367188, 0.414062, -0.855469, 0.018872, 1.589993
2015-11-19 07:57:01 +0000, 43.699334, 2.187500, 0.417969, -1.816406, 1.873880, 1.672496
2015-11-19 07:57:01 +0000, 43.759296, 0.632812, -0.160156, -1.070312, 0.253663, 1.687706
2015-11-19 07:57:01 +0000, 43.804159, -1.003906, -0.941406, -0.929688, 0.660841, 1.717353
2015-11-19 07:57:01 +0000, 43.851403, 0.078125, 0.781250, -0.699219, 0.051362, 1.719780

The calculations I've attempted with this data is as follows:

t0=43,655306
t1=43,759296
dt=0,10399
g=1,87388
a= g*9,815=18,3921322 m/s2
s=(a/6)*dt3=0,003447113 m

I am assuming that distance is a second integral of acceleration

From this I get that the distance of the motion is 3,4mm which sounds implausible.

Is there another way to calculate or use the accelerometer to get the data I need?

I hope you can help?
Jacob
 
Physics news on Phys.org
  • #2
Hi
Looking at your table, the scalar acceleration would be √ (Ax2+Ay2+Az2) (?)
The result (in the table) should be greater than any of the individual components but it doesn't seem to be. What is that "scalar"?
What would you expect the speed to be, after 0.1s? Those SUVAT equations tell you s = ut + at2/2 for constant acceleration. What does that give you? That answer is 'reliable' so compare it with what you got. Compare the SUVAT equation with yours. It looks like you've done one too many integrations for your data. I think you are thinking in terms of Δa to give you your answer but then you should also include the initial acceleration value (which is what SUVAT does) But, of course, you would be aiming at doing all this in 3D so check the 1D answer first.
 
  • #4
cosmik debris said:
You will probably get a lot of noise in your calculation using integration to find velocity and distance, a better way is to do an FFT and do the calculations in the frequency domain.

http://blog.prosig.com/2010/12/16/m...tween-acceleration-velocity-and-displacement/
Definitely the better approach but a bit of a dark art for a beginner. To reduce noise effects it is often convenient to do a low pass filter ( average over a number of samples of acceleration)
 
  • #5

What is an accelerometer?

An accelerometer is a device that measures acceleration, which is the change in velocity over time. It can detect changes in movement and orientation in three axes: x, y, and z. This data can be used to calculate distance traveled.

How does an accelerometer calculate distance?

An accelerometer measures the acceleration of an object. By integrating the acceleration over time, the velocity of the object can be determined. Then, by integrating the velocity over time, the distance traveled can be calculated.

What are the limitations of using accelerometer data to calculate distance?

There are several limitations to consider when using accelerometer data to calculate distance. Accelerometers can be affected by external factors such as gravity, vibration, and temperature changes, which can result in inaccurate readings. Additionally, the accuracy of the calculated distance can be affected by the sampling rate and the type of movement being measured.

Can an accelerometer calculate distance in any direction?

Yes, an accelerometer can measure acceleration in three axes: x, y, and z. This means that it can measure distance traveled in any direction, as long as the device is oriented correctly.

What are some practical applications of using accelerometer data to calculate distance?

Accelerometers are commonly used in smartphones, fitness trackers, and other wearable devices to track steps and distance traveled. They can also be used in vehicles to measure acceleration and distance traveled, as well as in sports equipment to track movements and performance. Additionally, accelerometers are used in scientific research to study motion and measure forces in various experiments.

Similar threads

Replies
4
Views
4K
  • Classical Physics
Replies
3
Views
2K
  • Introductory Physics Homework Help
Replies
7
Views
2K
Replies
14
Views
1K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
6
Views
2K
Replies
3
Views
2K
Replies
1
Views
8K
  • Advanced Physics Homework Help
Replies
11
Views
1K
Replies
2
Views
6K
Back
Top