A Novel Approach for Improving Gait Speed Estimation Using a Single Inertial Measurement Unit Embedded in a Smartphone: Validity and Reliability Study


Introduction

Gait speed, often considered the sixth vital sign, is a meaningful health indicator that is routinely assessed within clinical and research settings [-]. As a biomarker, gait speed is an integrated and reproducible measure of mobility that helps to identify the risk of falls, disability, hospitalization, and even mortality [,]. It is also responsive to intervention and is often used to evaluate the effectiveness and progression of rehabilitation programming [,]. Within clinical settings, gait speed is most commonly measured by using a stopwatch to record the time taken to walk a short distance []. This approach, while validated, requires another person’s assistance and is often inaccurate due to human error or bias. Within the laboratory, gait speed is typically measured using motion capture systems or instrumented walkways. This approach increases measurement accuracy yet requires trained personnel and expensive equipment, limiting its accessibility and feasibility for frequent, longitudinal monitoring. Moreover, neither of these clinical or laboratory-based approaches is well-suited for monitoring changes over time via higher-frequency assessments, and neither approach affords the assessment of gait speed assessment under unsupervised conditions during daily life activities. There is thus a need to develop new methods for the low-cost, easy, and accurate measurement of gait speed for use within both clinical and remote, unsupervised settings.

Smartphones, now widely used by younger and older adults and equipped with a high-quality inertial measurement unit (IMU), present a viable and convenient opportunity to objectively measure gait speed outside of laboratory and clinical settings. Previous studies have demonstrated that gait speed can be accurately estimated using multiple IMUs attached to various parts of the body (eg, the trunk and ankles) [-]. However, this approach requires specialized equipment that may be difficult to don and doff. Alternatively, studies have attempted to estimate gait speed using a single, research-grade IMU attached to the trunk of the body. In this case, the inverted pendulum model was used to determine gait speed by estimating stride distance and dividing it by stride time, determined by acceleration peaks induced by consecutive heel strikes [-]. This approach, while promising, still requires trained personnel for equipment setup and may introduce bias in gait speed estimation, especially at a faster or slower gait speed [-]. In this study, we examined the validity and reliability of deriving gait speed from a smartphone IMU with the phone being carried in the individual’s front pants pocket when walking.

This study aimed to validate and test the reliability of a smartphone IMU–based gait speed measurement placed in the user’s pants pocket in both healthy young and older adults during normal and dual-task walking. The validity of the smartphone-based approach was determined by comparing the estimated step length and gait speed to measurements taken by gold standard instrumentation. Based on initial results, we further examined the use of improving gait speed estimations using a coefficient relative to the estimation of step length as determined by the smartphone. The test-retest reliability of adjusted and unadjusted estimations was examined within both laboratory and unsupervised, real-life home settings. This study is expected to provide valuable insights applicable to a wide range of clinical and everyday gait monitoring scenarios.


MethodsStudy Participants

We conducted a design control verification and validation study enrolling younger (aged 20‐50 years) and older (aged 65‐90 years) adults between 2016 and 2018. As part of our comprehensive assessment at baseline, we measured key demographic characteristics of the participants, including sex, age (in years), height (in meters), body weight (in kilograms), and ethnicity. We included those who had active Wi-Fi service in their homes and who were able to use the smartphone app by themselves after training. Assistive devices were allowed if participants normally used them when walking. Individuals were excluded if they were hospitalized within the last 6 months; were unable to walk without assistance; self-reported major neuromuscular, cardiovascular, or metabolic disease; had lower-extremity ulcers or amputations; or self-reported pain significantly affecting their gait.

Ethics Approval

This study was approved by the Hebrew SeniorLife Institutional Review Board (approval IRB-2015‐40).

Smartphone App

Our team previously created an iOS smartphone–based application (app) that uses the phone’s IMU sensor to record movements while walking freely at a self-selected speed (ie, normal walking condition) and while walking and concurrently performing a serial-subtraction task (ie, dual-task walking condition) with the phone placed in the user’s pants pocket []. The app was designed to recreate a commonly used dual-task gait assessment that is typically performed in a laboratory setting. The initial development process involved a detailed analysis of requirements, followed by iterative design and user feedback–driven enhancements, ensuring both user-friendliness and adherence to clinical standards. The app includes a series of instructions for the participants to help ensure assessment reliability. Once the participant presses the “Start” button and places the phone in their preferred front pocket, the app provides auditory instructions for each walking trial via the iPhone speaker, including a randomly generated starting number for the serial-subtraction task for dual-task trials, and cues for the start and end of the trial. These cues trigger the acquisition of 3-axis accelerometer, gyroscope, and magnetometer data at a 100-Hz sampling rate. The data sets are saved on the phone’s internal storage and automatically transmitted via Wi-Fi to a remote, cloud-based data server for offline analysis. The validity and reliability of the smartphone app, especially in temporal information (ie, stride time), have been established [-]. Additionally, its applicability extends to various populations, including individuals with Parkinson disease and older adults diagnosed with blood cancer [-].

Study ProceduresOverview

Each participant completed 2 laboratory visits separated by at least 1 week. Between these visits, participants were asked to complete the walking assessment using the app at home once a day on 3 separate days. Participants were instructed to wear comfortable pants or shorts with front pockets for each visit. Our previous work indicated that stride time estimations were unaffected by pocket tightness [].

Laboratory Assessments

The same procedures were used on both laboratory visits. Within each visit, participants completed the walking assessment using the app 3 times, that is, 3 pairs of normal and dual-task walking trials. For each walking trial, participants walked around an oval-shaped, 24-m indoor track. The GAITRite mat (CIR Systems, Inc) was placed along one long side of the track. Each trial began with participants standing just behind the beginning of the mat to ensure that the first footfall of each trial was captured by the mat. Participants were instructed to use the app to start and finish each trial. Stride time, step length, and gait speed obtained from the first pass over the GAITRite mat were considered the gold standard and aligned the data sets to enable direct comparison of GAITRite and smartphone app data for each identified step.

Home Assessments

At home, participants were instructed to use the app to complete 1 normal walking and 1 dual-task walking on 3 separate days in between the 2 laboratory visits. The app provided the same instructions as given during the laboratory visit. The participants were instructed to walk continuously along the longest hallway or unobstructed path in their home, making 180-degree turns at each end, throughout the trial. We believe this setup can be effective in remote settings, provided that a flat and consistent walking surface is available, external interference is minimal, and stable Wi-Fi is present.

Data AnalysisGait Speed Estimation

All data analyses, graphics generation, and statistical analyses were performed using programs developed in-house within MATLAB (R2022b, MathWorks) and SPSS (version 20; SPSS Inc).

For the data obtained from the smartphone, the raw time series 3-axis accelerometer and gyroscope data were transformed from the smartphone local coordinate system to an earth global coordinate system using a quaternion rotation matrix. This transformation ensured that the z-axis of the data aligned with the vertical line of gravity. After the transformation, each z-axis time series was filtered using a Butterworth filter [,], chosen for its smooth frequency response and minimal signal distortion, which worked well in our previous published study []. The time series data obtained from the accelerometer and gyroscope sensors contained alternating peaks of high and low amplitude that corresponded to the heel-strike and toe-off events []. Stride time was defined as the time between 2 consecutive heel strikes of the same foot, which was calculated by determining the number of data points between 2 heel strikes and dividing by 100-Hz sampling frequency. The step length was estimated using a simple inverted pendulum model, which uses the participant’s leg length (l) and the change in height of the smartphone’s vertical position over each step (h) as the following equation:

Step length=2∗2∗h∗l−h2(1)

In particular, the vertical position was derived by doubly integrating the vertical acceleration data (z-axis) and high-pass filtering the outcome using a fourth-order zero-lag Butterworth filter with a 0.11-Hz cutoff frequency to remove any integration drift [,]. The fourth order of the filter ensures effective attenuation of frequencies below 0.11 Hz, substantially reducing low-frequency drift caused by noise in the acceleration data. Additionally, the zero-lag design of the Butterworth filter preserves the temporal accuracy of the signal, ensuring precise alignment of the filtered output with the real-time events being measured. Gait speed for each stride was then calculated by dividing stride length (ie, step length multiplied by 2) by the corresponding stride time. Gait variables thus included step length and gait speed from both GAITRite mat and smartphone app data were used for the statistical analyses.

The Step Length Adjustment Process

After calculating the validity of the gait speed and step length derived from the smartphone app and GAITRite (see Statistical Analysis section), we observed a bias between smartphone app and GAITRite measurements for both gait speed and step length across all participants, walking conditions, and laboratory trials. That is, as the step length (average of the smartphone app and GAITRite mat measurement) increased, the step length derived from the app became increasingly greater than the corresponding values derived from the GAITRite mat. This trend was independent of the walking condition and study visit order ( and ). To address this, we systematically tested various intervals, starting from 0.1, 0.15, 0.2 m, and all the way up to 0.5 m, with a 0.05-m increment, for adjusting the step length. Our analysis revealed that an interval of 0.3 m consistently produced the best validity, evidenced by a slope of 1 and an intercept close to 0 m in the relationship between our adjusting measurements and those from the GAITRite mat. These findings indicate a robust linear correlation and minimal systematic bias. This method was designed for its ability to adjust the step length estimation, aiming to align more closely with the gold standard GAITRite measurements, particularly addressing the identified bias across different step lengths. The intervals were chosen based on a detailed stepwise iterative approach, where each interval was evaluated for accuracy and precision. This approach allowed us to capture the nonlinear relationship between the app-derived and GAITRite-derived step lengths across the range of observed values ().

Adjustedsteplength=coefficients∗steplength(2)Figure 1. Bland-Altman plot for gait speed when using the smartphone app–based assessment compared to GAITRite mat before (A) and after (B) adjusting by coefficients relative to the original estimation of step length. The solid lines are the average difference, and the dashed lines are the limit of agreements (SD 1.96). Figure 2. Bland-Altman plot for step length when using the smartphone app–based assessment compared to GAITRite mat before (A) and after (B) adjusting by coefficients relative to the original estimation of step length. The solid lines are the average difference, and the dashed lines are the limit of agreements (SD 1.96). Table 1. Coefficients that were used to adjust step length and gait speed.Step length 0.2‐0.5 mStep length 0.5‐0.8 mStep length 0.8‐1.1 mCoefficientsAll data points1.371.020.74Only normal walking data points1.401.040.74Only dual-task walking data points1.361.010.73Statistical Analysis

The validity of app-derived gait speed and step length was examined by estimating their agreement with corresponding gait data derived from the gold standard GAITRite mat using a Passing-Bablok orthogonal regression model, which is suitable for comparing different measurement methods while acknowledging measurement error []. This statistical method was chosen for its robustness in comparing methods with measurement error, providing a more accurate assessment of agreement between different measurement systems. Initial sources and seminal works on the Passing-Bablok regression model highlight its suitability for medical and biomechanical research applications []. The magnitude of error between the gait data from the app and the GAITRite mat was calculated for each stride, and a Bland-Altman plot was produced to visualize this error as a function of gait data, which was the average of the gait speed calculated by the app and the GAITRite mat. Test-retest reliability was assessed for all derived gait parameters from both the smartphone app and GAITRite mat using several intraclass correlation coefficients (ICCs). For each of the following two conditions, we computed ICC separately for normal and dual-task walking trials: (1) across trials within each laboratory assessment, and (2) across trials over the 3 home assessments. The unit of interest was the average gait speed in strides derived from each trial of the same condition (ie, normal or dual-task walking; ICC (1, 1)). We considered ICC values greater than 0.75 as excellent reliability, 0.6‐0.75 as good reliability, 0.4‐0.6 as fair reliability, and less than 0.4 as poor reliability [].


ResultsOverview

In total, 12 healthy young adults (6 female adults and 6 male adults; age: mean 29.1, SD 4.4 years; height: mean 168.7, SD 13.1 cm; and body mass: mean 74.0, SD 13.9 kg) and 12 healthy older adults (8 female adults and 4 male adults; age: mean 72.0, SD 6.4 years; height: mean 165.6, SD 9.0 cm; and body mass: mean 71.6, SD 16.3 kg) participated in the study.

A total of 24 participants completed 96 passes over the GAITRite mat with the phone placed in their pocket during the laboratory visits. Each session comprised 2 normal walking trials and 2 dual-task walking trials, yielding 4‐5 strides per trial for each participant. This resulted in a data set comprising a total of 442 strides for direct comparison of gait speed, step length, and stride time estimations between the GAITRite mat and smartphone app approaches. Average normal and dual-task gait speeds for the younger and older groups are presented in .

Table 2. Means (SDs) and minimum (min)-maximum (max) of the spatiotemporal parameters during normal and dual-task walking in the younger and older groups.TestsNormal walkingDual-task walkingGait speed (m/s)Step length (m)Stride time (s)Gait speed (m/s)Step length (m)Stride time (s)Mean (SD)Min-maxMean (SD)Min-maxMean (SD)Min-maxMean (SD)Min-maxMean (SD)Min-maxMean (SD)Min-maxGAITRiteYounger1.16 (0.08)1.06‐1.350.65 (0.04)0.57‐0.701.15 (0.08)1.01‐1.241.02 (0.09)0.94‐1.230.62 (0.03)0.56‐0.661.23 (0.12)0.96‐1.34Older1.00 (0.06)0.94‐1.180.57 (0.02)0.54‐0.621.18 (0.05)1.04‐1.220.95 (0.07)0.81‐1.120.56 (0.02)0.50‐0.601.22 (0.05)1.07‐1.27Smartphone app: before adjustingYounger1.11 (0.25)0.90‐1.770.61 (0.11)0.53‐0.921.12 (0.10)0.93‐1.220.96 (0.24)0.82‐1.660.57 (0.12)0.47‐0.931.22 (0.14)0.91‐1.34Older0.97 (0.18)0.58‐1.240.54 (0.10)0.33‐0.661.15 (0.04)1.06‐1.200.90 (0.18)0.54‐1.180.52 (0.09)0.34‐0.631.18 (0.05)1.08‐1.27Smartphone app: after adjustingYounger1.13 (0.12)1.01‐1.360.63 (0.02)0.60‐0.67——1.01 (0.14)0.91‐1.250.60 (0.03)0.55‐0.69——Older1.04 (0.11)0.80‐1.270.59 (0.06)0.45‐0.67——1.01 (0.11)0.75‐1.200.59 (0.05)0.47‐0.65——

aNot applicable.

Validity and Reliability of the Original Estimated Gait Speed and Step Length

Average normal and dual-task gait speeds within each group, as estimated from the smartphone app, were largely similar to those derived from the GAITRite mat (). Smartphone-derived gait speed and step length demonstrated good validity as compared with the GAITRite mat. The close-to-zero average magnitude of biases for gait speed and step length was −0.03 m/s and −0.04 m, and the limits of agreement were 0.5 m/s and 0.28 m, respectively ( and ). Orthogonal regression analysis revealed that the slope and intercept of the gait speed and step length derived from the app were 1.68 (intercept=−0.70) and 2.37 (intercept=−0.86), respectively ( and ).

Figure 3. Relationship between gait speed as derived from a smartphone app–based assessment and from a GAITRite mat before (A) and after (B) adjusting by coefficients relative to the original estimation of step length. The Passing-Bablok orthogonal best-fit line of these data had a slope of approximately 1 and an intercept of 0 after adjusting. Figure 4. Relationship between step length as derived from a smartphone app–based assessment and from a GAITRite mat before (A) and after (B) adjusting by coefficients relative to the original estimation of step length. The Passing-Bablok orthogonal best-fit line of these data had a slope of approximately 1 and an intercept of 0 after adjusting.

Good to excellent test-retest reliabilities (0.64‐0.86) were demonstrated for the average app-derived gait speed across trials within each laboratory assessment, as well as over the 3 home assessments, for both normal and dual-task walking in young and older adults ().

Table 3. Test-retest reliability of the laboratory- and home-based assessments of average gait speed in strides.TestsNormal walkingDual-task walkingICCP value95% CIICCP value95% CIGAITRite matLaboratory assessment within visit0.94<.0010.88-0.970.90<.0010.81-0.95Before adjusting: smartphone appLaboratory assessment within visit0.86<.0010.73-0.930.77<.0010.58-0.88Home assessment0.64<.0010.41-0.810.71<.0010.49-0.86After adjusting: smartphone appLaboratory assessment within visit0.72<.0010.52-0.850.75<.0010.56-0.87Home assessment0.62<.0010.38-0.800.76<.0010.57-0.89

aICC: intraclass correlation coefficient.

Validity and Reliability of Smartphone-Derived Gait Speed After Adjusting Step Length by a Coefficient Relative to the Original Estimation of Step Length

After iteratively calculating the validities and reliabilities of the different step length zone thresholds as intervals, results indicated that 0.3 as an interval appeared to produce the best validity (). After adjusting step length with this coefficient relative to the original estimation of step length, the average gait speed in the younger group during normal and dual-task walking was 1.13 (SD 0.12) and 1.01 (SD 0.14) m/s, respectively; and the average gait speed in older group during the 2 conditions was 1.04 (SD 0.11) and 1.01 (SD 0.11) m/s, respectively (). These adjusted estimations of gait speed and step length derived from the smartphone app demonstrated a considerably smaller bias trend compared to the original estimated data ( and ). For gait speed and step length, mean differences were 0.03 m/s and 0.01 m, and limits of agreement were 0.34 m/s and 0.19 m, respectively ( and ). Orthogonal regression analysis revealed that the validity of gait speed and step length derived from the app were higher with those measured by the GAITRite mat after adjusting, as indicated by one and close-to-one slopes, which were 1.00 (intercept=0.03) and 0.97 (intercept=0.02), respectively ( and ).

Table 4. The slope and intercept for the Passing-Bablok orthogonal best-fit line after adjusting using stepwise iterative approach to define different step length zones by dividing the original estimation of step length using multiple zone thresholds as intervals from 0.1 to 0.5.IntervalsSlopeIntercept0.100.970.230.150.860.160.200.910.120.251.000.040.301.000.030.351.13−0.090.401.23−0.180.451.35−0.280.501.40−0.34

In general, the test-retest reliability of adjusted estimations of gait speed was good to excellent (0.62‐0.76) between laboratory assessments, and between home assessments, for both normal and dual-task walking in the younger and older groups ().


Discussion

This study indicated that using a smartphone app placed in the front pocket of an individual’s pants or shorts can produce valid estimates of gait speed under both normal and dual-task walking conditions in healthy younger and older adults. Moreover, we demonstrated that the accuracy of gait speed estimation using the inverted pendulum model approach can be improved by adjusting the estimated values with coefficients determined by the gold standard measurement of step length. This improved smartphone app–based approach provided high test-retest reliability within a supervised laboratory environment and within the unsupervised home setting.

The current results revealed that the pendulum model approach to calculating gait speed from a single IMU placed in the pocket overestimated step length and therefore gait speed if the step length derived from the GAITRite mat was greater than 0.8 m, yet underestimated both values if the step length was less than 0.5 m. Through visual inspection of published work, it appears that this observed bias in step length estimation is common, even when the IMU is secured to the participant’s trunk [,]. To our knowledge, however, no one has reported this observation, and no adjustment has been made to correct the bias.

Our work suggests that a simple adjustment of step length for those steps that are relatively short, or relatively long, removes the observed bias and improves the accuracy of gait speed estimation. The current results suggested that the original estimated step length from the smartphone app between 0.5 and 0.8 m may not need to be adjusted as its coefficient was close to 1. Comparing our smartphone app with gold standard measurements, it is evident that in scenarios involving normal or dual-task walking, the app maintains robust performance with small bias across younger and older groups, different walking conditions, and different testing settings (laboratory and home). This implies that the described method can be used accurately within numerous applications. The simple inverted pendulum model requires only 2 pieces of information, namely, the participant’s leg length and the change in height of the smartphone’s vertical position during each step (from heel strike to contralateral heel strike). We suspect that several factors may contribute to the observed bias. There may be nonlinear relationships between step length and the combinations of changes in the height of the smartphone’s vertical position and leg length. This could indicate inherent limitations in the inverted pendulum model. Exploring these factors further may thus offer insights into optimizing the model for different IMU locations and gait patterns, enhancing the applicability of our method across diverse populations and conditions.

The results from this study not only reinforce the reliability of the approach to estimate gait speed under different walking conditions in ambulatory older adults without overt disease but also suggest its applicability to all IMU data. Good to excellent test-retest reliability of results was observed across younger and older groups, different walking conditions (normal walking and dual-task walking), and different testing settings (laboratory and home). This implies that the described method can be used effectively within numerous applications. Moreover, the test-retest reliability observed in this study was noticeably higher than a previous report that used the pendulum model without adjustment []. Incorporating a wide range of ages from young to old in this study allowed us to encompass a broader spectrum of gait speeds and step lengths, which enhanced the generalizability of our findings. The observed consistency in the adjustment coefficients across these age groups suggests that the pendulum model approach we used is robust and applicable across a diverse age demographic. This inclusivity in our research approach enriches its relevance and widens its potential impact, thus making our findings more applicable in real-world scenarios where age-related variations in gait are common.

The coefficients established from our cohort may be applicable to other data sets where the populations and the settings of the devices (smartphone), including sampling rate, are similar; yet, the coefficients may need to be fine-tuned for different populations and devices, especially when a gold standard measurement is available. Our coefficients performed well in our data set, which involved a wide range of step length and gait speed in both healthy young and older populations. In terms of future application to other data sets, this method holds significant potential for various areas. For data sets where a gold standard method is unavailable, our coefficients are worth trying to adjust the original estimated value. If the population (ie, healthy young and healthy older adults) and tool (ie, a smartphone app in the pants pocket) are similar to that tested and used in this study, implementing this type of adjustment is expected to improve the accuracy and reliability of the estimates. For data sets where a gold standard is available, researchers are recommended to develop their own coefficients based on the unique characteristics of each data set, thereby improving the method’s precision and applicability to specific contexts.

Further research is required to determine the generalizability of our method to broader populations, especially in cases where a gold standard method is not available. The original step length estimations in this study were classified into 3 categories, which may decrease the test-retest reliability of those step length data close to the margin of categories. To address this, larger data sets are needed to establish a continuous adjustment approach without the need to classify the data into categories. Additionally, refining the inverted pendulum model to better accommodate the nonlinear relationship between step length and smartphone vertical displacement could enhance accuracy. The applicability of the method to individuals with abnormal gait patterns should also be explored. Despite these limitations, this study provided evidence that gait speed can be accurately and reliably estimated with minimum information (leg length) in young and older adults during normal and dual-task walking based upon a single IMU-embedded smartphone placed in the pocket.

The authors wish to thank the National Science and Technology Council, Taiwan (112‐2917-I-564‐018) and the National Institutes of Health/National Institute on Aging (K01AG075252) for the financial support.

None declared.

Edited by Lorraine Buis; submitted 25.08.23; peer-reviewed by Jari Ruokolainen, Moritz Kraus, Vipul Lugade; final revised version received 07.05.24; accepted 05.06.24; published 13.08.24.

© Pei-An Lee, Wanting Yu, Junhong Zhou, Timothy Tsai, Brad Manor, On-Yee Lo. Originally published in JMIR mHealth and uHealth (https://mhealth.jmir.org), 13.8.2024.

This is an open-access article distributed under the terms of the Creative Commons Attribution License (https://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work, first published in JMIR mHealth and uHealth, is properly cited. The complete bibliographic information, a link to the original publication on https://mhealth.jmir.org/, as well as this copyright and license information must be included.

留言 (0)

沒有登入
gif