runnerup icon indicating copy to clipboard operation
runnerup copied to clipboard

compute calories spent during workout

Open jonasoreland opened this issue 12 years ago • 9 comments

jonasoreland avatar Sep 06 '14 17:09 jonasoreland

Have you started work on this?

grriffin avatar Oct 25 '14 05:10 grriffin

I just spent a little while doing some research; HR seems to be the most accurate way of calculating calories burned, with 2 caveats

  1. the calculation is accurate for submaximal exercise (<85% max HR+)
  2. the formulas don't account for a change in HR with temperature (cardiac drift on long runs - HR increases without actual increase of intensity)

Calculating calories burned by distance traveled can also be quite accurate for running (ACSM and Leger/Mercier equations are great, but require your vo2max), while distance traveled is terrible for biking, as the largest power losses in biking are due to hills and air resistance, which is highly variable (wind, aerodynamics, etc.).

HR formula (it also mentions how to calculate watts for biking!): http://www.braydenwm.com/calburn.htm

McArdle's distance formula: http://www.brianmac.co.uk/energyexp.htm caveat: In this formula comparison study, McArdle's values overcalculated by 10%: http://www.ncbi.nlm.nih.gov/pubmed/15570150

There has been some work on combined formulas, using HR and movement, but I've been unable to find publications describing what the formulas are.

For running, I suggest using the HR formula if possible, falling back to a distance-based calculation. For cycling, the HR formula seems to be our best bet; any distance-based method could easily be off by 2-3x. Providing a 'watts' estimate would also be very cool.

dhiltonp avatar Oct 25 '14 07:10 dhiltonp

Interesting, i thought weight was an important part of calculating calories

nebmo avatar Oct 25 '14 07:10 nebmo

It is; both linked formulas use weight as part of the calculation. On Oct 25, 2014 1:21 AM, "Niklas Weidemann" [email protected] wrote:

Interesting, i thought weight was an important part of calculating calories

— Reply to this email directly or view it on GitHub https://github.com/jonasoreland/runnerup/issues/97#issuecomment-60474431 .

dhiltonp avatar Oct 25 '14 07:10 dhiltonp

Hehe sorry, didnt read the links :)

On Sat, Oct 25, 2014 at 9:23 AM, David Hilton [email protected] wrote:

It is; both linked formulas use weight as part of the calculation. On Oct 25, 2014 1:21 AM, "Niklas Weidemann" [email protected] wrote:

Interesting, i thought weight was an important part of calculating calories

— Reply to this email directly or view it on GitHub < https://github.com/jonasoreland/runnerup/issues/97#issuecomment-60474431> .

— Reply to this email directly or view it on GitHub https://github.com/jonasoreland/runnerup/issues/97#issuecomment-60474466 .

nebmo avatar Oct 25 '14 07:10 nebmo

What about using the value given by the heart-rate monitor? The bluetooth specification for heart-rate measurement provides a "energy expended" field, aka calories spent: https://developer.bluetooth.org/gatt/characteristics/Pages/CharacteristicViewer.aspx?u=org.bluetooth.characteristic.heart_rate_measurement.xml

fg1 avatar Nov 22 '14 17:11 fg1

I guess it's usefulness would depend on how the HRM generates that value - if it has sensors in addition to the HR that it uses to improve the accuracy of the calculation, I guess it could be a better estimate than any formulas we might use.

I'm unsure of what devices would provide the data, though.

David

On Sat, Nov 22, 2014 at 10:02 AM, Fabien [email protected] wrote:

What about using the value given by the heart-rate monitor? The bluetooth specification for heart-rate measurement provides a "energy expended" field, aka calories spent:

https://developer.bluetooth.org/gatt/characteristics/Pages/CharacteristicViewer.aspx?u=org.bluetooth.characteristic.heart_rate_measurement.xml

— Reply to this email directly or view it on GitHub https://github.com/jonasoreland/runnerup/issues/97#issuecomment-64086908 .

dhiltonp avatar Nov 22 '14 17:11 dhiltonp

Any news on this one? Would love to see calories attached to workouts!

matm avatar Nov 24 '15 21:11 matm

not yet :(

On Tue, Nov 24, 2015 at 10:07 PM, Mathias Monnerville < [email protected]> wrote:

Any news on this one? Would love to see calories attached to workouts!

— Reply to this email directly or view it on GitHub https://github.com/jonasoreland/runnerup/issues/97#issuecomment-159405284 .

jonasoreland avatar Jan 01 '16 18:01 jonasoreland