Next Article in Journal
Simple Scalable Multimodal Semantic Segmentation Model
Next Article in Special Issue
Design of Virtual Hands for Natural Interaction in the Metaverse
Previous Article in Journal
Buck Converter with Cubic Static Conversion Ratio
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Knee Angle Estimation with Dynamic Calibration Using Inertial Measurement Units for Running

by
Matthew B. Rhudy
1,*,
Joseph M. Mahoney
2 and
Allison R. Altman-Singles
1,3
1
Mechanical Engineering, The Pennsylvania State University, Berks College, Reading, PA 19610, USA
2
Mechanical Engineering, Alvernia University, Reading, PA 19607, USA
3
Kinesiology, The Pennsylvania State University, Berks College, Reading, PA 19610, USA
*
Author to whom correspondence should be addressed.
Sensors 2024, 24(2), 695; https://doi.org/10.3390/s24020695
Submission received: 20 December 2023 / Revised: 17 January 2024 / Accepted: 19 January 2024 / Published: 22 January 2024
(This article belongs to the Special Issue Wearable Sensors for Gait and Motion Analysis)

Abstract

:
The knee flexion angle is an important measurement for studies of the human gait. Running is a common activity with a high risk of knee injury. Studying the running gait in realistic situations is challenging because accurate joint angle measurements typically come from optical motion-capture systems constrained to laboratory settings. This study considers the use of shank and thigh inertial sensors within three different filtering algorithms to estimate the knee flexion angle for running without requiring sensor-to-segment mounting assumptions, body measurements, specific calibration poses, or magnetometers. The objective of this study is to determine the knee flexion angle within running applications using accelerometer and gyroscope information only. Data were collected for a single test participant (21-year-old female) at four different treadmill speeds and used to validate the estimation results for three filter variations with respect to a Vicon optical motion-capture system. The knee flexion angle filtering algorithms resulted in root-mean-square errors of approximately three degrees. The results of this study indicate estimation results that are within acceptable limits of five degrees for clinical gait analysis. Specifically, a complementary filter approach is effective for knee flexion angle estimation in running applications.

1. Introduction

Running is an important aspect of many people’s lives through various sports, leisure, and fitness activities [1]. Despite its popularity, running is often associated with a high risk of injury [2,3,4]. The knee is a common site for overuse injuries [5,6,7]. Knee injuries have been associated with both knee kinematics and kinetics in previous studies [8,9]. In addition, knee flexion angles are important data when assessing various aspects of gaits in different research applications, such as assessing the joint angle symmetry during fatigue [10], comparing male and female runners [11], and performing gait analysis for people with multiple sclerosis [12], among others. Knee flexion is associated with higher strain in the knee ligaments, which can result in ligament strains and tears when paired with other dynamic movements. Knee flexion is also important for optimizing performance and making comparisons between different demographic groups. Because running is a common physical activity that presents a risk of knee injury, research regarding knee angle estimation during running is necessary to clearly understand gait kinematics.
Various measurement systems have been used for gait analysis [13] to determine knee flexion angles. Optical motion capture is a popular way to identify joint angles owing to its high accuracy [14]. This technology, however, is cost limiting for some researchers. Additionally, the application becomes limited to relatively small testing areas owing to the physical constraints of fixed motion-capture camera systems. The process for applying markers is also time consuming. This is especially restrictive when considering studies of gait during running because much of running is done outdoors. Outdoor activity is often encouraged for individuals because of the overall health benefits of the time spent outdoors [15,16]. Owing to these significant limiting factors of optical motion-capture systems, portable technology for identifying joint angles is desirable. That is, optical motion-capture systems are not practical for analyzing gaits during outdoor running applications, such as trail running and running during outdoor sports.
Inertial measurement units (IMUs) have become a popular means for identifying human kinematic information in various applications owing to their reasonable availability, cost, and portability. The wearable nature of these sensors makes them practical for use in different environments outside of a laboratory. Because these sensors are wearable, they can be used in outdoor running applications as a means for estimating knee angles. IMUs have been used in multiple studies to estimate the knee flexion angles for applications, such as walking [17,18,19,20], walking and running [21,22,23], squats [21,24], lunges [25], and joint rehabilitation movements [26].
IMUs typically contain three-axis accelerometers, three-axis rate gyroscopes, and, sometimes, three-axis magnetometers. Although the details of the actual implementation vary, the general principles of IMU knee-flexion-angle estimation research involve the fusion of different combinations of IMU sensor information through filtering techniques, such as the complementary filter (CF) [17], Kalman filter (KF) [22], extended Kalman filter (EKF) [20,21,22,26], and unscented Kalman filter (UKF) [18,24], or smoothers, such as the Rauch–Tung–Striebel smoother (RTSS) [25]. Some researchers consider the use of accelerometers, rate gyroscopes, and magnetometers [18,24]; however, more commonly, accelerometers and rate gyroscopes are implemented without including magnetometer measurements [17,19,20,21,22,25,26]. Magnetometer measurements are often omitted from joint estimation algorithms owing to their susceptibility to interference from local magnetic fields [20,25].
Other researchers have considered data-driven approaches, such as machine learning, for knee-flexion-angle estimation [23,27,28]. For example, Gholami et al. consider foot-mounted accelerometer data coupled with machine learning to identify lower limb kinematics [23]. As noted in Gholami et al. [23], however, there are significant limitations with data-driven approaches for joint angle estimation applications. Specifically, it is difficult to generalize the results of this type of study for a general population owing to the possibility of overfitting to the sample data. Additionally, a large and diverse dataset must be collected to train and validate these types of approaches. Because of this, data-driven approaches are not considered as a part of this article.
One of the challenges associated with the use of IMU data for joint angle estimation is the alignment of the sensor frames to the relevant body segments. There are different strategies for handling this issue, each with advantages and disadvantages. As outlined by Hindle et al. [24], the commonly implemented strategies for sensor-to-segment alignment can be categorized into manual alignment [29], static pose estimation [18,19,22,30], functional calibration [31,32,33], deep learning [34], or some combination of these approaches [21]. The use of static poses is common, according to the literature, involving subjects holding still from 5 to 10 s in a specified standing pose [18,19,21,22] or seated pose [19]. For these static data, accelerometers are utilized to detect the gravity vector because all the accelerations measured using accelerometers are due to only gravity when there is no motion [19,21]. Alternatively, some researchers use estimated orientations of the individual IMUs from a filtering algorithm to perform the static alignment [18,24]. The other commonly considered approach for sensor-to-segment alignment is functional calibration, which requires the subjects to execute specific calibration movements prior to the testing. These movements are selected to excite different modes of motion in the anatomical planes, thus increasing the observability of the body segments within the IMU data. Knee flexion and extension movements were used either actively or passively by a physical therapist in Cutti et al. [32] and Ferrari et al. [33]. Favre et al. consider a combination of multiple active and passive movements for calibration purposes [31].
In addition to these techniques, some research efforts have investigated dynamic calibration procedures that do not require any specific static poses or calibration movements prior to the testing. This idea, originally proposed by Seel et al. [17,35], was later utilized with some modifications by Versteyhe et al. [25] and Vasquez et al. [20]. In each of these studies, some notable advantages have been identified as follows [17]:
  • Sensor-to-segment mounting assumptions are avoided;
  • No measurements of body segment distances are manually determined;
  • No predefined postures or movements are required for the calibration;
  • Magnetometers are not required.
Another study by McGrath et al. proposes a similar approach but using a different mathematical technique: principal component analysis (PCA) [36]. Carcreff et al. explored PCA for sagittal plane identification using foot-mounted IMUs [37].
The principles of the dynamic calibration method by Seel et al. [17] have so far been implemented for level walking [17,20], stair descent [20], sit-to-stand-to-sit [20], and lunges [25]. These movements involve relatively low accelerations and low impacts when compared to running. Preliminary implementations of the method by Seel et al. [17] for running data resulted in somewhat poor estimates of knee flexion angles, thus motivating a need for improving and refining this technique for the specific application of running.
IMU data have been applied to running tasks in multiple previous studies. For example, accelerometer data were used to compare male and female running patterns using machine learning in Clermont et al. [38]. Wundersitz et al. used trunk-mounted accelerometer data to compare peak accelerations experienced during walking, jogging, and running relative to a motion-capture system [39]. A tibial accelerometer was used in [40] to estimate the ground reaction force during running. IMUs have been used to identify initial contact and terminal contact gait events in Kiernan et al. [41] and Yang et al. [42]. Potter et al. conducted a study of foot IMUs for estimating running gait parameters [43]. Building upon the insight of these studies, this study incorporates the use of IMU data to identify key aspects of the running gait and leverages this information to capture the knee angle kinematics more effectively.
The objective of this study is to expand upon the work of Seel et al. [17,35] to make additional novel contributions. The following items outline the key differences in this study:
  • The methods of Seel et al. [17] are adapted to work well, specifically for the application of running, which involves fast movements with high accelerations. The methodology of Seel et al. [17] does not perform well when directly applied to running data;
  • Simple accelerometer peak detection is used to parse the data into gait cycles. This gait cycle information is then leveraged to separate the IMU data into regions of data corresponding to different aspects of the gait, such as the stance phase, swing phase, foot strike, and float. Based on this information, the dynamic alignment of the sensors is performed strategically, using the reliable portions of the dataset. This improves the necessary sensor alignment, thus allowing for more accurate knee flexion angle estimates;
  • Using the newly aligned sensor data, three different filtering algorithms are developed for the application of knee flexion angle estimation during running. These algorithms utilize rate gyroscope and accelerometer measurements from one shank-mounted and one thigh-mounted IMU. Each of these algorithms is compared with respect to accurate reference data from a motion-capture system;
  • The identified foot strikes are also used to identify the portions of the accelerometer data that correspond to the impact rather than the dynamic movement. These portions of the dataset are strategically omitted from the measurement update portion of the proposed filtering algorithms, thus mitigating the erroneous effects of the impact due to foot strikes.

2. Materials and Methods

2.1. Experimental Setup and Data Acquisition

2.1.1. Inertial Measurement Units

This study utilized two Blue Trident (Vicon, Centennial, CO, USA) inertial measurement units (IMUs) fixed to the anterior distal aspect of the thigh and the anteromedial distal aspect of the tibia of the dominant leg. Each was taped to the skin and wrapped firmly to the corresponding segment. A picture of the IMU mounting locations is provided in Figure 1 prior to being wrapped. The considered IMUs feature accelerometer measurements for a range of ±16 g with 16-bit resolution and gyroscope measurements for a range of ±2000 deg/s with 16-bit resolution. These IMUs also contain magnetometers; however, these measurements were not used for this study.

2.1.2. Motion-Capture System

In addition to the IMUs tracking the thigh and shank segments, 23 retroreflective markers were taped to the dominant limb of the participant. Note that the same leg was used for the motion capture and IMU sensor mounting for this study. A twelve-camera combined Vicon Bonita and Vero (Vicon, Centennial, CO, USA) motion-capture system was used to collect optical marker data on the thigh and shank of the lower extremity. All the data were collected using Vicon Nexus 2.15 (Vicon, Centennial, CO, USA) at 200 Hz and synchronized with the IMU data collected at 400 Hz. A standing calibration of the participant was collected, and the anatomical markers were removed, leaving only the IMUs and tracking marker clusters on the thigh and shank.
The raw marker trajectories were low-pass filtered using a zero-lag 4th-order Butterworth filter with a 6 Hz cutoff frequency. The knee and thigh segments were identified, and the 3D joint angles were calculated using the optical markers in Visual 3D (C-Motion Inc., Germantown, MD, USA).

2.2. Knee Flexion Angle Estimation Using Shank- and Thigh-Mounted IMUs

This study considers the estimation of knee flexion angles using two IMUs. One IMU is mounted on the shank, which is indicated as IMU1, while the other is mounted on the thigh, which is indicated as IMU2. A diagram illustrating the mounting location and IMU axes and the knee flexion angle, α, is shown in Figure 2.

2.2.1. IMU-Based Joint Angle Measurement for Gait Analysis [17]

Consider the shank and thigh IMUs, as shown in Figure 2, which provide triaxial accelerations a1(t) and a2(t) and triaxial angular velocities g1(t) and g2(t) for a sampling period, Δt, where the subscripts 1 and 2 indicate the shank and thigh, respectively. The angular accelerations are calculated using a third-order central differencing approximation as follows:
g ˙ i t = g i t 2 Δ t 8 g i t Δ t + 8 g i t + Δ t g i t + 2 Δ t 12 Δ t , i = 1 , 2
An optimization procedure is used to determine the 3D unit vectors, j1 and j2, which correspond to the knee flexion axis in the local coordinates of the shank and thigh sensors, respectively. This is accomplished by minimizing the cost function as follows:
Ψ ϕ 1 , ϕ 2 , θ 1 , θ 2 = k = 1 N g 1 t k × j 1 2 g 2 t k × j 2 2 2 j 1 = cos ϕ 1 cos θ 1 cos ϕ 1 sin θ 1 sin ϕ 1 , j 2 = cos ϕ 2 cos θ 2 cos ϕ 2 sin θ 2 sin ϕ 2
where 2 denotes the L2-norm, (ϕ1, θ1) and (ϕ2, θ2) represent spherical coordinates for a coordinate transformation from the individual IMU frames to the knee joint frame, and k indicates the discrete time index as follows:
t k = k Δ t
The minimization of the cost function in Equation (2) is established as a means of finding the best alignment of the two sensor frames to minimize the angular velocity along the knee axis. This equation is derived based on the assumptions that the knee joint can be approximated as a hinge joint and that most of the angular velocity should occur in the sagittal plane. Following this alignment, the knee flexion angle can be calculated using gyroscopes through integration as follows:
α g y r t = o t g 1 τ j 1 g 2 τ j 2 d τ
After the joint axes have been determined, the coordinates of the joint centers in the local sensor coordinates, o1 and o2, are determined from an additional optimization procedure as follows:
Ψ ˜ o ^ 1 , o ^ 2 = k = 1 N a 1 t k Γ g 1 t k o ^ 1 2 a 2 t k Γ g 2 t k o ^ 2 2 2 Γ g t o ^ = g t × g t × o ^ + g ˙ t × o ^ o 1 = o ^ 1 j 1 o ^ 1 j 1 + o ^ 2 j 2 2 , o 2 = o ^ 2 j 2 o ^ 1 j 1 + o ^ 2 j 2 2
The optimization algorithm presented in Equation (5) consists of correcting the acceleration signals for the normal and tangential acceleration components due to the position of the sensors relative to the joint. This type of correction is sometimes referred to as a lever arm correction. These joint centers are then used to correct the accelerometer measurements as follows:
a ˜ i t = a i t Γ g i t o i , i = 1 , 2
which are then used to identify the joint angle using the accelerometer data as follows:
α a c c t = 2 D a ˜ 1 t x 1 a ˜ 1 t y 1 , a ˜ 2 t x 2 a ˜ 2 t y 2 x 1 = j 1 × c , y 1 = j 1 × x 1 , x 2 = j 2 × c , y 2 = j 2 × x 2 ,
where 2 D · denotes the signed angle between two vectors in R 2 , and c is any vector not parallel to j1 or j2. For this study, we use c = 1 0 0 T . The coordinates (x1, y1) and (x2, y2) represent arbitrary 2D coordinates in the knee joint plane and are used as a means for determining the angle between the two IMU sensors.
The joint angle estimates from Equations (4) and (7) can then be combined using sensor fusion to get a better overall estimate. This is a necessary step because the gyroscope estimate from Equation (4) is prone to drift over time owing to integration, while the accelerometer estimate from Equation (7) exhibits noise and is less reliable at moments of large acceleration changes [17].

2.2.2. IMU Data Processing and Modifications to the Seel et al. Algorithm

The overall general procedure outlined in Section 2.2.1 is implemented in this study. However, the information flow through this methodology is modified strategically in this study, specifically for the application of running. This is motivated by the significant errors encountered in the accelerometer knee flexion angle estimates from Equation (7) when implementing the methods from Section 2.2.1 directly. Owing to the high-speed conditions during running, the dynamics of the leg-mounted sensors are subjected to significantly higher accelerations than the walking data considered in Seel et al. [17]. Additionally, the higher impact due to foot strikes results in large acceleration spikes in the measurement data. However, because these peaks tend to be clearly identifiable within the accelerometer data, these accelerometer spikes are used to our advantage to detect foot strikes using a simple peak detection algorithm [44]. Note that the peak detection algorithm is applied to unfiltered accelerometer data. Then, the data between the foot strikes from 40% to 80% of each gait cycle are used for the gyroscope optimization procedure, as outlined in Equation (2). These portions of the gait cycle give a better alignment and identification of the joint plane based on the dynamic conditions typically encountered during those phases of the gait cycle. In other words, this specific selection of data offers relevant knee angle dynamics while reducing other effects on the motion, such as soft-tissue artifacts. Additionally, this reduces the other effects of the observed dynamics due to the impact and ground reaction.
After the joint axes in the local sensor coordinate frames, i.e., j1 and j2, have been determined, the accelerometer and gyroscope signals are filtered using a 4th-order zero-lag low-pass Butterworth filter with a 7 Hz cutoff frequency [20]. The filtered accelerometer signals are used to determine the projected angular velocity components as follows:
g ˜ i t = g i t j i , i = 1 , 2
The filtered accelerometer data corresponding to 40%–80% of each gait cycle are then sent to the optimization algorithm in Equation (5) to determine the joint centers, o1 and o2, which are then used to determine the corrected accelerometer signals using Equation (6).
In addition to strategically selecting a certain portion of the gait cycle for the optimization portions of the algorithm, one additional modification is considered. That is, owing to the significant effects of impact and soft-tissue artifacts on the accelerometer signals around the impact, a certain portion of the accelerometer data is omitted from the measurement update of all the considered filtering algorithms. Specifically, the accelerometer data corresponding to 5% of the gait cycle before and after each detected accelerometer peak are not used for the measurement update portion of any considered filtering algorithm. Note that during this time, each filtering algorithm relies on gyroscope-only estimation for the knee flexion angle, which is reliable for short time periods. This is a reasonable assumption for the running application. A flowchart detailing the flow of information for the considered algorithm is provided in Figure 3.

2.3. Considered Filtering Algorithms

2.3.1. Kalman Filter (KF)

Consider a linear discrete-time state space system given by
x k = F k 1 x k 1 + G k 1 u k 1 + w k 1 y k = H k x k + v k
where x is the state vector, u is the input vector, y is the output vector, and w and v are zero-mean Gaussian process and measurement noise terms, respectively. With these definitions, the linear KF algorithm can be summarized as follows. First, the mean and covariance, P, for the state are predicted using the following equations:
x ^ k | k 1 = F k 1 x ^ k 1 + G k 1 u k 1 P k | k 1 = F k 1 P k 1 F k 1 T + Q k 1
where Q is the process noise covariance matrix. Then, the Kalman gain matrix, K, is calculated using the following equation:
K k = P k | k 1 H k H k P k | k 1 H k T + R k 1
where R is the measurement noise covariance matrix. Using this Kalman gain, the state and covariance estimates are updated with
x ^ k = x ^ k | k 1 + K k z k H k x ^ k | k 1 P k = I K k H k P k | k 1
where z is the measurement of the output, y, and I is an identity matrix possessing appropriate dimensions.

2.3.2. Extended Kalman Filter (EKF)

The EKF is an extension of the KF that works for nonlinear systems of the following form:
x k = f x k 1 , u k 1 + w k 1 y k = h x k + v k
where f is the nonlinear state prediction function, and h is the nonlinear observation function. The EKF uses Jacobian matrices to handle the nonlinearity as follows:
F k 1 = f x x ^ k 1 , u k 1 , H k = h x x ^ k | k 1
where F is the state transition matrix, and H is the observation matrix. The EKF equations then follow a format similar to that of the KF and are summarized as follows:
x ^ k | k 1 = f x ^ k 1 , u k 1 P k | k 1 = F k 1 P k 1 F k 1 T + Q k 1 K k = P k | k 1 H k H k P k | k 1 H k T + R k 1 x ^ k = x ^ k | k 1 + K k z k h x ^ k | k 1 P k = I K k H k P k | k 1
Note that the nonlinear functions f and h are used in the state estimate equations, while the Jacobian matrices are used for the covariance calculations like the KF.

2.3.3. Complementary Filter (CF)

A CF typically consists of combining high-frequency information from one source with low-frequency information from another source. For state x, the CF algorithm can be summarized in the Laplace domain by [45]
x ^ k = s s 2 + ζ C F ω C F s + ω C F 2 x ˙ + ζ C F ω C F s + ω C F 2 s 2 + ζ C F ω C F s + ω C F 2 x
where ζCF and ωCF represent the damping ratio and natural frequency for the CF. Alternatively, specifically for the knee flexion angle application, an example CF for discrete time is offered in Seel et al. as follows [17]:
α a c c + g y r t = λ α a c c t + 1 λ α a c c + g y r t Δ t + α g y r t α g y r t Δ t
where λ is the fixed gain for the CF, which ranges from 0 to 1.

2.4. Knee Flexion Angle Estimation Algorithms

2.4.1. Knee Flexion Angle Estimation using Kalman Filter (KF)

The KF algorithm considers the following state space definitions:
x t = α t u t = g ˜ 1 t g ˜ 2 t y t = α t
With these definitions, the state dynamics are given in continuous time by
x ˙ t = α ˙ t = u t = g ˜ 1 t g ˜ 2 t
A first-order discretization is used to express the state dynamics in discrete time as follows:
x k = x k 1 + Δ t u k 1
which corresponds to a state space system of the form in Equation (9) with the following matrix definitions:
F k 1 = 1 G k 1 = Δ t H k = 1
The output is a direct measurement of the state, which is the accelerometer-based estimate of the knee flexion angle, as provided by Equation (7), while the gyroscope information is used as an input to the filter. Effectively, the Q matrix, which is a scalar in this case, represents the uncertainty in the gyroscope measurement, while the R matrix, which is also a scalar in this case, represents the uncertainty in the accelerometer knee flexion angle estimate.

2.4.2. Knee Flexion Angle Estimation using Extended Kalman Filter (EKF)

The EKF algorithm considers the following state space definitions:
x t = α t u t = g ˜ 1 t g ˜ 2 t y t = a ˜ 2 t x 2 a ˜ 2 t y 2
The coordinates (x1, y1) and (x2, y2) are determined from Equation (7). Note that owing to the selections of the state and input, the state prediction equation is linear in this case, resulting in the Jacobian matrix F = 1 for all time, and the discrete-time state prediction equation is the same as the KF, as in Equation (20). The output, however, is based on Equation (7) and is expressed in terms of a rotation from the shank sensor to the thigh sensor in the joint plane as follows:
a ˜ 2 t x 2 a ˜ 2 t y 2 = cos x t sin x t sin x t cos x t a ˜ 1 t x 1 a ˜ 1 t y 1
This results in a nonlinear observation equation, which gives the following Jacobian matrix:
H k = sin x t a ˜ 1 t x 1 cos x t a ˜ 1 t y 1 cos x t a ˜ 1 t x 1 sin x t a ˜ 1 t y 1
For the EKF, the Q matrix, like in the KF, is a scalar that represents the uncertainty in the gyroscope measurement. Here, however, the R matrix is a 2 × 2 matrix. A diagonal R matrix is assumed, with the first component corresponding to the uncertainty in the x-components of the acceleration in the joint plane and the second component corresponding to the uncertainty in the y-components of the acceleration in the joint plane.

2.4.3. Knee Flexion Angle Estimation using Complementary Filter (CF)

The CF algorithm implemented herein is the same as the one offered in Seel et al. [17], as provided in Equation (17). Herein, the selection of the λ parameter represents the blend between the accelerometer- and gyroscope-estimated knee flexion angles. A higher λ parameter more heavily weights the accelerometer-based knee flexion angle estimates, while a lower λ favors the gyroscope-based estimates.

3. Results

First, a pilot dataset was collected from a 38-year-old female runner. The runner was a forefoot striker and ran an average of 12 miles per week. The sagittal plane knee angle ranged from 13.7° to 121.2° of knee flexion. The participant ran on a treadmill at 2.9 m/s, and running data were collected for 60 s following a 2 min warmup. These pilot data were used for developing and tuning the algorithm but not used for validation.
An additional series of data was collected from a different female runner, age 21, who was a rearfoot striker and ran an average of 14 miles per week. These data were used as validation data to evaluate the effectiveness of this proposed knee flexion estimation approach. Four different sets of data were collected for this participant. At the beginning of each dataset, the runner held a static T-pose for approximately 10 s. Then, the treadmill was set at a different speed, and the participant ran for approximately 3–4 min. The details for the treadmill settings are provided in Table 1.

3.1. Data Processing and Filtering

As outlined in Section 2.2.2, data processing is a key contribution of this study. The selection of data segments for the optimization relies on identifying foot strikes through a peak detection algorithm in the unfiltered accelerometer signals. The example figures in this section are provided from the pilot dataset. A plot showing the results of the peak detection is offered for a segment of pilot data in Figure 4. The large acceleration spikes due to foot strikes are distinguishable from the rest of the dataset and are marked with circles in Figure 4. After the peak detection is completed, the IMU signals are filtered. Example results for the 4th-order, zero-lag, low-pass Butterworth filtering at a 7 Hz cutoff frequency for the pilot data are shown for the accelerometers in Figure 5 and gyroscopes in Figure 6. Figure 5 and Figure 6 show the attenuation of the sensor noise as well as a reduction in the oscillations due to the foot strikes. Then, by leveraging the locations of the foot strikes, a portion of the gait cycle is selected for use in the optimization algorithms. An example plot illustrating this data selection for the pilot data is provided in Figure 7. In Figure 7, the segments of interest corresponding to the selected gait cycle percentages are identified and show the relevant dynamic behavior of interest for accurately identifying the joint plane. The results from gyroscope-only knee flexion angle estimates from Equation (4) and accelerometer-only knee flexion angle estimates from Equation (7) are shown as an example for the pilot data in Figure 8. Note that in Figure 8a, which shows data at the beginning of the dataset, the gyroscope estimates are close to the Vicon reference data while in Figure 8b, the gyroscope estimate shows significant drift, as expected, over time. However, the accelerometer estimate is generally not close to the Vicon reference data but does not exhibit any drift error. These results motivate the need for a well-tuned sensor fusion algorithm to combine the strengths of each individual sensor estimation. Example plots from the filtering algorithms for the pilot data are shown in Figure 9. Figure 9 shows reasonable agreement between the estimated signals and the Vicon reference data, thus demonstrating the feasibility of the algorithm. Each of the filters in Figure 9 show similar estimates, and the algorithms have the most significant errors in identifying some of the peaks of the knee flexion angle.

3.2. Comparison of Different Filtering Approaches for Knee Angle Estimation

The methods described in Section 2.2.1 and Section 2.2.2 were implemented for the four datasets outlined in Table 1. For this study, the root-mean-square error (RMSE) was selected as the metric to assess the accuracy and reliability of the estimation algorithms. For each filter, the parameters were manually tuned to minimize the RMSE of the estimated knee flexion angle with respect to the reference measurement obtained from the Vicon motion-capture system. This tuning procedure is illustrated in Figure 10 for each dataset. For the KF and EKF, the measurement noise covariance, R, was set at 1, and the process noise covariance was varied to adjust the blending between the gyroscope and accelerometer information. The lower values of the tuning parameters in Figure 10 correspond to the use of more gyroscope information relative to the accelerometer information, while the higher values of the tuning parameters indicate the use of more accelerometer information.
Example plots of the knee flexion angle estimates are shown with respect to the motion-capture reference data for a portion of each validation dataset in Figure 11. For each filtering algorithm, the RMSE was calculated for the filters described in Section 2.4. The resulting RMSE values for each filtering algorithm are provided in Table 2. As an additional visualization of the knee angle estimations throughout the entire dataset, Figure 12 provides the mean and standard deviation for each gait cycle throughout the dataset. This information is shown along with a 95% confidence interval for the Vicon motion-capture data, which show the natural variation in the knee angle for the different steps taken throughout the dataset. It is shown in Figure 11 and Figure 12 that the range of the knee angle increases as the treadmill speed increases. Larger variations in the knee angle are shown in Figure 12 for dataset #4 relative to the other datasets. This is likely due to the varying treadmill speeds for this particular dataset. Also in Table 2 are the RMSE values for the knee flexion angle, using only the accelerometer measurement from Equation (7). This is provided as a benchmark to indicate how much the filtering algorithms can improve upon this accelerometer information by fusing it with the gyroscope information. Gyroscope-only estimates were not included owing to the significant drift over time that occurs when this information is unregulated. Using the same filter parameters as in Table 2, Pearson correlation coefficients were calculated for each of the filtering algorithm knee flexion angle estimates and are shown in Table 3.

4. Discussion

The results in Table 2 show a similar performance between the KF and CF algorithms, resulting in the best knee flexion angle estimates. The EKF algorithm yielded values close to those of the KF and CF but generally performed worse and, therefore, this particular implementation of the EKF is not recommended for this application. Owing to the mathematical structure of the EKF formulation, the filter effectively seeks to align the acceleration signals from the shank and thigh IMUs through a single rotation angle. Although the lever arm correction was applied to correct for the normal and tangential acceleration components relative to the knee joint, there were still potential differences in the acceleration signals due to the sensor noise, soft-tissue artifacts, etc., which likely led to the higher uncertainty for this formulation. Note that although the EKF, in general, as a filtering structure is more capable for handling certain aspects of the estimation problem than the CF owing to its time-varying gain calculation, in this instance, the underlying state space structure that was used to implement the EKF was inherently different from that in the CF formulation, thus resulting in the significant differences in performance.
In general, the accuracy of the knee angle estimates decreases as the treadmill speed increases, as shown in Table 2 for datasets 1–3. The faster running speeds result in more dynamic conditions, resulting in faster accelerations as well as more significant foot-strike impacts, which likely cause an increase in the error. Because the CF offered the lowest overall RMSE and was more computationally efficient than the KF algorithm, the CF method is recommended for this application, though the KF is a feasible approach. All three filters indicated a strong correlation with the motion-capture data, as shown in Table 3.
When comparing the filtering methods for the accelerometer-only data in Table 2, the gyroscope information significantly improves the knee flexion angle estimates. It is worth noting that in this application for running, the accelerometer-only estimates are quite poor. This is also apparent in Figure 8. This poor accelerometer estimate of the knee flexion angle significantly motivates this study. The walking dataset analyzed in Seel et al. [17] contained much lower accelerations and yielded much more accurate knee flexion angle estimates from the accelerometers. However, despite the significantly worse accelerometer performance in this application, a comparable amount of error was achieved in Seel et al. [17], which reported 3° of error for the human leg. Other researchers have reported RMSE errors for running speeds of approximately 5 mph of 3.4° [22] and 7.3° [21]. Jakob et al. also reported an RMSE error of 10.2° [21] for a speed of 3.0 m/s, which is close to the speed for dataset #2 in this paper. The proposed method in this study offers better results when comparing these values with the RMSE values from Table 2. The estimates shown in Table 2 satisfy the recommendation from McGinley et al. [46], which concluded that errors greater than 5° should not be used for gait analysis decision making. Therefore, the methods proposed in this study can be used as a portable and low-cost means for estimating knee angles for studying running gait kinematics. This has potential use in analyzing running in various outdoor applications.
The work in this study has some limitations. The results were obtained using a single set of pilot data and validated with respect to datasets from a single test participant. A more thorough dataset containing data from multiple human participants would be necessary to ensure the results are more generalizable. There may be differences in the accuracy of the algorithms owing to how the IMU sensors were attached to each participant. Another limitation of this study is that the filtering algorithms were initialized using the initial knee flexion angle, as determined by the motion-capture system. Ideally, this initialization would be obtained using only the IMU sensors or through other simple means, such as a goniometer. For practical implementation purposes, static IMU data, such as a standing pose at the start of the data collection, could reasonably be used to identify the initial condition. In this study, by initializing with the motion-capture system data, the results focused on analyzing the long-term sensor estimation errors rather than compounding these errors with additional uncertainty due to the initialization error. Future work should explore this initialization in more detail. Finally, the filter parameters were tuned manually for each dataset according to the calculated RMSE values. In practice, if this method is applied to the data without the motion-capture reference data, this type of tuning procedure would not be possible, so a more generally applicable tuning procedure is desirable. In real-world scenarios where the motion-capture reference data are not available, one possible approach for tuning would be to adjust the filter parameters until the gyroscope drift is sufficiently corrected. That is, when the tuning parameters are too low, a drift in the knee angle estimates is observed over time. This is readily apparent when viewing the peaks in the estimated knee signals, for example, as shown in Figure 8b. Incrementally increasing the tuning parameters until this drift becomes stabilized should result in a reasonable knee flexion angle estimate. If the parameter is increased too far, the estimation results will begin to favor the accelerometer angle estimates. This approach could be automated in future work, such as by minimizing the line fitted to the estimated knee flexion angle peaks.
This study was performed on a treadmill, which has known differences in knee kinematics compared with those of overground running, notably, a 2° increase in knee flexion at the foot strikes and a 6° increase in the knee flexion excursion on the treadmill as compared with those on a variety of overground surfaces [47]. This small kinematic difference is not expected to affect the method’s generalizable applicability to overground running, as it was validated using two runners with different overall knee kinematics that exceeded the differences expected on overground surfaces. However, it should be considered that the environmental considerations of outdoor, overground running may contain turns that may adversely influence the IMU readings. Future work should consider the transfer of this method to outdoor running over varied terrains.

5. Conclusions

This study presented a novel approach for knee flexion angle estimation using only shank- and thigh-mounted IMUs. The considered approach used strategically selected portions of the gait cycle through foot strike detection to help guide an optimization technique for aligning the sensors to the sagittal plane. This approach was evaluated using three filter variations for four sets of running data measured on a treadmill and validated with respect to reference data from a motion-capture system. The results of this study indicate that a complementary filter approach is the most effective for this methodology of knee flexion angle estimation for running applications.

Author Contributions

Conceptualization, M.B.R., J.M.M. and A.R.A.-S.; methodology, J.M.M. and A.R.A.-S.; software, M.B.R. and J.M.M.; validation, M.B.R., J.M.M. and A.R.A.-S.; formal analysis, M.B.R., J.M.M. and A.R.A.-S.; investigation, M.B.R., J.M.M. and A.R.A.-S.; resources, M.B.R., J.M.M. and A.R.A.-S.; data curation, J.M.M. and A.R.A.-S.; writing—original draft preparation, M.B.R. and A.R.A.-S.; writing—review and editing, M.B.R., J.M.M. and A.R.A.-S.; visualization, M.B.R., J.M.M. and A.R.A.-S.; supervision, A.R.A.-S.; project administration, A.R.A.-S.; funding acquisition, A.R.A.-S. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

The study was conducted in accordance with the Declaration of Helsinki and approved by the Institutional Review Board of Pennsylvania State University (STUDY00007641, approved on 20 July 2017, and last updated on 30 May 2023).

Informed Consent Statement

Informed consent was obtained from all the subjects involved in the study.

Data Availability Statement

All the data that can be shared are included in the article. Not all the collected data can be shared owing to the privacy restrictions of the human subject research data, as required by the Institutional Review Board (IRB).

Acknowledgments

The investigators acknowledge the assistance and support of undergraduate students Naomi Fay and Diego Carbajal with data collection and motion analysis processing.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Hulteen, R.M.; Smith, J.J.; Morgan, P.J.; Barnett, L.M.; Hallal, P.C.; Colyvas, K.; Lubans, D.R. Global participation in sport and leisure-time physical activities: A systematic review and meta-analysis. Prev. Med. 2017, 95, 14–25. [Google Scholar] [CrossRef] [PubMed]
  2. Van Mechelen, W. Running injuries: A review of the epidemiological literature. Sports Med. 1992, 14, 320–335. [Google Scholar] [CrossRef] [PubMed]
  3. Hoeberigs, J.H. Factors related to the incidence of running injuries: A review. Sports Med. 1992, 13, 408–422. [Google Scholar] [CrossRef]
  4. Fields, K.B.; Sykes, J.C.; Walker, K.M.; Jackson, J.C. Prevention of running injuries. Curr. Sports Med. Rep. 2010, 9, 176–182. [Google Scholar] [CrossRef] [PubMed]
  5. Blair, S.N.; Kohl, H.W.; Goodyear, N.N. Rates and risks for running and exercise injuries: Studies in three populations. Res. Q. Exerc. Sport 1987, 58, 221–228. [Google Scholar] [CrossRef]
  6. Brunet, M.E.; Cook, S.D.; Brinker, M.R.; Dickinson, J.A. A survey of running injuries in 1505 competitive and recreational runners. J. Sports Med. Phys. Fit. 1990, 30, 307–315. [Google Scholar]
  7. Clement, D.B.; Taunton, J.E.; Smart, G.W.; McNicol, K.L. A survey of overuse running injuries. Physician Sportsmed. 1981, 9, 47–58. [Google Scholar] [CrossRef]
  8. Messier, S.P.; Davis, S.E.; Curl, W.W.; Lowery, R.B.; Pack, R.J. Etiologic factors associated with patellofemoral pain in runners. Med. Sci. Sports Exerc. 1991, 23, 1008–1015. [Google Scholar] [CrossRef]
  9. Duffey, M.J.; Martin, D.F.; Cannon, D.W.; Craven, T.; Messier, S.P. Etiologic factors associated with anterior knee pain in distance runners. Med. Sci. Sports Exerc. 2000, 32, 1825–1832. [Google Scholar] [CrossRef]
  10. Gao, Z.; Fekete, G.; Baker, J.S.; Liang, M.; Xuan, R.; Gu, Y. Effects of running fatigue on lower extremity symmetry among amateur runners: From a biomechanical perspective. Front. Physiol. 2022, 13, 899818. [Google Scholar] [CrossRef]
  11. Xie, P.-P.; István, B.; Liang, M. Sex-specific differences in biomechanics among runners: A systematic review with meta-analysis. Front. Physiol. 2022, 13, 994076. [Google Scholar] [CrossRef] [PubMed]
  12. Fernández-Vázquez, D.; Calvo-Malón, G.; Molina-Rueda, F.; López-González, R.; Carratalá-Tejada, M.; Navarro-López, V.; Miangolarra-Page, J.C. Kinematic Gait Analysis in People with Mild-Disability Multiple Sclerosis Using Statistical Parametric Mapping: A Cross-Sectional Study. Sensors 2023, 23, 7671. [Google Scholar] [CrossRef]
  13. Higginson, B.K. Methods of Running Gait Analysis. Curr. Sports Med. Rep. 2009, 8, 136–141. [Google Scholar] [CrossRef]
  14. Kanko, R.M.; Laende, E.K.; Davis, E.M.; Selbie, W.S.; Deluzio, K.J. Concurrent assessment of gait kinematics using marker-based and markerless motion capture. J. Biomech. 2021, 127, 110665. [Google Scholar] [CrossRef] [PubMed]
  15. Gladwell, V.F.; Brown, D.K.; Wood, C.; Sandercock, G.R.; Barton, J.L. The great outdoors: How a green exercise environment can benefit all. Extrem. Physiol. Med. 2013, 2, 3. [Google Scholar] [CrossRef] [PubMed]
  16. Triguero-Mas, M.; Dadvand, P.; Cirach, M.; Martínez, D.; Medina, A.; Mompart, A.; Basagaña, X.; Gražulevičiene, R.; Nieuwenhuijsen, M.J. Natural outdoor environments and mental and physical health: Relationships and mechanisms. Environ. Int. 2015, 77, 35–41. [Google Scholar] [CrossRef] [PubMed]
  17. Seel, T.; Raisch, J.; Schauer, T. IMU-based joint angle measurement for gait analysis. Sensors 2014, 14, 6891–6909. [Google Scholar] [CrossRef] [PubMed]
  18. Beravs, T.; Rebersek, P.; Novak, D.; Podobnik, J.; Munih, M. Development and validation of a wearable inertial measurement system for use with lower limb exoskeletons. In Proceedings of the 2011 11th IEEE-RAS International Conference on Humanoid Robots, IEEE, Bled, Slovenia, 26–28 October 2011; pp. 212–217. [Google Scholar] [CrossRef]
  19. Wang, S.; Cai, Y.; Hase, K.; Uchida, K.; Kondo, D.; Saitou, T.; Ota, S. Estimation of knee joint angle during gait cycle using inertial measurement unit sensors: A method of sensor-to-clinical bone calibration on the lower limb skeletal model. J. Biomech. Sci. Eng. 2022, 17, 21-00196. [Google Scholar] [CrossRef]
  20. Ortigas Vásquez, A.; Maas, A.; List, R.; Schütz, P.; Taylor, W.R.; Grupp, T.M. A framework for analytical validation of inertial-sensor-based knee kinematics using a six-degrees-of-freedom joint simulator. Sensors 2022, 23, 348. [Google Scholar] [CrossRef]
  21. Jakob, C.; Kugler, P.; Hebenstreit, F.; Reinfelder, S.; Jensen, U.; Schuldhaus, D.; Lochmann, M.; Eskofier, B.M. Estimation of the knee flexion-extension angle during dynamic sport motions using body-worn inertial sensors. In Proceedings of the 8th International Conference on Body Area Networks, Boston, MA, USA, 30 September–2 October 2013; pp. 289–295. [Google Scholar]
  22. Cooper, G.; Sheret, I.; McMillian, L.; Siliverdis, K.; Sha, N.; Hodgins, D.; Kenney, L.; Howard, D. Inertial sensor-based knee flexion/extension angle estimation. J. Biomech. 2009, 42, 2678–2685. [Google Scholar] [CrossRef]
  23. Gholami, M.; Napier, C.; Menon, C. Estimating lower extremity running gait kinematics with a single accelerometer: A deep learning approach. Sensors 2020, 20, 2939. [Google Scholar] [CrossRef] [PubMed]
  24. Hindle, B.R.; Keogh, J.W.; Lorimer, A.V. Validation of spatiotemporal and kinematic measures in functional exercises using a minimal modeling inertial sensor methodology. Sensors 2020, 20, 4586. [Google Scholar] [CrossRef] [PubMed]
  25. Versteyhe, M.; De Vroey, H.; Debrouwere, F.; Hallez, H.; Claeys, K. A novel method to estimate the full knee joint kinematics using low cost IMU sensors for easy to implement low cost diagnostics. Sensors 2020, 20, 1683. [Google Scholar] [CrossRef] [PubMed]
  26. Lin, J.F.S.; Kulić, D. Human pose recovery using wireless inertial measurement units. Physiol. Meas. 2012, 33, 2099–2115. [Google Scholar] [CrossRef] [PubMed]
  27. Renani, M.S.; Eustace, A.M.; Myers, C.A.; Clary, C.W. 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. [Google Scholar] [CrossRef] [PubMed]
  28. Lim, H.; Kim, B.; Park, S. Prediction of lower limb kinetics and kinematics during walking by a single IMU on the lower back using machine learning. Sensors 2019, 20, 130. [Google Scholar] [CrossRef] [PubMed]
  29. Picerno, P.; Cereatti, A.; Cappozzo, A. Joint kinematics estimate using wearable inertial and magnetic sensing modules. Gait Posture 2008, 28, 588–595. [Google Scholar] [CrossRef]
  30. Vargas-Valencia, L.S.; Elias, A.; Rocon, E.; Bastos-Filho, T.; Frizera, A. An IMU-to-body alignment method applied to human gait analysis. Sensors 2016, 16, 2090. [Google Scholar] [CrossRef]
  31. Favre, J.; Aissaoui, R.; Jolles, B.; de Guise, J.; Aminian, K. Functional calibration procedure for 3D knee joint angle description using inertial sensors. J. Biomech. 2009, 42, 2330–2335. [Google Scholar] [CrossRef]
  32. Cutti, A.G.; Ferrari, A.; Garofalo, P.; Raggi, M.; Cappello, A.; Ferrari, A. ‘Outwalk’: A protocol for clinical gait analysis based on inertial and magnetic sensors. Med. Biol. Eng. Comput. 2010, 48, 17–25. [Google Scholar] [CrossRef]
  33. Ferrari, A.; Cutti, A.G.; Garofalo, P.; Raggi, M.; Heijboer, M.; Cappello, A.; Davalli, A. First in vivo assessment of “Outwalk”: A novel protocol for clinical gait analysis based on inertial and magnetic sensors. Med. Biol. Eng. Comput. 2010, 48, 1–15. [Google Scholar] [CrossRef] [PubMed]
  34. Zimmermann, T.; Taetz, B.; Bleser, G. IMU-to-segment assignment and orientation alignment for the lower body using deep learning. Sensors 2018, 18, 302. [Google Scholar] [CrossRef] [PubMed]
  35. Seel, T.; Schauer, T.; Raisch, J. Joint axis and position estimation from inertial measurement data by exploiting kinematic constraints. In Proceedings of the 2012 IEEE International Conference on Control Applications, IEEE, Dubrovnik, Croatia, 3–5 October 2012; pp. 45–49. [Google Scholar]
  36. McGrath, T.; Fineman, R.; Stirling, L. An auto-calibrating knee flexion-extension axis estimator using principal component analysis with inertial sensors. Sensors 2018, 18, 1882. [Google Scholar] [CrossRef] [PubMed]
  37. Carcreff, L.; Moulin, C.; Mariani, B.; Armand, S. Simple rule to automatically recognize the orientation of the sagittal plane foot angular velocity for gait analysis using IMUs on the feet of individuals with heterogeneous motor disabilities. J. Biomech. 2022, 135, 111055. [Google Scholar] [CrossRef] [PubMed]
  38. Clermont, C.A.; Benson, L.C.; Osis, S.T.; Kobsar, D.; Ferber, R. Running patterns for male and female competitive and recreational runners based on accelerometer data. J. Sports Sci. 2019, 37, 204–211. [Google Scholar] [CrossRef] [PubMed]
  39. Wundersitz, D.W.T.; Gastin, P.B.; Richter, C.; Robertson, S.J.; Netto, K.J. Validity of a trunk-mounted accelerometer to assess peak accelerations during walking, jogging and running. Eur. J. Sport Sci. 2015, 15, 382–390. [Google Scholar] [CrossRef]
  40. Raper, D.P.; Witchalls, J.; Philips, E.J.; Knight, E.; Drew, M.K.; Waddington, G. Use of a tibial accelerometer to measure ground reaction force in running: A reliability and validity comparison with force plates. J. Sci. Med. Sport 2018, 21, 84–88. [Google Scholar] [CrossRef]
  41. Kiernan, D.; Siino, K.D.; Hawkins, D.A. Unsupervised Gait Event Identification with a Single Wearable Accelerometer and/or Gyroscope: A Comparison of Methods across Running Speeds, Surfaces, and Foot Strike Patterns. Sensors 2023, 23, 5022. [Google Scholar] [CrossRef]
  42. Yang, Y.; Wang, L.; Su, S.; Watsford, M.; Wood, L.M.; Duffield, R. Inertial sensor estimation of initial and terminal contact during In-field running. Sensors 2022, 22, 4812. [Google Scholar] [CrossRef]
  43. Potter, M.V.; Ojeda, L.V.; Perkins, N.C.; Cain, S.M. Effect of IMU design on IMU-derived stride metrics for running. Sensors 2019, 19, 2601. [Google Scholar] [CrossRef]
  44. Rhudy, M.B.; Mahoney, J.M. A comprehensive comparison of simple step counting techniques using wrist- and ankle-mounted accelerometer and gyroscope signals. J. Med. Eng. Technol. 2018, 42, 236–243. [Google Scholar] [CrossRef] [PubMed]
  45. Tian, P.; Chao, H.; Flanagan, H.P.; Hagerott, S.G.; Gu, Y. Design and evaluation of UAV flow angle estimation filters. IEEE Trans. Aerosp. Electron. Syst. 2018, 55, 371–383. [Google Scholar] [CrossRef]
  46. McGinley, J.L.; Baker, R.; Wolfe, R.; Morris, M.E. The reliability of three-dimensional kinematic gait measurements: A systematic review. Gait Posture 2009, 29, 360–369. [Google Scholar] [CrossRef] [PubMed]
  47. Van Hooren, B.; Fuller, J.T.; Buckley, J.D.; Miller, J.R.; Sewell, K.; Rao, G.; Barton, C.; Bishop, C.; Willy, R.W. Is motorized treadmill running biomechanically comparable to overground running? A systematic review and meta-analysis of cross-over studies. Sports Med. 2020, 50, 785–813. [Google Scholar] [CrossRef]
Figure 1. Image of the IMU mounting on the participant.
Figure 1. Image of the IMU mounting on the participant.
Sensors 24 00695 g001
Figure 2. Diagram of IMU mounting locations, coordinate systems, and knee flexion angle, α.
Figure 2. Diagram of IMU mounting locations, coordinate systems, and knee flexion angle, α.
Sensors 24 00695 g002
Figure 3. Flowchart summarizing the data processing prior to the knee flexion angle estimation filtering algorithms.
Figure 3. Flowchart summarizing the data processing prior to the knee flexion angle estimation filtering algorithms.
Sensors 24 00695 g003
Figure 4. Illustration of peak detection used to identify foot strikes in the shank acceleration signal in the pilot data. The unfiltered magnitude of the shank acceleration is used to identify peaks, while the filtered acceleration signals are used within the estimation algorithms.
Figure 4. Illustration of peak detection used to identify foot strikes in the shank acceleration signal in the pilot data. The unfiltered magnitude of the shank acceleration is used to identify peaks, while the filtered acceleration signals are used within the estimation algorithms.
Sensors 24 00695 g004
Figure 5. Excerpts from accelerometer measurements from the pilot data showing the unfiltered (solid line) and filtered (dotted line) accelerometer measurements from the pilot dataset for the IMU sensors mounted on the (a) shank and (b) thigh.
Figure 5. Excerpts from accelerometer measurements from the pilot data showing the unfiltered (solid line) and filtered (dotted line) accelerometer measurements from the pilot dataset for the IMU sensors mounted on the (a) shank and (b) thigh.
Sensors 24 00695 g005
Figure 6. Excerpts from gyroscope measurements from the pilot data showing the unfiltered (solid line) and filtered (dotted line) gyroscope measurements from the pilot dataset for the IMU sensors mounted on the (a) shank and (b) thigh.
Figure 6. Excerpts from gyroscope measurements from the pilot data showing the unfiltered (solid line) and filtered (dotted line) gyroscope measurements from the pilot dataset for the IMU sensors mounted on the (a) shank and (b) thigh.
Sensors 24 00695 g006
Figure 7. Excerpts from gyroscope measurements from the pilot data showing the original data (as dotted lines) and the regions that were selected for optimization (as solid lines) from the pilot dataset. (a) A portion of the shank gyroscope measurements. (b) A portion of the thigh gyroscope measurements.
Figure 7. Excerpts from gyroscope measurements from the pilot data showing the original data (as dotted lines) and the regions that were selected for optimization (as solid lines) from the pilot dataset. (a) A portion of the shank gyroscope measurements. (b) A portion of the thigh gyroscope measurements.
Sensors 24 00695 g007
Figure 8. Excerpts from knee flexion angle estimation from gyroscope only and accelerometer only with respect to the Vicon motion-capture system reference measurements. (a) A portion of the knee flexion angle estimates at the beginning of the pilot dataset. (b) A portion of the knee flexion angle estimates toward the end of the pilot dataset.
Figure 8. Excerpts from knee flexion angle estimation from gyroscope only and accelerometer only with respect to the Vicon motion-capture system reference measurements. (a) A portion of the knee flexion angle estimates at the beginning of the pilot dataset. (b) A portion of the knee flexion angle estimates toward the end of the pilot dataset.
Sensors 24 00695 g008
Figure 9. Excerpts from knee flexion angle estimations from CF, KF, and EKF with respect to the Vicon motion-capture system reference measurements. (a) A portion of the knee flexion angle estimates at the beginning of the pilot dataset. (b) A portion of the knee flexion angle estimates toward the end of the pilot dataset.
Figure 9. Excerpts from knee flexion angle estimations from CF, KF, and EKF with respect to the Vicon motion-capture system reference measurements. (a) A portion of the knee flexion angle estimates at the beginning of the pilot dataset. (b) A portion of the knee flexion angle estimates toward the end of the pilot dataset.
Sensors 24 00695 g009
Figure 10. RMSE tuning results for the filter tuning parameters for (a) dataset #1, (b) dataset #2, (c) dataset #3, and (d) dataset #4.
Figure 10. RMSE tuning results for the filter tuning parameters for (a) dataset #1, (b) dataset #2, (c) dataset #3, and (d) dataset #4.
Sensors 24 00695 g010
Figure 11. Illustration of knee flexion angles from CF, KF, and EKF with respect to the Vicon motion-capture system reference measurements from the validation data in (a) dataset #1, (b) dataset #2, (c) dataset #3, and (d) dataset #4.
Figure 11. Illustration of knee flexion angles from CF, KF, and EKF with respect to the Vicon motion-capture system reference measurements from the validation data in (a) dataset #1, (b) dataset #2, (c) dataset #3, and (d) dataset #4.
Sensors 24 00695 g011
Figure 12. Visualization of knee flexion angle distributions from CF, KF, and EKF with respect to the Vicon motion-capture system reference measurements from the validation data in (a) dataset #1, (b) dataset #2, (c) dataset #3, and (d) dataset #4. The gray shaded region represents a 95% confidence interval for the motion-capture knee angle estimates. This represents the variation in the knee angle throughout the dataset. Mean (solid lines) and mean ± 2 standard deviations (dotted lines) are shown for each estimation filter.
Figure 12. Visualization of knee flexion angle distributions from CF, KF, and EKF with respect to the Vicon motion-capture system reference measurements from the validation data in (a) dataset #1, (b) dataset #2, (c) dataset #3, and (d) dataset #4. The gray shaded region represents a 95% confidence interval for the motion-capture knee angle estimates. This represents the variation in the knee angle throughout the dataset. Mean (solid lines) and mean ± 2 standard deviations (dotted lines) are shown for each estimation filter.
Sensors 24 00695 g012aSensors 24 00695 g012b
Table 1. Description of treadmill speeds for the test participant. The first three datasets used a fixed treadmill speed, while the fourth dataset contained varying speed conditions throughout the testing.
Table 1. Description of treadmill speeds for the test participant. The first three datasets used a fixed treadmill speed, while the fourth dataset contained varying speed conditions throughout the testing.
Dataset #Speed ConditionTreadmill Speed (mph)Treadmill Speed (m/s)
1Constant5.02.24
2Constant6.52.91
3Constant8.03.58
4Varying5.0–8.02.24–3.58
Table 2. RMSE values for each of the considered filtering algorithms in degrees for the proposed algorithm. The filter parameters were manually tuned to optimize the RMSE estimation results. RMSE values were calculated with respect to the Vicon and Visual3D reference measurements for the validation data.
Table 2. RMSE values for each of the considered filtering algorithms in degrees for the proposed algorithm. The filter parameters were manually tuned to optimize the RMSE estimation results. RMSE values were calculated with respect to the Vicon and Visual3D reference measurements for the validation data.
Dataset #Filtering Algorithm RMSE (°)
KFEKFCFAccelerometer Only
12.7263.8763.14023.09
22.7583.1482.70327.69
33.6363.8663.11028.61
43.4603.6393.41531.90
Table 3. Pearson correlation coefficients for each of the considered filtering algorithms with respect to the Vicon and Visual3D reference measurements for the validation data.
Table 3. Pearson correlation coefficients for each of the considered filtering algorithms with respect to the Vicon and Visual3D reference measurements for the validation data.
Dataset #Filtering Algorithm Correlation Coefficient
KFEKFCFAccelerometer Only
10.99670.99780.99650.7735
20.99680.99580.99690.7424
30.99550.99480.99680.7729
40.99450.99340.99480.6776
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Rhudy, M.B.; Mahoney, J.M.; Altman-Singles, A.R. Knee Angle Estimation with Dynamic Calibration Using Inertial Measurement Units for Running. Sensors 2024, 24, 695. https://doi.org/10.3390/s24020695

AMA Style

Rhudy MB, Mahoney JM, Altman-Singles AR. Knee Angle Estimation with Dynamic Calibration Using Inertial Measurement Units for Running. Sensors. 2024; 24(2):695. https://doi.org/10.3390/s24020695

Chicago/Turabian Style

Rhudy, Matthew B., Joseph M. Mahoney, and Allison R. Altman-Singles. 2024. "Knee Angle Estimation with Dynamic Calibration Using Inertial Measurement Units for Running" Sensors 24, no. 2: 695. https://doi.org/10.3390/s24020695

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop