Abstract
Background:
Gait event detection is critical for remote gait analysis. Algorithms using a thigh-worn accelerometer for estimating spatiotemporal gait variables have demonstrated clinical utility in monitoring the gait of patients with gait and balance impairment. However, one may obtain accurate estimates of spatiotemporal variables, but with biased estimates of foot contact and foot off events. Some biomechanical analyses depend on accurate gait phase segmentation, but previous studies using a thigh-worn accelerometer have not quantified the error in estimating foot contact and foot off events.
Methods:
Gait events and spatiotemporal gait variables were estimated using a thigh-worn accelerometer from 32 healthy subjects across a range of walking speeds (0.56 – 1.78 m/s). Ground truth estimates were obtained using vertical ground reaction forces measured using a pressure treadmill. Estimation performance was quantified using absolute error, root mean square error, and correlation analysis.
Results:
Across all strides (N = 3,898), the absolute error in estimating foot contact, foot off, stride time, stance time, and swing time was similar to other accelerometer-based techniques (39 ± 28 ms, 28 ± 28 ms, 11 ± 14 ms, 46 ± 31 ms, and 45 ± 30 ms, respectively). The correlation between reference measurements and estimates of bout-average stride time, stance time, and swing time were 1.00, 0.92, and 0.80, respectively. The (5th, 95th) percentiles of the foot contact and foot off estimation errors were (−91 ms, 51 ms) and (−70 ms, 60 ms), the largest of which amounts to about three samples using the 31.25 Hz sampling frequency used in this study.
Significance:
Use of the proposed algorithm for estimating spatiotemporal gait variables is supported by the strong correlations with reference measurements. The gait event estimation error distributions provide bounds on the estimated gait events for enforcing gait phase-dependent task constraints for biomechanical analysis.
Keywords: event detection, accelerometer, wearable sensor, gait analysis
1. Introduction
Recent developments in remote gait analysis promise improved monitoring of patients with both neurological and musculoskeletal conditions [1–5]. Gait event detection is doubly important for remote analyses as it provides the information needed to compute spatiotemporal gait variables, which alone are clinically informative, and enables more complex analyses that require accurate gait phase segmentation (e.g., see [1]). For example, knowledge of gait phase can aid in the use of simplifying assumptions such as zero foot velocity during stance for pedestrian tracking [6] or zero distal contact forces during swing for inverse dynamics-based estimates of joint moment [7].
Several gait event detection methods have been proposed and differ according to algorithm used and the number, type, and location of wearable sensors [8]. Methods utilizing a single, thigh-worn accelerometer are practically deployable as they present minimal burden to the patient and have demonstrated clinical utility [1,9]. Aminian et al. (1999) validated an algorithm using a thigh-worn accelerometer for estimating spatiotemporal variables for preferred walking speeds which relied on constant low-pass filter cutoff frequencies. We used a modified version of the Aminian algorithm with adaptable cutoff frequencies for monitoring patients’ gait following knee surgery [1]. It is important to note that accurate estimates of spatiotemporal gait variables do not infer accurate estimation of the actual foot contact or foot off events. These errors should be characterized so that gait phase-dependent task constraints can be applied appropriately. However, errors in thigh-worn accelerometer-based estimates of foot contact and foot off events have not been reported in previous studies [9–11]. Therefore, the purpose of this study was to quantify the error in estimating foot contact and foot off events during gait using a modified version of the algorithm proposed in [1]. We also report spatiotemporal gait variable estimation performance for comparison to previous studies.
2. Methods
2.1. Experimental Design
Thirty-two healthy subjects (16 female, 21 ± 3 years old, height (data available from 31 subjects): 1.74 ± 0.09 m) walked for one-minute at various self-selected walking speeds on a pressure treadmill (h/p/cosmos quasar, Nussdorf-Traunstein, Germany, 100 Hz) with a three-axis accelerometer (Opal, APDM, Inc., Portland, OR, USA) on the left and right lateral thigh. The range of walking speeds (0.56 – 1.78 m/s) and stride times (0.91 – 1.57 s) analyzed well encompass those observed for young and elderly healthy populations [2,12] as well as for patients with neurological and musculoskeletal impairment [1,3]. Ground truth foot contact and foot off instances were identified from the vertical ground reaction force measurements provided by the treadmill using a 20 N threshold. Accelerometer data were downsampled from the original sampling frequency (128 Hz) to 31.25 Hz to mimic sampling frequencies used for remote monitoring [1]. All subjects provided written consent to participate and study activities were approved by the local Institutional Review Board.
2.2. Event Detection Algorithm
All accelerometer data were first projected onto the long axis of the thigh (identified during a standing calibration trial [1]). Next, the step frequency (fstr) and stride frequency (fstr) were estimated from the power spectral density of the accelerometer signal during the walking bout (Figure 1a). The signal was then low-pass filtered with cutoff frequencies equal to fstp, fstr, and 5 · fstr (Figure 1b) where the cutoff frequency 5 · fstr was chosen to remove soft-tissue artefact while accounting for variable stride frequencies (as is characteristic in other sensing modalities [13]). Foot off events were estimated as the instants associated with the larger peaks in the fstp -filtered signal (arrow 3 in Figure 1b) just prior to a local minima in the fstr -filtered signal (arrow 1 in Figure 1b). Foot contact events were estimated as the instants associated with the positive going 1 g crossings (arrow 2 in Figure 1b) of the 5 · fstr filtered signal (determined via linear interpolation where necessary) following each identified foot off event. Source code is provided in the online supplemental material as well as a more detailed description of the algorithm.
2.3. Statistical Analysis
Estimation performance was quantified across all strides using the absolute error (AE) and root mean square error (RMSE) between the reference measurements and accelerometer-based estimates of foot contact and foot off events as well as stride time, stance time, and swing time. The bout-average stride, stance, and swing time estimates were further evaluated using Pearson’s correlation coefficient and Bland-Altman analysis for repeated measures [14,15].
3. Results
Across all strides (N = 3,898), the estimation error was 39 ± 28 ms AE (47 ms RMSE) for foot contact; 28 ± 28 ms AE (40 ms RMSE) for foot off; 11 ± 14 ms AE (17 ms RMSE) for stride time; 46 ± 31 ms AE (55 ms RMSE) for stance time; and 45 ± 30 ms AE (54 ms RMSE) for swing time. The correlation between the estimated and measured bout-average stride, stance, and swing times were 1.00, 0.92, and 0.80, respectively. The bias and 95% limits of agreement (lower limit, upper limit) for the bout-average stride, stance, and swing time estimates were 0 (−2, 3) ms, 13 (−85, 110) ms, and −12 (−109, 85) ms, respectively. The (5th, 95th) percentiles (mean ± 1.65 SD) of the foot contact and foot off estimation errors were (−91, 51) ms and (−70, 60) ms.
4. Discussion
The RMSE in estimating foot contact and foot off events (47 ms and 40 ms) present improvements over that reported for a shank accelerometer (80 ms and 68 ms) [16]. Methods using a sacral accelerometer appear more accurate for foot contact estimation (28 ms RMSE), but with comparable foot off estimation errors (40 ms RMSE) [16]. Based on the error distributions in estimating these gait events (5th and 95th percentiles), biomechanical analyses enforcing task constraints dependent on the stance (swing) phase of gait should force the assumption only for data at least 51 ms after (91 ms before) the estimated foot contact event and 70 ms before (60 ms after) the estimated foot off event. This knowledge provides the intervals of time during which one may apply stance phase- (e.g., zero velocity updates) and/or swing phase- (e.g., zero distal contact force) based assumptions with 95% confidence. The largest of these (91 ms) amounts to less than three samples for the 31.25 Hz sampling frequency. In a post-hoc analysis we found nearly identical results in foot contact and foot off estimation error with data sampled at 128 Hz (40 ms and 28 ms AE, respectively) and thus inaccuracies in the proposed algorithm cannot be attributed to the relatively low sampling frequency. Bland-Altman analysis revealed an apparent relationship between stance and swing time errors and their magnitudes (Figure 2). Similar results have been observed previously [16] and warrants further investigation. Nevertheless, spatiotemporal gait variables were estimated with strong correlations (r ≥ 0.80) and low absolute errors (11 to 46 ms) comparable to other methods [16]. These results were observed for a large sample size relative to previous studies of similar aim [9,10,16] and for a broad range of gait speeds and stride times which are representative of a multitude of subject populations [1,2,12], supporting the use of this approach for remote gait analysis.
Supplementary Material
Highlights.
Validation of a gait event detection algorithm using a thigh-worn accelerometer
Strong correlations between estimated and measured spatiotemporal gait variables
Low mean absolute error in gait event detection (28 to 39 ms)
Source code for the algorithm has been made available
Acknowledgements
This work was partially funded by the Vermont Space Grant Consortium under NASA Cooperative Agreement NNX15AP86H, the NIH under Grant R21EB027852, and MC10, Inc.
Footnotes
Publisher's Disclaimer: This is a PDF file of an unedited manuscript that has been accepted for publication. As a service to our customers we are providing this early version of the manuscript. The manuscript will undergo copyediting, typesetting, and review of the resulting proof before it is published in its final form. Please note that during the production process errors may be discovered which could affect the content, and all legal disclaimers that apply to the journal pertain.
Conflict of interest
RSM owns stock in MC10, Inc. This conflict is being managed by the University of Vermont.
References
- [1].Gurchiek RD, Choquette RH, Beynnon BD, Slauterbeck JR, Tourville TW, Toth MJ, McGinnis RS, Open-Source Remote Gait Analysis: A Post-Surgery Patient Monitoring Application, Sci Rep. 9 (2019) 17966 10.1038/s41598-019-54399-1. [DOI] [PMC free article] [PubMed] [Google Scholar]
- [2].Takayanagi N, Sudo M, Yamashiro Y, Lee S, Kobayashi Y, Niki Y, Shimada H, Relationship between Daily and In-laboratory Gait Speed among Healthy Community-dwelling Older Adults, Sci Rep. 9 (2019) 3496 10.1038/s41598-019-39695-0. [DOI] [PMC free article] [PubMed] [Google Scholar]
- [3].Del Din S, Godfrey A, Galna B, Lord S, Rochester L, Free-living gait characteristics in ageing and Parkinson’s disease: impact of environment and ambulatory bout length, J Neuroeng Rehabil. 13 (2016) 46 10.1186/s12984-016-0154-5. [DOI] [PMC free article] [PubMed] [Google Scholar]
- [4].Frechette ML, Meyer BM, Tulipani LJ, Gurchiek RD, McGinnis RS, Sosnoff JJ, Next Steps in Wearable Technology and Community Ambulation in Multiple Sclerosis, Curr Neurol Neurosci Rep. 19 (2019) 80 10.1007/s11910-019-0997-9. [DOI] [PubMed] [Google Scholar]
- [5].Ullrich M, Küderle A, Hannink J, Del Din S, Gassner H, Marxreiter F, Klucken J, Eskofier BM, Kluge F, Detection of Gait From Continuous Inertial Sensor Data Using Harmonic Frequencies, IEEE Journal of Biomedical and Health Informatics. (2020) 1–1. 10.1109/JBHI.2020.2975361. [DOI] [PubMed] [Google Scholar]
- [6].Fischer C, Talkad Sukumar P, Hazas M, Tutorial: Implementing a Pedestrian Tracker Using Inertial Sensors, IEEE Pervasive Comput. 12 (2013) 17–27. 10.1109/MPRV.2012.16. [DOI] [Google Scholar]
- [7].McGinnis RS, Hough J, Perkins NC, Accuracy of Wearable Sensors for Estimating Joint Reactions, J. Comput. Nonlinear Dynam 12 (2017) 041010–041010–10. 10.1115/1.4035667. [DOI] [Google Scholar]
- [8].Rueterbories J, Spaich EG, Larsen B, Andersen OK, Methods for gait event detection and analysis in ambulatory systems, Medical Engineering & Physics. 32 (2010) 545–552. 10.1016/j.medengphy.2010.03.007. [DOI] [PubMed] [Google Scholar]
- [9].Aminian K, Rezakhanlou K, De Andres E, Fritsch C, Leyvraz PF, Robert P, Temporal feature estimation during walking using miniature accelerometers: an analysis of gait improvement after hip arthroplasty, Med Biol Eng Comput. 37 (1999) 686–691. [DOI] [PubMed] [Google Scholar]
- [10].Shimada Y, Ando S, Matsunaga T, Misawa A, Aizawa T, Shirahata T, Itoi E, Clinical Application of Acceleration Sensor to Detect the Swing Phase of Stroke Gait in Functional Electrical Stimulation, Tohoku J. Exp. Med 207 (2005) 197–202. 10.1620/tjem.207.197. [DOI] [PubMed] [Google Scholar]
- [11].Khandelwal S, Wickström N, Novel methodology for estimating Initial Contact events from accelerometers positioned at different body locations, Gait & Posture. 59 (2018) 278–285. 10.1016/j.gaitpost.2017.07.030. [DOI] [PubMed] [Google Scholar]
- [12].Sun D, Fekete G, Mei Q, Gu Y, The effect of walking speed on the foot inter-segment kinematics, ground reaction forces and lower limb joint moments, PeerJ. 6 (2018) e5517 10.7717/peerj.5517. [DOI] [PMC free article] [PubMed] [Google Scholar]
- [13].Hug F, Can muscle coordination be precisely studied by surface electromyography?, Journal of Electromyography and Kinesiology. 21 (2011) 1–12. 10.1016/j.jelekin.2010.08.009. [DOI] [PubMed] [Google Scholar]
- [14].Bland JM, Altman DG, Statistical methods for assessing agreement between two methods of clinical measurement, Lancet. 1 (1986) 307–310. [PubMed] [Google Scholar]
- [15].Bland JM, Altman DG, Agreement between methods of measurement with multiple observations per individual, Journal of Biopharmaceutical Statistics. 17 (2007) 571–582. [DOI] [PubMed] [Google Scholar]
- [16].Ben Mansour K, Rezzoug N, Gorce P, Analysis of several methods and inertial sensors locations to assess gait parameters in able-bodied subjects, Gait & Posture. 42 (2015) 409–414. 10.1016/j.gaitpost.2015.05.020. [DOI] [PubMed] [Google Scholar]
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.