Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2023 Sep;61(9):2341-2352.
doi: 10.1007/s11517-023-02826-x. Epub 2023 Apr 18.

A robust walking detection algorithm using a single foot-worn inertial sensor: validation in real-life settings

Affiliations

A robust walking detection algorithm using a single foot-worn inertial sensor: validation in real-life settings

Gaëlle Prigent et al. Med Biol Eng Comput. 2023 Sep.

Abstract

Walking activity and gait parameters are considered among the most relevant mobility-related parameters. Currently, gait assessments have been mainly analyzed in laboratory or hospital settings, which only partially reflect usual performance (i.e., real world behavior). In this study, we aim to validate a robust walking detection algorithm using a single foot-worn inertial measurement unit (IMU) in real-life settings. We used a challenging dataset including 18 individuals performing free-living activities. A multi-sensor wearable system including pressure insoles, multiple IMUs, and infrared distance sensors (INDIP) was used as reference. Accurate walking detection was obtained, with sensitivity and specificity of 98 and 91% respectively. As robust walking detection is needed for ambulatory monitoring to complete the processing pipeline from raw recorded data to walking/mobility outcomes, a validated algorithm would pave the way for assessing patient performance and gait quality in real-world conditions.

Keywords: Adaptive threshold; Continuous wavelet transform; Foot-worn sensor; Real-world; Walking detection.

PubMed Disclaimer

Conflict of interest statement

The authors declare no competing interests.

Figures

Fig. 1
Fig. 1
Multi-sensor wearable system (INDIP); (a) INDIP system attached on the shoe, and (b) picture of two INDIP sensors (right and left feet), which integrate force sensitive resistor pressure insoles, inertial modules (IMUs), and infrared distance sensors
Fig. 2
Fig. 2
Flowchart of the walking bouts detection algorithm for one-foot IMU. ωN: raw angular velocity norm; aN: raw acceleration norm; LPF: low-pass filter; CWT: continuous wavelet transform; THfixed: fixed threshold (THfixed=100deg/s or THfixed=0.5g); THadapt: adaptive threshold based on the percentile of the obtained amplitude distribution of peaks detected above the fixed threshold (THfixed); THhilbert: Hilbert threshold based on the Hilbert envelope and percentile of the obtained amplitude distribution of peaks detected; tpi: time of peak occurrence; StartLoc i: start of the walking bout i; EndLoc i: end of the walking bout i
Fig. 3
Fig. 3
Angular velocity signals recorded with the 3D gyroscope on one foot during several gait cycles for one subject. The top panel shows the raw angular velocity signals around the three axes (roll, pitch, yaw). The middle panel shows the raw angular velocity norm (ωN, magenta), the signal after detrending and LPF (ωN-LPF, red), and the signal after continuous wavelet transform (ωN- LPF-CWT, yellow). The bottom panel shows the pitch angular velocity, the continuous wavelet transform (ωN- LPF-CWT, yellow), and the detected strides. Strides are identified as maxima corresponding to mid- swing events (blue circle) with an amplitude higher than a certain threshold (THfixed, THadapt, or THhilbert)
Fig. 4
Fig. 4
Thresholding methods for peak selection, example based on data from one subject: (a) the filtered signal ωN-LPF-CWT (orange) is shown, as well as the obtained THadapt (dark blue) and the selected peaks (dark blue starts with amplitudes above the thresholds); (b) the Hilbert envelope method is shown with the preselected walking periods (dashed line), and the selected peaks (dark purple dots); (c) amplitude distributions of the peaks, and the thresholds obtained for each of the three tested methods (THfixed (green), THadapt (blue) and THhilbert (purple)). The histograms of the peaks obtained for the fixed and adaptive thresholds are identical. In fact, THadapt is defined as the 10th percentile of the distribution obtained after applying the fixed-threshold THfixed=100/s
Fig. 5
Fig. 5
Illustration of walking detection using the different thresholding methods on data recorded in one subject: fixed threshold (green), adaptive threshold (blue) and Hilbert threshold (purple). The reference classification, obtained from the plantar pressure of the INDIP system, is displayed in black at the top of the figure
Fig. 6
Fig. 6
ROC curves for performance evaluation as a function of percentile values from 1 to 50% when the angular velocity norm ωN is used as input. The curves are obtained by averaging the results over the 10 subjects when one IMU (continuous line) or two IMUs (dashed line) are used; (a) Adaptive threshold method (THadapt) based on the percentile of the obtained peak amplitude distribution detected above the fixed threshold (THfixed=100(/s)); (b) Hilbert method: The threshold (THhilbert) is defined as the percentile of the peak amplitude distribution in the pre-selected walking bouts. The horizontal and vertical dashed lines correspond to a 95% true positive rate and a 4% false positive rate, respectively

References

    1. de Bruin ED, Hartmann A, Uebelhart D, Murer K, Zijlstra W. Wearable systems for monitoring mobility-related activities in older people: a systematic review. Clin Rehabil. 2008;22(10–11):878–895. doi: 10.1177/0269215508090675. - DOI - PubMed
    1. Vienne A, Barrois RP, Buffat S, Ricard D, Vidal PP. Inertial sensors to assess gait quality in patients with neurological disorders: A systematic review of technical and analytical challenges. Front Psychol. 2017;8(May):817. doi: 10.3389/fpsyg.2017.00817. - DOI - PMC - PubMed
    1. Taraldsen K, Chastin SFM, Riphagen II, Vereijken B, Helbostad JL. Physical activity monitoring by use of accelerometer-based body-worn sensors in older adults: A systematic literature review of current knowledge and applications. Maturitas. 2012;71(1):13–19. doi: 10.1016/j.maturitas.2011.11.003. - DOI - PubMed
    1. Hansen BH, Kolle E, Dyrstad SM, Holme I, Anderssen SA. Accelerometer-determined physical activity in adults and older people. Med Sci Sports Exerc. 2012;44(2):266–272. doi: 10.1249/MSS.0b013e31822cb354. - DOI - PubMed
    1. Middleton A, Fritz SL, Lusardi M. Walking speed: The functional vital sign. J Aging Phys Act. 2015;23(2):314–322. doi: 10.1123/japa.2013-0236. - DOI - PMC - PubMed