Mathematical Problems in Engineering

Volume 2017, Article ID 5349879, 8 pages

https://doi.org/10.1155/2017/5349879

## Time-Varying Noise Statistic Estimator Based Adaptive Simplex Cubature Kalman Filter

^{1}Graduate School, Academy of Equipment, Beijing 101416, China^{2}Department of Optical and Electrical Equipment, Academy of Equipment, Beijing 101416, China

Correspondence should be addressed to Zhaoming Li; moc.361@yxbzgnimoahzil

Received 25 September 2017; Accepted 26 November 2017; Published 14 December 2017

Academic Editor: Ton D. Do

Copyright © 2017 Zhaoming Li et al. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

#### Abstract

To address the problem that filtering accuracy is reduced with the inaccurate time-varying noise statistic in conventional cubature Kalman filter, a noise statistic estimator based adaptive simplex cubature Kalman filter is put forward in this paper. First, the simplex cubature rule is adopted to approximate the intractable nonlinear Gaussian weighted integral in the filter. Secondly, a suboptimal unbiased constant noise statistic estimator is derived based on the maximum a posteriori estimation criterion. For the time-varying noise, the above estimator is modified using an exponential weighted attenuation method to realize the oblivion of stale data which results in a fading memory estimator, which has the ability to estimate the time-varying noise statistic to revise the filter online. The simulation results indicate that the proposed filter can achieve higher accuracy than conventional filters with inaccurate noise statistic.

#### 1. Introduction

Control accuracy is generally affected by the state feedback accuracy in a closed-loop control system. On account of the state feedback being easily contaminated by noise or being prevented from being measured directly, the optimal estimate of the state should be considered. The Kalman filter is a type of real-time signal processing method which adopts the state space method to model linear systems and achieve the minimum variance estimate of the state in the form of recursion [1] and has been widely used in control systems.

In practical applications, the actual systems generally contain nonlinear characteristics which are described by nonlinear models. Correspondingly, the system states are required to be estimated using the nonlinear Kalman filters of which the extended Kalman filter (EKF) has been most widely used over the past few decades [2, 3]. The EKF adopts the Taylor series expansion to obtain the linear approximation of the nonlinear systems, and then the standard Kalman filter is applied. However, the accuracy of EKF is unsatisfactory for strong nonlinear systems in which the linearity error of the model may seriously affect filtering accuracy and even lead to the filter divergence [4]. Moreover, the EKF requires differentiation of the nonlinear system models where the Jacobian matrix needs to be calculated, which is computationally cumbersome in many applications [5].

Julier et al. [6] propose the unscented transformation (UT) based unscented Kalman filter (UKF), which has third-degree filtering accuracy [7, 8]. The UKF is a deterministic filter where a series of sigma points are selected according to the certain criteria and the a posteriori mean and covariance are approximated using nonlinear propagation of these sigma points [9]. The UKF is a derivative-free filter which has no restrictions on the system models. However, as the core of the UKF, UT has some tunable parameters, and the selection of which lacks a rigorous mathematical basis. As for high-dimensional systems, the weight on the center point is negative and the semidefinite of the covariance cannot be guaranteed, which may reduce the numerical stability of the system [10].

Arasaratnam et al. [11, 12] propose the cubature Kalman filter (CKF) based on the cubature rule (CR). By means of coordinate transformation, the intractable Gaussian weighted integral is decomposed into the spherical integral and radial integral, which are approximated using various numerical rules to deduce the CR. The CKF uses a set of cubature points with equal weights to approximate the a posteriori mean and covariance and achieves higher stability than the UKF [13–15]. Furthermore, the CKF can be regarded as a special case of the UKF with [16, 17], whereas the CKF gives the reason for theoretically for the first time from another perspective. In the calculation framework of the CKF, Wang et al. [18] and Shovan and Swati [19, 20] modify the spherical integral and radial integral, respectively, and put forward the spherical simplex-radial cubature Kalman filter and the cubature quadrature Kalman filter, both of which have better performance compared with the CKF.

The prior noise statistic is required exactly for the abovementioned filters. However, in practical applications, the system noise statistic is often unknown and varies as a function of time, so the estimate accuracy may be significantly reduced. In order to address the problem that the filtering accuracy of the conventional filters reduces in the case of inaccurate time-varying noise statistic, a noise statistic estimator based adaptive simplex cubature Kalman filter (ASCKF) is proposed in this paper. The spherical simplex rule and the first-order generalized Gauss-Laguerre quadrature rule are adopted to derive the simplex cubature rule, which is used to approximate the a posteriori mean and covariance in the nonlinear Kalman filter framework. The noise statistic estimator is designed based on the maximum a posteriori (MAP) estimation criterion [21], and the fading memory exponential weighted attenuation method is utilized to achieve the oblivion of stale data and emphasize the new data. This allows the online real-time estimation of the time-varying noise statistic. The designed noise statistic estimator is used to revise the filter and to improve the filtering accuracy with the inaccurate noise statistic. Simulation results have verified the validity of the proposed filter.

The rest of this paper is organized as follows: the simplex cubature Kalman filter is provided in Section 2. The noise statistic estimator is derived in Section 3. The simulation results and analysis are presented in Section 4. The conclusions are given in Section 5.

#### 2. Simplex Cubature Kalman Filter

##### 2.1. Simplex Cubature Rule

The key problem in nonlinear Kalman filter is to calculate the intractable nonlinear Gaussian weighted integral as , where , represents the arbitrary nonlinear function, and denotes the Gaussian distribution with mean and covariance . It is generally difficult to obtain the analytical solution of ; hence the high accuracy numerical approximation method should be taken into account.

###### 2.1.1. Spherical Simplex Rule for Spherical Integral

Specifically, the coordinate transformation for integral of the form is considered first [11]. Let , where represents the direction vector such that with . Then can be decomposed into the following two types of integrals, namely, the spherical integral and the radial integral , respectively.where represents the spherical surface and denotes the area element on .

The third-degree spherical simplex rule [18], which consists of points, is adopted to approximate the spherical integral in (1) as follows.where is the surface area of unit sphere and denotes the Gamma function. The vectors are the vertices of the -dimensional simplex, and the elements are defined as follows.

###### 2.1.2. Generalized Gauss-Laguerre Quadrature Rule for Radial Integral

As for the radial integral shown in (2), let and is deduced. Further, can be written in the form of by letting with , and it is convenient to use the generalized Gauss-Laguerre quadrature rule [19] for approximation as follows.where and denote the quadrature points and the corresponding weights, respectively. represents the number of the points. The points can be obtained by solving the following -order Chebyshev-Laguerre polynomial [20].

The weights are calculated using

For the third-degree accuracy of the radial integral, should be chosen 1, and with are obtained; thus the radial integral turns to be the following form.

###### 2.1.3. Simplex Cubature Rule

The integral is approximated by substituting (3) into (8) as follows.

has the following equivalent form:

The simplex cubature rule, which is used to approximate the nonlinear Gaussian weighted integral, is derived by combining (9) and (10) as follows.where the cubature points and the weights are given as follows:where and the matrix subscript represents the th column.

##### 2.2. The Simplex Cubature Kalman Filter

The following discrete-time nonlinear system is taken into account.where and denote the state and measurement vectors, respectively, and and represent the white Gaussian process noise and measurement noise, respectively, with the mean being and , respectively, and the covariance being and , respectively.

In the nonlinear Kalman filter framework, the a posteriori mean and covariance are calculated using the simplex cubature rule given in (11), and the simplex cubature Kalman filter (SCKF) is derived as follows.

The a posteriori state estimate and covariance at time are used instead of and in (12) to calculate the cubature points , which are propagated using the nonlinear function to obtain the following points .

The prior state estimate at time is calculated using the propagated points as follows.where is given in (13).

The prior error covariance at time is calculated as follows.

The prior state estimate and covariance at time are used instead of and in (12) to calculate the cubature points , which are propagated using the nonlinear function to obtain the following points .

The predicted measurement is calculated using the propagated points as follows.

The measurement covariance is calculated as follows.

The cross covariance is calculated as follows.

The Kalman filter gain is calculated as follows.

The a posteriori state estimate at time is calculated as follows.

The a posteriori error covariance is calculated as follows.

It can be seen from (15), (17), (18), and (20) that the exact noise statistics are required in SCKF, and the filtering accuracy may reduce if the inaccurate noise statistics are substituted.

#### 3. Noise Statistic Estimator

In this section, two noise statistic estimators, including the constant noise statistic estimator and the time-varying noise statistic estimator, are given to realize the online estimation of the noise statistic.

##### 3.1. Constant Noise Statistic Estimator

The MAP estimates of , , , , and can be obtained by calculating the maximum value of the following conditional probability density function [21].where and .

According to the property of the conditional probability function, (25) has the equivalent form as , and the problem is transformed into calculating the maximum value of the following equation on account of being independent of the optimization.where can be regarded as a constant since it is obtained using the prior information.

The terms and in (26) can be calculated using the multiplicative theorem of conditional probability as follows.where represents a constant, denotes the determinant, and is the quadratic.where denotes a constant.

Then, by substituting (27) and (28) into (26), we havewhere , and taking the logarithm of (29), we obtain that

Note that (29) and (30) share the same extreme points; the following partial differentials are taken.where and represent the smooth values, which are replaced by the filtering estimates and , or predicted estimate , and the suboptimal MAP noise statistic estimator is deduced in a recursive form as follows.where is the filtering residual.

##### 3.2. Time-Varying Noise Statistic Estimator

For the time-varying noise statistic, we should emphasize the effect of new data and gradually forget the effect of the stale data, so as to achieve the online real-time estimation of the time-varying noise statistic. For this, the fading memory exponential weighted attenuation method is considered. The weighting factor is selected such that , where denotes the forgetting factor, and then we have

Each term in (32) is multiplied by to replace the original factor , and the fading memory time-varying noise statistic estimator is derived as follows.

However, for the high-dimensional systems, and may dissatisfy the semipositive definite and positive definite conditions, respectively, and result in the filter divergence. To solve this problem, the following modified noise statistic estimator can be used instead to ensure positivity all through the process of recursion.

From the above, the time-varying noise statistic estimator, which is suitable for nonlinear filter, is summarized in the recursive form as follows.

The above derived time-varying noise statistic estimator is used in the SCKF to carry out the online estimation of the unknown noise and results in the ASCKF, whose specific calculation steps are given below.

*Step 1 (filter initialization). *One has the initial values , , , , , .

Cycle , and complete the following steps.

*Step 2 (time update). *The cubature points are calculated as SCKF in Section 2.2, and the noise estimator is used instead of to obtain the propagated points as follows.The prior state estimate at time is calculated as (16).

The prior error covariance at time is calculated using the noise estimator as follows.

*Step 3 (measurement update). *The cubature points are calculated as SCKF in Section 2.2, and the noise estimator is used instead of to obtain the propagated points as follows.The predicted measurement is calculated as (19).

The measurement covariance is calculated using the noise estimator as follows.The cross covariance , the Kalman filter gain , the a posteriori state estimate , and the a posteriori error covariance are calculated as (21) to (24), respectively.

*Step 4 (noise statistic estimator update). *The noise statistic estimator is updated using (36).

On account of the recursion equations of noise statistic estimator being not independent, the noise and cannot be estimated at the same time in general; otherwise it may cause the filtering divergence.

#### 4. Simulation Results

In this section, a three-dimensional nonlinear system is taken into account to test the performance of the proposed filter. The nonlinear system model is given as follows.where denotes the system state, represents the process noise with the mean and covariance being zero and , respectively, and is the measurement noise with the mean and covariance being and , respectively.

In this simulation, the true initial state and covariance are set to be and , respectively. The true values of the noise, including the mean and the time-varying covariance, are set to be and given below.

However, the true values of the noise are supposed to be unknown in application, so that the mean and the covariance of the noise used in the filters are chosen to be 0 and 0.1, respectively, which are inaccurate. The initial state and covariance of the filter are and , respectively. The initial values of the noise statistic estimator are chosen to be and , respectively. The forgetting factor, , and the total steps are set to be 2000.

The proposed ASCKF is compared with the CKF and SCKF, and the estimation accuracy is evaluated using the root mean square error (RMSE), which is defined below.where is the Monte Carlo run times and and represent the true state and the estimated state in the th run, respectively.

The simulation results based on 200 Monte Carlo runs are shown in Figures 1 and 2. It can be seen from Figure 1 that the RMSEs obtained by the ASCKF are significantly smaller than those of the other two filters, indicating that the proposed ASCKF can achieve higher estimation accuracy compared with CKF and SCKF. The reason is that the mean and time-varying covariance of the noise can be estimated online effectively to revise the filter by the noise statistic estimator in ASCKF, as shown in Figure 2. However, CKF and SCKF have no ability to revise the inaccurate noise.