Next Article in Journal
Digital Infrastructure Quality Assessment System Methodology for Connected and Automated Vehicles
Next Article in Special Issue
Relative Jitter Measurement Methodology and Comparison of Clocking Resources Jitter in Artix 7 FPGA
Previous Article in Journal
Enabling Space-Aware Service Discovery Model in Home Networks through a Compatible Extension to mDNS/DNS-SD
Previous Article in Special Issue
Spatial Modeling of Air Pollution Using Data Fusion
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Self-Tuning Process Noise in Variational Bayesian Adaptive Kalman Filter for Target Tracking

Science and Technology on Metrology and Calibration Laboratory, Beijing Institute of Radio Metrology and Measurement, Beijing 100854, China
*
Author to whom correspondence should be addressed.
Electronics 2023, 12(18), 3887; https://doi.org/10.3390/electronics12183887
Submission received: 20 August 2023 / Revised: 11 September 2023 / Accepted: 12 September 2023 / Published: 14 September 2023

Abstract

:
Many practical systems, such as target tracking, navigation systems, autonomous vehicles, and other applications, are usually applied in dynamic conditions. Thus, the actual noise statistics characteristics of these systems are generally time varying and unknown, which will deteriorate the state estimation accuracy of the Kalman filter (KF) and even cause filter diverging. To address this issue, this paper proposes an adaptive process noise covariance (Qk)-based variational Bayesian adaptive Kalman filter (AQ-VBAKF) algorithm. Firstly, the adaptive factor is introduced to self-tune the process noise covariance; the adaptive factor is obtained based on the innovation sequences, which can adapt to the input measurement values. Then, the VB solution is applied to approximate the time variant and unknown measurement noise covariance. Therefore, this proposed algorithm can adjust the process noise covariance and the measurement noise covariance simultaneously based on the variable input signals, which can improve the self-adaptive ability of the state estimation filter in dynamic conditions. According to the dynamic target tracking test results, the proposed AQ-VBAKF outperforms several other existing filtering methods in estimation accuracy, robustness, and computational efficiency.

1. Introduction

In many practical applications, such as target tracking, positioning, autonomous vehicles, and so on, state estimation has been widely deployed [1,2,3,4]. The KF (Kalman filter) can obtain the optimal estimation for the minimum mean square error (MMSE) if the noise covariances are accurate under the linear Gaussian condition [5]. In the KF iteration, noise covariances are preselected and kept constant throughout the whole filtering process. However, when the practical systems work in dynamic environments, the constant noise covariances cannot reflect the real dynamic circumstances. For example, autonomous vehicle systems [6] inherently work in dynamic environments, where the sensor measurement, environment conditions, and vehicle dynamics are time varying and difficult to obtain. In this condition, the accurate noise statistics of practical systems are usually unknown. The actual noise covariances vary with the changes in environments. Thus, constant noise covariances for KF may degrade the filtering performance in dynamic conditions. Therefore, advanced estimation methods are necessary for autonomous vehicle systems, target tracking systems, and other applications.
Accordingly, to address this issue, several adaptive KF (AKF) methods have been developed. The AKF algorithms include the multiple mode AKF [7], the Sage-Husa AKF [8], the fading AKF [9], and the variational Bayesian-based AKF (VBAKF) [10]. The multiple mode AKF requires a bank of KFs operating simultaneously, resulting in a large computational burden. The Sage-Husa AKF uses the covariance matching method to estimate the maximum posterior noise, which cannot ensure that it will converge to the accurate noise covariances. The fading AKF introduces the fading factor to decrease the weight of the current measurement value. However, the fading AKF usually needs multiple fading factors, which are not easy to calculate [11].
The variational Bayesian-based AKF (VBAKF) has been widely utilized, as it can use a factorized free-form distribution to approximate the unknown measurement noise covariance matrix (MNCM) and the state vector’s joint posterior distribution [12,13]. However, in the VBAKF algorithm, the process noise covariance matrix (PNCM) is predefined and kept constant, which cannot reflect the actual noise environment and, thus, will deteriorate the filtering performance in time-varying situations. Huang et al. [14] proposed the VBAKF-PR algorithm to estimate the online MNCM and the predicted state error covariance matrix together, and more accurate results were obtained. However, the VBAKF-PR approach needs a predefined PNCM and has a large computational burden. In reference [15], the predicted state error covariance matrix was estimated, but the PNCM stayed constant. In reference [16], to overcome the issue that the PNCM’s distribution and the system state vector’s distribution are non-conjugate, black-box variational inference was used to solve this problem. In [17], a sliding window variational AKF was proposed, which relies on approximating the smoothing posterior distribution. However, these algorithms either have a high computational burden or the PNCM stays constant, which will decrease the filtering performance in dynamic conditions. Since the inaccurate predefined PNCM is used for each iteration, this may cause a decline in estimation accuracy.
To enhance the VBAKF’s performance in dynamic systems, an adaptive PNCM ( Q k )-based variational Bayesian adaptive KF (AQ-VBAKF) method is proposed in this paper. The main contributions of this paper are as follows:
  • To further improve the VBAKF algorithm in dynamic systems and to improve the adaptability of PNCM, the proposed AQ-VBAKF algorithm can not only estimate the MNCM online, but can also self-tune the PNCM in real time. Therefore, the AQ-VBAKF can adapt to the input variable signals in the linear dynamic system.
  • The VBAKF algorithm can only estimate the MNCM, but the PNCM stays constant during the whole filtering process, which will decrease the filtering performance. In the proposed algorithm, the adaptive factor is introduced to tune the PNCM in real time, meaning the fixed PNCM does not cause a decline in the VBAKF estimation accuracy at each iteration.
  • The proposed algorithm is evaluated using the target tracking simulation. Based on a series of experiments, the proposed AQ-VBAKF can improve the filtering accuracy and robustness in comparison with other filtering methods under dynamic conditions. Moreover, the computational burden is not heavy, thus it can be applied in practical systems.
The structure of the paper is summarized as follows. The state-space model and problem statement are described in Section 2. The proposed AQ-VBAKF approach is illustrated in Section 3. The AQ-VBAKF method is verified by target tracking tests in Section 4. The conclusions are drawn in Section 5.

2. State-Space Model and Problem Statement

For the linear Gaussian discrete-time system, the state-space model is demonstrated as follows:
x k = F k x k 1 + ω k 1
z k = H k x k + υ k
where Equation (1) denotes the system model, and Equation (2) denotes the measurement model. k represents the sampling time point. x k n x and z k n z denote the state vector with n x dimensions and the measurement vector with n z dimensions at the k-th epoch, respectively. F k and H k are the system transition matrix and the observation matrix at the k-th epoch. The dimensions of F k and H k are n x × n x and n z × n x , respectively. ω k 1 is the process noise that obeys N ( 0 ,   Q k 1 ) . υ k represents the measurement noise that obeys N ( 0 ,   R k ) . The dimensions of Q k 1 and R k are n x × n x and n z × n z , respectively.
The KF algorithm includes two procedures, which are the prediction process and the correction process. The prediction procedure is expressed as [18]:
x ^ k | k 1 = F k x ^ k 1 | k 1
P k | k 1 = F k P k 1 | k 1 F k T + Q k 1
Then, the correction process is defined as [18]:
K k = P k | k 1 H k T H k P k | k 1 H k T + R k 1 1
x ^ k | k = x ^ k | k 1 + K k z k H k x ^ k | k 1
P k | k = P k | k 1 K k H k P k | k 1
where K k is the KF gain. The dimension of K k is n x × n z . x ^ k | k 1 and x ^ k 1 | k 1 represent the predicted and estimated state values. P k | k 1 and P k 1 | k 1 represent the predicted and estimated state error covariance matrices.
In dynamic conditions, such as integration navigation systems, target tracking systems, and autonomous vehicles, the actual noise covariances vary with the changes in environments and the accurate noise statistics of practical systems are usually unknown. The inaccurate and constant noise covariances Q k and R k in the KF may cause suboptimal estimations and even divergence. Therefore, an adaptive KF algorithm for the inaccurate noise covariance matrices is necessary under practical dynamic conditions. Accordingly, a novel AQ-VBAKF approach is proposed to self-tune the variable and unknown MNCM and PNCM under dynamic conditions.

3. Proposed AQ-VBAKF Algorithm

3.1. Variational Bayesian Approximation for MNCM ( R k )

According to Equations (1) and (2), the probability form for the state-space model is [19]:
p ( z k | x k , R k ) = N ( z k | H k x k , R k )
where N ( | μ ,   Σ ) represents the multivariate Gaussian distribution with a mean vector μ and covariance matrix Σ . Because R k is unknown, the VB algorithm is applied to acquire the posterior distribution p ( x k , R k | z 1 : k ) . However, it is usually not analytical to handle [12]. The approximation scheme VB is used to approximate the intractable posterior inference in the Bayesian model [12].
In linear and Gaussian systems, x k is considered to be independent of the NCM. The joint distribution at the (k−1)-th epoch p ( x k , R k | z 1 : k 1 ) is decomposed as:
p ( x k , R k | z 1 : k 1 ) = p ( x k | z 1 : k 1 ) p ( R k | z 1 : k 1 )
p ( x k | z 1 : k 1 ) is assumed as the Gaussian distribution, and p ( R k | z 1 : k 1 ) can be considered as an inverse Wishart (IW) distribution, which is expressed as [16]:
p ( x k | z 1 : k 1 ) = N ( x k | x ^ k | k 1 , P k | k 1 )
p ( R k | z 1 : k 1 ) = IW ( R k | v ^ k | k 1 , V ^ k | k 1 )
where IW ( | w , W ) represents the IW distribution. w denotes the degrees of freedom’s number. W represents the inverse scale matrix.
Employing the VB inference, the joint posterior distribution can be approximated as:
p ( x k , R k | z 1 : k ) q ( x k ) q ( R k )
where q ( ) is the approximation for p ( ) . q ( x k ) and q ( R k ) are obtained based on the minimization of the Kullback-Leibler (KL) divergence between the real posterior distribution p ( x k , R k | z 1 : k ) and the approximation q ( x k ) q ( R k ) , which is:
q ( x k ) q ( R k ) = arg   min KL q ( x k ) q ( R k ) | | p ( x k , R k | z 1 : k )   = arg   min   q ( x k ) q ( R k ) log q ( x k ) q ( R k ) p ( x k , R k | z 1 : k ) d x k d R k
where KL ( m ( x ) | | n ( x ) ) represents the KL divergence between m(x) and n(x).
The optimal solution of Equation (13) can be obtained as follows [20]:
log q ( R k ) = E x k [ log p ( x k , R k , z 1 : k ) ] + C R k
log q ( x k ) = E R k [ log p ( x k , R k , z 1 : k ) ] + C x k
where E[·] represents the expectation operator. C R k and C x k denote the constants independent of R k and x k , respectively.
Because of the Bayesian rule, it can be given that:
log p ( x k , R k , z 1 : k ) = log p ( x k , R k , z k | z 1 : k 1 ) + log p ( z 1 : k 1 )
Due to p ( z 1 : k 1 ) being independent of R k and x k , then:
log p ( x k , R k , z 1 : k ) log p ( x k , R k , z k | z 1 : k 1 )
Based on Equations (8), (10), and (11), p ( x k , R k , z k | z 1 : k 1 ) is decomposed as [21]:
p ( x k , R k , z k | z 1 : k 1 ) = p ( z k | x k , R k ) p ( x k | R k , z 1 : k 1 ) p ( R k | z 1 : k 1 ) = N ( z k | H k x k , R k ) N ( x k | x ^ k | k 1 , P k | k 1 ) IW ( R k | v ^ k | k 1 , V ^ k | k 1 )
Accordingly, we can have:
log p ( x k , R k , z k | z 1 : k 1 ) = 0.5 ( z k H k x k ) T R k 1 ( z k H k x k ) 0.5 ( x k x ^ k | k 1 ) T P k | k 1 1 ( x k x ^ k | k 1 ) 0.5 ( v ^ k | k 1 + n z + 2 ) log R k 0.5 tr ( V ^ k | k 1 R k 1 ) + C
where tr[·] denotes the matrix’s trace. n x and n z denote the dimensions of x k and z k , respectively. C represents a constant independent of x k and R k .
Substituting Equations (17) and (19) into Equation (14), we can obtain the updated q ( R k ) . q ( R k ) is approximated as the IW distribution:
q ( s ) ( R k ) = IW ( R k | v ^ k | k ( s ) , V ^ k | k ( s ) )
where
v ^ k | k ( s ) = v ^ k | k 1 + 1
V ^ k | k ( s ) = N k ( s 1 ) + V ^ k | k 1
N k ( s 1 ) = ( z k H k x ^ k | k ( s 1 ) ) ( z k H k x ^ k | k ( s 1 ) ) T + H k P k | k ( s 1 ) H k T
The superscript s denotes the s-th VB iteration. The dimensions of V ^ k | k 1 is n z × n z and v ^ k | k 1 is scalar.
Substituting Equations (17) and (19) into Equation (15), q ( x k ) is updated as:
q ( s ) ( x k ) = N ( x k | x ^ k | k ( s ) , P k | k ( s ) )
where
K k ( s ) = P ^ k | k 1 ( s ) H k T H k P ^ k | k 1 ( s ) H k T + E ( s ) [ R k 1 ] 1 1
x ^ k | k ( s ) = x ^ k | k 1 + K k ( s ) ( z k H k x ^ k | k 1 )
P k | k ( s ) = P ^ k | k 1 ( s ) K k ( s ) H k P ^ k | k 1 ( s )

3.2. Adaptation of PNCM ( Q k )

In the VBAKF, the MNCM ( R k ) is adjusted in real time. However, the PNCM ( Q k ) stays constant in the filtering process. The constant Q k cannot match the actual noise statistic characteristic, so the adaptive method of Q k is proposed to enhance the estimation accuracy. Hence, the adaptive factor λ k is introduced to adjust Q k , that is:
P k | k 1 = F k P k 1 | k 1 F k T + λ k Q k 1
In the KF estimation, when the state estimations are accurate, the following equation is held [22]:
E [ d k + j d k T ] H k F k ( I K k + j 1 H k )   F k ( I K k + 2 H k ) F k ( P k | k 1 H k T K k C k ) j = 1 ,   2
where I represents the identity matrix and d k denotes innovation sequences, that is:
d k = z k H k x ^ k | k 1
where C k is the innovation covariance. The dimensions of d k and C k are n z × 1 and n z × n z , respectively. To keep the estimation accurate, E [ d k + j d k T ] = 0 should be satisfied [22]. Therefore, according to Equation (29), K k should be selected to establish the following equation:
P k | k 1 H k T K k C k = 0
By substituting Equation (5) into Equation (31), it can be given that:
P k | k 1 H k T I H k P k | k 1 H k T + R k 1 1 C k = 0
To satisfy Equation (32), the following equation should be held:
H k P k | k 1 H k T + R k 1 = C k
Because of Equation (28), then it can then be determined that:
C k = H k F k P k 1 | k 1 F k T H k T + R k 1 + λ k H k Q k 1 H k T
Therefore, the adaptive factor λ k can be obtained as:
λ k = tr ( C k H k F k P k 1 | k 1 F k T H k T R k 1 ) tr ( H k Q k 1 H k T )
To keep the whole filtering process stable, the adaptive factor λ k should be larger than 1; that is:
λ k = max 1 , λ k
When the system experiences sudden changes, and the adaptive factor is larger than 1, then the corresponding Kalman gain will become larger based on Equation (5). Therefore, according to Equation (6), more weight will be added to the current measurement data and less weight will be given to the past state information, and then the state estimation will be more accurate. Therefore, λ k is obtained with:
λ k = tr ( C k H k F k P k 1 | k 1 F k T H k T R k 1 ) tr ( H k Q k 1 H k T ) λ k 1 1 λ k < 1
The innovation covariance C k is defined as:
C k = E [ d k d k T ]
In general, it is difficult to obtain the actual innovation covariance. Thus, we use the window function method to estimate the innovation covariance [23]:
C ^ k = C ^ k 1 + 1 N d k d k T d k N d k N T
where C ^ k denotes the estimated innovation covariance, and N > 1 represents the window size and is a scalar.

3.3. Proposed Algorithm

To summarize, the structure diagram of the proposed algorithm is shown in Figure 1. The detailed algorithm is demonstrated in Algorithm 1, where ξ ( 0 , 1 ] represents the forgetting factor and S denotes the VB iteration number.
Algorithm 1: Proposed AQ-VBAKF Algorithm
Input:  x ^ k 1 | k 1 , z k , P k 1 | k 1 , R k 1 , Q k 1 , V ^ k 1 | k 1 , v ^ k 1 | k 1 , F k , H k , N, n z , S, ξ
Time update for state values:
1: x ^ k | k 1 can be obtained via Equation (3).
The adaptive factor update and the time update for P k | k 1 :
2: The adaptive factor is computed using Equations (30), (37), and (39).
3: P k | k 1 is obtained with Equation (28).
VB estimation update:
4: Initialization: P ^ k | k 1 ( 0 ) = P k | k 1 , x ^ k | k 1 ( 0 ) = x ^ k | k 1
     v ^ k | k 1 = ξ ( v ^ k 1 | k 1 n z 1 ) + n z + 1 , V ^ k | k 1 = ξ V ^ k 1 | k 1
    For s = 1: S
5: Update q ( s ) ( R k ) using Equations (21)–(23)
6: E ( s ) [ R k 1 ] 1 is obtained with E ( s ) [ R k 1 ] 1 = ( v ^ k | k ( s ) n z 1 ) 1 ( V ^ k ( s ) )
7: x ^ k | k ( s ) and P ^ k | k ( s ) are obtained via Equations (25)–(27)
    End
Output: P k | k , x ^ k | k , v ^ k | k , V ^ k | k

4. Simulation Verification and Analysis

In this section, we adopt a target tracking test to assess the availability and superiority of the proposed AQ-VBAKF algorithm. The target tracking example’s state equation and measurement equation are:
x k = I 2 Δ σ I 2 0 I 2 x k 1 + n k 1
z k = I 2 0 x k 1 + v k
where x k = x k y k x ˙ k y ˙ k T is the system state vector. Then, ( x k , y k ) and ( x ˙ k , y ˙ k ) stand for the unknown positions and velocities. Δ σ is the sampling interval and Δ σ is set to 1 s. The true covariances of n k 1 and v k are described by:
Q k = [ 0.5 cos ( π k T ) + 6.5 ] Δ σ 3 3 I 2 0.5 Δ σ 2 I 2 0.5 Δ σ 2 I 2 Δ σ I 2 q
R k = [ 0.05 cos ( π k T ) + 0.1 ] 1 0.5 0.5 1 r
where I 2 is a two-dimensional identity matrix. T denotes the simulation time and T = 1000 s. Additionally, q is set as 1 m2/s3 and r is set as 100 m2. Moreover, the initial values for PNCM ( Q 0 ) and MNCM ( R 0 ) are set to Q 0 = α I 4 and R 0 = β I 2 .

4.1. Estimation Performance Analysis

To verify the filtering accuracy, we compare the proposed AQ-VBAKF with five other filtering estimation methods:
  • KFTCM algorithm: the KF is iterated with true covariance matrices (KFTCM), which act as a reference.
  • KFNCM algorithm: the KF is iterated with nominal covariance matrices (KFNCM), which are Q 0 and R 0 . Q k and R k are fixed during the filtering process.
  • AQKF algorithm: the KF is iterated with the adaptive Q k ; only Q k is adjusted based on the previous Section 3.2, and R k is fixed throughout the whole process.
  • VBKF algorithm: R k is updated using the VB method and Q k is constant throughout the whole process.
  • VBAKF-PR algorithm: the VBAKF-PR algorithm was demonstrated in [14].
In the simulation, the initial values are set to P 0 | 0 = diag ( [ 100 ,   100 ,   100 ,   100 ] ) and x 0 = [ 100 ,   100 ,   10 ,   10 ] T . Table 1 shows the different algorithms’ parameter settings. S is the VB iteration times. The iteration times should be proper to ensure the VB approximate converges to the optimal results. Generally, VB iteration times should be more than 6 to make the filter converge, thus S is chosen as 15 [24]. N represents the window size for the AQKF and AQ-VBAKF algorithms, which is analyzed in the simulation later. α and β are used for setting Q 0 = α I 4 and R 0 = β I 2 . In fact, the prior noise information of the system is usually unknown; thus, the setting of Q 0 and R 0 are usually not accurate. Moreover, α and β are both variables to test the robustness of the algorithms with different Q 0 and R 0 values. ξ is used for VB inference initialization, as shown in Algorithm 1, which should be ξ ( 0 , 1 ] to ensure that the posterior and prior PDFs have the same forms. τ is used for the VBAKF-PR algorithm.
The RMSE (root mean square error) and ARMSE (average RMSE) are used to validate the state estimation accuracy based on the following formulas:
RMSE pos ( j ) 1 M c j = 1 M c ( x j l x ^ j l ) 2 ( y j l y ^ j l ) 2
ARMSE pos   1 T j = 1 T RMSE pos ( j )
where M c represents the Monte Carlo (MC) test number, and M c = 1000. ( x i l , y i l ) and ( x ^ i l , y ^ i l ) represent the true and the estimated positions at the l-th MC test, respectively. T is set to 1000 s. For velocity, the definitions of RMSE and ARMSE are similar.
Figure 2 demonstrates the RMSEs for different algorithms, where the KFTCM has the smallest RMSEs, and acts as a reference. In comparison with the KFNCM, AQKF, VBAKF, and VBAKF-PR algorithms, the proposed AQ-VBAKF has the smallest RMSEs for position and velocity. The VBAKF has the worst performance, which indicates that the VBAKF is even worse than the KFNCM when the initial values are far away from the true values. The VBAKF cannot guarantee an optimal outcome in any case. Due to the adaptive predicted state error covariance matrix, the VBAKF-PR shows higher accuracy than the VBAKF, but is also worse than the KFNCM due to the initial value deviating from the true values. The AQKF is slighter worse than the proposed AQ-VBAKF since the AQKF lacks the ability to update the MNCM ( R k ).
Figure 3a shows the mean values of λ k in the 1000 Monte Carlo (MC) tests based on the following formulas:
λ mean ( k )   1 M c j = 1 M c λ j ( k )
where M c = 1000 , and k denotes the k-th epoch. Figure 3b,c show the 100th and 500th MC test values of λ k , respectively. It can be shown that when the RMSEs of position and velocity are higher in Figure 2 for k [ 0 , 500 ] , the values of λ k are higher in Figure 3. This indicates that when the estimations of position and velocity deviate from the true values, the values of λ k will be larger to adjust the PNCM. Instead, when the estimations of position and velocity are close to the true values, the values of adaptive factor λ k will become smaller. This indicates that the adaptive factor λ k can adjust the PNCM according to the input signals.

4.2. Robustness Analysis for PNCM and MNCM Initial Value Settings

To assess the proposed AQ-VBAKF’s robustness, the ARMSEs of the AQ-VBAKF algorithm for different initial PNCM ( Q 0 ) and MNCM ( R 0 ) values were calculated and are presented in Figure 4. For comparison, Figure 5 demonstrates the ARMSEs for the VBAKF-PR. α and β are selected in the range of ( α ,   β ) [ 0.1 ,   1000 ] × [ 0.1 ,   1000 ] . To reduce the time consumption and keep the results reliable, M c is set to 20. Moreover, Table 1 demonstrates other parameter settings, including ξ, S, N, and τ.
In Figure 4, as we can see, the ARMSEs for position and velocity stay small and stable in most cases. However, when the parameters are in the range of ( α ,   β ) [ 100 ,   1000 ] × [ 0.1 ,   1 ] , the ARMSEs for position and velocity increase, which indicates that the filtering estimations are not so accurate. Figure 5 shows the VBAKF-PR’s results. In the range of ( α ,   β ) [ 0.1 ,   1000 ] × [ 0.1 ,   1 ] , as the parameter β decreases, the ARMSEs increase. Therefore, the AQ-VBAKF is more robust than the VBAKF-PR in the range of ( α ,   β ) [ 0.1 ,   100 ] × [ 0.1 ,   1 ] , in which the initial values of the PNCM ( Q 0 ) and MNCM ( R 0 ) deviate from the true value. Therefore, when the initial values of β are smaller than 1, which represents that the initial MNCM ( R 0 ) deviates from the true value, the proposed AQ-VBAKF algorithm is more robust than the VBAKF-PR.
In many practical systems, the initial state values are usually unknown. In this condition, when the initial settings of the MNCM and PNCM values differ from the true values, the proposed AQ-VBAKF performs better in self-adaptability and robustness than the VBAKF-PR algorithm.

4.3. Analysis of Window Size Setting

To analyze the effect of the window size on the proposed AQ-VBAKF algorithm, some further simulations are performed. The window size is set as N = 1:1:25, and other parameters are the same as those in Table 1. The ARMSEs of different window sizes are shown in Figure 6. The KFTCM has the smallest ARMSEs of position and velocity, which acts as a reference.
In Figure 6a, the ARMSEs of the position for the proposed AQ-VBAKF are smaller than that for the VBAKF-PR and KFNCM when N = 1:1:25. In Figure 6b, the ARMSEs of the position for the proposed AQ-VBAKF are smaller than that for the VBAKF-PR and KFNCM when N ≥ 4. As we can see, the ARMSEs for both position and velocity cannot decrease as the window size N increases when N = 1:1:25. When the window size N is larger than 10, the ARMSEs for both the position and velocity estimations tend to be stable.
In dynamic conditions, the window size cannot be too large. A small window size can help the innovation covariance adapt to the time-varying input signals [25]. On the other hand, the window size should be large enough to enhance the innovation covariance estimation stability. Moreover, if the window size is too small, the computational burden will be heavier. Accordingly, taking into account the innovation covariance estimation accuracy and computational efficiency simultaneously in the dynamic environment, the window size N should be set as 4 ≤ N ≤ 10.

4.4. Computational Efficiency Comparison

To verify the computational efficiency, Table 2 shows the total simulation time for the different algorithms. The parameter settings are shown in Table 1, and M c = 1000. The proposed method adds only 9% computational time compared with the VBAKF method and is only about half of the VBAKF-PR simulation time. Therefore, the proposed method has almost the same computational burden compared with the VBAKF algorithm and the computational complexity is not high.
To further evaluate the computational complexity, the total floating-point operations of each step for the proposed AQ-VBAKF were analyzed and are shown in Table 3, where n x and n z are the dimensions of the state vector and measurement vector, respectively. S is the VB iteration time.
According to Table 3, the total floating-point operations of the proposed AQ-VBAKF are:
f l AQ-VBAKF = 2 n x 3 + 4 n x 2 + 6 n x 2 n z n x + 4 n x n z 2 + 2 n z + 5 n z 2 1 + S ( 2 n x 3 + 8 n x 2 n z n x 2 + 6 n x n z 2 + 2 n x n z + 4 n z 2 + n z + 3 )
Based on [14,17], the total floating-point operations of VBAKF-PR are:
f l VBAKF-PR = 2 n x 3 + 4 n x 2 + n z 2 + 1 + S [ n x 3 + O ( 2 n x 3 ) + 4 n x 2 n z + 3 n x n z 2 + O ( 3 n z 3 ) + 2 n x 2 + 4 n x n z + 2 n z 2 ]
Based on Equations (47) and (48), f l AQ-VBAKF and f l VBAKF-PR are almost proportional to the VB iteration times S. Substrating Equation (48) to (47), then:
f l VBAKF-PR f l AQ-VBAKF = 6 n x 2 n z + n x 4 n x n z 2 2 n z 4 n z 2 + 1 + S [ n x 3 + O ( 2 n x 3 ) 4 n x 2 n z + 3 n x 2 3 n x n z 2 + 2 n x n z + O ( 3 n z 3 ) 2 n z 2 n z 3 ]
According to Equation (49), with the increase in the VB iteration time S, the computational burden of VBAKF-PR is larger than the proposed AQ-VBAKF, which is consistent with the computational time results.

5. Conclusions

This paper proposes a novel AQ-VBAKF algorithm that can adjust the PNCM and MNCM simultaneously. This algorithm introduces the adaptive factor to self-tune the PNCM in real time based on the input signals. Furthermore, the MNCM is estimated online using the VB approximation. According to the dynamic target tracking test results, the proposed AQ-VBAKF shows more accurate estimation and better robustness in comparison with other filtering methods. Moreover, for a general case in practical systems, when the initial PNCM and MNCM are not appropriately set and deviate from the true values, the proposed algorithm has better self-adaptability and robustness than other algorithms. The proposed algorithm’s computational burden is not heavy; thus, it can be applied in practical engineering applications.
For future prospects, the proposed filtering estimation algorithm can be applied in dynamic conditions, such as autonomous vehicles, target tracking, positioning, and so on. For example, autonomous vehicles inherently work under dynamic environments, and the environment noise statistics are unknown. The adaptability of the proposed AQ-VBAKF algorithm can adjust process and measurement noise covariances dynamically, which can significantly enhance the vehicle’s perception accuracy and response. Our research provides a theoretical basis in terms of dynamic conditions to enhance the filtering estimation accuracy. In future work, the proposed algorithm will be employed in positioning systems to enhance positioning accuracy.

Author Contributions

Conceptualization, Y.C. and S.Z.; methodology, Y.C., X.W., and H.W.; software, Y.C. and H.W.; validation, Y.C., S.Z. and X.W.; investigation, Y.C., X.W. and H.W.; writing—original draft preparation, Y.C.; writing—review and editing, S.Z.; supervision, S.Z.; project administration, X.W. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Data Availability Statement

The data presented in this study are available upon request from the corresponding author.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Yuan, H.; Song, X. A Modified EKF for Vehicle State Estimation with Partial Missing Measurements. IEEE Signal Process. Lett. 2022, 29, 1594–1598. [Google Scholar] [CrossRef]
  2. Qiang, X.; Xue, R.; Zhu, Y. Two-Dimensional Monte Carlo Filter for a Non-Gaussian Environment. Electronics 2021, 10, 1385. [Google Scholar] [CrossRef]
  3. Yuan, T.; Zhao, R. LQR-MPC-Based Trajectory-Tracking Controller of Autonomous Vehicle Subject to Coupling Effects and Driving State Uncertainties. Sensors 2022, 22, 5556. [Google Scholar] [CrossRef] [PubMed]
  4. Cao, J.; Song, C.; Peng, S.; Song, S.; Zhang, X.; Xiao, F. Trajectory Tracking Control Algorithm for Autonomous Vehicle Considering Cornering Characteristics. IEEE Access 2020, 8, 59470–59484. [Google Scholar] [CrossRef]
  5. López-Salcedo, J.A.; Peral-Rosado, J.A.; Seco-Granados, G. Survey on robust carrier tracking techniques. IEEE Commun. Surv. Tuts. 2014, 16, 670–688. [Google Scholar] [CrossRef]
  6. Xie, F.; Liang, G.; Chien, Y.-R. Highly Robust Adaptive Sliding Mode Trajectory Tracking Control of Autonomous Vehicles. Sensors 2023, 23, 3454. [Google Scholar] [CrossRef]
  7. Li, X.; Bar-Shalom, Y. A recursive multiple model approach to noise identification. IEEE Trans. Aerosp. Electron. Syst. 1994, 30, 671–684. [Google Scholar] [CrossRef]
  8. Jiang, B.; Sheng, W.; Zhang, R.; Han, Y.; Ma, X. Range tracking method based on adaptive “current” statistical model with velocity prediction. Signal Process. 2017, 131, 261–270. [Google Scholar] [CrossRef]
  9. Zha, F.; Guo, S.; Li, F. An improved nonlinear filter based on adaptive fading factor applied in alignment of SINS. Optik 2019, 184, 165–176. [Google Scholar] [CrossRef]
  10. Agamennoni, G.; Nieto, J.; Nebot, E.M. Approximate inference in state-space models with heavy-tailed noise. IEEE Trans. Signal Process. 2012, 60, 5024–5037. [Google Scholar] [CrossRef]
  11. Hou, B.; Wang, J.; He, Z.; Qin, Y.; Zhou, H.; Wang, D.; Li, D. Novel interacting multiple model filter for uncertain target tracking systems based on weighted Kullback–Leibler divergence. J. Frankl. Inst. 2020, 357, 13041–13084. [Google Scholar] [CrossRef]
  12. Sarkka, S.; Nummenmaa, A. Recursive noise adaptive Kalman filtering by variational Bayesian approximations. IEEE Trans. Automat. Control 2009, 54, 596–600. [Google Scholar] [CrossRef]
  13. Xu, D.; Wu, Z.; Huang, Y. A new adaptive Kalman filter with inaccurate noise statistics. Circuits Syst. Signal Process. 2019, 38, 4380–4404. [Google Scholar] [CrossRef]
  14. Huang, Y.; Zhang, Y.; Wu, Z.; Li, N.; Chambers, J. A novel adaptive Kalman filter with inaccurate process and measurement noise covariance matrices. IEEE Trans. Autom. Control 2018, 63, 594–601. [Google Scholar] [CrossRef]
  15. Ma, J.; Lan, H.; Wang, Z.; Wang, X.; Pan, Q.; Moran, B. Improved adaptive Kalman filter with unknown process noise covariance. In Proceedings of the 21st International Conference on Information Fusion, Cambridge, UK, 10–13 July 2018; pp. 2054–2058. [Google Scholar]
  16. Xu, H.; Duan, K.; Yuan, H.; Xie, W.; Wang, Y. Black box variational inference to adaptive Kalman filter with unknown process noise covariance matrix. Signal Process. 2020, 169, 107413. [Google Scholar] [CrossRef]
  17. Huang, Y.; Zhu, F.; Jia, G.; Zhang, Y. A slide window variational adaptive Kalman filter. IEEE Trans. Circuits Syst. II Exp. Briefs 2020, 67, 3552–3556. [Google Scholar] [CrossRef]
  18. Brown, R.G.; Hwang, P.Y.C. Introduction to Random Signals and Applied Kalman Filtering, 4th ed.; John Wiley & Sons: Hoboken, NJ, USA, 2012; pp. 143–148. [Google Scholar]
  19. Sarkka, S. Bayesian Filtering and Smoothing; Cambridge University Press: Cambridge, UK, 2013; pp. 56–62. [Google Scholar]
  20. Tzikas, D.; Likas, A.; Galatsanos, N. The variational approximation for Bayesian inference. IEEE Signal Process. Mag. 2008, 25, 131–146. [Google Scholar] [CrossRef]
  21. Wang, G.; Wang, X.; Zhang, Y. Variational Bayesian IMM-Filter for JMSs With Unknown Noise Covariances. IEEE Trans. Aerosp. Electron. Syst. 2020, 56, 1652–1661. [Google Scholar] [CrossRef]
  22. Chen, X.; Cao, L.; Cao, P.; Xiao, B. A higher-order robust correlation Kalman filter for satellite attitude estimation. ISA Trans. 2022, 124, 326–337. [Google Scholar] [CrossRef]
  23. Fang, J.; Yang, S. Study on innovation adaptive EKF for in-flight alignment of airborne POS. IEEE Trans. Instrum. Meas. 2011, 60, 1378–1388. [Google Scholar]
  24. Pan, C.; Gao, J.; Li, Z.; Qian, N.; Li, F. Multiple fading factors-based strong tracking variational Bayesian adaptive Kalman filter. Measurement 2021, 176, 109139. [Google Scholar] [CrossRef]
  25. Gao, W.; Li, J.; Zhou, G.; Li, Q. Adaptive Kalman Filtering with Recursive Noise Estimator for Integrated SINS/DVL Systems. J. Navig. 2015, 68, 142–161. [Google Scholar] [CrossRef]
Figure 1. Structure diagram of the proposed AQ-VBAKF algorithm.
Figure 1. Structure diagram of the proposed AQ-VBAKF algorithm.
Electronics 12 03887 g001
Figure 2. RMSEs for different filtering algorithms: (a) the RMSEs of position for different filtering algorithms; (b) the RMSEs of velocity for different filtering algorithms.
Figure 2. RMSEs for different filtering algorithms: (a) the RMSEs of position for different filtering algorithms; (b) the RMSEs of velocity for different filtering algorithms.
Electronics 12 03887 g002
Figure 3. Values of λ k in the proposed AQ-VBAKF algorithm: (a) the mean values of λ k ; (b) the 100th MC test values of λ k ; (c) the 500th MC test values of λ k .
Figure 3. Values of λ k in the proposed AQ-VBAKF algorithm: (a) the mean values of λ k ; (b) the 100th MC test values of λ k ; (c) the 500th MC test values of λ k .
Electronics 12 03887 g003
Figure 4. ARMSEs of position and velocity for the AQ-VBAKF under ( α ,   β ) [ 0.1 ,   1000 ] × [ 0.1 ,   1000 ] : (a) ARMSEs of position for the proposed AQ-VBAKF; (b) ARMSEs of velocity for the proposed AQ-VBAKF.
Figure 4. ARMSEs of position and velocity for the AQ-VBAKF under ( α ,   β ) [ 0.1 ,   1000 ] × [ 0.1 ,   1000 ] : (a) ARMSEs of position for the proposed AQ-VBAKF; (b) ARMSEs of velocity for the proposed AQ-VBAKF.
Electronics 12 03887 g004
Figure 5. ARMSEs of position and velocity for the VBAKF-PR algorithm under ( α ,   β ) [ 0.1 ,   1000 ] × [ 0.1 ,   1000 ] : (a) ARMSEs of position for the VBAKF-PR; (b) ARMSEs of velocity for the VBAKF-PR.
Figure 5. ARMSEs of position and velocity for the VBAKF-PR algorithm under ( α ,   β ) [ 0.1 ,   1000 ] × [ 0.1 ,   1000 ] : (a) ARMSEs of position for the VBAKF-PR; (b) ARMSEs of velocity for the VBAKF-PR.
Electronics 12 03887 g005
Figure 6. ARMSEs of position and velocity under different window sizes N: (a) ARMSEs of position under different window sizes; (b) ARMSEs of velocity under different window sizes.
Figure 6. ARMSEs of position and velocity under different window sizes N: (a) ARMSEs of position under different window sizes; (b) ARMSEs of velocity under different window sizes.
Electronics 12 03887 g006
Table 1. Parameters settings for different algorithms.
Table 1. Parameters settings for different algorithms.
AlgorithmsαβξSNτ
KFNCM110----
AQKF110--5-
VBAKF1100.9915--
VBAKF-PR1100.9915-10
Proposed AQ-VBAKF1100.99155-
Table 2. Total computational time for different algorithms.
Table 2. Total computational time for different algorithms.
AlgorithmsComputational Time (s)
KF37.7627
AQKF45.0514
VBAKF172.4772
VBAKF-PR356.0744
Proposed AQ-VBAKF188.0822
Table 3. Floating-point operations of proposed AQ-VBAKF algorithms.
Table 3. Floating-point operations of proposed AQ-VBAKF algorithms.
StepsFloating-Point Operations
1 2 n x 2 n x
2 6 n x 2 n z + 4 n x n z 2 + 2 n z + 5 n z 2 1
3 2 n x 3 + 2 n x 2
4, 5, 6 S ( 2 n x 2 n z + 2 n x n z 2 + n x n z + n z + 3 n z 2 + 3 )
7 S ( 2 n x 3 + 6 n x 2 n z n x 2 + n x n z + 4 n x n z 2 + n z 2 )
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

Cheng, Y.; Zhang, S.; Wang, X.; Wang, H. Self-Tuning Process Noise in Variational Bayesian Adaptive Kalman Filter for Target Tracking. Electronics 2023, 12, 3887. https://doi.org/10.3390/electronics12183887

AMA Style

Cheng Y, Zhang S, Wang X, Wang H. Self-Tuning Process Noise in Variational Bayesian Adaptive Kalman Filter for Target Tracking. Electronics. 2023; 12(18):3887. https://doi.org/10.3390/electronics12183887

Chicago/Turabian Style

Cheng, Yan, Shengkang Zhang, Xueyun Wang, and Haifeng Wang. 2023. "Self-Tuning Process Noise in Variational Bayesian Adaptive Kalman Filter for Target Tracking" Electronics 12, no. 18: 3887. https://doi.org/10.3390/electronics12183887

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