Pedometer for Running Activity Using Accelerometer Sensors on the Wrist



Similar documents
LAB 6 - GRAVITATIONAL AND PASSIVE FORCES

Understanding Dynamic Range in Acceleration Measurement Systems. February 2013 By: Bruce Lent

LAB 6: GRAVITATIONAL AND PASSIVE FORCES

GETTING STARTED WITH LABVIEW POINT-BY-POINT VIS

Advantages of Auto-tuning for Servo-motors

Frequency Response of Filters

Filter Comparison. Match #1: Analog vs. Digital Filters

Review of Fundamental Mathematics

SINGLE-SUPPLY OPERATION OF OPERATIONAL AMPLIFIERS

The front end of the receiver performs the frequency translation, channel selection and amplification of the signal.

Adding Heart to Your Technology

VELOCITY, ACCELERATION, FORCE

INTRUSION PREVENTION AND EXPERT SYSTEMS

The accelerometer designed and realized so far is intended for an. aerospace application. Detailed testing and analysis needs to be

ε: Voltage output of Signal Generator (also called the Source voltage or Applied

Experiment 3: Magnetic Fields of a Bar Magnet and Helmholtz Coil

Acceleration Introduction: Objectives: Methods:

CHAPTER 6 Frequency Response, Bode Plots, and Resonance

A simple method to determine control valve performance and its impacts on control loop performance

Whitepaper. Image stabilization improving camera usability

Multi-Person Pose Recognition Using a Zigbee Sensor Network

Effective Use of Android Sensors Based on Visualization of Sensor Information

Section 5.0 : Horn Physics. By Martin J. King, 6/29/08 Copyright 2008 by Martin J. King. All Rights Reserved.

A DECISION TREE BASED PEDOMETER AND ITS IMPLEMENTATION ON THE ANDROID PLATFORM

Optical Fibres. Introduction. Safety precautions. For your safety. For the safety of the apparatus

A comparison of radio direction-finding technologies. Paul Denisowski, Applications Engineer Rohde & Schwarz

How to Design 10 khz filter. (Using Butterworth filter design) Application notes. By Vadim Kim

SUMMARY. Additional Digital/Software filters are included in Chart and filter the data after it has been sampled and recorded by the PowerLab.

FRICTION, WORK, AND THE INCLINED PLANE

This document is downloaded from DR-NTU, Nanyang Technological University Library, Singapore.

Electronic Communications Committee (ECC) within the European Conference of Postal and Telecommunications Administrations (CEPT)

1) Write the following as an algebraic expression using x as the variable: Triple a number subtracted from the number

WHY DIFFERENTIAL? instruments connected to the circuit under test and results in V COMMON.

Use and Application of Output Limiting Amplifiers (HFA1115, HFA1130, HFA1135)

More Filter Design on a Budget

AN Application Note: FCC Regulations for ISM Band Devices: MHz. FCC Regulations for ISM Band Devices: MHz

LAB 7 MOSFET CHARACTERISTICS AND APPLICATIONS

Experiment 3: Magnetic Fields of a Bar Magnet and Helmholtz Coil

MPC 4. Machinery Protection Card Type MPC 4 FEATURES. Continuous on-line Machinery Protection Card

KIN Biomechanics LAB: Ground Reaction Forces - Linear Kinetics

DIGITAL-TO-ANALOGUE AND ANALOGUE-TO-DIGITAL CONVERSION

A Brief Survey of Physical Activity Monitoring Devices 1

LEVERAGING FPGA AND CPLD DIGITAL LOGIC TO IMPLEMENT ANALOG TO DIGITAL CONVERTERS

Euler s Method and Functions

Output Ripple and Noise Measurement Methods for Ericsson Power Modules

Elements of a graph. Click on the links below to jump directly to the relevant section

What are the place values to the left of the decimal point and their associated powers of ten?

Method To Solve Linear, Polynomial, or Absolute Value Inequalities:

How to increase Bat Speed & Bat Quickness / Acceleration

Physics Lab Report Guidelines

FTIR Instrumentation

Investment Statistics: Definitions & Formulas

SIGNAL GENERATORS and OSCILLOSCOPE CALIBRATION

Case Studies in On-Line Measurement of PD in Motors Fed by Voltage Source PWM Drives

Parametric Technology Corporation. Pro/ENGINEER Wildfire 4.0 Tolerance Analysis Extension Powered by CETOL Technology Reference Guide

Einstein s Theory of Special Relativity Made Relatively Simple!

MXD7202G/H/M/N. Low Cost, Low Noise ±2 g Dual Axis Accelerometer with Digital Outputs

DDX 7000 & Digital Partial Discharge Detectors FEATURES APPLICATIONS

The Calculation of G rms

A Determination of g, the Acceleration Due to Gravity, from Newton's Laws of Motion

Copyright 2011 Casa Software Ltd. Centre of Mass

Lab 8: Ballistic Pendulum

Let s first see how precession works in quantitative detail. The system is illustrated below: ...

Section 1.1 Linear Equations: Slope and Equations of Lines

Standing Waves on a String

Enhancing the SNR of the Fiber Optic Rotation Sensor using the LMS Algorithm

Active Vibration Isolation of an Unbalanced Machine Spindle

Chapter Seven. Multiple regression An introduction to multiple regression Performing a multiple regression on SPSS

Oscillations: Mass on a Spring and Pendulums

Accurate, Fast Fall Detection Using Gyroscopes and Accelerometer-Derived Posture Information

Serway_ISM_V1 1 Chapter 4

Motion Graphs. Plotting distance against time can tell you a lot about motion. Let's look at the axes:

The purposes of this experiment are to test Faraday's Law qualitatively and to test Lenz's Law.

Graphing Motion. Every Picture Tells A Story

Universal Law of Gravitation

DDX 7000 & Digital Partial Discharge Detectors FEATURES APPLICATIONS

16 Learning Curve Theory

Characterizing Digital Cameras with the Photon Transfer Curve

Lab #4 - Linear Impulse and Momentum

Prelab Exercises: Hooke's Law and the Behavior of Springs

ART 269 3D Animation Fundamental Animation Principles and Procedures in Cinema 4D

If you put the same book on a tilted surface the normal force will be less. The magnitude of the normal force will equal: N = W cos θ

Controller Design in Frequency Domain

Lecture L6 - Intrinsic Coordinates

Jitter Transfer Functions in Minutes

Experiment: Static and Kinetic Friction

1 One Dimensional Horizontal Motion Position vs. time Velocity vs. time

Determination of g using a spring

Vi, fi input. Vphi output VCO. Vosc, fosc. voltage-controlled oscillator

Predictive Indicators for Effective Trading Strategies By John Ehlers

v v ax v a x a v a v = = = Since F = ma, it follows that a = F/m. The mass of the arrow is unchanged, and ( )

OPERATION MANUAL VALVE CHECKER G

See Horenstein 4.3 and 4.4

SOLIDWORKS SOFTWARE OPTIMIZATION

PeakVue Analysis for Antifriction Bearing Fault Detection

Hand Gestures Remote Controlled Robotic Arm

Harmonics and Noise in Photovoltaic (PV) Inverter and the Mitigation Strategies

Module 13 : Measurements on Fiber Optic Systems

Image Authentication Scheme using Digital Signature and Digital Watermarking

Errors Due to Shared Leadwires in Parallel Strain Gage Circuits

Transcription:

Medical Equipment Insights S h o r t R e p o r t Open Access Full open access to this and thousands of other papers at http://www.la-press.com. Pedometer for Running Activity Using Accelerometer Sensors on the Wrist Tom Mikael Ahola Nokia Research Center, Helsinki, Finland. Email: tom.m.ahola@nokia.com Abstract: The Nokia Wrist Attached Sensor Platform (NWSP) was developed at the Nokia Research Center during the NUADU project to facilitate research and demonstrations of use cases of wearable wireless sensors. A wrist worn pedometer application was implemented as one of the demonstrations of the capabilities of the platform. In this paper the step counting algorithm is described and the performance is evaluated. The application is targeted for running exercise. However, the detection of steps during walking is also discussed. Keywords: pedometer, step counter, wireless sensor platform 1 8 This article is available from http://www.la-press.com. the author(s), publisher and licensee Libertas Academica Ltd. This is an open access article. Unrestricted non-commercial use is permitted provided the original work is properly cited.

Ahola Introduction Step counting is a widely used method to assess physical activity. Very simple and cheap pedometer devices are available for any person to wear during running exercise or during daily activities to record the number of steps taken. The benefit of using such a device is mostly the improvement in motivation to increase physical activity. These devices are also used in rehabilitation and disease management. For example, physical activity assessment is important for the prevention or treatment of diabetes. 1 Pedometers have also been used to assess mobility of the elderly. 2 Pedometer devices are typically worn on the hip clipped to a belt or trousers. The hip is an excellent place for sensing steps as the accelerations there correlate well with steps and the interfering accelerations are small. Another good location for a step counter sensor is on the foot, where even more details, like stride length, can be measured. The wrist is a convenient place for informative gadgets. It is easy to casually look at the display of a wrist worn device and one can stay continuously aware of the step counts among other information. However, it is difficult to determine steps from the wrist as there is a lot of interfering acceleration signals from arm movements, which do not always correlate well with the steps taken. There are wrist worn step counters on the market today, but there are no public scientific reports on this topic. As algorithm patents are difficult to supervise they are usually kept secret. The Nokia Wrist Attached Sensor Platform (NWSP) developed in the NUADU project is an open research platform, which has made this publication possible. 3 5 Materials and Methods The step counting algorithm uses linear acceleration data from a 3-axis accelerometer sensor. To remove orientation dependency and the earth s gravitational acceleration the sensor signals are processed according to the scheme pictured in Figure 1. Signals a x, a y and a z are the accelerometer signals for each axis abs() a x Z 1 1/8 a y abs() Z 1 1/8 a z abs() Z 1 1/8 Figure 1. Computing acceleration change value from 3-axis accelerometer sensor signals.

Wrist-worn pedometer g p Z 1 a p g t a t 1 g p = if > a 2 p, 1 else g p = 16 Figure 2. Computing the adaptive threshold level. respectively. Firstly, each of them is high-pass filtered to remove the static or slowly varying gravitation signal. The filter is implemented by a computationally efficient autoregressive filter of the first degree. Effectively the filter subtracts from the input an integrated value of the output. A gain coefficient of 1/8 is inserted in the loop to adjust the response time and frequency response. The -3 db cutoff frequency is approximately 1/53 of the sampling rate. The transfer function of the filter is: -1 z H ( hpf z ) = 1- g g - z, 1 where =. (1) -1 1 8 The three high-pass filtered accelerations are combined to one output signal by taking the 1-norm: i.e. summing their absolute values. The 1-norm was chosen instead of the more accurate 2-norm to make the algorithm less computationally intense. The output is zero when the device is not moving. Any movement in any direction results in an output signal. With the 1-norm the gain (the scale of the output signal), depends somewhat on the orientation of the device, whereas with the 2-norm the gain is uniform in any direction. However, as the algorithm features an adaptive threshold, it is insensitive to the gain and thus, there would not be any benefit for using the more computationally intensive 2-norm. To make the algorithm robust, it features an adaptive threshold. This feature makes the algorithm independent of sensor sensitivity and the drift of it. It also makes the algorithm less sensitive to different users and variations in running style and road material. Figure 2 shows the computation of the threshold. It is essentially a peak detector with some slowness added to the reaction time. It is implemented as a low-pass filter of the first degree with a varying response time. The transfer function of the filter is H p -1 g pz ( z) = 1 - ( 1 - g ) z p -1. (2) In a steady-state case the peak signal a p equals the input because the difference is integrated in a closed loop. The gain coefficient g p determines the loop gain and a smaller coefficient corresponds to a slower response. However, if the input is greater than a p the g p is set to 1/2, which results in a relatively fast response, driving a p close to in a few samples. The step response time to 95% of the final value is 5 samples in this case. If is less or equal to a p the g p is set to 1/16, which result in a slow response, effectively holding the peak values for some time with a slow decay. In this case the step response time to 95% of the final value is 47 samples. The threshold value a t is a fraction of the peak value a p and is determined by the constant threshold coefficient g t as a t = g t a p. A value of 1/2 has been successfully used for g t. The step counting algorithm is shown in Figure 3. When the pedometer application is started the steps counter variable and the holdoff counter variable are initialized to zero. For each new acceleration sample, if the holdoff counter is zero and the signal exceeds the threshold a t, the steps counter variable is incremented and the holdoff counter is set to value -1. This holdoff value puts the algorithm in

Ahola step counter steps = 0 holdoff = 0 holdoff > 0? true holdoff = holdoff 1 false holdoff < 0? true > a t? true false false holdoff = N > a t? true false steps = steps 1 holdoff = 1 Figure 3. Step counter algorithm. a state waiting for a sample that is not above the threshold. When this sample has been read the holdoff is set to a value N greater than zero. If the holdoff counter is greater than zero, the algorithm does not count steps but decrements the holdoff counter for each sample period until it is zero. The purpose of the holdoff period is to prevent superfluous step counts for cases when there is ripple in the acceleration signal. In practice a value of 1 has been used for N with success. A value this small works because the ripple is typically small and there are no extra transitions of the acceleration signal across the threshold. Hysteresis could be used instead or in addition to the holdoff to improve rejection of noise and ripple. Also, a more advanced algorithm could include smart filtering to reject false step counts. Such filtering typically introduces delays in the display of the step count because several steps must be processed to make a decision on validity. The NWSP step counter avoids advanced filtering to

Wrist-worn pedometer enable an instant display of steps and not to infringe on proprietary technology. Result The step counter application was tested and the performance was evaluated. Figure 4 shows a set of acceleration signals for a short segment for one case where a subject was running. The x-axis is in the direction of the tangent of the forearm, the y-axis is parallel to it and the z-axis is perpendicular to it. Normally when a wrist-watch like device is worn tightly on the wrist and the arms are in a position for running, the x-axis of the device points downwards, the y-axis points forward in the running direction and the z-axis to the side. The figure also includes the combined acceleration. The case in the figure shows an interesting phenomenon. During the first 4 seconds in the plot there is a strong signal from the x-axis sensor but in the latter part this signal has moved over to the z-axis sensor. The reason for this is that the wrist device has been loosely fitted and has turned around the wrist during the running exercise to the side of the wrist, hanging on the downside of the arm. Each sharp spike in the waveforms of x- and y-axes corresponds to a combination of the heel strike in the gait cycle and the up down movement of the body. 6 The heel strike signal is strongly softened by body spring mass system when sensed on the wrist. On the y-axis a periodicity of half the frequency of the other axes can be observed. This is caused by the arm swinging forward and backward with the change in direction happening on each step. This example shows that at least a sensor with two axes is needed to cover situations where the wrist device might turn around the wrist. As can be seen in the plot, the signal is insensitive to the change in the device orientation and has a fairly constant periodic acceleration signal with each step clearly distinguishable. Figure 5 shows a plot with the adaptive threshold a t together with the and a p signals. It can be observed that the slow reaction time of the peak detector evens out the differences in acceleration peaks making the threshold signal smoothly ripple around an average level despite occasional high acceleration peaks. The area painted in grey is where the signal is above the threshold and steps are detected. Acceleration z-axis y-axis x-axis Figure 4. Acceleration signals during running. 0 1 2 3 4 5 6 7 Time (s)

Ahola The NWSP pedometer demo application was intended for running exercise. Tests showed that the application does not count steps during walking. Figure 6 shows the acceleration signals from the wrist during a walking exercise. The signals are very noisy and have low amplitude. From the z-axis signal some periodicity can be observed. This periodicity is caused by swinging motion of the arm and thus, the frequency is half of the step rate. The combined acceleration signal has lost an obvious periodicity because noisy signals from x- and y-axes have been added. This makes it difficult to detect steps. In the plot around 10 seconds on the time line there are some disturbances corrupting the periodicity in axis z. This is a typical sporadic arm movement that occurs frequently while walking, making accurate step counting from the wrist very challenging for any activities other than running. A comparison was made against Nokia Step Counter application running on a Nokia N95 mobile phone as a reference. This application is believed to be very accurate and it is available for free from Nokia beta labs. 7 A small number of test users ran with the NWSP pedometer on the wrist and the N95 device in the pocket simultaneously counting the steps during short exercises of a few hundred steps. Results showed that the NWSP step counter acquired consistently around 30% fewer steps than the reference. This result was surprising as the contrary was expected. As there is no advanced filtering for rejecting false steps and no hysteresis to reject ripple and noise, it was expected that extra steps would be acquired by the NWSP. Also having a very low hold off period could be expected to pass through some extra steps. Discussion Measurements of accelerations from the wrist showed that steps can be identified from the acceleration signals. From running exercises the detection is very clear. From walking activity steps could be detected with some limited accuracy using proper algorithms. The NWSP step counting algorithm was designed for running exercise. This was done before 1600 1400 1200 a p 1000 800 600 a t 400 200 0 2 2.5 3 3.5 4 4.5 5 Figure 5. Generation of the adaptive threshold signal. Time (s)

Wrist-worn pedometer Acceleration z-axis y-axis x-axis Figure 6. Acceleration signals during walking. 0 2 4 6 8 10 12 14 16 18 Time (s) the acceleration measurements were available and it was later verified to be functional in laboratory conditions. However, the real running test showed a significant loss of steps. The probable cause of loss of steps lies in the way the 3-axis accelerations are combined into one acceleration signal. The sum of absolute values of the individual axes of acceleration may stay above the threshold a t for a long time if there is interfering accelerations present from swinging arms, for example. Thus, steps are masked out by this interference. The problem could be remedied by raising the cutoff frequency of the high pass filters. As arm swinging has lower frequency accelerations than caused by the step impact it may be attenuated by the high pass filter. Another solution is to continuously monitor each acceleration axis separately and only use the one with clearest periodical signal as the source for step counting. Reviews of pedometers have revealed very high inaccuracies in available devices based on acceleration sensors. 8 To improve accuracy alternative sensing methods have been suggested, such as gyroscopes. 9 As the NWSP includes gyro sensors, they could be utilized to improve the NWSP pedometer. Gyros are insensitive to linear acceleration and thus, interfering accelerations are suppressed. However, the heel strike or body up down movement can not be detected by this kind of sensor and the algorithm would have to rely on detecting arm swing. Step counting from the wrist is an interesting topic. This exercise has shown that it is indeed possible but also it was shown that there are challenges. The NWSP step counter is functional but somewhat inaccurate. Improvements are possible and they have been identified during this work. Disclosures The manuscript has been read and approved by all authors. This paper is unique and is not under consideration by any other publication and has not been published elsewhere. The authors report no conflicts of interest. References 1. Dasgupta K, Chan C, Da Costa D, et al. Walking behaviour and glycemic control in type 2 diabetes: seasonal and gender differences Study design and methods. Cardiovascular Diabetology. 2007;6:1. 2. Horita Y, Sekine M, Tamura, et al. New attempt of proposing the pedometer algorithm in the elderly. ISSS-MDBS 2008. 5th International Summer School and Symposium on Medical Devices and Biosensors. 2008:111 2.

Ahola 3. Ahola T, Korpinen P, Rakkola J, et al. Wearable FPGA Based Wireless Sensor Platform. 29th Annual International IEEE EMBS Conference. 2007:2288 91. 4. http://opensource.nokia.com/nwsp/ 5. http://www.nuadu.org/ 6. Welk G. Physical Activity Assessments for Health-related Research. Human Kinetics. 2002:163 78. 7. http://betalabs.nokia.com/ 8. Schneider PL, Crouter SE, Bassett DR. Pedometer measures of free-living physical activity: comparison of 13 models. Med Sci Sports Exerc. 2004;36(2):331 5. 9. Lim YP, Brown IT, Khoo JCT. An Accurate and Robust Gyroscope- Based Pedometer. 30th Annual International IEEE EMBS Conference. 2008:4587. Publish with Libertas Academica and every scientist working in your field can read your article I would like to say that this is the most author-friendly editing process I have experienced in over 150 publications. Thank you most sincerely. The communication between your staff and me has been terrific. Whenever progress is made with the manuscript, I receive notice. Quite honestly, I ve never had such complete communication with a journal. LA is different, and hopefully represents a kind of scientific publication machinery that removes the hurdles from free flow of scientific thought. Your paper will be: Available to your entire community free of charge Fairly and quickly peer reviewed Yours! You retain copyright http://www.la-press.com