Hostname: page-component-89b8bd64d-b5k59 Total loading time: 0 Render date: 2026-05-07T17:10:20.519Z Has data issue: false hasContentIssue false

Data-efficient human walking speed intent identification

Published online by Cambridge University Press:  03 July 2023

Taylor M. Higgins*
Affiliation:
Department of Mechanical Engineering, Florida A&M - Florida State University, Tallahassee, FL, USA
Kaitlyn J. Bresingham
Affiliation:
Department of Mechanical Engineering, Florida A&M - Florida State University, Tallahassee, FL, USA
James P. Schmiedeler
Affiliation:
Department of Mechanical Engineering, Florida A&M - Florida State University, Tallahassee, FL, USA
Patrick M. Wensing
Affiliation:
Department of Mechanical Engineering, Florida A&M - Florida State University, Tallahassee, FL, USA
*
Corresponding author: Taylor M. Higgins; Email: th22u@fsu.edu

Abstract

The ability to accurately identify human gait intent is a challenge relevant to the success of many applications in robotics, including, but not limited to, assistive devices. Most existing intent identification approaches, however, are either sensor-specific or use a pattern-recognition approach that requires large amounts of training data. This paper introduces a real-time walking speed intent identification algorithm based on the Mahalanobis distance that requires minimal training data. This data efficiency is enabled by making the simplifying assumption that each time step of walking data is independent of all other time steps. The accuracy of the algorithm was analyzed through human-subject experiments that were conducted using controlled walking speed changes on a treadmill. Experimental results confirm that the model used for intent identification converges quickly (within 5 min of training data). On average, the algorithm successfully detected the change in desired walking speed within one gait cycle and had a maximum of 87% accuracy at responding with the correct intent category of speed up, slow down, or no change. The findings also show that the accuracy of the algorithm improves with the magnitude of the speed change, while speed increases were more easily detected than speed decreases.

Information

Type
Research Article
Creative Commons
Creative Common License - CCCreative Common License - BY
This is an Open Access article, distributed under the terms of the Creative Commons Attribution licence (http://creativecommons.org/licenses/by/4.0), which permits unrestricted re-use, distribution and reproduction, provided the original article is properly cited.
Copyright
© The Author(s), 2023. Published by Cambridge University Press
Figure 0

Figure 1. Subject wearing XSens inertial motion capture suit, making changes of intended walking speed on large research treadmill.

Figure 1

Figure 2. Model structure. Each time step in each phase includes measurement mean $ \boldsymbol{\mu} \in {\mathrm{\mathbb{R}}}^m $ and covariance $ \mathbf{\sum}\in {\mathrm{\mathbb{R}}}^{m\times m} $, where $ m $ is the number of sensor measures being used.

Figure 2

Figure 3. Real-time walking speed intent identification flow chart. Question A: Is difference between current $ t $ & number of time steps in model for this phase greater than one standard deviation of number of time steps for this phase from training set? Question B: Is difference in number of time steps between previous phase and model for that phase greater than one standard deviation of number of time steps for this phase from training set? Question C: Is this the start of a new gait cycle? If so, was the most recently completed cycle faster or slower than the mean gait cycle from the training set?

Figure 3

Figure 4. The speed trajectory of the treadmill for each testing set. The treadmill completes three small (0.1 m/s), three medium (0.2 m/s), and three large (0.3 m/s) speed increases and then speed decreases.

Figure 4

Figure 5. Illustration of the virtual leg vector (blue), which is the result of adding two times the thigh vector (orange) and the shank vector (green). The angle that this virtual leg makes with the vertical is monitored to determine when a leg is in swing (when this angle increases) and in stance (when this angle decreases).

Figure 5

Table 1. Confusion matrix that explains how every time step of output of the walking speed intent algorithm was compared with the ground-truth intent. The number of instances of each classification (UU, UD, UN, DU, DD, DN, NU, ND, and NN) is used with the equations in Table 2 to eventually calculate the performance metrics for each class via Eqs. (5)–(8)

Figure 6

Table 2. Equations for calculating the number of True Positive (TP), True Negative (TP), False Positive (FP) and False Negative (FN) responses based on values from the confusion matrix

Figure 7

Figure 6. Illustration of the trade-off between the algorithm time delay and the average F1-score. Graphed is 1-Average F1-score on the left y-axis and the time delay on the right y-axis. Ideally, both values should be minimized. The values for the chosen Mahalanobis distance threshold of 13.5 are marked with a red .

Figure 8

Figure 7. The average Mahalanobis distance of the training set with respect to gait models built on subsets of the training data ranging from 10 to 300 s of data. The red dashed line is at an average Mahalanobis distance of four, which is the theoretical mean for samples from a Gaussian distribution. Each curve represents a single subject.

Figure 9

Figure 8. Algorithm performance for time delay across the three magnitudes of speed change and three categories of intent. The top and bottom of each box are the 75th and 25th sample percentile. Outliers, defined as a sample that was more than 1.5 times the interquartile range from the top or bottom of the box, are not indicated in this graph. Two outliers do exist, one for the 0.1 m/s change speed up (10.26 s) and one for 0.2 m/s change speed up (4.49 s). The top and bottom whiskers are the non-outlying maximum and minimum. The line within each box is the median of the sample.

Figure 10

Figure 9. Algorithm performance for precision, recall, F1-score, and accuracy across the three magnitudes of speed change and three categories of intent. The top and bottom of each box are the 75th and 25th sample percentile. Each outlier, defined as a sample that was more than 1.5 times the interquartile range from the top or bottom of the box, are designated with an . The top and bottom whiskers are the non-outlying maximum and minimum. The line within each box is the median of the sample.

Figure 11

Table 3. Results of the Tukey–Kramer post-hoc test for those factors found to be significant by the two-way ANOVA. Comparisons that were significant are indicated in bold and categorized into three levels of significance (p$ < $0.05, 0.01 or 0.001). For comparisons that were not significant, the p-value is provided

Figure 12

Figure 10. The average Mahalanobis distance compared to the baseline speed (subject’s preferred walking speed) as they walked at various other speeds. The dashed black line shows the line of best fit for the negative speed changes ($ {R}^2=0.95 $) separately from the positive speed changes $ \left({R}^2=0.73\right) $.