top of page

One kilometer walk

This activity allows students to understand how a pedometer works by analyzing acceleration data while walking. It develops the understanding of the concrete applications of motion sensors.

Every day, billions of people carry sophisticated motion sensors in their pockets without giving it a second thought. The accelerometer in your smartphone detects the rhythmic pattern of each step you take, and fitness apps use this data to count steps, estimate distance walked, and calculate calories burned. But how does a pedometer actually distinguish a step from other motions like fidgeting, driving over a bump, or simply shaking the phone? The answer lies in signal processing: each step produces a characteristic acceleration signature with a push-off phase, a swing phase, and an impact phase, repeating at a frequency of 1.5-2.5 Hz during normal walking. By analyzing the raw accelerometer signal, students can identify these patterns, understand the algorithms that count steps, and appreciate the engineering challenges of translating noisy sensor data into reliable step counts. This experiment bridges physics, signal processing, and biomechanics in a walking laboratory that requires nothing more than a smartphone and some open space.

Activity overview:

The student uses the FizziQ accelerometer to record and analyze the movements generated by walking. By first observing the absolute acceleration graph for 50 steps and then simultaneously comparing the accelerometer and pedometer data in Duo mode, the student identifies the characteristic patterns of each step and understands how the algorithm of a pedometer detects and counts steps.

Level:

High school

FizziQ

Author:

Duration (minutes) :

30

What students will do :

- Record and analyze the acceleration pattern generated during walking using the smartphone accelerometer
- Identify the characteristic three-phase pattern of each step in the acceleration data
- Compare the accelerometer step count with the FizziQ pedometer and a manual count
- Understand the signal processing principles behind step detection algorithms
- Investigate how walking speed affects the acceleration pattern and step frequency

Scientific concepts:

- Periodic acceleration
- Detection algorithms
- Signal processing
- Biomechanics of walking
- Sensor applications

Sensors:

- Accelerometer (absolute acceleration)
- Pedometer (step counter)

Material needed:

- Smartphone with the FizziQ application
- A clear space to walk
- FizziQ experience notebook

Experimental procedure:

  1. Open FizziQ and select the Accelerometer sensor. Choose absolute acceleration for an overall motion signal.

  2. Place the smartphone in your front trouser pocket or hold it firmly against your hip. The position should remain consistent throughout the experiment.

  3. Start recording in FizziQ and walk 50 steps at a normal, comfortable pace. Count each step carefully.

  4. Stop recording. Examine the acceleration graph. You should see regular oscillations with each step producing a distinct peak.

  5. Count the number of acceleration peaks on the graph and compare with your manual step count of 50. They should approximately match.

  6. Measure the average step frequency by dividing the number of steps by the total recording time. Normal walking frequency is 1.5-2.5 Hz.

  7. Now use FizziQ's Duo mode to record the accelerometer and pedometer simultaneously.

  8. Walk another 50 steps at normal pace. Compare the pedometer count with your manual count and with the number of acceleration peaks.

  9. Repeat the experiment walking at a slow pace (about 1 step/second) and then at a fast pace (about 3 steps/second). Compare the acceleration patterns.

  10. For each pace, note the peak acceleration amplitude, step frequency, and whether the pedometer correctly counted all steps.

  11. Investigate what happens when you shake the phone or walk irregularly (stopping and starting). Does the pedometer register false steps?

  12. Estimate your stride length by walking a known distance (e.g., 20 meters) and dividing by the number of steps. Calculate how many steps are in one kilometer.

Expected results:

At normal walking pace, the accelerometer should show regular oscillations with peak amplitudes of 12-18 m/s² (including the 9.81 m/s² gravity component) and a frequency of about 1.7-2.0 Hz. The pedometer should agree with the manual count within ±2-5% for normal walking. At slow walking speeds, the pedometer may miss steps because the acceleration peaks are smaller and may fall below the detection threshold. At very fast walking or running speeds, the pedometer may undercount due to peaks that merge. Shaking the phone may produce false counts. Typical stride length is 0.6-0.8 m, yielding approximately 1250-1650 steps per kilometer.

Scientific questions:

- What are the three phases of the acceleration pattern during a single step?
- Why does the pedometer sometimes miss steps at very slow walking speeds?
- How does a step detection algorithm distinguish between a real step and random phone movement?
- Why does the acceleration signal contain both a constant component (gravity) and oscillating components?
- How could you improve the pedometer algorithm to reduce false counts?
- What information would you need in addition to step count to estimate the total distance walked?

Scientific explanations:

The modern pedometer is based on the analysis of acceleration signals generated by body movements during walking. Each step produces a characteristic three-phase acceleration pattern: 1) A positive acceleration phase during the initial push-off; 2) A relative free fall phase during leg swing; 3) A sudden deceleration (negative peak) upon impact of the foot on the ground.


These cycles repeat relatively regularly with a typical frequency of 1.5 to 2.5 Hz (90-150 steps per minute) for normal walking. The MEMS (Micro-Electro-Mechanical System) accelerometer of a smartphone measures these variations at a high sampling frequency (>100 Hz) and with high sensitivity (0.01 m/s²).


The algorithm of a pedometer analyzes this signal in real time by applying several techniques: band-pass filtering to eliminate spurious movements, peak detection to identify each step, and validation by amplitude and frequency criteria to avoid false positives. The main challenge is to distinguish real footsteps from other everyday movements.


To improve reliability, modern pedometers: 1) Often require a sequence of 5-7 regular accelerations before starting to count; 2) Dynamically adapt their thresholds according to the detected walking pace; 3) Sometimes use learning algorithms that adapt to the user's habits. FizziQ's Duo feature allows you to simultaneously observe raw acceleration data and its interpretation by the pedometer algorithm, providing a direct view of this signal processing process.


This technology, seemingly simple yet sophisticated in its implementation, has become ubiquitous in fitness and health applications, demonstrating how fundamental physics principles can be harnessed to create useful everyday tools.

Extension activities:

- What are the three phases of the acceleration pattern during a single step?
- Why does the pedometer sometimes miss steps at very slow walking speeds?
- How does a step detection algorithm distinguish between a real step and random phone movement?
- Why does the acceleration signal contain both a constant component (gravity) and oscillating components?
- How could you improve the pedometer algorithm to reduce false counts?
- What information would you need in addition to step count to estimate the total distance walked?

Frequently asked questions:

Q: The accelerometer graph does not show clear step peaks. What should I do?
R: Ensure the phone is held firmly against your body (in a pocket or held tightly). If the phone swings freely in your hand, the acceleration pattern will be dominated by arm swing rather than step impacts. Also try the Z-axis (vertical) component instead of absolute acceleration.

Q: The pedometer count is significantly different from my manual count. Why?
R: Pedometer algorithms use thresholds and timing filters that may not match your walking style. Very slow or very irregular walking is often miscounted. The phone position also affects accuracy.

Q: Why does the peak acceleration during walking exceed g (9.81 m/s²)?
R: The accelerometer measures the total acceleration including gravity. During the foot impact phase, the body decelerates briefly, adding to the gravitational component. The absolute acceleration typically peaks at 12-18 m/s² during normal walking.

Q: My estimated step count for one kilometer seems too high or too low. How can I check?
R: Measure your stride length carefully by walking 20 meters and counting steps precisely. Typical adult stride length is 0.65-0.80 m, giving 1250-1540 steps per kilometer. Children have shorter strides.

➡️ Download this science experiments directly in the FizziQ App (Activities > ➕ > Catalog)

bottom of page