Skip to main content
Scientific Reports logoLink to Scientific Reports
. 2023 Oct 23;13:18086. doi: 10.1038/s41598-023-45375-x

Wearable sensor and machine learning estimate tendon load and walking speed during immobilizing boot ambulation

Michelle P Kwon 1, Todd J Hullfish 1, Casey Jo Humbyrd 1, Lorraine A T Boakye 1, Josh R Baxter 1,
PMCID: PMC10593749  PMID: 37872320

Abstract

The purpose of this study is to develop a wearable paradigm to accurately monitor Achilles tendon loading and walking speed using wearable sensors that reduce subject burden. Ten healthy adults walked in an immobilizing boot under various heel wedge conditions (30°, 5°, 0°) and walking speeds. Three-dimensional motion capture, ground reaction force, and 6-axis inertial measurement unit (IMU) signals were collected. We used a Least Absolute Shrinkage and Selection Operator (LASSO) regression to predict peak Achilles tendon load and walking speed. The effects of altering sensor parameters were also explored. Walking speed models (mean absolute percentage error (MAPE): 8.81 ± 4.29%) outperformed tendon load models (MAPE: 34.93 ± 26.3%). Models trained with subject-specific data performed better than models trained without subject-specific data. Removing the gyroscope, decreasing the sampling frequency, and using combinations of sensors did not change the usability of the models, having inconsequential effects on model performance. We developed a simple monitoring paradigm that uses LASSO regression and wearable sensors to accurately predict (MAPE ≤ 12.6%) Achilles tendon loading and walking speed while ambulating in an immobilizing boot. This paradigm provides a clinically implementable strategy to longitudinally monitor patient loading and activity while recovering from Achilles tendon injuries.

Subject terms: Outcomes research, Biomedical engineering

Introduction

Tendon loading during rehabilitation following musculoskeletal injuries and/or surgical treatment impacts healing outcomes. Recent advances in orthopaedic mechanobiology directly link tissue loading with tissue healing outcomes13. However, our limited capacity to quantify tissue loading in the real world restricts our ability to improve rehabilitation strategies aimed at promoting tissue healing. Achilles injuries demonstrate the link between tissue loading, injury, and healing outcomes. The loading mechanisms of these injuries vary from repetitive sub-maximal loads which result in tendinopathies to single supra-maximal loads which result in ruptures4,5. While overloading and underloading can detrimentally affect the tendon, mechanical loading is also used as a clinical intervention. Safely introducing loading after an Achilles tendon injury promotes healing and leads to improved outcomes compared to prolonged non-weightbearing and/or immobilization6. The current rehabilitation standard for surgical Achilles tendon interventions such as an Achilles repair and debridement is progressive tendon loading in an immobilizing boot. We know these boots reduce Achilles tendon loading7,8, but strategies to optimize loading that maximize functional outcomes remain unclear. Continuously monitoring tendon loading while patients wear an immobilizing boot is necessary to improve rehabilitation guidelines.

Monitoring tendon loading during early rehabilitation stages is currently done using a lab-grade instrumented insole. Our group developed a physics-based algorithm that accurately quantifies Achilles tendon loading while ambulating in immobilizing boots8. However, this technique is impractical for monitoring large patient populations because it relies on expensive, complex sensors that require daily patient involvement to charge and log the data. Other wearable options like shear wave tensiometers excel at accurately quantifying tendon loading911 but are not well suited to continuously monitor tendon loading throughout tendon healing. Instead, we propose developing a new paradigm to estimate tendon loading in immobilizing boots that is less burdensome but maintains similar accuracy.

IMUs are ideal because they are easy to use, low maintenance, low-cost, and ubiquitous in personal smart devices. IMUs do not directly measure interaction loads needed to estimate tendon loading, but they have other advantages that make them worth exploring as a scalable option for monitoring patient recovery. These advantages include resistance to dust and water (some IMUs have excellent dust and water resistance with ratings of IP68), long battery life (some IMUs can record weeks of data on a single charge), minimal handling needs (some IMUs log data with no additional buttons for subjects to press), and secure data storage (some IMUs use on-board memory instead of wireless). These IMU attributes are in many commercially available sensors and align with efforts to minimize the burden to both users and providers. We expect that the minimized burden of these sensors will increase data capture rates, an essential component to monitoring. While IMU measurements are difficult to interpret, machine learning approaches have been used to transform linear accelerations and angular velocities into physiologically meaningful metrics1214. Previous studies have shown good performance when predicting joint kinematics with IMUs. For example, Sharifi Renani et al. found that IMUs can predict hip and knee angles with root mean square errors between 1.7° 4.5° using deep learning models15. However, model performance when predicting loads is variable. Load prediction errors can range between 36% and 8% mean absolute percentage error (MAPE) for regression models depending on the sensors, features, and predicted metric used in the model1618.

The purpose of our study is to develop an IMU-based monitoring paradigm that accurately estimates Achilles tendon loading and walking speed when ambulating in an immobilizing boot. This is a necessary step towards effectively monitoring real-world Achilles tendon loading in patients recovering from injuries and surgeries. We measured lower leg linear accelerations and rotational velocities using an IMU secured to the lateral aspect of an immobilizing boot. We then used these measurements to train and validate generalized models to predict peak Achilles tendon loading and walking speed during gait. We trained hybridized and personalized models which include subject-specific data in the training set. We also tested the effects of different data streams, sampling frequencies, and IMU placements to determine strategies that minimize burden while maximizing model accuracy. We hypothesize that our tendon load and walking speed models will have acceptable predictions, which we defined as under 20% MAPE based on our clinical experience. We expect that these findings will guide researchers and clinicians on how to implement wearable sensors in clinical populations.

Results

Walking speed predictions were consistently better than the Achilles tendon load predictions. When predicting tendon load using the IMU data, the MAPE values were highest in the 5° condition at 45.7% and lowest in 0° at 25.8%. In the walking speed models, the highest MAPE was in the 30° condition at 10.8% and lowest in the 0° at 6.38% (Tables 1 and 2). The features with the largest weights in the Achilles tendon load model were the gyroscope in the lateral-medial direction, the time of stance and swing, and the stance phase impulse of the accelerometer in the superior-inferior direction. However, the most important feature varied. For the 30° and 0° conditions, the minimum of the gyroscope in the lateral-medial direction was the most important. For the 5° condition, it was the stance phase impulse of the gyroscope in the lateral-medial direction. For the walking speed models, similar features played an important role including the impulse of the accelerometer in the superior-inferior direction and the stance and swing time. The most important feature for the walking speed models was stance time for 5° and 0° conditions, but swing time for the 30° condition.

Table 1.

MAPE values of tendon load and walking speed by model paradigm type (2 columns).

Boot condition (deg) Tendon load MAPE (%) Walking speed MAPE (%)
Generalized Hybridized Personalized Generalized Hybridized Personalized
30 33.3 ± 20.9 22.7 ± 9.34 10.7 ± 2.94 10.8 ± 4.77 8.38 ± 3.16 5.35 ± 0.999
5 45.7 ± 37.1 38.2 ± 35.6 12.6 ± 5.07 9.25 ± 4.67 5.37 ± 1.85 3.69 ± 0.882
0 25.8 ± 21.0 19.9 ± 12.8 8.35 ± 2.90 6.38 ± 3.44 4.51 ± 1.38 3.38 ± 0.816

Reported as MAPE ± STD.

Best results for each condition are in bold.

Table 2.

MAPE values of tendon load and walking speed predicted using generalized models with adjusted parameters (2 columns).

IMU Channels Sampling frequency (Hz) Location Boot condition (deg) Tendon load MAPE (%) Walking speed MAPE (%)
Accelerometer + gyroscope 100 Boot 30 33.3 ± 20.9 10.8 ± 4.77
5 45.7 ± 37.1 9.25 ± 4.67
0 25.8 ± 21.0 6.38 ± 3.44
Accelerometer 100 Boot 30 51.5 ± 25.3 9.97 ± 3.43
5 41.1 ± 37.1 8.09 ± 3.30
0 26.7 ± 22.4 9.42 ± 4.95
Accelerometer + gyroscope 50 Boot 30 33.6 ± 20.1 11.2 ± 4.90
5 42.3 ± 35.0 9.24 ± 4.42
0 25.6 ± 21.9 7.28 ± 4.10
Accelerometer + gyroscope 25 Boot 30 35.1 ± 19.1 12.1 ± 5.75
5 39.4 ± 33.4 10.0 ± 4.78
0 29.9 ± 24.9 10.3 ± 5.12
Accelerometer + gyroscope 100 Boot + Left Foot 30 44.2 ± 28.5 8.99 ± 3.48
5 41.3 ± 37.9 5.34 ± 1.89
0 30.4 ± 20.5 5.37 ± 2.39

Reported as MAPE ± STD.

Best results for each condition are in bold.

We found using subject-specific data to train the model resulted in better predictions with decreased MAPE scores. When incorporating 50% of the subject’s data to train hybridized models, we found that MAPEs decreased on average by 8.04% for the tendon load models and 2.74% for walking speed models (Table 1). When training personalized models using subject-specific data, we observed larger improvements in MAPEs. The average decrease in MAPEs when compared to the generalized models is 24.5% for Achilles tendon load and 4.69% for walking speed. The MAPEs of the personalized models were the lowest for both tendon load (Fig. 1) and walking speed predictions (Fig. 2).

Figure 1.

Figure 1

Tendon load model performance. Tendon loading predictions improved when subject-specific data were added to the models. The generalized models (left column) were the least accurate and tended to spread subject data (each subject data is represented by different colored circles) away from the reference line (black line), which represents 0 MAPE. We built hybridized models (center column) by adding subject-specific data to the generalized models that improved performance. However, personalized models (right column) were the most accurate at predicting tendon loading across all boot conditions and all fell in the ‘acceptable’ to ‘excellent’ category. Out of the three boot conditions, the 5° condition had the widest spread.

Figure 2.

Figure 2

Walking speed model performance. All walking speed predictions were within the ‘acceptable’ to ‘excellent’ threshold. When subject-specific data was added to the generalized model (left column), the hybridized model (center column) were ‘excellent’ in prediction. The personalized models (right column) further improved in accuracy as evidenced by the close clustering of all subject data (each subject data is represented by different colored circles) towards the reference line (black line). The walking speed predictions consistently improved with progressive loading with 30° (top row) having the widest spread away from the reference line compared to 0° (bottom row).

Training the tendon load and walking speed models without gyroscope data had varying effects on model performance. When predicting Achilles tendon load, excluding gyroscope data had minimal effects on model performance decreasing the 5° condition MAPEs by 4.65% and increasing the 0° condition MAPEs by 0.91%. However, the 30° tendon load model experienced a drastic increase in MAPE by 18.20%. We observed small changes in the walking speed models when excluding gyroscope data which resulted in < 1.25% decreases for the 30° and 5° boot condition and a 3.04% increase in the 0° boot condition. Despite the varying effects on model performance, excluding gyroscope data did not ultimately change the overall usability of these models. All tendon load models continued to not meet the ‘acceptable’ threshold (MAPE < 20%) and all walking speed models met the ‘excellent’ MAPE threshold (MAPEs < 10%) (Table 2).

New models for tendon load and walking speed trained with 50 Hz and 25 Hz data did not materially impact model performance. For the tendon load models, all MAPEs remained above 20%. However, based on the sampling frequency and condition, tendon load MAPEs either increased or decreased when compared to models trained on 100 Hz data. For example, in the 0° condition, the tendon load model’s MAPE decreased to 25.6% when using 50 Hz data but increased to 29.9% when using 25 Hz data. The increase in MAPE could be due to decreased data quality when an IMU samples at 25 Hz. However, both changes are marginal. While the changes between 100 Hz, 50 Hz, and 25 Hz did not consistently increase or decrease, the models trained with the 25 Hz data were consistently worse with increased MAPEs when compared to the 50 Hz data. Unlike the tendon load models, walking speed MAPEs for all conditions for 50 Hz data increased the average MAPE by 0.414% and 25 Hz increased the average MAPE by 1.99% when compared to the MAPEs of models trained on 100 Hz data. Similar to the tendon load models, the walking speeds produced higher MAPEs when trained on 50 Hz data than when predicting with 25 Hz data (Table 2).

Lastly, combining data from a sensor on the boot with data from sensors on the contralateral extremities had minimal effects on model performance. For the models that predict tendon load, no combination of sensors helped improve the predictive power across the 30°, 5°, and 0° immobilizing boot conditions. When looking at the average effect of sensor combinations across the three different boot conditions, all MAPEs increased when compared to only using the sensor on the lateral boot. For walking speed, the most favorable sensor combination was training the model with data from the boot and the contralateral foot, which had MAPEs of 8.99% for the 30°, 5.34% for the 5°, and 5.37% for the 0° condition (Table 2). All other MAPE values for their respective boot sensor combination are reported as a supplement (see Supplementary Material).

Discussion

We developed a robust LASSO regression model that uses data from a commercially available IMU secured to an immobilizing boot to predict peak Achilles tendon loads and walking speeds with high levels of confidence. The predictions of the generalized and hybridized models did not fall within the ‘acceptable’ range for Achilles tendon loading. However, the personalized tendon load models were all considered ‘acceptable’ with the 0° tendon load model even being ‘excellent’. For walking speed predictions using the generalized models, the 5° and 0° hit our ‘excellent’ threshold. However, the 30° condition model fell shortly out of the < 10% range with a 10.6% MAPE. The hybridized and personalized walking speed models performed even better, all having ‘excellent’ predictive power. Removing the gyroscope data stream, reducing sampling frequency, and altering IMU placement all had varying effects on the model. None altered the implementation potential for long-term monitoring contexts, ultimately making their effects unremarkable. Therefore, the model’s performance can be tuned by adjusting parameters including incorporating multiple sensors and battery life optimization (remove gyroscope and reduce sampling frequency) without altering MAPE values in a meaningful way. We recommend that researchers and clinicians adjust these parameters by carefully considering the tradeoffs between model performance and user burden.

Since the personalized Achilles tendon load models and generalized walking speed models both predict their target metrics with ‘acceptable’ to ‘excellent’ performance, an important clinical decision of which monitoring paradigm to deploy arises. One monitoring paradigm accurately predicts walking speed without collecting subject-specific data using the generalized model, which eliminates the need for an in-lab visit before monitoring. The other monitoring paradigm to consider is accurately predicting Achilles tendon load using a personalized model, which would require an in-lab visit to collect approximately 82 steps (the average steps used to train the personalized models for this study). However, we do not expect these steps to be difficult to obtain. We are exploring 2 possible ways to collect these data for training personalized models: (1) collect walking data during the clinical visit which we expect to require less than 10 min of setup and collection and (2) collect walking data over a 24-h window following the clinical visit by sending patients home with the insole sensor that logs data to onboard memory and can be returned via postage or during a follow-up clinical visit.

While both paradigms can be used to gauge Achilles tendon health, readers can also select a specific paradigm based on their needs and interests. The first consideration to choose the appropriate monitoring paradigm is to consider whether it is possible and worthwhile to obtain subject-specific training data. To collect training data, one must have the time (approx. 10 min), space (lab space or a long hallway to collect continuous walking data), and materials (instrumented insole) to conduct a brief data collection session. These data will later be used to create the personalized model to predict tendon load. The next consideration to choose the appropriate monitoring paradigm to implement is whether the preferred biomechanical metric is walking speed or tendon load. Walking speed is clinically useful because it is a metric that is easy to understand and modify through coaching. For example, people can more easily alter their walking speed than the amount of load going through their Achilles tendon. However, Achilles tendon load is a more direct measurement, which may be a better indicator when trying to optimize functional outcomes. Another factor to consider is the tolerance for model performance. It is important to establish whether the implementation of the models requires the lowest MAPE values or consistent MAPE values. Thus, researchers and clinicians should consider what metric would best accomplish their goals (Fig. 3). Depending on the angle immobilized and the approach, the ideal metric used for the best performance might change. However, as a general rule of thumb, the walking speed model (Fig. 2) is better suited for situations where error values must be minimized or more consistent than the tendon loading models (Fig. 1).

Figure 3.

Figure 3

Decision tree. Decision tree to select appropriate monitoring paradigm to deploy based on clinician/researcher needs. Users should consider whether tendon loading predictions are necessary for the research question or clinical feedback and whether tendon loading data can be obtained to train patient specific models.

In addition to selecting an appropriate monitoring paradigm, minimizing user burden is also an important factor to consider when designing longitudinal studies that monitor subject activity or loading patterns. One way to decrease burden is to increase sensor battery life, which can be accomplished by using only accelerometry functionality on the IMU or collecting data at a lower sampling frequency. For example, collecting only accelerometer data and decreasing the sampling frequency to 50 Hz can quadruple the battery life, allowing some IMUS to record for 34 days on a single charge19. Maximizing battery life allows us to continuously collect patient data between clinical checkups following Achilles tendon rupture with minimal patient burden. Our results confirm that training the model using 50 Hz data and no gyroscope data to maximize battery life decreases the MAPE of the generalized tendon load model by 5.87% on average but increases the MAPE of the generalized walking speed model by 1.00% on average. For personalized models, the effect of decreasing sampling frequency and removing the gyroscope is smaller. Training on data without gyroscope and at 50 Hz increased the average MAPE of personalized tendon load predictions by 1.33% and of personalized walking speed predictions by 0.783%. Given the minimal increases in MAPE in both the generalized models and the personalized models when removing the gyroscope and sampling at 50 Hz, we consider this increased MAPE a worthwhile tradeoff to quadruple the battery life.

We identified two promising monitoring paradigms that balance the tradeoffs between model performance and user burden (Fig. 4). The first optimal paradigm is to train a personalized model that predicts tendon load using a single sensor on the immobilizing boot that samples at 50 Hz without a gyroscope. Under this configuration, the 30° (MAPE = 12.0%) and the 5° condition (MAPE = 14.6%) were ‘acceptable’ (MAPE < 20%). The model to predict tendon force in the 0° condition had ‘excellent’ predictive strength (< 10%) with a MAPE of 9.22%. The second optimal paradigm is to train a generalized model that predicts walking speed using a single sensor on the immobilizing boot that samples at 50 Hz without a gyroscope. The 0° (MAPE = 9.86%) and the 5° (MAPE = 8.18%) predictions were both ‘excellent’ (MAPE < 10%) while the 30° (MAPE = 10.5%) prediction was ‘acceptable’. Therefore, both monitoring paradigms guarantee adequate predictions of a clinically relevant biomechanical metric while minimizing the burden placed on the user, making them ideal to implement for long-term monitoring contexts.

Figure 4.

Figure 4

Performance of models optimized for monitoring. The model performance of two promising monitoring paradigms were all ‘acceptable’ or ‘excellent’. The left column depicts the model performance of estimating tendon load using a personalized model with data at 50 Hz with only accelerometer data. The right column shows the model performance of estimating walking speed using a generalized model with data at 50 Hz with only accelerometer data. The accurate predictions of both these monitoring paradigms allow us to monitor Achilles tendon health for long periods of time with minimal subject burden.

Commercially available IMUs are quickly becoming ubiquitous, but it is often difficult to identify an optimal sensor to deploy in the field. We identified 4 IMU criteria that we believe will maximize subject retention: (1) the battery life must exceed 1 week, (2) the sensor does not require daily interaction, (3) the sensor is resistant to dust and water experienced in the real-world, and (4) the sensor does not require additional components to use like a smartphone. These four points increase data capture, require less management for investigators, and reduce financial investment due to the durability of the sensors. This new approach also reduces our current monitoring costs by approximately $2000 because the current method uses a $1900 instrumented insole and a phone (~ $100) while the new approach uses a commercial inertial measurement unit (IMU) which costs ~ $200. We expect increased patient compliance and larger sample sizes because of the low burden imposed by these IMUs that do not require any patient interaction.

We found a commercially available IMU (ax6, Axivity) that met our criteria. The accelerometer-only version of this IMU was used to continuously capture 1-week physical activity from 100,000 participants in the UK Biobank20. During this study, we used APDM Opal IMUs to time synchronize IMU data with our laboratory equipment to measure Achilles tendon loading with our instrumented insoles and walking speed with motion capture. However, Axivity’s AX6 IMUs are better to deploy in-field. To ensure that Opal IMUs and Axivity IMUs would perform similarly, we performed a validation. In this validation experiment, we secured both sensors to a rigid bar, tested the effects of gravity on the 3 accelerometer axes, and swung the bar to approximate a range of boot motions. As expected, we found that the accelerations caused by gravity and the angular velocities while swinging between the 2 sensor types were strongly correlated with an average cross-correlation score of 98.7% (Fig. 5). This demonstrates that laboratory grade IMUs, like the Opal, can be used to develop training data sets for field ready IMUs, like the AX6, that are better suited for measuring activity patterns in the real-world. We want to stress that at the time of this study, we found that this specific IMU met our criteria. But we anticipate that other IMU solutions will quickly emerge as the wearable space in healthcare continues to improve.

Figure 5.

Figure 5

IMU agreement. Axivity (blue) and Opal (red) IMU data show strong agreement. While these findings are expected, they confirm that IMU sensors can be selected based on selection criteria that satisfy the research or clinical need rather than IMU measurement fidelity.

There are various adjustments and improvements that can be made to optimize our models’ performance when predicting both tendon load and walking speed. Collecting data from more subjects will increase the models’ robustness by capturing more gait variations, but these gains are quickly diminishing. We calculated a learning curve from our data and found the validation curve to level off with more data. The average difference in MAPE between the validation curve when a model is trained on 80% and 90% of the dataset was 0.453% and 0.253% for tendon load models and walking speed models. The stability of the learning curve as more data was added and the small difference of MAPEs observed with larger training sizes suggests that collecting more data would not significantly alter MAPEs if more data were to be collected. We expect that walking speed was more consistently predictable between different people since it is governed by segment kinematics, and the model parameters, like stride pace and peak accelerations, were directly captured in accelerometry data. Therefore, once generalized walking speed models are well-trained, we expect these models to accurately predict new subject data. Conversely, muscle–tendon loads that drive motion are more variable between individuals and this will be compounded by physical constraints—like wearing an immobilizing boot—or injury and pain—like patients recovering from a tendon injury. The changes induced by the different physical constraints will have various manifestations in accelerometer and gyroscope data and do not affect each person in the same manner. Therefore, subject-specific data are needed to train personalized models that accurately reflect each subject’s unique tendon loading. Future work should focus on including other biomechanical signals to improve tendon load predictions like plantar loading or plantar flexor muscle activity. Recent work by Matijevich et al. demonstrated that machine learning algorithms predict musculoskeletal loading better when loading measures are included in the model18. This is an important consideration before moving away from personalized models to predict tendon loading. However, the same tradeoff calculation we made between model performance and user burden needs to be made when introducing new sensor types that come with their own limitations.

Our monitoring paradigm has several limitations that should be considered before implementing wearables in clinical research. We studied healthy controls with no relevant history of an Achilles injury. The LASSO models trained from their data do not capture the gait cycle abnormalities typically seen in subjects who are injured or recovering from surgery. We instructed our subjects to walk with a ‘pathologic’ gait, but we could not confirm that this gait was equivalent to pathological subject gait. While the results from this study were a good estimate of the accuracies and errors that we may expect if we run the same models on patient training data, we admit that these models do not necessarily transfer to patients. Our study demonstrates proof-of-concept, but large patient data sets are needed to train LASSO models specific to Achilles injury patient populations.

We successfully developed two monitoring paradigms that make long-term monitoring of subjects feasible. One monitoring paradigm consists of creating unique, personalized models to predict tendon load, while the other paradigm consists of creating a generalized model to predict walking speed. Both models lead to highly accurate predictions of tendon load and walking speed. Each model should be further tuned based on the researcher’s or clinician’s needs by using different combinations of IMUs or choosing different settings. These monitoring paradigms allow for a cost-effective, long-term monitoring solution with minimal burden to the subject. This new capability to longitudinally monitor patients is a necessary tool that will allow us and other rehabilitation researchers to develop evidence-based rehabilitative loading strategies that optimize patient healing outcomes. By doing so, we will develop new evidence-based clinical recommendations that promote Achilles tendon healing.

Methods

Data collection

We recruited ten subjects (3 females, age: 25 ± 2.4 yrs, BMI: 23.9 ± 6.56) to walk in our lab in an immobilizing boot across a range of walking speeds, stride patterns, and immobilization angles. We recruited healthy young adults who could comfortably walk 10.5 m spans for 1 h. Subjects had no previous or current Achilles injury or pain that would affect their gait and provided written informed consent in this study which was approved by The University of Pennsylvania Institutional Review Board. We performed all methods in accordance with relevant guidelines and regulations.

Subjects wore laboratory shoes (Nike Air Zoom Pegasus 33, Nike, Beaverton, OR) and an immobilizing boot (Formfit® Walker Air CAM, Ossur, Reykjavík, Iceland), commonly worn by patients recovering from Achilles tendon injuries, on their right side (Fig. 6). Each subject wore a commercially available IMU (Opal, APDM, Portland, OR) attached to the lateral shank of the immobilizing boot. They wore additional IMUs on their left wrist, left lateral shank, and left foot. We acquired accelerometer data with a measurement range of ± 16 g at 100 Hz and gyroscope data with a measurement range of ± 2000 deg/s at 100 Hz. We specifically used the Opal IMUs to synchronously collect IMU data with other laboratory equipment. We measured Achilles tendon loading and walking speed using validated techniques to generate target values necessary to train and validate our predictive models. We measured plantar loads at 100 Hz using a 3-part instrumented insole (Loadsol, Novel, St. Paul, MN) placed in the immobilizing boot. We measured walking speed through videos recorded using an 8-camera markerless motion capture system (OptiTrack, Corvallis, OR). We synchronously collected IMU, instrumented insole, and motion capture data while subjects walked at 4 different walking speeds and 3 ankle immobilization angles using a synchronization device (eSync2, OptiTrack, Corvallis, OR). Subjects were instructed to walk 8 m in the lab at 4 self-selected speeds: pathological, slow, medium, and fast. Pathological gait was prompted to the participant as “If there was pain in your right foot, how might you walk?”. Slow was explained as “a slower than average walking speed”. Medium was described as their “average, everyday walking pace.” Fast was instructed as an “If you were in a hurry, but still walking”. We tested each of these walking speeds across 3 boot configurations that are clinically used to progressively increase tendon loading: a 2.5″ heel wedge to approximate 30°, a 0.5″ heel wedge to approximate 5°, and no heel wedge to approximate 0° or neutral ankle position. We acquired data during 8–16 walking trials for every test condition, which generated 6300 total strides in our entire experiment.

Figure 6.

Figure 6

Flowchart of methods. IMU, tendon load, and walking speed data were collected and served as inputs (blue). The inputs are cleaned (green) and then pre-processed (purple). We then trained and tested our machine learning models (orange).

Data processing

We analyzed our experimental data using scientific computing software and custom scripts (python v3.9.12). We manually confirmed data integrity and rejected trials where there was a discrepancy in recording lengths between the instrumented insole and the IMU. We parsed data to isolate each gait cycle from heel strike to heel strike that we determined from the insole force data by setting a threshold of 50 N and then finding the local minima. For every gait cycle, the maximum, minimum, absolute impulse, impulse of the swing phase, and impulse of the stance phase from the IMU data in the corresponding period were calculated for all six channels (the superior-inferior, anterior–posterior, and lateral-medial directions for accelerometer and gyroscope). We estimated Achilles tendon loading using our validated instrumented insole paradigm7,21, which takes the measured insole force and applies a physics-based model. These estimates were then normalized to body weight (BW). Maximum tendon load was calculated and values under 0.5 BW were not included in the model given that surgical repair strength exceeds this threshold22, leaving 4892 usable steps across all subjects and heel wedge conditions to train and test the model. Stance and swing times were also calculated through the insole sensor. We tracked the body’s center of mass in the motion capture videos using processing software (Theia, Kingston, Ontario, Canada) and found the average walking speed by calculating the net forward progression of the center of mass divided by the time it took to traverse the space on a per trial basis. We confirmed that subjects walked at a constant speed throughout the trial with strong correlations (R2 > 0.98) between the center of mass displacement and time.

Machine learning model

We selected the Least Absolute Shrinkage and Selection Operator (LASSO) Regression to develop a predictive model for walking speed and peak Achilles tendon load. LASSO is a linear regression with an L1 regularization parameter and was implemented with the scikit-learn package (see Supplemental Material). We selected LASSO because it has been shown to successfully predict biomechanical proxies including joint kinematics and tibial loading16,18. It has also outperformed other models including convoluted neural networks and Gaussian Process Regressions14. LASSO also is recommended to reduce feature dimensionality and minimize multicollinearity effects23,24.

We used maximum, minimum, absolute impulse, impulse of swing phase, and impulse of the stance phase of all IMU channels, along with stance and swing time for each heel strike to heel strike step as features and scaled them appropriately. Maximum Achilles tendon load and walking speed were used as prediction targets. We selected peak tendon loading as one of our models’ target measures because it is the most relevant biomechanical measure for Achilles tendon injuries and therefore, the desired metric for long-term monitoring. We also predicted walking speed because walking speed is a clinically advisable metric and is likely to be better predicted by IMU data. We also expect walking speed and Achilles tendon load to be positively correlated where faster walking speeds lead to higher tendon load. Thus, recommending patients to adjust their walking speed may allow clinicians to prescribe a specific tendon load during rehabilitation. We decided to predict peak tendon loading and walking speed instead of the entire loading waveforms because understanding fluctuations of our target metrics is clinically more impactful and actionable than returning the waveform.

We developed separate models for each immobilizing boot condition (30°, 5°, and 0°) because progressively removing heel wedges is a key element in the protocol that clinicians prescribe and results in fundamentally different tendon loads. Each model was trained through a k-fold cross validation method where the IMU data was split into 10 partitions, 1 for every subject. One partition (a test subject) was excluded to test the model while the remaining 9 were used to train a model. Because the training data of this model did not incorporate any of the test subject’s data, we considered this model to be made with a generalized strategy. We used the MAPE as the evaluation metric and set an a priori ‘excellent’ agreement threshold of 10% MAPE and an ‘acceptable’ agreement threshold of 20% MAPE after discussions with our clinical team. Each subject partition was excluded once and the average of the MAPEs was reported to assess the robustness of the model.

We then explored incorporating subject-specific data into the model to improve performance. Unlike many other machine learning settings, we can produce new subject data during lab or clinic visits using our instrumented insole paradigm or simple walking speed measurements. These data could be incorporated into the model to make tailored predictions unique for that individual. We tested two different methodologies aimed at improving model performance. In the hybridized strategy, we incorporated 50% of one subject’s data to the other 9 subjects’ data to form the training dataset and tested the model on the remaining 50% of data. In the personalized strategy, we solely trained a model on 50% of one subject’s data and tested the model’s performance on the remaining 50% of that one subject’s data. These 50% of a subject’s data (163 steps per subject per heel wedge condition) equated to roughly 82 steps, which is a small fraction of the steps taken during daily living and is feasible to collect during lab or clinical visits.

We performed additional analyses to test how excluding the gyroscope data stream, different sampling frequencies, and multiple sensors impacts model performance. These are important considerations because we want to decrease user burden by maximizing battery life while minimizing the number of wearable sensors. By recording only the accelerometer, the battery life of some IMU-based wearables can double. Thus, we also trained models without the gyroscope to assess their performance of predicting tendon load and walking speed against models trained with both accelerometer and gyroscope data. Decreasing the sensor’s sampling frequency further extends the IMU battery, so we assessed the performance of models trained on data that was resampled to simulate 50 Hz and 25 Hz data. Eliminating the gyroscope data and decreasing the sampling frequency are expected to impact model performance negatively, so we tested the impact of training models with multiple sensors, which we expect would increase model performance. We did this by assessing the effects of including data from IMUs on the contralateral limb, including the contralateral wrist, contralateral shank, and contralateral foot (Fig. 6).

Supplementary Information

Acknowledgements

This work was funded by NIH/NIAMS P50-AR080581 and R01-AR078898.

Author contributions

M.K. and J.B. created the study protocol. M.K. and T.H. implemented the protocol. M.K. recruited subjects, collected data, performed the data analysis. C.J.H. and L.B. gave clinical insight into the problem and clinical management of Achilles pathologies. T.H. and J.B. helped interpret the data. M.K. and J.B. wrote the manuscript. All authors reviewed the manuscript.

Data availability

Data are available in the supplemental material.

Competing interests

The authors declare no competing interests.

Footnotes

Publisher's note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Supplementary Information

The online version contains supplementary material available at 10.1038/s41598-023-45375-x.

References

  • 1.Jielile J, et al. Early ankle mobilization promotes healing in a rabbit model of Achilles tendon rupture. Orthopedics. 2016;39:e117–126. doi: 10.3928/01477447-20160106-01. [DOI] [PubMed] [Google Scholar]
  • 2.Malliaras P, Barton CJ, Reeves ND, Langberg H. Achilles and patellar tendinopathy loading programmes. Sports Med. 2013;43:267–286. doi: 10.1007/s40279-013-0019-z. [DOI] [PubMed] [Google Scholar]
  • 3.Alfredson H, Pietilä T, Jonsson P, Lorentzon R. Heavy-load eccentric calf muscle training for the treatment of chronic Achilles tendinosis. Am. J. Sports Med. 1998;26:360–366. doi: 10.1177/03635465980260030301. [DOI] [PubMed] [Google Scholar]
  • 4.Rompe JD, Furia JP, Maffulli N. Mid-portion Achilles tendinopathy–current options for treatment. Disabil. Rehabil. 2008;30:1666–1676. doi: 10.1080/09638280701785825. [DOI] [PubMed] [Google Scholar]
  • 5.Millar NL, et al. Tendinopathy. Nat. Rev. Dis. Primers. 2021;7:1–21. doi: 10.1038/s41572-020-00234-1. [DOI] [PubMed] [Google Scholar]
  • 6.Merza E, Pearson S, Lichtwark G, Ollason M, Malliaras P. Immediate and long-term effects of mechanical loading on Achilles tendon volume: A systematic review and meta-analysis. J. Biomech. 2021;118:110289. doi: 10.1016/j.jbiomech.2021.110289. [DOI] [PubMed] [Google Scholar]
  • 7.Hullfish TJ, O’Connor KM, Baxter JR. Instrumented immobilizing boot paradigm quantifies reduced Achilles tendon loading during gait. J. Biomech. 2020;109:109925. doi: 10.1016/j.jbiomech.2020.109925. [DOI] [PubMed] [Google Scholar]
  • 8.Smyth NA, et al. The effect of CAM boots on contact pressures of the ankle and hindfoot joints. Foot Ankle Orthop. 2020;5:2473011420S00014. doi: 10.1177/2473011420S00014. [DOI] [Google Scholar]
  • 9.Harper SE, Roembke RA, Zunker JD, Thelen DG, Adamczyk PG. Wearable tendon kinetics. Sensors. 2020;20:4805. doi: 10.3390/s20174805. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 10.Fusion of Wearable Kinetic and Kinematic Sensors to Estimate Triceps Surae Work during Outdoor Locomotion on Slopes. Sensors. Google Search. https://www.google.com/search?q=Fusion+of+Wearable+Kinetic+and+Kinematic+Sensors+to+Estimate+Triceps+Surae+Work+during+Outdoor+Locomotion+on+Slopes.+Sensors.&oq=Fusion+of+Wearable+Kinetic+and+Kinematic+Sensors+to+Estimate+Triceps+Surae+Work+during+Outdoor+Locomotion+on+Slopes.+Sensors.&gs_lcrp=EgZjaHJvbWUyBggAEEUYOdIBBzI4OWowajeoAgCwAgA&sourceid=chrome&ie=UTF-8. [DOI] [PMC free article] [PubMed]
  • 11.Keuler EM, Loegering IF, Martin JA, Roth JD, Thelen DG. Shear wave predictions of Achilles tendon loading during human walking. Sci. Rep. 2019;9:1–9. doi: 10.1038/s41598-019-49063-7. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 12.Lee Y-S, et al. Assessment of walking, running, and jumping movement features by using the inertial measurement unit. Gait Posture. 2015;41:877–881. doi: 10.1016/j.gaitpost.2015.03.007. [DOI] [PubMed] [Google Scholar]
  • 13.Kwon H, Abowd GD, Plötz T. Complex deep neural networks from large scale virtual IMU data for effective human activity recognition using wearables. Sensors. 2021;21:8337. doi: 10.3390/s21248337. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 14.Kammoun N, Apte S, Karami H, Aminian K. Estimation of temporal parameters during running with a wrist-worn inertial sensor: An in-field validation. Annu. Int. Conf. IEEE Eng. Med. Biol. Soc. 2022;2022:3669–3672. doi: 10.1109/EMBC48229.2022.9871063. [DOI] [PubMed] [Google Scholar]
  • 15.Sharifi Renani M, Eustace AM, Myers CA, Clary CW. The use of synthetic IMU signals in the training of deep learning models significantly improves the accuracy of joint kinematic predictions. Sensors. 2021;21:5876. doi: 10.3390/s21175876. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 16.De Brabandere A, et al. A machine learning approach to estimate hip and knee joint loading using a mobile phone-embedded IMU. Front. Bioeng. Biotechnol. 2020;8:320. doi: 10.3389/fbioe.2020.00320. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 17.Chaaban CR, et al. Combining inertial sensors and machine learning to predict vGRF and knee biomechanics during a double limb jump landing task. Sensors. 2021;21:4383. doi: 10.3390/s21134383. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 18.Matijevich ES, Scott LR, Volgyesi P, Derry KH, Zelik KE. Combining wearable sensor signals, machine learning and biomechanics to estimate tibial bone force and damage during running. Hum. Mov. Sci. 2020;74:102690. doi: 10.1016/j.humov.2020.102690. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 19.Axivity Ltd. AX6 Datasheet. 6-Axis logging movement senso. (2023).
  • 20.: Data-Field 90001. https://biobank.ctsu.ox.ac.uk/crystal/field.cgi?id=90001.
  • 21.Hullfish TJ, Baxter JR. A simple instrumented insole algorithm to estimate plantar flexion moments. Gait Posture. 2020;79:92–95. doi: 10.1016/j.gaitpost.2020.04.016. [DOI] [PubMed] [Google Scholar]
  • 22.Demetracopoulos CA, Gilbert SL, Young E, Baxter JR, Deland JT. Limited-open Achilles tendon repair using locking sutures versus nonlocking sutures: An in vitro model. Foot Ankle Int. 2014;35:612–618. doi: 10.1177/1071100714524550. [DOI] [PubMed] [Google Scholar]
  • 23.Halilaj E, et al. Machine learning in human movement biomechanics: Best practices, common pitfalls, and new opportunities. J. Biomech. 2018;81:1–11. doi: 10.1016/j.jbiomech.2018.09.009. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 24.Kipp K, Warmenhoven J. Applications of regularized regression models in sports biomechanics research. Sports Biomech. 2022 doi: 10.1080/14763141.2022.2151932. [DOI] [PubMed] [Google Scholar]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Supplementary Materials

Data Availability Statement

Data are available in the supplemental material.


Articles from Scientific Reports are provided here courtesy of Nature Publishing Group

RESOURCES