biking renaissance

35
Accurate Caloric Expenditure of Bicyclists using Cellphones Andong Zhan, Marcus Chang, Yin Chen, Andreas Terzis Johns Hopkins University 1

Upload: tannar

Post on 18-Feb-2016

33 views

Category:

Documents


0 download

DESCRIPTION

Accurate Caloric Expenditure of Bicyclists using Cellphones Andong Zhan, Marcus Chang, Yin Chen, Andreas Terzis Johns Hopkins University. Biking Renaissance. A biking renaissance has been underway over the past two decades in North America. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Biking Renaissance

Accurate Caloric Expenditure of Bicyclists using Cellphones

Andong Zhan, Marcus Chang, Yin Chen, Andreas TerzisJohns Hopkins University

1

Page 2: Biking Renaissance

Biking Renaissance• A biking renaissance has been underway over the past

two decades in North America

2

1977 20090

10002000300040005000

1272

4081

Annual Bike Trips (Mil-lions)

1980 20090

200

400

600

800468

766

Daily Bike Commuters (T-housands)

Pucher et al., Bicycling renaissance in North America? An update and re-appraisal of cycling trends and policies, Transportation Research Part A 45 (2011) 451-475

Introduction

Page 3: Biking Renaissance

Biking Renaissance (Cont’d)

3

The National Bicycling and Walking Study: 15-Year Status Report, May 2010Pedestrain and Bicycle Information Center, U.S. Department of Transportation

Introduction

Page 4: Biking Renaissance

Go with Mobile• Bikers’ cellphones become smarter• Bikers start to use mobile apps to track their trips

– E.g., iMapMyRIDE, endomondo• A important feature is to estimate caloric expenditure

4

Introduction

Page 5: Biking Renaissance

Estimate Caloric Expenditure• However, current approach – search table – is not

accurate

5

State of Wisconsin Department of Health and Family Services: Calories Burned Per Hour

101m

70m

Introduction

50Cal

120Cal

20Cal

Page 6: Biking Renaissance

• How to track caloric expenditure accurately?– Integrate more sensors!– Pay more! money, battery, …, burden

Estimate Caloric Expenditure (Cont’d)

6

Power meter crankset Heart rate monitor Cadence sensor

Introduction

Can we use just one smartphone without any

accessories to accurately track caloric expenditure?

Our answer is YES!!!

Page 7: Biking Renaissance

Contribution• We design and implement a modular mobile sensing

system to enable four major calorie estimators• We introduce our “software method” on smartphone to

replace external “hardware sensors”– Cadence:

• Cadence sensor phone-held accelerometer analysis– Elevation:

• Pressure sensor fitted and smoothed USGS elevation

• Finally, we achieve the goal – accurately estimate caloric expenditure with just one smartphone

7

Introduction

Page 8: Biking Renaissance

1. Search Table– Cal = f(speed, time, weight)

2. Heart Rate Monitor– Cal = f(bpm, weight, age, time)

3. Cadence Sensing [AI-Haboubi et. al.]– Cal = f(rpm, speed, weight)

Caloric Estimators

8

Al-Haboubi et al., Modeling energy expenditure during cycling, Ergonomics, 42:3:416-427, 1999

System Design

Page 9: Biking Renaissance

Caloric Estimators (Cont’d)

4. Power measurement [Martin et al.]– Calorie is linear with the total amount of work to move

the combined mass of the bike and the biker

9

Martin et al., Validation of a Mathematical Model for Road Cycling Power. Journal of Applied Physiology, 82:345, 2000.

coefficient of rolling resistance

slope

coefficient of aerodynamic dragWind velocity

System Design

Page 10: Biking Renaissance

System overview

10System Design

Page 11: Biking Renaissance

Data collection• 15 bike routes around

JHU campus• Each can be completed

within 20 min• Stable weather

condition• sample GPS, heart

rate, and pressure sensor once per second

• Accelerometer sample rate at 50 Hz

11

JHU

System Design

Route Dist. (km) Road Conditions

R1 1.5 Neighborhood, uphill

R2 2.1 Neighborhood, uphill

R3 0.8 Neighborhood, downhill

R4 0.8 Neighborhood, uphill

R5 2.1 Neighborhood, downhill

R6 1.1 Neighborhood, downhill

SMDN&SMDS

1.5 Woods, river valley, ups and downs, winding path

SMDC 2.4 Woods, river valley, ups and downs, winding path

DL 2.5 Lakeside, flat, open field

WW 1.7 Bridges, ups and downs

WE 1.7 Bridges, ups and downs

HJ 2.9 Neighborhood, bridge, downhill

JH 2.9 Neighborhood, bridge, uphill

C 3.9 Flat, circle, open field

Page 12: Biking Renaissance

Cadence Sensing in the Pocket• Get rpm from raw accelerometer data

12

T1 T2 T3

Step 1. remove T1 vibrations and get the axis with the largest varianceStep 2. apply a low-pass filter and get the derivative of the dataStep 3. utilize k-means to cluster two types based on the amplitude of the immediately previous peak

System Design

Page 13: Biking Renaissance

Elevation measurement• Where to get elevation?

– Pressure sensor– GPS– U.S. Geological Survey (USGS)– Google

13

“bridge error”

System Design

Page 14: Biking Renaissance

Elevation measurement (Cont’d)• Fitting

– Fit (x, y) to the most likely road in OpenStreetMap

• Smoothing– Use a robust local regression

method: fit to a quadratic polynomial model with robust weights:

14System Design

Bridge error is corrected by smoothing

Page 15: Biking Renaissance

Evaluation

• Hardware sensors vs. software approaches– Cadence sensor vs. Accelerometer sensing

in the pocket– Pressure sensor vs. Elevation services

• Caloric expenditure estimation for multiple bikers

15Evaluation

Page 16: Biking Renaissance

Cadence sensing• Use cadence sensor as ground truth• 29 traces collected by two volunteers

– Total length is 30.3 km– Total 5,377 revolutions

• The relative error is less than 2%• The error per km is less than 4 revolutions

16

Relative error per trip (%) 0.19 ± 1.59

Error per kilometer -0.09 ± 3.40

Evaluation

Page 17: Biking Renaissance

Elevation services• 15 traces on 12 routes from Mar. to Apr. 2012• Total of 4,780 GPS and pressure sample pairs

• 95% of USGS’s RMS are less than 1.2 m• 95% of Google’s RMS are less than 5.4 m

17Evaluation

Elevation Service R RMS (m)

USGS 0.9993 0.9

USGS fitted 0.9995 0.7

USGS fitted & smoothed 0.9997 0.6

Google 0.9957 2.4

Google fitted 0.9958 2.4

Google fitted & smoothed 0.9960 2.3

GPS 0.9540 39

Page 18: Biking Renaissance

Caloric Expenditure Estimation for Multiple Bikers

• Use Heart Rate Monitor as ground truth• Compare calories estimated from Search table

(TAB), Cadence sensing (CAD), and power measurement (USGS+FSW)

• Recruited 20 volunteers from JHU– Wear a heart rate strap + a smartphone in the pocket– 17 male and 3 female– Age from 24 to 32, weight from 110 to 175 lbs.

• Calibrated 8 bikes– 3 road, 4 cruiser, and 1 mountain bikes– Cr = 0.07 ~ 0.21, Ca = 0.26

• Collect 70 trips during one week– At least 3 trips for each volunteer

18Evaluation

Page 19: Biking Renaissance

Flat route: Druid Lake

• 2.5 km flat circular bike lane• Collected 10 trips from 7 bikers

19Evaluation

Page 20: Biking Renaissance

Route: Roland 1 & 6

• 1.8 km, cross neighborhood• Uphill and downhill path

20

106m

70m

Evaluation

Page 21: Biking Renaissance

Route: Roland 1, uphill

21Evaluation

Both CAD and TAB fail to provide an accurate caloric expenditure estimation for uphill trips

Page 22: Biking Renaissance

Route: Roland 6, downhill

22Evaluation

USGS+FSW adapt to both uphill and downhill trips

Page 23: Biking Renaissance

Route: St. Martin Dr. • A winding road along with

a river valley• The elevation difference

between two sides of the road can be 10 meters

• 11 trips across 8 bikers

23Evaluation

Page 24: Biking Renaissance

Route: St. Martin Dr.

24Evaluation

Fitting method eliminates most of the errors in this situation

Page 25: Biking Renaissance

Route: Wyman Park

• Cross two bridges: 140, and 67 meters long

25Evaluation

Page 26: Biking Renaissance

Route: Wyman Park

26Evaluation

Smoothing corrects “bridge errors” without adding new errors

Page 27: Biking Renaissance

Overall – 70 Trips

27Evaluation

USGS+FSW achieves the lowest error with lowest variance

Page 28: Biking Renaissance

Reducing GPS Power Consumption

• Duty-cycling the GPS receiver

*Fang et. al., EnAcq: energy-efficient GPS trajectory data acquisition based on improved map matching. In Proc. of GIS ‘11, 2011

*

28Evaluation

Page 29: Biking Renaissance

Pocket Sensing Approach

29

GPS Accelerometer USGS Weather

Cadence Calories

Page 30: Biking Renaissance

Conclusion• Just using a smartphone provides comparable

accuracy to the best methods that uses external sensors

• Our work immediately gives millions of bikers a zero-cost solution towards significantly improved biking experiences

• The shift from physical to virtual or software sensors will find other applications in quantifying daily lives and activities

30

Page 31: Biking Renaissance

Acknowledgement• We are grateful to 20 volunteers that participated

in the biking test• Thanks to our shepherd Vijay Raghunathan and

the anonymous reviewers• This work is partially supported by NSF and by

Google through a generous equipment gift

31

Page 32: Biking Renaissance

Q&A

32

Page 33: Biking Renaissance

Q1: about innovation of accelerometer sensing for biking

• Previous work, e.g., BikeNet, focuses on activity classification– Identify cycling, or walking, etc.

• Our work is different– We assume the biker is biking, and try to

qualify the activity intensity, e.g., RPM.

33

Page 34: Biking Renaissance

Q2: about online or offline of our application

• In this work,– Data collection is an online application– Evaluation is done offline

• But, our approach can be implemented as an online application– The details is described on our paper

34

Page 35: Biking Renaissance

Q3: do you need to manually smooth the bridge part of the data

• No, we use smoothing method on the whole data/trace

• Since the smoothing method only ignores outliers/bridge, it does not generate new errors

• So we do not need to manually choose bridge part to smooth, instead, we use smooth on all data/trace.

35