{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,9,28]],"date-time":"2026-09-28T21:38:13Z","timestamp":1790631493014,"version":"4.1.0"},"reference-count":28,"publisher":"MDPI AG","issue":"3","license":[{"start":{"date-parts":[[2026,1,29]],"date-time":"2026-01-29T00:00:00Z","timestamp":1769644800000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Sensors"],"abstract":"<jats:p>Step detection based on measurements of inertial measurement units (IMUs) is fundamental for human activity recognition, indoor navigation, and health monitoring applications. This study validates and compares five fundamentally different step detection algorithms for potential implementation on edge devices. A dedicated measurement system based on the Raspberry Pi Pico 2W microcontroller with two IMU sensors (Waveshare Pico-10DOF-IMU and Adafruit ST-9-DOF-Combo) was designed. The implemented algorithms include Peak Detection, Zero-Crossing, Spectral Analysis, Adaptive Threshold, and SHOE (Step Heading Offset Estimator). Validation was performed across 84 measurement sessions covering seven test scenarios (Timed Up and Go test, natural and fast walking, jogging, and stair climbing) and four sensor mounting locations (thigh pocket, ankle, wrist, and upper arm). Results demonstrate that Peak Detection achieved the best overall performance, with an average F1-score of 0.82, while Spectral Analysis excelled in stair scenarios (F1 = 0.86\u20130.92). Surprisingly, upper arm mounting yielded the highest accuracy (F1 = 0.84), outperforming ankle placement. The TUG clinical test proved most challenging (average F1 = 0.68), while fast walking was easiest (F1 = 0.87). Additionally, a preliminary application to 668 clinical TUG recordings from the open-access FRAILPOL database revealed algorithm-specific failure modes when continuous gait assumptions are violated. These findings provide practical guidelines for algorithm selection in edge computing applications and activity monitoring systems.<\/jats:p>","DOI":"10.3390\/s26030876","type":"journal-article","created":{"date-parts":[[2026,1,29]],"date-time":"2026-01-29T09:12:01Z","timestamp":1769677921000},"page":"876","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":1,"title":["Validation of Inertial Sensor-Based Step Detection Algorithms for Edge Device Deployment"],"prefix":"10.3390","volume":"26","author":[{"given":"Maksymilian","family":"Kisiel","sequence":"first","affiliation":[{"name":"Department of Computer Graphics, Vision and Digital Systems, Faculty of Automatic Control, Electronics and Computer Science, Silesian University of Technology, 44-100 Gliwice, Poland"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Arslan","family":"Amjad","sequence":"additional","affiliation":[{"name":"Department of Computer Graphics, Vision and Digital Systems, Faculty of Automatic Control, Electronics and Computer Science, Silesian University of Technology, 44-100 Gliwice, Poland"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-4354-8258","authenticated-orcid":false,"given":"Agnieszka","family":"Szcz\u0119sna","sequence":"additional","affiliation":[{"name":"Department of Computer Graphics, Vision and Digital Systems, Faculty of Automatic Control, Electronics and Computer Science, Silesian University of Technology, 44-100 Gliwice, Poland"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"1968","published-online":{"date-parts":[[2026,1,29]]},"reference":[{"key":"ref_1","doi-asserted-by":"crossref","first-page":"400","DOI":"10.1016\/j.medengphy.2015.02.003","article-title":"Instrumenting Gait with an Accelerometer: A System and Algorithm Examination","volume":"37","author":"Godfrey","year":"2015","journal-title":"Med. Eng. Phys."},{"key":"ref_2","doi-asserted-by":"crossref","first-page":"2906","DOI":"10.1109\/JSEN.2014.2382568","article-title":"SmartPDR: Smartphone-Based Pedestrian Dead Reckoning for Indoor Localization","volume":"15","author":"Kang","year":"2015","journal-title":"IEEE Sens. J."},{"key":"ref_3","unstructured":"Whittle, M.W. (2014). Gait Analysis: An Introduction, Butterworth-Heinemann. [5th ed.]."},{"key":"ref_4","doi-asserted-by":"crossref","unstructured":"Pham, M.H., Elshehabi, M., Haertner, L., Del Din, S., Srulijes, K., Heger, T., Synofzik, M., Hobert, M.A., Faber, G.S., and Hansen, C. (2017). Validation of a Step Detection Algorithm during Straight Walking and Turning in Patients with Parkinson\u2019s Disease and Older Adults Using an Inertial Measurement Unit at the Lower Back. Front. Neurol., 8.","DOI":"10.3389\/fneur.2017.00457"},{"key":"ref_5","doi-asserted-by":"crossref","first-page":"e10527","DOI":"10.2196\/10527","article-title":"Accuracy of Fitbit Devices: Systematic Review and Narrative Syntheses of Quantitative Data","volume":"6","author":"Feehan","year":"2018","journal-title":"JMIR mHealth uHealth"},{"key":"ref_6","first-page":"21","article-title":"Accuracy of Step Count from Wearable Devices: A Systematic Review and Meta-Analysis","volume":"7","author":"Pan","year":"2024","journal-title":"npj Digit. Med."},{"key":"ref_7","doi-asserted-by":"crossref","first-page":"24205","DOI":"10.1109\/JSEN.2022.3219412","article-title":"Deep-Learning-Based Step Detection and Step Length Estimation With a Handheld IMU","volume":"22","author":"Vandermeeren","year":"2022","journal-title":"IEEE Sens. J."},{"key":"ref_8","doi-asserted-by":"crossref","unstructured":"Romijnders, R., Warmerdam, E., Hansen, C., Schmidt, G., and Maetzler, W. (2022). A Deep Learning Approach for Gait Event Detection from a Single Shank-Worn IMU: Validation in Healthy and Neurological Cohorts. Sensors, 22.","DOI":"10.3390\/s22103859"},{"key":"ref_9","doi-asserted-by":"crossref","first-page":"778","DOI":"10.1016\/j.ypmed.2005.07.006","article-title":"Precision and Accuracy of an Ankle-Worn Accelerometer-Based Pedometer in Step Counting and Energy Expenditure","volume":"41","author":"Foster","year":"2005","journal-title":"Prev. Med."},{"key":"ref_10","doi-asserted-by":"crossref","first-page":"29","DOI":"10.1038\/s41746-022-00745-z","article-title":"A \u201cOne-Size-Fits-Most\u201d Walking Recognition Method for Smartphones, Smartwatches, and Wearable Accelerometers","volume":"6","author":"Straczkiewicz","year":"2023","journal-title":"npj Digit. Med."},{"key":"ref_11","unstructured":"Warden, P., and Situnayake, D. (2019). TinyML: Machine Learning with TensorFlow Lite on Arduino and Ultra-Low-Power Microcontrollers, O\u2019Reilly Media."},{"key":"ref_12","doi-asserted-by":"crossref","first-page":"163","DOI":"10.1109\/OJEMB.2024.3356791","article-title":"Gaitmap\u2014An Open Ecosystem for IMU-Based Human Gait Analysis and Algorithm Benchmarking","volume":"5","author":"Ullrich","year":"2024","journal-title":"IEEE Open J. Eng. Med. Biol."},{"key":"ref_13","unstructured":"Szcz\u0119sna, A., B\u0142aszczyszyn, M., and Amjad, A. (2025). Database for Prevalence and Determinants of Frailty and Pre-Frailty in Elderly People with Quantifying Functional Mobility, Figshare."},{"key":"ref_14","unstructured":"Raspberry Pi Ltd. (2025, December 01). Pico 2W Datasheet: A Microcontroller by Raspberry Pi. Datasheet, 2024. Available online: https:\/\/pip.raspberrypi.com\/documents\/RP-008304-DS-1-pico-2-w-datasheet.pdf."},{"key":"ref_15","doi-asserted-by":"crossref","unstructured":"Oudre, L., Barrois-M\u00fcller, R., Moreau, T., Truong, C., Vienne-Jumeau, A., Ricard, D., Vayatis, N., and Vidal, P.P. (2018). Template-Based Step Detection with Inertial Measurement Units. Sensors, 18.","DOI":"10.3390\/s18114033"},{"key":"ref_16","doi-asserted-by":"crossref","unstructured":"Ferri, C.P., and Jacob, K. (2017). Dementia in low-income and middle-income countries: Different realities mandate tailored solutions. PLoS Med., 14.","DOI":"10.1371\/journal.pmed.1002271"},{"key":"ref_17","doi-asserted-by":"crossref","unstructured":"Tsiakiri, A., Plakias, S., Giarmatzis, G., Tsakni, G., Christidi, F., Karakitsiou, G., Georgousopoulou, V., Manomenidis, G., Tsiptsios, D., and Vadikolias, K. (2025). Wearable Sensor Technologies and Gait Analysis for Early Detection of Dementia: Trends and Future Directions. Sensors, 25.","DOI":"10.3390\/s25247669"},{"key":"ref_18","doi-asserted-by":"crossref","first-page":"e1557","DOI":"10.1002\/widm.1557","article-title":"The evolution of frailty assessment using inertial measurement sensor-based gait parameter measurements: A detailed analysis","volume":"14","author":"Amjad","year":"2024","journal-title":"Wiley Interdiscip. Rev. Data Min. Knowl. Discov."},{"key":"ref_19","unstructured":"Analog Devices (2025, December 01). Pedometer Design\u20143-Axis Digital Accelerometer, AN-1057 Application Note. Application Note AN-1057, 2018. Available online: https:\/\/www.analog.com\/media\/en\/technical-documentation\/application-notes\/AN-1057.pdf."},{"key":"ref_20","doi-asserted-by":"crossref","unstructured":"Xu, Y., Li, G., Li, Z., Yu, H., Cui, J., Wang, J., and Chen, Y. (2022). Smartphone-Based Unconstrained Step Detection Fusing a Variable Sliding Window and an Adaptive Threshold. Remote Sens., 14.","DOI":"10.3390\/rs14122926"},{"key":"ref_21","doi-asserted-by":"crossref","unstructured":"Ma, M., Song, Q., Gu, Y., Li, Y., and Zhou, Z. (2018). An Adaptive Zero Velocity Detection Algorithm Based on Multi-Sensor Fusion for a Pedestrian Navigation System. Sensors, 18.","DOI":"10.3390\/s18103261"},{"key":"ref_22","doi-asserted-by":"crossref","first-page":"4916","DOI":"10.1109\/JSEN.2021.3064087","article-title":"A Zero-Velocity Detection Algorithm Robust to Various Gait Types for Pedestrian Inertial Navigation","volume":"22","author":"Cho","year":"2021","journal-title":"IEEE Sens. J."},{"key":"ref_23","doi-asserted-by":"crossref","unstructured":"Barth, J., Oberndorfer, C., Kugler, P., Schuldhaus, D., Winkler, J., Klucken, J., and Eskofier, B. (2013, January 3\u20137). Subsequence dynamic time warping as a method for robust step segmentation using gyroscope signals of daily life activities. Proceedings of the 2013 35th Annual International Conference of the IEEE Engineering in Medicine and Biology Society (EMBC), Osaka, Japan.","DOI":"10.1109\/EMBC.2013.6611104"},{"key":"ref_24","doi-asserted-by":"crossref","first-page":"1089","DOI":"10.1109\/TBME.2014.2368211","article-title":"Inertial sensor-based stride parameter calculation from gait sequences in geriatric patients","volume":"62","author":"Rampp","year":"2014","journal-title":"IEEE Trans. Biomed. Eng."},{"key":"ref_25","doi-asserted-by":"crossref","first-page":"1945","DOI":"10.1109\/TNSRE.2018.2868094","article-title":"Gait event detection in controlled and real-life situations: Repeated measures from healthy subjects","volume":"26","author":"Figueiredo","year":"2018","journal-title":"IEEE Trans. Neural Syst. Rehabil. Eng."},{"key":"ref_26","doi-asserted-by":"crossref","unstructured":"Brondin, A., Nordstr\u00f6m, M., Olsson, C.M., and Salvi, D. (2020, January 6\u20139). Open Source Step Counter Algorithm for Wearable Devices. Proceedings of the Companion Proceedings of the 10th International Conference on the Internet of Things (IoT \u201920 Companion), Malm\u00f6, Sweden.","DOI":"10.1145\/3423423.3423431"},{"key":"ref_27","unstructured":"Bosch Sensortec (2025, December 01). BMA421 Intelligent, Triaxial Acceleration Sensor\u2014Datasheet. Datasheet BST-BMA421-FL000, 2020. Available online: https:\/\/files.pine64.org\/doc\/datasheet\/pinetime\/BST-BMA421-FL000.pdf."},{"key":"ref_28","unstructured":"Analog Devices (2025, December 01). Step Counting Using the ADXL367, AN-2554 Application Note. Application Note AN-2554, 2023. Available online: https:\/\/www.analog.com\/en\/resources\/app-notes\/an-2554.html."}],"container-title":["Sensors"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/1424-8220\/26\/3\/876\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,1,29]],"date-time":"2026-01-29T09:12:49Z","timestamp":1769677969000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/1424-8220\/26\/3\/876"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2026,1,29]]},"references-count":28,"journal-issue":{"issue":"3","published-online":{"date-parts":[[2026,2]]}},"alternative-id":["s26030876"],"URL":"https:\/\/doi.org\/10.3390\/s26030876","relation":{},"ISSN":["1424-8220"],"issn-type":[{"value":"1424-8220","type":"electronic"}],"subject":[],"published":{"date-parts":[[2026,1,29]]}}}