Next Article in Journal
Exploitation of Vulnerabilities: A Topic-Based Machine Learning Framework for Explaining and Predicting Exploitation
Next Article in Special Issue
Machinability of Titanium Grade 5 Alloy for Wire Electrical Discharge Machining Using a Hybrid Learning Algorithm
Previous Article in Journal
Justification vs. Transparency: Why and How Visual Explanations in a Scientific Literature Recommender System
Previous Article in Special Issue
Navigability, Walkability, and Perspicacity Associated with Canonical Ensembles of Walks in Finite Connected Undirected Graphs—Toward Information Graph Theory
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Smart Wearable to Prevent Injuries in Amateur Athletes in Squats Exercise by Using Lightweight Machine Learning Model

by
Ricardo P. Arciniega-Rocha
1,*,†,
Vanessa C. Erazo-Chamorro
1,†,
Paúl D. Rosero-Montalvo
2,*,† and
Gyula Szabó
1,†
1
Doctoral School on Safety and Security Sciences, Donát Bánki Faculty of Mechanical and Safety Engineering, Óbuda University, 1081 Budapest, Hungary
2
Computer Science Department, IT University of Copenhagen, 2300 Copenhagen, Denmark
*
Authors to whom correspondence should be addressed.
These authors contributed equally to this work.
Information 2023, 14(7), 402; https://doi.org/10.3390/info14070402
Submission received: 19 May 2023 / Revised: 26 June 2023 / Accepted: 3 July 2023 / Published: 14 July 2023
(This article belongs to the Special Issue Trends in Computational and Cognitive Engineering)

Abstract

:
An erroneous squat movement might cause different injuries in amateur athletes who are not experts in workout exercises. Even when personal trainers watch out for the athletes’ workout performance, light variations in ankles, knees, and lower back movements might not be recognized. Therefore, we present a smart wearable to alert athletes whether their squats performance is correct. We collect data from people experienced with workout exercises and from learners, supervising personal trainers in annotation of data. Then, we use data preprocessing techniques to reduce noisy samples and train Machine Learning models with a small memory footprint to be exported to microcontrollers to classify squats’ movements. As a result, the k-Nearest Neighbors algorithm with k = 5 achieves an 85% performance and weight of 40 KB of RAM.

1. Introduction

The training squat process aims to adequately strengthen the muscles around the knees and hip joints and fortify the lower back. Also, lifting loads from the ground could be an excellent exercise to activate muscles to be applied in different sports [1,2]. The normal range during knee flexion is between 90 and 130 degrees [3]. However, the risk of getting injured is high in the first few attempts until the athlete learns to perform the move adequately. This mostly occurs in amateur athletes, for whom exercising is not their primary job, who work out several days a week, mainly to be healthy [4]. Therefore, the common mistakes when learning to perform squats are: (i) starting by folding the knees, which puts pressure on the knee ligaments; (ii) allowing the knees to pass over the feet, since this might put more pressure on the lower back; (iii) the feet are unbalanced, which might affect knees and hips; (iv) allowing the knees to point outwards or inwards, which might affect ankles and hips; and (v) failing to reach at least 90 degrees when the knee is flexed [5]. As a result, these issues performing squats could be summarized by the following three main mistakes: knee abduction position, knee adduction position, and wrong angle flexion. Figure 1 shows the right and wrong knee positions for squats. Considering the identified mistakes during squatting, evidence suggests that misalignment in the knee joints can increase the risk of knee injuries, particularly to the ligaments and cartilage. The main health problems in the knee produced as a result of these issues include Anterior Cruciate Ligament (ACL) Injury, Medial Collateral Ligament (MCL) Injury, Meniscus Tear, Patellar Tendinitis, and Patellofemoral Pain Syndrome [6].
A good knee biomechanical technique during squats is based on the proper support of the feet, which should be separated to shoulder width with the toes facing forward [7]. Additionally, the knees should follow the direction of the feet and should not exceed the level of the toes’ tips to prevent internal rotation [8]. Conversely, squats may require weightlifting from the ground to maintain the same ergonomic posture as squats and avoid future illness. Figure 2 depicts the proper posture during the activity, beginning with separated legs and placing the feet at shoulder level, followed by knee flexion while maintaining a straight back posture (Figure 2 was purchased by the authors in https://sp.depositphotos.com/114062280/stock-photo-squats-on-his-chest.html (accessed on 25 November 2022) and modified by them to adapt it to the interests of the proposed research). In this scenario, training techniques for muscle conditioning and posture are required in the sports industry, where managers and athletes focus on improving the kinematics and kinetics of athletes [9]. Therefore, bio-mechanical analysis might also minimize athletes’ risks and possible future illnesses [10,11].
High-performance centres for athletes commonly use inertial measurement units (IMUs) to determine the flexion/extension angle of the knee joint, defining it as the angle between the upper and lower leg along the main axis of relative motion [12,13]. Furthermore, alternative technologies, such as cameras or Kinect, are helpful tools in sports. Unfortunately, they have specific requirements and traditional gyms do not provide the support needed, such as isolated environments and fixed locations without vibrations. For this reason, wearables are suitable solutions for designing individual scenarios in which several amateur athletes work simultaneously.
Following the trend of presenting individual solutions when people are working out necessitates that wearables make decisions locally to avoid bottlenecks in the communication channel and sharing unnecessary information that the wearable can handle itself. This decentralized computing architecture also provides a secure environment where the information stays safe on the device and specific information can only be shared with another device. Therefore, machine learning (ML) models allow patterns in data to be identified, and with current microcontrollers, the wearable can make inferences locally. Furthermore, each user could have a personal trainer on the device to alert them if their squat movement is incorrect, decreasing the chance of injury.
Based on the factors above, this research aims to develop a smart wearable to classify biomechanic movements when amateur athletes perform squats [14]. Therefore, the wearable comprises a microcontroller, battery, RF wireless communications, and sensors. The collected data were annotated by personal trainers to train different machine learning (ML) models. Next, the models were tested to determine the most suitable solution based on computational metrics, such as memory consumption and execution time. Finally, the model was exported to the wearable to be tested in real-trial conditions and to check the device’s accuracy. In short, the main contributions of these works are presented as follows:
  • 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.
The rest of the paper is organized as follows: Section 2 shows the background section and related works. Section 3 presents the wearable electronic design. The ML workflow is presented in Section 4. The results are shown in Section 5. Lastly, Section 6 shows the conclusions and future works.

2. Related Works

Several studies have shown how the kinematics analysis might describe the knee, hip, and ankle movements when athletes perform squats. Russell et al. [15] presented a Preliminary Comparison of Front and Back Squat Exercises to determine the connection between knee extensor and lower back injuries during squats. The research demonstrated a similar demand for muscular activity in the muscles around the knee and the back muscles. Horan et al. [16] established a study for single-leg kinematics in a group of young people. It identified the reduction of movement with aging. Raisanen et al. [17] presented an evaluation of young athletes through Frontal Plane Knee Control. The research used two-dimensional video analysis and subjective visual assessment by a physiotherapist. For their part, Ajdaroski et al. [18] conducted an analysis of a device used to measure knee joint angles during movements. Their study validates the ability of commercially available inertial measurement units to measure knee joint angles in a dynamic test.
The wearable biosensors were studied by Teague et al., who presented a system used to monitor knee joints through Multimodal sensing. It is two-microcontroller-based, using multi-microphone joint acoustics and lower-rate electrical bioimpedance (EBI) for multimodal knee health monitoring [19]. In addition, Faisal et al. created a Knee Monitoring System with a Low-Cost Multi-Sensor-Based Smart Wearable to monitor and assess the knee joint and mobility through motion, temperature, pressure, and galvanic skin response sensors to evaluate knee joints during different sports activities [20]. Following this field, an Automatic Classification of Squat Posture Using Inertial Sensors was presented by Lee et al., in which using conventional machine learning and deep learning were compared with the results obtained by an IMU to measure the kinematics of the knee [21].
Even though the works mentioned above provide evaluation systems for squat analysis, they also indicate the reason that squat analysis remains an open problem due to the need to create devices capable of evaluating and making decisions with the received data from sensors to save computational resources and reduce the volume of data transmission.

3. Wearable Design

The design of the wearable is illustrated in this section to describe all systems and components. The wearable is designed to be composed of three main stages: (i) system requirements, (ii) sensor selection, and (iii) electronic diagram connection. The design of the developed device involves the use of several stages, as described in Figure 3.

3.1. Human Subject Data Analysis

Good human subject analysis data for amateur athletes during squats can provide valuable insights into performance, injury prevention, individualized training, performance optimization, and motivation. It allows coaches, trainers, and athletes to make educated decisions and take specific actions to improve athletic performance.
The femorotibial joint has flexion and extension movements of the knee, with an external rotation during flexion and internal rotation during extension. The activation of the quadriceps and hamstrings will be determined by the degree of knee flexion, with 90-degree flexion activating the quadriceps the most [10].
The V-method based on IEEE Standard 29148 is used for strategic device requirements selection, which focuses on stakeholders’ utility and validation stages for system definition [22]. Figure 4 shows the steps in human data processing and the necessary stages for system implementation and evaluation, comparing the input parameters and system performance evaluated under expert supervision [23].
The V-model allows the system to collect the data used for human subject analysis data to provide helpful information about inexperienced athletes’ results throughout practice sessions. It enables coaches and trainers to evaluate athletes’ speed, agility, strength, endurance, and technique performance. It can help sports people identify potential injury risks and analyze movement patterns, biomechanics, and load distribution. The parametrical set can provide individualized information that can be used to optimize training programs to maximize performance gains, improve training efficiency, and measure athletes’ progress and performance.

3.2. System Requirements

The main goal in product design is always to reduce the cost and make a trusted device to fulfil the requirements of the project. In this way, Table 1 shows the functionality and user requirements based on the IEEE 29148 standard [22].

3.3. Sensor Selection

For correct system functionality, the system could collect data for the knee to determine if the knee exceeds the tip of the foot or if it has a deviation of the knee (abduction or adduction) when performing the exercise. It might also identify the internal flexion angle. A benchmark test determines the correct sensor, compares the characteristics, and chooses the feasible sensor for applications. Table 2 shows the features of the flexible sensor, the Flex Sensor 4.5 manufactured and distributed from the USA by ALSROB, which meets the requirements and allows conversion of the data with a response of 30 kΩ to 70 kΩ in a range of 0 to 130 flexion degrees. Besides, the sensor MPU 6050 is used to determine the knee position, which allows the measures from the accelerometer and gyroscope to be used together.
The evaluation of the knee position is based on two parameters. The first one is the position of the knee concerning the tip of the foot (X-axis data from the sensor), and the second is the opening that is generated between the knees during the squat exercise (Y-axis data from the sensor); that is, abduction and adduction. The system uses a gyroscope MPU6050 sensor manufactured and distributed from China by WWZMDiB, to determine the orientation with gravity. It is connected to the microcontroller for data processing and decision-making. The MPU 6050 module is connected to the microcontroller’s I2C module. The Flex sensor is a variable resistor that needs an analogue-to-digital converter to process the incoming data. Based on the principle proved by many previous researchers, which is established as the primary learning method in the brain and is based on symmetric bilateral movements and mirror-symmetric movements with homologous muscles activated simultaneously, it was determined to use the device on one knee at a time to ensure a cognitive ergonomy [14,24,25].

3.4. Sensor Calibration

It is necessary to obtain values according to how the sensor is bent to convert the voltage received from the Flex sensor to angles. Equation (1) shows the voltage divider to identify light voltage variations to be converted into degrees.
V o u t = V i n . R 1 R 1 + R 2
where:
  • Vout = Voltage given by the sensor.
  • Vin = Voltage Given by the source.
  • R1 = Static resistance.
  • R2 = Sensor variable resistance.
For the MPU-6050 sensor, the elimination of zero error is needed to determine the proper sensor calibration, and this process helps to determine the position at which the sensor is leveled. To solve this issue, one script was developed by Luis Rodenas et al. [26]. It calibrates the sensor uploading to the accel–gyro module and sets the flat and level positions. After initial calibration, the algorithm obtains the data and evaluates them for a few hundred readings, removing zero errors before starting the trial. The data evaluated from MPU-6050 compare the “Y” axis to determine the femorotibial angle and leg opening, as well as the value in the “X” axis to determine the reference between knee and tiptoe.

3.5. Voltage Source Supply

The system is placed on a knee pad and adequately covered to reduce any possibility of contact with the athlete’s body. When the device is turned on, the complete system is running and communicating with the computer. Based on the specified requirements in the technical reports of each component, the total power is calculated using Equation (2).
I T = i = 1 n I e i
where:
  • IT = total power supply.
  • I e i = Power needed for each component.
In order to complete a proper functioning system state, theoretical consumption requirements of the circuit components are considered. In this context, at a regulated level of 5 V, the power needed is: 40 mA for the microcontroller, the Flex sensor Flex needs 5 mA, the MPU6050 3.6 mA, nRF24L01 11.3 mA, and the buzzer 18 mA. As a result, the wearable needs at least 157.9 mA, supplied with 9 V of LiPo battery manufactured and distributed from China by Tenergy.

3.6. Wearable Device

The wearable knee pad provides a small space to implement the electronic device. Figure 5 shows the device architecture, considering the system as a total block and sending the data to the computer. The wearable consists of two small cases to protect the electronic components. In the frontal part, at the upper location, the controller system and voltage source are located and covered by the first case, which is fixed with a flexible band to the knee pad. The second flexible band is located in the lower part with the other case to fix the MPU 6050 sensor. This sensor is connected through flexible conductors to the I2C bus. The Sensor Flex 4.5 is positioned at the rear part, which is connected to the analogue input A0 and the voltage source of the controller.

4. ML Workflow

Given that the electronic design was presented in the previous section, the data obtained need to be processed. This process starts with the use of preprocessing techniques like condensed nearest neighbour (CNN) and outlier detection models to remove noisy samples. Then, personal trainers annotate data to provide labels to the classifier. Furthermore, deep learning techniques with neural network models are also deployed to evaluate their performance.

4.1. Original Samples

The designed wearable was used in different fitness centres in which the Óbuda University has agreements to help amateur athletes, some of whom are part of the university. The data collection stage started with the selection of amateur athletes with experience performing squats. Then, the personal trainer evaluated each squat to annotate data. Conversely, the personal trainer supervised athletes without or lacking experience performing squats and recommended ways to improve the movement and avoiding injuries. As a result, the system could recognize two main common mistakes: the abduction or adduction of the knees due to their repetition during the performance. These issues increase the chance of injury in the lower back and legs. Therefore, label 1 represents an adequate squat, and labels 2 and 3 represent abduction or adduction issues. As a result, 40 people (15 inexperienced and 25 experienced amateur athletes) were tested to create a balanced dataset with 1200 samples.

4.2. Data Preprocessing

The electronic device detects when the accelerometer is descending; thus, it decides that the squat exercise has started. Then, it analyzes when the sensor is not descending anymore to recognize that the athlete is in the middle of the exercise. Next, it detects when the accelerometer ascends until the human finalizes the exercise. However, even when sensors are calibrated, some samples have errors and drift. These are called outliers, and they can affect the boundary decision of the ML models. Therefore, we selected two approaches to find and eliminate outliers [27]. The first approach is the prototype selection technique, where Condensed Nearest Neighbor (CNN) is an algorithm that retains the points closest to the decision’s limits edge points [28]. The second approach uses outlier detection models. Those models can detect data with a different distribution than the rest. This process is carried out through an unsupervised analysis, and the model decides which samples need to be deleted. One-Class SVM (OSVM) is an algorithm that captures the density of the majority class and classifies examples using the extremes of the density function as an outlier [29]. The selection of the above-mentioned models was made via literature review, which shows the most representative algorithms in sensor data.

4.3. Classification Algorithms

The classification approaches include: (i) distances: the k-Nearest Neighbor (k-NN) algorithm, which associates a new instance with the training base and assigns it to the closest group according to its distance. (ii) Following models: the support vector machine (SVM) algorithm with kernel functions that serve as a mechanism of the input information to the algorithm. With this, it can work with any data. (iii) Heuristics: the classification decision tree algorithm is used. This algorithm seeks to divide the classification space into zones so that the patterns that belong to each zone are assigned to one of the available classes, and (iv) deep learning to find patterns data with fully connected neural network architectures.

5. Results

This section shows the adequate ML models to be exported into the wearable with a small memory footprint and the final device tested in real-trial conditions.

5.1. ML Workflow

We trained the classification algorithms with the original samples to discover the general classification accuracy. Therefore, Table 3 shows the classification metrics of each classification algorithm. It is essential to mention that the dataset was split into the training and test set.
Then, the One-CSM algorithm is applied to the original samples, which prunes the dataset to 780 instances, representing 40% of outliers. Next, the ML models were trained again to obtain the classification metrics with this new dataset. Table 4 shows that it is evident that each classifier had better results with this pruned dataset.
The CNN algorithm also pruned the dataset significantly; in this case, the pruned dataset has 865 samples, representing over 30%. Furthermore, the classifier learned from this dataset much better and, in some cases, such as k-NN or the deep learning model, could recognize around 80% of good or incorrect squats. Table 5 shows the classification results.
Figure 6 shows in three dimensions how the preprocessing techniques prune the dataset.
With the classification results obtained, k-NN and neural network models were demonstrated to be suitable for detecting good/incorrect squats. Therefore, each model was fine-tuned by its hyperparameters to improve its results or reduce complexity. Then, the k-NN algorithm tested its number of neighbours and the type of distance between two points. As a result, the model’s accuracy is over 83% using the Minkowski metric and five neighbours. Conversely, the neural network model was more complicated to define the architecture suitable for reaching the highest classification score. Therefore, the architecture tested had two hidden layers, and the number of neurons was tested in several tests. As a result, Table 6 shows the neural network architecture with the highest classification score (82%).

5.2. Wearable Device

Once the device was used, we exported both models, CNN + k-NN and CNN + DP, to determine their performance in real-trial conditions. The CNN + k-NN model needs to store samples in the memory’s device, and the CNN and k-NN algorithms are deployed on the device. For its part, the DP model was quantized by using Tensorflow lite library to shirk the model and being able to run into the microcontroller. Then, both models were tested to identify their classification performance, memory footprint, and execution time. As a result, the CNN + k-NN model needs 40 Mbytes of RAM and takes 2.8 ms to predict the squat movement. Second, the CNN + DP model needs 1 MB of RAM and takes 12.2 ms, since its execution is more complex than the previous model. Lastly, in 50 real-trial experiments, both models perform similarly by recognizing the 90% good and incorrect squats, involving either adduction or abduction position. Therefore, we choose the CNN + k-NN model, since it is lightweight with fewer computational requirements.
The wearable is designed to work inside the wearable knee pad used in this research, as shown in Figure 7. Besides, the location of the sensors allows us to determine the position of the leg and how the activity is performed. In case of a bad ergonomic posture, the device produces a sonorous alarm to indicate to the users the need to recover a good posture. Additionally, the wearable recognizes the wrong position and sends the alarm flag to the computer for further visualization.

6. Conclusions and Future Works

This research aimed to develop a smart wearable to detect good and incorrect squats. This system can analyze and decide the correct knee position and flexion to identify bad postures and indicate to the athlete the need to correct the posture. Also, the device sends the data to a computer. In short, the conclusions are presented and described as follows:
  • 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.
In future works, we look forward to implementing an artificial vision to join with the existing design to implement a robust ML, and even use this device to supervise ergonomic postures for hands.

Author Contributions

R.P.A.-R.: original draft preparation, formal analysis, and software; V.C.E.-C.: data curation, original draft preparation, and investigation; P.D.R.-M.: methodology, writing—review and editing; G.S.: resources, project administration; supervision; writing—review and editing, and funding acquisition. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Informed Consent Statement

Institutional Review Board Statement: The study was conducted in accordance with the Declaration of Helsinki and approved by the Ethics Committee of Obuda University (protocol code: OE-DI-205,2023 approved on 28 November 2022).

Data Availability Statement

The data is unavailable due to privacy.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. 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]
  2. 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]
  3. 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]
  4. 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]
  5. 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]
  6. 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]
  7. 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]
  8. 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]
  9. 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]
  10. 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]
  11. 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]
  12. 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]
  13. 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]
  14. 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]
  15. 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]
  16. 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]
  17. 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]
  18. 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]
  19. 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]
  20. 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]
  21. 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]
  22. 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.
  23. 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]
  24. Swinnen, S.P. Intermanual coordination: From behavioural principles to neural-network interactions. Nat. Rev. Neurosci. 2002, 3, 348–359. [Google Scholar] [CrossRef]
  25. 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]
  26. 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).
  27. 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]
  28. 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]
  29. 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]
Figure 1. Ergonomic position in the movement. (A) Correct ergonomic knee position. (B) Knee abduction ergonomic position. (C) Knee adduction ergonomic position.
Figure 1. Ergonomic position in the movement. (A) Correct ergonomic knee position. (B) Knee abduction ergonomic position. (C) Knee adduction ergonomic position.
Information 14 00402 g001
Figure 2. Ergonomic position in squats. (A) Squat starting position. (B) Recommended squat depth and body ergonomic position.
Figure 2. Ergonomic position in squats. (A) Squat starting position. (B) Recommended squat depth and body ergonomic position.
Information 14 00402 g002
Figure 3. Developed electronic system scheme.
Figure 3. Developed electronic system scheme.
Information 14 00402 g003
Figure 4. Applied V-model for system design.
Figure 4. Applied V-model for system design.
Information 14 00402 g004
Figure 5. Wearable squat evaluation system arrangement. (A) Front view. Processor and MPU 6050 sensor location. (B) Back view. Sensor Flex 4.5 location.
Figure 5. Wearable squat evaluation system arrangement. (A) Front view. Processor and MPU 6050 sensor location. (B) Back view. Sensor Flex 4.5 location.
Information 14 00402 g005
Figure 6. Outlier detection analysis. Blue dots: correct exercise, red dots: abduction detection, green dots: adduction detection. X-axis: MPU6050, Y-axis: MPU6050, and Z-axis: Flex sensor. (A) Original samples. (B) One-SVM. (C) CNN.
Figure 6. Outlier detection analysis. Blue dots: correct exercise, red dots: abduction detection, green dots: adduction detection. X-axis: MPU6050, Y-axis: MPU6050, and Z-axis: Flex sensor. (A) Original samples. (B) One-SVM. (C) CNN.
Information 14 00402 g006
Figure 7. Electronic system tested in real-trial experiments.
Figure 7. Electronic system tested in real-trial experiments.
Information 14 00402 g007
Table 1. System Requirements.
Table 1. System Requirements.
Systems and Software Engineering—Requirements Engineering
RequirementsPriorityDescription
Ease of useHighDefining the needs and requirements of stakeholders
Error wrong posture system alarmHighDefine and perform activities related to security
The system must have a visualization interfaceHighDefine and perform activities related to understanding and documenting the relationship between the user and the system
The data analysis must be in real timeHighPerform activities related to classifying, reviewing and prioritizing the requirements
The system must have lightweightHighPerform activities related to requirements in the architecture definition
The system must measure the knee angleHighPerform activities related to requirements in the validation phase
The system must measure the deviation angleHighPerform activities related to requirements in the validation phase
The computational load must be as low as possibleMediumDefine and perform activities related to requirements in other technical processes
Table 2. Sensors characteristics.
Table 2. Sensors characteristics.
Sensors Technical Features
Requirements Flex 4.5 MPU 6050
ReliabilityHighHigh
Scope30 kΩ to 70 kΩ±250, ±500, ±1000, ±2000 °/seg
ConsumptionLow
Operating temperature range−35 °C to 80 °C−40 °C to +85 °C
Table 3. Original samples classification performance.
Table 3. Original samples classification performance.
Classification MetricsSVMDecision Treek-NNDeep Learning
Precision0.670.620.670.70
Recall0.660.610.660.59
F1-Score0.650.620.660.60
Table 4. Pruned dataset by One-SVM classification performance.
Table 4. Pruned dataset by One-SVM classification performance.
Classification MetricsSVMDecision Treek-NNDeep Learning
Precision0.730.720.810.79
Recall0.720.730.810.77
F1-Score0.730.710.810.76
Table 5. Pruned dataset by CNN classification performance.
Table 5. Pruned dataset by CNN classification performance.
Classification MetricsSVMDecision Treek-NNDeep Learning
Precision0.800.790.820.83
Recall0.760.770.800.82
F1-Score0.770.770.820.81
Table 6. Neural network architecture.
Table 6. Neural network architecture.
Layer (Type)Output ShapeNum. 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.

Share and Cite

MDPI and ACS Style

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

AMA Style

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 Style

Arciniega-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

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop