Using accelerometer sensor to determine speed of person

AI Thread Summary
The discussion focuses on using an ADXL311 accelerometer to determine a person's speed while running. The user is struggling to develop a formula for speed based on the accelerometer's output, which includes acceleration data for the X and Y axes. They have attempted to calculate speed by integrating discrete acceleration data but are encountering issues with noise and incorrect peak speed values. Participants emphasize the need for proper data collection and processing techniques to improve accuracy. The conversation highlights the importance of understanding the relationship between acceleration and speed to achieve reliable results.
cjn200
Messages
1
Reaction score
0
hello, I'm using an accelerometer (ADXL311) which outputs analog voltage in proportion to g's for X and Y axes. I'm trying to use this to manipulate sound when a person is 'running', basically as speed increases above a certain threshold, but having problems with my formulas for speed.

i've managed to graph these two actions with consistent visual results - it's visually clear when someone is running, etc., but haven't been able to correctly translate this into a usable formula. my known variables are gX, gY, time, and I'm assuming that i'll have to take periodic samples and calculate an average, but so far, I've managed nothing that makes sense.

can anyone help in a language for dummies? i can handle the electronics more or less, but had (embarrassingly enough :rolleyes:) to look the formula for speed.

thanks!
 
Physics news on Phys.org
I presume that they output an acceleration over their time increment. Acceleration times that time increment is the change in speed over that increment. Add the change in speed over that increment to the starting speed and you have the new speed.
 
Where on the body did you attach the accelerometer. If it is on the feet or legs you will need to do something very different find the velocity of the running person.
 
Hi everybody,
I desperately need help!
I am using tri axial accelerometer to calculate speed during sprint. I tried calculating speed and the peak speed from this data is 30m/s (which is not at all possible). I hv data at every .02 secs. I attached the acceleromater on sacrum.
please help..
 
You have not given nearly enough information for anyone to help you.

How did you calculate the velocity that you have?

How did you collect and process the data?
 
hi thanks a tonn for the reply.
I have calculated the speed like this.
Calculation of velocity from discrete acceleration data:

Integral of acceleration will give velocity value. Since data given for acceleration is discrete so we have calculated velocity value at x direction (Vx) through integrating under discrete acceleration data at x direction by using MATLAB programme. Similarly Vy and Vz was calculated. Total velocity value will be sqrt(Vx*Vx + Vy*Vy + Vz*Vz)
I didnot process data but directly used it (though i saw a lot of noise in data but not sure how to process it). could you please tell me about the correct way of collecting data and processing it and the correct procedure of calculating it.
IT will be a great help
 
I have recently been really interested in the derivation of Hamiltons Principle. On my research I found that with the term ##m \cdot \frac{d}{dt} (\frac{dr}{dt} \cdot \delta r) = 0## (1) one may derivate ##\delta \int (T - V) dt = 0## (2). The derivation itself I understood quiet good, but what I don't understand is where the equation (1) came from, because in my research it was just given and not derived from anywhere. Does anybody know where (1) comes from or why from it the...
Back
Top