Literature DB >> 30544613

Hybrid Adaptive Cubature Kalman Filter with Unknown Variance of Measurement Noise.

Yuepeng Shi1, Xianfeng Tang2, Xiaoliang Feng3, Dingjun Bian4, Xizhao Zhou5.   

Abstract

This paper is concerned with the filtering problem caused by the inaccuracy variance of measurement noise in real nonlinear systems. A novel weighted fusion estimation method of multiple different variance estimators is presented to estimate the variance of the measurement noise. On this basis, a hybrid adaptive cubature Kalman filtering structure is proposed. Furthermore, the information filter of the hybrid adaptive cubature Kalman filter is also studied, and the stability and filtering accuracy of the filter are theoretically discussed. The final simulation examples verify the validity and effectiveness of the hybrid adaptive cubature Kalman filtering methods proposed in this paper.

Entities:  

Keywords:  hybrid adaptive filtering; information filter; nonlinear system; square-root cubature Kalman filter; weighted fusion estimation

Year:  2018        PMID: 30544613      PMCID: PMC6308648          DOI: 10.3390/s18124335

Source DB:  PubMed          Journal:  Sensors (Basel)        ISSN: 1424-8220            Impact factor:   3.576


1. Introduction

In recent decades, nonlinear filtering has been widely used in military and civil fields such as target tracking, navigation, positioning, and intelligent manufacturing [1,2]. The theory and method of nonlinear filtering has became one of the most important research issues in the signal processing field, and has attracted increasing attention from researchers. There are two main kinds of nonlinear filtering methods. The representative of the first kind of nonlinear filter is the extended Kalman filter (EKF), which linearizes the system model by Taylor expansion, holds the first order term, and ignores the second- and higher-order terms. The second kind of nonlinear filtering approximates the statistics of the system state, with examples being the unscented Kalman filter (UKF) and the cubature Kalman filter (CKF). Due to the model error of the linearization of the nonlinear system, the accuracy of the EKF is slightly lower, even leading to filtering divergence. Based on the unscented transformation to approximate the statistics of the system state, UKF was presented in [3]. Further, the cubature Kalman filter algorithm was proposed by Ienkaran in [4]. The CKF algorithm uses a third-degree spherical-radial cubature rule based on a Gaussian filtering framework. The algorithm has higher numerical stability and a smaller amount of calculation. Its excellent performance has made it widely used in various nonlinear system scenarios. Many advantages of CKF have attracted scholars to conduct in-depth research on it, considering that the traditional nonlinear filters often need to overcome the filtering divergence caused by high-dimensional operational errors. Drawing on the idea of square root filtering in the Kalman filter, Ienkaram and Haykin proposed the square-root cubature Kalman filter (SCKF) [5], which further improved the accuracy and stability of filtering. However, the traditional nonlinear filtering method requires knowledge of the mathematical model and the prior statistical information of noise when in practical application. Additionally, the statistical characteristics of noise in actual systems are usually indeterminate, which leads to a decline in the filtering accuracy. For the problem of unknown statistical characteristics of measurement noise in real applications [6,7], Sage and Husa [8,9] proposed an excellent Sage–Husa suboptimal unbiased maximum a posteriori (MAP) estimator. Many scholars also adopted adaptive filtering techniques to improve the performance of the estimation algorithm, such as sliding window method [10], fading factor adjustment (FFA) [11,12,13], maximum a posteriori (MAP) estimator [14,15], and the variational Bayesian (VB) method [16,17,18,19], etc. Different methods for estimating the statistical characteristics of system noise are usually designed under different estimation criterions. How to use these methods to estimate the statistical characteristics of system noise is still an open issue. For a class of nonlinear stochastic systems with inaccurate or unknown measurement noise variance (i.e., the priori measurement noise variance is not a precise value), an adaptive filtering algorithm based on SCKF is designed in this paper. Firstly, a novel fusion approach is proposed to estimate the measurement noise variance on the basis of the MAP and VB methods. Then, we use FFA to adjust the part of the variance matrix of the SCKF algorithm to obtain a hybrid adaptive SCKF algorithm (HASCKF) and the corresponding information filter (recorded as HASCIF). This is beneficial to reduce the effects on the adaptive filtering algorithm performance that may be caused by the estimation deviation of noise fusion. At the same time, the performance of the adaptive filtering algorithm is analyzed from two aspects based on the established HASCKF algorithm: the stability of the adaptive filtering algorithm and the filtering accuracy. This paper is organized as follows: Section 2 formulates the nonlinear stochastic system and describes the problem of the inaccuracy of the the measurement noise variance. In Section 3, a novel noise variance fusion estimation algorithm HASCKF and the corresponding information filter are proposed based on the idea of weighted fusion. In Section 4, two simulation examples are utilized to display and verify the performance of the proposed algorithms. Section 5 provides the conclusions of this work.

2. Problem Description

Considering a class of discrete nonlinear stochastic systems, the state space model is described as follows [1]: where is the state of the target, is the measurement, is the evolution process of the nonlinear state, and is the corresponding nonlinear measurement mapping. The process noise is a Gaussian white noise with zero means and variance . The measurement noise is a Gaussian white noise with zero means and variance . The process noise The initial state of the system is The process noise variance For the nonlinear system described in (1) and (2), assuming that at the time k, we have the optimal estimation and the square root matrix of the error variance matrix . Then, the state estimate and the square root of the variance matrix can be calculated according to the standard SCKF algorithm. For nonlinear systems with determined noise variance, the SCKF algorithm has better estimation performance. However, when the priori value of the measurement noise variance is inaccurate, the final estimation and will have large errors.

3. Hybrid Adaptive SCKF Algorithm (HASCKF)

In order to improve the adaptive filtering accuracy for an inaccurate modeling system with unknown measurement noise variance, and to let the estimated noise variance be closer to the true noise variance, in this paper, a novel noise variance fusion estimation algorithm HASCKF is proposed based on the idea of weighted fusion. Assume that the measurement noise variance estimated by MAP and VB methods at time k are denoted as where In the above equation, The weighted fusion estimation of the measurement noise variance can be expressed as the following linear combination: Under the condition , we minimize the performance criterion: From , we can get , then substituting it into formula (5), we obtain Then, the overall estimation error is So, we can get Let , and after simplification, we can get where Since the measurement noise variance is uncertain, Equation (9) cannot be directly calculated. For this reason, we replace with fusion estimated value of the measurement noise variance at time . Obviously, the initial value satisfies , then substituting it to Equations (9), (8), and (6), respectively, we can get Equations (3) and (4). □

3.1. Estimation Method of Measurement Noise

Note 1 In the above theorem, since the measurement noise variance is uncertain, we replace with fusion estimate of the measurement noise variance. This approximate substitution has certain rationality, especially for the case of constant noise variance and slowly varying noise variance. From Theorem 1, the physical meanings of and are equivalent to the estimated error variance of the two noise variance estimation methods, and and are similar to their cross-variance. If we do not consider the correlation between the estimation error of noise variance, that is It can be directly derived according to the principle of simple convex combination fusion [ Note 2 Obviously, the result of inference 1 is easy to generalize to the case where the number of noise variance estimators . Assume that the error variance of the ith estimator . Assuming that the estimation errors of various estimation methods are not related to each other, the fusion estimation of noise variance is where can be regarded as the error variance of noise variance fusion estimation. Since , , which indicates that the estimated noise variance after fusion is superior to that of any single noise variance estimator.

3.2. HASCKF Algorithm

Based on Theorem 1, combined with the fading factor adjustment technique [11], we propose the hybrid adaptive SCKF algorithm (HASCKF). The principle block diagram is shown in Figure 1.
Figure 1

Principle block diagram of the HASCKF algorithm.

Firstly, the variance of measurement noise is estimated by the MAP estimator and VB method respectively. Then, the weighted fusion technique is introduced to fuse the two noise variance estimators. Finally, the variance matrix of the SCKF measurement update is adjusted by the fading factor adjustment technique to obtain the final state estimation and the root-mean square error (RMSE) variance matrix. The detailed implementation of HASCKF is described in the following Theorem 2. Consider a class of nonlinear system as described in ( Step 1: Time Update In (12)–(14), , . The parameters are given below ( is an n-order unit vector): Calculate the square root of the variance matrix: where represents a triangular operation. represents the square-root of the new process noise variance , that is, , and Step 2: Measurement Update (1) According to Equations (16)–(18), we can calculate the predicted value . (2) The measurement noise variance of the MAP estimator is calculated by using Lemma 1 (19) or Lemma 2 (20). ([14]). When the measurement noise variance is constant, the suboptimal MAP estimate where ([15]). When the measurement noise variance is time-varying, the suboptimal MAP estimate where (3) Using the following Equation (21), combined with Equations (16)–(18), (22), (25), (26), and (23)–(32), we can iteratively compute the measurement noise variance estimation of the VB method. Estimation of prediction parameters of measurement noise variance by VB method: where “·” represents the point operation in Matlab. , , . and are two parameters of the inverse gamma distribution. is the predictive weighting factor. It reflects the degree of correlation between the noise at the last moment and the noise at the current moment. When the difference between the measurement noise variance at the last moment and the measurement noise variance at the current moment is small, a larger value should be used. Conversely, should take a smaller value. The square-root of the variance matrix: where represents the square root of measurement noise variance (namely, ) and where Then, the VB method gets through M iterations: Iterative initialization: let , for a given number of iterations M, we have Calculating the estimate of the measurement noise variance: where represents a diagonal matrix composed of matrix A diagonal elements. Use Equations (16) and (32) to calculate the t-th iteration state estimate and the root of its mean square error matrix . If , update the parameter . Let , , return to the beginning of the iterative. When , end the iteration, we can get (4) Calculate the fusion estimation of the measurement noise variance according to Equation (3). (5) According to Equations (28) and (29), and are adaptively adjusted using the FFA fading factor. where is the adaptive factor, , and it is calculated by the following Lemma 3. ([11]). For nonlinear systems with unknown measurement noise variance, the adaptive fading factor is determined by the following equation: In the above equation, (6) The following Equations (30)–(32) are used to obtain the updated estimation and the root of its mean square error variance . where the symbol “/” indicates the matrix right divide operation (e.g., ) Proof: We can directly derive Theorem 1 and Lemma 3 by Lemma 1, omitted here. Note 3 Theorem 2 only shows the hybrid adaptive filtering algorithm when the number of noise variance estimators is 2. Obviously, when , we first use various noise variance estimators to estimate and then calculate the fused estimate of the measurement noise variance according to Equation (11). In other words, only steps (2)–(4) in Theorem 2 need to be adjusted.

3.3. HASCIF Information Filter

Compared with traditional filtering, the information filter may not require prior information when it is initialized, and thus has better numerical performance. In addition, the use of an information filter to design a fusion algorithm is also simpler. In the information filter, the state estimate and its estimation error variance matrix are replaced by information vector and information matrix, respectively. Subsequently, we give its corresponding information filtering form (HASCIF) on the basis of HASCKF. According to the literature [20,21], we can obtain the implementation process of HASCIF as follows: Step 1: Time update [20,21] where and are the predicted information vector and the predicted information matrix, respectively. and can be calculated according to Equations (14) and (15). Step 2: Measurement update In Equations (35) and (36), the information state vectors and are the information vector and information matrix of the state estimate, respectively. and are the information contribution vector and the information contribution matrix. is determined by formula (3), and the cross-variance matrix can be calculated by Formula (29).

3.4. Performance Analysis of HASCKF

References [22,23,24] proposed the bounded convergence theorem of the UKF algorithm, and Reference [14] extended its theorem to the adaptive cubature Kalman filter (ACKF). In this section, the CKF bounded convergence theorem proposed in Reference [14] and the Cramer–Rao lower bound (CRLB) [25] are used to analyze the convergence of the HASCKF algorithm.

3.4.1. Stability Analysis

Assuming that the noise variances and are known accurately, and considering the nonlinear systems (1), (2), and the standard CKF algorithm [4], the corresponding state error variance matrix can be written as [14,22,24]: where Each correlation matrix is defined as follows: where , , and are auxiliary diagonal matrixes. Refer to Reference [22] for specific meanings. ([14]). Consider the nonlinear systems ( (1) There are non-zero real numbers (2) There are positive real numbers where Then, the standard CKF state estimation error will be mean-square bounded, that is, the algorithm is stable and convergent. Note 4 Lemma 4 shows that the statistical characteristics of noise are closely related to the stability of the CKF algorithm. In addition, if Lemma 4 is established, the SCKF with known noise statistics is also stable and convergent. This is because the theoretical framework of SCKF is consistent with that of CKF. The mean square root matrix and in CKF are only used when transferring the error variance. The root mean square matrix in the SCKF algorithm is obtained through triangulation of the matrix, thus avoiding the filter divergence caused by the non-positive definite variance matrix in the numerical calculation, so it has better stability while ensuring the accuracy of estimation with CKF. If the standard SCKF algorithm is stable and convergent when the statistical characteristics of noise are known accurately, the introduction of the noise variance fusion estimator and the adaptive fade factor can ensure the stable convergence of the HASCKF algorithm. When the measured noise variance matrix is inaccurate, other sufficient conditions in the bounded convergence theorem can be satisfied, but the condition (46) will be affected. (a) First only consider the influence of the weighted fusion noise estimator. Let , then formula (40) can be rewritten as follows: When , then , and will become larger. Obviously, condition (46) still holds and the HASCKF algorithm still converges steadily. When , then , and will become smaller. Now, condition (46) may not be satisfied. However, the noise variance weighted fusion estimator estimates and corrects the inaccurate noise variance matrix in real time so that it gradually tracks the real value , thus making , . In this way, is gradually satisfied to Equation (42) to ensure stable convergence of the HASCKF algorithm. (b) Further consider the effect of fading factors. According to Theorem 2, the variance matrix for measuring residuals is Then, Equation (41) is rewritten as: Therefore, Equation (44) can be written as It is known from the definition of fading factor , so we can get Similar to the analysis in (a), when and , it is obvious that condition (46) holds and the stability of the HASCKF algorithm remains. When , if is large enough, can still be satisfied, and condition (46) still holds, so the HASCKF algorithm converges steadily. If is not enough to guarantee , the introduction of the weighted fusion noise variance estimator can also make , so that is established stepwise to ensure stable convergence of the HASCKF algorithm. In summary, the introduction of the noise variance fusion estimator and adaptive fading factor in the HASCKF algorithm can ensure the stable convergence of the algorithm. □ Note 5 This theorem combined with Note 2 shows that the noise variance estimation based on weighted fusion is superior to the estimate of any single noise variance estimator. Therefore, the hybrid adaptive HASCKF estimation algorithm has better stability than the adaptive SCKF using a single noise variance estimation algorithm.

3.4.2. Filtering Accuracy Analysis

There is a lower bound on the minimum variance unbiased estimator of the state of the nonlinear filtering algorithm. It is widely used to evaluate the performance of nonlinear estimation. In practice, the lower limit of Cramer–Rao Lower Bound (CRLB) is commonly used. Denote , , and is the joint probability density of . is the unbiased estimation of . Then, CRLB is defined as [25]: where is the Fisher information matrix: Theorem 4 Assume that the nonlinear filter is applied to system (1), (2). Then where We use to denote the information matrix of state . Then, the information matrix can be recursively calculated according to the following formula [26]: where where means the second-order operator. is the first-order operator. Because process noise and measurement noise are Gaussian white noise, we have where constant , . Substituting Equations (58) and (59) into Equation (57), then we can get Equation (56) can be obtained by applying a matrix inversion lemma to Equation (61). □

4. Simulation

In this section, two numerical simulation examples are provided to display and verify the performance of the SACKF algorithm proposed in this paper, mainly including the following contents: (1) For a class of inaccurate modeling with unknown measurement noise variance, we compare the performance difference between the weighted fusion estimator (referred to as WF-NE) and the single noise estimator (e.g., MAP estimation or VB estimation, respectively denoted as MAP-NE and VB-NE). (2) For a class of inaccurate modeling with unknown measurement noise variance, we study the advantages and disadvantages of the HASCKF algorithm and the standard SCKF algorithm, and the equivalence between the HASCKF and HASCIF algorithms. This example is used to evaluate the performance of three kinds of noise estimators, MAP-NE, VB-NE, and WF-NE. Considering the following first-order nonlinear discrete dynamic system: where and the system state initial value (1) Situation 1: If the measurement noise variance is constant and . Assume that the imprecise measurement noise variance of the initial value . In the simulation, MAP-NE adopted the estimator described in Equation (19). The parameters of VB-NE were selected as follows: , , , . In order to compare the performance of various algorithms, we adopted the absolute error (AE) and the mean absolute error (MAE), which are calculated as follows: where and are the value to be estimated and the estimated value respectively. is the number of simulation steps. In this case, . The estimated noise variance of the three kinds of noise estimators are shown in Figure 2 and Figure 3, and the estimation error is given in Table 1.
Figure 2

Estimation of measurement noise variance.

Figure 3

Absolute estimation error of measurement noise variance.

Table 1

The mean absolute error of three noise estimation algorithms in Situation 1.

AlgorithmMAP-NEVB-NEWF-NE
Mean absolute error0.00100.00150.0005
CPU time cost0.21880.21880.3725
(2) Situation 2: If the measurement noise value is time varying, the true statistical characteristics meet the following formula: Assume that the known inaccurate initial value of the measurement noise variance is . In the simulation, MAP-NE adopted the estimator described in Equation (20), and the forgetting factor b was 0.98. The parameters of VB-NE were selected as , , , . The estimation results of the three kinds of noise estimators on the measured noise variance are shown in Figure 4 and Figure 5, and the mean absolute errors of several algorithms are given in Table 2.
Figure 4

Estimation of measurement noise variance.

Figure 5

Absolute estimation error of measurement noise variance.

Table 2

The mean absolute error of three noise estimation algorithms in Situation 2.

AlgorithmMAP-NEVB-NEWF-NE
Mean absolute error0.00240.00220.0019
The simulation results of Example 1 show that the fusion estimator WF-NE proposed in Theorem 1 could obtain the best estimated result for either the constant unknown measurement noise variance or for the time-varying one, compared with the MAP-NE and VB-NE. It had the same result with the analysis conclusion in Note 2. In Situation 1, as shown in Figure 2 and Figure 3, compared with the fusion results of MAP-NE and VB-NE, the WF-NE had better estimates in most simulation steps. Due to the randomness of noise, not all the noise variance estimates obtained by WF-NE were better than the ones solved by other methods, especially for the estimation of the time-varying variance in Situation 2. As shown in Figure 3, the MAP-NE method had relatively large estimation errors in the time interval [160-360], and the VB-NE method had relatively large estimation errors in the time interval [390-800]. Nethertheless, the WF-NE could avoid large variation of the noise variance estimation error. Similarly, the general trend of the WF-NE method was best in Figure 4, although the MAP-NE method or the VB-NE method were best in some small time intervals. Although the CPU time cost of WF-NE (0.3725 for 1000 simulation steps) was larger than the other two methods (0.2188 for 1000 simulation steps), it was still acceptable. Meanwhile, the mean absolute errors of WF-NE were smaller than the other two methods, for boththe constant noise variance (in Situation 1) and for the time-varying variance (in Situation 2). This example is used to verify the pros and cons of the hybrid adaptive SCKF estimation algorithm HASCKF proposed by Theorem 2 and the standard SCKF algorithm described in Reference [ where the sampling period Consider a radar to track the target. The nonlinear measurement equation can be expressed as The real statistical characteristic of the measuring noise The estimated results of SCKF and HASCKF algorithms are shown in Figure 6, Figure 7, Figure 8, Figure 9 and Figure 10. The estimation error is given in Table 3.
Figure 6

Target’s trajectory and tracking result of SCKF and HASCKF.

Figure 7

Absolute error curves of X-displacement.

Figure 8

Absolute error curves of Y-displacement.

Figure 9

Absolute error curves of X-velocity.

Figure 10

Absolute error curves of Y-velocity.

Table 3

The mean absolute error of two algorithms.

Mean Absolute ErrorAlgorithms
SCKFHASCKF
X-Position (m)182.94776.4784
X-Velocity (m/s)5.21130.7898
Y-Position (m)129.522824.6147
Y-Velocity (m/s)3.67661.0834
From Figure 6 to Figure 10, it can be clearly seen that the standard SCKF estimation showed a large deviation after 40 s. However, HASCKF could still better estimate the state of the target. This is because the standard SCKF adopts an inaccurate prior noise variance , while the HASCKF proposed in this paper estimates and corrects the inaccurate measurement noise variance, thus ensuring the accuracy and stability of the algorithm. As analyzed in Example 1, due to the randomness of noise, not all the noise variance estimates obtained by WF-NE were better. Therefore, the estimates of some components of the state obtained by SCKF were better than the one solved by HASCKF at some time in the interval [10 s, 40 s]. However, the general tend of the proposed HASCKF was better than SCKF, as shown in Figure 6, Figure 7, Figure 8, Figure 9 and Figure 10.

5. Conclusions

In this paper, aiming at the filtering problem caused by the inaccurate measurement noise variance in real systems, a weighted fusion estimation method is designed and a class of hybrid adaptive filtering structures is proposed, based on different measurement noise variance estimators. The stability and the filtering accuracy of the hybrid adaptive filter are analyzed and discussed theoretically. The simulation results showed that the algorithm had excellent accuracy and stability. The work that can continue to be studied in the future includes further study on the research and design of fusion methods based on hybrid adaptive filtering in nonlinear centralized fusion framework and distributed fusion framework, research on functional equivalence among various fusion algorithms, and so on.
  1 in total

1.  Adaptive federated filter for multi-sensor nonlinear system with cross-correlated noises.

Authors:  Lijun Wang; Sisi Wang; Wenzhi Yang
Journal:  PLoS One       Date:  2021-02-19       Impact factor: 3.240

  1 in total

北京卡尤迪生物科技股份有限公司 © 2022-2023.