Abstract
Many users are confronted multiple times daily with the choice of whether to take the stairs or the elevator. Whereas taking the stairs could be beneficial for cardiovascular health and wellness, taking the elevator might be more convenient but it also consumes energy. By precisely tracking and boosting users’ stairs and elevator usage through their wearable, users might gain health insights and motivation, encouraging a healthy lifestyle and lowering the risk of sedentary-related health problems. This research describes a new exploratory dataset, to examine the patterns and behaviors related to using stairs and lifts. We collected data from 20 participants while climbing and descending stairs and taking a lift in a variety of scenarios. The aim is to provide insights and demonstrate the practicality of using wearable sensor data for such a scenario. Our collected dataset was used to train and test a Random Forest machine learning model, and the results show that our method is highly accurate at classifying stair and lift operations with an accuracy of 87.61% and a multi-class weighted F1-score of 87.56% over 8-second time windows. Furthermore, we investigate the effect of various types of sensors and data attributes on the model’s performance. Our findings show that combining inertial and pressure sensors yields a viable solution for real-time activity detection.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
Both the code and data (raw and resampled form) for the project are publicly accessible on GitHub: https://github.com/iiMox/project_work_stairs_lift_detection.git.
References
Jovin, I.: Fitbit floors climbed not accurate? here’s what to do. (2019). https://gadgetsandwearables.com/2019/07/28/fitbit-floor-count-too-high/. Accessed 26 June 2024
Anguita, D., Ghio, A., Oneto, L., Parra, X., Reyes-Ortiz, J.L., et al.: A public domain dataset for human activity recognition using smartphones. In: Esann, vol. 3, p. 3 (2013)
Atlas: Cardiovascular benefits of stair climbing: Fitness explained. https://atlasbars.com/blogs/fitness-explained/cardiovascular-benefits-of-stair-climbing-fitness-explained. Accessed 26 June 2024
Attal, F., Mohammed, S., Dedabrishvili, M., Chamroukhi, F., Oukhellou, L., Amirat, Y.: Physical human activity recognition using wearable sensors. Sensors 15(12), 31314–31338 (2015)
Banos, O., et al.: mHealthDroid: a novel framework for agile development of mobile health applications. In: Pecchia, L., Chen, L.L., Nugent, C., Bravo, J. (eds.) IWAAL 2014. LNCS, vol. 8868, pp. 91–98. Springer, Cham (2014). https://doi.org/10.1007/978-3-319-13105-4_14
Captain calculator: Calories burned on stairs | calculator & formula (2020). https://captaincalculator.com/health/calorie/calories-burned-stairs-calculator/. Accessed 26 June 2024
Delahoz, Y.S., Labrador, M.A.: Survey on fall detection and fall prevention using wearable and external sensors. Sensors 14(10), 19806–19842 (2014)
Kim, Y., Oh, J.H.: Recent progress in pressure sensors for wearable electronics: from design to applications. Appl. Sci. 10(18), 6403 (2020)
Kritzler, M., Bäckman, M., Tenfält, A., Michahelles, F.: Wearable technology as a solution for workplace safety. In: Proceedings of the 14th International Conference on Mobile and Ubiquitous Multimedia, pp. 213–217 (2015)
Mattmann, C., Amft, O., Harms, H., Troster, G., Clemens, F.: Recognizing upper body postures using textile strain sensors. In: 2007 11th IEEE International Symposium on Wearable Computers, pp. 29–36. IEEE (2007)
Neves, P., Stachyra, M., Rodrigues, J.: Application of wireless sensor networks to healthcare promotion. J. Commun. Softw. Syst. 4(3), 181–190 (2008)
Blackmer, N.: Here’s how many stairs you should climb a day for a healthy heart (2023), https://www.verywellhealth.com/daily-stairs-for-a-healthy-heart-8349369. Accessed 26 June 2024
Ohtaki, Y., Susumago, M., Suzuki, A., Sagawa, K., Nagatomi, R., Inooka, H.: Automatic classification of ambulatory movements and evaluation of energy consumptions utilizing accelerometers and a barometer. Microsyst. Technol. 11, 1034–1040 (2005)
Patel, S., Park, H., Bonato, P., Chan, L., Rodgers, M.: A review of wearable sensors and systems with application in rehabilitation. J. Neuroeng. Rehabil. 9, 1–17 (2012)
Ramasamy Ramamurthy, S., Roy, N.: Recent trends in machine learning for human activity recognition-a survey. Wiley Interdisc. Rev. Data Mining Knowl. Discov. 8(4), e1254 (2018)
Randell, C., Muller, H.: Context awareness by analysing accelerometer data. In: Digest of Papers. Fourth International Symposium on Wearable Computers, pp. 175–176. IEEE (2000)
Reiss, A., Stricker, D.: Introducing a new benchmarked dataset for activity monitoring. In: 2012 16th International Symposium on Wearable Computers, pp. 108–109 (2012). https://doi.org/10.1109/ISWC.2012.13
Rozalynn S. Frazier, C.P.T.: Do you have a sedentary lifestyle? Here are 8 signs and solutions (2024). https://www.realsimple.com/health/fitness-exercise/sedentary-lifestyle-signs. Accessed 26 June 2024
TheTechyLife: Which fitbits count stairs (2024). https://thetechylife.com/which-fitbits-count-stairs/. Accessed 20 June 2024
Thompson, W.R.: Worldwide survey of fitness trends for 2020. ACSM’s Health Fitness J. 23(6), 10–18 (2019)
Nielson, T.: [fix] fitbit not counting floors climbed or tracking incorrectly (2023). https://wearholic.com/fitbit-not-counting-floors/. Accessed 26 June 2024
Weiss, G.: Wisdm smartphone and smartwatch activity and biometrics dataset data set. UCI Machine Learning Repository (2019). https://archive.ics. uci. edu/ml/datasets/WISDM+ Smartphone+ and+ Smartwatch+ Activity+ and+ Biometrics+ Dataset+. Accessed 18 May 2022
Weiss, G.: WISDM Smartphone and Smartwatch Activity and Biometrics Dataset. UCI Machine Learning Repository (2019)
Wu, M., Luo, J.: Wearable technology applications in healthcare: a literature review. Online J. Nurs. Inform 23(3) (2019)
Zhang, S., et al.: Deep learning in human activity recognition with wearable sensors: a review on advances. Sensors 22(4), 1476 (2022)
Acknowledgements
This project is funded by the Deutsche Forschungsgemeinschaft (DFG, German Research Foundation) - 425868829 and is part of Priority Program SPP2199 Scalable Interaction Paradigms for Pervasive Computing Environments.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Ethics declarations
Disclosure of Interests
The authors have no competing interests to declare that are relevant to the content of this article.
Appendices
A Confusion Matrix for 4-Seconds Time-Window
B Evaluation Metrics for 20 Participants in 8-Seconds Time-Window
The following table presents evaluation metrics and also suitable hyper-parameter values for random forest found by GridSearchCV for each participant in 8-second windows.
C Evaluation Metrics for 20 Participants in 4-Seconds Time-Window
The following table presents evaluation metrics and also suitable hyper-parameter values for random forest found by GridSearchCV for each participant in 4-second windows.
D Total Time Duration for Each Class in Minutes
In total 152.95 min of data was collected for the lift classes and 99.08 min of data was collected for the stairs classes.
E Feature-Scores for 26 Features Averaged over 20 Participants in 8-Seconds and 4-Seconds Time-Window
Rights and permissions
Copyright information
© 2025 The Author(s), under exclusive license to Springer Nature Switzerland AG
About this paper
Cite this paper
Karande, H.B. et al. (2025). Raising the Bar(Ometer): Identifying a User’s Stair and Lift Usage Through Wearable Sensor Data Analysis. In: Konak, O., Arnrich, B., Bieber, G., Kuijper, A., Fudickar, S. (eds) Sensor-Based Activity Recognition and Artificial Intelligence. iWOAR 2024. Lecture Notes in Computer Science, vol 15357. Springer, Cham. https://doi.org/10.1007/978-3-031-80856-2_14
Download citation
DOI: https://doi.org/10.1007/978-3-031-80856-2_14
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-031-80855-5
Online ISBN: 978-3-031-80856-2
eBook Packages: Computer ScienceComputer Science (R0)