Skip to main content

METHODS article

Front. Rehabil. Sci., 25 August 2023
Sec. Rehabilitation Engineering

Assessment of knee flexion in young children with prosthetic knee components using dynamic time warping

  • 1Wellstar College of Health and Human Services, Kennesaw State University, Kennesaw, GA, United States
  • 2Department of Human Performance and Health, University of South Carolina Upstate, Spartanburg, SC, United States

Introduction: Analysis of human locomotion is challenged by limitations in traditional numerical and statistical methods as applied to continuous time-series data. This challenge particularly affects understanding of how close limb prostheses are to mimicking anatomical motion. This study was the first to apply a technique called Dynamic Time Warping to measure the biomimesis of prosthetic knee motion in young children and addressed the following research questions: Is a combined dynamic time warping/root mean square analysis feasible for analyzing pediatric lower limb kinematics? When provided at an earlier age than traditional protocols dictate, can children with limb loss utilize an articulating prosthetic knee in a biomimetic manner?

Methods: Warp costs and amplitude differences were generated for knee flexion curves in a sample of ten children five years of age and younger: five with unilateral limb loss and five age-matched typically developing children. Separate comparisons were made for stance phase flexion and swing phase flexion via two-way ANOVAs between bilateral limbs in both groups, and between prosthetic knee vs. dominant anatomical knee in age-matched pairs between groups. Greater warp costs indicated greater temporal dissimilarities, and a follow-up root mean square assessed remaining amplitude dissimilarities. Bilateral results were assessed by age using linear regression.

Results: The technique was successfully applied in this population. Young children with limb loss used a prosthetic knee biomimetically in both stance and swing, with mean warp costs of 12.7 and 3.3, respectively. In the typically developing group, knee motion became more symmetrical with age, but there was no correlation in the limb loss group. In all comparisons, warp costs were significantly greater for stance phase than swing phase. Analyses were limited by the small sample size.

Discussion: This study has established that dynamic time warping with root mean square analysis can be used to compare the entirety of time-series curves generated in gait analysis. The study also provided clinically relevant insights on the development of mature knee flexion patterns during typical development, and the role of a pediatric prosthetic knee.

1. Introduction

Many limb prostheses are designed to be as biomimetic as possible (1, 2). Joint components seek to match the flexion and extension properties of the anatomical joints they replace. Material properties of elastic components are chosen to approximate the energy storage that occurs naturally in physiological tissues (3). In some limbs, active, motorized components attempt to replicate the energy generation that would occur in the muscles. While some design approaches seek only to match the kinetic or energetic function of the anatomical limb and not necessarily its motion, a genuinely biomimetic prosthesis would match both kinematics and kinetics.

A challenge in the analysis of human locomotion is that many important outcomes are time-series curves throughout a gait cycle. Most statistical analyses focus on some element of those curves, such as a local maximum or minimum, or the timing of events or extrema. For example, multiple articles analyzing the motion of prosthetic knee joints utilize single data points extracted from kinematic and kinetic time series (49). This is the first and most common of the three techniques for analysis of time-series curves suggested by Derrick and Thomas as follows: (1) identify the magnitude or timing of “pertinent discrete points”, (2) use the entire curve to calculate a subsequent variable such as an average, or (3) transform the curve for additional analysis, such as with differentiation (10). In particular, the comparison of two different time-series curves can be problematic. Motion analysis curves must often be time-normalized to 100% of a gait cycle to enable comparison. However, this step precludes any comparison of the actual duration of one cycle vs. another. Time-shifting can also occur in techniques like cross-correlation, but this can leave unmatched data points. The Pearson product-moment correlation can compare the temporal stability of two curves but is usually applied to data with a zero lag (11). Vector field testing approaches such as Statistical Parametric Mapping use the entire time series for comparison, but when applied to motion data in biomechanics, focus on time-normalized, or “registered”, data sets (12). These analyses therefore do not provide the ability to analyze temporal comparisons between trials.

Dynamic Time Warping (DTW) was proposed in 1978 as a technique to analyze speech patterns (13). DTW takes two signals and, similarly to cross-correlation, plots them each as rows and columns in a matrix for comparison. Whereas typical curve comparison is limited to determining the Euclidean distance between matched points, essentially determining differences via the diagonal of the matrix, DTW allows the alignment of a point from one series that does not correspond to the matching time point of the other series. This is especially beneficial when one series is longer than the other or when inflection points occur at different times. The method is constrained such that warping does not change the temporal order of the series. The process produces a nondimensional Warp Cost (WC), with a higher value indicating greater temporal dissimilarity between the original curves.

Thies et al. applied DTW to human motion and added a measure of root mean square error between the amplitudes of the two curves post-warping (14). Thies et al. later applied the method to measure variability in the motion of upper limb prosthesis users (15). The technique has been applied more recently to cardiovascular geometries (16) and to comparisons of social gestures in individuals with autism (17). To our knowledge, the technique has not been utilized to assess lower-limb prosthesis movement or the biomimesis of a prosthetic limb.

The DTW approach is potentially valuable for assessing the effects of a relatively new prosthetic prescription protocol in young children. Historically, a working prosthetic knee component is not prescribed until the child is capable of independent standing and initial walking (1820). A newer “Early Knee” protocol prescribes a knee in the first prosthesis, intending to limit the formation of clearance-related gait adaptations (21, 22). Previous research has been limited to qualitative description of stance phase prosthetic knee flexion and quantitative analysis of only peak swing phase prosthetic knee flexion. However, clearance adaptations are highly dependent on the overall shape of the knee flexion curve in the late stance and throughout the swing. In addition, stance phase knee flexion has not previously been studied in this population.

The purpose of this study was to conduct the first quantitative analysis of the entire knee flexion curve comparing a population of young children with limb loss to typically developing peers to understand better to what degree prosthetic knee flexion can be biomimetic in these early walkers.

2. Materials and methods

2.1. Participants

This study was a subsequent analysis of a subset of data from a more extensive study described in Geil et al. (22). That study included a convenience sample of children aged 12 months to five years in three groups: children with limb loss in a traditional prosthetic knee prescription protocol, children with limb loss in an Early Knee prosthetic prescription protocol, and age-matched typically developing children. For the current study, we analyzed the data from two of the groups: children with unilateral limb loss at or proximal to the knee who were treated using the Early Knee (EK) protocol, and age-matched typically developing (TD) children without limb loss (Table 1). We did not analyze knee motion in the third group because for young children in the traditional protocol, the prosthetic knee is either missing or is locked in full extension.

TABLE 1
www.frontiersin.org

Table 1. Participant characteristics.

Children in the EK group were all treated at Children's Healthcare of Atlanta and used their prostheses daily without assistive devices. An ABC board-certified pediatric prosthetist performed prosthetic fitting and alignment. Gait analyses were performed at Georgia State University for both EK and TD groups. The protocol was approved by ethics committees of Children's Healthcare of Atlanta and Georgia State University, and informed parental consent was obtained for each participant.

2.2. Procedure

Motion analysis was conducted using an eight-camera motion capture system at 100 Hz (Vicon, Oxford Metrics, UK). Sixteen markers were attached according to the Vicon Plug-In-Gait lower body model. Each subject walked at a self-selected walking speed along a 10 m walkway for ten trials while kinematics were recorded? Using Plug-in Gait software (Vicon Nexus 2.0, Plug-In-Gait), knee flexion-extension angles and timing of heel contact and toe-off events were exported.

2.3. Analysis

In this study, stance and swing phase variability metrics, including WC and RMS errors, were calculated for knee angle data series. Three trials were included for each subject. The total number of cycles varied within each trial but was typically 5–6. Knee flexion data were divided into single gait cycles (initial contact to subsequent initial contact) but not time-normalized. Stance and swing were analyzed separately as each represents a different mechanical function of a passive prosthetic knee joint. Each cycle was divided into stance and swing phases based on the heel contact and toe-off events.

WC and RMS were calculated using Matlab code by Thies (14). The algorithm performs a “trial-to-trial” comparison and time-warps one of the trials to match the other. Temporal “error” is defined as the Euclidian distance for each data point in the warped trial vs. the reference trial. According to (14), computation of this “error” for every possible pairing of data points provides an error surface with axes t and t' representing time in each trial. The path of minimum error defines optimal time warping f(t'). The warp cost is ultimately calculated as the error between the path of least error and a 45° line, which would represent a perfect temporal match. The analyses were performed for stance and swing of the prosthetic limb in the EK group vs. the dominant limb in the TD group.

Two separate two-way ANOVAs, one for WC and one for RMS, with alpha 0.05 were used to assess the role of phase (stance vs. swing) and type of comparison (bilateral for EK, bilateral for TD, and TD vs. EK). Linear regression was used to assess bilateral WC and RMS results in each group vs. age.

3. Results

Though the condition was not specifically recruited, all children in the EK group presented with proximal femoral focal deficiency. Children varied in age from 18 to 69 months (Table 1). Comparison data for both within-subject bilateral differences and between-subject age-matched pairs in both stance and swing are presented in Table 2.

TABLE 2
www.frontiersin.org

Table 2. WC and RMS results in stance and swing for bilateral comparisons in EK and TD groups, and comparisons of EK prosthetic knee to TD dominant limb knee.

The WC/RMS technique was successfully applied to knee flexion curves (Figure 1), producing a WC and RMS for each bilateral comparison and for age-matched comparisons of EK prosthetic knee flexion to TD anatomical knee flexion. Overall, WC ranged from a minimum of 0.36, comparing left to right in swing in a TD child, to a maximum of 27.17, comparing the prosthetic side to the contralateral side in stance in an EK child. RMS showed a smaller range, from a minimum of 1.21°, comparing prosthetic side to contralateral side in stance, to a maximum of 25.23° comparing an age-matched pair in swing.

FIGURE 1
www.frontiersin.org

Figure 1. Representative sample of dynamic time warping comparing an age-matched pair from each group. Solid line represents swing phase dominant limb knee flexion for a child in the TD group. Dotted line represents swing phase prosthetic knee flexion for a child in the EK group.

Analysis of variance determined no evidence of interaction among the three groups (EK bilateral, TD bilateral, and EK-TD age-matched pairs) for either measure (WC or RMS). Therefore, main effects were examined. The WC main effect was significant (F = 11.58, p < 0.0001). WC in Stance was significantly greater than in Swing (F = 30.14, p < 0.0001), but the difference between groups was not significant (F = 2.31, p = 0.1198). The RMS main effect was not significant (F = 1.43, p = 0.2558). In both phases, both WC and RMS were lowest in bilateral comparisons within TD children.

For clinical interpretation, the results of bilateral comparisons for TD children were used as a baseline for comparing values in the EK group, based on an expectation of symmetry in typically developing children. On average, WC values were lower for swing than stance in both groups, while RMS values were higher (Figure 2).

FIGURE 2
www.frontiersin.org

Figure 2. Average warp cost timing dissimilarities (top row) and root mean square amplitude dissimilarities (degrees, bottom row) in stance (left column) and swing (right column). Horizontal lines indicate the value for bilateral asymmetry in typically developing children. “Bil-EK” refers to prosthetic knee vs. contralateral anatomical knee in the EK group. “EK vs. TD” refers to prosthetic knee in the EK group compared to dominant knee in age-matched TD comparator.

In the TD group, both WC and RMS decreased with age, though correlations varied with age (Table 3). Results in the EK group were much less consistent, with weak correlations for both variables in both phases.

TABLE 3
www.frontiersin.org

Table 3. Results of linear regressions for WC and RMS in each group vs. age.

4. Discussion

This study represents the first comparison of the complete time series of a knee flexion angle curve using dynamic time warping. The study aimed to assess if young children with limb loss can use a prosthetic knee in a biomimetic fashion if one is provided to them. Biomimetic knee use could reduce the development of gait adaptations common in this population.

Because this was a novel application of the DTW technique of Thies et al. (14), it was important to include comparisons of motion that were expected to be very similar to establish values for WC and RMS that would reflect minimal differences. Subsequent values found close to these benchmarks could then be interpreted with that knowledge. In this study, we expected minimal differences in bilateral knee motion in typically developing children. These results provided insight into typical development in this small sample. The WC was much lower in swing than stance (1.70 vs. 8.97), suggesting that the timing and curve shape of stance phase knee flexion is more variable than swing. Conversely, RMS was lower in stance vs. swing (1.84° vs. 3.87°). At this young age, even typically developing children demonstrate bilateral asymmetries in knee motion.

The study provided two ways to assess how closely prosthesis motion mimicked anatomical motion: comparison to the subject's contralateral intact limb, and comparison to an age-matched control. Both have limitations. In an individual with unilateral limb loss, the contralateral limb is not expected to represent the motion that the same individual would have without limb loss. And in young children, neuromotor development varies with age, so age-matched comparisons, while typically used, introduce variability. The results in this study were generally similar between the two types of comparison, with age-matched comparisons tending to show slightly greater biomimesis.

Regardless of comparison type, the study showed that young children with limb loss use a prosthetic knee in swing phase in a very biomimetic fashion. By contrast, the WC for bilateral asymmetry in TD children in stance, a population in which symmetry is usually assumed, was 86% higher than the swing phase WC for bilateral asymmetry in the prosthesis side vs. contralateral side in the EK population, and 170% higher than the age-matched comparisons.

In general, the DTW-RMS approach added insight over a simple comparison of peak values. For example, comparison of swing phase flexion in the 68–69 month old pair (Figure 1) showed a difference of 5.9° peak flexion, but the timing of the flexion also differed, with the TD subject reaching peak flexion 9% later in the gait cycle. In our traditional analysis, this difference in timing would have been diminished through normalization, and then not considered in a focus on the peak value. In addition, analysis of the complete curves (and not just the maxima) showed that the children with limb loss in our sample did not show age-based reductions of bilateral asymmetries in knee motion like their age-matched typically developing peers.

The study had several limitations. The small sample size does not allow the results to be generalized to the broader population of young children with limb loss. We chose to analyze stance phase and swing phase separately, because each phase has very specific implications associated with prosthetic knee hardware design. Therefore, this approach does not provide information about the feasibility of analysis of a complete cycle knee curve using DTW. In addition, analysis of individual subject results showed that the EK subject in the third age-matched pair (47–48 mo.) showed an unusually high RMS amplitude. This subject's mean peak knee flexion was 39.6° compared to a mean peak knee flexion of 71.5° for all other EK subjects. Further inspection showed that this subject had a particularly long residual limb, leaving a very short prosthetic segment distal to the knee component, which reduces the ability of a passively flexing prosthesis to flex based on inertia. When DTW and RMS are used to compare curves in a highly variable population such as this one, the individual trials should be monitored for cases when curves are substantially different for subject-specific anatomical or prosthetic reasons.

In conclusion, the study demonstrated the effectiveness of a dynamic time warping approach to analysis of time-series curves in human locomotion. The study showed that, in this small sample, all participants, including typically developing children, demonstrated high variability and asymmetry in stance phase knee flexion, while swing phase flexion of children in an early knee prosthetic prescription protocol closely matched both the contralateral limb and an age-matched typically developing child. It is important to note that we analyzed only one pair of children per age group, so inferences are limited.

Data availability statement

The datasets presented in this study can be found in online repositories. The names of the repository/repositories and accession number(s) can be found below: https://digitalcommons.kennesaw.edu/datasets/5/ Digital Commons DOI: 10.32727/27.2023/2.

Ethics statement

The studies involving humans were approved by Children's Healthcare of Atlanta, Georgia State University. The studies were conducted in accordance with the local legislation and institutional requirements. Written informed consent for participation in this study was provided by the participants’ legal guardians/next of kin.

Author contributions

MG: conceptualization, methodology, formal analysis, Investigation, writing – original draft, writing – review and editing, supervision. ZS: software, formal analysis, writing – original draft, writing – review and editing. All authors contributed to the article and approved the submitted version.

Funding

The original data were collected as part of a project funded by The Gerber Foundation. This subsequent analysis was outside the scope of that grant and was not funded.

Acknowledgments

The authors extend their thanks to Dr. Thies for providing the Matlab code for the DTW/RMS process.

Conflict of interest

The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.

Publisher's note

All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.

References

1. Aaron RK, Herr HM, Ciombor DM, Hochberg LR, Donoghue JP, Briant CL, et al. Horizons in prosthesis development for the restoration of limb function. J Am Acad Orthop Surg. (2006) 14(10 Spec No.):S198–204. doi: 10.5435/00124635-200600001-00043

PubMed Abstract | CrossRef Full Text | Google Scholar

2. Rajula VR, Springgate L, Haque A, Kamrunnahar M, Piazza SJ, Kaluf B. A biomimetic adapter for passive self-alignment of prosthetic feet. Mil Med. (2021) 186(Suppl 1):665–73. doi: 10.1093/milmed/usaa230

PubMed Abstract | CrossRef Full Text | Google Scholar

3. Safaeepour Z, Eshraghi A, Geil M. The effect of damping in prosthetic ankle and knee joints on the biomechanical outcomes: a literature review. Prosthet Orthot Int. (2017) 41(4):336–44. doi: 10.1177/0309364616677651

PubMed Abstract | CrossRef Full Text | Google Scholar

4. Bellmann M, Schmalz T, Ludwigs E, Blumentritt S. Immediate effects of a new microprocessor-controlled prosthetic knee joint: a comparative biomechanical evaluation. Arch Phys Med Rehabil. (2012) 93(3):541–9. doi: 10.1016/j.apmr.2011.10.017

PubMed Abstract | CrossRef Full Text | Google Scholar

5. Ding Z, Jarvis HL, Bennett AN, Baker R, Bull AMJ. Higher knee contact forces might underlie increased osteoarthritis rates in high functioning amputees: a pilot study. J Orthop Res. (2021) 39(4):850–60. doi: 10.1002/jor.24751

PubMed Abstract | CrossRef Full Text | Google Scholar

6. Herr H, Wilkenfeld A. User-adaptive control of a magnetorheological prosthetic knee. Industrial Robot. (2003) 30(1):42–55. doi: 10.1108/01439910310457706

CrossRef Full Text | Google Scholar

7. Jarvis HL, Reeves ND, Twiste M, Phillip RD, Etherington J, Bennett AN. Can high-functioning amputees with state-of-the-art prosthetics walk normally? A kinematic and dynamic study of 40 individuals. Ann Phys Rehabil Med. (2021) 64(1):101395. doi: 10.1016/j.rehab.2020.04.007

PubMed Abstract | CrossRef Full Text | Google Scholar

8. Johansson JL, Sherrill DM, Riley PO, Bonato P, Herr H. A clinical comparison of variable-damping and mechanically passive prosthetic knee devices. Am J Phys Med Rehabil. (2005) 84(8):563–75. doi: 10.1097/01.phm.0000174665.74933.0b

PubMed Abstract | CrossRef Full Text | Google Scholar

9. Segal AD, Orendurff MS, Klute GK, McDowell ML, Pecoraro JA, Shofer J, et al. Kinematic and kinetic comparisons of transfemoral amputee gait using C-leg and mauch sns prosthetic knees. J Rehabil Res Dev. (2006) 43(7):857–70. doi: 10.1682/JRRD.2005.09.0147

PubMed Abstract | CrossRef Full Text | Google Scholar

10. Derrick TR, Thomas JM. Time series analysis: the cross-correlation function. In: Stergiou N, editors. Innovative analysis of human movement. Champaign, IL: Human Kinetics (2004). p. 189–205.

11. Derrick TR, Bates BT, Dufek JS. Evaluation of time-series data sets using the Pearson product-moment correlation-coefficient. Med Sci Sports Exer. (1994) 26(7):919–28. doi: 10.1249/00005768-199407000-00018

CrossRef Full Text | Google Scholar

12. Pataky TC, Robinson MA, Vanrenterghem J. Vector field statistical analysis of kinematic and force trajectories. J Biomech. (2013) 46(14):2394–401. doi: 10.1016/j.jbiomech.2013.07.031

PubMed Abstract | CrossRef Full Text | Google Scholar

13. Sakoe H, Chiba S. Dynamic-programming algorithm optimization for spoken word recognition. Ieee T Acoust Speech. (1978) 26(1):43–9. doi: 10.1109/Tassp.1978.1163055

CrossRef Full Text | Google Scholar

14. Thies SB, Tresadern PA, Kenney LP, Smith J, Howard D, Goulermas JY, et al. Movement variability in stroke patients and controls performing two upper limb functional tasks: a new assessment methodology. J Neuroeng Rehabil. (2009) 6:2. doi: 10.1186/1743-0003-6-2

PubMed Abstract | CrossRef Full Text | Google Scholar

15. Thies SB, Kenney LP, Sobuh M, Galpin A, Kyberd P, Stine R, et al. Skill assessment in upper limb myoelectric prosthesis users: validation of a clinically feasible method for characterising upper limb temporal and amplitude variability during the performance of functional tasks. Med Eng Phys. (2017) 47:137–43. doi: 10.1016/j.medengphy.2017.03.010

PubMed Abstract | CrossRef Full Text | Google Scholar

16. Zhao D, Mauger CA, Gilbert K, Wang VY, Quill GM, Sutton TM, et al. Correcting bias in cardiac geometries derived from multimodal images using spatiotemporal mapping. Sci Rep. (2023) 13(1):8118. doi: 10.1038/s41598-023-33968-5

PubMed Abstract | CrossRef Full Text | Google Scholar

17. Fears NE, Sherrod GM, Blankenship D, Patterson RM, Hynan LS, Wijayasinghe I, et al. Motor differences in autism during a human-robot imitative gesturing task. Clin Biomech. (2023) 106:105987. doi: 10.1016/j.clinbiomech.2023.105987

CrossRef Full Text | Google Scholar

18. Modrcin A, McLaughlin M, Luetke M. Pediatric limb deficiencies. Pediatric rehabilitation: Principles and practice. 5 edn. New York: DemosMedical (2015). 307–35.

19. Skinner HB. Current diagnosis & treatment in orthopedics. Large medical books. New York: McGraw Hill (2006).

20. Weinstein SL, Flynn JM. Lovell and Winter's Pediatric orthopaedics. Philadelphia: Lippincott Williams & Wilkins (2013).

21. Geil MD, Coulter-O'Berry C, Schmitz M, Heriza C. Crawling kinematics in an early knee protocol for pediatric prosthetic prescription. J Prosth Orth. (2013) 25:22–9. doi: 10.1097/JPO.0b013e31827afedd

CrossRef Full Text | Google Scholar

22. Geil MD, Safaeepour Z, Giavedoni B, Coulter CP. Walking kinematics in young children with limb loss using early versus traditional prosthetic knee prescription protocols. PLoS One. (2020) 15(4):e0231401. doi: 10.1371/journal.pone.0231401

PubMed Abstract | CrossRef Full Text | Google Scholar

Keywords: gait, pediatrics, prosthetics, dynamic time warping, motion analysis

Citation: Geil MD and Safaeepour Z (2023) Assessment of knee flexion in young children with prosthetic knee components using dynamic time warping. Front. Rehabil. Sci. 4:1227870. doi: 10.3389/fresc.2023.1227870

Received: 23 May 2023; Accepted: 16 August 2023;
Published: 25 August 2023.

Edited by:

Kamran Iqbal, University of Arkansas at Little Rock, United States

Reviewed by:

Marco Ghislieri, Polytechnic University of Turin, Italy
Fei Gao, Chinese Academy of Sciences (CAS), China

© 2023 Geil and Safaeepour. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.

*Correspondence: Mark D. Geil mgeil@kennesaw.edu

Disclaimer: All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.