Accelerometer - Movement pattern recognition (iphone)

Click For Summary
SUMMARY

The discussion focuses on recognizing physical movements using an iPhone's accelerometer, specifically targeting urban street behavior such as stopping at traffic lights. The proposed method involves using Fast Fourier Transform (FFT) on the gravity direction signal to differentiate between walking and stopping by measuring frequency response and energy levels. The user acknowledges limitations in recognizing turning movements without a gyroscope and expresses uncertainty about distinguishing between stair climbing and walking. The conversation emphasizes a heuristic approach due to time constraints, rather than implementing complex machine learning techniques like Support Vector Machines.

PREREQUISITES
  • Understanding of accelerometer data and its applications in mobile devices
  • Knowledge of Fast Fourier Transform (FFT) for signal processing
  • Familiarity with basic thresholding techniques for movement detection
  • Awareness of limitations of accelerometer data compared to gyroscope data
NEXT STEPS
  • Research techniques for using FFT on accelerometer data for movement recognition
  • Explore methods for implementing thresholding in signal processing
  • Investigate the integration of gyroscope data for improved movement detection
  • Learn about machine learning approaches, such as Support Vector Machines, for pattern recognition
USEFUL FOR

Mobile app developers, data scientists, and researchers focused on motion detection and urban behavior analysis using smartphone sensors.

reesefrancis
Messages
3
Reaction score
0
Hi, I have to find the best approach for tackling a problem for trying to recognize physical movements - with an iPhone in a pocket - like walking, stopping, turning left/right, sitting.

The ultimate goal is to recognize urban street behaviour, mostly regarding traffic lights: is it possible to tell when a pedestrian stops at a red light and then goes across the road on a green light? Or the data from an accelerometer won't be different when walking in a park etc.

I was thinking on just heuristically find the data corresponding to each action, then to check the incoming values against this data (with a threshold) and see what's happening. That's a very rough approach, of course, but unfortunately I don't have time to set up Support Vector Machine method for recognizing my patterns.

Here's what I got:
Walking: Do an fft on the gravity direction signal. Measure its frequency response for walking at different speeds and then set a simple threshold.

Stopping: if the average power i.e. total energy in the signal over the last few seconds drops below a certain threshold then you can say the user has stopped.

Turning left/right: not possible without a gyroscope.

Sitting: with no idea here - except for collecting data when sitting up from standing up and viceversa.

Stair climbing: basically the data I get when I climb stairs isn't different from the one I get when walking. Or is it there some way to tell the difference?
 
Physics news on Phys.org
Is this the wrong section? hope not
 
I'll try with more specific questions:

which is the gravity direction signal of 3-axis accelerometer? I need to do an fft on it
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
6K
  • · Replies 5 ·
Replies
5
Views
24K
Replies
15
Views
12K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 25 ·
Replies
25
Views
60K
Replies
90
Views
13K
  • · Replies 2 ·
Replies
2
Views
1K
Replies
21
Views
2K