Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Any idea about how determine body movement upun the accelerations?

  1. Apr 24, 2009 #1
    Any idea about how determine body movement upon the accelerations?


    I am trying to implement an algorithm which would determine the person's activity upon the received acceleration measurement data.

    I am measuring the accelerations using accelerometer sensors on mobile phones and send the data to the server where I process the measurement and try to determine the type of person's movement. The key idea is to develop the software which would automatically call the emergency if the person would fall (useful for old people).

    So far I was trying to use Fourier transform and measure the frequency components but this by itself is not accurate enough. Enclosed I am sending an example chart of walk.

    In case of fall it is easy to guess what happened by watching the chart but the goal is to implement an automatic detection.

    I would really appreciate if you could share your idea about analyzing the patterns and determine what happened. It would be great if a computer could determine for example if the person is walking, running or if a person fell.

    Thanks for help!


    Attached Files:

    Last edited: Apr 24, 2009
  2. jcsd
  3. Apr 25, 2009 #2


    User Avatar
    Science Advisor

    First, the good news- you can treat the x, y, and z components separately.

    Now, the bad news- if your acceleration data is not constant, you will need to do a numerical integration of the data.

    Given a(t) as the acceleration for a particular component, [itex]v(t)= \int_{T_0}^T a(t)dt+ v_0)[/itex] is the speed at time T in that direction assuming speed v0 at time T0 in that direction.

    [itex]p(t)= \int_{T_0}^T v(t)dt+ p_0[/itex] is the component of position itself at time T given component p0 at time T0.
  4. Apr 27, 2009 #3
    The bad news is hardly bad :) Numerical integration of data is relatively easy. For a relatively accurate and stable numerical integrator, look up Runge-Kutta 4 (RK4) which is a forth-order numerical integrator
  5. Apr 27, 2009 #4
    How can you determine the type of motion by integrating the graph?

    The goal is to determine the type of movement by analizing graph - whether it is walk, run, fall...

    I wrote about the concept here: http://mypetprojects.blogspot.com/
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook