The built in sensors make it possible for smart phones to recognize the kind of activity their users perform, for instance walking, jogging, cycling, working etc. Walking is a low impact, effective way to lose weight. Walking helps to reduce blood pressure. Walking is good for reducing the risks of heart disease and stroke. Walking improves the cardiovascular and pulmonary (heart and lung) fitness. Walking increases muscle strength, helps to create stronger bones, improves body balance and increases endurance.
Step Counting Process and Distance Measurement
Device positioning and orientation
The device is fixed near the center of mass of the subject, as shown, so that the net external force acting on it can be detected by the accelerometer of the device. The positive x, y, and z axes point to the left of the subject (horizontal), vertically upwards and backwards (horizontal) for the subject respectively. The y-direction acceleration data shows the strongest amplitude response, which could be more useful to detect human walking step.
The step counting process with a flowchart is given in figure 3. Now step by step process is given below:
In the starting point, taken the value for the sample number of walking steps that created the waveform. The variable “i” is the current sample number of walking steps.
After counting steps we need to determine walking distance of the smart phone user with step length. But the step length varies from person to person.