Next Article in Journal
Automotive Augmented Reality Head-Up Displays
Previous Article in Journal
Fabrication of Tungsten Oxide Nanowalls through HFCVD for Improved Electrochemical Detection of Methylamine
Previous Article in Special Issue
Investigation of New Accelerometer Based on Capacitive Micromachined Ultrasonic Transducer (CMUT) with Ring-Perforation Membrane
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Adaptive Expectation–Maximization-Based Kalman Filter/Finite Impulse Response Filter for MEMS-INS-Based Posture Capture of Human Upper Limbs

1
School of Electrical Engineering, University of Jinan, Jinan 250022, China
2
Jinan Key Laboratory of Rehabilitation and Evaluation of Motor Dysfunction, Jinan 250022, China
3
Shandong University of Science and Technology, Jinan 250031, China
*
Author to whom correspondence should be addressed.
Micromachines 2024, 15(4), 440; https://doi.org/10.3390/mi15040440
Submission received: 8 February 2024 / Revised: 11 March 2024 / Accepted: 21 March 2024 / Published: 26 March 2024

Abstract

:
To obtain precise positional information, in this study, we propose an adaptive expectation–maximization (EM)-based Kalman filter (KF)/finite impulse response (FIR) integrated filter for inertial navigation system (INS)-based posture capture of human upper limbs. Initially, a data fusion model for wrist and elbow position is developed. Subsequently, the Mahalanobis distance is utilized to evaluate the performance of the filter. The integrated filter employs the EM-based KF to enhance noise estimation accuracy when the performance of KF declines. Conversely, upon deterioration in the performance of the EM-based KF, which is evaluated using the Mahalanobis distance, the FIR filter is employed to maintain the effectiveness of the data fusion filter. This research utilizes the proposed EM-based KF/FIR integrated filter to ascertain wrist and elbow positions. The empirical results demonstrate the proficiency of the proposed approach in estimating these positions, thereby overcoming the challenge and highlighting its inherent effectiveness.

1. Introduction

Recently, the number of patients with motor function injuries has been increasing every year, posing significant challenges to their lives and their families [1,2]. Rehabilitation training is crucial for these patients to help them overcome these challenges as soon as possible. The accurate implementation of rehabilitation training has emerged as a focal research area in medical rehabilitation and training equipment domains. In the equipment domain and with advancements in science and technology, the precise acquisition of human joint positions has gradually become a new research hotspot. In particular, visual posture capture and inertial navigation system (INS)-based posture capture are the prevalent examples. For instance, ref. [3] detailed the use of motion capture sensors for acquiring human motion data, which are subsequently processed in accordance with relevant data formats. Ref. [4] reported a 3-D tracking of upper limb movement by using two inertial sensor systems. Additionally, the scheme for upper limb motion monitoring in neurorehabilitation utilizing low-cost inertial sensors such as those found in Sony Move, Nintendo Wii (Wii Remote with Wii MotionPlus), and smartphones has been developed [5]. Ref. [6] employed two wearable inertial sensors that are placed near the wrist and elbow joints to measure the human motion of the upper limbs. Research on video-recognition-based virtual reality for three-dimensional human motion pose capture, as discussed in [7,8], reported favorable results in accurately capturing and recognizing dual-category human motion gestures. Ref. [9] presented a refined technique for reconstructing accurate motion from partially captured and noisy postures using Kinect, with experiments demonstrating significant accuracy of posture recognition under severe occlusion conditions. Ref. [10] proposed a computer vision algorithm for automatic construction of a human body skeleton model, employing a method that segments the body into primary components by calculating the curvature of a B-spline parameterized human contour. This approach effectively addressed the complex issue of initialization in a vision-based markerless motion capture system for the human body. Investigations into wearable sensor methodologies for assessing lower limb motion are reported in [11,12], guiding a novel, self-contained, and universally adaptable system capable of consistent tracking of human lower limbs without substantial differences. Ref. [13] reported an innovative wearable sensor system developed utilizing a commercial system-in-package with inertial and magnetic sensors. Further, Ref. [14] reported a new algorithm for filtering foot motion and estimating foot kinematics during normal walking using inertial and magnetic sensors in relation to an earth-fixed reference frame. Lastly, Refs. [15,16] discussed a monitoring system based on inertial sensors for measuring and tracking upper limb movement in humans utilizing two wearable inertial sensors positioned close to the wrist and elbow joints.
Employing the Kalman filter (KF) effectively mitigates measurement drift, demonstrating commendable accuracy and reliability. A novel algorithm for motion tracking has been developed by fusing data from two wearable inertial sensors positioned near the wrist and elbow joints. Empirical findings showcased that the algorithm exhibited proficiency in achieving unwavering motion tracking of human arms over a 45 s duration being devoid of any perceptible measurement drifts [17]. Despite the capabilities of the aforementioned measurement methods for human motion capture, they suffer from many limitations. The INS-based method is also prone to error accumulation, and visual solutions encounter recognition challenges in scenarios in which limbs intersect. Employed with the equipment, data fusion filters have shown potential in improving localization precision [18]. A prominent example of such filters is the KF, which has been the subject of numerous fusion efforts [19]. In [20], a novel approach involving the utilization of a predictive quaternion KF is reported for continuous wireless tracking of lower limb posture of humans, effectively overcoming wireless communication outages. In addition, Ref. [21] reported a robust KF by deriving robust estimators for Kalman filtering that incorporate constraints on state parameters by leveraging the principles of the generalized maximum likelihood Lagrangian condition. Simulation results and semiphysical trials revealed the efficacy of an adaptive KF in improving in the accuracy of state variable estimation. Ref. [22] introduced a novel expectation–maximization (EM) algorithm with guaranteed convergence to derive the maximum likelihood estimator (MLE) solution. Furthermore, Ref. [23] discussed the sigma-point update of a cubature KF of the Global Navigation Satellite System (GNSS)/INS integrated environment. Notably, the discussed KF-based methods require an accurate data fusion model and a comprehensive noise description, which is hard to achieve in practice [24].
To surmount this obstacle, the implementation of a finite impulse response (FIR) filter is proposed. In [25], an improved FIR filter was proposed for ultrawide-band (UWB) localization, integrating the FIR filter with a predictive model and extreme learning machine (ELM) to enhance the accuracy of UWB-based localization. Ref. [26] introduced an improved iterative FIR state estimator. Although the FIR filter showed increased robustness, its localization accuracy may not surpass that of KF when the KF model is precise. The increasing prevalence of motor function injuries significantly impacts the lives of patients and their families. Thus, accurate implementation of rehabilitation training for patients has become increasingly central in research in this field. This study introduces an adaptive EM-based KF/FIR integrated filter for INS-based posture capture of human upper limbs. Initially, a data fusion model for the wrist and elbow positions is developed. The Mahalanobis distance is then employed to assess the performance of the filter. In the integrated filter, when the performance of KF deteriorates, the EM-based KF is utilized to improve the noise estimation accuracy. Subsequently, the Mahalanobis distance is used to evaluate the performance of the EM-based KF. Upon further decline in the performance of the EM-based KF, the FIR filter is employed to maintain the effectiveness of the data fusion filter. This research employs the proposed EM-based KF/FIR integrated filter for measuring the wrist and elbow positions. Empirical results demonstrate the effectiveness of the method in providing accurate position estimations of its capacity to overcome the challenge. This study contributes significantly in the following areas:
  • An INS-based motion model for human upper limbs is formulated, focusing on the wrist and elbow positions. The state vector comprises their position and velocity in the East–North–Up frame. Further, IMU-measured positions are employed as the input. The output of the two data fusion filters are used to determine the posture of human upper limbs.
  • A EM-based KF/FIR integrated filtering method is designed. It leverages the INS-based motion model of human upper limbs, using KF to estimate wrist and elbow positions from INS-based measurements. The Mahalanobis distance is used to evaluate the performance of the filter, employing the EM-based method and subsequently the FIR filter as the performance of KF deteriorates.
  • Experimental results affirm the superior performance of the proposed algorithms compared to traditional counterparts. A real-world test using two IMUs for INS-based wrist and elbow position measurements and Kinect 2.0 used to provide reference values demonstrate the effectiveness of the proposed EM-based KF/FIR integrated filter over traditional KF and FIR filters.
The remaining sections of this paper are organized as follows: Section 2 delves into posture capture of human upper limbs based on INS. Section 3 details the design of the EM-based KF/FIR filter used for capturing motion of human upper limbs. Section 4 summarizes experimental tests, and conclusions are presented in Section 5.

2. INS-Based Posture Capture of Human Upper Limbs

This section outlines the model design for capturing human upper limb motion using an INS-based posture capture scheme, as depicted in Figure 1. As seen in the figure, two IMUs are affixed between the joints to measure the attitudes of the humerus and radius using accelerometer and gyroscope data from the devices. Initially, the shoulder’s position P 0 , k at the time index k is obtained. The IMU then computes the attitude transfer matrix T 0 , k 1 from P 0 , k to the elbow position P 1 , k , which is calculated using the following equation:
Po 1 , k = Po 0 , k + l 1 T 0 , k 1 ,
where T 0 , k 1 = T n , k 1 T 0 , k n . Employing Po 1 , k and T 1 , k 2 measured by IMU 2, the wrist position Po 2 , k is computed as follows:
Po 2 , k = Po 1 , k + l 2 T 1 , k 2 ,
where T 1 , k 2 = T n , k 2 T 1 , k n . In this study, the measurements P ^ o 1 , k and P ^ o 2 , k were utilized by the EM-based KF/FIR filters 1 and 2, respectively, the design of which is elucidated in the subsequent section. The outputs from these filters are input to the motion capture calculations for upper limbs.

3. EM-Based KF/FIR Filter for Position Estimation

In this section, we articulate the method for position estimation based on the EM-based KF/FIR filter, as illustrated in Figure 1. Initially, the data fusion model is discussed. This is followed by a brief introduction of the EM-based KF and FIR filters. Finally, the principle of the EM-based KF/FIR filter is expounded for INS-based posture capture.

3.1. Data Fusion Model

Based on the scheme shown in Figure 1, a dual-data-fusion model is requisite for the dual-data-fusion filter. The state equation for the i t h EM-based KF/FIR filter is expressed as follows:
x k i vx k i y k i vy k i z k i v z k i L k i = 1 Δ k 0 0 0 0 0 1 0 0 0 0 0 0 1 Δ k 0 0 0 0 0 1 0 0 0 0 0 0 1 Δ k 0 0 0 0 0 1 T x k i vx k i y k i vy k i z k i v z k i L k i + w k i ,
where i denotes the elbow ( i = 1 ) and wrist ( i = 2 ), Po i , k = x k i , y k i , z k i T is the elbow’s or wrist’s position, Vel i , k = vx k i , vy k i , vz k i T is the elbow’s or wrist’s velocity, Δ k is the sampling time, and  w k i N ( 0 , Q ) is the system noise.
Po i , k = 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 H L k i + v k i ,
where v k i N ( 0 , R ) is the measurement noise.

3.2. EM-Based KF

Based on the model (1) and (2), the kF can be calculated using the following equations: First, one-step prediction is performed.
L k i = TL k i + w k i ,
P k i = TP k i T T + Q ,
Then, with the measurement P i , k , KF employs the following equations:
K k i = P k i H T HP k i H T + R 1 ,
L k i = L k i + K k i Po i , k HL k i ,
P k i = I K k i H P k i I K k i H T + K k i R K k i T ,
The KF algorithm based on the model (1) and (2) is can be found in Algorithm 1 below:
Algorithm 1: KF method for the model (1) and (2)
Micromachines 15 00440 i001
Note that the KF method depends on the accuracy of the model, which is hard to achieve in practice. To enhance the robustness of data fusion methods, the EM-based KF has been proposed [27]. This method employs the joint log-likelihood function g α k L k i , P o i , 1 : k 1 = Δ l o g p α k L k i , P o i , 1 : k 1 as the minimum variance estimate f α k , α k l :
g α k L k i , P o i , 1 : k 1 f α k , α k l = Δ E g α k L k i , P o i , 1 : k 1 | α k l , P o i , 1 : k = l o g p α k L k i , P o i , 1 : k p α k l L k i | P o i , 1 : k d L k i ,
This EM-based KF method involves an expectation step (E-step) and a maximization step (M-step). For the E-step, we can obtain the following equation:
p α k L k i , P o i , 1 : k = p α k P o i , k | L k i , P o i , 1 : k p α k L k i | P o i , 1 : k 1 p P o i , 1 : k 1 = p α k P o i , k | L k i p α k L k i | P o i , 1 : k 1 p P o i , 1 : k 1 ,
Based on the KF method presented as Algorithm 1, we can obtain
p α k L k i | P o i , 1 : k 1 = N L k i , P k i ,
p α k P o i , k | P o i , 1 : k 1 = N HL k i , R k ,
Employing Equations (11)–(13), we obtain the joint log-likelihood function as follows:
log p α k L k i , P o i , 1 : k 1 = 1 2 log R k 1 2 Po i , k HL k i R k 1 Po i , k HL k i T 1 2 L k i L k i T P k i 1 L k i L k i + O α k ,
where the O α k denotes a constant. Here, we can compute the posterior probability density function (PDF) p α k l L k i | P o i , 1 : k via a small l t h step iteration of L k i ( l ) and P k i ( l ) . Thus, we can determine that
p α k l L k i | P o i , 1 : k = N L k i l , P k i l ,
Finally, substituting (15) in (10), we obtain:
f α k , α k l = 1 2 log R k 1 2 t r Ω 1 , k R k 1 1 2 log P k i 1 2 t r Ω 2 , k P k i 1 + O α k ,
Here,
Ω 1 , k = P o i , k HL k i l P o i , k HL k i l T N L k i l , P k i l d L k i = P o i , k HL k i l + 1 P o i , k HL k i l + 1 T + HP k i l + 1 H T ,
Ω 2 , k = L k i L k i L k i L k i T N L k i l , P k i l d L k i = P k i l + L k i l L k i L k i l L k i T ,
To the M-step, we can compute the following equation.
f α k , α k l P k i = 0 , f α k , α k l R k i = 0 ,
From (19), we obtain
f α k , α k l P k i = 1 2 P k i l + 1 1 + 1 2 P k i l + 1 1 Ω 1 , k P k i l + 1 1 = 0 ,
f α k , α k l R k i = 1 2 R k i l + 1 1 + 1 2 R k i l + 1 1 Ω 2 , k R k i l + 1 1 = 0 ,
Thus, we obtain
Ω 1 , k = P k i l + 1 ,
Ω 2 , k = R k i l + 1 ,
Thus, we obtain Algorithm 2:
Algorithm 2: EM-based KF method for the model (1) and (2)
Micromachines 15 00440 i002

3.3. FIR Filter

From Algorithm 1, we see that the capability of KF to provide estimations is contingent upon the accuracy of the underlying model, which is often difficult to achieve. To this end, a solution involving the FIR filter has been proposed in [28]. In this study, based on the models (1) and (2), we perform data fusion using the FIR filter and recent measurements from the time index k N F I R + 1 to k. Here, N F I R denotes the filtering window size, and j indicates the iteration number of the FIR filter. This one-step prediction of the FIR filter can be computed by the following equation:
L j i = TL j i ,
P j i = TP j i T T + Q ,
Thereafter, the measurement update can be performed as follows:
K j i = H H T + TH T T 1 1 H ,
L j i = L j i + K j i P o i , j HL j i ,
P j i = I K j i H P j i I K j i H T + K j i R K j i T ,
Thus, we obtain the FIR method for the models (1) and (2) presented as Algorithm 3.
Algorithm 3: FIR method for the model (1) and (2)
Micromachines 15 00440 i003

3.4. EM-Based Kf/FIR Integrated Filter

This section outlines the design of the EM-based KF/FIR integrated filter, incorporating the previously mentioned EM-based KF and FIR filters. The performance of the subfilters in this study is evaluated using the Mahalanobis distance. In the operation of the proposed EM-based KF/FIR integrated filter, the initial step involves one-step prediction by KF, as expressed in Equations (5) and (6). Subsequently, the Mahalanobis distance is computed as per the following equation:
D k = P o i , k HL k i T R k 1 P o i , k HL k i ,
If D k < t h r e s h o l d 1 , the measurement is updated via Equations (7)–(9). Otherwise, we first set L ¯ k i 0 = L k i and P ¯ k i 0 = P k i and then perform the iterations listed in lines 8–12 in Algorithm 2. The second Mahalanobis distance is then computed using Equation (29). If D k < t h r e s h o l d 2 , the EM-based KF operates normally; if D k > t h r e s h o l d 2 , the FIR filter is directly used. The structure of the EM-based KF/FIR integrated filter is depicted in Figure 2.

4. Discussion

In this section, a real test conducted to verify the performance of the proposed method is discussed. The setting of the real test is introduced as follows.

4.1. Setting of the Real Test

In this study, focusing on human upper limbs, only two IMUs are used, which are fixed on a human upper limb. Kinect 2.0 is used to provide the reference value for vision measurement. Figure 3 illustrates the configuration of the testbed employed in this study. Practical tests were conducted in the No. 1 teaching building of the University of Jinan, with experimental scenarios displayed in Figure 4. The IMUs are affixed to the human subject and their data are transmitted wirelessly, with parameters listed in Table 1, as utilized in [29]. Unlike [29], Kinect 2.0 is used to obtain reference values, with parameters listed in Table 2 also referenced in [29]. Data acquisition from all active sensors is systematically performed using a Lenovo Legion Y9000K2020H computer, with the specifications shown in Table 3. The INS calculates the navigation results by integrating the measurement values of the inertial sensor. Therefore, the accuracy of initial alignment has a significant impact on the accuracy of INS solution. To the initial position of the shoulder, in this test, we firstly measure the position of the target human’s shoulder.

4.2. Positioning of the Elbow

The performance of the proposed EM-based KF/FIR integrated filter is discussed in this section. For elbow localization, we employed two real-world tests, the filter settings for the first test were as follows:
Q = Δ k 2 4 Δ k 2 0 0 0 0 Δ k 2 1 0 0 0 0 0 0 Δ k 2 4 Δ k 2 0 0 0 0 Δ k 2 1 0 0 0 0 0 0 Δ k 2 4 Δ k 2 0 0 0 0 Δ k 2 1 ,
R = 0.01 0 0 0 0.01 0 0 0 0.01 ,
We set Δ k = 1 / 30 s, threshold 1 = 2 . Based on the models (1) and (2),we obtained M F I R = 6 in this test. The elbow positions measured by the KF, FIR filter, and EM-based KF/FIR filter are depicted in Figure 5. In this figure, the KF solution is represented by a green line, the FIR solution by a blue line, the proposed EM-based KF/FIR integrated filter solution by a red line, and the reference values by a red line. All solutions are close to the reference values. Notably, the FIR solution is markedly higher than the reference value in the east direction. Meanwhile, the KF solution is close to the reference values. Compared to the KF and FIR filter solutions, the EM-based KF/FIR filter solution demonstrates consistent convergence toward the benchmark value.
The position-error cumulative distribution function (CDF) of the elbow measured by the KF, FIR filter, and EM-based KF/FIR filter in test 1 are shown in Figure 6. In this figure, the KF solution has the biggest position error at 0.9; the FIR and the proposed method’s solutions are similar.
The RMSEs of the KF, FIR filter, and EM-based KF/FIR filter concerning elbow positions in test 1 are listed in Table 4. We see that the mean position error is close to the KF, which has a small localization error.
The filter settings for the second test were changed as follows:
Q = Δ k 2 4 Δ k 2 0 0 0 0 Δ k 2 1 0 0 0 0 0 0 Δ k 2 4 Δ k 2 0 0 0 0 Δ k 2 1 0 0 0 0 0 0 Δ k 2 4 Δ k 2 0 0 0 0 Δ k 2 1 × ( 0.6 × 0.3 ) ,
R = 0.02 0 0 0 0.02 0 0 0 0.02 ,
The elbow positions in test 2 measured by the KF, FIR filter, and EM-based KF/FIR filter are illustrated in Figure 7. All solutions are close to the reference values. From the time index 1000 to 1300, the FIR solution is noticeably higher than the reference values. The solution provided by the proposed EM-based KF/FIR filter consistently falls between the KF and FIR solutions.
Figure 8 illustrates the position-error CDFs of the elbow measured by the KF, FIR filter, EM-based KF/FIR filter in test 2. From the figure, the KF solution get the smallest position error, the FIR solution has the biggest position error. In this test, the solution provided by the proposed EM-based KF/FIR filter consistently falls between the KF and FIR solutions.

4.3. Wrist Positioning

This section focuses on the performance of the proposed EM-based KF/FIR integrated filter concerning wrist positioning. In this subsection, we also employed two tests. The filter settings for wrist localization in test 1 are as follows:
Q = Δ k 2 4 Δ k 2 0 0 0 0 Δ k 2 1 0 0 0 0 0 0 Δ k 2 4 Δ k 2 0 0 0 0 Δ k 2 1 0 0 0 0 0 0 Δ k 2 4 Δ k 2 0 0 0 0 Δ k 2 1 × 10 1 ,
R = 0.1 0 0 0 0.1 0 0 0 0.1 ,
We set Δ k = 1 / 30 s, threshold 1 = 2 . Based on the models (1) and (2), we obtained M F I R = 6 in this test. The wrist positions measured by the KF, FIR filter, and EM-based KF/FIR filter in test 1 are displayed in Figure 9. The KF solution is represented by a green line, the FIR solution by a blue line, the proposed EM-based KF/FIR integrated filter solution by a black line, and the reference values by a red line. In the east direction, the FIR filter has biggest error from the time index 600 to 1000. During this period, the proposed EM-based KF/FIR filter and the KF filter show better performance. All solutions are close to the reference values in the north and up directions. However, the performance of KF is subpar from the time index 1100 to 1400 in these directions, while the solution provided by the proposed EM-based KF/FIR filter more consistently converges toward the reference values.
The position-error CDF of the wrist measured by the KF, FIR filter, and EM-based KF/FIR filter in test 1 are shown in Figure 10. In this figure, the KF outperforms FIR filter. Further, the proposed EM-based KF/FIR filter solution more closely approximates the KF solution. Table 5 tabulates the RMSEs of the KF, FIR filter, and EM-based KF/FIR filter concerning wrist positions in test 1. The table reveals that the method proposed in this study achieves the smallest localization error compared to the KF and FIR filter, with its localization error value being marginally lower than that of the FIR filter.
Then, we performed the test 2 with the following settings:
Q = Δ k 2 4 Δ k 2 0 0 0 0 Δ k 2 1 0 0 0 0 0 0 Δ k 2 4 Δ k 2 0 0 0 0 Δ k 2 1 0 0 0 0 0 0 Δ k 2 4 Δ k 2 0 0 0 0 Δ k 2 1 × 10 4 ,
R = 0.02 0 0 0 0.02 0 0 0 0.02 ,
The wrist positions as measured by the KF, FIR filter, and EM-based KF/FIR filter in test 2 are depicted in Figure 11. In this figure, it can be seen that the KF has biggest position error in the east direction when compared with the KF and FIR filter from the time index 500 to 1000. The proposed method’s solution are closer to the reference value. In the north and up directions, the KF and the proposed method’s performances are similar.
Figure 12 illustrates the position-error CDF for the KF, FIR filter, and EM-based KF/FIR filter concerning wrist positions in test 2. The figure shows that at a probability of 0.9, the positioning error of KF is the largest and that of FIR is smaller than that of the KF; in addition, the proposed method aligns more closely with the KF solution.
This section substantiates the effectiveness of the proposed EM-based KF/FIR integrated filter in providing superior performance than the KF and FIR filters independently, successfully addressing the limitations inherent to both filters. It should be pointed out that the setting of the Q and R used in this work depend on all the sensors’ data in the test. Thus, we can obtain the accurate setting of the Q and R by using the sensor’s data. However, it should be pointed out that it is not easy to obtain in practice. Moreover, from the results mentioned above, we can see that not all Q and R are suitable for the KF algorithm, especially for the east direction.

4.4. Operation Time

In this section, the operation time of the filters used in the test will be compared. In this work, we employed the Lenovo Legion computer; its CPU is Intel(R) Core(TM) i7-10875H CPU @ 2.30 GHz, the RAM of the computer is 16 GB, and all the filters were run on Matlab R2017a. The running time of the KF, FIR filter, and EM-based KF/FIR filter in tests are listed in Table 6. From the table, we can see that the KF has the shortest running time, with a mean running time of 0.037 ms, and the proposed EM-based KF/FIR has the longest running time, with a mean running time of 7.954 ms. It should be pointed out that the sampling time is 33.33 ms, thus, although the running time of the proposed EM-based KF/FIR is longest when compared with the other filters, its value is smaller than the sampling time.

5. Conclusions

The increasing prevalence of motor function injuries presents substantial challenges for patients and their families. Consequently, the accurate execution of rehabilitation training has emerged as a critical research area. This study introduces an EM-based KF/FIR integrated filter for posture capture of human upper limbs, focusing on precise wrist and elbow position information. In this work, the wrist and elbow’s position have been considered. Thus, we employ their position and the velocity in East–North–Up frame as the state vector, and their positions measured by the IMUs are used as the measurements. The outputs from the two data fusion filters are then used to determine the posture of human upper limbs. In the proposed method, the filter performance is assessed using the Mahalanobis distance. When the performance of the KF is suboptimal, the EM-based KF is utilized to enhance performance. Subsequently, if the performance of the EM-based KF declines, the FIR filter is employed to increase localization accuracy. An EM-based KF/FIR integrated filter is used for the posture capture of human upper limbs. A real-world test was conducted to demonstrate the effectiveness of this approach. In the test, two IMUs provided INS-based wrist and elbow positions, while Kinect 2.0 was used to obtain reference values. The proposed EM-based KF/FIR integrated filter was compared with the traditional KF and FIR filter. The results indicated that the proposed EM-based KF/FIR integrated filter outperforms the conventional KF and FIR filter in localizing wrist and elbow positions.

Author Contributions

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

Funding

This research was funded by the 2022 Shandong Province Science and Technology Small and Medium Enterprises Innovation Ability Enhancement Project under Grant 2022TSGC2037, and by the Strategic Project for Integrated Development between City of Jinan and Universities under Grant JNSX2023024.

Data Availability Statement

Data are contained within the article.

Conflicts of Interest

The authors declare no conflicts of interest.

Abbreviations

The following abbreviations are used in this manuscript:
CDFcumulative distribution function
ELMextreme learning machine
EMexpectation–maximization
FIRfinite impulse response filter
GNSSglobal navigation satellite system
INSinertial navigation system
KFKalman filter
PDFprobability density function
RMSEroot mean square errors
MLEmaximum likelihood estimator
UWBultrawide band

References

  1. Ma, Y.; Wu, L.; Gao, Y. ULFAC-Net: Ultra-lightweight fully asymmetric convolutional network for skin lesion segmentation. IEEE J. Biomed. Health Inform. 2023, 27, 2886–2897. [Google Scholar] [CrossRef]
  2. Höglund, G.; Grip, H.; öhberg, F. The importance of inertial measurement unit placement in assessing upper limb motion. Med. Eng. Phys. 2021, 92, 1–9. [Google Scholar] [CrossRef] [PubMed]
  3. Gao, L.; Zhang, G.; Yu, B.; Qiao, Z.; Wang, J. Wearable Human Motion Posture Capture and Medical Health Monitoring Based on Wireless Sensor Networks. Measurement 2020, 166, 108252. [Google Scholar] [CrossRef]
  4. Bai, L.; Pepper, M.G.; Yan, Y.; Spurgeon, S.K.; Sakel, M.; Phillips, M. Quantitative Assessment of Upper Limb Motion in Neurorehabilitation Utilizing Inertial Sensors. IEEE Trans. Neural Syst. Rehabil. Eng. 2015, 23, 232–243. [Google Scholar] [CrossRef] [PubMed]
  5. Bai, L.; Pepper, M.G.; Yan, Y.; Phillips, M.; Sakel, M. Low Cost Inertial Sensors for the Motion Tracking and Orientation Estimation of Human Upper Limbs in Neurological Rehabilitation. IEEE Access 2020, 8, 54254–54268. [Google Scholar] [CrossRef]
  6. Zhou, H.; Stone, T.; Hu, H.; Harris, N. Use of multiple wearable inertial sensors in upper limb motion tracking. Med. Eng. Phys. 2008, 30, 123–133. [Google Scholar] [CrossRef] [PubMed]
  7. Fu, Q.; Zhang, X.; Xu, J.; Zhang, H. Capture of 3D Human Motion Pose in Virtual Reality Based on Video Recognition. Complexity 2020, 2020, 8857748. [Google Scholar] [CrossRef]
  8. Escalona, J.L.; Urda, P.; Muñoz, S. A track geometry measuring system based on multibody kinematics, inertial sensors and computer vision. Sensors 2021, 21, 683. [Google Scholar] [CrossRef]
  9. Shum, H.P.H.; Ho, E.S.L.; Jiang, Y.; Takagi, S. Real-Time posture reconstruction for Microsoft Kinect. IEEE Trans. Cybern. 2013, 43, 1357–1369. [Google Scholar] [CrossRef]
  10. Jaume-i-Capo, A.; Varona, J.; Gonzalez-Hidalgo, M.; Mas, R.; Perales, F.J. Automatic human body modeling for vision-based motion capture system using B-spline parameterization of the silhouette. Opt. Eng. 2012, 51, 0501. [Google Scholar] [CrossRef]
  11. Qiu, S.; Wang, Z.; Zhao, H.; Hu, H. Using Distributed Wearable Sensors to Measure and Evaluate Human Lower Limb Motions. IEEE Trans. Instrum. Meas. 2016, 65, 939–950. [Google Scholar] [CrossRef]
  12. Gao, M.; Yu, M.; Guo, H.; Xu, Y. Mobile robot indoor positioning based on a combination of visual and inertial sensors. Sensors 2019, 19, 1773. [Google Scholar] [CrossRef] [PubMed]
  13. Lambrecht, J.M.; Kirsch, R.F. Miniature Low-Power Inertial Sensors: Promising Technology for Implantable Motion Capture Systems. IEEE Trans. Neural Syst. Rehabil. Eng. 2014, 22, 1138–1147. [Google Scholar] [CrossRef] [PubMed]
  14. Yun, X.; Calusdian, J.; Bachmann, E.R.; Mcghee, R.B. Estimation of Human Foot Motion during Normal Walking Using Inertial and Magnetic Sensor Measurements. IEEE Trans. Instrum. Meas. 2012, 61, 2059–2072. [Google Scholar] [CrossRef]
  15. Zhou, H.; Hu, H. Reducing Drifts in the Inertial Measurements of Wrist and Elbow Positions. IEEE Trans. Instrum. Meas. 2010, 59, 575–585. [Google Scholar] [CrossRef]
  16. Wirth, M.A.; Fischer, G.; Verdú, J.; Reissner, L.; Balocco, S.; Calcagni, M. Comparison of a new inertial sensor based system with an optoelectronic motion capture system for motion analysis of healthy human wrist joints. Sensors 2019, 19, 5297. [Google Scholar] [CrossRef]
  17. Zhou, H.; Hu, H.; Harris, N.D.; Hammerton, J. Applications of wearable inertial sensors in estimation of upper limb movements. Biomed. Signal Process. Control 2006, 1, 22–32. [Google Scholar] [CrossRef]
  18. Zhao, S.; Huang, B. Trial-and-error or avoiding a guess? Initialization of the Kalman filter. Automatica 2020, 121, 109184. [Google Scholar] [CrossRef]
  19. Xu, Y.; Wan, D.; Shmaliy, Y.S.; Chen, X.; Shen, T.; Bi, S. Dual free-size LS-SVM assisted maximum correntropy Kalman filtering for seamless INS-based integrated drone localization. IEEE Trans. Ind. Electron. 2023, 1–10. [Google Scholar] [CrossRef]
  20. Liu, W.; Li, M.; Liu, F.; Xu, Y. Dual predictive quaternion Kalman filter and its application in seamless wireless mobile human lower limb posture tracking. Mob. Netw. Appl. 2023. [Google Scholar] [CrossRef]
  21. Yang, Y.; Zhang, W.G. Robust Kalman filtering with constraints: A case study for integrated navigation. J. Geod. 2010, 84, 373–381. [Google Scholar] [CrossRef]
  22. Jiang, N.; Zhang, N. Expectation Maximization-Based Target Localization From Range Measurements in Multiplicative Noise Environments. IEEE Commun. Lett. 2021, 25, 1524–1528. [Google Scholar] [CrossRef]
  23. Cui, B.; Wei, X.; Chen, X.; Li, J.; Li, L. On Sigma-Point Update of Cubature Kalman Filter for GNSS/INS Under GNSS-Challenged Environment. IEEE Trans. Veh. Technol. 2019, 68, 8671–8682. [Google Scholar] [CrossRef]
  24. Zhao, S.; Shmaliy, Y.S.; Ahn, C.K.; Liu, F. Adaptive-Horizon Iterative UFIR Filtering Algorithm with Applications. IEEE Trans. Ind. Electron. 2018, 65, 6393–6402. [Google Scholar] [CrossRef]
  25. Xu, Y.; Wan, D.; Bi, S.; Guo, H.; Zhuang, Y. Predictive mode-ELM integrated assisted FIR filter for UWB robot localization. Satell. Navig. 2023, 4, 2. [Google Scholar] [CrossRef]
  26. Zhao, S.; Shmaliy, Y.S.; Ahn, C.K.; Luo, L. An improved iterative FIR state estimator and its applications. IEEE Trans. Ind. Inform. 2019, 16, 1003–1012. [Google Scholar] [CrossRef]
  27. Huang, Y.; Zhang, Y.; Xu, B.; Wu, Z.; Chambers, J.A. A new adaptive extended Kalman filter for cooperative localization. IEEE Trans. Aerosp. Electron. Syst. 2018, 54, 353–368. [Google Scholar] [CrossRef]
  28. Zhao, S.; Shmaliy, Y.S.; Liu, F. Batch optimal FIR smoothing: Increasing state informativity in nonwhite measurement noise environments. IEEE Trans. Ind. Inform. 2022, 19, 6993–7001. [Google Scholar] [CrossRef]
  29. Xu, Y.; Gao, R.; Yang, A.; Liang, K.; Shi, Z.; Sun, M.; Shen, T. Extreme learning machine/finite impulse response filter and vision data-assisted inertial navigation system-based human motion capture. Micromachines 2023, 11, 2088. [Google Scholar] [CrossRef]
Figure 1. INS-based posture capture of human upper limbs using the EM-based KF/FIR filter.
Figure 1. INS-based posture capture of human upper limbs using the EM-based KF/FIR filter.
Micromachines 15 00440 g001
Figure 2. The structure of the EM-based Kf/FIR integrated filter.
Figure 2. The structure of the EM-based Kf/FIR integrated filter.
Micromachines 15 00440 g002
Figure 3. Structure of testbed used in the test.
Figure 3. Structure of testbed used in the test.
Micromachines 15 00440 g003
Figure 4. Actual experimental scenario.
Figure 4. Actual experimental scenario.
Micromachines 15 00440 g004
Figure 5. Elbow positions measured by the KF, FIR filter, and EM-based KF/FIR filter in test 1.
Figure 5. Elbow positions measured by the KF, FIR filter, and EM-based KF/FIR filter in test 1.
Micromachines 15 00440 g005
Figure 6. The position-error CDFs of the elbow measured by the KF, FIR filter, and EM-based KF/FIR filter in test 1.
Figure 6. The position-error CDFs of the elbow measured by the KF, FIR filter, and EM-based KF/FIR filter in test 1.
Micromachines 15 00440 g006
Figure 7. Elbow positions measured by the KF, FIR filter, and EM-based KF/FIR filter in test 2.
Figure 7. Elbow positions measured by the KF, FIR filter, and EM-based KF/FIR filter in test 2.
Micromachines 15 00440 g007
Figure 8. The position-error CDFs of the elbow measured by the KF, FIR filter, and EM-based KF/FIR filter in test 2.
Figure 8. The position-error CDFs of the elbow measured by the KF, FIR filter, and EM-based KF/FIR filter in test 2.
Micromachines 15 00440 g008
Figure 9. Wrist positions measured by the KF, FIR filter, and EM-based KF/FIR filter in test 1.
Figure 9. Wrist positions measured by the KF, FIR filter, and EM-based KF/FIR filter in test 1.
Micromachines 15 00440 g009
Figure 10. The position-error CDFs of the wrist measured by the KF, FIR filter, and EM-based KF/FIR filter in test 1.
Figure 10. The position-error CDFs of the wrist measured by the KF, FIR filter, and EM-based KF/FIR filter in test 1.
Micromachines 15 00440 g010
Figure 11. Wrist positions measured by the KF, FIR filter, and EM-based KF/FIR filter in test 2.
Figure 11. Wrist positions measured by the KF, FIR filter, and EM-based KF/FIR filter in test 2.
Micromachines 15 00440 g011
Figure 12. The position-error CDFs of the wrist measured by the KF, FIR filter, and EM-based KF/FIR filter in test 2.
Figure 12. The position-error CDFs of the wrist measured by the KF, FIR filter, and EM-based KF/FIR filter in test 2.
Micromachines 15 00440 g012
Table 1. Parameters of the IMUs involved in the test [29].
Table 1. Parameters of the IMUs involved in the test [29].
ParameterValue
Max sampling frequency100 Hz
Data transmission distance100 m
Working voltage4.2 V
Table 2. Kinect parameters set in the test [29].
Table 2. Kinect parameters set in the test [29].
ParameterValue
Resolution of color image frames 1920 × 1080
Resolution of deep frames 512 × 424
Detectable range0.5–4.5 m
Resolution of infrared image frames 512 × 484
Table 3. Parameters of the computer used in the test.
Table 3. Parameters of the computer used in the test.
ParameterValue
ProcessorIntel(R) Core(TM) i7-10875H
Frequency2.3 GHz
RAM16 G
Table 4. RMSEs of the KF, FIR filter, and EM-based KF/FIR filter concerning elbow positions in test 1.
Table 4. RMSEs of the KF, FIR filter, and EM-based KF/FIR filter concerning elbow positions in test 1.
MethodsEast Direction (m)North Direction (m)Up Direction (m)Mean (m)
KF0.1780.0110.0100.066
FIR0.0860.0140.0140.038
EM-based KF/FIR0.0860.0130.0130.037
Table 5. RMSEs of the KF, FIR filter, and EM-based KF/FIR filter concerning wrist positions in test 1.
Table 5. RMSEs of the KF, FIR filter, and EM-based KF/FIR filter concerning wrist positions in test 1.
MethodsEast Direction (m)North Direction (m)Up Direction (m)Mean (m)
KF0.0360.0200.0200.025
FIR0.0690.0140.0140.032
EM-based KF/FIR0.0400.0180.0180.025
Table 6. The running time of the KF, FIR filter, and EM-based KF/FIR filter in tests.
Table 6. The running time of the KF, FIR filter, and EM-based KF/FIR filter in tests.
MethodsWrist (ms)Elbow (ms)Mean (m)
Sampling time33.3333.3333.33
KF0.0350.0380.037
FIR0.1240.3500.237
EM-based KF/FIR5.62910.2797.954
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

Sun, M.; Li, Y.; Gao, R.; Yu, J.; Xu, Y. Adaptive Expectation–Maximization-Based Kalman Filter/Finite Impulse Response Filter for MEMS-INS-Based Posture Capture of Human Upper Limbs. Micromachines 2024, 15, 440. https://doi.org/10.3390/mi15040440

AMA Style

Sun M, Li Y, Gao R, Yu J, Xu Y. Adaptive Expectation–Maximization-Based Kalman Filter/Finite Impulse Response Filter for MEMS-INS-Based Posture Capture of Human Upper Limbs. Micromachines. 2024; 15(4):440. https://doi.org/10.3390/mi15040440

Chicago/Turabian Style

Sun, Mingxu, Yichen Li, Rui Gao, Jingwen Yu, and Yuan Xu. 2024. "Adaptive Expectation–Maximization-Based Kalman Filter/Finite Impulse Response Filter for MEMS-INS-Based Posture Capture of Human Upper Limbs" Micromachines 15, no. 4: 440. https://doi.org/10.3390/mi15040440

APA Style

Sun, M., Li, Y., Gao, R., Yu, J., & Xu, Y. (2024). Adaptive Expectation–Maximization-Based Kalman Filter/Finite Impulse Response Filter for MEMS-INS-Based Posture Capture of Human Upper Limbs. Micromachines, 15(4), 440. https://doi.org/10.3390/mi15040440

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