Next Article in Journal
Optimization Design and Flexible Detection Method of Wall-Climbing Robot System with Multiple Sensors Integration for Magnetic Particle Testing
Next Article in Special Issue
Evaluation of Inertial Sensor Data by a Comparison with Optical Motion Capture Data of Guitar Strumming Gestures
Previous Article in Journal
Recovering Depth from Still Images for Underwater Dehazing Using Deep Learning
Previous Article in Special Issue
An Instrumented Assessment of a Rhythmic Finger Task among Children with Motor Coordination Difficulties
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Artificial Neural Networks in Motion Analysis—Applications of Unsupervised and Heuristic Feature Selection Techniques

1
Institute of General Mechanics, RWTH Aachen University, 52062 Aachen, Germany
2
Institute of Biomechanics and Orthopaedics, German Sport University Cologne, 50441 Cologne, Germany
*
Author to whom correspondence should be addressed.
Sensors 2020, 20(16), 4581; https://doi.org/10.3390/s20164581
Submission received: 13 July 2020 / Revised: 1 August 2020 / Accepted: 10 August 2020 / Published: 15 August 2020
(This article belongs to the Special Issue Wearable Sensors for Human Motion Analysis)

Abstract

:
The use of machine learning to estimate joint angles from inertial sensors is a promising approach to in-field motion analysis. In this context, the simplification of the measurements by using a small number of sensors is of great interest. Neural networks have the opportunity to estimate joint angles from a sparse dataset, which enables the reduction of sensors necessary for the determination of all three-dimensional lower limb joint angles. Additionally, the dimensions of the problem can be simplified using principal component analysis. Training a long short-term memory neural network on the prediction of 3D lower limb joint angles based on inertial data showed that three sensors placed on the pelvis and both shanks are sufficient. The application of principal component analysis to the data of five sensors did not reveal improved results. The use of longer motion sequences compared to time-normalised gait cycles seems to be advantageous for the prediction accuracy, which bridges the gap to real-time applications of long short-term memory neural networks in the future.

1. Introduction

The analysis of human motion is of great interest to many different applications: it can be used to identify injury risk or to increase performance during sports-related tasks [1], but also in many clinical applications [2,3]. In particular, with regard to daily life, wearable technology has shown its feasibility in both sports [4] and clinical applications [5]. Using these systems might help to prevent injuries or the onset of motion related diseases. For this purpose, easy-to-use feedback systems are necessary to inform the user of potential risks [6,7].
In order to realise such systems in daily life, a certain level of accuracy is required to provide adequate feedback. The level of accuracy is highly dependent on the application and therefore needs to be evaluated for each particular research question. Lebleu et al. [8] stated an error of less than 5° to be acceptable for clinical gait analysis, but the errors reported using IMU systems to range between 5 and 18.8°. These inaccuracies regarding the determination of joint angles can be related to a drift of the signals over time, perturbations in the magnetometer readings and the calibration procedure necessary to align the sensor to the segment to set up the anatomical model [8,9,10,11].
To overcome these limitations, different approaches have been suggested. Besides manually aligning sensor and segment axes, functional calibration movements can be used for the alignment. The manual alignment assumes the segment and sensor axes to be parallel. For the functional calibration, the user needs to be able to execute the required position of movement. Expert knowledge is necessary for both methods to ensure a meaningful and repeatable calibration [8,12]. Lebleu et al. [8] achieved mean RMSE values for functional calibrations of 2.0 to 4.1°. Another approach is the exploitation of kinematic joint constraints to determine joint angles. This approach is for now limited to the determination of the 2D joint angles [13,14]. The use of machine learning, in particular, artificial neural networks, is gaining more and more relevance in biomechanical time-series estimation and has recently been reviewed by Gurchiek et al. [15]. They found hybrid approaches incorporating domain knowledge by feature selection into the model to be helpful for accurate predictions. Different approaches were used to automatically derive the most relevant information from the data and reduce redundancy: an exhaustive greedy algorithm [16] has been used to find the most relevant features to predict the centre of pressure trajectory [17] or the 3D ground reaction force using pressure insoles [18]. The correlation between different inputs has been determined to exclude highly correlated input features from 3D segment angles for the prediction of the knee adduction moment [19]. Ardestani et al. [20] performed a Fisher discriminant analysis to recognise relevant EMG signals and a partial correlation-kernel mutual information technique to select independent marker trajectories for the prediction of the knee contact force. Principal component analysis (PCA) was regularly used to reduce the number of features in EMG signals for the prediction of joint kinematics [21,22] or muscle force [23]. However, Chen et al. [24] presented deep belief networks to outperform PCA for feature selection in EMG signals. Oh et al. [25] used a self-organising map first to exclude highly correlated features from marker trajectories, and subsequently, a general regression neural network to find those inputs that were highly correlated to the outputs to finally predict the ground reaction force. To estimate running kinematics, Gholami et al. [26] used a forward sequential algorithm and a genetic algorithm to determine the best input features from strain data. Ziai and Menon [27] heuristically reduced the input parameters for the prediction of joint moments from EMG data and compared the results. They found an increased error for a reduced number of input channels. For the application of inertial sensors, the number and placement of sensors used was in general based on a priori decisions [28,29,30,31,32,33,34]. Shahabpoor et al. [35] used correlation techniques to find the optimum inertial sensor positions for the prediction of the ground reaction force. They achieved the highest accuracy using one sensor at the L5 vertebra and two sensors on the thighs.
However, none of the aforementioned studies analysed the influence of feature selection on the prediction by comparing the results to those without feature selection. The minimisation of the number of sensors necessary for getting accurate predictions is of high relevance because it simplifies the application during daily life and reduces the costs of wearable systems. Additionally, the use of fewer sensors will reduce the risk of misalignment. Errors in the sensors’ rotation especially cause inaccurate results [36]. For that reason, this study aimed to analyse which combination of sensors is favourable for the prediction of the 3D lower limb joint angles. Additionally, PCA was applied to the data. Thereby, the number of input features was reduced further while accounting for orientation errors. Since the amounts of inertial sensor data and the simultaneously measured marker-based data were limited, inertial sensor data were simulated based on optical motion capture data to enlarge the database. The validity of simulated data was presented and evaluated previously. The accuracy was r p e l v i s = 0.95 ± 0.08 , r r i g h t t h i g h = 0.88 ± 0.12 , r l e f t t h i g h = 0.91 ± 0.08 , r r i g h t s h a n k = 0.91 ± 0.11 , r l e f t s h a n k = 0.92 ± 0.10 [12]. Long short-term memory (LSTM) neural networks were trained on the different input data. We hypothesised that the use of three instead of five sensors placed on the pelvis and lower limbs would not decrease the prediction accuracy of the neural network significantly and that the application of a PCA would have a regularising effect on the network. This might encourage the use of less sensors and help to account for problems with regard to random orientation errors.
In the following Materials and Methods section an overview on the dataset is given, followed by a brief description of feature selection, LSTM neural networks and the data analysis performed. In the Results section, an overview of the contributions of single components to the principal component analysis is given, as is the prediction accuracy. Subsequently, the results are discussed, limitations are identified and a final conclusion is drawn.

2. Materials and Methods

An overview of the workflow is displayed in Figure 1 and detailed descriptions of each step are given in the following sections.

2.1. Data Set

The dataset used for this study pools data of different studies [10,12,37,38]. All data were collected at the German Sport University Cologne. The studies were approved by the Ethical Committee of the German Sport University Cologne and all participants provided their informed written consent. The dataset comprised 115 participants (50 females, 37.0 (18–75) years). A number of 24 participants underwent knee arthroplasty 1.8 ± 0.4 years post-surgery prior to gait analysis. Each participant executed level walking trials at self-selected speeds ranging from 0.8 to 2.0 m / s 1 . The motion was recorded using an optoelectronic motion capture system (VICONTM, MX F40, Oxford, UK, 100–125 Hz). The joint angles were calculated using a custom MATLAB script based on the recommendations of the International Society of Biomechanics [10,39]. The inertial sensor data—tri-axial linear acceleration and angular rate—were simulated as detailed in [12]. IMU data were simulated for the pelvis, both shanks and both thighs. The joint angles were calculated for the hip, knee and ankle joints of both legs in all three dimensions. For evaluation a five-fold cross-validation was performed. For this purpose, one fixed test set was split from the complete dataset, as were five different validation sets. The training set contained approximately 65% of the data, the validation set 15% and the test set 20%. The splits were undertaken randomly, ensuring that no overlapping between the sets occurred and no data of one participant were split between datasets (see Table 1).

2.2. Feature Selection

For feature selection, two different approaches have been performed. First, the number of (simulated) sensors was reduced manually. For this purpose four different LSTM neural networks were trained and their parameters were optimised for the best estimation of the joint angles:
  • 5 sensors: pelvis, right thigh, left thigh, right shank, left shank (PTS-net)
  • 3 sensors: pelvis, right thigh, left thigh (PT-net)
  • 3 sensors: pelvis, right shank, left shank (PS-net)
  • 1 sensor: pelvis (P-net).
Additionally, the dimensions of the PTS-net input data were reduced before optimising and training another LSTM network using the proper orthogonal decomposition (POD) [40,41]. The POD provides an optimal low-dimensional, uncorrelated description of a high-dimensional, correlated process (the gait dataset with n input vectors) using a set of l POD basis vectors. Hereby, the goal was to make the number of input vectors significantly smaller than the required number of POD basis vectors n ( l n ) so that a low-dimensional description of the high-dimensional complex systems could be possible. Without loss of generality, the transformation is expressed as:
x x ( l ) = i = 1 l Φ i q i = Φ q .
The problem is specified by the condition
E x x ( l ) 2 E x x ^ ( l ) 2 ,
where x is identified as a random vector, which is, in our case, the measured data at a certain time instant. Condition (2) ensures that the POD approximation using l basis vectors x ( l ) is always better than the approximation using any other possible basis x ^ ( l ) . This leads to the objective function for the mean square error ε that depends on the chosen number of basis vectors included
ε ( l ) 2 = E x x ( l ) 2 min
subject to the orthonormality condition
Φ i Φ j = δ i j , i , j = 1 . . . l .
The POD can be realised using the principal component analysis (PCA), the singular value decomposition and the Karhunen Loève decomposition. In this paper, we realise the POD using the PCA, which can be used to reduce a model with linear dependencies in the data [24]. In dynamical systems it is observed that indeed a surprisingly small number of POD basis vectors is sufficient for an accurate description of the full system [42]. In other words, the main features of the system can, generally, be described by a few degrees of freedom in a low-order subspace. Moreover, in this paper we must note that the first five principal components described about 95% of the variance of each sample. Hereby, the 30 features recorded from five IMU sensors were reduced to five features using PCA. Thereafter, sequences of these features of lengths varying from 100 to 1000 time steps constituted the inputs to the PCA-net.

2.3. Long Short-Term Memory Neural Network

A fully-connected feedforward neural network network layer l needs a large number of parameters W l and b l , because the shape of the weight tensor W l scales quadratically with the dimensions of the layers. For time series, wherein it is common practice to flatten the sequence axis when using fully-connected networks, this means that the time dependency of the data is taken away, increasing the number of inputs. For this reason, it becomes difficult to find the most relevant time-dependent patterns in the data, despite the large number of parameters [43].
To overcome this, alternative, recurrent networks have been developed for the prediction of time series data and the preservation of time dependencies (Figure 2). While fully-connected neural networks need consistent sequence lengths as inputs and outputs, recurrent neural networks can learn from arbitrary sequence lengths. They process only the preceding time steps and not the complete sequence (Figure 3). In contrast to fully-connected neural networks, they have time-delayed inner recursions and inner states that serve as memory. Unfortunately, the memory of RNNs suffers from exploding or vanishing gradients during the back-propagation, which leads to distinct errors during the learning process. For detailed information on this, see (Goodfellow et al. [43], pp. 396–399).
One specific recurrent neural network is the long short-term memory neural network, which was introduced to overcome the long-term dependency problem [44,45]. The difference between an LSTM and a standard recurrent neural network is the presence of gate layers the LSTM, which consist of four different layers that decide how to update the cell state for the next recursion. The gate layers ensure that relevant information from the past can be memorised and information only relevant for a short time can be dismissed. Three different gates are used to update the cell state and thereby calculate the activation for the next recursion (Figure 4) [43].
For each sensor combination one LSTM neural network was trained. To achieve the best results, the architecture and hyperparameters of each network were optimised for the underlying dataset using a hyperband search [46]. For the PT-net, PS-net and PCA-net, the architecture after the hyperparameter search was 512-1024, while for the PTS-net and P-net the best architecture was 256-256. For all networks, the optimal learning rate was 3e-4 and the dropout rate 0.4.

2.4. Data Analysis

The correlation of single sensor readings to the five principal components used for training the PCA-net was evaluated.
To compare the prediction accuracy, the root mean squared error (RMSE) and correlation coefficient between the predicted and target values for all 18 joint angles were calculated. Since the test dataset that was analysed was chosen to be similar for all five models, a repeated measures ANOVA was calculated on the RMSE values to find differences between the single models. In case of differences, a post-hoc paired t-test with Bonferroni correction was evaluated.

3. Results

3.1. Principle Component Analysis

The PCA was calculated individually for each sample to reduce the model’s complexity and reduce it to its main features. The first five principal components of each sample described 94.6% of the variance in the data—42.9% described by the first, 22.6% by the second, 14.6% by the third, 10.0% by the fourth and 4.5% by the fifth. The analysis of the PCA loadings (Figure 5) revealed larger correlations between the sensor readings and the first two PCA components than for the last three. The strongest correlations between the sensor readings and the first PCA component were found for the pelvis angular rate around the medio-lateral (z) axis (r = −0.716) and vertical (y) axis (r = 0.746), both thigh sensors’ vertical (y) axes (right r = 0.847, left r = 0.777) and both shank sensors’ medio-lateral (z) accelerations (right r = 0.749, left r = −0.896). Additionally, the angular rate of the left shank around the anterior-posterior (x) axis (r = −0.861) and medio-lateral (z) axis (r = −0.823) showed strong correlations. For the right shank the correlations were only moderate (anterior-posterior r = 0.588, medio-lateral r = −0.660). In general, the angular rate readings showed a stronger correlation with the PCA components than the acceleration.

3.2. Prediction Accuracy

All networks showed good accuracy with correlation coefficients larger than 0.8, indicating strong correlations, and RMSE values smaller than 3°. The mean prediction accuracy was lowest for the PCA-net ( r = 0.826 ± 0.066 , R M S E = 2.81 ± 0.66 ) and P-net ( r = 0.879 ± 0.050 , R M S E = 2.29 ± 0.62 ), while the other networks showed similar accuracies—the PS-net being most accurate (PTS-net r = 0.921 ± 0.039 , R M S E = 1.71 ± 0.55 , PT-net r = 0.918 ± 0.041 , R M S E = 1.78 ± 0.63 , PS-net r = 0.924 ± 0.038 , R M S E = 1.60 ± 0.57 ). Figure 6 and Figure 7 display single examples of the ground truth and predicted joint angles for the PCA-net and PS-net. In particular, in the sagittal plane, the agreement between the ground truth and predicted values is high, while it is distinctly lower in both other motion planes.
In Figure 8, the distributions of the correlation coefficients for all networks, motion planes, joints and the left and right side are depicted separately. The mean accuracy was similar for both sides. Hence, left and right were summarised for clarity in Table 2 and Table 3, which display the mean correlation coefficients and RMSE values. The prediction of the PCA-net showed a higher variance than the other networks. The sagittal joint angles were predicted with very high accuracy. Only the prediction of the ankle joint angle showed a lower accuracy using the PCA-net. In general, the deviations were larger for the prediction of the ankle joint angle than for the other joints. The variance in the prediction accuracy was higher in the non-sagittal motion planes than in the sagittal, main motion plane, although the mean correlation coefficient still indicated strong correlations for all angles besides the hip transverse plane. The largest RMSE values were found in the sagittal planes for the prediction using the PCA-net. For all other models, the RMSE was smaller in the sagittal plane than in the minor motion planes, not exceeding 3°, except for the prediction of the knee joint angle in the transverse plane using the P-net.
The repeated measures ANOVA showed differences between the RMSE values of the different networks ( p < 0.001 ). The post-hoc paired t-test with Bonferroni correction revealed significant differences ( p < 0.001 ) between all networks besides the PTS-net and PT-net.

4. Discussion

This study compared an unsupervised and a heuristic feature selection technique for the determination of joint angles during gait based on simulated inertial sensor data. As an unsupervised technique, PCA was chosen to reduce the input features from 30 sensor readings to five principle components. Regarding the heuristic approach, four different sensor combinations were investigated: (1) sensors placed on the pelvis, both thighs and both shanks, (2) sensors placed on the pelvis and both thighs, (3) sensors placed on the pelvis and both shanks and (4) a single sensor placed on the pelvis. With the heuristic approach a minimisation of the required physical number of sensors becomes possible, which improves the applicability of the system due to reduced costs and less effort for daily life usage. The PCA approach can reduce computational costs and can have an regularising effect by accounting for different sensor orientations.
The analysis of the RMSE values showed differences between all five networks trained besides the PTS-net and PT-net. The PS-net, i.e., the three-sensor configuration, outperformed the network reliant on all five sensors. This indicated that the use of five sensors is not necessary and underlines our initial statement that the use of five sensors is not advantageous over the use of three sensors only. These findings match the analysis of the PCA loadings (Figure 5). The strongest correlations between the sensor readings and the first five principle components could be found for the pelvis and shank sensors, while the correlation for the thigh sensors was lower. From a mechanical perspective, these results are not surprising. The pelvis sensor records the motion of the centre of mass—a common reference point in gait analysis. The shank sensors record the motion of the entire leg. The thigh sensor records the motion of only the upper leg with respect to the reference point. Hence, the combination of information on the pelvis and shank motion spans two of the three analysed joints, the hip and knee, while the information on the knee joint is not directly available from the thigh sensors. The use of only a single sensor placed at the pelvis revealed good results, especially with regard to the sagittal motion plane. For practical applications, wherein lower accuracy is acceptable in return for a simple measurement setup, the use of this single sensor might be a good compromise. Interestingly, the neural network trained on the first five principle components of the sensor data performed worst. As there was information taken away from the input data, no perfect accuracy could be expected, but as there was information of all 30 sensor readings in the data, we hypothesised the PCA-net would perform better than the neural networks based on less sensors. We assumed the PCA to have a regularising effect on the neural network. We could not find this in our results, but observed an increased variance in the accuracy over all joints and motion planes. This might be attributed to the application of a PCA on each sample instead of finding one set of principle components for all samples.
The prediction of the joint angles in the sagittal plane is generally very good for all networks, showing the smallest variance in the prediction accuracy. For the minor motion planes, the variance in prediction accuracy is increased, which might result in samples showing large errors (e.g., the knee frontal plane angle depicted in Figure 6). This can be attributed to the larger variance in these motion planes in general and the fact that smaller movements might be detected adequately by inertial sensors. If a sample shows a large deviation from the mean of the dataset, the prediction accuracy is decreased. By enlarging the dataset and the variance in the training data, the prediction accuracy might be improved.
This study was—to the authors’ knowledge—the first that used an LSTM neural network for the prediction of joint angles from data of complete motion sequences of arbitrary lengths instead of sequences that sdfd time-normalised to 100% stance phase or gait cycle. With this approach, preprocessing of the data needs less effort and the gap to real-time applications of neural networks becomes smaller. In a previous study based on the same dataset [12], we used a fully-connected feedforward neural network for the prediction of joint angles based on simulated IMU data for time-normalised gait phases. We achieved a mean correlation coefficient of r = 0.87 . The weakest correlation was found for the knee joint frontal plane angle. For the sagittal plane, all joint moments could be predicted with a correlation coefficient r > 0.95 . The mean RMSE value was 4.1°, not exceeding 6° [12]. In another study, we compared the use of a fully-connected feedforward network and an LSTM network on a smaller dataset with time-normalisation to gait cycles. The results of this study compared to those of the previous study are displayed in Table 4. The longer sequences seem to be advantageous for the prediction of the minor motion plane joint angles, but the sagittal plane correlation coefficients were slightly lower in the recent study. The RMSE was smaller compared to the previous study.
The use of machine learning for the prediction of motion kinematics based on raw IMU data is subject of current research. Hence, the comparison to other studies is difficult. Using kinematic constraints, Seel et al. [47] achieved RMSE values of 3.3° and 1.6° for the prediction of sagittal knee and ankle joint angles. These values are higher than those achieved in this study. Based on the common approach using Kalman Filters [48] for sensor fusion, accuracy in a similar range to this study could be achieved [49,50] using more sensors. Whether the achieved accuracy is sufficient is highly dependent on the application and needs to be carefully evaluated. As the accuracy is in the same range as the accuracy of commercial systems, the application of machine learning methods for this task should be considered, because it has the major advantage that the anatomical model—which most measurement deviations in inertial sensor-based joint angle calculations can be attributed to [10]—is intrinsically learned. Hence, no calibration movements, postures or very accurate sensor-to-segment alignment are necessary, if the training dataset is large enough and shows sufficient variance [12].
The major limitation of the current study was the use of simulated IMU data only. Further validation based on a measured IMU dataset should be undertaken in future work. Nevertheless, previous studies showed good agreement of simulated and measured data, and a comparable prediction accuracy of neural networks on both. Hence, we assume that the use of measured data resulted in a comparable level of accuracy [12,51,52].
In future work it might be worthwhile to investigate the use of sensors placed on the feet. Thereby, all three joints would be covered, which might improve the prediction accuracy. On the other hand, the additional degrees of freedom in this model could also limit its prediction accuracy. Additionally, the use of PCA for the data should be further evaluated. If the PCA could be performed online instead of during the preprocessing, the information of the complete dataset could be covered and lead to more general principal components which might improve the usability of this approach.

5. Conclusions

The use of machine learning to estimate joint angles from inertial sensors is a promising approach to in-field motion analysis. Since no distinct physical connection between the input and output data is necessary, neural networks have the opportunity to estimate joint angles from a sparse dataset. This enables the reduction of sensors necessary for the determination of all three-dimensional lower limb joint angles. The use of longer sequences of motion compared to time-normalised gait cycles seems to be advantageous for the prediction accuracy, which bridges the gap to real-time applications of LSTM networks in future work.

Author Contributions

Conceptualisation, M.M. and F.B.; methodology, M.M. and A.K.; software, M.M. and A.K.; validation, F.B., S.D. and B.M.; formal analysis, M.M. and S.D.; investigation, A.K. and S.D.; resources, B.M. and S.D.; data curation, M.M., S.D. and A.K.; writing—original draft preparation, M.M.; writing—review and editing, F.B. and A.K.; visualization, M.M.; supervision, B.M.; project administration, F.B.; All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Adesida, Y.; Papi, E.; McGregor, A.H. Exploring the role of wearable technology in sport kinematics and kinetics: A systematic review. Sensors 2019, 19, 1597. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  2. Kobsar, D.; Ferber, R. Wearable sensor data to track subject-specific movement patterns related to clinical outcomes using a machine learning approach. Sensors 2018, 18, 2828. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  3. Mannini, A.; Trojaniello, D.; Cereatti, A.; Sabatini, A.M. A machine learning framework for gait classification using inertial sensors: Application to elderly, post-stroke and huntington’s disease patients. Sensors 2016, 16, 134. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  4. Aroganam, G.; Manivannan, N.; Harrison, D. Review on Wearable Technology Sensors Used in Consumer Sport Applications. Sensors 2019, 19, 1983. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  5. Lindemann, U.; Zijlstra, W.; Aminian, K.; Chastin, S.F.; de Bruin, E.D.; Helbostad, J.L.; Bussmann, J.B. Recommendations for standardizing validation procedures assessing physical activity of older persons by monitoring body postures and movements. Sensors 2014, 14, 1267–1277. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  6. van den Noort, J.C.; Steenbrink, F.; Roeles, S.; Harlaar, J. Real-time visual feedback for gait retraining: Toward application in knee osteoarthritis. Med. Biol. Eng. Comput. 2015, 53, 275–286. [Google Scholar] [CrossRef] [PubMed]
  7. Bessone, V.; Höschele, N.; Schwirtz, A.; Seiberl, W.; Bessone, V. Validation of a new inertial measurement unit system based on different dynamic movements for future in-field applications applications. Sport. Biomech. 2019, 1–16. [Google Scholar] [CrossRef]
  8. Lebleu, J.; Gosseye, T.; Detrembleur, C.; Mahaudens, P.; Cartiaux, O.; Penta, M. Lower Limb Kinematics Using Inertial Sensors during Locomotion: Accuracy and Reproducibility of Joint Angle Calculations with Different. Sensors 2020, 20, 715. [Google Scholar] [CrossRef] [Green Version]
  9. Poitras, I.; Dupuis, F.; Bielmann, M.; Campeau-Lecours, A.; Mercier, C.; Bouyer, L.J.; Roy, J.S. Validity and reliability of wearable sensors for joint angle estimation: A systematic review. Sensors 2019, 19, 1555. [Google Scholar] [CrossRef] [Green Version]
  10. Mundt, M.; Thomsen, W.; David, S.; Dupré, T.; Bamer, F.; Potthast, W.; Markert, B. Assessment of the measurement accuracy of inertial sensors during different tasks of daily living. J. Biomech. 2019, 84, 81–86. [Google Scholar] [CrossRef]
  11. Seel, T.; Ruppin, S. Eliminating the Effect of Magnetic Disturbances on the Inclination Estimates of Inertial Sensors. IFAC-PapersOnLine 2017, 50, 8798–8803. [Google Scholar] [CrossRef]
  12. Mundt, M.; Koeppe, A.; David, S.; Witter, T.; Bamer, F.; Potthast, W.; Markert, B. Estimation of Gait Mechanics Based on Simulated and Measured IMU Data Using an Artificial Neural Network. Front. Bioeng. Biotechnol. 2020, 8. [Google Scholar] [CrossRef] [PubMed]
  13. Laidig, D.; Lehmann, D.; Begin, M.A.; Seel, T. Magnetometer-free Realtime Inertial Motion Tracking by Exploitation of Kinematic Constraints in 2-DoF Joints. In Proceedings of the 41st Annual International Conference of the IEEE Engineering in Medicine & Biology Society (EMBC), Berlin, Germany, 23–27 July 2019; pp. 1233–1238. [Google Scholar] [CrossRef]
  14. Nowka, D.; Kok, M.; Seel, T. On motions that allow for identification of hinge joint axes from kinematic constraints and 6D IMU data. In Proceedings of the 2019 18th European Control Conference, ECC 2019, Naples, Italy, 25–28 June 2019; pp. 4325–4331. [Google Scholar] [CrossRef] [Green Version]
  15. Gurchiek, R.D.; Cheney, N.; Mcginnis, R.S. Estimating Biomechanical Time-Series with Wearable Sensors: A Systematic Review of Machine Learning Techniques. Sensors 2019, 19, 1–24. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  16. Zhang, T. Adaptive Forward-Backward Greedy Algorithm for Learning Sparse Represenations. IEEE Trans. Inf. Theory 2011, 57, 4689–4708. [Google Scholar] [CrossRef]
  17. Choi, A.; Jung, H.; Lee, K.Y.; Lee, S.; Mun, J.H. Machine learning approach to predict center of pressure trajectories in a complete gait cycle: A feedforward neural network vs. LSTM network. Med. Biol. Eng. Comput. 2019. [Google Scholar] [CrossRef] [PubMed]
  18. Joo, S.B.; Oh, S.E.; Mun, J.H. Improving the ground reaction force prediction accuracy using one-axis plantar pressure: Expansion of input variable for neural network. J. Biomech. 2016, 49, 3153–3161. [Google Scholar] [CrossRef] [PubMed]
  19. Aljaaf, A.J.; Hussain, A.J.; Fergus, P.; Przybyla, A.; Barton, G.J. Evaluation of machine learning methods to predict knee loading from the movement of body segments. In Proceedings of the International Joint Conference on Neural Networks, Vancouver, BC, Canada, 24–29 July 2016. [Google Scholar] [CrossRef]
  20. Ardestani, M.M.; Chen, Z.; Wang, L.; Lian, Q.; Liu, Y.; He, J.; Li, D.; Jin, Z. Feed forward artificial neural network to predict contact force at medial knee joint: Application to gait modification. Neurocomputing 2014, 139, 114–129. [Google Scholar] [CrossRef]
  21. Kapelner, T.; Vujaklija, I.; Jiang, N.; Negro, F.; Aszmann, O.C.; Principe, J.; Farina, D. Predicting wrist kinematics from motor unit discharge timings for the control of active prostheses. J. Neuroeng. Rehabil. 2019, 16, 1–11. [Google Scholar] [CrossRef]
  22. Zhang, Q.; Liu, R.; Chen, W.; Xiong, C. Simultaneous and continuous estimation of shoulder and elbow kinematics from surface EMG signals. Front. Neurosci. 2017, 11, 1–12. [Google Scholar] [CrossRef]
  23. Xu, L.; Chen, X.; Cao, S.; Zhang, X.; Chen, X. Feasibility study of advanced neural networks applied to sEMG-based force estimation. Sensors 2018, 18, 3226. [Google Scholar] [CrossRef] [Green Version]
  24. Chen, J.; Zhang, X.; Cheng, Y.; Xi, N. Surface EMG based continuous estimation of human lower limb joint angles by using deep belief networks. Biomed. Signal Process. Control 2018, 40, 335–342. [Google Scholar] [CrossRef]
  25. Oh, S.E.; Choi, A.; Mun, J.H. Prediction of ground reaction forces during gait based on kinematics and a neural network model. J. Biomech. 2013, 46, 2372–2380. [Google Scholar] [CrossRef] [PubMed]
  26. Gholami, M.; Rezaei, A.; Cuthbert, T.J.; Napier, C.; Menon, C. Lower body kinematics monitoring in running using fabric-based wearable sensors and deep convolutional neural networks. Sensors 2019, 19, 5325. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  27. Ziai, A.; Menon, C. Comparison of regression models for estimation of isometric wrist joint torques using surface electromyography. J. Neuroeng. Rehabil. 2011, 8, 1–12. [Google Scholar] [CrossRef] [Green Version]
  28. Wouda, F.J.; Giuberti, M.; Rudigkeit, N.; van Beijnum, B.J.F.; Poel, M.; Veltink, P. Time Coherent Full-Body Poses Estimated Using Only Five Inertial Sensors: Deep versus Shallow Learning. Sensors 2019, 19, 3716. [Google Scholar] [CrossRef] [Green Version]
  29. Mundt, M.; Thomsen, W.; Witter, T.; Koeppe, A.; David, S.; Bamer, F.; Potthast, W.; Markert, B. Prediction of lower limb joint angles and moments during gait using artificial neural networks. Med Biol. Eng. Comput. 2020, 58, 211–225. [Google Scholar] [CrossRef]
  30. Findlow, A.H.; Goulermas, J.Y.; Nester, C.J.; Howard, D.; Kenney, L.P. Predicting lower limb joint kinematics using wearable motion sensors. Gait Posture 2008, 28, 120–126. [Google Scholar] [CrossRef]
  31. Stetter, B.J.; Ringhof, S.; Krafft, F.C.; Sell, S.; Stein, T. Estimation of Knee Joint Forces in Sport Movements Using Wearable Sensors and Machine Learning. Sensors 2019, 19, 3690. [Google Scholar] [CrossRef] [Green Version]
  32. Zago, M.; Sforza, C.; Dolci, C.; Tarabini, M.; Galli, M. Use of Machine Learning and Wearable Sensors to Predict Energetics and Kinematics of Cutting Maneuvers. Sensors 2019, 19, 3094. [Google Scholar] [CrossRef] [Green Version]
  33. Jie-han Ngoh, K.; Gouwanda, D.; Gopalai, A.A.; Yu, C. Estimation of vertical ground reaction force during running using neural network model and uniaxial accelerometer. J. Biomech. 2018, 76, 269–273. [Google Scholar] [CrossRef]
  34. Lim, H.; Kim, B.; Park, S. Prediction of Lower Limb Kinetics and Kinematics during Walking by a Single IMU on the Lower Back Using Machine Learning. Sensors 2020, 20, 130. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  35. Shahabpoor, E.; Pavic, A.; Brownjohn, J.M.W.; Billings, S.A.; Guo, L.Z.; Bocian, M. Real-life measurement of tri-axial walking ground reaction forces using optimal network of wearable inertial measurement units. IEEE Trans. Neural Syst. Rehabil. Eng. 2018, 26, 1243–1253. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  36. Tan, T.; Chiasson, D.P.; Hu, H.; Shull, P.B. Influence of IMU position and orientation placement errors on ground reaction force estimation. J. Biomech. 2019, 97. [Google Scholar] [CrossRef] [PubMed]
  37. Komnik, I.; Peters, M.; Funken, J.; David, S.; Weiss, S.; Potthast, W. Non-sagittal knee joint kinematics and kinetics during gait on level and sloped grounds with unicompartmental and total knee arthroplasty patients. PLoS ONE 2016, 11, e0168566. [Google Scholar] [CrossRef]
  38. Dupré, T.; Dietzsch, M.; Komnik, I.; Potthast, W.; David, S. Agreement of measured and calculated muscle activity during highly dynamic movements modelled with a spherical knee joint. J. Biomech. 2019, 84, 73–80. [Google Scholar] [CrossRef]
  39. Wu, G.; Siegler, S.; Allard, P.; Kirtley, C.; Leardini, A.; Rosenbaum, D.; Whittle, M.; D’Lima, D.D.; Cristofolini, L.; Witte, H.; et al. ISB recommendation on definitions of joint coordinate system of various joints for the reporting of human joint motion—Part I: Ankle, hip, and spine. J. Biomech. 2002, 35, 543–548. [Google Scholar] [CrossRef]
  40. Bamer, F.; Kazemi, A.A.; Bucher, C. A new model order reduction strategy adapted to nonlinear problems in earthquake engineering. Earthq. Eng. Struct. Dyn. 2017, 46, 537–559. [Google Scholar] [CrossRef] [Green Version]
  41. Bamer, F.; Markert, B. An efficient response identification strategy for nonlinear structures subject to nonstationary generated seismic excitations. Mech. Based Des. Struct. Mach. 2017, 45, 313–330. [Google Scholar] [CrossRef]
  42. Shirafkan, N.; Bamer, F.; Stoffel, M.; Markert, B. Quasistatic analysis of elastoplastic structures by the proper generalized decomposition in a space-time approach. Mech. Res. Commun. 2020, 104, 103500. [Google Scholar] [CrossRef]
  43. Goodfellow, I.; Bengio, Y.; Courville, A. Deep Learning; MIT Press: Cambridge, MA, USA, 2016; Available online: http://www.deeplearningbook.org (accessed on 15 August 2020).
  44. Hochreiter, S.; Schmidhuber, J. Long Short-Term Memory. Neural Comput. 1997, 9, 1735–1780. [Google Scholar] [CrossRef]
  45. Gers, F.A.; Schmidhuber, J.; Cummins, F. Learning to Forget: Continual Prediction with {LSTM}. In Proceedings of the 1999 Ninth International Conference on Artificial Neural Networks, ICANN’99, Edinburgh, UK, 7–10 September 1999; Volume 2471, pp. 850–855. [Google Scholar] [CrossRef]
  46. Li, L.; Jamieson, K.; DeSalvo, G.; Rostamizadeh, A.; Talwalkar, A. Hyperband: A novel bandit-based approach to hyperparameter optimization. J. Mach. Learn. Res. 2018, 18, 1–52. [Google Scholar]
  47. Seel, T.; Raisch, J.; Schauer, T. IMU-Based Joint Angle Measurement for Gait Analysis. Sensors 2014, 14, 6891–6909. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  48. Sabatini, A.M. Quaternion-Based Extended Kalman Filter for Determining Orientation by Inertial and Magnetic Sensing. IEEE Trans. Biomed. Eng. 2006, 53, 1346–1356. [Google Scholar] [CrossRef] [PubMed]
  49. Teufl, W.; Miezal, M.; Taetz, B.; Fröhlich, M.; Bleser, G. Validity, test-retest reliability and long-term stability of magnetometer free inertial sensor based 3D joint kinematics. Sensors 2018, 18, 1980. [Google Scholar] [CrossRef] [Green Version]
  50. Zihajehzadeh, S.; Park, E.J. A Novel Biomechanical Model-Aided IMU/UWB Fusion for Magnetometer-Free Lower Body Motion Capture. IEEE Trans. Syst. Man Cybern. Syst. 2017, 47, 927–938. [Google Scholar] [CrossRef]
  51. Zimmermann, T.; Taetz, B.; Bleser, G. IMU-to-segment assignment and orientation alignment for the lower body using deep learning. Sensors 2018, 18, 302. [Google Scholar] [CrossRef] [Green Version]
  52. Brunner, T.; Lauffenburger, J.P.; Changey, S.; Basset, M. Magnetometer-augmented IMU simulator: In-depth elaboration. Sensors 2015, 15, 5293–5310. [Google Scholar] [CrossRef]
Figure 1. Scheme of the workflow. The marker trajectories of gait trials, saved as .c3d files, were used to calculated inertial sensor data and the joint angles of the lower limbs. The inertial data were divided into five subsets and used as input to train long short-term memory neural networks that were used to predict the joint angles. To adapt its weights and biases for the prediction, the network received the calculated joint angles as target values.
Figure 1. Scheme of the workflow. The marker trajectories of gait trials, saved as .c3d files, were used to calculated inertial sensor data and the joint angles of the lower limbs. The inertial data were divided into five subsets and used as input to train long short-term memory neural networks that were used to predict the joint angles. To adapt its weights and biases for the prediction, the network received the calculated joint angles as target values.
Sensors 20 04581 g001
Figure 2. A standard fully-connected feedforward neural network (a) and a recurrent neural network (b). The recurrent neural network is extended by an additional loop.
Figure 2. A standard fully-connected feedforward neural network (a) and a recurrent neural network (b). The recurrent neural network is extended by an additional loop.
Sensors 20 04581 g002
Figure 3. Unfolded view on a recurrent neural network. The neural network is extended by an additional loop which allows the use of previous information for the subsequent prediction.
Figure 3. Unfolded view on a recurrent neural network. The neural network is extended by an additional loop which allows the use of previous information for the subsequent prediction.
Sensors 20 04581 g003
Figure 4. Overview of an LSTM cell. In each cell, four different networks are trained (bottom line) to be able to memorise relevant information over long time. According to the information, the internal cell state c t and the activation a t are updated and used as further inputs during the next recurrence.
Figure 4. Overview of an LSTM cell. In each cell, four different networks are trained (bottom line) to be able to memorise relevant information over long time. According to the information, the internal cell state c t and the activation a t are updated and used as further inputs during the next recurrence.
Sensors 20 04581 g004
Figure 5. Correlation of each sensor’s reading ( a c c x , a c c y , a c c z , ω x , ω y , ω z ) with the first five PCA components. The correlation strength of the acceleration is, in general, less than that the correlation of the angular rate with the single components. The pelvis and shank sensors show stronger correlations with the PCA components than the thigh sensors.
Figure 5. Correlation of each sensor’s reading ( a c c x , a c c y , a c c z , ω x , ω y , ω z ) with the first five PCA components. The correlation strength of the acceleration is, in general, less than that the correlation of the angular rate with the single components. The pelvis and shank sensors show stronger correlations with the PCA components than the thigh sensors.
Sensors 20 04581 g005
Figure 6. A single example of the joint angle prediction using PCA-net. The joint angles predicted for the right are displayed on top of those predicted for the left. The sample depicts the one with the median RMSE value.
Figure 6. A single example of the joint angle prediction using PCA-net. The joint angles predicted for the right are displayed on top of those predicted for the left. The sample depicts the one with the median RMSE value.
Sensors 20 04581 g006
Figure 7. A single example of the joint angle prediction using PS-net. The joint angles predicted for the right are displayed on top of those predicted for the left. The sample depicts the one with the median RMSE value.
Figure 7. A single example of the joint angle prediction using PS-net. The joint angles predicted for the right are displayed on top of those predicted for the left. The sample depicts the one with the median RMSE value.
Sensors 20 04581 g007
Figure 8. Distribution of the correlation coefficient for the (Top) Hip, (Middle) Knee and (Bottom) Ankle joint angle prediction.
Figure 8. Distribution of the correlation coefficient for the (Top) Hip, (Middle) Knee and (Bottom) Ankle joint angle prediction.
Sensors 20 04581 g008
Table 1. Split of the dataset.
Table 1. Split of the dataset.
CVNo. of Training Subjects (Samples)No. of Validation Subjects (Samples)No. of Test Subjects (Samples)
173 (56,764)15 (14,398)27 (16,905)
270 (60,145)18 (11,017)27 (16,905)
371 (59,823)17 (11,339)27 (16,905)
473 (57,270)15 (13,892)27 (16,905)
573 (58,190)15 (12,972)27 (16,905)
Table 2. Mean (standard deviation) of the correlation coefficient for the five-fold cross-validation using the different input parameters. The joint angles predicted for the left and right have been summarised.
Table 2. Mean (standard deviation) of the correlation coefficient for the five-fold cross-validation using the different input parameters. The joint angles predicted for the left and right have been summarised.
PCA-NetPTS-NetPT-NetPS-NetP-Net
hipsagittal0.891 (0.047)0.985 (0.006)0.988 (0.007)0.989 (0.006)0.979 (0.010)
frontal0.747 (0.104)0.935 (0.034)0.938 (0.031)0.942 (0.032)0.908 (0.037)
transverse0.408 (0.229)0.677 (0.207)0.653 (0.190)0.646 (0.188)0.459 (0.238)
kneesagittal0.925 (0.032)0.992 (0.003)0.990 (0.004)0.993 (0.003)0.978 (0.007)
frontal0.934 (0.043)0.947 (0.036)0.940 (0.039)0.950 (0.032)0.928 (0.052)
transverse0.894 (0.072)0.929 (0.059)0.926 (0.057)0.936 (0.054)0.913 (0.063)
anklesagittal0.760 (0.088)0.927 (0.035)0.920 (0.040)0.937 (0.033)0.873 (0.050)
frontal0.941 (0.023)0.952 (0.041)0.956 (0.022)0.965 (0.018)0.938 (0.036)
transverse0.934 (0.036)0.947 (0.041)0.951 (0.029)0.958 (0.028)0.939 (0.033)
Table 3. Mean (standard deviation) of the RMSE for the five-fold cross-validation using the different input parameters. The joint angles predicted for the left and right have been summarised.
Table 3. Mean (standard deviation) of the RMSE for the five-fold cross-validation using the different input parameters. The joint angles predicted for the left and right have been summarised.
PCA-NetPTS-NetPT-NetPS-NetP-Net
hipsagittal4.11 (0.96)1.74 (0.54)1.70 (0.58)1.62 (0.55)2.31 (0.62)
frontal1.67 (0.38)0.95 (0.28)0.91 (0.28)0.87 (0.30)1.16 (0.26)
transverse2.77 (0.87)2.13 (0.86)2.13 (0.91)2.12 (0.92)2.72 (0.97)
kneesagittal4.60 (1.06)1.77 (0.38)1.98 (0.51)1.69 (0.44)2.97 (0.55)
frontal2.16 (0.71)1.58 (0.66)1.77 (0.82)1.54 (0.72)2.18 (0.85)
transverse3.49 (1.10)2.62 (1.06)2.85 (1.25)2.48 (1.09)3.36 (1.27)
anklesagittal2.49 (0.31)1.50 (0.36)1.58 (0.43)1.35 (0.37)2.01 (0.35)
frontal2.17 (0.56)1.71 (0.72)1.76 (0.72)1.51 (0.62)2.21 (0.72)
transverse1.79 (0.38)1.39 (0.47)1.39 (0.48)1.21 (0.41)1.68 (0.47)
Table 4. Results of the RMSE and the correlation coefficient r achieved in [29].
Table 4. Results of the RMSE and the correlation coefficient r achieved in [29].
FFNNLSTMPS-Net
RMSErRMSErRMSEr
sagittal1.310.9991.740.9971.620.989
hipfrontal1.250.9801.300.9650.870.942
transverse2.480.8642.700.8892.120.646
sagittal1.370.9971.920.9971.690.993
kneefrontal1.550.7931.920.6811.540.950
transverse1.740.9573.730.9452.480.936
sagittal1.560.9831.800.9831.350.937
anklefrontal1.310.8921.350.9121.510.965
transverse1.760.8912.140.9201.210.958

Share and Cite

MDPI and ACS Style

Mundt, M.; Koeppe, A.; Bamer, F.; David, S.; Markert, B. Artificial Neural Networks in Motion Analysis—Applications of Unsupervised and Heuristic Feature Selection Techniques. Sensors 2020, 20, 4581. https://doi.org/10.3390/s20164581

AMA Style

Mundt M, Koeppe A, Bamer F, David S, Markert B. Artificial Neural Networks in Motion Analysis—Applications of Unsupervised and Heuristic Feature Selection Techniques. Sensors. 2020; 20(16):4581. https://doi.org/10.3390/s20164581

Chicago/Turabian Style

Mundt, Marion, Arnd Koeppe, Franz Bamer, Sina David, and Bernd Markert. 2020. "Artificial Neural Networks in Motion Analysis—Applications of Unsupervised and Heuristic Feature Selection Techniques" Sensors 20, no. 16: 4581. https://doi.org/10.3390/s20164581

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