Monitoring Daily Energy Expenditure using a 3-Axis Accelerometer with a Low-Power Microprocessor

Similar documents
rmatics (IWIN 213) proposed by the American College of Sports Medicine and is expressed in the following expression (1). EE = 1.5 MET s W T (1) EE mea

measures Second generation accelerometers

Analysis of Acceleration Value based on the Location of the Accelerometer

THE influence of lifestyle-related diseases is of worldwide

References PEDOMETER PULSOMETER

ACTIVITY MONITORING SYSTEM

Health + Track Mobile Application using Accelerometer and Gyroscope

iphone as a Physical Activity Measurement Platform

Smart-Walk: An Intelligent Physiological Monitoring System for Smart Families

Design of Monitoring System Step Walking With MPU6050 Sensor Based Android

MOTUS Wave Buoys. Powered By the Aanderaa MOTUS Directional Wave Sensor

Respiration. Figure 22: Schematic representation of the respiratory system

that, as a means of progression, walking is suitable for lower speeds

Accelerometers: An Underutilized Resource in Sports Monitoring

Use of On-Body Sensors to Support Elite Sprint Coaching

IDeA Competition Report. Electronic Swimming Coach (ESC) for. Athletes who are Visually Impaired

Laboratory 2(a): Interfacing WiiMote. Authors: Jeff C. Jensen (National Instruments) Trung N. Tran (National Instruments)

Queue analysis for the toll station of the Öresund fixed link. Pontus Matstoms *

Mobility Detection Using Everyday GSM Traces

AutoGait: A Mobile Platform that Accurately Estimates the Distance Walked

Air-Sea Interaction Spar Buoy Systems

The NXT Generation. A complete learning solution

Special edition paper

Using Hexoskin Wearable Technology to Obtain Body Metrics During Trail Hiking

A STUDY OF THE LOSSES AND INTERACTIONS BETWEEN ONE OR MORE BOW THRUSTERS AND A CATAMARAN HULL

Fall Prevention Midterm Report. Akram Alsamarae Lindsay Petku 03/09/2014 Dr. Mansoor Nasir

Bicycle Safety Map System Based on Smartphone Aided Sensor Network

Analysis of Traditional Yaw Measurements

Bayesian Optimized Random Forest for Movement Classification with Smartphones

Understanding the Issues Affecting the Accuracy of Measuring Oxygen Consumption Utilizing Metabolic Carts

A Novel Decode-Aware Compression Technique for Improved Compression and Decompression

INCLINOMETER DEVICE FOR SHIP STABILITY EVALUATION

Improve Process Reliability

Research Article / Araştırma Makalesi STEP COUNTING USING SMARTPHONE ACCELEROMETER AND FAST FOURIER TRANSFORM

WALKING MOTION ANALYSIS USING SMALL ACCELERATION SENSORS

RUNNING LOADS IN DECATHLON TRAINING

ALTITUDE TRAINING FOR IMPROVING SWIMMING PERFORMANCE AT SEA LEVEL. MITSUMASA MIYASHITA, YOSHITERU MUTOH and YOSHIHARU YAMAMOTO.

Application of Simulation Technology to Mitsubishi Air Lubrication System

Analysis of Gait Characteristics Changes in Normal Walking and Fast Walking Of the Elderly People

PUBLISHED PROJECT REPORT PPR850. Optimisation of water flow depth for SCRIM. S Brittain, P Sanders and H Viner

Towards determining absolute velocity of freestyle swimming using 3-axis accelerometers

SpeedMax White Paper. Dynastream Innovations Inc. 228 River Avenue Cochrane, AB T4C 2C1. p f

Wind Flow Validation Summary

Development of Wearable Sensor Combinations for Human Lower Extremity Motion Analysis

Review of oxygen deficiency requirements for graham s ratio

Sensing and Modeling of Terrain Features using Crawling Robots

The Future of Hydraulic Control in Water-Systems

Proposed Paralympic Classification System for Va a Information for National federations and National Paralympic Committees

Analysis of the Radar Doppler Signature of a Moving Human

CS 528 Mobile and Ubiquitous Computing Lecture 7a: Applications of Activity Recognition + Machine Learning for Ubiquitous Computing.

The Optimal Downhill Slope for Acute Overspeed Running

Smart Health Walking Digital Pedometer And Heart Rate Watch Manual

A Novel Gear-shifting Strategy Used on Smart Bicycles

Vector Rope Trainer Cardiovascular Program Fitness Level: GENERAL

JEPonline Journal of Exercise Physiologyonline

Video Based Accurate Step Counting for Treadmills

Currents measurements in the coast of Montevideo, Uruguay

The Incremental Evolution of Gaits for Hexapod Robots

NIOSH Equation Outputs: Recommended Weight Limit (RWL): Lifting Index (LI):

Hydrotherapy. Aquatics and Whirlpools

Step Counting Investigation with Smartphone Sensors

Movement-Type Classification Using Acceleration Sensor

Impact Points and Their Effect on Trajectory in Soccer

bespoke In general health and rehabilitation Breath-by-breath multi-functional respiratory gas analyser In human performance

RESPIRATORY REGULATION DURING EXERCISE

Precision level sensing with low-pressure module MS

Human Performance Evaluation

Wiimote Visualization Through Particles

(12) Patent Application Publication (10) Pub. No.: US 2009/ A1

Blocking time reduction for level crossings using the genetic algorithm

siot-shoe: A Smart IoT-shoe for Gait Assistance (Miami University)

Application Note 268 Metabolic Analysis Systems and Propane-based Verification

Judo Sensor Vest. Project Proposal. Team: Max Baumgartner (mtbaumg2) Alex Gaynor (bchmnng2) Janak Mehta (jrmehta3) TA: Samuel Sagan

Hydrotherapy. History of Hydrotherapy Usage. History of Hydrotherapy 8/26/2014. Aquatics and Whirlpools

Fatigue Determines Endurance Performance: The Training Application

Datasheet: K-30 ASCII Sensor

Step Detection Algorithm For Accurate Distance Estimation Using Dynamic Step Length

Dynamic Positioning Control Augmentation for Jack-up Vessels

The Caddiellac. In the pursuit of perfection on the course, your clubs should follow your lead EE High Level Design

SCHEINWORKS Measuring and Analysis Systems by

Ambulatory monitoring of gait quality with wearable inertial sensors

Energy Expenditure Estimation DEMO Application

DETRMINATION OF A PLUNGER TYPE WAVE MAKER CHARACTERISTICE IN A TOWING TANK

New Generation System M, leading the World in the Non-Invasive Measurement of Critical Real-Time Parameters.

GOLOMB Compression Technique For FPGA Configuration

ROSE-HULMAN INSTITUTE OF TECHNOLOGY Department of Mechanical Engineering. Mini-project 3 Tennis ball launcher

Sontek RiverSurveyor Test Plan Prepared by David S. Mueller, OSW February 20, 2004

Reduction of Bitstream Transfer Time in FPGA

Development of Fish type Robot based on the Analysis of Swimming Motion of Bluefin Tuna Comparison between Tuna-type Fin and Rectangular Fin -

Software Design of the Stiquito Micro Robot

BUYER S GUIDE AQUAlogger 530WTD

White Paper. Chemical Sensor vs NDIR - Overview: NDIR Technology:

Yasuyuki Hirose 1. Abstract

Using Machine Learning for Real-time Activity Recognition and Estimation of Energy Expenditure

Chapter 4 Traffic Analysis

LifeBeat should be worn during daytime as well as night time as it can record activity levels as well as sleep patterns.

Datalogging Shirt for Baseball Pitchers


VALIDATION OF HEAT FLUX TECHNOLOGY TO ASSESS ENERGY EXPENDITURE DURING EXERCISE. Erin L. Thomas

SHUFFLE TURN OF HUMANOID ROBOT SIMULATION BASED ON EMG MEASUREMENT

Transcription:

Monitoring Daily Energy Expenditure using a 3-Axis Accelerometer with a Low-Power Microprocessor Yoshihiro Kawahara, Nanami Ryu, Tohru Asami Graduate School of Information Science and Technology The University of Tokyo 7-3-1 Hongo Bunkyo-ku, Tokyo, Japan {kawahara, nanami, asami} AT akg.t.u-tokyo.ac.jp Abstract Recent mobile phones are capable of monitoring a user s contextual information because they are equipped with computational, communication, and sensing abilities, and because people carry them continuously. This paper describes software that accurately monitors energy expenditure using a mobile phone handset equipped with a 3-axis accelerometer. This approach differs from other attempts because it detects non-exercise activity thermogenesis (NEAT) as well as active exercise (walking and running) regardless of the sensor position on the body. All the signal-processing tasks are implemented by the low-power 8-bit PIC microcontroller. Total power consumption is almost as much as that of the stand-by power consumption of mobile phones. Evaluation results indicate that this technology can monitor energy expenditure as accurately as a medical calorie meter. 1 Introduction Metabolic syndrome is a risk factor for cardiovascular disease that is receiving much clinical attention [1]. The dominant underlying developmental features of metabolic syndrome are abdominal obesity and insulin resistance. More than 50 million Americans are estimated to have metabolic syndrome. First-line treatment involves healthy lifestyle changes. The most important action is to balance dietary intake and calories burned. However, it can be difficult for people to monitor their level of physical activity. Therefore, a practical activity-monitoring platform based on mobile and sensing technologies would be very useful. 1.1 Related Works True total energy expenditure is very difficult to measure, and nearly all techniques use approximations. Measurement of metabolic carbon dioxide production (by Douglas bags and DLW) is accepted as the gold standard Yoshihiro Kawahara, Nanami Ryu, Tohru Asami Monitoring Daily Energy Expenditure using a 3-Axis Accelerometer with a Low-Power Microprocessor Vol. I No. 5 (Mar. 2009). ISSN: 1697-9613 (print) - 1887-3022 (online). www.eminds.hci-rg.com

Yoshihiro Kawahara, Nanami Ryu, Tohru Asami for medical research [2]. However, these techniques are awkward to use in daily life [3]. Other user-friendly approaches attempt to infer energy expenditure through the use of sensors. Pedometers only measure footfalls and are not accurate when used for activities that do not involve footfalls. Heart rate is affected by stress, medication, disease, and other physiological factors, and its correlation to energy expenditure is only accurate within a narrow range of moderate intensity exercise. Furthermore, due to individual variations, individual calibration is required. Some attempts have been made to combine heart rate and accelerometry using a technique called Flex-HR. Many current systems for continuously measuring heart rate and motion can be uncomfortable to wear for long periods of time because specific placement of a chest strap (such as the Polar chest strap [4]) or leg strap (such as the Dynastream system [5]) is required. The Sensewear [3] is an unobtrusive armband monitoring device, which utilizes a heat flux sensor, galvanic skin response (GSR) sensor, skin temperature sensor, near-body temperature sensor, and a two-axis accelerometer to gather data related to energy expenditure. The sensor readings are mapped to calorie consumption based on proprietary software algorithms. However, this device must be worn on the upper arm for 24 hours/day and can disrupt sleeping and interfere with clothing. 1.2 Challenges of Calorie Estimation Using a Mobile Phone Mobile phones are an attractive device for monitoring human activities because people carry them frequently and the devices are capable of communication, computational, and sensing abilities. Some mobile phones are currently equipped with a 3-axis accelerometer as the user interface [6]. In this study, this accelerometer was exploited to monitor the user s activities and then estimate calorie consumption based on the METS conversion method. Although this approach appeared straightforward, several technical challenges needed to be overcome to make the device practical. 1.2.1 Posture inference with a single accelerometer Sensor capabilities are more limited on mobile phones compared to dedicated medical calorie meters. Although heat flux and GSR sensors play important roles in estimating calories, an accelerometer is the only sensor device likely to be included on a mobile phone. Location information given by GPS is often too rough for estimating non-exercise activities. Therefore, a user s posture must be inferred using only an accelerometer. 1.2.2 Support for multiple sensor positions on the body People carry mobile phones at different places on the body. One survey of mobile phone use indicated that 77.6% of respondents always put their 146

Monitoring Daily Energy Expenditure using a 3-Axis Accelerometer with a Low-Power Microprocessor mobile phones in a bag, pants pocket, or chest pocket, while 13.2% of people change the mobile phone position from day to day [7]. Therefore, a context inference method needs to adapt to at least those three positions and must be able to detect a change in position. 1.2.3 Energy efficient computation Energy use is an important characteristic of mobile devices because users do not want to recharge the battery so frequently. Ancillary applications are not allowed to consume much energy in a mobile phone. Previous studies have extracted approximately 600 features from a set of sensors and classified them with Hidden Markov Models [8]. However this approach is not applicable to mobile phones because it requires a large amount of computation resources and memory. Therefore, we introduce a minimized computation algorithm and a simpler decision tree classifier to extend battery life. The remainder of this paper presents solutions to the technical requirements. The energy-efficient posture inference scheme is addressed first using a 3-axis accelerometer, which can infer posture with one accelerometer with an 8-bit low-power PIC microprocessor. Next, the method that can estimate calories consumed from both exercise and non-exercise activity thermogenesis is described. Finally, performance of this approach is compared to existing calorie meters, followed by a summary of the contributions of this method and directions for future work. 2 Posture Inference Using 3-axis Accelerometer Previous work proposed a user posture inference scheme using a 3-axis accelerometer for a mobile phone handset [11]. In this paper, the posture inference scheme was extended and optimized for implementation on a resource-limited microprocessor. The basic algorithms are reviewed and the optimized numerical calculation method is described. 2.1 Posture Inference The inference method is divided into three steps. The first step involves pre-processing, during which the relevant feature values are extracted from the acceleration data. The second step is sensor position inference. The system infers where the mobile phone is placed to select the correct posture inference scheme. The last step is user posture inference (classification). The system recognizes the user s posture using an algorithm based on the sensor position (Figure 1). Many mobile devices, including mobile phones, digital cameras, laptop computers, game controllers (such as the Nintendo Wii), and pedometers, 147

Yoshihiro Kawahara, Nanami Ryu, Tohru Asami are equipped with a MEMS-based 3-axis accelerometer. It can capture acceleration data at 10 to 100 Hz with 10-bit resolution and +/- 2G dynamic ranges. Our algorithm can operate with this type of off-the shelf accelerometer. 2.1.1 Pre-Processing The system calculates the variance for the last N v samples, the average of each axis for the last N a samples, the maximum value of the fast Fourier transform (FFT) power spectrum for continuous N f samples, and the change in angle of the sensor device. The sensor angle is calculated by detecting the gravity vector. 2.1.2 Sensor Position Inference The sensor position is inferred based on the following features. When a user does not wear the sensor device, the variance is nearly 0. Given a well-calibrated sensor, the direction of gravity can be calculated when a user is standing or moving gently. This allows the sensor to determine vertical and horizontal directions. When the sensor device is in a pants pocket, the sensor angle fluctuates widely during walking. When the sensor device is in a chest pocket, the sensor data shows a unique change when the user leans forward in the chair. 2.1.3 Classification When the orientation and position of the sensor has been determined by previous operation, the system selects a relevant algorithm to infer the user s posture. First, two general rules are described. These rules are used regardless of device position. The variance value is used to determine whether the user is moving. The maximum value of the FFT power spectrum is used to determine the activity state (running, walking, and the pace of running or walking). Second, two specific rules are described based on the sensor device position. When the sensor device is in a pants pocket, a change in sensor angle can estimate sitting motion. When the device is in a chest pocket, sensor angle is helpful for estimating forward leaning, backward leaning, or side leaning. All the rules are described in a decision tree that can be easily implemented in resource-limited devices. 148

Monitoring Daily Energy Expenditure using a 3-Axis Accelerometer with a Low-Power Microprocessor Raw Sensor Data x y z Position Inference Not in use Pants Pocket Context Inference Tells how long it is left unused Sit / Stand / Walk / Run Pre-Processing Variance Average FFT Angle Chest Pocket In bag or Chest Pocket No motion / Walk / Run / Lean Forward / Lean Backward / Lean Side No motion / Walk / Run Figure 1: Flow of context inference 2.2 Reducing Computational Overhead for Low-power 8-bit Microprocessors Many modern mobile phone platforms offer SDK to allow users and 3rd party developers to implement applications on the device. However, application processors on mobile phones are high-performance and typically consume greater than 100 mw. Therefore it may drain the batteries within several hours. Different from kill-time gaming applications, which are used for a limited time, a calorie meter application has to remain running for a full day. Therefore, energy consumption must be reduced by 1/5 to 1/10. The most effective approach is to reduce computational complexity and introduce a dedicated low-power processor. We implemented our algorithm on the PAVENET module, which was developed as a wireless sensor network device at the University of Tokyo. The PAVENET module consumes 30 mw at most when the MPU and the wireless interface are in use. It is composed of a PIC 18 microprocessor, wireless interface (Bluetooth[9] and/or IEEE 802.15.4[10]), and I/O interfaces to connect external sensor devices. Users can run software written by C language on the original hard real-time operating system named PAVNET OS. Due to its low-power design, however, the available data memory is only 4 Kbytes and the MPU clock is 20 MHz. No floating-point coprocessor is on board. Therefore, some ingenuity is required for implementation. Our preliminary experiments indicated that inference accuracy can be maximized when acceleration data is sampled at 20 Hz. This means feature extraction data need to be calculated and classification executed every 50 msec. However, FFT calculation during feature extraction requires (8 sine calculation) (8 multiplication) (4 addition) ( 1 2 N flogn f ) calculation (N f =64). Although a laptop computer can complete this cal- 149

Yoshihiro Kawahara, Nanami Ryu, Tohru Asami Figure 2: PAVENET Module culation within 10 msec, a PIC microprocessor requires more than 3 sec for this feature extraction. A monitoring interval of 3 sec is too long for this classification algorithm because it can lose important triggers such as a change in posture and change in sensor position. The FFT calculation is the most significant bottleneck in this scheme, but it supplies important information because it indicates walking or running pace. Therefore, computation time was reduced by modifying trigonometric function and excluding floating-point operations. First, a generic trigonometric function provided by a math library is not needed because the sine values used for FFT are always the same as long as N f is fixed. Instead, a trigonometric function table is used when a sine value is necessary. Moreover, the floating-point operation was eliminated and replaced by integer values. The numbers after the decimal point were multiplied by a fixed coefficient and divided before used. 2.3 Performance of Posture Inference These changes allowed a reduction in FFT computation time from about 3 sec to 74 msec. Total feature extraction procedure including FFT takes 78 msec. Thus, the total inference procedure (including feature extraction and classification) takes 80 msec. When the user s posture is obtained every 200 msec, total power consumption of the PAVENET module (including operating system overhead and access to the sensor) was 14.3 mw. This power consumption is almost as much as that of the stand-by power consumption of mobile phones. If a typical Li-ion battery is used for mobile phones (3.7 V, 950 mah), it lasts for 246 hours (10 days). Compared to previous results [11], there was a decrease in accuracy of the posture inference due to the difference in bit depth of the variables in this implementation. Table 1 shows the accuracy of inference with cur- 150

Monitoring Daily Energy Expenditure using a 3-Axis Accelerometer with a Low-Power Microprocessor Sitting Standing Walking Running In Pants Pocket 80.7% 99.2% 92.5% 98.5% In Bag 99.4% 96.9% 98.8% In Chest Pocket 99.4% 95.0% 98.1% Table 1: Accuracy of inference rent implementation. We obtained data from more than 500 trials from four individuals. However, overall performance was accurate enough for a calorie monitoring application. 3 Calorie Estimation Based on METS A unit of metabolic equivalent, or MET, is defined as the ratio of a person s working metabolic rate relative to the resting metabolic rate. METS values correlate with oxygen requirements. Starting with 1, which is the least amount of activity (such as resting), the values increase with the amount of activity. For example, running at 9.7 km/h has a METS value of 10. Standard tables exist that provide METS values for a wide range of exercises and activities. A person s calorie consumption can be easily calculated using this METS values given by equation 1. Energy(kcal) = 1.05 METS Weight(kg) Exercisetime(h) (1) METS values of different daily activities have been previously defined [12]. Here, the user s inferred activities are matched with METS value to estimate total energy expenditure. Table 2 presents simplified METS values for each activity. Our posture inference scheme can detect four contexts. When a user is sitting or standing, the corresponding METS value changes according to the activity the user is doing (e.g., cooking or sweeping). However, our posture inference algorithm cannot detect such detailed activities. Therefore a linear mapping of METS and variance of acceleration data was created based on observation. When the user is walking or running, the METS values changes according to the speed. Fortunately, the pace of the running or walking can be obtained from the dominant frequency of the acceleration sensor data. Thus, the speed of walking or running can be obtained by multiplying pace by the length of stride. 3.1 Evaluation We performed a comparative evaluation with our system. Eight individuals were asked to conduct their usual daily activities, including desk work 151

Yoshihiro Kawahara, Nanami Ryu, Tohru Asami Context METS Sitting 1.0 2.0 Standing 1.2 2.3 Walking 0.0272 walking speed (m/min) + 1.2 Running 0.093 running speed (m/min) - 4.7 Table 2: METS values and user contexts Figure 3: Estimated Energy Expenditure (2 to 3 hours), walking (1 to 2 hours), and jogging for several minutes. The trial subjects consisted of two females and six males ranging from 20 to 30 years old. We choose 2 commercial activity monitors (SenseWear [3] and Polar [4]) for comparison. Figure 3 shows the experimental results. The SenseWear is considered a reference device because it provides an accurate estimate of energy expenditure during simulated patterns of daily activity involving sitting, standing, and walking [11]. Mean estimated daily energy expenditure measured with our method was 5% lower than that measured with SenseWear. Despite this group difference, individual comparisons between our method and SenseWear were close (correlation of 0.90). In contrast, energy expenditure presented by Polar was 18% higher than that measured with SenseWear. As mentioned in section 1, monitoring tool based on heart rate requires careful calibration and is not suitable for monitoring energy expenditure when daily activity is dominant. 152

Monitoring Daily Energy Expenditure using a 3-Axis Accelerometer with a Low-Power Microprocessor 4 Conclusions We developed a daily energy expenditure monitoring application using a 3-axis accelerometer on a mobile phone handset. The results of this study indicate: The METS-based energy expenditure estimation scheme is as accurate as a medical calorie meter. The posture inference algorithm is accurate and practical enough to be used as an energy expenditure monitoring device using only one 3-axis accelerometer. All software was implemented on a low-power sensor network platform named PAVENET and was run by a mobile phone s stand-by energy. A limitation of this current posture inference scheme is that it does not support some fitness activities such as bicycling, tennis, and swimming. Although non-exercise activity thermogenesis is dominant in the life of an average person, another calorie meter may be needed to measure energy expenditure during some fitness exercises. Moreover, our test subjects were all healthy young adults. Currently, we are working on demonstrating the performance of our application for a wider range of people by implementing it on a commercial mobile phone. References [1] Grundy, S.M., Brewer, H.B., et al., Definition of metabolic syndrome: report of the National, Heart, Lung, and Blood Institute/American Heart Association conference on scientific issues related to definition. Circulation. 2004;109, pp.433-438. (2004) [2] Levine, J., Non-exercise activity thermogenesis (NEAT), Best Practice & Research Clinical Endocrinology & Metabolism, Volume 16, Issue 4, pp. 679-702 (2002) [3] Andre, D., Pelletier, R., et al., The Development of the SenseWear armband, a Revolutionary Energy Assessment Device to Assess Physical Activity and Lifestyle, Bodymedia white paper, (2006) [4] Polar, http://www.polar.fi/ [5] Dynastream, http://www.dynastream.com/ [6] iphone, http://www.apple.com/iphone/ 153

Yoshihiro Kawahara, Nanami Ryu, Tohru Asami [7] Survey on mobile phone usage, ishare Inc., http://blog.ishare1.com/press/archives/2005/11/post 19.html, (2005) [8] Lester, J., Choudhury, T., and Borriello, G., A Practical Approach to Recognizing Physical Activities, In Proceedings of Pervasive 2006, LNCS 3968, pp.1-16, (2006) [9] Bluetooth, http://www.bluetooth.org/ [10] IEEE 802.15.4 Standard, http://standards.ieee.org/getieee802/ [11] Kawahara, Y., Kurasawa, H., Morikawa, H., and Aoyama, T., Recognizing User Context Using Mobile Handsets with Acceleration Sensors, In Proceedings of IEEE Portable 2007, (2007) [12] Ainsworth, B.E., Haskell, W.L., et al., Compendium of Physical Activities: An update of activity codes and MET intensities. Med Sci Sports Exerc, 2000; 32 (Suppl):S498-S516, (2000) [13] Mealey, A.D., Jakicic, J.M., et al., Validation of the SenseWear Pro Armband to Estimate Energy Expenditure during a Simulation of Daily Activity, Abstract presented at the Annual Meeting of the American College of Sports Medicine 2007, (2007) 154