skip to main content
10.1145/3423423.3423431acmotherconferencesArticle/Chapter ViewAbstractPublication PagesiotConference Proceedingsconference-collections
research-article

Open source step counter algorithm for wearable devices

Published:07 October 2020Publication History

ABSTRACT

Commercial wearable devices and fitness trackers are commonly sold as black boxes of which little is known about their accuracy. This poses serious issues especially in health-related contexts such as clinical research, where transparency about accuracy and reliability are paramount.

We present a validated algorithm for computing step counting that is optimised for use in constrained computing environments. Released as open source, the algorithm is based on the windowed peak detection approach, which has previously shown high accuracy on smartphones. The algorithm is optimised to run on a programmable smartwatch (Pine Time) and tested on 10 subjects in 8 scenarios, with varying varying positions of the wearable and walking paces.

Our approach achieves a 89% average accuracy, with the highest average accuracy when walking outdoor (98%) and the lowest in a slow-walk scenario (77%). This result can be compared with the built-in step counter of the smartwatch (Bosch BMA421), which yielded a 94% average accuracy for the same use cases. Our work thus shows that an open-source approach for extracting physical activity data from wearable devices is possible and achieves an accuracy comparable to the one produced by proprietary embedded algorithms.

References

  1. Parastoo Alinia, Chris Cain, Ramin Fallahzadeh, Armin Shahrokni, Diane Cook, and Hassan Ghasemzadeh. 2017. How Accurate Is Your Activity Tracker? A Comparative Study of Step Counts in Low-Intensity Physical Activities. JMIR mHealth and uHealth 5, 8 (Aug. 2017), e106. https://doi.org/10.2196/mhealth.6321Google ScholarGoogle Scholar
  2. David R Bassett, Lindsay P Toth, Samuel R LaMunion, and Scott E Crouter. 2017. Step counting: a review of measurement considerations and health-related applications. Sports Medicine 47, 7 (2017), 1303–1315.Google ScholarGoogle ScholarCross RefCross Ref
  3. Ganapati Bhat, Ranadeep Deb, and Umit Y Ogras. 2019. OpenHealth: Open-source platform for wearable health monitoring. IEEE Design & Test 36, 5 (2019), 27–34.Google ScholarGoogle ScholarCross RefCross Ref
  4. Agata Brajdic and Robert Harle. 2013. Walk detection and step counting on unconstrained smartphones. In Proceedings of the 2013 ACM international joint conference on Pervasive and ubiquitous computing. 225–234.Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. Meredith A Case, Holland A Burwick, Kevin G Volpp, and Mitesh S Patel. 2015. Accuracy of smartphone applications and wearable devices for tracking physical activity data. Jama 313, 6 (2015), 625–626.Google ScholarGoogle ScholarCross RefCross Ref
  6. Yunhoon Cho, Hyuntae Cho, and Chong-Min Kyung. 2016. Design and implementation of practical step detection algorithm for wrist-worn devices. IEEE Sensors Journal 16, 21 (2016), 7720–7730.Google ScholarGoogle Scholar
  7. Yuanyuan Feng, Christopher K Wong, Vandana Janeja, Ravi Kuber, and Helena M Mentis. 2017. Comparison of tri-axial accelerometers step-count accuracy in slow walking conditions. Gait & posture 53(2017), 11–16.Google ScholarGoogle Scholar
  8. Rahel Gilgen-Ammann, Theresa Schweizer, and Thomas Wyss. 2020. Accuracy of Distance Recordings in Eight Positioning-Enabled Sport Watches: Instrument Validation Study. JMIR mHealth and uHealth 8, 6 (2020), e17118.Google ScholarGoogle Scholar
  9. Anders Kalør. 2014. Ring-Buffer. https://github.com/AndersKaloer/Ring-BufferGoogle ScholarGoogle Scholar
  10. Aida Kamišalić, Iztok Fister, Muhamed Turkanović, and Sašo Karakatič. 2018. Sensors and functionalities of non-invasive wrist-wearable devices: A review. Sensors 18, 6 (2018), 1714.Google ScholarGoogle ScholarCross RefCross Ref
  11. Justin McCarthy. 2019. One in Five U.S. Adults Use Health Apps, Wearable Trackers. https://news.gallup.com/poll/269096/one-five-adults-health-apps-wearable-trackers.aspxGoogle ScholarGoogle Scholar
  12. Matthew B Rhudy and Joseph M Mahoney. 2018. A comprehensive comparison of simple step counting techniques using wrist-and ankle-mounted accelerometer and gyroscope signals. Journal of Medical Engineering & Technology 42, 3(2018), 236–243.Google ScholarGoogle ScholarCross RefCross Ref
  13. Dario Salvi, Carmelo Velardo, Jamieson Brynes, and Lionel Tarassenko. 2018. An optimised algorithm for accurate steps counting from smart-phone accelerometry. In 2018 40th Annual International Conference of the IEEE Engineering in Medicine and Biology Society (EMBC). IEEE, 4423–4427.Google ScholarGoogle ScholarCross RefCross Ref
  14. The Linux foundation projects. 2020. Zephyr Project. https://www.zephyrproject.org/Google ScholarGoogle Scholar
  15. Jack Volder. [n.d.]. The CORDIC computing technique. In Papers presented at the the March 3-5, 1959, western joint computer conference on XX - IRE-AIEE-ACM ’59 (Western) (San Francisco, California, 1959). ACM Press, 257–261. https://doi.org/10.1145/1457838.1457886Google ScholarGoogle ScholarDigital LibraryDigital Library
  16. Christopher K Wong, Helena M Mentis, and Ravi Kuber. 2018. The bit doesn’t fit: Evaluation of a commercial activity-tracker at slower walking speeds. Gait & posture 59(2018), 177–181.Google ScholarGoogle Scholar
  17. Convict Épiscopal Luxembourg. 2002. Square-root based on CORDIC. https://www.convict.lu/Jeunes/Math/square_root_CORDIC.htmGoogle ScholarGoogle Scholar

Recommendations

Comments

Login options

Check if you have access through your login credentials or your institution to get full access on this article.

Sign in
  • Published in

    cover image ACM Other conferences
    IoT '20 Companion: Companion Proceedings of the 10th International Conference on the Internet of Things
    October 2020
    145 pages
    ISBN:9781450388207
    DOI:10.1145/3423423

    Copyright © 2020 ACM

    Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than the author(s) must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected].

    Publisher

    Association for Computing Machinery

    New York, NY, United States

    Publication History

    • Published: 7 October 2020

    Permissions

    Request permissions about this article.

    Request Permissions

    Check for updates

    Qualifiers

    • research-article
    • Research
    • Refereed limited

    Acceptance Rates

    Overall Acceptance Rate28of84submissions,33%

PDF Format

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

HTML Format

View this article in HTML Format .

View HTML Format