Next Article in Journal
Vulnerability Assessment of Sensor Systems
Next Article in Special Issue
Tracking Foot Drop Recovery Following Lumbar-Spine Surgery, Applying Multiclass Gait Classification Using Machine Learning Techniques
Previous Article in Journal / Special Issue
New Considerations for Collecting Biomechanical Data Using Wearable Sensors: How Does Inclination Influence the Number of Runs Needed to Determine a Stable Running Gait Pattern?
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Real-Time Detection of Seven Phases of Gait in Children with Cerebral Palsy Using Two Gyroscopes

1
Biomechanics and Movement Science Program, University of Delaware, Newark, DE 19713, USA
2
Department of Physical Therapy, University of Delaware, Newark, DE 19713, USA
3
Shriners Hospitals for Children, Philadelphia, PA 19140, USA
*
Author to whom correspondence should be addressed.
Sensors 2019, 19(11), 2517; https://doi.org/10.3390/s19112517
Submission received: 4 April 2019 / Revised: 24 May 2019 / Accepted: 26 May 2019 / Published: 1 June 2019
(This article belongs to the Special Issue Wearable Sensors for Gait and Motion Analysis 2018)

Abstract

:
A recently designed gait phase detection (GPD) system, with the ability to detect all seven phases of gait in healthy adults, was modified for GPD in children with cerebral palsy (CP). A shank-attached gyroscope sent angular velocity to a rule-based algorithm in LabVIEW to identify the distinct characteristics of the signal. Seven typically developing children (TD) and five children with CP were asked to walk on treadmill at their self-selected speed while using this system. Using only shank angular velocity, all seven phases of gait (Loading Response, Mid-Stance, Terminal Stance, Pre-Swing, Initial Swing, Mid-Swing and Terminal Swing) were reliably detected in real time. System performance was validated against two established GPD methods: (1) force-sensing resistors (GPD-FSR) (for typically developing children) and (2) motion capture (GPD-MoCap) (for both typically developing children and children with CP). The system detected over 99% of the phases identified by GPD-FSR and GPD-MoCap. Absolute values of average gait phase onset detection deviations relative to GPD-MoCap were less than 100 ms for both TD children and children with CP. The newly designed system, with minimized sensor setup and low processing burden, is cosmetic and economical, making it a viable solution for real-time stand-alone and portable applications such as triggering functional electrical stimulation (FES) in rehabilitation systems. This paper verifies the applicability of the GPD system to identify specific gait events for triggering FES to enhance gait in children with CP.

1. Introduction

Motion capture (MoCap) is useful to objectively quantify human movement [1] and is often used clinically to analyze walking gait in individuals with cerebral palsy (CP) [2,3,4,5]. Complete gait analysis systems typically combine optical MoCap with force-sensing platforms (aka force plates) to collect kinematic and kinetic data, respectively. Typical gait has been described as a series of seven contiguous phases: Loading Response (LR), Mid-Stance (MSt), Terminal Stance (TSt), Pre-Swing (PSw), Initial Swing (ISw), Mid-Swing (MSw), and Terminal Swing (TSw) [2,3,6]. Detecting these phases during walking, known as gait phase detection (GPD), is a critical component of gait analysis. GPD can be used in conjunction with inverse dynamics to derive the forces and moments generated on the limbs during walking. While MoCap-based GPD (GPD-MoCap) is considered the gold standard [1,7,8,9,10,11], most GPD-MoCap systems are expensive and require extensive laboratory space, limiting their clinical utility [12].
Recent technological advancements in micro-electro-mechanical systems (MEMS) have given rise to a number of wearable, non-laboratory-based locomotion monitoring systems. Some MEMS devices have been used to evaluate the efficacy of mobility interventions for activities of daily living in able-bodied adults [7,13]. Other applications include human–machine interfaces [14,15], closed-loop control of rehabilitation robotics [7,16,17,18], and triggering muscle stimulation in functional electrical stimulation (FES) walking systems [19,20,21,22,23]. Typical requirements for these applications include cosmesis, portability, robustness, low cost and low power consumption [24]. Inertial sensors (aka inertial measurement units (IMU)), including accelerometers (which measure linear acceleration) and gyroscopes (which measure angular velocity), have been used extensively in the last decade for gait event detection [20,25,26,27]. The compact size and low power consumption of IMUs make them ideal for wearable motion-sensing applications and they have even been used as implanted devices [21]. Because they directly measure rotational motion—and because rotation about a joint is the locus of human locomotion [26]—gyroscopes are ideal for movement monitoring. Additionally, unlike accelerometers, gyroscopes are not affected by gravity and thus are less sensitive to placement—they provide nearly identical signals when mounted anywhere along the plane of interest [23]. Due to these advantages, and despite their higher power requirements [23], gyroscopes are typically preferred over accelerometers for GPD algorithms [25]. Gyroscopes have been evaluated for use in ambulatory GPD [12,20], calculation of spatio-temporal parameters of gait [26], and FES system control [20,21,22].
Most control strategies utilizing either rehabilitation robotics [7,25] or FES walking systems [19,20,22] are gait phase dependent and thus require accurate real-time GPD [7]. GPD algorithms must execute quickly to minimize gait event detection latency and, ideally, operate on minimal sensor data. Few sensor-based GPD systems are able to detect all seven gait phases in real-time (full-resolution) [19,20,21,22,28] and some have other deficiencies [8,10]. For example, Senanayake and colleagues’ GPD system—although full-resolution—is comprised of a number of sensors (four force sensitive resistors (FSRs) and two inertial measurement units, each consisting of a three-axis accelerometer, magnetometer, and gyroscope) and the researchers did not report GPD time errors relative to GPD-MoCap [8]. The high number of sensors in their system complicates both control algorithms and system setup. Accelerometer-based control algorithms suffer from drift resulting from signal integration, limiting their utility in control systems [12,29] and FSRs have their own shortcomings: they are sensitive to placement [21], degrade in performance over time [23], may suffer mechanical failure [21,26,30], require specific instrumented footwear [21], and may be affected by irregular ground contact patterns in atypical gait [23,26]. These limitations with IMUs and FSRs prompted us to develop a simple two-gyroscope GPD system that detects all seven phases of gait [9].
Due to the high incidence of and cost associated with CP, improved rehabilitation strategies for this patient population are critical [10]. Although gait phases are considered an appropriate trigger to control stimulation delivery in FES walking systems [19,20,21], there is a paucity of GPD systems for this population [10,25]. In a novel offline approach, Lauer and colleagues [10] successfully detected all seven phases of gait in individuals with CP using previously collected electromyographic (EMG) signals from bilateral vastus lateralis. GPD time errors were as high as 113 ms relative to GPD-MoCap. The use of EMG signals for GPD is not without complications; data are sensitive to electrode placement and motion artifacts [7]. Additionally, if EMG-based GPD is used to control FES, complex signal processing is necessary to differentiate physiological EMG signals from muscle activation due to applied FES [31,32]. Finally, Lauer et al. did not evaluate the real-time performance of their GPD algorithm, limiting its potential for clinical use [10]. Although precise knowledge of detection time errors is crucial for reliable real-time GPD systems (especially in FES applications), few studies have accurately investigated GPD time errors relative to GPD-MoCap (which is considered the gold standard). Some studies used GPD algorithms based on force sensing resistors (FSR) to evaluate system performance [1,7,11,23,26,30]. FSR-based algorithms are referred to as GPD-FSR, and are generally considered to be inferior to GPD-MoCap [21].
The aim of this paper is to adapt an existing real-time GPD system, designed to control multi-channel FES delivery for healthy adults during walking [9], for use with children with CP [33]. Because the GPD algorithm developed for use with healthy adults can also be used with typically developing (TD) children, this algorithm is referred to as GPD-TD. The GPD-TD system features: (1) a dual-gyroscope sensor setup, (2) the capability to detect all seven phases of gait, and (3) low detection time error. Gait phase onset detection times were previously evaluated on healthy adults [9]. This paper evaluates the performance of GPD-TD on typically developing children by comparing GPD data to GPD-FSR and GPD-MoCap. GPD-TD was modified to accurately detect gait phases for children with CP (GPD-CP) and re-evaluated relative to GPD-MoCap. The ultimate goal of this work is to use GPD-CP as a finite-state controller for a multi-channel FES delivery to promote more efficient gait patterns in children with CP (Figure 1). The use of GPD-CP in this manner is discussed in Behboodi et al. [33] and Zahradka et al. [34], a companion to the current paper.

2. Materials and Methods

2.1. Participants

Seven typically developing children (12 ± 1 years of age) and five children with spastic diplegic CP (14 ± 1 years of age, gross motor function control system (GMFCS) Level II and III) participated in this study (Table 1). All participants with CP exhibited crouch gait. Participants walked on an instrumented treadmill (Bertec, Columbus, OH, USA) at their self-selected walking speed and were instructed to use handrails that were attached to the treadmill. Handrail forces were measured, but technical difficulties rendered these data unusable. Participants with CP were part of a study investigating an FES treadmill intervention for GMFCS Level II and III children with CP [34,35]. Although abnormal gait complicates gait phase identification (for example, there is no identifiable heel strike with equinus gait), the use of shank angular velocity in the sagittal plane (i.e., the medio-lateral component of shank angular velocity ( ω m l )) obviates this issue: shank angular velocity still shows characteristic peaks, valleys and zero-crossings despite abnormal gait patterns (Figure 2) Study procedures were approved by Shriners Hospitals for Children-Philadelphia (Western IRB #2059). Consent and assent were obtained from participants.

2.2. Gait Phase Detection for Healthy Subjects

For healthy adults and TD children, medio-lateral shank angular velocity ( ω m l ) has a definitive pattern during the gait cycle [11]. The typical pattern is three positive peaks in the stance phase followed by a deep negative peak in the swing phase (Figure 2a). This pattern, detected by a shank-attached IMU (APDM Inc., Portland, OR, USA), is the input signal to GPD-TD. One IMU was worn on the lateral side of each shank. Each IMU contained three triple-axis sensors: an accelerometer, a gyroscope and a magnetometer. Only the gyroscope signals were used with GPD-TD. With the IMU’s z-axis aligned in the medio-lateral direction (i.e., axis of rotation of the knee in the sagittal plane), the z-component of the gyroscope data ( ω m l ) was used. The IMUs were aligned such that knee flexion and extension resulted in positive and negative values of ω m l , respectively. The IMUs wirelessly streamed data to an access point (APDM Inc., Portland, OR, USA), which was connected to a desktop computer (Dell, Round Rock, TX, USA) via USB 2.0. Data was sampled at 128 Hz. A rule-based algorithm (Table 2), written in LabVIEW (version 2014, National Instruments, Austin, TX, USA), used ω m l to detect all seven phases of gait as described in Behboodi et al. (the rules used for TD children in this study are identical to the rules used for healthy adults in Behboodi et al.) [9].

2.3. Tunable Parameters

There are four tunable peak detection parameters in the GPD algorithm; window width and peak threshold for both ISw and TSw (for more information, refer to LabVIEW documentation on point-by-point peak finding). For GPD-TD, window widths were set to seven samples for both ISw and TSw and peak thresholds were set to 2.5 rad/s and −4 rad/s, respectively.

2.4. Gait Phase Detection in Children with CP

The GDP-TD algorithm was tested on children with CP. Although children with CP do not often exhibit typical gait events (e.g., those with equinus gait may lack heel strike), shank angular velocity shows similar features (Figure 2) and can still be used to determine gait phases. However, some modifications to the GPD algorithm were necessary for GPD-CP. In particular, while ω m l typically has easily identifiable peaks and zero-crossings (Figure 2a), the lack of a distinct peak at toe-off/end-contact (TO/EC) (Figure 2b) confounded ISw detection for children with CP. This issue was mitigated by using the arithmetic sum of all three components of shank angular velocity ( ω s u m ) instead of ω m l to detect the TO/EC peak. The summed signal featured a more prominent peak at TO/EC, isolating it from spurious peaks present in the ω m l signal. Because ω s u m slightly leads ω m l in time and because the MSw zero-crossing closely follows TO/EC, ω s u m was also used to detect the MSw zero crossing. This reduced the chances of erroneously detecting MSw (in ω m l ) before detecting ISw (in ω s u m ).
Even with the increased detection reliability of ISw with ω s u m , extraneous peaks and zero-crossings due to spasticity resulted in false detections of ISw and MSw. To mitigate this, the following criteria were added: (1) ISw detection was blocked until at least 60% of the average gait cycle duration had elapsed since the last LR detection; (2) MSw detection was blocked until at least of 25% of the average of the last 10 gait cycle durations had elapsed since ISw; and (3) peak detection threshold values (paragraph 2.3) were set to 25% of the smallest ISw peak height and highest TSw valley depth observed over the first few gait cycles.

2.5. Auto-Thresholding

At first, the tunable parameters were computed manually for each participant by observing ω m l and ω s u m over time for GPD-CP. It was later determined that the tunable parameters could be computed automatically. An adaptive algorithm was added, which computed both ISw and TSw thresholds based on average peak amplitudes over the past five gait cycles. As the subject walked, thresholds were automatically updated based on their gait profile. Automatic thresholding increased detection consistency and ISw onset detection for more severe atypical gait patterns to the point where it was no longer necessary to use ω s u m to detect ISw for children with CP. That is, adaptive thresholding allowed us to return to the use of ω m l for detection of ISw. Automatic thresholding was not necessary for GPD-TD, as the thresholds indicated above were sufficient for all TD participants.

2.6. Real-Time GPD Simulator

The GPD LabVIEW program was adapted to operate on previously recorded gyroscope data loaded from a file. This allowed us to quickly test multiple variations of the GPD algorithm on a variety of walking gait profiles. Automatic thresholding for GPD-CP was developed and tested using this real-time GPD simulator. While our real-time GPD simulator did not operate on real-time gyroscope data, it maintained the real-time timing by reading in both gyroscope data and timing data and metering the gyroscope data based on recorded sample times. Thus, in contrast to the non-real-time GPD techniques used in other studies [10,23], in which algorithms operated on an entire time series all at once, our GPD simulator maintained the real-time nature of the original gyroscope data thus allowing us to design algorithms suitable for real-time operation.

2.7. System Evaluation

GPD-TD was evaluated relative to GPD-FSR while both GPD-TD and GPD-CP were evaluated relative to GPD-MoCap. Detection reliability was defined as the number of gait phases detected vs. the total number of gait phases detected by the reference system (GPD-FSR or GPD-MoCap) over all gait phases for all participants. Gait phase onset times were compared between the system under test and the reference system via both mean error and root mean square error (RMSE). Additionally, gait cycle duration and gait phase duration as a percentage of gait cycle duration were compared between the system under test and GPD-MoCap. Gait cycle duration was computed using two consecutive LR onsets and compared to gait cycle duration computed from GPD-MoCap. Gait phase duration percentage was computed by normalizing the gait phase duration to the gait cycle duration computed by the respective systems and averaged across participants for each group. For both GPD-FSR and GPD-MoCap, participants walked on an instrumented treadmill at their self-selected speed with motion sensors attached to each shank. Participants walked for about 30 s with both lower limbs instrumented. Because participants walked at a variety of speeds, instead of using data collected over a time duration, measures were computed using the last ten complete gait cycles. Participants were instructed to use handrails built into the treadmill. While GPD-MoCap can be challenging with participants with CP, the events indicated in Table 2 are universal enough to occur in many gait types. In particular, initial contact (IC) and end contact (EC) were used instead of toe-off and heel-strike, respectively.

2.7.1. GPD-TD to GPD-FSR

For comparison with studies that used GPD-FSR as their reference system [5,11,21,30], the onset of LR (heel strike (HS) or IC), TSt (heel-off (HO)), and ISw (TO/EC) was compared between GPD-TD and GPD-FSR (Table 2) for seven TD participants (Table 1). FSRs (Interlink Electronics, Westlake Village, CA, USA; force range 0.18–20 N) were placed under the heel (FSR-Heel) and toe (FSR-Toe) of each foot and participants walked on the treadmill while both GPD-TD and GPD-FSR data were collected. Using a modified IMU (APDM Inc., Portland, OR, USA), FSR data were streamed to the GPD-TD computer. GPD-FSR data were processed in MATLAB (version 2015, The MathWorks Inc., Natick, MA, USA) as follows. The maximum FSR voltage observed during the swing phase was used as the baseline voltage; the FSR was considered to be off below baseline and on above baseline. The swing phase was roughly defined as the time between a sharp decrease in the FSR-Toe and a sharp increase in FSR-Heel. Reliability and mean onset error were computed.

2.7.2. GPD-TD to GPD-MoCap

For evaluation versus the gold standard, GDP-TD was compared to GPD-MoCap. Seven TD participants (Table 1) walked on the treadmill with IMUs attached to each shank while MoCap (Motion Analysis, Rohnert Park, CA, USA) data were collected. Fifteen MoCap markers were placed on each lower extremity (medial and lateral femoral condyles (2), thigh cluster (4), medial and lateral malleoli (2), shank cluster (4), superior and inferior posterior calcaneus (2), medial first metatarsal head, lateral fifth metatarsal head) and seven on the pelvis (anterior superior iliac spines (2), midway between the posterior superior iliac spines, sacral cluster (4)). GPD-TD and GPD-MoCap were synchronized by triggering via COM port from the GPD-TD computer to the MoCap computer. The GPD-TD computer sent a trigger signal via the APDM access point to the COM port of the GPD-MoCap computer, remotely triggering data recording in the MoCap software (Cortex, Motion Analysis, Rohnert Park, CA, USA). Kinematic and kinetic data in the sagittal plane were analyzed in Visual 3D (C-Motion Inc., Germantown, MD, USA) (Figure 1). Reliability, onset, gait cycle and gait phase duration were computed and compared between the two systems.

2.7.3. GPD-CP to MoCap

The above evaluation was repeated for five children with CP. Reliability, onset and gait phase duration were computed and compared between the two systems.

3. Results

3.1. GPD-TD vs. GPD-FSR

GPD-TD was able to detect all events (LR onset (HS or IC), TSt (HO), and ISw onset (TO/EC)) detected by GPD-FSR for all participants over all gait cycles (100% reliability). Mean errors for all three events were less than 20 ms (Figure 3) LR onset (HS/IC) showed an error of 12.3 ms. TSt onset (HO) had the lowest error (−9.5 ms) while ISw onset (TO/EC) showed the highest mean error (18.5 ms). Note that negative deviations indicate delays with respect to GPD-FSR.

3.2. GPD-TD vs. GPD-MoCap

GPD-TD was able to detect 979 out of 980 events detected by GPD-MoCap for 99.9% detection reliability. Except for TSw and TSt (contralateral TSw), mean onset errors were below 51 ms. Minimum onset error was −18 ms (MSw) and maximum was −100 ms (TSw) (Figure 4). Onset RMSE ranged from 35 ms (MSw) to 105 ms (TSw) (Table 3). Note that negative deviations indicate delays in onset detection relative to GPD-MoCap. Average gait cycle duration RMSE was 22 ms (Table 4). MSw showed the highest difference between GPD-TD and GPD-MoCap (20.76% vs. 12.76%). Gait phase duration deviations relative to GPD-MoCap as a percentage of gait cycle can be seen in Figure 5. LR and PSw durations were close GPD-MoCap while TSw, MSw and TSw showed greater differences.

3.3. GPD-CP vs. GPD-MoCap

For GPD-CP, detection reliability relative to GPD-MoCap was 99.6% (697/700). With the addition of automatic thresholding, detection reliability was increased to 100% (700/700). GPD-CP onset was delayed for all gait phases except MSw (97 ms early) (Figure 4). Mean error was highest for MSw (97 ms) and lowest for TSt (−22 ms) for GPD-CP. Onset RMSE ranged from 63 ms (LR) to 127 ms (MSw) (Figure 4). While the addition of automatic thresholding increased detection reliability, onset errors were slightly increased with automatic thresholding. A Bland–Altman plot graphically depicts onset errors for each gait phase for each subject (Figure 6). If the phase onset detection time errors were within the 95% confidence interval (±1.96 SD) about the mean (considered perfect agreement), the detection method was considered valid [37]. Each color represents one of the seven gait phases. Approximately 670 of 700 (96%) detected phases were within the 95% confidence interval. Most phases outside the interval were MSw (green), although three ISw (blue) and MSt (orange), two TSt (gray) and one TSw (navy blue) were outside of the confidence interval. Mean gait cycle duration RMSE was 22 ms (Table 4).
Gait phase duration deviations relative to GPD-MoCap as a percentage of gait cycle can be seen in Figure 5. With the exceptions of ISw (7.42% vs. 16.43%) and MSw (17.17% vs. 7.48%), most phases showed similar durations compared with GPD-MoCap. However, when ISw and MSw are taken together, the duration of the two phases matched quite well between GPD-CP (24.59% and GPD-MoCap (23.91%).

4. Discussion

The GPD algorithms in this paper successfully detected all seven gait phases in seven typically developing children and five children with CP. Detection reliability relative to GPD-MoCap was 100% for both GPD-TD and (with automatic thresholding) GPD-CP over 980 and 700 gait phases, respectively. Both algorithms use only two gyroscopes, making the GPD system compact and lightweight with low power consumption. These characteristics make our system appropriate for controlling a multiple channel FES system for use in gait training [33]. The use of raw gyroscope data eliminates the error propagation of typical IMU-based systems cause by double-integration. This simplified sensor system that can be used in sophisticated control algorithms used with rehabilitation robots [18] and neuroprosthesis [10,20,25,38]. Auto-thresholding eliminates the need to manually set threshold levels. Auto-thresholding rules were based on results from only five participants with GMFCS Levels II and III. Further testing on different populations with larger sample sizes is necessary to determine universally valid auto-thresholding rules.
Among major studies, only Senanayake et al. [8] and Lauer et al. [10] detected all seven phases of gait, as defined by Perry [6] (Senanayake et al. did not report onset errors and Lauer et al. did not evaluate their GPD system in real-time). While Smith et al. [38] and Pappas et al. [20] reported onset error relative to GPD-MoCap and evaluated their GPD systems in real-time, their systems were limited to five (Smith) and four (Pappas) phases (Table 5). Senanayake et al. required the use of 12 sensors and 22 signals to process, which is not ideal for a streamlined setup [8]. Similarly, Pappas et al. required three FSRs and one gyroscope for each limb [20] and Smith et al. required three FSRs for each limb [38]. Because both systems used FSRs, they are vulnerable to mechanical failure and may not be robust enough for daily living applications. Most importantly, these systems may not be suitable for individuals with atypical foot contact. The EMG-based system described by Lauer et al. [10] used a minimum sensor set up consisting of only one EMG sensor on each side. However, EMG is prone to motion artifacts using EMG in conjunction with FES can result in high-intensity electrical artifacts.
GPD-TD onset errors relative to GPD-FSR were favorable compared other studies [11,21,24,30]. Onset errors for HS and TO (12.3 (12) ms and 18.5 (17) ms (Figure 3), respectively, were among the lowest reported (Table 6). GPD-TD mean onset error for HO was 9.5 (13) ms (other references did not report HO, TSt onset error). Only Catalfamo et al. [24] reported standard deviations lower than our GPD system, indicating consistency in error (which makes it easier to compensate for timing errors in real-time applications). Gait cycle duration RMSE was low between the participants for both GPD-TD and GPD-CP (13 ms to 38 ms (Table 4)). Even though the onset detection delays in some phases were as high as −100 ms, (TSw for GPD-TD), offsets in other areas decreased the total gait cycle duration error to 22 ms.
TSt is an important gait phase for most FES walking systems as it not only provides the appropriate posture for PSw [39,40], but its detection can help to predict PSw in a more sophisticated system with a delay compensation algorithm [34]. During TSt, ankle dorsiflexion reaches peak torque, and ankle plantar-flexors are at their highest level of activity as they contract eccentrically for push-off and limb advancement during swing [6]. This could enhance the performance of an assistive device by increasing propulsion needed in PSw to advance the center of mass forward.
Although phase onset detection error is important for evaluation of any real-time GPD system, only Hanlon et al. [41], Pappas et al. [20], Smith et al. [38] and Skelly et al. [19] evaluated their systems using GPD-MoCap. Note that our GPD-FSR comparison showed lower onset error for LR onset (12.3) than our GPD-MoCap comparison (−40 ms). The reported error depends on the system used as the standard, against which the system-under-test is compared. Since GPD-MoCap is more accurate than GPD-FSR, it is more appropriate to validate one’s system relative to GPD-MoCap [8,10,11]. Our results show that one can obtain seemingly better results with a worse evaluation method (GPD-FSR, in this case).
Lower extremity finite state control orthoses [18], prostheses [42], and sophisticated FES walking systems [10,20,25,33,38] can benefit from full-resolution GPD. However, most GPD systems (such as those that are FSR-based) cannot detect swing phases. Many GPD systems can only detect LR and PSw [7,22,26,30,43,44], making them inappropriate for applications requiring higher-resolution GPD.
Some studies evaluate detection of foot-flat (FF) [1,19,20,21,28,29]. FF, depending on the detection algorithm, is reasonably close to MSt onset, which can be detected using contralateral TO/EC [6]. Consequently, unless there is a need for unilateral detection, FF detection is unnecessary. In contrast, TSt onset (HO) detection may be relatively more important because, with the combination of this event with both LR onset (HS) and ISw onset (TO/EC) and use of a contralateral algorithm, one can detect all of the stance phases. It should be noted that comparison with GPD-FSR revealed that all the stance phases detected by the GPD system have relatively low onset detection time errors relative to other studies that evaluated their systems vs. GPD-FSR; absolute values of LR, TSt and ISw (HS, HO and TO/EC respectively) onset detection time errors were all below 20 ms.
After PSw, the rest of limb advancement and forward progression occurs during the swing phases [6] and three major muscle groups contribute to this end: Gluteus maximus (Glut), hamstrings (Ham), and quadriceps (Quad) activate during either MSw or TSw [45]. To slow down the rate of knee extension, Ham starts firing at MSw onset while Glut and Quad activate at the end of TSw onset to ensure full knee extension and to prepare for shock absorption at LR onset (HS) [6]. Consequently, to control the activation of these three muscles, in applications such as FES, detection of all swing phases is critical. As mentioned above, however, there are limited GPD systems capable of detecting these individual swing phases. Besides Lauer [10] and Senanayake [8], to the best of our knowledge, there are only two other well-cited detection systems capable of detecting any swing phases, and ISw was the only swing phase detected in both. Smith et al. [38] used an FSR insole in combination with a fuzzy classifier to detect ISw. Skelly [19], in addition to TO/EC (i.e., ISw onset), detected maximum knee flexion, which is close to the end of ISw based on Perry’s definitions. Our GPD system detected all the swing phases in real time using only one gyroscope sensor on each shank.
There were several limitations in the present study. Gait phase onset detection delay—for ISw, in particular—is sensitive to each participant’s ability to walk and advance their lower extremities. Participants who are less skilled at ambulation (i.e., higher level on the Gross Motor Function Classification System) showed higher onset detection root-mean-square errors (RMSE) in ISw, MSt (contralateral ISw (Table 2)) and MSw. The RMSE of phase detection onset for each participant with CP and their GMFCS level can be found in Appendix A. Although modeling ISw onset from the medio-lateral shank angular velocity (i.e., last positive peak of ω m l (Figure 2a)) is a well-established kinematic rule based on gait analysis studies such as Aminian et al. [26], Jasiewcz et al. [30], Monaghan et al. [22], Catalfamo et al. [24] and Lee et al. [11], its reliability may be suspect when used in populations with higher GMFCS levels. Thus, finding a robust ISw detection rule using ω m l for children with higher GMFCS levels may require further investigation.
TSw and MSw detection need additional investigation because they showed inconsistency between groups. TSw had the highest onset detection delay in the TD group (−100 ms), whereas it was among the lowest (−34 ms) in the CP group. In contrast, MSw had the lowest onset detection error (−18 ms) in the TD group, but its error was the highest in CP group (97 ms) (Figure 4). Like most GPD studies, IC was not included as a gait phase. In Perry’s definition of gait, LR and IC are two separate phases [6]. Because IC is less than 10% of the gait cycle and its muscle activation pattern is the same as in LR, Perry also merged these two phases when demonstrating muscle activation during gait [6]. This merged approach is pervasive in GPD for FES applications [10,23,38]. As can be seen in the ω m l pattern (Figure 2a), there are two peaks after negative to positive zero crossing (i.e., LR onset in the GPD system) that are potentially associated with the end of IC that might be used to isolate IC from LR. Further processing is needed to verify this assumption.
Determining sources of GPD onset errors can prove challenging. Once identified, compensating for them can be just as difficult. One major source of delay was the Windows Task Scheduler, which sometimes delayed the communication between the GPD computer and the MoCap computer. The GPD system’s raw signal was slightly delayed in all of the data sets (66 ± 1.6 ms) relative to GPD-MoCap. This was considered a major contributing factor in onset detection delay of the GPD system and should be addressed in future development.
There are some small but impactful improvements that can increase determinism and decrease onset detection time errors of the system. First and foremost, the system should be implemented in a real-time stand-alone platform, such as the National Instruments Compact-Rio, which is compatible with our LabVIEW based GPD algorithm. Substituting commercial IMUs with a customized gyroscope sensor may decrease data transmission latency associated with additional unused sensors onboard the IMU. Wireless signal transmission protocols used by the Opal IMUs produced additional signal delays and are prone to interference—use of a wired gyroscope may reduce latency and interference.
Exhaustive timing data was not collected, but average control loop iteration time—including gyroscope data acquisition, GPD computation, auto-thresholding and commanding the stimulators—was in the millisecond range. This is low enough to contribute virtually no timing error, given that Wi-Fi latency and latency due process pre-emption by the Windows Task Scheduler are typically much higher (later testing revealed intermittent spikes as high as 200 ms in iteration time) and that observed gait phases were no shorter than 50 ms. In addition, our results indicate that our system is reliable relative to MoCap. Nevertheless, further testing is necessary to determine if the system can be reliably used long-term with wireless sensors in a non-real-time operating system. If not, wired gyroscopes can be used to eliminate Wi-Fi latency and the software can be re-deployed onto a real-time operating system such as Real-Time Linux or into an embedded system such as the NI CompactRIO platform from National Instruments.
Other limitations of this study were the low number of participants (seven TD and five with CP), and the use of handrails during treadmill walking. Push-off force at EC was not computed due to technical difficulties with handrail force data; future studies will aim to correlate push-off force with therapeutic outcomes. Overhead harnesses were used for safety but were not observed to have significantly affected gait. While sufficient for our study, auto-thresholding may be improved by using an adaptive method similar to the Self-Tuning Threshold Method used in Tang [46], which would increase the sensitivity of the algorithm to rapidly changing gait. A larger sample of children with CP may have resulted in more robust automatic detection parameters that would apply to a greater population of children. A larger sample of TD participants may have revealed variability that would have necessitated the use of auto-thresholding for this population as well. Further research is necessary to develop automatic thresholding algorithms for general use in all populations.

5. Conclusions

The GPD system detected all seven gait phases in children with CP in real time, making it a viable option for controlling stimulation delivery in walking FES systems. A thorough understanding of detection errors relative to MoCap may result in development of a compensatory mechanism and increase the system’s potential for further development. Furthermore, its minimal sensor setup, using only one gyroscope on each side, makes it a good choice for portable real-time systems.

Author Contributions

Data curation, N.Z.; formal analysis, A.B.; funding acquisition, N.Z. and S.C.K.L.; investigation, A.B., N.Z. and H.W.; methodology, A.B., N.Z., H.W. and S.C.K.L.; software, A.B. and H.W.; supervision, S.C.K.L.; validation, N.Z. and S.C.K.L.; writing—draft, A.B.; writing—review and editing, N.Z., H.W., J.A. and S.C.K.L.

Funding

This research was funded by Shriners Hospitals for Children–Philadelphia, Grant No. 71011-PHI and Foundation for the National Institute of Health Grant No. P30 GM103333. APC funding is provided by Shriners Hospitals for Children, Grant No. 71011-PHI-18.

Acknowledgments

The authors would like to thank Edward Sazanov, Melissa Torres and Rachel Jennings for their contributions to this study.

Conflicts of Interest

The authors declare no conflict of interest. The founding sponsors had no role in the design of the study; in the collection, analyses, or interpretation of data; in the writing of the manuscript, and in the decision to publish the results.

Appendix A

Table A1. Root mean square error (RMSE) of gait phase detection onset relative to motion capture for five children with cerebral palsy (CP). Gross motor function control system (GMFCS) is indicated. Gait phases are loading response (LR), mid-stance (MSt), terminal stance (TSt), pre-swing (PSw), initial swing (ISw), mid-swing (MSw) and terminal swing (TSw).
Table A1. Root mean square error (RMSE) of gait phase detection onset relative to motion capture for five children with cerebral palsy (CP). Gross motor function control system (GMFCS) is indicated. Gait phases are loading response (LR), mid-stance (MSt), terminal stance (TSt), pre-swing (PSw), initial swing (ISw), mid-swing (MSw) and terminal swing (TSw).
ParticipAnt NumberGMFCS LevelGait Phase
LRMStTStPSwISwMSwTSw
1381.6162528212719658
2368.91248470.013315577
3238485038.7499556
4258208060187173
5259397159396080

References

  1. Yu, L.; Zheng, J.; Wang, Y.; Song, Z.; Zhan, E. Adaptive method for real-time gait phase detection based on ground contact forces. Gait Posture 2015, 41, 269–275. [Google Scholar] [CrossRef]
  2. Gage, J.R. Gait analysis. An essential tool in the treatment of cerebral palsy. Clin. Orthop. Relat. Res. 1993, 288, 126–134. [Google Scholar]
  3. Sutherland, D.H.; Davids, J.R. Common Gait Abnormalities of the Knee in Cerebral Palsy. Clin. Orthop. Relat. Res. 1993, 288, 139–147. [Google Scholar]
  4. DeLuca, P.A.; Davis, R.B.; Õunpuu, S.; Rose, S.; Sirkin, R. Alterations in surgical decision making in patients with cerebral palsy based on three-dimensional gait analysis. J. Pediatr. Orthop. 1997, 17, 608–614. [Google Scholar] [CrossRef]
  5. Damiano, D.L.; Abel, M.F. Relation of gait analysis to gross motor function in cerebral palsy. Dev. Med. Child Neurol. 1996, 38, 389–396. [Google Scholar] [CrossRef] [PubMed]
  6. Perry, J. Gait Analysis: Normal and Pathological Function, 1st ed.; Slack Incorporated: Thorofare, NJ, USA, 1992; Volume 12, ISBN 9781556421921. [Google Scholar]
  7. Zheng, E.; Vitiello, N.; Wang, Q. Gait phase detection based on non-contact capacitive sensing: Preliminary results. In Proceedings of the IEEE International Conference on Rehabilitation Robotics, Nanyang Technological University, Singapore, 11–14 August 2015; Volume 2015, pp. 43–48. [Google Scholar]
  8. Senanayake, C.M.; Arosha Senanayake, S.M.N. Computational intelligent gait-phase detection system to identify pathological gait. IEEE Trans. Inf. Technol. Biomed. 2010, 14, 1173–1179. [Google Scholar] [CrossRef]
  9. Behboodi, A.; Wright, H.; Zahradka, N.; Lee, S.C.K. Seven phases of gait detected in real-time using shank attached gyroscopes. In Proceedings of the Annual International Conference of the IEEE Engineering in Medicine and Biology Society (EMBS), Milan, Italy, 25–29 August 2015; Volume 2015, pp. 5529–5532. [Google Scholar]
  10. Lauer, R.T.; Smith, B.T.; Betz, R.R. Application of a neuro-fuzzy network for gait event detection using electromyography in the child with cerebral palsy. IEEE Trans. Biomed. Eng. 2005, 52, 1532–1540. [Google Scholar] [CrossRef] [PubMed]
  11. Lee, J.K.; Park, E.J. Quasi real-time gait event detection using shank-attached gyroscopes. Med. Biol. Eng. Comput. 2011, 49, 707–712. [Google Scholar] [CrossRef]
  12. Tong, K.; Granat, M.H. A practical gait analysis system using gyroscopes. Med. Eng. Phys. 1999, 21, 87–94. [Google Scholar] [CrossRef]
  13. Agostini, V.; Gastaldi, L.; Rosso, V.; Knaflitz, M.; Tadano, S. A wearable magneto-inertial system for gait analysis (H-gait): Validation on normalweight and overweight/obese young healthy adults. Sensors 2017, 17, 2406. [Google Scholar] [CrossRef]
  14. Ryoo, M.S.; Aggarwal, J.K. Hierarchical recognition of human activities interacting with objects. In Proceedings of the IEEE Computer Society Conference on Computer Vision and Pattern Recognition, Minneapolis, MN, USA, 17–22 June 2007. [Google Scholar]
  15. Prochazka, A.; Schatz, M.; Tupa, O.; Yadollahi, M.; Vysata, O.; Walls, M. The MS kinect image and depth sensors use for gait features detection. In Proceedings of the 2014 IEEE International Conference on Image Processing (ICIP 2014), Paris, France, 27–30 October 2014; pp. 2271–2274. [Google Scholar]
  16. Boulgouris, N.V.; Huang, X. Gait recognition using hmms and dual discriminative observations for sub-dynamics analysis. IEEE Trans. Image Process. 2013, 22, 3636–3647. [Google Scholar] [CrossRef] [PubMed]
  17. Miller, A. Gait event detection using a multilayer neural network. Gait Posture 2009, 29, 542–545. [Google Scholar] [CrossRef] [PubMed]
  18. Awad, L.N.; Bae, J.; O’Donnell, K.; De Rossi, S.M.M.; Hendron, K.; Sloot, L.H.; Kudzia, P.; Allen, S.; Holt, K.G.; Ellis, T.D.; et al. A soft robotic exosuit improves walking in patients after stroke. Sci. Transl. Med. 2017, 9, eaai9084. [Google Scholar] [CrossRef]
  19. Skelly, M.M.; Chizeck, H.J. Real-time gait event detection for paraplegic FES walking. IEEE Trans. Neural Syst. Rehabil. Eng. 2001, 9, 59–68. [Google Scholar] [CrossRef] [PubMed]
  20. 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]
  21. Kotiadis, D.; Hermens, H.J.; Veltink, P.H. Inertial Gait Phase Detection for control of a drop foot stimulator. Inertial sensing for gait phase detection. Med. Eng. Phys. 2010, 32, 287–297. [Google Scholar] [CrossRef]
  22. Monaghan, C.C.; van Riel, W.J.B.M.; Veltink, P.H. Control of triceps surae stimulation based on shank orientation using a uniaxial gyroscope during gait. Med. Biol. Eng. Comput. 2009, 47, 1181–1188. [Google Scholar] [CrossRef] [Green Version]
  23. Rueterbories, J.; Spaich, E.G.; Andersen, O.K. Gait event detection for use in FES rehabilitation by radial and tangential foot accelerations. Med. Eng. Phys. 2014, 36, 502–508. [Google Scholar] [CrossRef] [PubMed]
  24. Catalfamo, P.; Ghoussayni, S.; Ewins, D. Gait event detection on level ground and incline walking using a rate gyroscope. Sensors 2010, 10, 5683–5702. [Google Scholar] [CrossRef]
  25. Taborri, J.; Scalona, E.; Palermo, E.; Rossi, S.; Cappa, P. Validation of inter-subject training for hidden markov models applied to gait phase detection in children with Cerebral Palsy. Sensors 2015, 15, 24514–24529. [Google Scholar] [CrossRef] [PubMed]
  26. Aminian, K.; Najafi, B.; Büla, C.; Leyvraz, P.F.; Robert, P. Spatio-temporal parameters of gait measured by an ambulatory system using miniature gyroscopes. J. Biomech. 2002, 35, 689–699. [Google Scholar] [CrossRef]
  27. Gouwanda, D.; Gopalai, A.A. A robustreal-time gaiteventdetection using wirelessgyroscope and itsapplication on normal and alteredgaits. Med. Eng. Phys. 2015, 37, 219–225. [Google Scholar] [CrossRef]
  28. Taborri, J.; Rossi, S.; Palermo, E.; Patanè, F.; Cappa, P. A novel HMM distributed classifier for the detection of gait phases by means of a wearable inertial sensor network. Sensors 2014, 14, 16212–16234. [Google Scholar] [CrossRef] [PubMed]
  29. Qi, Y.; Soh, C.B.; Gunawan, E.; Low, K.S.; Thomas, R. Assessment of foot trajectory for human gait phase detection using wireless ultrasonic sensor network. IEEE Trans. Neural Syst. Rehabil. Eng. 2016, 24, 88–97. [Google Scholar] [CrossRef]
  30. Jasiewicz, J.M.; Allum, J.H.J.; Middleton, J.W.; Barriskill, A.; Condie, P.; Purcell, B.; Li, R.C.T. Gait event detection using linear accelerometers or angular velocity transducers in able-bodied and spinal-cord injured individuals. Gait Posture 2006, 24, 502–509. [Google Scholar] [CrossRef] [Green Version]
  31. Nikolić, Z.M.; Popović, D.B.; Stein, R.B.; Kenwell, Z. Instrumentation for ENG and EMG Recordings in FES Systems. IEEE Trans. Biomed. Eng. 1994, 41, 703–706. [Google Scholar] [CrossRef]
  32. Chester, N.C.; Durfee, W.K. Surface EMG as a fatigue indicator during FES-induced isometric muscle contractions. J. Electromyogr. Kinesiol. 1997, 7, 27–37. [Google Scholar] [CrossRef]
  33. Behboodi, A.; Zahradka, N.; Alesi, J.; Wright, H.; Lee, S.C.K. Use of a Novel Functional Electrical Stimulation Gait Training System in 2 Adolescents with Cerebral Palsy: A Case Series Exploring Neurotherapeutic Changes. Phys. Ther. 2019. [Google Scholar] [CrossRef]
  34. Zahradka, N.; Behboodi, A.; Wright, H.; Bodt, B.; Lee, S.C. Evaluation of gait phase detection delay compensation strategies to control a functional electrical stimulation system during walking. Sensors 2019, 19, 2471. [Google Scholar] [CrossRef]
  35. Zahradka, N. When and What to Stimulate? An Evaluation of a Custom Functional Electrical Stimulation System and Its Neuroprosthetic Effect on Gait in Children with Cerebral Palsy. Ph.D. Thesis, University of Delaware, Newark, Delaware, 2017. [Google Scholar]
  36. 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]
  37. Bland, J.M.; Altman, D.G. Statistical methods for assessing agreement between measurement. Biochim. Clin. 1987, 11, 399–404. [Google Scholar]
  38. Smith, B.T.; Coiro, D.J.; Finson, R.; Betz, R.R.; McCarthy, J. Evaluation of force-sensing resistors for gait event detection to trigger electrical stimulation to improve walking in the child with cerebral palsy. IEEE Trans. Neural Syst. Rehabil. Eng. 2002, 10, 22–29. [Google Scholar] [CrossRef] [PubMed]
  39. Mulroy, S.; Gronley, J.; Weiss, W.; Newsam, C.; Perry, J. Use of cluster analysis for gait pattern classification of patients in the early and late recovery phases following stroke. Gait Posture 2003, 18, 114–125. [Google Scholar] [CrossRef]
  40. Bowden, M.G.; Balasubramanian, C.K.; Neptune, R.R.; Kautz, S.A. Anterior-posterior ground reaction forces as a measure of paretic leg contribution in hemiparetic walking. Stroke 2006, 37, 872–876. [Google Scholar] [CrossRef]
  41. Hanlon, M.; Anderson, R. Real-time gait event detection using wearable sensors. Gait Posture 2009, 30, 523–527. [Google Scholar] [CrossRef] [PubMed]
  42. Goršič, M.; Kamnik, R.; Ambrožič, L.; Vitiello, N.; Lefeber, D.; Pasquini, G.; Munih, M. Online phase detection using wearable sensors for walking with a robotic prosthesis. Sensors 2014, 14, 2776–2794. [Google Scholar] [CrossRef]
  43. Park, E.S.; Park, C.I.; Lee, H.J.; Cho, Y.S. The effect of electrical stimulation on the trunk control in young children with spastic diplegic cerebral palsy. J. Korean Med. Sci. 2001, 16, 347–350. [Google Scholar] [CrossRef] [PubMed]
  44. Lopez-Meyer, P.; Fulk, G.D.; Sazonov, E.S. Automatic detection of temporal gait parameters in poststroke individuals. IEEE Trans. Inf. Technol. Biomed. 2011, 15, 594–601. [Google Scholar] [CrossRef]
  45. Whittle, M.W. Whittle’s Gait Analysis, 5th ed.; Churchill Livingstone: London, UK, 2012; ISBN 9780702042652. [Google Scholar]
  46. Tang, J.; Zheng, J.; Wang, Y.; Yu, L.; Zhan, E.; Song, Q. Self-tuning threshold method for real-time gait phase detection based on ground contact forces using FSRs. Sensors 2018, 18, 481. [Google Scholar] [CrossRef]
Figure 1. The gait phase detection (GPD) and functional electrical stimulation (FES) system. Shank attached gyroscopes sent data to a rule-based algorithm written in LabVIEW (version 2014, National Instruments, Austin, TX, USA) and all seven phases of gait were detected. A motion capture system was used to evaluate the system.
Figure 1. The gait phase detection (GPD) and functional electrical stimulation (FES) system. Shank attached gyroscopes sent data to a rule-based algorithm written in LabVIEW (version 2014, National Instruments, Austin, TX, USA) and all seven phases of gait were detected. A motion capture system was used to evaluate the system.
Sensors 19 02517 g001
Figure 2. (a) Shank angular velocity about the medio-lateral axis ( ω m l ) for typically developing children and healthy adults during treadmill walking. Gait phase onset is based on the indicated peaks and zero-crossings. Four gait phase events are detected using ipsilateral shank angular velocity (loading response (LR), initial swing (ISw), mid-swing (MSw) and terminal swing (TSw). The three remaining gait phase events are detected using contralateral shank angular velocity (mid-stance (MSt), terminal stance (TSt) and pre-swing (PSw)). The onset of LR corresponds to initial contact (IC)/heel strike (HS) and the onset of ISw corresponds to toe-off/end-contact (TO/EC); (b) Representative shank angular velocity about the medio-lateral axis for a typically developing child (top) and a child with cerebral palsy (CP) (bottom). A distinct peak is visible at the onset of ISw (TO/EC) in TD while the peak is less distinct in CP. The sum of all three components of shank angular velocity ( ω s u m ) shows a more distinct peak at ISw onset, and was initially used for ISw detection in children with CP (bottom).
Figure 2. (a) Shank angular velocity about the medio-lateral axis ( ω m l ) for typically developing children and healthy adults during treadmill walking. Gait phase onset is based on the indicated peaks and zero-crossings. Four gait phase events are detected using ipsilateral shank angular velocity (loading response (LR), initial swing (ISw), mid-swing (MSw) and terminal swing (TSw). The three remaining gait phase events are detected using contralateral shank angular velocity (mid-stance (MSt), terminal stance (TSt) and pre-swing (PSw)). The onset of LR corresponds to initial contact (IC)/heel strike (HS) and the onset of ISw corresponds to toe-off/end-contact (TO/EC); (b) Representative shank angular velocity about the medio-lateral axis for a typically developing child (top) and a child with cerebral palsy (CP) (bottom). A distinct peak is visible at the onset of ISw (TO/EC) in TD while the peak is less distinct in CP. The sum of all three components of shank angular velocity ( ω s u m ) shows a more distinct peak at ISw onset, and was initially used for ISw detection in children with CP (bottom).
Sensors 19 02517 g002
Figure 3. Mean error (± Std) of heel strike (HS), heel-off (HO) and toe-off (TO) for gait phase detection of typically developing children (GPD-TD) relative to gait phase detection via force sensing resistors (GPD-FSR). HS corresponds to loading response, HO corresponds to terminal stance and TO corresponds to initial swing.
Figure 3. Mean error (± Std) of heel strike (HS), heel-off (HO) and toe-off (TO) for gait phase detection of typically developing children (GPD-TD) relative to gait phase detection via force sensing resistors (GPD-FSR). HS corresponds to loading response, HO corresponds to terminal stance and TO corresponds to initial swing.
Sensors 19 02517 g003
Figure 4. Gait phase detection (GPD) onset deviations (mean ± SE) relative to motion capture (GPD-MoCap). Deviations are shown for both the typically developing version of the GPD algorithm (GPD-TD, yellow) and for the version of the GPD algorithm used for participants with CP (GPD-CP, blue). Negative values indicate delays relative to GPD-MoCap.
Figure 4. Gait phase detection (GPD) onset deviations (mean ± SE) relative to motion capture (GPD-MoCap). Deviations are shown for both the typically developing version of the GPD algorithm (GPD-TD, yellow) and for the version of the GPD algorithm used for participants with CP (GPD-CP, blue). Negative values indicate delays relative to GPD-MoCap.
Sensors 19 02517 g004
Figure 5. Gait phase duration relative to motion capture (MoCap) as a precentage of gait cycle for (a) CP gait phase detection (GPD) and (b) typically developing (TD) GPD. Each color indicates a gait phase, i.e., loading response (LR), mid-stance (MSt), terminal stance (TSt), pre-swing (PSw), initial swing (ISw), mid-swing (MSw) and terminal swing (TSw).
Figure 5. Gait phase duration relative to motion capture (MoCap) as a precentage of gait cycle for (a) CP gait phase detection (GPD) and (b) typically developing (TD) GPD. Each color indicates a gait phase, i.e., loading response (LR), mid-stance (MSt), terminal stance (TSt), pre-swing (PSw), initial swing (ISw), mid-swing (MSw) and terminal swing (TSw).
Sensors 19 02517 g005
Figure 6. Bland–Altman plot for phase onset detection between CP gait phase detection (GPD) and motion capture (MoCap). Limits of agreement (gray dashed line) are the averaged difference (red line) ± 2 SD. Each color represents a gait phase, i.e., loading response (LR), mid-stance (MSt), terminal stance (TSt), pre-swing (PSw), initial swing (ISw), mid-swing (MSw) and terminal swing (TSw). A total of 700 data points were used from both CP GPD and MoCap.
Figure 6. Bland–Altman plot for phase onset detection between CP gait phase detection (GPD) and motion capture (MoCap). Limits of agreement (gray dashed line) are the averaged difference (red line) ± 2 SD. Each color represents a gait phase, i.e., loading response (LR), mid-stance (MSt), terminal stance (TSt), pre-swing (PSw), initial swing (ISw), mid-swing (MSw) and terminal swing (TSw). A total of 700 data points were used from both CP GPD and MoCap.
Sensors 19 02517 g006
Table 1. Participant age, gender, Self-selected walking speed (SSWS), Gross Motor Function Classification System (GMFCS) level, height and weight.
Table 1. Participant age, gender, Self-selected walking speed (SSWS), Gross Motor Function Classification System (GMFCS) level, height and weight.
Age (yrs)GenderSSWS (m/s)GMFCSHeight (m)Weight (kg)
TD0116M0.8N/A1.7871.92
TD0210M0.8N/A1.4632.55
TD0310F1.2N/A1.4631.95
TD0412F1.25N/A1.5943.25
TD0512F1N/A1.4736.42
TD0614F1.1N/A1.5552.61
TD0713F1.1N/A1.7356.29
CP0115M0.6III1.6732.13
CP0216M0.8III1.7060.06
CP0318M0.9II1.7061.97
CP0412M0.75II1.5241.50
CP0513F0.8II1.4581.49
Mean13.42 0.93 1.5950.18
STD2.36 0.19 0.1215.85
Table 2. Gait phase detection (GPD) events for the algorithm used in this paper (GPD-TD), motion-capture-based GPD (GPD-MoCap) and force-sensitive-resistor based GPD (GPD-FSR).
Table 2. Gait phase detection (GPD) events for the algorithm used in this paper (GPD-TD), motion-capture-based GPD (GPD-MoCap) and force-sensitive-resistor based GPD (GPD-FSR).
Gait PhaseGPD-TD Event (ωml)GPD-MoCap EventGPD-FSR Event
LR Onset/HS/ICZero-crossing (negative to positive) [22]IC on force plate [6]Heel FSR on
MSt onset/FFContralateral TO [6]Contralateral TO [6]
TSt onset/HOContralateral TSw [6]Contralateral TSw [6]Heel FSR off
PSw onsetContralateral IC/HS [6]Contralateral IC [6]
ISw onset/TO/ECLast positive peak [30]EC on force plate [6]Toe FSR off
MSw onsetZero-crossing (positive to negative)Max knee angle [6]
TSw onsetValley [36]Max shank angular velocity [36]
Gait phases (loading response (LR), mid-stance (MSw), terminal stance (TSt), pre-swing (PSw), initial swing (ISw) and terminal swing (TSw) are based on kinematic or kinetic data. LR onset corresponds to heel strike (HS), also called initial contact (IC). MSw onset corresponds to foot-flat (FF). TSt onset corresponds to heel-off (HO). ISw onset corresponds to toe-off (TO), also called end-contact (EC). Events for GPD-TD are based on medio-lateral shank angular velocity ( ω m l ).
Table 3. Root mean square error (RMSE) of Gait phase detection (GPD) onset relative to motion capture (GPD-MoCap) for the typically developing version of the GPD algorithm (GPD-TD), and for the version of the GPD algorithm used for participants with CP (GPD-CP) without auto-thresholding (AT) and GPD-CP with AT. Times are in ms. Gait phases are loading response (LR), mid-stance (MSt), terminal stance (TSt), pre-swing (PSw), initial swing (ISw), mid-swing (MSw) and terminal swing (TSw). Times are in ms.
Table 3. Root mean square error (RMSE) of Gait phase detection (GPD) onset relative to motion capture (GPD-MoCap) for the typically developing version of the GPD algorithm (GPD-TD), and for the version of the GPD algorithm used for participants with CP (GPD-CP) without auto-thresholding (AT) and GPD-CP with AT. Times are in ms. Gait phases are loading response (LR), mid-stance (MSt), terminal stance (TSt), pre-swing (PSw), initial swing (ISw), mid-swing (MSw) and terminal swing (TSw). Times are in ms.
LRMStTStPSwISwMSwTSw
GPD-TD527098527035105
GPD-CP without AT639669638112770
GPD-CP with AT638884558814189
Table 4. Gait cycle duration RMSE relative to motion capture for both the typically developing version of the GPD algorithm (GPD-TD) and for the version of the GPD algorithm used for participants with CP (GPD-CP). Times are in ms.
Table 4. Gait cycle duration RMSE relative to motion capture for both the typically developing version of the GPD algorithm (GPD-TD) and for the version of the GPD algorithm used for participants with CP (GPD-CP). Times are in ms.
Subject NumberMean ± SE
01020304050607
GPD-TD2323271728162122 ± 1.7
GPD-CP2113382416N/AN/A22 ± 4.3
Table 5. Comparison of our GPD system to similar GPD systems from well-cited studies. Gray cells indicate relative shortcomings of the corresponding system. The last row is our GPD system.
Table 5. Comparison of our GPD system to similar GPD systems from well-cited studies. Gray cells indicate relative shortcomings of the corresponding system. The last row is our GPD system.
StudyNo. of Detected PhasesReal TimeSensor Setup on Each SideOnset Detection Time Error Reported
Lauer et al. [10]7 No1 EMG Yes
Senanayake et al. [8]7Yes4 FSR + 6 Inertial sensors (2 IMU) No
Pappas et al. [20]4Yes3 FSR + 1 GyroYes
Smith et al. [38]5Yes3 FSRYes
Our GPD system 7Yes1 GyroYes
Table 6. Mean and one standard deviation (SD) of calculated delays in studies that evaluated their gait phase detection (GPD) algorithm vs. force-sensing resistor GPD (GPD-FSR). Values are in milliseconds and negative values correspond to delays relative to GPD-FSR. Delays are reported for heel strike (HS) and toe-off (TO).
Table 6. Mean and one standard deviation (SD) of calculated delays in studies that evaluated their gait phase detection (GPD) algorithm vs. force-sensing resistor GPD (GPD-FSR). Values are in milliseconds and negative values correspond to delays relative to GPD-FSR. Delays are reported for heel strike (HS) and toe-off (TO).
StudyGait Events
HS
Mean (SD)
TO
Mean (SD)
Lee et al. [11]19 −3
Kotiadis et al. [21]System 1~−40 (20)~100 (35)
System 2~−60 (20)~10 (25)
Catalfamo et al. [24]−8 (9)50 (14)
Jasiewiz et al. [30]System 1−11 (23)19 (34)
System 2−12 (22)15 (26)
System 3−14 (23)23 (28)
Our GPD system−12.5 (12)−18.5 (17)

Share and Cite

MDPI and ACS Style

Behboodi, A.; Zahradka, N.; Wright, H.; Alesi, J.; Lee, S.C.K. Real-Time Detection of Seven Phases of Gait in Children with Cerebral Palsy Using Two Gyroscopes. Sensors 2019, 19, 2517. https://doi.org/10.3390/s19112517

AMA Style

Behboodi A, Zahradka N, Wright H, Alesi J, Lee SCK. Real-Time Detection of Seven Phases of Gait in Children with Cerebral Palsy Using Two Gyroscopes. Sensors. 2019; 19(11):2517. https://doi.org/10.3390/s19112517

Chicago/Turabian Style

Behboodi, Ahad, Nicole Zahradka, Henry Wright, James Alesi, and Samuel. C. K. Lee. 2019. "Real-Time Detection of Seven Phases of Gait in Children with Cerebral Palsy Using Two Gyroscopes" Sensors 19, no. 11: 2517. https://doi.org/10.3390/s19112517

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