Next Article in Journal
An Energy Storage System’s Operational Management and Control Method Considering a Battery System
Next Article in Special Issue
People Walking Classification Using Automotive Radar
Previous Article in Journal
An Express Algorithm for Transient Electromagnetic Data Interpretation
Previous Article in Special Issue
Estimation of Knee Movement from Surface EMG Using Random Forest with Principal Component Analysis
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Recognition of Gait Phases with a Single Knee Electrogoniometer: A Deep Learning Approach

by
Francesco Di Nardo
*,
Christian Morbidoni
*,
Alessandro Cucchiarelli
and
Sandro Fioretti
Department of Information Engineering, Università Politecnica delle Marche, 60100 Ancona, Italy
*
Authors to whom correspondence should be addressed.
Electronics 2020, 9(2), 355; https://doi.org/10.3390/electronics9020355
Submission received: 27 January 2020 / Revised: 10 February 2020 / Accepted: 18 February 2020 / Published: 20 February 2020
(This article belongs to the Special Issue Recent Advances in Motion Analysis)

Abstract

:
Artificial neural networks were satisfactorily implemented for assessing gait events from different walking data. This study aims to propose a novel approach for recognizing gait phases and events, based on deep-learning analysis of only sagittal knee-joint angle measured by a single electrogoniometer per leg. Promising classification/prediction performances have been previously achieved by surface-EMG studies; thus, a further aim is to test if adding electrogoniometer data could improve classification performances of state-of-the-art methods. Gait data are measured in about 10,000 strides from 23 healthy adults, during ground walking. A multi-layer perceptron model is implemented, composed of three hidden layers and a one-dimensional output. Classification/prediction accuracy is tested vs. ground truth represented by foot–floor-contact signals, through samples acquired from subjects not seen during training phase. Average classification-accuracy of 90.6 ± 2.9% and mean absolute value (MAE) of 29.4 ± 13.7 and 99.5 ± 28.9 ms in assessing heel-strike and toe-off timing are achieved in unseen subjects. Improvement of classification-accuracy (four points) and reduction of MAE (at least 35%) are achieved when knee-angle data are used to enhance sEMG-data prediction. Comparison of the two approaches shows as the reduction of set-up complexity implies a worsening of mainly toe-off prediction. Thus, the present electrogoniometer approach is particularly suitable for the classification tasks where only heel-strike event is involved, such as stride recognition, stride-time computation, and identification of toe walking.

1. Introduction

Modifications of motor function associated to different environments or state of health are typically estimated and quantified by means of instrumental gait analysis. To this aim, particularly relevant seems to be the problem of recognizing at least the two main gait phases, namely stance and swing. Single-type sensors or a combination of multiple types of sensors, such as angular velocity, attitude, force, electromyography, and cameras are typically used for gait phase quantification [1,2,3,4,5]. Recent availability of technological advancements is allowing to limit the experimental complexity of gait-analysis set-up, providing a less expensive, less intrusive, and more comfortable estimation of gait data. Robust artificial intelligence techniques for managing a lot of biological data and signals coming from smart sensors such as inertial measurements units (IMU) are undoubtedly among the most used approaches to this aim [6,7,8,9,10,11,12,13,14]. Specifically, the problem of estimating temporal parameters of gait could take great advantage by the development of these new approaches. Frequently, the use of IMUs appears to be suitable for a smart assessment of walking parameters, such as gait-phase duration and timing of heel strike (time when the foot touches the ground) and toe off (time when the foot-toes clear the ground) [11]. Attempts based on artificial intelligence were also applied in a satisfactory way for the assessment of gait parameters during walking [6,7,9,10,12,13,14,15].
Machine/deep learning techniques are usually implemented for classification of biological signals [13,16]. The introduction of those methodologies has opened a novel perspective also for reducing the complexity of experimental set-up. Predicting gait events from sensors already used in smart gait protocols or in specific environments would avoid the addition of further sensors or systems for the direct measurement of temporal data, such as stereo-photogrammetry, foot-switch sensors, pressure mats, and IMUs [11,17,18,19]. This would be particularly suitable for specific fields, such as walking-aid devices (mainly exoskeletons) where sensors are already embedded in the system [10,20,21,22,23]. From this point of view, an interesting attempt has been performed by Liu et al. [10], who proposed a technique for the recognition of gait phases using only joint angular sensors of the exoskeleton robot, containing the position, velocity, acceleration, and further motion data; very promising results were achieved. In the same way, different studies attempted to provide a reliable classification of gait phases and an accurate prediction of heel strike (HS) and toe off (TO) from only surface electromyographic (sEMG) sensors [13,14,21,23,24,25]. Details about methodology and outcomes of these studies are reported in Section 2 (related works).
Following the line taken by the above-mentioned studies, the present work was designed to propose a novel approach for the binary classification of gait phases and the prediction of gait events, based only on deep-learning analysis of sagittal knee-joint angle measured by a single electrogoniometer. Although promising classification performances were achieved by sEMG-based methods [13,14,21,23,24,25], gold-standard approaches are not available in literature. Thus, in order to evaluate the robustness of the proposed approach, a direct comparison in the same population was also performed with the sEMG-based experiment [14], which achieves the best performance in HS and TO prediction among the approaches reported in literature (see Section 2). Moreover, another aim of the study is to test if the addition of electrogoniometer data could further improve the classification performance of this state-of-the-art method.

2. Related Works

The gold standard in gait segmentation is nowadays represented by foot pressure insoles or by footswitches [17,26,27,28], which allow a direct measurement of foot–floor contact. Otherwise, IMUs and EMG signals are employed as input to gait-phase identification algorithms [11,13,14,21,23]. Recently, data fusion of sensors is suggested as a further reliable approach [29,30]. Artificial intelligence techniques are also satisfactorily employed for the estimation of walking parameters [6,7,9,10,12,13,14,15]. To the best of our knowledge, no studies attempting to classify/predict gait events from only sagittal knee angles are reported in literature. For the purposes of the present work, sEMG signals are of particular interest, being measured in every gait protocol in order to characterize the neuro-muscular activity and neuro-motor disabilities and being acquired very often together with kinematic data, such as sagittal knee angles.
Not so many efforts are available in literature, providing classification of gait phases from only sEMG signals [13,14,21,23,24,25]. Most of these studies aim only at classifying gait phases, not providing estimation of gait events (HS and TO). Joshi et al. introduced a control system for a foot-knee exoskeleton based on hand-crafted features computed from eight EMG signals to feed the Bayesian information criteria (BIC) [21]. Linear discriminant analysis (LDA) was then implemented to extract eight gait phases. One single subject was recruited for this experiment. The achieved accuracy ranged from 50% to 80%, with the combination of the BIC and LDA stage. Ziegier et al. employed a support-vector-machine classifier to provide binary segmentation of gait phases, based on a new bilateral feature (weighted signal difference) from EMG signal acquired in seven muscle pairs [23]. Only two subjects were used to test the approach, walking on a treadmill at different speeds. The accuracy ranged from 81% to 96% (mean value around 91%); maximum classification accuracy was identified when training and testing sets were strides from the same subject (intra-subject accuracy). Meng et al. used a hidden Markov model and set of EMG-based features to identify five gait sub-phases during treadmill walking [24]. Even in this study one single subject was used to test the classification. The best-case accuracy was 91.1%. The present group of researchers was able to achieve a mean binary-classification accuracy of 95.2%, adopting a multi-layer perceptron (MLP) classifier to interpret EMG data [25]. To this aim, an intra-subject approach was used on twelve healthy volunteers.
As far as we know, only two papers reported outcomes not only on classification of stance and swing but also on identification of heel strike and toe-off timing from sEMG signals [13,14]. Both studies adopted an inter-subject approach, consisting in training neural networks with sEMG signals measured during different strides of a population of homogeneous subjects and then testing the classifier on brand new subjects. Nazmi at al. extracted time-frequency EMG-based features to feed a single hidden layer neural network [13]. Training set was composed of seven subjects walking on a treadmill and testing set included one single unlearned subject. Mean classification accuracy of 87.5% for learned subjects and 77% for unlearned ones were accomplished. Prediction outcomes, computed in unseen subjects, achieved a mean absolute error (MAE ± SD) of 35 ± 25 ms in assessing HS and 49 ± 15 ms in assessing TO. The present group of researchers faced the same assignment, trying to interpret the linear envelopes extracted from sEMG signals by means of a multi-layer-perceptron classifier [14]. The MLP network was trained with sEMG data acquired during walking of 22 subjects and then tested on a brand-new subject. The procedure was performed twenty-three times, each time using a different subject as test-set (23-fold cross-validation). This approach provided an average (over 23-fold) binary classification accuracy of 94.9% for learned subjects and 93.4% for unlearned ones. MAEs in the prediction of HS and TO were 21 ± 7 ms and 38 ± 15 ms, respectively. This latter approach [14] is adopted as a reference experiment for the present study since it achieved the best performance in phase classification and gait event prediction among the inter-subject approaches reported in literature.

3. Materials and Methods

3.1. Participants

Foot–floor-contact, knee-angle, and surface EMG signals were recorded from 23 healthy adults (11 males and 12 females). Average volunteer characteristics (±SD) were: height = 173 (±10) cm; mass = 63.3 (±12.4) kg; and age = 23.8 (±1.9) years. Subjects have never presented pathological condition or undergone orthopedic surgery that might have affected leg mechanics. Moreover, volunteers with joint pain, neurological pathologies, and abnormal gait were not recruited. Overweight and obese subjects (body mass index ≥ 25) were excluded from the study. The present research was undertaken following the ethical principles of the Helsinki Declaration and was approved by local ethical committee.

3.2. Signal Acquisition

Signal acquisition was achieved by means of the multichannel recording system Step32 (Medical Technology, Italy, Version PCI-32 ch2.0.1. DV; resolution: 12 bit; sampling rate: 2 kHz). Volunteers were instrumented with one knee electrogoniometer, three foot-switches, and four sEMG probes for each leg. Experimental set-up is depicted in Figure 1. Then, they walked for around 5 minutes with bare feet at self-selected pace following an eight-shaped path, which includes natural deceleration, reversing, curve, and acceleration. Experiments were performed in the Motion Analysis Laboratory of Università Politecnica delle Marche, Ancona, Italy. An electro-goniometer (accuracy: 0.5°) was applied to the lateral side of each leg for measuring knee-joint angle in the sagittal plane.
Foot-switches were applied under the heel, the first and the fifth metatarsal heads of each foot for measuring foot–floor-contact signal. sEMG signals were registered by means of three single-differential probes with fixed geometry placed over tibialis anterior (TA), gastrocnemius lateralis (GL), and medial hamstrings (MH) and one further single-differential probe (minimum inter-electrode distance: 12 mm) with variable geometry placed over vastus lateralis (VL). Electrode location and orientation were carried out under the supervision of a skilled licensed physical therapist, complying with SENIAM recommendations [31]. sEMG signals are exactly the same collected for the previous study of the present group of researchers [14]. Characteristics of foot-switches are: size = 11 × 11 × 0.5 mm and activation force = 3 N. Foot-switch signals are used to identify stance/swing phases and HS and TO events considered as ground-truth.

3.3. Signal Pre-Processing

Knee angles in the sagittal plane measured by electrogoniometers were low pass filtered with cut-off frequency of 15 Hz. Each signal was min-max normalized within each subject, thus mapping the values in the [0–1] interval. An example of normalized flexion-extension knee angle in a representative subject is reported in Figure 2. Footswitch signals were processed for identifying the different gait cycles and phases (stance and swing), according to the approach discussed in [26]. sEMG signals were amplified, high-pass filtered (linear-phase FIR filter, cut-off frequency: 20 Hz) and low-pass filtered (linear-phase FIR filter, cut-off frequency: 450 Hz) for removing motion artefacts and high frequency noise, respectively. After a full-wave rectification, a second-order Butterworth low-pass filter (cut-off frequency: 5 Hz) was applied to extract the envelope of the signal, following the classic indication provided by acknowledged studies by Hermens et al. and Winter et al. [31,32]. Winter proposed a cut-off frequency of 3 Hz, while Hermens suggested a cut-off frequency of 10 Hz. The cut-off frequency of 5 Hz adopted in the present paper seems to be a good compromise between the two approaches. Finally, each sEMG signal was min-max normalized within each subject and for each muscle.

3.4. Data Preparation

Classification performances were tested after two different approaches for feeding the classifier: giving only knee-angle signal (knee approach) or giving knee-angle and sEMG signals (KEMG approach) as input to train the classifier.

3.4.1. Knee Approach

For suitably training the classifier, each knee-angle signal was split into 20-sample windows (corresponding to 10 ms). A chronological sequence of 40-sample vectors was created, where each vector included the two synchronized 20-sample windows from two knee-angle signals (right and left leg). In details, the first sample of the first 40-sample vector of the sequence was the first sample of the knee angle measured in the right leg; the second sample of the first 40-sample vector was the first sample of the knee angle measured in the left leg.
Then, a specific label was assigned to each 40-sample window as follows: if the value of all the samples of the basographic signal corresponding to the 40-sample vector was 0 (or 1), a global label 0 (or 1) was assigned to the 40-sample vector. 40-sample vectors, including swing-to-stance or stance-to-swing transitions, were discarded. This approach including only knee-angle data to feed the neural network is referred to as ‘Knee approach’.

3.4.2. KEMG Approach

A similar approach was used when both knee angles and sEMG signals were used to train the network. Each signal (knee angle and sEMG) was split into 20-sample windows. A chronological sequence of 200-sample vectors was created, where each vector included the ten synchronized 20-sample windows from the sEMG signals of the eight muscles (four for each leg) and two knee-angle signals. In details, the first sample of the first 200-sample vector of the sequence was the first sample of the knee angle measured in the right leg; the second sample of the first 200-sample vector was the first sample of the EMG signal from the muscle 1 (TA, right leg), and so on up to the 10th signal (MH, left leg). Then a specific label was assigned to each 200-sample vector as follows: if the value of all the samples of the basographic signal corresponding to the 200-sample vector was 0 (or 1), a global label 0 (or 1) was assigned to the 200-sample vector. 200-sample vectors including swing-to-stance or stance-to-swing transitions were discarded. This approach including both Knee-angle and sEMG data to feed the neural network is referred to as KEMG approach.

3.4.3. Reference Approach

As reference experiment for direct comparison in the same population, a recent sEMG-based approach was used [14]. In this reference approach only sEMG signals were used to train the network. Similarly to the KEMG approach, each sEMG signal was split into 20-sample windows. A chronological sequence of 160-sample vectors was created, where each vector included the eight synchronized 20-sample windows from the sEMG signals of the eight muscles (four for each leg). In details, the first sample of the first 160-sample vector of the sequence was the first sample of the sEMG signal from the muscle 1 (TA, right leg), the second sample of the first 160-sample vector was the first sample of the EMG signal from the muscle 2 (GL, right leg), and so on up to the eighth signal (MH, left leg). Labeling was performed as in the previous approaches. This approach is referred to as the ‘Reference approach’. As reported in [14], this approach has been previously validated versus a feature-based method, described in [13].

3.5. Training the Classifier

The present approach is based on the attempt at training the neural network classifier by means of sEMG data from 22 subjects out of 23 subjects of the present population (Learned set, LS) and then classifying gait phases in the remaining unseen subject (Unlearned set, US), following the so-called leave-one-out cross validation procedure. To this aim, all the vectors were picked up from the signals of the 22 subjects and then provided as input to the neural network for the training phase. The vectors from the remaining single subject were used for the testing phase, considering the corresponding foot-switch signal as ground truth. The procedure was performed twenty-three times, each time using a different subject as test set (23 folds cross-validation). For measuring the classification performances also for learned subjects, the set was split into training set (LS-train) and test set (LS-test). In details, LS-train includes the first 90% of each subject strand (approximately 3 min and 30 s, 180 gait cycles) and LS-test the remaining 10% (approximately 30 s, 20 gait cycles). Results in each subject were provided as the classification results in a single fold. Population (global) results were provided as mean value (± SD) over the 23 folds.

3.6. Neural Network

Multi-layer perceptron (MLP) architecture was implemented in the present study. The model was a deep neural network with three hidden layers composed of 512, 256, and 128 neurons and a one-dimensional output. The output was fed to a sigmoid function and a 0.5 threshold was used to achieve a binary output: when the output of the sigmoid was > 0.5 the label 1 was assigned, otherwise the label 0 was assigned. Rectified linear units (ReLU) were implemented to provide non-linearity between two consecutive hidden layers. In the experiments, stochastic gradient descent was employed as the optimization algorithm and binary cross entropy as the loss function. Eventually, MLP model was trained adopting an early stop technique: the network was trained for a maximum of 100 epochs, stopping when the accuracy on the validation set did not increase for 10 consecutive epochs. The best-performing learned parameters were adopted to evaluate the model performances.

3.7. Gait-Event Identification

The foot–floor-contact signal was predicted by chronologically arranging the binary output of MLP network. A vector was provided as output, where sequences of 1 (swing phase) alternate with sequences of 0 (stance phase). Literature reported that stance and swing phase during healthy walking at typical speed last on average around 60% and 40% of gait cycle. Starting from this observation, the predicted foot–floor-contact signal was cleaned by removing the sequences of samples shorter than 500 samples (≈ 23% of gait cycle). Then, gait events were identified in the cleaned signal. Swing-to-stance transitions (heel strike, HS) were assessed as the sample when the sample value switched from 1 to 0. In the same way, stance-to-swing transitions (toe off, TO) were assessed as the sample when the sample value switched from 0 to 1. Performance of predictions was provided in terms of precision, recall, and F1-score.
A predicted HS or TO at time tp was acknowledged as true positive (TP) if an event of the same type occurs in the ground truth signal at time tg such that |tg - tp |< T. T is a temporal tolerance, set to 600 milliseconds. Otherwise, the predicted event was acknowledged as a false positive (FP). For all the true positives, mean absolute error (MAE) was computed as the average time distance between the predicted event and the corresponding one in ground truth signal.

3.8. Statistics

Shapiro–Wilk test was used to evaluate the hypothesis that each data vector had a normal distribution. Comparison between two normally distributed samples was performed with two-tailed, non-paired Student’s t-test. The analysis of variance (ANOVA), followed by multiple comparison test, was used to compare more than two normally distributed samples. Kruskal–Wallis test was used to compare not normally distributed samples. Statistical significance was set at 5%.

4. Results

Average classification accuracies in every fold for the Knee, KEMG, and Reference approaches are shown in Table 1 for the learned-test set (LS-test) and in Table 2 for unlearned set (US). Figure 3 depicts a direct comparison of accuracy provided in each fold by Knee (red bars) vs. KEMG approach (blue bars). The direct comparison between mean values (horizontal dashed lines) shows a significant improvement of 4 points (94.6 ± 2.3% vs. 90.6 ± 2.9%, p < 0.05) of the classification accuracy provided by KEMG approach, compared with Knee approach. Starting from stance vs. swing classification, the present study is able to predict also the signal of foot–floor contact and to estimate gait events. An example of predictions of foot–floor-contact signal provided by Knee vs KEMG approaches is depicted in Figure 4. Table 3 and Table 4 report the performance in US of HS and TO prediction in terms of mean absolute error (MAE), precision, recall, and F1-score. MAE detected in the prediction of HS provided by the Knee approach is significantly higher than MAE assessed by KEMG and Reference approaches (29.4 ± 13.7 ms vs. 18.8 ± 7.9 ms and 21.6 ± 7.0 ms; p < 0.05). Similarly, a significant higher MAE is observed in TO prediction provided by Knee approach (99.5 ± 28.9 ms vs. 35.9 ± 20.6 ms and 38.1 ± 14.2 ms; p < 0.05). No further significant differences were detected between groups.

5. Discussion

The goal of this study is to propose a novel approach for classifying stance vs. swing and assessing HS and TO timing, based on deep learning analysis of sagittal knee-angle data measured with a single electrogoniometer per each leg. This so-called Knee approach achieves average stance/swing-classification accuracy over 23 folds (± SD) of 90.9 ± 0.4% in LS-test and 90.6 ± 2.9% in US (last row of Table 1 and Table 2, respectively). A reduction of accuracy is detected, compared to Reference approach in both LS-test (3.9 points) and US (2.8 points). This reduction is expected, since only one signal per leg is used in Knee approach vs. the four signals per leg used in the Reference approach (more input information, better classification performance). Despite this, the average accuracy of stance/swing classification is still > 90% and falls in the range identified by the different machine-learning-based approaches (sEMG, angular sensors) reported in literature [10,13,21,23,24] (see Section 2). Moreover, the absence of any significant difference between classification accuracies in US vs. LS-test (p > 0.05) highlights that the network is able to keep the same performance even when tested on brand new subjects (US). Classification accuracy > 90% in US subjects is supposed to be very useful in clinical environments, where brand new subjects are analyzed every day. This outcome is associated also to a limited standard deviation, as in the Reference approach. As expected, SD is higher in US, indicating a large variability of classification for subjects not used during training phase.
Besides the suitable classification performance, a reliable post-processing of model output was implemented for gait-event estimation in US (see Section 3.7), ensuring values of prediction, recall, and F1-score very close to 1 (Table 3 and Table 4). These values are not statistically different from the correspondent values provided by the Reference approach. Furthermore, a mean MAE over population of 29.4 ± 13.7 ms and 99.5 ± 28.9 ms is achieved in predicting HS and TO (Table 3 and Table 4, respectively). Compared to Reference value, average MAE value in HS prediction is 7.8 ms higher. However, Knee approach performs better than the sEMG approach proposed in [13], which achieved a mean HS MAE of 35 ms. TO prediction is less accurate: mean MAE value of 99.5 ms vs. 38.1 ms (Reference value, Table 4). It has been reported that it is more challenging identifying toe-offs rather than heel-strikes [13,14,33]. Thus, higher MAE in TO prediction was expected. Liu et al. achieved high accuracy in classifying gait phases with joint-angular-sensor data [10]. However, despite not reporting detailed MAE for TO prediction, they detected the most relevant recognition errors just around the transition from stance to swing (i.e., TO). Differences in toe-off MAE compared to above-mentioned studies would be likely attributable to a different number of signals (and consequently of sensors) used in the different approaches: one single signal per leg in Knee method, two signals in [13], four signals in the Reference approach, and even more in [10]. Thus, the desirable simplification of experimental set-up (one single sensor) is paid with a deterioration of only TO (not HS) prediction. However, this could be a good compromise for general task such as stride recognition, stride-time computation, identification of toe walking, and so on, where only HS event is involved. Moreover, it should be taken into account that present performances are achieved in condition of high variability of foot–floor contact, due to the eight-shaped path followed during ground (not treadmill) walking which includes acceleration, deceleration, curves, and reversing. Larger variability of the signal to predict, indeed, is expected to affect the performance of the classifier.
As mentioned above, promising performances in classifying gait phases and predicting gait events are provided by studies proposing a machine learning analysis of only sEMG signals, [13,14,21,23,24]. All those studies present suitable and reliable outcomes, but, to our knowledge, the best results in terms of mean absolute value in the prediction of HS and TO are achieved in a recent study of the present group of studies [14]. The technique introduced by this study is adopted here as the Reference approach. The present study is further aimed to test if the addition of electrogoniometer data could improve the classification performance of this Reference approach. The approach including both knee-angle and sEMG data to feed the neural network is referred to as KEMG approach. Detailed accuracy values in the 23 folds for stance/swing classification accomplished in LS-test and US are shown in Table 1 and in Table 2, respectively. Comparison analysis (in Figure 3 for US) shows as KEMG approach (blue bars) achieves improved accuracy values in each one of the 23 folds, with respect to Knee approach (red bars), implying a significant increase (around 4 points for both LS-test and US, p < 0.05) of mean accuracy over 23 folds. Mean accuracies of KEMG approach outperform of around 1 point also the Reference approach: i.e., 95.6 ± 0.3% vs. 94.8 ± 0.2% in Learned set and 94.6 ± 2.3% vs. 93.4 ± 2.3% in Unlearned set. As for Knee and Reference approaches, KEMG provides values of prediction, recall, and F1-score very close to 1, in predicting HS and TO (Table 3 and Table 4). MAE values are significantly lower than the correspondent values provided by Knee approach (reduction of 36.1% for HS and 63.9% for TO, p < 0.05). It is worth noticing that also SD values decreased (from 13.7 to 7.9 for HS and from 28.9 to 20.6 for TO), suggesting an improved repeatability of prediction quality among different folds. A significant improvement of prediction error in KEMG is observed also compared to Reference approach, in terms of reduction of MAE (18.8 vs. 21.6 for HS and 35.9 vs. 38.1 for TO). These outcomes suggest that the introduction of knee-angle data could improve the performances of sEMG-based approaches, both in classification accuracy and in prediction error.
As introduced earlier, the clinically oriented aim of this work is trying to simplify the experimental set-up associated to instrumental gait analysis, assessing the signal of foot–floor contact from deep learning analysis of sagittal knee-angles measured by a single electrogoniometer. Gait analysis is acknowledged as a suitable procedure for quantitatively estimating the deterioration of motor function in clinics. The issue of cumbersome and time-consuming experimental protocols is getting increasingly relevant, particularly for evaluation in pathology. This is true for classical approaches based on foot-switch sensors, pressure mats, and stereo-photogrammetric systems, but also for the more recently-developed wearable sensors, which could need specific care for the suitable placement and necessity of precise calibration process, not always compatible with the clinical timetable. Thus, an approach based on a single, reliable, easy-to-attach sensor (electrogoniometer) is truly desirable: the fewer sensors are involved, the simpler is to protect patient comfort. Aforesaid studies seem to indicate that a large data-set of signals from many sensors is needed to classify gait phases and/or estimate gait events during normal or aided walking [10,13,14]. Outcomes achieved here suggest that it is strongly dependent on the task to pursue. If the aim is to classify stance vs. swing phase or to assess gait parameters where only HS event is involved (stride recognition, stride-time computation, identification of toe walking), the present Knee approach provides performances in line with what reported in literature, but with the clinical advantage of using one single simple sensor. When the aim is more complicated to pursue (gait sub-phase recognition, swing and stance time duration and so on) and/or more elevated performances are needed, approaches based on sensor fusion, as KEMG approach proposed here, are preferable. Thus, the main contribution of the present study consists in showing that for specific simple (but essential) tasks such as stride recognition, stride-time computation, and identification of toe walking, the single-sensor approach is able to provide classification performance comparable to those achieved by multi-sensor approaches. The information included in the present study would be particularly suitable for specific environments, such as the walking-aid devices or of portable rehabilitation system [34,35,36,37], where sensors could already be embedded in the system.

6. Conclusions

The present study proposes a novel methodology for classifying stance vs. swing and predicting gait-event timing, based on neural-network classification of signals acquired by a single knee electrogoniometer during walking. The clinically useful contribution of the study consists in assessing gait events from only sagittal knee-angle signals, avoiding the installation of additional sensors on the human body and promoting the reduction of the sensor-system complexity. Additional goal is to evaluate if the introduction of knee-angle data from the electrogoniometer could improve the classification performance of state-of-the-art sEMG-based methods, in order to provide a sensor-fusion approach useful to face more complex task or to pursue higher classification/prediction performances. The comparison of the two approaches shows as the reduction of set-up complexity implies a worsening of classification performances. However, the choice of the suitable approach should not only be driven by network performance but also (mainly) by patient comfort and clinical needs.

Author Contributions

Conceptualization, F.D.N., C.M., S.F., and A.C.; Methodology, F.D.N. and C.M.; Software, C.M.; Investigation, C.M. and F.D.N.; Validation, C.M.; Resources, S.F.; Data curation, F.D.N. and C.M.; Writing—original draft preparation, F.D.N.; Writing—review and editing, A.C. and S.F.; Visualization, F.D.N. and C.M.; Supervision, A.C. and S.F. 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. Pappas, I.P.I.; Popovic, M.R.; Keller, T.; Dietz, V.; Morari, M. A reliable gait phase detection system. IEEE Trans. Neural Syst. Rehabil. Eng. 2001, 9, 113–125. [Google Scholar] [CrossRef] [PubMed]
  2. Rueterbories, J.; Spaich, E.G.; Larsen, B.; Andersen, O.K. Methods for gait event detection and analysis in ambulatory systems. Med. Eng. Phys. 2010, 32, 545–552. [Google Scholar] [CrossRef] [PubMed]
  3. Qi, Y.; Soh, C.B.; Gunawan, E.; Low, K.; Thomas, R. Assessment of foot trajectory for human gait phase detection using wireless ultrasonic sensor network. IEEE Trans. Neural Syst. Rehabil. 2016, 24, 88–97. [Google Scholar] [CrossRef] [PubMed]
  4. Zheng, E.; Chen, B.; Wei, K.; Wang, Q. Lower limb wearable capacitive sensing and its applications to recognizing human gaits. Sensors (Basel) 2013, 13, 13334–13355. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  5. Grimmer, M.; Schmidt, K.; Duarte, J.E.; Neuner, L.; Koginov, G.; Riener, R. Stance and Swing Detection Based on the Angular Velocity of Lower Limb Segments during Walking. Front. Neurorobot. 2019, 24, 13–57. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  6. Miller, A. Gait event detection using a multilayer neural network. Gait Posture 2009, 29, 542–545. [Google Scholar] [CrossRef]
  7. Taborri, J.; Palermo, E.; Rossi, S.; Cappa, P. Gait Partitioning Methods: A Systematic Review. Sensors (Basel) 2016, 16, 66. [Google Scholar] [CrossRef] [Green Version]
  8. Novak, D.; Gorsic, M.; Podobnik, J.; Munih, M. Toward real-time automated detection of turns during gait using wearable inertial measurement units. Sensors (Basel) 2014, 14, 18800–18822. [Google Scholar] [CrossRef] [Green Version]
  9. Osis, S.T.; Hettinga, B.A.; Ferber, R. Predicting ground contact events for a continuum of gait types: An application of targeted machine learning using principal component analysis. Gait Posture 2016, 46, 86–90. [Google Scholar] [CrossRef]
  10. Liu, D.X.; Wu, X.; Du, W.; Wang, C.; Xu, T. Gait Phase Recognition for Lower-Limb Exoskeleton with Only Joint Angular Sensors. Sensors (Basel) 2016, 16, 1579. [Google Scholar] [CrossRef] [Green Version]
  11. Pacini Panebianco, G.; Bisi, M.C.; Stagni, R.; Fantozzi, S. Analysis of the performance of 17 algorithms from a systematic review: Influence of sensor position, analysed variable and computational approach in gait timing estimation from IMU measurements. Gait Posture 2018, 66, 76–82. [Google Scholar] [CrossRef] [PubMed]
  12. Kidziński, Ł.; Delp, S.; Schwartz, M. Automatic real-time gait event detection in children using deep neural networks. PLoS ONE 2019, 14, e0211466. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  13. Nazmi, N.; Abdul Rahman, M.; Yamamoto, S.I.; Ahmad, S. Walking gait event detection based on electromyography signals using artificial neural network. Biomed. Signal Process. Control 2019, 47, 334–343. [Google Scholar] [CrossRef]
  14. Morbidoni, C.; Cucchiarelli, A.; Fioretti, S.; Di Nardo, F. A Deep Learning Approach to EMG-Based Classification of Gait Phases during Level Ground Walking. Electronics 2019, 8, 894. [Google Scholar] [CrossRef] [Green Version]
  15. Mohammed, S.; Same, A.; Oukhellou, L.; Kong, K.; Huo, W.; Amirat, Y. Recognition of gait cycle phases using wearable sensors. Robot. Auton. Syst. 2016, 75, 50–59. [Google Scholar] [CrossRef]
  16. Morettini, M.; Peroni, C.; Sbrollini, A.; Marcantoni, I.; Burattini, L. Classification of drug-induced hERG potassium-channel block from electrocardiographic T-wave features using artificial neural networks. Ann. Noninvasive Electrocardiol. 2019, 24, e12679. [Google Scholar] [CrossRef] [Green Version]
  17. Di Nardo, F.; Mengarelli, A.; Ghetti, G.; Fioretti, S. Statistical analysis of EMG signal acquired from tibialis anterior during gait. IFMBE Proc. 2014, 41, 619–622. [Google Scholar] [CrossRef]
  18. Gurney, J.; Kersting, U.; Rosenbaum, D. Between-day reliability of repeated plantar pressure distribution measurements in a normal population. Gait Posture 2008, 27, 706–709. [Google Scholar] [CrossRef]
  19. Bovi, G.; Rabuffetti, M.; Mazzoleni, P.; Ferrarin, M. A multiple-task gait analysis approach: Kinematic, kinetic and EMG reference data for healthy young and adult subjects. Gait Posture 2011, 33, 6–13. [Google Scholar] [CrossRef]
  20. Tang, Z.; Zhang, K.; Sun, S.; Gao, Z.; Zhang, L.; Yang, Z. An upper-limb power-assist exoskeleton using proportional myoelectric control. Sensors (Basel) 2014, 14, 6677–6694. [Google Scholar] [CrossRef] [Green Version]
  21. Joshi, C.D.; Lahiri, U.; Thakor, N.V. Classification of gait phases from lower limb EMG: Application to exoskeleton orthosis. In Proceedings of the 2013 IEEE Point-of-Care Healthcare Technologies (PHT), Bangalore, India, 16–18 January 2013; pp. 228–231. [Google Scholar] [CrossRef]
  22. Jung, J.; Heo, W.; Yang, H.; Park, H. A neural network-based gait phase classification method using sensors equipped on lower limb exoskeleton robots. Sensors (Basel) 2015, 15, 27738–27759. [Google Scholar] [CrossRef] [PubMed]
  23. Ziegier, J.; Gattringer, H.; Mueller, A. Classification of Gait Phases Based on Bilateral EMG Data Using Support Vector Machines. In Proceedings of the IEEE RAS and EMBS International Conference on Biomedical Robotics and Biomechatronics, Enschede, The Netherlands, 26–29 August 2018; pp. 978–983. [Google Scholar] [CrossRef]
  24. Meng, M.; She, Q.; Gao, Y.; Luo, Z. EMG signals based gait phases recognition using hidden Markov models. In Proceedings of the 2010 IEEE International Conference on Information and Automation, ICIA 2010, Harbin, China, 20–23 June 2010; pp. 852–856. [Google Scholar] [CrossRef]
  25. Morbidoni, C.; Principi, L.; Mascia, G.; Strazza, A.; Verdini, F.; Cucchiarelli, A.; Di Nardo, F. Gait Phase Classification from Surface EMG Signals Using Neural Networks. IFMBE Proc. 2020, 76, 75–82. [Google Scholar] [CrossRef]
  26. Agostini, V.; Balestra, G.; Knaflitz, M. Segmentation and Classification of Gait Cycles. IEEE Trans. Neural Syst. Rehabil. Eng. 2014, 22, 946–952. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  27. Catalfamo, P.; Moser, D.; Ghoussayni, S.; Ewins, D. Detection of gait events using an F-Scan in-shoe pressure measurement system. Gait Posture 2008, 28, 420–426. [Google Scholar] [CrossRef] [PubMed]
  28. Crea, S.; de Rossi, S.M.M.; Donati, M.; Reberšek, P.; Novak, D.; Vitiello, N.; Lenzi, T.; Podobnik, J.; Munih, M.; Carrozza, M.C. Development of gait segmentation methods for wearable foot pressure sensors. In Proceedings of the 34th IEEE Engineering in Medicine and Biology Society (EMBS), San Diego, CA, USA, 28 August–1 September 2012; pp. 5018–5021. [Google Scholar] [CrossRef]
  29. Senanayake, C.M.; Senanayake, S.M.N.A. Computational intelligent gait-phase detection system to identify pathological gait. IEEE Trans. Inf. Technol. Biomed. 2010, 14, 1173–1179. [Google Scholar] [CrossRef] [PubMed]
  30. González, I.; Fontecha, J.; Hervás, R.; Bravo, J. An ambulatory system for gait monitoring based on wireless sensorized insoles. Sensors (Basel) 2015, 15, 16589–16613. [Google Scholar] [CrossRef] [Green Version]
  31. Hermens, H.J.; Freriks, B.; Merletti, R.; Stegeman, D.; Blok, J.; Rau, G.; Disselhorst-Klug, C.; Hägg, G. European recommendations for surface electromyography, SENIAM. Roessingh Res. Dev. 1999, 8, 13–54. [Google Scholar]
  32. Winter, D.A.; Yack, H.J. EMG profiles during normal human walking: Stride-to-stride and inter-subject variability. Electroencephalogr. Clin. Neurophysiol. 1987, 67, 402–411. [Google Scholar] [CrossRef]
  33. Khandelwal, S.; Wickstrasm, N. Evaluation of the performance of accelerometer-based gait event detection algorithms in different real-world scenarios using the MAREA gait database. Gait Posture 2017, 51, 84–90. [Google Scholar] [CrossRef] [PubMed]
  34. Kazerooni, H.; Steger, R.; Huang, L.H. Hybrid control of the Berkeley Lower Extremity Exoskeleton (BLEEX). Int. J. Robot. Res. 2006, 25, 561–573. [Google Scholar] [CrossRef]
  35. Ma, Y.; Xie, S.; Zhang, Y. A patient-specific EMG-driven neuromuscularmodel for the potential use of human-inspired gait rehabilitation robots. Comput. Biol. Med. 2016, 70, 88–98. [Google Scholar] [CrossRef] [PubMed]
  36. Azimi, V.; Nguyen, T.T.; Sharifi, M.; Fakoorian, S.A.; Simon, D. Robust Ground Reaction Force Estimation and Control of Lower-Limb Prostheses: Theory and Simulation. IEEE Trans. Syst. Man Cybern. Syst. 2018, 99, 1–12. [Google Scholar] [CrossRef]
  37. Watanabe, T.; Endo, S.; Morita, R. Development of a prototype of portable FES rehabilitation system for relearning of gait for hemiplegic subjects. Healthc. Technol. Lett. 2016, 3, 284–289. [Google Scholar] [CrossRef] [PubMed] [Green Version]
Figure 1. Experimental set-up. MH1 and MH5 are first and the fifth metatarsal heads, respectively. TA, tibialis anterior. GL, gastrocnemius lateralis. VL, vastus lateralis. MH, medial hamstrings.
Figure 1. Experimental set-up. MH1 and MH5 are first and the fifth metatarsal heads, respectively. TA, tibialis anterior. GL, gastrocnemius lateralis. VL, vastus lateralis. MH, medial hamstrings.
Electronics 09 00355 g001
Figure 2. Example of normalized flexion-extension knee angle in sagittal plane measured in all the strides walked by a representative subject (red curves). Mean curve is depicted in white. Stance and swing durations are portrayed in green.
Figure 2. Example of normalized flexion-extension knee angle in sagittal plane measured in all the strides walked by a representative subject (red curves). Mean curve is depicted in white. Stance and swing durations are portrayed in green.
Electronics 09 00355 g002
Figure 3. Direct comparison of classification accuracy provided in each fold by Knee (red bars) vs. KEMG approach (blue bars). Average values over 23 folds are represented with horizontal dashed lines.
Figure 3. Direct comparison of classification accuracy provided in each fold by Knee (red bars) vs. KEMG approach (blue bars). Average values over 23 folds are represented with horizontal dashed lines.
Electronics 09 00355 g003
Figure 4. Example of predictions of foot–floor-contact signal in the same five strides of a representative subject, achieved by Knee (red dotted line) and KEMG (blue dotted line) approaches. Predictions are compared with the ground truth (black solid line).
Figure 4. Example of predictions of foot–floor-contact signal in the same five strides of a representative subject, achieved by Knee (red dotted line) and KEMG (blue dotted line) approaches. Predictions are compared with the ground truth (black solid line).
Electronics 09 00355 g004
Table 1. Stance vs. swing classification accuracy provided in LS-test (learned-test set).
Table 1. Stance vs. swing classification accuracy provided in LS-test (learned-test set).
Classification accuracy in LS-test (%)
FoldKneeKEMGReference
190.795.694.9
290.895.194.6
390.895.194.4
491.396.094.8
591.295.695.0
690.995.494.9
790.895.795.0
890.895.594.7
990.595.894.8
1090.495.294.6
1191.396.095.0
1289.995.994.8
1391.495.994.8
1491.595.295.0
1590.695.894.8
1691.295.594.7
1791.095.694.7
1890.295.594.8
1990.895.494.8
2090.795.594.8
2191.896.395.3
2291.595.895.0
2390.895.694.8
Mean ± SD90.9 ± 0.495.6 ± 0.394.8 ± 0.2
Table 2. Stance vs. swing classification accuracy provided in US
Table 2. Stance vs. swing classification accuracy provided in US
Classification Accuracy in US (%)
FoldKneeKEMGReference
188.497.895.4
289.394.091.8
394.594.893.1
486.988.590.0
593.395.993.1
692.094.292.5
793.695.295.3
882.894.990.3
990.893.393.5
1089.592.593.0
1190.492.591.5
1284.092.892.6
1392.295.587.6
1490.994.994.5
1593.595.393.3
1692.496.595.8
1791.893.494.5
1890.098.196.1
1990.596.796.0
2094.997.597.3
2189.691.590.6
2291.992.594.3
2390.196.896.3
Mean ± SD90.6 ± 2.994.6 ± 2.393.4 ± 2.4
Table 3. MAE (mean absolute error), precision, recall, and F1-score provided by Knee, KEMG, and reference (Ref) approach for heel strike (HS) prediction.
Table 3. MAE (mean absolute error), precision, recall, and F1-score provided by Knee, KEMG, and reference (Ref) approach for heel strike (HS) prediction.
HSMAE (ms)PrecisionRecallF1-score
FoldKnee KEMG RefKnee KEMG RefKnee KEMG RefKnee KEMG Ref
131.89.922.31.001.000.991.001.000.991.001.000.99
238.434.031.31.001.000.990.990.980.971.000.990.98
313.420.629.41.000.990.991.000.990.991.000.990.99
427.915.016.01.001.001.000.951.001.000.971.001.00
517.414.525.01.001.001.000.991.001.000.991.001.00
618.216.422.51.001.001.000.971.001.000.991.001.00
715.225.225.01.001.001.001.001.001.001.001.001.00
871.124.725.21.001.000.990.991.000.991.001.000.99
953.020.219.41.001.001.000.981.000.990.991.000.99
1028.530.438.21.001.001.000.990.990.990.990.990.99
1117.69.614.31.001.001.000.980.980.970.990.990.99
1225.27.110.61.001.001.001.001.001.001.001.001.00
1331.618.229.01.001.001.000.940.980.860.970.990.92
1447.915.518.01.001.001.000.730.990.980.851.000.99
1533.117.221.81.001.001.000.981.001.000.991.001.00
1629.615.918.71.001.001.001.001.001.001.001.001.00
1738.837.027.01.001.001.001.001.001.001.001.001.00
1829.79.613.11.001.001.001.001.001.001.001.001.00
1926.519.612.71.001.001.001.001.001.001.001.001.00
2014.010.413.41.001.001.001.001.001.001.001.001.00
2118.520.322.40.940.990.980.960.970.980.950.980.98
2221.225.726.61.001.001.001.001.000.991.001.001.00
2328.815.014.80.991.001.000.991.001.000.991.001.00
Mean29.418.8*21.61.001.001.000.980.990.990.991.000.99
SD13.77.97.00.010.010.010.040.010.030.030.010.02
* means p < 0.05 between Knee and KEMG approach.
Table 4. MAE (mean absolute error), precision, recall, and F1-score provided by Knee, KEMG, and reference (Ref) approach for toe off (TO) prediction.
Table 4. MAE (mean absolute error), precision, recall, and F1-score provided by Knee, KEMG, and reference (Ref) approach for toe off (TO) prediction.
TOMAE (ms)PrecisionRecallF1-score
FoldKnee KEMG RefKnee KEMG RefKnee KEMG RefKnee KEMG Ref
1116.416.826.61.001.001.001.001.001.001.001.001.00
2126.823.440.10.990.990.960.980.970.940.980.980.95
3125.331.922.61.000.980.991.000.991.001.000.980.99
499.6104.080.80.990.991.000.930.990.990.960.990.99
599.628.630.11.001.001.000.981.000.990.991.001.00
656.447.147.41.001.001.000.971.001.000.991.001.00
797.933.231.21.001.001.001.001.001.001.001.001.00
8170.518.754.10.960.990.970.950.990.970.960.990.97
967.950.644.21.001.001.000.970.990.980.981.000.99
1087.051.634.01.001.000.991.001.000.991.001.000.99
11107.853.359.00.930.940.960.910.930.930.920.930.94
1267.664.759.11.001.001.000.991.001.000.991.001.00
1376.720.639.91.001.000.980.930.980.840.960.990.90
1472.333.526.41.001.001.000.731.000.980.851.000.99
1559.437.755.00.991.001.000.971.001.000.981.001.00
16135.820.230.01.001.001.001.001.001.001.001.001.00
1794.532.628.21.001.001.001.001.001.001.001.001.00
18119.412.323.91.001.001.001.001.001.001.001.001.00
19122.117.830.50.991.001.000.991.000.990.991.000.99
20119.219.117.61.001.001.001.001.001.001.001.001.00
2190.938.337.60.960.980.960.970.950.950.960.960.96
22117.449.535.20.970.980.990.970.980.980.970.980.99
2359.521.323.81.001.001.001.001.001.001.001.001.00
Mean99.535.9*38.10.990.990.990.970.990.980.980.990.98
SD28.920.614.20.010.010.010.050.010.040.040.010.02
* means p < 0.05 between Knee and KEMG approach.

Share and Cite

MDPI and ACS Style

Di Nardo, F.; Morbidoni, C.; Cucchiarelli, A.; Fioretti, S. Recognition of Gait Phases with a Single Knee Electrogoniometer: A Deep Learning Approach. Electronics 2020, 9, 355. https://doi.org/10.3390/electronics9020355

AMA Style

Di Nardo F, Morbidoni C, Cucchiarelli A, Fioretti S. Recognition of Gait Phases with a Single Knee Electrogoniometer: A Deep Learning Approach. Electronics. 2020; 9(2):355. https://doi.org/10.3390/electronics9020355

Chicago/Turabian Style

Di Nardo, Francesco, Christian Morbidoni, Alessandro Cucchiarelli, and Sandro Fioretti. 2020. "Recognition of Gait Phases with a Single Knee Electrogoniometer: A Deep Learning Approach" Electronics 9, no. 2: 355. https://doi.org/10.3390/electronics9020355

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