Template-Based Step Detection with Inertial Measurement Units
Abstract
:1. Introduction
2. Data and Experiments
2.1. Data Acquisition and Protocol
- stand quiet for 6 s
- walk 10 m at preferred walking speed on a level surface
- make a U turn
- walk back
- stand quiet 2 s
2.2. Data Annotation
- The uncertainties in the definition of the starts and ends of the steps. Indeed, we can see in Figure 2a, that many choices would be acceptable: depending on the considered definition, the results may be different.
- The variability of the step patterns according to the pathology, the age, the weight, etc. For example, on Figure 2b, the subject is dragging his feet, causing an abrupt change in the step pattern (noisy part at the end of the step).
3. Method
3.1. Library of Templates
3.2. Step Detection
- is the number of three-dimensional templates
- (resp. ) is the number of samples of x (resp. p)
- (resp. ) is the kth component of x (resp. p). In our case we have
- is the portion of between time samples and (we therefore have )
Algorithm 1: Step detection algorithm. |
4. Results
4.1. Evaluation Metrics
- Precision (or positive predictive value). A detected step is counted as correct if the mean of its start and end times lies inside an annotated step. An annotated step can only be detected one time. If several detected steps correspond to the same annotated step, all but one are considered as false. The precision is the number of correctly detected steps divided by the total number of detected steps.
- Recall (or sensitivity). An annotated step is counted as detected if the mean of its start and end times lies inside a detected step. A detected step can only be used to detect one annotated step. If several annotated steps are detected with the same detected step, all but one are considered undetected. The recall is the number of detected annotated steps divided by the total number of annotated steps.
- ΔStart. For a correctly detected step, it is the difference between the detected start time and the annotated start time.
- ΔEnd. For a correctly detected step, it is the difference between the detected end time and the annotated end time.
- ΔDuration. For a correctly detected step, it is the difference between the duration of the detected step and the duration of the annotated step.
4.2. State-of-the-Art
- Bandpass filtering (between and ): removes the gravity component and the noise.
- Derivation: amplifies the slope changes in the filtered signal. Whenever the foot rises from the ground or the heel hits the ground, the acceleration slope changes significantly and it translates into a burst in the filtered signal.
- Squaring: makes all points positive and enhances the large values of the filtered signal.
- Integration: the signal is smoothed using a moving-window integrator of length .
- Peak search procedure: originally, Pan & Tompkins [36] used a threshold to find the phenomena they were looking for in the heart rate signal (every time the filtered signal was above the threshold, it was considered as detected). When they adapted the algorithm to the step detection problem, Ying et al. [21] relied on the fact that the filtered signal showed great regularity: a small peak was always followed by a bigger one (respectively matching the foot lift and the heel strike). The time span of the second peak was defined as the peak-searching interval on the real acceleration signal. The maximum on that interval was considered a step.
4.3. Results
5. Discussion and Perspectives
6. Conclusions
Author Contributions
Funding
Acknowledgments
Conflicts of Interest
References
- Auvinet, B.; Berrut, G.; Touzard, C.; Moutel, L.; Collet, N.; Chaleil, D.; Barrey, E. Reference data for normal subjects obtained with an accelerometric device. Gait Posture 2002, 16, 124–134. [Google Scholar] [CrossRef]
- Mariani, B. Assessment of Foot Signature Using Wearable Sensors for Clinical Gait Analysis and Real-Time Activity Recognition. Ph.D. Thesis, EPFL, Lausanne, Switzerland, 2012. [Google Scholar]
- Dadashi, F.; Mariani, B.; Rochat, S.; Büla, C.J.; Santos-Eggimann, B.; Aminian, K. Gait and Foot Clearance Parameters Obtained Using Shoe-Worn Inertial Sensors in a Large-Population Sample of Older Adults. Sensors 2013, 14, 443–457. [Google Scholar] [CrossRef] [PubMed] [Green Version]
- Zijlstra, W. Assessment of spatio-temporal parameters during unconstrained walking. Eur. J. Appl. Physiol. 2004, 92, 39–44. [Google Scholar] [CrossRef] [PubMed]
- 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] [PubMed]
- Shin, S.H.; Park, C.G. Adaptive step length estimation algorithm using optimal parameters and movement status awareness. Med. Eng. Phys. 2011, 33, 1064–1071. [Google Scholar] [CrossRef] [PubMed]
- Trojaniello, D.; Cereatti, A.; Pelosin, E.; Avanzino, L.; Mirelman, A.; Hausdorff, J.M.; Della Croce, U. Estimation of step-by-step spatio-temporal parameters of normal and impaired gait using shank-mounted magneto-inertial sensors: Application to elderly, hemiparetic, parkinsonian and choreic gait. J. Neuroeng. Rehabil. 2014, 11, 152. [Google Scholar] [CrossRef] [PubMed]
- Sejdic, E.; Lowry, K.A.; Bellanca, J.; Redfern, M.S.; Brach, J.S. A comprehensive assessment of gait accelerometry signals in time, frequency and time-frequency domains. IEEE Trans. Neural Syst. Rehabil. Eng. 2014, 22, 603–612. [Google Scholar] [CrossRef] [PubMed]
- Chang, M.D.; Sejdić, E.; Wright, V.; Chau, T. Measures of dynamic stability: Detecting differences between walking overground and on a compliant surface. Hum. Mov. Sci. 2010, 29, 977–986. [Google Scholar] [CrossRef] [PubMed]
- Jiang, X.; Chu, K.H.; Khoshnam, M.; Menon, C. A Wearable Gait Phase Detection System Based on Force Myography Techniques. Sensors 2018, 18, 1279. [Google Scholar] [CrossRef] [PubMed]
- Marschollek, M.; Goevercin, M.; Wolf, K.H.; Song, B.; Gietzelt, M.; Haux, R.; Steinhagen-Thiessen, E. A performance comparison of accelerometry-based step detection algorithms on a large, non-laboratory sample of healthy and mobility-impaired persons. In Proceedings of the Annual International Conference of the IEEE Engineering in Medicine and Biology Society (EMBC), Vancouver, BC, Canada, 20–24 August 2008; pp. 1319–1322. [Google Scholar]
- Willemsen, A.; Bloemhof, F.; Boom, H. Automatic stance-swing phase detection from accelerometer data for peroneal nerve stimulation. IEEE Trans. Biomed. Eng. 1990, 37, 1201–1208. [Google Scholar] [CrossRef] [PubMed] [Green Version]
- Dijkstra, B.; Zijlstra, W.; Scherder, E.; Kamsma, Y. Detection of walking periods and number of steps in older adults and patients with Parkinson’s disease: Accuracy of a pedometer and an accelerometry-based method. Age Ageing 2008, 37, 436–441. [Google Scholar] [CrossRef] [PubMed] [Green Version]
- Han, J.; Jeon, H.S.; Jeon, B.S.; Park, K.S. Gait detection from three dimensional acceleration signals of ankles for the patients with Parkinson’s disease. In Proceedings of the International Special Topic Conference on Information Technology in Biomedicine, Ioannina, Greece, 26–28 October 2006. [Google Scholar]
- Lee, H.K.; You, J.; Cho, S.P.; Hwang, S.J.; Lee, D.R.; Kim, Y.H.; Lee, K.J. Computational methods to detect step events for normal and pathological gait evaluation using accelerometer. Electron. Lett. 2010, 46, 1185–1187. [Google Scholar] [CrossRef]
- 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]
- Seel, T.; Werner, C.; Schauer, T. The adaptive drop foot stimulator—Multivariable learning control of foot pitch and roll motion in paretic gait. Med. Eng. Phys. 2016, 38, 1205–1213. [Google Scholar] [CrossRef] [PubMed]
- Soaz, C.; Diepold, K. Step Detection and Parameterization for Gait Assessment Using a Single Waist-Worn Accelerometer. IEEE Trans. Biomed. Eng. 2016, 63, 933–942. [Google Scholar] [CrossRef] [PubMed]
- Micó-Amigo, M.E.; Kingma, I.; Ainsworth, E.; Walgaard, S.; Niessen, M.; van Lummel, C.R.; van Dieën, H.J. A novel accelerometry-based algorithm for the detection of step durations over short episodes of gait in healthy elderly. J. NeuroEng. Rehabil. 2016, 13, 38. [Google Scholar] [CrossRef] [PubMed]
- Rampp, A.; Barth, J.; Schülein, S.; Gaßmann, K.G.; Klucken, J.; Eskofier, B.M. Inertial Sensor-Based Stride Parameter Calculation From Gait Sequences in Geriatric Patients. IEEE Trans. Biomed. Eng. 2015, 62, 1089–1097. [Google Scholar] [CrossRef] [PubMed]
- Ying, H.; Silex, C.; Schnitzer, A.; Leonhardt, S.; Schiek, M. Automatic step detection in the accelerometer signal. In Proceedings of the International Workshop on Wearable and Implantable Body Sensor Networks (BSN), Aachen, Germany, 26–28 March 2007; pp. 80–85. [Google Scholar]
- Köse, A.; Cereatti, A.; Della Croce, U. Bilateral step length estimation using a single inertial measurement unit attached to the pelvis. J. NeuroEng. Rehabil. 2012, 9, 9. [Google Scholar] [CrossRef] [PubMed] [Green Version]
- Gouwanda, D.; Gopalai, A.A. A robust real-time gait event detection using wireless gyroscope and its application on normal and altered gaits. Med. Eng. Phys. 2015, 37, 219–225. [Google Scholar] [CrossRef] [PubMed]
- Greene, B.R.; Foran, T.G.; McGrath, D.; Doheny, E.P.; Burns, A.; Caulfield, B. A comparison of algorithms for body-worn sensor-based spatiotemporal gait parameters to the GAITRite electronic walkway. J. Appl. Biomech. 2012, 28, 349–355. [Google Scholar] [CrossRef] [PubMed]
- McCamley, J.; Donati, M.; Grimpampi, E.; Mazzà, C. An enhanced estimate of initial contact and final contact instants of time using lower trunk inertial sensor data. Gait Posture 2012, 36, 316–318. [Google Scholar] [CrossRef] [PubMed]
- González, R.C.; López, A.M.; Rodriguez-Uría, J.; Álvarez, D.; Alvarez, J.C. Real-time gait event detection for normal subjects from lower trunk accelerations. Gait Posture 2010, 31, 322–325. [Google Scholar] [CrossRef] [PubMed]
- Trojaniello, D.; Cereatti, A.; Della Croce, U. Accuracy, sensitivity and robustness of five different methods for the estimation of gait temporal parameters using a single inertial sensor mounted on the lower trunk. Gait Posture 2014, 40, 487–492. [Google Scholar] [CrossRef] [PubMed]
- Zijlstra, W.; Hof, A.L. Assessment of spatio-temporal gait parameters from trunk accelerations during human walking. Gait Posture 2003, 18, 1–10. [Google Scholar] [CrossRef] [Green Version]
- Libby, R. A Simple Method for Reliable Footstep Detection in Embedded Sensor Platforms. Available online: http://ozeo.org/lib/exe/fetch.php?media=bodytrack:libby_peak_detection.pdf (accessed on 19 November 2018).
- Thüer, G.; Verwimp, T. Step Detection Algorithms for Accelerometers. Master’s Thesis, Artesis University College of Antwerp, Antwerpen, Belgium, 2008. [Google Scholar]
- Mladenov, M.; Mock, M. A step counter service for Java-enabled devices using a built-in accelerometer. In Proceedings of the International Workshop on Context-Aware Middleware and Services (COMSWARE 2009), Dublin, Ireland, 15–19 June 2009; pp. 1–5. [Google Scholar]
- Fortune, E.; Lugade, V.; Morrow, M.; Kaufman, K. Step counts using a tri-axial accelerometer during activity. In Proceedings of the American Society of Biomechanics Annual Meeting (ASB), Gainsville, FL, USA, 15–18 August 2012. [Google Scholar]
- Djurić-Jovicić, M.D.; Jovicić, N.S.; Radovanović, S.M.; Kresojević, N.D.; Kostić, V.S.; Popović, M.B. Quantitative and qualitative gait assessments in Parkinson’s disease patients. Vojnosanit. Pregl. 2014, 71, 809–816. [Google Scholar] [CrossRef] [PubMed]
- Dibble, L.E.; Nicholson, D.E.; Shultz, B.; MacWilliams, B.A.; Marcus, R.L.; Moncur, C. Sensory cueing effects on maximal speed gait initiation in persons with Parkinson’s disease and healthy elders. Gait Posture 2004, 19, 215–225. [Google Scholar] [CrossRef]
- Glaister, B.C.; Bernatz, G.C.; Klute, G.K.; Orendurff, M.S. Video task analysis of turning during activities of daily living. Gait Posture 2007, 25, 289–294. [Google Scholar] [CrossRef] [PubMed]
- Pan, J.; Tompkins, W.J. A real-time QRS detection algorithm. IEEE Trans. Biomed. Eng. 1985, 32, 230–236. [Google Scholar] [CrossRef] [PubMed]
- Mantilla, J.; Oudre, L.; Barrois, R.; Vienne, A.; Ricard, D. Template-DTW based on inertial signals: Preliminary results for step characterization. In Proceedings of the Annual International Conference of the IEEE Engineering in Medicine and Biology Society (EMBC), Jeju Island, Korea, 1–15 July 2017. [Google Scholar]
- Vienne, A.; Barrois, R.; Vidal, P.P.; Buffat, S.; Ricard, D. Inertial sensors to assess gait quality in patients with neurological disorders: A systematic review. Front. Psychol. 2017, 8, 817. [Google Scholar] [CrossRef] [PubMed]
- Salarian, A.; Russmann, H.; Vingerhoets, F.; Dehollain, C.; Blanc, Y.; Burkhard, P.; Aminian, K. Gait assessment in Parkinson’s disease: Toward an ambulatory system for long-term monitoring. IEEE Trans. Biomed. Eng. 2004, 51, 1434–1443. [Google Scholar] [CrossRef] [PubMed]
- Ben Mansour, K.; Rezzoug, N.; Gorce, P. Comparison between several locations of gyroscope for gait events detection. Comput. Methods Biomech. Biomed. Eng. 2015, 1–2. [Google Scholar] [CrossRef] [PubMed]
- Mannini, A.; Sabatini, A.M. Gait phase detection and discrimination between walking—Jogging activities using hidden Markov models applied to foot motion data from a gyroscope. Gait Posture 2012, 36, 657–661. [Google Scholar] [CrossRef] [PubMed]
- Jasiewicz, J.M.; Allum, J.H.; 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] [PubMed] [Green Version]
- Barth, J.; Oberndorfer, C.; Pasluosta, C.; Schülein, S.; Gassner, H.; Reinfelder, S.; Kugler, P.; Schuldhaus, D.; Winkler, J.; Klucken, J.; et al. Stride segmentation during free walk movements using multi-dimensional subsequence dynamic time warping on inertial sensor data. Sensors 2015, 15, 6419–6440. [Google Scholar] [CrossRef] [PubMed]
Group | Number of Exercises | Number of Subjects | Sex (M/F) | Age (year) | Height (cm) | Weight (kg) |
---|---|---|---|---|---|---|
Healthy subjects | 242 | 52 | 35/17 | 36.4 (20.6) | 173.4 (10.8) | 70.7 (12.2) |
Orthopedic diseases | 243 | 53 | 26/27 | 60.1 (19.3) | 169.2 (10.2) | 77.4 (16.8) |
Neurological diseases | 535 | 125 | 80/45 | 61.6 (13.2) | 169.8 (8.7) | 72.7 (15.5) |
Total | 1020 | 230 | 141/89 | 55.5 (19.6) | 170.5 (9.7) | 73.4 (15.3) |
Template-Based Method | Pan-Tompkins | p-Value | ||||
---|---|---|---|---|---|---|
Group | Recall | Precision | Recall | Precision | Recall | Precision |
Healthy subjects | 99.31 (1.75) | 99.13 (1.86) | 99.14 (1.71) | 97.09 (3.60) | 0.286 | 1.57× 10−19 |
Orthopedic diseases | 97.64 (2.73) | 98.20 (3.93) | 98.78 (2.09) | 94.87 (5.09) | 1.73 × 10−8 | 4.02 × 10−23 |
Neurological diseases | 98.23 (3.42) | 97.98 (3.33) | 96.80 (3.52) | 95.49 (4.55) | 9.90 × 10−24 | 6.95 × 10−42 |
Total | 98.34 (3.00) | 98.30 (3.25) | 97.82 (3.07) | 95.72 (4.56) | 7.49× 10−7 | 6.95× 10−80 |
Template-Based Method | Pan-Tompkins | |||
---|---|---|---|---|
Type of steps | Recall | Precision | Recall | Precision |
Normal (33,764 steps) | 99.58 (1.51) | 99.04 (3.39) | 95.59 (5.20) | 98.86 (2.54) |
Initiation (2040 steps) | 96.37 (13.88) | 97.75 (11.50) | 95.59 (15.02) | 95.93 (15.02) |
Termination (2040 steps) | 94.17 (17.37) | 95.10 (15.83) | 93.77 (16.95) | 93.77 (16.95) |
U-turn (2621 steps) | 83.87 (27.88) | 90.76 (23.96) | 88.12 (23.45) | 50.51 (30.23) |
Type of Steps | Healthy Subjects | Orthopedic Diseases | Neurological Diseases |
---|---|---|---|
Normal | 4/4/7 | 5/5/7 | 5/6/8 |
Initiation | 5/6/6 | 6/5/7 | 6/7/11 |
Termination | 5/6/10 | 6/7/9 | 6/8/10 |
U-turn | 8/8/12 | 9/15/13 | 7/8/10 |
© 2018 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).
Share and Cite
Oudre, L.; Barrois-Müller, R.; Moreau, T.; Truong, C.; Vienne-Jumeau, A.; Ricard, D.; Vayatis, N.; Vidal, P.-P. Template-Based Step Detection with Inertial Measurement Units. Sensors 2018, 18, 4033. https://doi.org/10.3390/s18114033
Oudre L, Barrois-Müller R, Moreau T, Truong C, Vienne-Jumeau A, Ricard D, Vayatis N, Vidal P-P. Template-Based Step Detection with Inertial Measurement Units. Sensors. 2018; 18(11):4033. https://doi.org/10.3390/s18114033
Chicago/Turabian StyleOudre, Laurent, Rémi Barrois-Müller, Thomas Moreau, Charles Truong, Aliénor Vienne-Jumeau, Damien Ricard, Nicolas Vayatis, and Pierre-Paul Vidal. 2018. "Template-Based Step Detection with Inertial Measurement Units" Sensors 18, no. 11: 4033. https://doi.org/10.3390/s18114033
APA StyleOudre, L., Barrois-Müller, R., Moreau, T., Truong, C., Vienne-Jumeau, A., Ricard, D., Vayatis, N., & Vidal, P. -P. (2018). Template-Based Step Detection with Inertial Measurement Units. Sensors, 18(11), 4033. https://doi.org/10.3390/s18114033