6. WORKFLOWS
• 1st – 3rd week : JAVA, Android, MATLAB
• 4th week: Collecting data and searching for related
documentation
• 5th – 8th week: Building App
7.
8. EXPERIMENTAL DATA
• Three sensors: Orientation, Gyroscope, and Magnetic sensors
• Orientation - Measures degrees of rotation that a device makes
around all three physical axes (x, y, z)
• Gyroscope - Measures a device's rate of rotation in rad/s
around each of the three physical axes (x, y, and z)
• Magnetic - Measures the ambient geomagnetic field for all
three physical axes (x, y, z) in μT
13. STEP COUNTING – FIRST STEP DETECTION
• Collect data(Accelerometer sensor) for standing still
• Calculate the standard deviation for every 50 samples
• Repeat for 25 times
• Calculate the mean standard deviation
• Find the largest Abs(SD - MSD)
• Calculate the threshold value
• Compare
16. Step Taken Step counted by the algorithm
10 10
20 16
20 22
30 25
50 37
17. TURN DETECTION
Saving the new
value of data
from Orientation
sensor
Calculate diff
Add to offset
Offset>6
0||Offset
<
-60?
Turn detected!
Reset offset to 0
More
Data?
Finish
Yes
Intersectio
n in
Magnetic
&&
isStanding
still?
Yes
18. DRAWING
• Reference point on
axis
• Path data in an
array of integers
• Eg: [10,-1,12,-
2,5,-1,6]
• How to let
computer to
visualize the data?
19. FURTHER IMPROVEMENTS IN THE FUTURE
• Improve the accuracy of the turn detection and step counting
• User Interface
• Detect wider range of turns
20. REFERENCES
• Ms. Najme Zehra Naqvi et al. / International Journal on
Computer Science and Engineering (IJCSE) Step Counting Using
Smartphone-Based Accelerometer