Next Article in Journal
Low-Cost Nitric Oxide Sensors: Assessment of Temperature and Humidity Effects
Previous Article in Journal
Leveraging Self-Attention Mechanism for Attitude Estimation in Smartphones
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Effects of Dynamic IMU-to-Segment Misalignment Error on 3-DOF Knee Angle Estimation in Walking and Running

1
Biomedical Engineering Research Center, School of Bioinformatics, Chongqing University of Posts and Telecommunications, No. 2 Chongwen Road, Chongqing 400065, China
2
School of Automation, Chongqing University of Posts and Telecommunications, No. 2 Chongwen Road, Chongqing 400065, China
3
School of Advanced Manufacturing Engineering, Chongqing University of Posts and Telecommunications, No. 2 Chongwen Road, Chongqing 400065, China
*
Author to whom correspondence should be addressed.
Sensors 2022, 22(22), 9009; https://doi.org/10.3390/s22229009
Submission received: 21 October 2022 / Revised: 13 November 2022 / Accepted: 18 November 2022 / Published: 21 November 2022
(This article belongs to the Section Biomedical Sensors)

Abstract

:
The inertial measurement unit (IMU)-to-segment (I2S) alignment is an important part of IMU-based joint angle estimation, and the accurate estimation of the three degree of freedom (3-DOF) knee angle can provide practical support for the evaluation of motions. In this paper, we introduce a dynamic weight particle swarm optimization (DPSO) algorithm with crossover factor based on the joint constraint to obtain the dynamic alignment vectors of I2S, and use them to perform the quaternion-based 3-DOF knee angle estimation algorithm. The optimization algorithm and the joint angle estimation algorithm were evaluated by comparing with the optical motion capture system. The range of 3-DOF knee angle root mean square errors (RMSEs) is 1.6°–5.9° during different motions. Furthermore, we also set up experiments of human walking (3 km/h), jogging (6 km/h) and ordinary running (9 km/h) to investigate the effects of dynamic I2S misalignment errors on 3-DOF knee angle estimation during different motions by artificially adding errors to I2S alignment parameters. The results showed differences in the effects of I2S misalignment errors on the estimation of knee abduction, internal rotation and flexion, which indicate the differences in knee joint kinematics among different motions. The IMU to thigh misalignment error has the greatest effect on the estimation of knee internal rotation. The effect of IMU to thigh misalignment error on the estimation of knee abduction angle becomes smaller and then larger during the two processes of switching from walking to jogging and then speeding up to ordinary running. The effect of IMU to shank misalignment error on the estimation of knee flexion angle is numerically the largest, while the standard deviation (SD) is the smallest. This study can provide support for future research on the accuracy of 3-DOF knee angle estimation during different motions.

1. Introduction

Walking and running are the most common human motions in daily life, and the knee plays an important role in these motions, due to the constant repetition of similar movements, most motion injuries occur in the lower limb’s knee [1]. Accurate gait analysis before lesions occur can provide non-surgical behavior modification treatment for osteoarthritis patients, reducing the damage to their joints [2]. Consequently, a growing number of gait analysis techniques are providing diagnostic support to clinicians. The accuracy of the joint angle estimation determines the possibility of implementing this technique.
Compared to infrared-based optical motion capture, inertial measurement unit (IMU)-based gait analysis is increasingly studied and applied due to its superior portability and good accuracy [3,4]. The IMU-based joint angle estimation mainly involves the conversion between global coordinates, IMU coordinates and segment coordinates [5]. The IMU-to-segment (I2S) alignment determines whether the data output from the IMUs is representative of the movement of the attached segment [6,7,8].
There are four general approaches to the I2S alignment [5].
(1) The first approach is that the professionals attach IMUs to the subject according to the bone coordinates recommended by the international society of biomechanics (ISB) [9] to do the manual alignment. A validation of this approach in knee flexion and extension is provided in study [10]. Obviously, this approach cannot eliminate the errors brought by the movement process, and requires the presence of professional IMU placement personnel for each acquisition, which makes this approach unsuitable for universal applications.
(2) The second approach is to ask subjects to perform a series of pre-actions before the experiment, and then to conduct I2S alignment by processing this pre-action information. In study [11], subjects are required to complete a sequence of pre-actions to identify joints, and the authors also pointed out that defining anatomical frameworks can be only repeated within subjects, but across subjects. Although the pre-actions can eliminate the errors of the IMUs setting, they cannot eliminate the errors caused by the relative displacement between the IMUs and the segments during the movement. Moreover, it is difficult to judge whether the subjects’ pre-actions are standard, which brings challenges to practical applications.
(3) The third approach is to introduce information from other equipment to do the I2S alignment. In study [12], researchers proposed a lower extremity surgery approach based on an additional optical motion capture anatomical framework. The impracticality of the extra equipment makes this approach less studied.
(4) The fourth approach is to use some mathematical constraint model to conduct the I2S alignment. The joint constraint proposed by the study [13] is to optimize the data output of the IMUs by using the mathematical constraint model of the joint during movements, then the data output by the IMUs can more accurately represent the movement of the segment. In this study, we chose this approach to obtain the dynamic I2S alignment parameters because this approach has no limitations on movements, and there is no requirement for IMU placement or pre-actions, which reduces artificial errors and can be easily applied.
About the joint angle estimation, many studies have focused on analyzing the accuracy of joint angle estimation algorithms [14,15], but the exact effect of errors on the results remains unclear. In study [16], the effect of anatomical frame variation on joint angles was investigated by an optical motion capture system, the high demands of the experimental environment make it difficult to be a universal method. In study [17], the effects of static I2S misalignment error and IMU rotation error on 3-DOF knee angle estimation during drop landing and cutting tasks were investigated, it was shown that the abduction angle and internal rotation angle of the knee were more sensitive to I2S misalignment error, while the flexion angle was more sensitive to IMU rotation error, but it is difficult to evaluate the effect of static I2S alignment parameters on the motion process.
The significant differences in the kinematics and kinetics of the knee joint during walking and running at different speeds have been confirmed by many studies [18]. The peak of knee flexion was higher in walking than in running due to greater knee extension [19]. Regardless of whether the subject is healthy or not, a large number of kinematic parameters of the subject are changed as a result of the speed-up [20]. In the study [21], a nonlinear transition in the 6-DOF kinematics of the knee was found not only for velocity changes in the same motion but also for different motions, such as switching from walking to running. This means that it is worthwhile to perform an accurate estimation of the knee angle in different motions.
The main purpose of this paper is to investigate the effects of dynamic I2S misalignment error on 3-DOF knee angle estimation in walking and different speeds of running. Motion data from the thigh and shank are collected using IMUs and optical motion capture systems while walking (3 km/h), jogging (6 km/h) and running (9 km/h). We introduce the dynamic weight particle swarm optimization (DPSO) algorithm with crossover factor to solve the joint constraint, obtain the dynamic I2S alignment parameters and finally perform the estimation of 3-DOF knee angle based on quaternions. Furthermore, the specific effect of dynamic I2S misalignment errors on 3DOF knee angle estimation is investigated by adding manual errors to the I2S alignment parameters. Through experiments, the performance of the optimization algorithm and joint angle estimation algorithm is evaluated, the exact effects of misalignment error on 3-DOF knee angle estimation in different motions were studied.

2. Methods and Equipment

2.1. Methods

2.1.1. IMU-to-Segment Alignment Based on Joint Constraints

(1) Joint Constraint
For the spherical and hinge joints, as shown in Figure 1, the coordinates of the limb segments are in black [9], the brown cubes attached to the segments represent the IMUs, and the coordinates of them are represented in brown. The acceleration and angular velocity data collected by the IMUs attached to the two segments meet different constraints [13].
For the hinge joint, the unit vector r k parallel to the joint axis shown in Figure 1 is defined in the coordinates of the two IMUs A , B denoted as r k , A , r k , B , respectively. Under ideal conditions, the angular velocity information ω i , i A , B obtained from IMUs satisfies the constraint:
ω A ( t ) × r k , A ω B ( t ) × r k , B = 0
where · denotes the modulus of a vector and × denotes the cross product of vectors. Converting r k , A , r k , B from Cartesian to spherical coordinates:
r k , i = [ cos φ i cos θ i , cos φ i sin θ i , sin θ i ] , i A , B
where the pitch angle φ 0 , π and the yaw angle θ 0 , 2 π , and the error e J ( t ) ( φ A , φ B , θ A , θ B ) is abbreviated as e J ( t ) . Since the IMU coordinates are not aligned with the segment coordinates, the IMU data do not exactly satisfy Equation (1), and we need to optimize the data, then the error function is expressed as:
e J ( t ) = ω A ( t ) × r k , A ω B ( t ) × r k , B
For spherical joints, define vectors V A and V B pointing from the center of the sphere to the origin of IMU coordinates, expressed in IMUs coordinates as:
V i = [ X i , Y i , Z i ] , i A , B
Under ideal conditions, the acceleration a i , i A , B and angular velocity ω i , i A , B obtained from IMUs satisfy the constraint:
a A ( t ) Γ A ( t ) a B ( t ) Γ B ( t ) = 0 , Γ i ( t ) = ω i ( t ) × ( ω i ( t ) × V i ) + α i ( t ) × V i , i A , B
where α i ( t ) denotes the angular acceleration calculated from the angular velocity measured by IMUs, we choose the third-order approximation to calculate the time derivative of the angular velocity ω i :
α i = ω i ( t 2 t ) 8 ω i ( t t ) + 8 ω i ( t + t ) ω i ( t + 2 t ) 12 t , i A , B
Since the IMU coordinates are not aligned with the segment coordinates, the IMU data do not exactly satisfy Equation (5), and we need to optimize the data. The error e S ( t ) ( X A , Y A , Z A , X B , Y B , Z B ) is abbreviated as e S ( t ) , then the error function is expressed as:
e S ( t ) = a A ( t ) Γ A ( t ) a B ( t ) Γ B ( t )
(2) Optimization Algorithm
The above problems can be solved by various optimization algorithms. In study [22], the author uses Gauss–Newton (GN) to solve the optimization problem of joint constraints, but a new mechanism must be introduced to avoid the final optimization results r k , A and r k , B of e J ( t ) produce an unrealistically negative value. Moreover, the calculation of a large number of Jacobian matrices and Hessian matrices made the algorithm have a very unsatisfactory calculation speed.
In this study, due to the non-convexity of the error function, the classical PSO algorithm can make the optimization results fall into a local optimum. Study [23] showed that the meta-heuristic DPSO and gray wolf optimization algorithm (GWO) have better accuracy than GN, and the advantage is more obvious when joint rotation is not obvious. Inspired by the genetic algorithm (GA) with gene crossover variation, we introduced the DPSO algorithm with crossover factor.
The introduced algorithm avoids the extremely complicated coding and decoding steps of GA, does not need to calculate a large number of Jacobi matrices and Hesse matrices, and the initial range of particles set in the positive range can also avoid the problem of unrealistic negative values of GN’s optimization results.
Joint constraints for hinge and spherical joints can be considered as four-dimensional and six-dimensional search optimization problems. The basic particle swarm optimization is a set of particles moving in the search space, the best position of a single particle at past time is pbest and the best position for all particles is gbest .
The velocity update formula of particle n as Equation (8):
V v , n k = w V v , n k 1 + c 1 r a n d 1 ( pbest n V n k 1 ) + c 2 r a n d 2 ( gbest n V n k 1 )
The position update formula of particle n as Equation (9):
V n k = V n k 1 + V v , n k
where V v , n k represents the velocity vector of the k-th iteration of n particles. V n k represents the position vector of the k-th iteration of the n particle, i.e., V n k = ( X A , Y A , Z A , X B , Y B , Z B ) ; c 1 , c 2 represent acceleration constants, which can adjust the maximum step size of learning; r a n d 1 and r a n d 2 are two random functions with a range of [ 0 , 1 ] , which can make the search more random; w represents the inertia weight of non-negative number, which adjusts the search range of the space. In order to ensure the large-scale search in the early iterations and the convergence, in this study, the value of w is determined as:
w = w m a x T ( w m a x w m i n ) T m a x
where w m a x and w m i n are the upper and lower bounds of the inertia weight, T is the current iterations of the particle, and T m a x is the maximum iterations of the particle. It can be seen from the Equation (10) that the particle will search with a large step in the early iterations, as the number of iterations increases, the step size becomes smaller.
Figure 2 shows the flowchart of the introduced algorithm. Compared with the original particle swarm optimization, the blue part was added, including the dynamic inertia weight w and the sorting of n particles according to their fitness from small to large. After sorting, the first half of the 1 : n 2 particles are used for normal particle swarm iteration, and the other half of the n 2 : n particles are selected for crossover. The specific steps are:
(1) Choose a section of the particle at random;
(2) Randomly exchange elements of this section between particles to obtain new particles;
(3) Calculate the fitness of the new particle, compare it with the original particle;
(4) Retain particles with lower fitness for the next iteration of the particle swarm.

2.1.2. Quaternion-Based 3-DOF Knee Angle Estimation

Establish the coordinates attached to limbs [23], combining the results of the optimization algorithm in the previous section to obtain V A , V B , r k , A , r k , B , we can obtain the rotation matrix R A T h i g h , R B S h a n k of the I2S alignment:
R A T h i g h = [ V A V A × r k , A , V A V A , r k , A ] T , R B S h a n k = [ V B V B × r k , B , V B V B , r k , B ] T
where R A T h i g h denotes the rotation matrix from IMU_A to the thigh and R B S h a n k denotes the rotation matrix from IMU_B to the shank. The elements of the rotation matrix are not independent, and it is difficult to add Euler angular errors, which are tedious to calculate and can be subsequently calculated by converting them into quaternions.
The general method for converting a rotation matrix to a quaternion is that we have the known rotation matrix R :
R = m 00 m 01 m 02 m 10 m 11 m 12 m 20 m 21 m 22
convert the elements of the matrix:
q w = 1 2 t r ( R ) q x = m 21 m 12 4 q w q y = m 02 m 20 4 q w q z = m 10 m 01 4 q w
where t r ( R ) is the trace of the matrix, the converted unit quaternion q can be expressed as:
q = q w , q x , q y , q z
when the absolute value of q w is small, it will cause the converted value to be unstable, so we need to compare the values of q w , q x , q y , q z before outputting the quaternion [24]. Therefore, we obtain the dynamic I2S alignment quaternion q T , a l i , q S , a l i .
The thigh and shank orientation, q T , q S , can be calculated according to IMU orientation quaternion and the alignment quaternion, as in:
q T = q A q T , a l i q S = q B q S , a l i
where q A and q B are the orientation quaternions of IMU_A and IMU_B, q T , a l i and q S , a l i denote the conjugate quaternions of q T , a l i and q S , a l i .
Through the thigh orientation q T and shank orientation q S , the knee angle q T S can be calculated as the orientation of shank relative to thigh, as in:
q T S = q T q S
Supposing that q T S = ω , x , y , z , the estimated knee angle is the ‘ZYX’ sequence Euler angle representation of q T S , and the X, Y and Z axes correspond to the axes of knee abduction ( A A ) , knee internal rotation ( I E ) and knee flexion ( F E ) , which means the 3-DOF knee angle can be described as follows:
ϕ A A = a t a n 2 ( ( 2 ( ω x + y z ) ) , ( 1 2 ( x 2 + y 2 ) ) ) θ I E = a s i n ( 2 ( ω y x z ) ) ψ F E = a t a n 2 ( ( 2 ( ω z + y x ) ) , ( 1 2 ( y 2 + z 2 ) ) )
Similarly, the 3-DOF knee angle can be calculated based on the segment rotation data from the optical motion capture system ψ F E _ o p t , θ I E _ o p t , ϕ A A _ o p t , as reference.

2.1.3. Adding Errors to the Dynamic I2S Alignment Parameter

To analyze the effects of dynamic I2S misalignment errors on the estimation of 3-DOF knee angles during walking, jogging and ordinary running, we need to manually add errors to the alignment quaternion q T , a l i and q S , a l i . It is not intuitive to add errors directly to the quaternion, we need to convert the alignment quaternion to Euler angular roll, pitch and yaw.
By Equation (17), the alignment quaternion can be converted into Euler angles ψ a l i , θ a l i , ϕ a l i , add the error Euler angles ψ e r , θ e r , ϕ e r from −10° to +10° in steps of 5° to them, respectively, obtain the new alignment Euler angles ψ a l i _ e r , θ a l i _ e r , ϕ a l i _ e r as follows:
ψ a l i _ e r = ψ a l i + ψ e r θ a l i _ e r = θ a l i + θ e r ϕ a l i _ e r = ϕ a l i + ϕ e r
convert the new alignment Euler angles into alignment quaternions q a l i _ e r :
q a l i _ e r ( ψ a l i _ e r , θ a l i _ e r , ϕ a l i _ e r ) = cos ( 1 2 ψ a l i _ e r ) cos ( 1 2 θ a l i _ e r ) cos ( 1 2 ϕ a l i _ e r ) + sin ( 1 2 ψ a l i _ e r ) sin ( 1 2 θ a l i _ e r ) sin ( 1 2 ϕ a l i _ e r ) cos ( 1 2 ψ a l i _ e r ) cos ( 1 2 θ a l i _ e r ) sin ( 1 2 ϕ a l i _ e r ) sin ( 1 2 ψ a l i _ e r ) sin ( 1 2 θ a l i _ e r ) cos ( 1 2 ϕ a l i _ e r ) sin ( 1 2 ψ a l i _ e r ) cos ( 1 2 θ a l i _ e r ) sin ( 1 2 ϕ a l i _ e r ) + cos ( 1 2 ψ a l i _ e r ) sin ( 1 2 θ a l i _ e r ) cos ( 1 2 ϕ a l i _ e r ) sin ( 1 2 ψ a l i _ e r ) cos ( 1 2 θ a l i _ e r ) cos ( 1 2 ϕ a l i _ e r ) cos ( 1 2 ψ a l i _ e r ) sin ( 1 2 θ a l i _ e r ) sin ( 1 2 ϕ a l i _ e r )
According to Equations (15) and (16), the orientation of shank relative to thigh with error q T S _ e r can be calculated:
q T S _ e r = ( q A q T , a l i _ e r ) ( q B q S , a l i _ e r )
As Equation (17), we can obtain the 3-DOF knee angle with manually added I2S misalignment errors: ψ F E , A d d _ e r , θ I E , A d d _ e r , ϕ A A , A d d _ e r .

2.1.4. Data Analysis

The standard deviation (SD) indicates the dispersion of the errors and can be calculated by the following equation:
S D = i = 1 N ( β i μ β ) 2 N
where β denotes the error, μ β denotes the mean of the error and N is the number of samples.
The root mean square error (RMSE) represents the deviation between the observed and reference values, and the square of the difference between them can increase the effect of larger errors, obtained through the following equation:
R M S E = i = 1 N ( X i x i ) 2 N
where X i denotes the observed value and x i denotes the reference value.

2.2. Measurement Equipment

The IMUs selected for this study were the wireless nine-axis inertial sensors Xsens Dot (±2000 deg/s, ±16 g) from Xsens (Netherlands).
Twelve high-speed infrared cameras from Nokov (Beijing, China) form an optical motion capture system to capture the position of markers, and both systems operate at 60 Hz.
Figure 3 shows that the IMUs are bound to the thigh and shank of both legs to measure the rotation data of the attached segment. The three non-coplanar markers are set on the thighs and shank of both legs to define the attached rigid bodies, and the rotational data of each segment is output through Nokov’s software.

2.3. Participants

Five healthy subjects (age 24 ± 2 years, height 175 ± 5 cm, mass 65 ± 5 kg) participated in this study. Every subject wearing IMUs and markers did walking, jogging and ordinary running experiments on a treadmill at speeds of 3 km/h, 6 km/h and 9 km/h, respectively, and each task was repeated three times. All subjects volunteered to participate in the experiment after being informed of the specific details and possible risks prior to participation.

3. Results

3.1. Joint Constraint Optimization

As in Figure 4, the collected knee (i.e., IMU_A and IMU_B) data were processed with PSO, DPSO and DPSO with crossover factor, respectively. Experiments were carried out at the particle swarm size N = 60, the maximum number of iterations D = 50; N = 60, D = 150 and N = 160, D = 150, respectively. The stability and accuracy of the algorithm are studied under various combinations of population size and iteration.

3.2. Knee Joint Angle Estimation Results

Similar to the knee angle estimation algorithm established in Section 2, we obtain three sets of data: 3-DOF knee angles based on IMU data after joint constraints ψ F E , θ I E , ϕ A A ; based on IMU data with artificially added error sequences in the I2S alignment parameter ψ F E , A d d _ e r , θ I E , A d d _ e r , ϕ A A , A d d _ e r and based on the optical motion capture system ψ F E _ o p t , θ I E _ o p t , ϕ A A _ o p t .
By comparing the data, we analyzed the effects of I2S misalignment error on 3-DOF knee angle estimation during walking, jogging and ordinary running, also evaluate our knee angle estimation algorithm by comparing the ψ F E , θ I E , ϕ A A between ψ F E _ o p t , θ I E _ o p t , ϕ A A _ o p t .

3.2.1. The Effects of Dynamic I2S Misalignment Error in Different Motions

Figure 5, Figure 6 and Figure 7 shows the 3-DOF knee angle estimates after introducing errors to the I2S alignment parameters for the thigh, shank and both of them during walking, jogging and ordinary running. We have labeled the mean and standard deviation (SD) of the errors on the graph, where the lines clearly do not overlap. In order to make the image as clear as possible, we adjusted the X-axis for different speeds, but all statistical descriptive data such as mean, SD and root mean square errors (RMSEs) were calculated from the data of all experiments. Figure 8 shows the error results of the full experiments for all participants.
The dynamic I2S misalignment error has a small effect on the flexion angle and the error is stable close to a constant, which can be eliminated by subtracting the mean in the alignment phase [25]. Comparing the IMU-to-thigh misalignment error, the IMU-to-shank misalignment error had a greater effect on the estimation of the 3-DOF knee angle during walking and running, and this difference from the results in study [17] is due to the different types of motions being studied, and their I2S alignment parameters are obtained by static alignment. When the I2S misalignment error occurs both in the thigh and shank, as shown in Figure 8c, the estimation error of the 3-DOF knee angle is substantially reduced compared to the I2S misalignment error occurring alone. Though such a situation is unlikely to occur in real life, it can be studied as a control for the first two data sets.

3.2.2. The 3-DOF Knee Angle Estimation Algorithm

We evaluated our knee angle estimation algorithm by taking the estimated knee angle based on IMU data as the observed value and the estimated knee angle based on the optical motion capture system as the reference. Figure 9 illustrates the RMSEs with no manual I2S misalignment error. Table 1 shows the maximum, minimum and range of motion (ROM) of the 3-DOF knee angle for all participants during walking, jogging and ordinary running.
During walking, the error in abduction angle is smaller compared to flexion angle and internal rotation angle, which is determined by the ROM of the knee in three dimensions during walking. When switching from 3 km/h walking to 6 km/h jogging, the relative values of abduction, flexion and internal rotation errors changed significantly, and when the running speed was accelerated, the relative values of errors did not change significantly, which indicates that the accuracy of IMU-based knee angle estimation during the switch from walking to running is noteworthy.

4. Discussion

4.1. Joint Constraint Optimization Algorithm

Under the combination of the above three particle swarm scales and the number of iterations (N = 60, D = 50; N = 60, D = 150; N = 160, D = 150), the groups with roughly the same positions of the first-iteration particles of the three algorithms are selected to draw images of particle fitness and iteration numbers (Figure 4). Result shows that our optimization algorithms all converge to near the optimization target before the 50th iteration, which indicates that the introduced algorithm has better search ability compared to the classical PSO and DPSO.
For the search problem in four-dimensional and six-dimensional space, unless the first-iteration particles randomly appear near the optimization target, the classical PSO algorithm is difficult to eventually converge to 0. After increasing the number of iterations and the particle swarm size, the classical PSO still could not converge to the optimization objective, which means that the classical PSO is not applicable in this study.
The introduction of dynamic inertia weight w greatly improves the convergence ability of particles (Figure 4 (blue lines)), but under the combination of three different iteration numbers and particle swarm size, the convergence is worse than that introduced by the new algorithm (Figure 4 (green lines)). The introduction of the crossover factor makes the convergence curve of our algorithm not smooth (Figure 4 (green lines)), the crossover between particles expands the search range, avoids falling into a local optimum and greatly reduces the number of iterations for particles to converge to the optimization target. In general, the introduced algorithm can satisfy the optimization of the objective function.

4.2. The Effects of Dynamic I2S Misalignment Error in Different Motions

Generally, in the IMU-based joint angle estimation, joint angle is defined by the rotation of the distal segment relative to the proximal segment. Figure 8a,b show that the knee angle estimation is more sensitive to IMU to shank misalignment error during walking and running motions, especially in flexion where the ROM is larger. For example, when adding a −10° error in the IMU to thigh alignment parameter, flexion accuracies across walking, jogging and ordinary running are 6.3 ± 2.2°, 8.96 ± 1.76° and 7.85 ± 3.4°, while adding a −10° error in the IMU to shank alignment parameter, are 17.1 ± 4.3°, 19.3 ± 2.9° and 19.2 ± 3.39° (Figure 5g–i and Figure 6g–i).
Since the error lines (Figure 5d–i and Figure 6d–i) of the internal rotation and flexion of the knee are partially parallel (i.e., constant errors). When the same misalignment error is added to both of the thigh and shank, the joint angle estimates are shifted in 3D space, making both the estimates of the internal rotation and flexion angles less sensitive to I2S misalignment than adding I2S errors to the thigh or shank alone (Figure 7d–i and Figure 8c).
  • Abduction
    It is found in Figure 8a that the sensitivity of the abduction angle estimation to IMU to thigh misalignment error decreased when switching from walking to jogging; when speeding up from jogging to ordinary running, the sensitivity increased slightly, but still lower than walking. This is due to the fact that the human body stands for a shorter period in running than walking, which increases muscle activity and viscoelastic behavior of the soft tissues, and the increased muscle activity makes the abduction of the knee somewhat limited [21,26,27].
  • Internal rotation
    Comparing Figure 8a,b, it is found that the effect of I2S misalignment error on the estimation of knee internal rotation becomes larger after switching from walking to running; while in the same motions, estimation of knee internal rotation is more sensitive to the IMU to thigh misalignment error than the IMU to shank misalignment error. This is due to the more significant internal rotation of the tibia during running than during walking [28]. During movements, the shank is affected by larger ground reaction forces, which makes the moment of the thigh greater and increases the internal rotation of the tibia [29], then the IMU to thigh misalignment error shows the greatest effect on the estimation of the internal rotation angle of the knee.
  • Flexion
    It is found in Figure 8 that after introducing the I2S misalignment error, the mean value of flexion absolute error is larger but the SD is the smallest in the 3-DOF joint angle estimation. The large absolute error means are due to the fact that during walking and running, the knee joint moves mainly in the sagittal plane and the ROM of flexion is much greater than abduction and internal rotation [20,21,30]. However, the error brought by I2S misalignment error to flexion is mainly an approximate constant, which can be eliminated by subtracting the mean in the alignment phase [25], which explains why the effect brought by I2S misalignment error to flexion angle has the highest stability as well as the smallest SD. The IMU to shank misalignment error has the greatest effect on the estimation of the knee flexion angle, which is caused by the knee angle and is defined by the shank rotation relative to the thigh.

4.3. Joint Angle Estimation

A comparison of the IMU-based and optical motion capture system-based full-process 3-DOF knee angle estimates is show in Figure 9. The RMSEs ranged from 1.6° to 5.9° during all trials. In the same walking scenario, the RMSEs of our 3-DOF knee angle estimation algorithm ranged from 1.6° to 2.9°, which was better than the 2.3° to 5.6° of the study [23]. It indicates that our 3-DOF knee angle estimation algorithm shows good accuracy.
In order to study the correlation between the error data of the three groups of walking, jogging and ordinary running, the data were first tested for normality at p = 0.05, and some of the data samples did not meet the assumption of normal distribution, so the Friedman ANOVA multiple independent non-parametric test was used to analyze the differences between the three groups of data.
When the human body switched from walking to ordinary running, the estimation errors of both abduction and flexion angles did not increase in a positive proportion with increasing speed. The results showed significant differences ( p < 0.01 ) in the RMSEs of knee angle estimation during walking and running, and no significant differences ( p > 0.05 ) in the RMSEs of knee angle estimation during running at different speeds, suggesting that the differences in joint kinematics during the switch from walking to running in humans is worth investigating.

5. Conclusions

In this paper, based on the joint constraint model, we introduced the DPSO algorithm with crossover factor to obtain the dynamic I2S alignment parameters, the effectiveness of the introduced optimization algorithm is experimentally demonstrated. Using the dynamic I2S alignment parameters, we performed the estimation algorithm of 3-DOF joint angles. A comparison of the results of IMU-based and optical motion capture system-based joint angle estimation throughout the process. The range of 3-DOF knee angle RMSEs is 1.6°–5.9° during different motions. Significant differences in RMSEs are found between walking and running, which also demonstrated significant kinematic differences in the knee joint during walking and running.
Experiments are designed in which human walking (3 km/h), jogging (6 km/h) and ordinary running (9 km/h) were used to investigate the effects of dynamic I2S misalignment error on the estimation of 3-DOF knee angle during different motions by manually adding errors to the I2S alignment parameter.
Through experiments, we found that the effect of IMU to thigh misalignment error on knee abduction angle estimation decreases when switching from walking to running, when speeding up from jogging to ordinary running, the effects become larger.
When switching from walking to running, the effect of I2S misalignment error on the estimation of knee internal rotation angle becomes larger, and the effect of IMU to thigh misalignment error on the estimation of knee internal rotation angle is always larger than IMU to shank misalignment error regardless of the motion.
The effect of IMU to shank misalignment error on knee flexion angle estimation is numerically larger than the other two degrees of freedom, but among all motions, the effect of I2S misalignment on knee flexion angle estimation is close to constant, and the SD of the error is smaller than the other two degrees of freedom.
A limitation of this study is that we only experimentally confirmed and quantified the difference in the effect of I2S misalignment error on 3-DOF joint angle estimation during different motions, but a specific method for error elimination was not proposed. In the future, we should build corresponding models for the effect of different I2S misalignment errors on 3-DOF joint angle estimation to eliminate the discretization errors in order to obtain more accurate evaluation of joint angles.

Author Contributions

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

Funding

This research was funded by National Key R&D Program of China, under grant number 2020YFC2003301.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

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

Data Availability Statement

All measurement data in this paper has been listed in the content of the article, which can be used by all peers for related research.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. van Mechelen, W. Running Injuries: A Review of the Epidemiological Literature. Sport. Med. Int. J. Appl. Med. Sci. Sport Exerc. 1992, 14, 320–335. [Google Scholar] [CrossRef] [PubMed]
  2. Landry, S.C.; McKean, K.A.; Hubley-Kozey, C.L.; Stanish, W.D.; Deluzio, K.J. Knee biomechanics of moderate OA patients measured during gait at a self-selected and fast walking speed. J. Biomech. 2007, 40, 1754–1761. [Google Scholar] [CrossRef] [PubMed]
  3. Costello, K.E.; Eigenbrot, S.; Geronimo, A.; Guermazi, A.; Felson, D.T.; Richards, J.; Kumar, D. Quantifying varus thrust in knee osteoarthritis using wearable inertial sensors: A proof of concept. Clin. Biomech. 2020, 80, 105232. [Google Scholar] [CrossRef]
  4. Robert-Lachaine, X.; Mecheri, H.; Muller, A.; Larue, C.; Plamondon, A. Validation of a low-cost inertial motion capture system for whole-body motion analysis. J. Biomech. 2020, 99, 109520. [Google Scholar] [CrossRef] [PubMed]
  5. Vitali, R.V.; Perkins, N.C. Determining anatomical frames via inertial motion capture: A survey of methods. J. Biomech. 2020, 106, 109832. [Google Scholar] [CrossRef] [PubMed]
  6. Palermo, E.; Rossi, S.; Marini, F.; Patanè, F.; Cappa, P. Experimental evaluation of accuracy and repeatability of a novel body-to-sensor calibration procedure for inertial sensor-based gait analysis. Meas. J. Int. Meas. Confed. 2014, 52, 145–155. [Google Scholar] [CrossRef]
  7. Brennan, A.; Zhang, J.; Deluzio, K.; Li, Q. Quantification of inertial sensor-based 3D joint angle measurement accuracy using an instrumented gimbal. Gait Posture 2011, 34, 320–323. [Google Scholar] [CrossRef] [PubMed]
  8. Nazarahari, M.; Rouhani, H. Semi-Automatic Sensor-to-Body Calibration of Inertial Sensors on Lower Limb Using Gait Recording. IEEE Sens. J. 2019, 19, 12465–12474. [Google Scholar] [CrossRef]
  9. Wu, G.; Cavanagh, P.R. ISB recommendations for standardization in the reporting of kinematic data. J. Biomech. 1995, 28, 1257–1261. [Google Scholar] [CrossRef]
  10. Ahmadi, A.; Destelle, F.; Unzueta, L.; Monaghan, D.S.; Linaza, M.T.; Moran, K.; O’Connor, N.E. 3D human gait reconstruction and monitoring using body-worn inertial sensors and kinematic modeling. IEEE Sens. J. 2016, 16, 8823–8831. [Google Scholar] [CrossRef]
  11. Fasel, B.; Spörri, J.; Schütz, P.; Lorenzetti, S.; Aminian, K. An inertial sensor-based method for estimating the athlete’s relative joint center positions and center of mass kinematics in alpine ski racing. Front. Physiol. 2017, 8, 8823–8831. [Google Scholar] [CrossRef] [PubMed]
  12. 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] [PubMed]
  13. Seel, T.; Raisch, J.; Schauer, T. IMU-based joint angle measurement for gait analysis. Sensors 2014, 14, 6891–6909. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  14. Robert-Lachaine, X.; Mecheri, H.; Larue, C.; Plamondon, A. Accuracy and repeatability of single-pose calibration of inertial measurement units for whole-body motion analysis. Gait Posture 2017, 54, 80–86. [Google Scholar] [CrossRef] [PubMed]
  15. Zhang, J.T.; Novak, A.C.; Brouwer, B.; Li, Q. Concurrent validation of Xsens MVN measurement of lower limb joint angular kinematics. Physiol. Meas. 2013, 34, N63. [Google Scholar] [CrossRef]
  16. Brennan, A.; Deluzio, K.; Li, Q. Assessment of anatomical frame variation effect on joint angles: A linear perturbation approach. J. Biomech. 2011, 44, 2838–2842. [Google Scholar] [CrossRef] [PubMed]
  17. Fan, B.; Li, Q.; Tan, T.; Kang, P.; Shull, P.B. Effects of IMU Sensor-to-Segment Misalignment and Orientation Error on 3-D Knee Joint Angle Estimation. IEEE Sens. J. 2022, 22, 2543–2552. [Google Scholar] [CrossRef]
  18. Lelas, J.L.; Merriman, G.J.; Riley, P.O.; Kerrigan, D.C. Predicting peak kinematic and kinetic parameters from gait speed. Gait Posture 2003, 17, 106–112. [Google Scholar] [CrossRef]
  19. de David, A.C.; Carpes, F.P.; Stefanyshyn, D. Effects of changing speed on knee and ankle joint load during walking and running. J. Sport. Sci. 2015, 33, 391–397. [Google Scholar] [CrossRef] [PubMed]
  20. Bejek, Z.; Paróczai, R.; Illyés, Á.; Kiss, R.M. The influence of walking speed on gait parameters in healthy people and in patients with osteoarthritis. Knee Surg. Sport. Traumatol. Arthrosc. 2006, 14, 612–622. [Google Scholar] [CrossRef] [PubMed]
  21. Liu, R.; Qian, D.; Chen, Y.; Zou, J.; Zheng, S.; Bai, B.; Lin, Z.; Zhang, Y.; Chen, Y. Investigation of normal knees kinematics in walking and running at different speeds using a portable motion analysis system. Sport. Biomech. 2021, 1–14. [Google Scholar] [CrossRef]
  22. Olsson, F.; Kok, M.; Seel, T.; Halvorsen, K. Robust plug-and-play joint axis estimation using inertial sensors. Sensors 2020, 20, 3534. [Google Scholar] [CrossRef]
  23. Hu, Q.; Liu, L.; Mei, F.; Yang, C. Joint constraints based dynamic calibration of imu position on lower limbs in imu-mocap. Sensors 2021, 21, 7161. [Google Scholar] [CrossRef] [PubMed]
  24. Akenine-Moller, T.; Haines, E.N.H. Real-Time Rendering, 3rd ed.; AK Peters Ltd.: Natick, MA, USA, 2008; pp. 75–77. [Google Scholar]
  25. 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] [Green Version]
  26. Fu, F.H.; Feldman, A. The biomechanics of running: Practical considerations. Tech. Orthop. 1990, 5, 8–14. [Google Scholar] [CrossRef]
  27. Zhang, S.; Pan, J.; Li, L. Non-linear changes of lower extremity kinetics prior to gait transition. J. Biomech. 2018, 77, 48–54. [Google Scholar] [CrossRef] [PubMed]
  28. Sinclair, J.; Richards, J.; Taylor, P.J.; Edmundson, C.J.; Brooks, D.; Hobbs, S.J. Three-dimensional kinematic comparison of treadmill and overground running. Sport. Biomech. 2013, 12, 272–282. [Google Scholar] [CrossRef] [Green Version]
  29. Kwon, J.W.; Son, S.M.; Lee, N.K. Changes of kinematic parameters of lower extremities with gait speed: A 3D motion analysis study. J. Phys. Ther. Sci. 2015, 27, 477–479. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  30. Mannering, N.; Young, T.; Spelman, T.; Choong, P.F. Three-dimensional knee kinematic analysis during treadmill gait: Slow imposed speed versus normal self-selected speed. Bone Jt. Res. 2017, 6, 514–521. [Google Scholar] [CrossRef] [PubMed]
Figure 1. Illustrations of joint constraints and I2S alignment. The schematic diagram of each vector in the joint constraint model is shown with colored arrows; the coordinates of IMU and segment are shown with different colors; the black dashed arrows indicate the alignment of IMU to segment.
Figure 1. Illustrations of joint constraints and I2S alignment. The schematic diagram of each vector in the joint constraint model is shown with colored arrows; the coordinates of IMU and segment are shown with different colors; the black dashed arrows indicate the alignment of IMU to segment.
Sensors 22 09009 g001
Figure 2. Flow chart of introduced optimization algorithm.
Figure 2. Flow chart of introduced optimization algorithm.
Sensors 22 09009 g002
Figure 3. The experimental scenario mainly includes an optical motion capture system, IMUs and a treadmill; six markers and two IMUs are set on each leg, three markers on each segment are not co-planar and the direction of IMUs is not required.
Figure 3. The experimental scenario mainly includes an optical motion capture system, IMUs and a treadmill; six markers and two IMUs are set on each leg, three markers on each segment are not co-planar and the direction of IMUs is not required.
Sensors 22 09009 g003
Figure 4. Convergence curves of three algorithms under different combinations of particle swarm size and iteration number, N denotes the particle swarm size and D denotes the maximum number of iterations, the red, blue and green lines represent the convergence curves of the classical PSO, DPSO and our introduced algorithm, respectively.
Figure 4. Convergence curves of three algorithms under different combinations of particle swarm size and iteration number, N denotes the particle swarm size and D denotes the maximum number of iterations, the red, blue and green lines represent the convergence curves of the classical PSO, DPSO and our introduced algorithm, respectively.
Sensors 22 09009 g004
Figure 5. Effects of IMU to thigh misalignment error on 3-DOF knee angle estimation during different motions. The blue, green, purple and orange lines indicate the knee angle estimates after adding errors of −5°, +5°, −10° and +10° to the I2S alignment parameters, and the red line indicates the knee angle estimates without artificially added errors. (ac), (df), (gi) are the abduction, internal rotation and flexion angles of the knee during walking (3 km/h), jogging (6 km/h) and ordinary running (9 km/h) on treadmill. For example, in (a), 9.8 ± 5.2° denote that the abduction mean error is 9.8° and the SD is 5.2° when the introduced IMU to thigh misalignment error is +10° during the walking trial.
Figure 5. Effects of IMU to thigh misalignment error on 3-DOF knee angle estimation during different motions. The blue, green, purple and orange lines indicate the knee angle estimates after adding errors of −5°, +5°, −10° and +10° to the I2S alignment parameters, and the red line indicates the knee angle estimates without artificially added errors. (ac), (df), (gi) are the abduction, internal rotation and flexion angles of the knee during walking (3 km/h), jogging (6 km/h) and ordinary running (9 km/h) on treadmill. For example, in (a), 9.8 ± 5.2° denote that the abduction mean error is 9.8° and the SD is 5.2° when the introduced IMU to thigh misalignment error is +10° during the walking trial.
Sensors 22 09009 g005
Figure 6. Effects of IMU to shank misalignment error on 3-DOF knee angle estimation during different motions; (ac), (df), (gi) indicate the abduction, internal rotation and flexion angle of the knee during walking (3 km/h), jogging (6 km/h) and ordinary running (9 km/h), when added IMU to shank misalignment error from −10° to +10° in steps of 5°.
Figure 6. Effects of IMU to shank misalignment error on 3-DOF knee angle estimation during different motions; (ac), (df), (gi) indicate the abduction, internal rotation and flexion angle of the knee during walking (3 km/h), jogging (6 km/h) and ordinary running (9 km/h), when added IMU to shank misalignment error from −10° to +10° in steps of 5°.
Sensors 22 09009 g006
Figure 7. Effects of both IMU to thigh and shank misalignment error on 3-DOF knee angle estimation during different motions; (ac), (df), (gi) indicate the abduction, internal rotation and flexion angles of the knee during walking (3 km/h), jogging (6 km/h) and ordinary running (9 km/h), when added IMU to thigh and shank misalignment error from −10° to +10° in steps of 5°.
Figure 7. Effects of both IMU to thigh and shank misalignment error on 3-DOF knee angle estimation during different motions; (ac), (df), (gi) indicate the abduction, internal rotation and flexion angles of the knee during walking (3 km/h), jogging (6 km/h) and ordinary running (9 km/h), when added IMU to thigh and shank misalignment error from −10° to +10° in steps of 5°.
Sensors 22 09009 g007
Figure 8. IMU to segment misalignment of all subjects. The bar and error bar represent the mean and standard deviation (SD) of the misalignment root mean square errors (RMSEs). (ac) indicate the misalignment RMSEs of IMU to thigh misalignment, IMU to shank misalignment and IMU to thigh and shank misalignment, during different motions.
Figure 8. IMU to segment misalignment of all subjects. The bar and error bar represent the mean and standard deviation (SD) of the misalignment root mean square errors (RMSEs). (ac) indicate the misalignment RMSEs of IMU to thigh misalignment, IMU to shank misalignment and IMU to thigh and shank misalignment, during different motions.
Sensors 22 09009 g008
Figure 9. Comparison of IMU-based and optical motion capture system data-based 3-DOF knee angle estimations of RMSEs during different motions, the bar and error bar represent the mean and SD of the RMSEs.
Figure 9. Comparison of IMU-based and optical motion capture system data-based 3-DOF knee angle estimations of RMSEs during different motions, the bar and error bar represent the mean and SD of the RMSEs.
Sensors 22 09009 g009
Table 1. This table shows the maximum, minimum and range of motion (ROM) values of the estimated 3-DOF knee angle during walking, jogging and ordinary running for all participants.
Table 1. This table shows the maximum, minimum and range of motion (ROM) values of the estimated 3-DOF knee angle during walking, jogging and ordinary running for all participants.
Motions3-DOF Knee AngleMax (°)Min (°)ROM (°)
Walking
(3 km/h)
abduction18.08898−3.0071921.09617
internal rotation−17.0804−38.369121.28875
flexion59.85131−3.2883463.13965
Jogging
(6 km/h)
abduction23.32207−1.7518125.07388
internal rotation−13.3855−35.990122.60462
flexion72.809895.86739466.9425
Ordinary
Running
(9 km/h)
abduction22.24302−2.2288424.47186
internal rotation−17.9308−37.968220.03737
flexion80.157245.3903574.76689
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Jiang, C.; Yang, Y.; Mao, H.; Yang, D.; Wang, W. Effects of Dynamic IMU-to-Segment Misalignment Error on 3-DOF Knee Angle Estimation in Walking and Running. Sensors 2022, 22, 9009. https://doi.org/10.3390/s22229009

AMA Style

Jiang C, Yang Y, Mao H, Yang D, Wang W. Effects of Dynamic IMU-to-Segment Misalignment Error on 3-DOF Knee Angle Estimation in Walking and Running. Sensors. 2022; 22(22):9009. https://doi.org/10.3390/s22229009

Chicago/Turabian Style

Jiang, Chao, Yan Yang, Huayun Mao, Dewei Yang, and Wei Wang. 2022. "Effects of Dynamic IMU-to-Segment Misalignment Error on 3-DOF Knee Angle Estimation in Walking and Running" Sensors 22, no. 22: 9009. https://doi.org/10.3390/s22229009

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