Smart Wearable to Prevent Injuries in Amateur Athletes in Squats Exercise by Using Lightweight Machine Learning Model
Abstract
:1. Introduction
- Present a novel ML workflow running on the device to make inferences locally and prevent injuries in amateur athletes.
- A fair comparison between classical ML models and Deep Learning architectures to be exported in wearables.
2. Related Works
3. Wearable Design
3.1. Human Subject Data Analysis
3.2. System Requirements
3.3. Sensor Selection
3.4. Sensor Calibration
- Vout = Voltage given by the sensor.
- Vin = Voltage Given by the source.
- R1 = Static resistance.
- R2 = Sensor variable resistance.
3.5. Voltage Source Supply
- IT = total power supply.
- = Power needed for each component.
3.6. Wearable Device
4. ML Workflow
4.1. Original Samples
4.2. Data Preprocessing
4.3. Classification Algorithms
5. Results
5.1. ML Workflow
5.2. Wearable Device
6. Conclusions and Future Works
- This work supervised and analyzed the performed activities of people during squats, selecting the data to communicate to the computer to provide visualization.
- The correct measurement boundaries were selected to identify the correct posture through ML algorithms.
- The values were recognized to determine the adduction posture to set as a flag, which means a warning to activate the sonorous alarm to communicate the failed posture knee for visualization in the computer by RF.
- The values were recognized to determine the abduction posture to set as a flag, which means a warning to activate the sonorous vibrating alarm to communicate the failed posture knee for visualization in the computer via RF.
Author Contributions
Funding
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
References
- Gullett, J.C.; Tillman, M.D.; Gutierrez, G.M.; Chow, J.W. A biomechanical comparison of back and front squats in healthy trained individuals. J. Strength Cond. Res. 2009, 23, 284–292. [Google Scholar] [CrossRef] [Green Version]
- Elias, J.J.; Kilambi, S.; Cosgarea, A.J. Computational assessment of the influence of vastus medialis obliquus function on patellofemoral pressures: Model evaluation. J. Biomech. 2010, 43, 612–617. [Google Scholar] [CrossRef] [PubMed] [Green Version]
- Li, G.; Zayontz, S.; DeFrate, L.E.; Most, E.; Suggs, J.F.; Rubash, H.E. Kinematics of the knee at high flexion angles: An in vitro investigation. J. Orthop. Res. 2004, 22, 90–95. [Google Scholar] [CrossRef]
- Ha, T.W.; Park, S.H.; Lee, M.M. Comparison of difference in muscle activity ratio, ground reaction force and knee valgus angle during single leg squat and landing according to dynamic taping. Phys. Ther. Rehabil. Sci. 2020, 9, 281–286. [Google Scholar] [CrossRef]
- Nagano, Y.; Ida, H.; Akai, M.; Fukubayashi, T. Gender differences in knee kinematics and muscle activity during single limb drop landing. Knee 2007, 14, 218–223. [Google Scholar] [CrossRef]
- Crossley, K.M.; Zhang, W.J.; Schache, A.G.; Bryant, A.; Cowan, S.M. Performance on the single-leg squat task indicates hip abductor muscle function. Am. J. Sport. Med. 2011, 39, 866–873. [Google Scholar] [CrossRef] [PubMed]
- Liu, T.; Inoue, Y.; Shibata, K.; Shiojima, K. Three-dimensional gait analysis system with mobile force plates and motion sensors. In Proceedings of the URAI 2011—2011 8th International Conference on Ubiquitous Robots and Ambient Intelligence, Incheon, Republic of Korea, 23–26 November 2011; pp. 107–110. [Google Scholar] [CrossRef]
- Nakagawa, T.H.; Moriya, E.T.; MacIel, C.D.; Serrão, F.V. Trunk, pelvis, hip, and knee kinematics, hip strength, and gluteal muscle activation during a single-leg squat in males and females with and without patellofemoral pain syndrome. J. Orthop. Sport. Phys. Ther. 2012, 42, 491–501. [Google Scholar] [CrossRef] [PubMed] [Green Version]
- Erazo-Chamorro, V.C.; Arciniega-Rocha, R.P.; Rudolf, N.; Tibor, B.; Gyula, S. Safety Workplace: The Prevention of Industrial Security Risk Factors. Appl. Sci. 2022, 12, 10726. [Google Scholar] [CrossRef]
- Chiou, P.; Borg-Stein, J. Cumulative trauma disorders. In DeLisa’s Physical Medicine and Rehabilitation: Principles and Practice, 5th ed.; CRC Press: Boca Raton, FL, USA, 2012; Volume 1–2, pp. 923–936. [Google Scholar] [CrossRef]
- Erazo-Chamorro, V.C.; Arciniega-Rocha, R.P.; Szabo, G. Healthy and safe workplace definition: A friendly boundary for a complex issue. In Proceedings of the Mérnöki Szimpózium a Bánkin Előadásai: Proceedings of the Engineering Symposium at Bánki (ESB2021); Horváth, R., Lukács, J., Stadler, R.G., Eds.; Óbudai Egyetem: Budapest, Hungary, 2022; pp. 51–56. [Google Scholar]
- Liu, K.; Liu, T.; Shibata, K.; Inoue, Y. Ambulatory measurement and analysis of the lower limb 3D posture using wearable sensor system. In Proceedings of the 2009 International Conference on Mechatronics and Automation, Changchun, China, 9–12 August 2009; pp. 3065–3069. [Google Scholar] [CrossRef]
- Takeda, R.; Tadano, S.; Natorigawa, A.; Todoh, M.; Yoshinari, S. Gait posture estimation using wearable acceleration and gyro sensors. J. Biomech. 2009, 42, 2486–2494. [Google Scholar] [CrossRef] [Green Version]
- Erazo-Chamorro, V.C.; Arciniega-Rocha, R.P.; Maldonado-Mendez, A.L.; Rosero-Montalvo, P.D.; Szabo, G. Intelligent System For Knee Ergonomic Position Analysis during Lifting Loads. Acta Tech. Napoc.—Ser. Appl. Math. Mech. Eng. 2023, 65, 677–684. [Google Scholar]
- Russell, P.J.; Phillips, S.J. A Preliminary Comparison of Front and Back Squat Exercises. Res. Q. Exerc. Sport 2013, 60, 201–208. [Google Scholar] [CrossRef]
- Horan, S.A.; Watson, S.L.; Carty, C.P.; Sartori, M.; Weeks, B.K. Lower-limb kinematics of single-leg squat performance in young adults. Physiother. Can. 2014, 66, 228–233. [Google Scholar] [CrossRef] [PubMed] [Green Version]
- Raïsänen, A.; Pasanen, K.; Krosshaug, T.; Avela, J.; Perttunen, J.; Parkkari, J. Single-Leg Squat as a Tool to Evaluate Young Athletes’ Frontal Plane Knee Control. Clin. J. Sport Med. 2016, 26, 478–482. [Google Scholar] [CrossRef] [PubMed] [Green Version]
- Ajdaroski, M.; Tadakala, R.; Nichols, L.; Esquivel, A. Validation of a Device to Measure Knee Joint Angles for a Dynamic Movement. Sensors 2020, 20, 1747. [Google Scholar] [CrossRef] [PubMed] [Green Version]
- Teague, C.N.; Heller, J.A.; Nevius, B.N.; Carek, A.M.; Mabrouk, S.; Garcia-Vicente, F.; Inan, O.T.; Etemadi, M. A Wearable, Multimodal Sensing System to Monitor Knee Joint Health. IEEE Sens. J. 2020, 20, 10323–10334. [Google Scholar] [CrossRef]
- Faisal, A.I.; Majumder, S.; Scott, R.; Mondal, T.; Cowan, D.; Deen, M.J. A Simple, Low-Cost Multi-Sensor-Based Smart Wearable Knee Monitoring System. IEEE Sens. J. 2021, 21, 8253–8266. [Google Scholar] [CrossRef]
- Lee, J.; Joo, H.; Lee, J.; Chee, Y. Automatic Classification of Squat Posture Using Inertial Sensors: Deep Learning Approach. Sensors 2020, 20, 361. [Google Scholar] [CrossRef] [Green Version]
- IEEE/ISO/IEC 29148-2011; ISO/IEC/IEEE International Standard—Systems and Software Engineering—Life Cycle Processes—Requirements Engineering. IEEE Standards Association: Piscataway, NJ, USA, 2011.
- Clark, J.O. System of systems engineering and family of systems engineering from a standards, v-model, and dual-v model perspective. In Proceedings of the 2009 IEEE International Systems Conference, San Antonio, TX, USA, 11–15 October 2009; pp. 381–387. [Google Scholar] [CrossRef]
- Swinnen, S.P. Intermanual coordination: From behavioural principles to neural-network interactions. Nat. Rev. Neurosci. 2002, 3, 348–359. [Google Scholar] [CrossRef]
- Byblow, W.D.; Stinear, C.M.; Smith, M.C.; Bjerre, L.; Flaskager, B.K.; McCambridge, A.B. Mirror Symmetric Bimanual Movement Priming Can Increase Corticomotor Excitability and Enhance Motor Learning. PLoS ONE 2012, 7, e33882. [Google Scholar] [CrossRef]
- Arduino Script for MPU-6050 Auto-Calibration—42 Bots. Available online: https://42bots.com/tutorials/arduino-script-for-mpu-6050-auto-calibration/ (accessed on 5 July 2022).
- Rosero-Montalvo, P.D.; Peluffo-Ordóñez, D.H.; López Batista, V.F.; Serrano, J.; Rosero, E.A. Intelligent System for Identification of Wheelchair User’s Posture Using Machine Learning Techniques. IEEE Sens. J. 2019, 19, 1936–1942. [Google Scholar] [CrossRef]
- Rosero-Montalvo, P.D.; López-Batista, V.F.; Peluffo-Ordóñez, D.H.; Erazo-Chamorro, V.C.; Arciniega-Rocha, R.P. Multivariate Approach to Alcohol Detection in Drivers by Sensors and Artificial Vision. In Proceedings of the From Bioinspired Systems and Biomedical Applications to Machine Learning; Ferrández Vicente, J.M., Álvarez-Sánchez, J.R., de la Paz López, F., Toledo Moreo, J., Adeli, H., Eds.; Springer: Cham, Switzerland, 2019; pp. 234–243. [Google Scholar] [CrossRef]
- Bhatti, M.A.; Riaz, R.; Rizvi, S.S.; Shokat, S.; Riaz, F.; Kwon, S.J. Outlier detection in indoor localization and Internet of Things (IoT) using machine learning. J. Commun. Netw. 2020, 22, 236–243. [Google Scholar] [CrossRef]
Systems and Software Engineering—Requirements Engineering | ||
---|---|---|
Requirements | Priority | Description |
Ease of use | High | Defining the needs and requirements of stakeholders |
Error wrong posture system alarm | High | Define and perform activities related to security |
The system must have a visualization interface | High | Define and perform activities related to understanding and documenting the relationship between the user and the system |
The data analysis must be in real time | High | Perform activities related to classifying, reviewing and prioritizing the requirements |
The system must have lightweight | High | Perform activities related to requirements in the architecture definition |
The system must measure the knee angle | High | Perform activities related to requirements in the validation phase |
The system must measure the deviation angle | High | Perform activities related to requirements in the validation phase |
The computational load must be as low as possible | Medium | Define and perform activities related to requirements in other technical processes |
Sensors Technical Features | ||
---|---|---|
Requirements | Flex 4.5 | MPU 6050 |
Reliability | High | High |
Scope | 30 kΩ to 70 kΩ | ±250, ±500, ±1000, ±2000 °/seg |
Consumption | — | Low |
Operating temperature range | −35 °C to 80 °C | −40 °C to +85 °C |
Classification Metrics | SVM | Decision Tree | k-NN | Deep Learning |
---|---|---|---|---|
Precision | 0.67 | 0.62 | 0.67 | 0.70 |
Recall | 0.66 | 0.61 | 0.66 | 0.59 |
F1-Score | 0.65 | 0.62 | 0.66 | 0.60 |
Classification Metrics | SVM | Decision Tree | k-NN | Deep Learning |
---|---|---|---|---|
Precision | 0.73 | 0.72 | 0.81 | 0.79 |
Recall | 0.72 | 0.73 | 0.81 | 0.77 |
F1-Score | 0.73 | 0.71 | 0.81 | 0.76 |
Classification Metrics | SVM | Decision Tree | k-NN | Deep Learning |
---|---|---|---|---|
Precision | 0.80 | 0.79 | 0.82 | 0.83 |
Recall | 0.76 | 0.77 | 0.80 | 0.82 |
F1-Score | 0.77 | 0.77 | 0.82 | 0.81 |
Layer (Type) | Output Shape | Num. of Parameters |
---|---|---|
Input (Dense) | (None, 60) | 240 |
Layer 1 (Dense) | (None, 80) | 4880 |
Layer 2 (Dense) | (None, 40) | 3240 |
Output (Dense) | (None, 3) | 123 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2023 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Arciniega-Rocha, R.P.; Erazo-Chamorro, V.C.; Rosero-Montalvo, P.D.; Szabó, G. Smart Wearable to Prevent Injuries in Amateur Athletes in Squats Exercise by Using Lightweight Machine Learning Model. Information 2023, 14, 402. https://doi.org/10.3390/info14070402
Arciniega-Rocha RP, Erazo-Chamorro VC, Rosero-Montalvo PD, Szabó G. Smart Wearable to Prevent Injuries in Amateur Athletes in Squats Exercise by Using Lightweight Machine Learning Model. Information. 2023; 14(7):402. https://doi.org/10.3390/info14070402
Chicago/Turabian StyleArciniega-Rocha, Ricardo P., Vanessa C. Erazo-Chamorro, Paúl D. Rosero-Montalvo, and Gyula Szabó. 2023. "Smart Wearable to Prevent Injuries in Amateur Athletes in Squats Exercise by Using Lightweight Machine Learning Model" Information 14, no. 7: 402. https://doi.org/10.3390/info14070402
APA StyleArciniega-Rocha, R. P., Erazo-Chamorro, V. C., Rosero-Montalvo, P. D., & Szabó, G. (2023). Smart Wearable to Prevent Injuries in Amateur Athletes in Squats Exercise by Using Lightweight Machine Learning Model. Information, 14(7), 402. https://doi.org/10.3390/info14070402