Next Article in Journal
A Simple Method to Manufacture a Force Sensor Array Based on a Single-Material 3D-Printed Piezoresistive Foam and Metal Coating
Previous Article in Journal
Machine Learning Algorithms for Processing and Classifying Unsegmented Phonocardiographic Signals: An Efficient Edge Computing Solution Suitable for Wearable Devices
Previous Article in Special Issue
Multiscale Bayes Adaptive Threshold Wavelet Transform Geomagnetic Basemap Denoising Taking Residual Constraints into Account
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Limited Memory-Based Random-Weighted Kalman Filter

1
School of Electronic Engineering, Xi’an Shiyou University, Xi’an 710065, China
2
National Key Laboratory of Science and Technology on Aerospace Intelligent Control, Beijing Aerospace Automatic Control Institute, Beijing 100854, China
3
School of Engineering, RMIT University, Bundoora, Melbourne 3083, Australia
4
School of Automatics, Northwestern Polytechnical University, Xi’an 710072, China
*
Authors to whom correspondence should be addressed.
Sensors 2024, 24(12), 3850; https://doi.org/10.3390/s24123850
Submission received: 7 April 2024 / Revised: 28 May 2024 / Accepted: 11 June 2024 / Published: 14 June 2024

Abstract

:
The Kalman filter is an important technique for system state estimation. It requires the exact knowledge of system noise statistics to achieve optimal state estimation. However, in practice, this knowledge is often unknown or inaccurate due to uncertainties and disturbances involved in the dynamic environment, leading to degraded or even divergent filtering solutions. To address this issue, this paper presents a new method by combining the random weighting concept with the limited memory technique to accurately estimate system noise statistics. To avoid the influence of excessive historical information on state estimation, random weighting theories are established based on the limited memory technique to estimate both process noise and measurement noise statistics within a limited memory. Subsequently, the estimated system noise statistics are fed back into the Kalman filtering process for system state estimation. The proposed method improves the Kalman filtering accuracy by adaptively adjusting the weights of system noise statistics within a limited memory to suppress the interference of system noise on system state estimation. Simulations and experiments as well as comparison analysis were conducted, demonstrating that the proposed method can overcome the disadvantage of the traditional limited memory filter, leading to im-proved accuracy for system state estimation.

1. Introduction

The Kalman filter (KF) is widely used in many fields such as guidance and navigation, biological tissue characterization, and power systems [1,2,3]. Under the condition that system noise statistics are pre-defined accurately, KF can produce accurate state estimation results [4,5,6]. However, it needs to know the accurate statistical characteristics of system noise. In engineering practice, such as global positioning systems and inertial navigation integrated systems, due to the uncertainties and interferences involved in the dynamic environment, the statistical characteristics of system noise are usually unknown or inaccurate, which leads to biased or even divergent KF solutions [7,8,9]. Thus, a robust filtering technique is needed to overcome the influence of unknown or inaccurate noise statistics on the system.
In this paper, by combining the concepts of random weighting and limited memory technology into KF, a random-weighted Kalman filter (LM-RWKF) based on limited memory is developed to achieve the accuracy and reliability of system state estimation under unknown or inaccurate noise statistics. This method estimates system noise statistics by adaptive adjusting the weights of noise statistics within a limited memory to restrain the interferences of system noise and excessive historical information on system state estimation. Based on the limited memory technique, random weighting theories are established to estimate and adjust both process noise and measurement noise statistics within a limited memory via random weights. The estimated system noise statistics are further fed back into the Kalman filtering process for system state estimation. Simulations and experiments, as well as comparison analysis with the proposed LM–RWKF and the traditional limited memory KF (LM–KF), were conducted to comprehensively evaluate the LM-RWKF performance.

2. Related Work

To achieve accuracy and reliability of system state estimation under unknown or inaccurate noise statistics, various techniques of noise statistics estimation have been reported for KF. The correlation method estimates system noises statistics based on the innovation sequence. However, it is not optimal in terms of mean square error [10,11]. The Sage–Husa adaptive filtering improves the filtering accuracy by adaptively adjusting system noise covariances [12,13,14,15]. However, since system noise covariances are estimated by arithmetic mean, it may not guarantee that the final filtering solution is optimal. As an approximation to Bayesian estimation, multiple-model based robust KF tracks time-varying noise statistics by simultaneously operating a set of KFs. However, this method suffers from substantial computational complexity [16,17,18,19]. Fuzzy logic estimates system noise statistics to improve the KF adaptability and robustness [20]. However, since fuzzy rules are developed based on empiricism and heuristic information, the resultant estimation has limited performance. Fault detection is also used to handle inaccurate system noise statistics [21,22]. However, this technique is only able to identify and isolate the occurrence of inaccurate system noise statistics, while being incapable of suppressing their influence on state estimation. The maximum likelihood theory estimates noise statistics through the maximization of their posteriori probability density [23,24]. However, due to the involvement of too many historical residuals, the resultant estimations cannot reflect the current characteristics of system noise.
Various strategies have been reported to limit the memory of historical information in the filtering process to reduce their contributions while increasing the contributions of the latest information to system state estimation. The fading memory technique uses fading factors to increase the use of latest residuals and reduce the effect of historical information on system state estimation, leading to improved filtering accuracy. It is less expensive in computation and has good numerical stability. B. Kwon studied a fading memory Kalman filter [25]. However, because this method uses the empirical method to determine the fading factor, only suboptimal filtering results can be obtained [26]. As an improvement of the fading memory technique, the limited memory technique can handle the KF divergence caused by model inaccuracy or system noise changes. It uses a limited number of residuals near to the current time to avoid the influence of excessive historical information on system state estimation [27]. Based on the limited memory of residuals, system noise statistics were estimated to improve the KF accuracy [28,29]. However, this method involves a complex update process of state and measurement information, leading to an increased computational load. Wishnef et al. also adopted the limited memory technique to improve KF accuracy, leading to the limited memory-based KF (LM-KF) [30]. Although the limited memory technique reduces the contribution of historical residuals to system state estimation [29,30], since residuals at different epochs within a limited memory are applied with the same weight, it is difficult to distinguish the contributions of residuals at different epochs on system state estimation, leading to a limited improvement of the KF accuracy. Deng et al. also combined the limited memory technique with KF [31]. However, this method determines the initial filtering values based on empiricism. If the initial values are not determined properly, the filtering accuracy will seriously decrease [32]. Yang proposed an adaptive fitting method of system error based on limited memory theory. In this method, the size of system noise statistics is not distinguished, and the system noise and its residual are estimated by the arithmetic mean method (using the same weight) in the selected moving window, which leads to low filtering accuracy [33].
Random-weighted estimation is an advanced statistical calculation method. This method applies random weights to different samples to estimate target parameters. It can achieve unbiased estimation, is simple in computation, and can handle large samples without requiring the accurate distribution of target parameters. It has been used to solve many problems, such as dynamic navigation and positioning [34,35], multi-sensor data fusion [36], M-test in linear models [37], analysis of asymptotic properties of function distribution [38], and estimation of system model error [9,39,40]. Since the application of random weights to different samples provides a solution to address the disadvantage of the limited memory technique due to the use of the same weight to residuals, the combination of the random weighting with limited memory techniques provides a promising solution to estimate unknown system noise statistics for improving KF accuracy.
In this paper, a new random-weighted Kalman filtering method based on limited memory is proposed, and a random-weighted estimation method of system noise statistics is designed. In the moving window, this method adaptively adjusts the weight of noise statistics in limited memory, which suppresses the interference of system noise and excessive historical information on system state estimation, improves the accuracy of filtering calculation, and proves the unbiased nature of random-weighted estimation of system noise statistics. Finally, through simulation and practical experiments, it is proven that the filtering accuracy of the proposed LM-RWKF is much higher than that of KF and LM-KF.
The main contributions of this paper include the following: (i) the random-weighted theories are established based on the concept of limited memory for estimation of system noise statistics; and (ii) a new KF filter is developed by combining the limited memory-based random weighting theories into the KF framework for system state estimation with increased accuracy.

3. Computation Scheme

3.1. The Concept of Random Weight Estimation

Assume that x 1 , x 2 , , x n is a sequence of random variables of independent and identical distribution (iid) with the common distribution function F ( x ) , and its empirical distribution function is defined as follows:
F n x = 1 n i = 1 N I X i x
where I X i x is the indicator function.
The random weight estimate of F n x can be defined as follows:
T n x = i = 1 N λ i I X i x
where the random-weighted vector λ 1 , λ 2 , , λ n obeys Dirichlet distribution D ( 1 , 1 , , 1 ) , that is, i = 1 N λ i = 1 and the joint density function of λ 1 , λ 2 , , λ n 1 is f ( λ 1 , λ 2 , , λ n 1 ) = Γ ( n ) , in which Γ denotes the function, λ 1 , λ 2 , , λ n 1 D n 1 and D n 1 = λ 1 , λ 2 , , λ n 1 : λ i 0 , i = 1 , 2 , n 1 , i = 1 N λ i = 1 .

3.2. Limited Memory-Based Random-Weighted Estimations of System Noise Statistics

Consider the following dynamic discrete system:
x k + 1 = Φ k x k + w k y k = H k x k + v k
where x k R n is the n-dimensional system state vector at time k, y k R m the m-dimensional measurement vector, Φ k the system state transition matrix, H k the system measurement matrix, w k the system process noise, and v k the measurement noise.
Suppose the statistics of system process noise w k are unknown, i.e.,
E w k = a k c o v ( w k , w j ) = E w k w j T = A k δ k j
where a k and A k 0 are the unknown mean and covariance of the process noise, and δ k j is the Kronecker− δ function.
Suppose the statistical properties of measurement noise v k are unknown, i.e.,
E v k = b k c o v ( v k , v j ) = E v k v j T = B k δ k j
where b k and B k 0 are the unknown mean and covariance of the measurement noise.
The means of the process and measurement noises are called the first-order noise statistics, while their covariances are called the second-order noise statistics.
In a limited memory period of length N j = 1 , 2 , , N , the arithmetic mean estimation of the measurement noise mean can be expressed as follows:
b ^ k = 1 N j = 1 N b k j
Applying the random-weighted concept to Equation (6), the random-weighted estimation of the measurement noise mean is as follows:
b ^ k = j = 1 N λ j b k j
In the limited memory period, the arithmetic mean estimation of the measurement noise covariance can be expressed as follows:
B ^ k = 1 N j = 1 N b k j b ^ k b k j b ^ k T
Applying the random-weighted concept to Equation (8), the random weighting estimation of the measurement noise covariance can be obtained as follows:
B ^ k = j = 1 N λ j b k j b ^ k b k j b ^ k T
Define the measurement residual as follows:
β k = y k H k x ^ k
According to the first formula in Equation (3), the measurement residual β k can be written as follows:
β k = y k H k x ^ k = H k x k + v k H k x ^ k = H k x k x ^ k + v k = H k x ˜ k + v k
where x ˜ k = x k x ^ k denotes the state estimation error.
Similarly, in the limited memory period of length N j = 1 , 2 , , N , the arithmetic mean estimation of the process noise mean can be expressed as follows:
a ^ k = 1 N j = 1 N a k j
The arithmetic mean estimation of the process noise covariance can be expressed as follows:
A ^ k = 1 N j = 1 N a k j a ^ k a k j a ^ k T
Applying the random-weighted concept to Equations (12) and (13), the random-weighted estimation of a k and A k can be written as follows:
a ^ k = j = 1 N λ j a k j
A ^ k = j = 1 N λ j a k j a ^ k a k j a ^ k T
Define the process residual as follows:
δ k = x k + 1 Φ k x ^ k
According to the second formula in Equation (3), the process residual δ k can be rewritten as follows:
δ k = x k + 1 Φ k x ^ k = ( Φ k x k + w k ) Φ k x ^ k = Φ k x k x ^ k + w k = Φ k x ˜ + w k
According to the KF principle, we have the following:
D k = P k P k k 1 = P k Φ k P k 1 Φ k A k
where D k is the process residual covariance, and P k k 1 is the one-step state estimation error variance, which is expressed as follows:
P k k 1 = Φ k P k 1 Φ k + A k 1
P k is the state error covariance, which is expressed as follows:
P k = I K k H k P k k 1 I K k H k T + B ^ k
where K k is filter gain matrix, which is expressed as follows:
K k = P k k 1 H k T H k P k k 1 H k T + B ^ k 1
Equations (7), (9), (14), and (15) provide the random-weighted estimations of the process noise statistics and measurement noise statistics, which allow us to adaptively adjust the random weights to suppress the interferences of the process and measurement noises on the state estimation for improving the KF accuracy.

3.3. Unbiasedness of Random-Weighted Estimations of System Noise Statistics

Theorem 1.
The random-weighted estimations  b ^ k  and  a ^ k   of  b k   and   a k , which are given by (7) and (14), are suboptimally unbiased.
Proof of Theorem 1.
From Equation (7), we have the following:
E b ^ k = E j = 1 N λ j b k j = j = 1 N λ j E b k j b ^ k
where j = 1 N λ j = 1 is used in the last step derivation.
It can be seen from Equation (22) that b ^ k is not the optimal unbiased estimation of b k .
If the measurement noise is constant or involves small variations in the limited memory, i.e., b k = b k j , Equation (22) can be further written as follows:
E b ^ k = j = 1 N λ j E b k j = b ^ k
It is known from Equations (22) and (23) that the random weighting estimation b ^ k of b k is suboptimally unbiased.
Similarly, from (14), we have the following:
E a ^ k = E j = 1 N λ j a k j = j = 1 N λ j E a k j a k
It can be seen from Equation (24) that a ^ k is not the optimal unbiased estimation of a k .
If the process noise is constant or involves small variations in the limited memory, i.e., a k = a k j , Equation (24) can be further written as follows:
E a ^ k = j = 1 N λ j E a k j   = a k
It is known from Equations (24) and (25) that the random-weighted estimation a ^ k of a k is suboptimally unbiased.
The proof of Theorem 1 is completed. □
Theorem 2.
The random-weighted estimations   B ^ k  and  A ^ k   of  B k   and  A k , which are given by (9) and (15), are suboptimally unbiased.
Proof of Theorem 2.
Since the state estimate x ^ k from KF is unbiased, we have the following:
E x ˜ k = E x k x ^ k = E x k E x ^ k = 0
By Equation (11), we have the following:
E β k = Ε H k x ˜ k + v k = Ε H k x ˜ k + Ε v k = b k
Calculate the measurement residual covariance:
E β k E ( β k ) β k E ( β k ) T = E ( β k b k ) ( β k b k ) T = E ( β k β k T β k b k T b k β k T + b k b k T ) = E ( H k x ˜ k + v k ) ( H k x ˜ k + v k ) T E ( H k x ˜ k + v k ) b k T E b k ( H k x ˜ k + v k ) T + E ( b k b k T ) = E ( H k x ˜ k x ˜ k T H k T ) + E ( v k b k ) ( v k b k ) T + E ( H k x ˜ k b k T ) + E ( v k x ˜ k T H k T ) E ( H k x ˜ k b k T ) E ( b k x ˜ k T H k T ) = E ( H k x ˜ k x ˜ k T H k T ) + B k + E ( H k x ˜ k v k T ) + E ( v k x ˜ k T H k T ) E ( B k x ˜ k b k T ) E ( b k x ˜ k T H k T )
where B k = E ( v k b k ) ( v k b k ) T .
Since x ˜ k and v k are independent each other, by Equation (26), we have the following:
E ( H k x ˜ k v k T ) = E ( v k x ˜ k T H k T ) = 0
and the following:
E ( H k x ˜ k b k T ) = E ( b k x ˜ k T H k T ) = 0
Substituting Equations (29) and (30) into (28) yields the following:
E ( β k b k ) ( β k b k ) T = E ( H k x ˜ k x ˜ k T H k T ) + B k = H k P k H k T + B k
where P k = E x ˜ k x ˜ k T is the state error covariance at time k .
From Equation (31), in the limited memory, the arithmetic mean estimation of B k can be calculated as follows:
B ^ k = 1 N j = 1 N B k j = 1 N j = 1 N ( β k j b ^ k j ) ( β k j b ^ k j ) T H k j P k j H k j T
The random-weighted estimation of B k can be written as follows:
B ^ k = j = 1 N λ j ( β k j b ^ k j ) ( β k j b ^ k j ) T H k j P k j H k j T
Taking the mathematical expectation on both sides of Equation (33) generates the following:
E B ^ k = j = 1 N λ j E ( β k j b ^ k j ) ( β k j b ^ k j ) T H k j P k j H k j T = j = 1 N λ j H k j P k j H k j T + j = 1 M λ j B k j j = 1 M λ j H k j P k j H k j T = j = 1 N λ j B k j B k
It can be seen from Equation (34) that B ^ k is not the optimal unbiased estimation of B k .
If the measurement noise is constant or involves small variations in the limited memory period, i.e., B k = B k j , Equation (34) can be further written as follows:
E ( B ^ k ) = j = 1 N λ j B k j = j = 1 N λ j B k = B k
It is known from (34) and (35) that the random-weighted estimation B ^ k of B k is suboptimally unbiased.
Now let us study the unbiasedness for the random-weighted estimation A ^ k of A k .
According to Equation (17), we have the following:
E δ k = Ε Φ k x ˜ k + w k = Ε Φ k x ˜ k + Ε w k = a k
Calculate the process residual covariance:
E δ k E ( δ k ) δ k E ( δ k ) T = E ( δ k a k ) ( δ k a k ) T = E ( δ k δ k T δ k a k T a k δ k T + a k a k T ) = E ( Φ k x ˜ k + w k ) ( Φ k x ˜ k + w k ) T E ( Φ k x ˜ k + w k ) a k T E a k ( Φ k x ˜ k + w k ) T + E ( a k a k T ) = E ( Φ k x ˜ k x ˜ k T Φ k T ) + E ( w k a k ) ( w k a k ) T + E ( Φ k x ˜ k w k T ) + E ( w k x ˜ k T Φ k T ) E ( Φ k x ˜ k a k T ) E ( a k x ˜ k T Φ k T ) = E ( Φ k x ˜ k x ˜ k T Φ k T ) + A k + E ( Φ k x ˜ k w k T ) + E ( w k x ˜ k T Φ k T ) E ( Φ k x ˜ k a k T ) E ( a k x ˜ k T Φ k T )
where A k = E ( w k a k ) ( w k a k ) T .
Since x ˜ k and w k are independent each other, according to Equation (26), we have the following:
E ( Φ k x ˜ k w k T ) = E ( w k x ˜ k T Φ k T ) = 0
and the following:
E ( Φ k x ˜ k a k T ) = E ( a k x ˜ k T Φ k T ) = 0
Substituting Equations (38) and (39) into Equation (37) yields the following:
E ( δ k a k ) ( δ k a k ) T = E ( Φ k x ˜ k x ˜ k T Φ k T ) + A k = Φ k P k Φ k T + A k
where P k = E x ˜ k x ˜ k T is the state error covariance at time k .
The arithmetic mean estimation of A k can be calculated as
A ^ k = 1 N j = 1 N A k j = 1 N j = 1 N ( δ k j a ^ k j ) ( δ k j a ^ k j ) T Φ k j P k j Φ k j T
By Equation (41), the random-weighted estimation of A k can be written as follows:
A ^ k = j = 1 N λ i ( δ k j a ^ k j ) ( δ k j a ^ k j ) T Φ k j P k j Φ k j T
Taking the mathematical expectation on both sides of Equation (42) generates the following:
E A ^ k = j = 1 N λ i E ( δ k j a ^ k j ) ( δ k j a ^ k j ) T Φ k j P k j Φ k j T = j = 1 N λ j Φ k j P k j Φ k j T + j = 1 M λ j A k j j = 1 M λ j Φ k j P k j Φ k j T = j = 1 N λ j A k j A k
It can be seen from Equation (43) that A ^ k is not the optimal unbiased estimation of A k .
If the process noise is constant or involves small variations in the limited memory, i.e., A k = A k j , Equation (43) can be further written as follows:
E ( A ^ k ) = j = 1 N λ j A k j = j = 1 N λ j A k = A k
It is known from Equations (43) and (44) that A ^ k are the random-weighted suboptimal unbiased estimation of A k .
The proof of Theorem 2 is completed. □
Based on above, the overview diagram of LM-RWKF is as Figure 1, and the procedure of the proposed LM-RWKF is as follows:
The procedure of the proposed LM-RWKF is as follows:
(i)
Initialize the estimated state and its associated error covariance:
x ^ 0 = E [ x 0 ] P 0 = cov x 0 , x 0 T = E [ ( x 0 x ^ 0 ) ( x 0 x ^ 0 ) T ]
(ii)
Calculate predicted state vector:
x k | k 1 = Φ k k 1 x ^ k 1
(iii)
Calculate the one-step prediction covariance by (19).
(iv)
Estimate the mean and covariance of the process and measurement noise statistics by (7), (9), (14), and (15).
(v)
The process and measurement noise statistics are fed back to (19)–(21) to obtain a new filter gain matrix.
(vi)
Calculate the new state estimation vector.
x ^ k = x k | k 1 + K k y k H k x k b ^ k
(vii)
Let k = k + 1 return to (ii) until all iterations are complete.

4. Performance Evaluation and Discussion

Simulations and experiments were conducted to comprehensively evaluate the performance of the proposed LM-RWKF for dynamic vehicle navigation. The comparison analysis of the proposed LM-RWKF with KF and LM-KF [27] was also conducted to demonstrate the improved performance.

4.1. Simulations and Analysis

Computational simulations were conducted to verify the proposed LM-RWKF for tracking the motion of a moving object. The object moves along the three coordinate axes X, Y and Z as per the following equation:
P x = 10 t + 1 2 a x t 2 P y = 10 t + 1 2 a y t 2 P z = 10 t + 1 2 a z t 2
where t is time, ( P x , P y , P z ) represents the vehicle position, and ( a x , a y , a z ) denotes the vehicle acceleration.
The state vector is as follows:
X = P x , P y , P z
and the processing noise is expressed as follows:
w = a x , a y , a z
The moving object is observed in the three axes:
L x = P x + v x L y = P y + v y L z = P z + v z
where ( L x , L y , L z ) represents the measurement vector, and ( v x , v y , v z ) denotes the measurement noise.
The simulation time was 1200 s and the sampling cycle was 1 s. The limited memory length was set to N = 20. The trajectory of the moving object is shown in Figure 2. The initial parameters are given in Table 1.

4.1.1. Estimation of System Noise Statistics

Simulation trials were conducted to examine the accuracy of LM–RWKF for estimation of the measurement noise statistics. The initial state and its estimate were set as follows:
x 0 = 0.1 0.1 0.1 , x ^ 0 = 0.1 0.1 0.1
The initial estimation error covariance was chosen as follows:
P ^ 0 = 1 0 0 0 1 0 0 0 1
The true values and initial estimates of the measurement noise mean and covariance were as follows:
b k = 1 , 1 , 1 , B k = 15 0 0 0 15 0 0 0 15
b ^ 0 = 0.2 0.2 0.2 , B ^ 0 = 0.2 0 0 0 0.2 0 0 0 0.2
The true values and initial estimates of the process noise mean and covariance were as follows:
a k = 0 , 0 , 0 , A k = 3 0 0 0 3 0 0 0 3
a ^ 0 = 0 , 0 , 0 , A ^ 0 = 1 0 0 0 1 0 0 0 1
Figure 3 and Figure 4 illustrate the measurement noise means and covariances estimated by both LM–KF and LM–RWKF, and their mean absolute errors (MAEs) are listed in Table 2. As shown in Figure 3, the LM–KF estimation curve of the measurement noise mean involves large-magnitude oscillations, leading to the 0.564 m MAE. By contrary, the oscillations involved in the LM–RWKF estimation curve are much smaller in magnitude than those in the LM–KF estimation curve, leading to the 0.161 m MAE. As shown in Figure 4, both LM–KF and LM–RWKF estimations of the measurement noise covariance exhibit a similar trend in the case of the measurement noise mean estimation. The MAE of the measurement noise covariance estimated by LM–KF is 8.137 m 2 , while the MAE by LM–RWKF is 1.061 m 2 , which is very close to the true value.
Figure 5 and Figure 6 show the process noise means and covariances estimated by both LM–KF and LM-RWKF, while their MAEs are listed in Table 3. As shown in Figure 5, the LM–KF estimation curve of the process noise mean involves large-magnitude oscillations, leading to the MAE of 0.122 m. By contrast, the oscillations involved in the LM–RWKF estimation curve are much smaller in magnitude than those in the LM–KF estimation curve, leading to the MAE of 0.057 m. As shown in Figure 6, the LM–KF estimation of the process noise covariance involves large-magnitude fluctuations, leading to the MAE of 1.114 m 2 . Nevertheless, the MAE of the process noise covariance estimated by LM–RWKF is 0.369 m 2 , much smaller than that of LM-KF.
The above results demonstrate that LM–RWKF can effectively estimate system noise statistics, leading to higher estimation accuracy than LM–KF.

4.1.2. Vehicle Position Estimation

The position error of the moving vehicle is also estimated under the same conditions by both KF, LM–KF, and LM–RWKF. Figure 7 shows the position error curves of KF, LM–KF, and LM–RWKF. Table 4 also provides the position MAEs of these three methods. As shown in Figure 7, the KF estimation curve involves large-magnitude oscillations, leading to the 8.515 m MAE. The oscillation magnitude is decreased by LM–KF due to its capability of noise statistics estimation. However, since it applies the same weight to the noise statistics within a limited memory, the LM–KF improvement is still limited, leading to the 4.953 m MAE. By contrast, since LM–RWKF adopts the RW estimation of system noise statistics, its mean absolute error in position is 1.235 m, which is much smaller than those of KF and LM–KF.

4.1.3. Computational Load Analysis

The computational performances of KF, LM–KF, and LM–RWKF were studied based on the above simulations, which were implemented on a PC (Intel® Core™ i5 12100F CPU, Intel, Santa Clara, CA, USA). As shown in Figure 8, KF has the smallest computational time, leading to a mean of 0198 ms per iteration. Due to the involvement of the noise estimation, the mean computational time of LM–KF is 0.235 ms per iteration, which is larger than that of KF. Since the random weight principle is further involved, the mean computational time of LM–RWKF is 0.276 ms per iteration. However, similar to KF, the computational time of LM–RWKF is much above the threshold of 0.07 s per iteration for real-time performance.
In practical engineering, the size of limited memory window is closely related to the filtering accuracy. The longer the limited memory window is, the higher the filtering precision and the larger the computational load will be. Therefore, the practical application should select an appropriate length of the limited memory window to balance the filtering accuracy and the calculation amount.

4.2. Experiments and Analysis

Experiments were also conducted to evaluate the performance of LM-RWKF in comparison with LM-KF and KF for navigation of a ground vehicle using a BDS/MEMS IMU (Bei Dou Satellite Navigation System/Micro-Electro-Mechanical System Inertial Measurement Unit) integrated navigation system.

4.2.1. BDS/SINS Integrated Navigation System Mathematical Model

The state vector of the BDS/MEMS IMU integrated navigation system is defined as follows:
X t = δ v E , δ v N , δ v U , δ L , δ h , δ λ ,   ε x ,   ε y ,   ε z , x , y , z T
where δ v E , δ v N , δ v U are the velocity errors of the aircraft in East, North, and Up, ( δ L , δ λ , δ h ) are the errors in latitude, longitude, and altitude, ( ε x , ε y , ε z ) is the constant drift of the gyro, and ( x , y , z ) is the zero bias of the accelerometer.
The system state equation of the BDS/ MEMS IMU integrated navigation is described by the following:
X ˙ t = F t X t + G ( t ) w ( t )
where F t is the system function, and w ( t ) is the system process noise consisting of the gyro’s Gaussian white noise w g x , w g y , w g z and accelerometer’s Gaussian white noise w a x , w a y , w a z , i.e.,
w ( t ) = [ w g x , w g y , w g z , w a x , w a y , w a z ] 6 × 1 T
G t is the coefficient matrix of the system noise and is expressed as follows:
G ( t ) = C b n 0 3 × 3 0 3 × 3 C b n 0 9 × 3 0 9 × 3 15 × 6
where C b n is the conversion matrix from the body coordinate system to navigation coordinate system.
The measurement equation of the BDS/MEMS IMU integrated navigation system is established using the velocity error and position error as measurement information.
The measurement equation of position error is described by the following:
Z p t = H p t X t + V p t = R cos L δ λ + n E R δ L + n N δ h + n U
where H p t is the position measurement matrix, which is expressed as follows:
H p = 0 3 × 3     d i a g R   R cos L   1     0 3 × 9 9 × 15
V p t is the position measurement noise, which is expressed as follows:
V p t = n E n N n U T
where n E , n N , and n U are the position errors of the BDS receiver in the three axes, respectively.
The velocity error measurement equation can be written as follows:
Z v t = H v t X t + V v t = δ v E + n v E δ v N + n v N δ v U + n v U
where H v t is the velocity measurement matrix, which is expressed as follows:
H v t = d i a g 1   1   1   0 3 × 12 9 × 15
V v t is the velocity measurement noise, which is expressed as follows:
V v t = n v E n v N n v U T
where n v E , n v N , and n v U are the velocity measurement errors of the BDS receiver in the three axes, respectively.
According to Equations (62) and (65), the measurement equation of the BDS/MEMS IMU integrated navigation system can be obtained as follows:
Z t = H p t H v t X t + V p t V v t = H t X t + V t

4.2.2. Experimental Setup

Practical experiments were also conducted to evaluate the performance of the proposed improved LM-RWKF algorithm for vehicle navigation. The vehicle used s BDS/ MEMS IMU integrated system for navigation. The BDS/MEMS IMU integrated navigation system adopted the East-North-Up geography frame as the navigation frame. The test vehicle is a gray Mazda SUV. The BDS/MEMS IMU integrated navigation system is installed on the Mazda off-road vehicle. The BDS/MEMS IMU integrated navigation system includes a set of IMU and Bei Dou receivers with NV-IMU300 model, and the BeiDou receiver outputs C/A code measurement at a data update rate of 1 Hz. The test vehicle also carries related auxiliary equipment, including a DC power supply, small computer, data processor, and voltmeter. Figure 9 shows the structure of the test system.
The parameters of the BDS/MEMS IMU integrated navigation system are provided in Table 5. The initial flight parameters of the UAV are shown in Table 6. The test time for the filtering calculation was 1200 s. The filtering time step was 0.1 s.
The vehicle was traveling along South Qinling North Road in Xi’an, with the initial starting position being 34°01′41.24″ North latitude and 108°46′05.89″ east longitude. After arriving at Qinling Ring Island on Huanshan Road, it turned at 34°03′10.28″ N, 108°49′04.61″ E and returned to the initial position. The driving route and location of the experimental vehicle are shown in Figure 10 and Figure 11. The driving distance is 15.38 km, the driving time is 20 min, and the average speed of the vehicle is 35 km/h. When the vehicle is moving, the Beidou receiver receives more than seven satellite signals and uses the information obtained by the differential Beidou system as reference data for positioning errors.

4.2.3. Experimental Results and Analysis

For the purpose of comparison analysis, trials were conducted by using KF, LM–KF, and LM–RWKF, respectively. Figure 12 shows the position errors of these three methods, and Table 5 provides their MAEs.
As shown in Table 7 and Figure 10, KF has large-magnitude oscillations in the filtering curve, and its position MAE is 13.612 m. Although LM–KF improves KF, leading to the decreased oscillation magnitude, its improvement is still limited, resulting in the 8.587 m position MAE. In contrast, LM–RWKF significantly decreases the oscillation magnitude, and its position MAE is 2.421 m, which is much smaller than those of the other two methods.

5. Conclusions

This paper proposes a new LM-RWKF for system state estimation in the presence of unknown or inaccurate system noise statistics by combining the random weighting concept with limited memory technique. Random-weighted theories are established based on the limited memory technique to estimate system noise statistics within a limited memory, which are further fed back to KF for system state estimation. The proposed method cannot only adaptively adjust the weights to suppress the interference of noise statistics on system state estimation, but it can also suppress the influence of too much historical information on system state estimation, since the random weighting estimations of system noise statistics are established within a limited memory and embedded with random weights. Simulations, experiments, and comparison analysis demonstrate that the proposed LM-RWKF can effectively estimate system noise statistics, leading to higher accuracy than LM-KF in the presence of unknown or biased noise statistics.
In the existing methods, the length of the moving window is selected according to experience. Future work needs to study how to accurately select the window length, as well as the relationship between the length of the moving window and the filtering calculation accuracy, in order to find a balance between the length of the moving window, the filtering accuracy, and the computational workload. In addition, we will investigate how to combine the proposed improved LM-RWKF algorithm with the concept of artificial intelligence to develop an intelligent filtering algorithm that can accurately estimate sensor errors and system noise statistics.

Author Contributions

Supervision by Z.G., H.Z., Y.Z., Z.G. and H.Z. achieved the conceptualization of this paper; G.G. performed the simulations and analyzed the data; Z.G. and Y.Z. wrote. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the Natural Science Foundation of Shaanxi Province (Project number: 2024 JC-YBMS-574).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Data are contained within the article.

Conflicts of Interest

The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper.

References

  1. Schmidt, S.F. The Kalman filter—Its recognition and development for aerospace applications. J. Guid. Control 1981, 4, 4–7. [Google Scholar] [CrossRef]
  2. Xie, H.; Song, J.; Zhong, Y.; Gu, C. Kalman filter finite element method for real-time soft tissue modeling. IEEE Access 2020, 8, 53471–53483. [Google Scholar] [CrossRef]
  3. Liu, H.; Hu, F.; Su, J.; Wei, X.; Qin, R. Comparisons on kalman-filter-based dynamic state estimation algorithms of power systems. IEEE Access 2020, 8, 51035–51043. [Google Scholar] [CrossRef]
  4. Michalski, J.; Kozierski, P.; Zietkiewicz, J. Double hybrid Kalman filtering for state estimation of dynamical systems. Computer Appl. Electr. Eng. 2019, 28, 01051. [Google Scholar] [CrossRef]
  5. Gao, Z.; Mu, D.; Gao, S.; Zhong, Y.; Gu, C. Robust adaptive filter allowing systematic model errors for transfer alignment. Aerosp. Sci. Technol. 2016, 59, 32–40. [Google Scholar] [CrossRef]
  6. Yang, Y.; Xu, T. An adaptive kalman filter based on sage windowing weights and variance components. J. Navig. 2003, 56, 231–240. [Google Scholar] [CrossRef]
  7. Zhang, X.; Yan, Z.; Chen, Y. High-degree cubature Kalman filter for nonlinear state estimation with missing measurements. Asian J. Control 2021, 24, 1261–1272. [Google Scholar] [CrossRef]
  8. Yang, Y.; He, H.; Xu, G. Adaptively robust filtering for kinematic geodetic positioning. J. Geod. 2001, 75, 109–116. [Google Scholar] [CrossRef]
  9. Gao, S.; Wei, W.; Zhong, Y.; Subic, A. Sage windowing and random weighting adaptive filtering method for kinematic model error. IEEE Trans. Aerosp. Electron. Syst. 2015, 51, 1488–1500. [Google Scholar] [CrossRef]
  10. Åkesson, B.M.; Jørgensen, J.B.; Poulsen, N.K.; Jørgensen, S.B. A generalized autocovariance least-squares method for Kalman filter tuning. J. Process. Control 2008, 18, 769–779. [Google Scholar] [CrossRef]
  11. Abdel-Hafez, M.F. The Autocovariance least-squares technique for gps measurement noise estimation. IEEE Trans. Veh. Technol. 2009, 59, 574–588. [Google Scholar] [CrossRef]
  12. Zhu, J.; Liu, B.; Wang, H.; Li, Z.; Zhang, Z. State estimation based on improved cubature Kalman filter algorithm. IET Sci. Meas. Technol. 2020, 14, 536–542. [Google Scholar] [CrossRef]
  13. Narasimhappa, M.; Mahindrakar, A.D.; Guizilini, V.C.; Terra, M.H.; Sabat, S.L. MEMS-based IMU drift minimization: Sage husa adaptive robust kalman filtering. IEEE Sens. J. 2019, 20, 250–260. [Google Scholar] [CrossRef]
  14. Jiang, H.; Li, B.; Sheng, Z. Design of adaptive Kalman filter based on FPGA implementation. Infrared Laser Eng. 2005, 34, 89–92. [Google Scholar]
  15. Mohamed, A.H.; Schwarz, K.P. Adaptive kalman filtering for INS/GPS. J. Geod. 1999, 73, 193–203. [Google Scholar] [CrossRef]
  16. Li, W.; Jia, Y. H-infinity filtering for a class of nonlinear discrete-time systems based on unscented transform. Signal Process. 2010, 90, 3301–3307. [Google Scholar] [CrossRef]
  17. Jain, A.K.; Katiyar, A. Robust adaptive control design of nonlinear systems with input delay. Int. J. Adapt. Control Signal Process. 2023, 37, 1193–1202. [Google Scholar] [CrossRef]
  18. Gao, G.; Gao, B.; Gao, S.; Hu, G.; Zhong, Y. A hypothesis test-constrained robust kalman filter for INS/GNSS integration with abnormal measurement. IEEE Trans. Veh. Technol. 2022, 72, 1662–1673. [Google Scholar] [CrossRef]
  19. Tseng, C.-H.; Lin, S.-F.; Jwo, D.-J. Robust huber-based cubature kalman filter for GPS navigation processing. J. Navig. 2016, 70, 527–546. [Google Scholar] [CrossRef]
  20. Wang, S.; Zhang, W.; Yin, C.; Feng, Y. Huber-based Unscented Kalman Filters with the q-gradient. IET Sci. Meas. Technol. 2017, 11, 380–387. [Google Scholar] [CrossRef]
  21. Madeti, S.R.; Singh, S. Online fault detection and the economic analysis of grid-connected photovoltaic systems. Energy 2017, 134, 121–135. [Google Scholar] [CrossRef]
  22. Zhang, T.; Fu, H.; Cheng, Y. Minimum mixture error entropy-based robust cubature kalman filter for outlier-contaminated measurements. IEEE Sens. Lett. 2022, 6, 1–4. [Google Scholar] [CrossRef]
  23. Gao, B.; Gao, S.; Hu, G.; Zhong, Y.; Gu, C. Maximum likelihood principle and moving horizon estimation based adaptive un-scented Kalman filter. Aerosp. Sci. Technol. 2018, 73, 184–196. [Google Scholar] [CrossRef]
  24. Gao, B.; Hu, G.; Li, W.; Zhao, Y.; Zhong, Y. Maximum likelihood-based measurement noise covariance estimation using sequential quadratic programming for cubature kalman filter applied in INS/BDS integration. Math. Probl. Eng. 2021, 2021, 1–13. [Google Scholar] [CrossRef]
  25. Kwon, B. Adaptive fading-memory receding-horizon filters and smoother for linear discrete time-varying systems. Appl. Sci. 2022, 12, 6692. [Google Scholar] [CrossRef]
  26. Liu, Y.; Liu, B. Adaptive fading-memory unscented Kalman filter algorithm for passive target tracking. Sens. Lett. 2013, 11, 2110–2113. [Google Scholar] [CrossRef]
  27. Duan, Z.; Song, X.; Qin, M. Limited memory optimal filter for discrete-time systems with measurement delay. Aerosp. Sci. Technol. 2017, 68, 422–430. [Google Scholar] [CrossRef]
  28. Gao, Y.; Qian, W.; Guo, J. A limited memory Kalman filter with control term. Mod. Radar 2004, 26, 44–47. [Google Scholar]
  29. Jazwinski, A.H. Limited memory optimal filtering. IEEE Trans. Autom. Control 1968, 13, 558–563. [Google Scholar] [CrossRef]
  30. Wishner, R.P.; Larson, R.E.; Athans, M. Status of Radar Tracking Algorithms. Proc. Symp. Nonlinear Estima-Tion Theory Its Appl. 1970, 9, 32–54. [Google Scholar]
  31. Deng, M.; Cheng, Z.; He, Z. Limited-memory receive filter design for massive MIMO radar in signal-dependenti nterference. IEEE Signal Process. Lett. 2022, 29, 1536–1540. [Google Scholar] [CrossRef]
  32. Li, R.; Lei, X.; Ma, L.; Yan, Z.; Jia, X. Analysis of etalon filter in quantum memory. Microw. Opt. Technol. Lett. 2022, 65, 1463–1467. [Google Scholar] [CrossRef]
  33. Yang, Y.; Zhang, S. Adaptive fitting of systematic errors in navigation. J. Geod. 2005, 79, 43–49. [Google Scholar] [CrossRef]
  34. Gao, Z.; Mu, D.; Zhong, Y.; Gu, C.; Ren, C. Adaptively random weighted cubature kalman filter for nonlinear systems. Math. Probl. Eng. 2019, 2019, 1–13. [Google Scholar] [CrossRef]
  35. Gao, Z.; Gu, C.; Yang, J.; Gao, S.; Zhong, Y. Random weighting-based nonlinear gaussian filtering. IEEE Access 2020, 8, 19590–19605. [Google Scholar] [CrossRef]
  36. Gao, S.; Zhong, Y.; Li, W. Random weighting method for multi-sensor data fusion. IEEE Sens. J. 2011, 11, 1955–1961. [Google Scholar] [CrossRef]
  37. Wu, X.-Y.; Yang, Y.-N.; Zhao, L.-C. Approximation by random weighting method for M-test in linear models. Sci. China Math. 2007, 50, 87–99. [Google Scholar] [CrossRef]
  38. Hu, G.; Gao, S.; Zhong, Y.; Gu, C. Asymptotic properties of random weighted empirical distribution function. Commun. Stat.-Theory Methods 2013, 44, 3812–3824. [Google Scholar] [CrossRef]
  39. Gao, S.; Xue, L.; Zhong, Y.; Gu, C. Random weighting method for estimation of error characteristics in SINS/GPS/SAR integrated navigation system. Aerosp. Sci. Technol. 2015, 46, 22–29. [Google Scholar] [CrossRef]
  40. Wei, W.; Gao, S.; Zhong, Y.; Gu, C.; Subic, A. Random weighting estimation for systematic error of observation model in dynamic vehicle navigation. Int. J. Control Autom. Syst. 2016, 14, 514–523. [Google Scholar] [CrossRef]
Figure 1. Overview diagram of LM-RWKF.
Figure 1. Overview diagram of LM-RWKF.
Sensors 24 03850 g001
Figure 2. Trajectory of the moving object.
Figure 2. Trajectory of the moving object.
Sensors 24 03850 g002
Figure 3. Estimations of the measurement noise mean by LM–KF and LM–RWKF.
Figure 3. Estimations of the measurement noise mean by LM–KF and LM–RWKF.
Sensors 24 03850 g003
Figure 4. Estimations of the measurement noise covariance by LM–KF and LM–RWKF.
Figure 4. Estimations of the measurement noise covariance by LM–KF and LM–RWKF.
Sensors 24 03850 g004
Figure 5. Estimations of the process noise mean by LM–KF and LM–RWKF.
Figure 5. Estimations of the process noise mean by LM–KF and LM–RWKF.
Sensors 24 03850 g005
Figure 6. Estimations of the process noise covariance by LM–KF and LM–RWKF.
Figure 6. Estimations of the process noise covariance by LM–KF and LM–RWKF.
Sensors 24 03850 g006
Figure 7. Moving object’s position errors estimated by KF, LM–KF and LM–RWKF.
Figure 7. Moving object’s position errors estimated by KF, LM–KF and LM–RWKF.
Sensors 24 03850 g007
Figure 8. Comparison of computational load.
Figure 8. Comparison of computational load.
Sensors 24 03850 g008
Figure 9. The framework of the experimental system.
Figure 9. The framework of the experimental system.
Sensors 24 03850 g009
Figure 10. Vehicle traveling trajectory.
Figure 10. Vehicle traveling trajectory.
Sensors 24 03850 g010
Figure 11. The position coordinates of the vehicle travelling trajectory.
Figure 11. The position coordinates of the vehicle travelling trajectory.
Sensors 24 03850 g011
Figure 12. Position errors of KF, LM–KF, and LM–RWKF.
Figure 12. Position errors of KF, LM–KF, and LM–RWKF.
Sensors 24 03850 g012
Table 1. Initial parameters.
Table 1. Initial parameters.
ParametersValue
Initial positionEast longitude108.736°
North latitude34.246°
Altitude3500 m
Initial velocityEast0 m/s
North100 m/s
Up0 m/s
Initial attitudePitch
Roll
Yaw
Initial position errorEast longitude10 m
North latitude10 m
Altitude10 m
Initial velocity errorEast0.5 m/s
North0.5 m/s
Up0.5 m/s
Initial attitude errorPitch1′
Roll1′
Yaw1.5′
Initial variancesPosition0.2 m
Velocity 9.0 × 10 6 m 2 s 2
Table 2. MAEs of the system noise statistics estimated by LM–KF and LM–RWKF.
Table 2. MAEs of the system noise statistics estimated by LM–KF and LM–RWKF.
Filtering MethodsMeasurement Noise MeanMeasurement Noise Covariance
LM–KF0.564 m 8.137   m 2
LM–RWKF0.161 m 1.061   m 2
Table 4. Moving object’s position MAEs by KF, LM–KF and LM–RWKF.
Table 4. Moving object’s position MAEs by KF, LM–KF and LM–RWKF.
Filtering MethodsMAE
KF8.515 m
LM–KF4.953 m
LM–RWKF1.235 m
Table 5. The parameters of the BDS / MEMS IMU integrated navigation system.
Table 5. The parameters of the BDS / MEMS IMU integrated navigation system.
SensorsError SourcesValues (1σ)
IMUGyro constant drift0.1°/h
Gyro white noise0.05°/h
Accelerometer zero bias 1   ×   10 3 g
Accelerometer white noise 1   ×   10 4 g
BDS receiverData update rate1 Hz
Positioning accuracy15 m
Velocity accuracy0.05 m/s
Table 6. Initial position parameters.
Table 6. Initial position parameters.
ParametersValue
Initial positionEast longitude108°46′05.89″
North latitude34°01′41.24″
Altitude2 m
Initial velocityEast0 m/s
North120 m/s
Up0 m/s
Initial position errorEast longitude10 m
North latitude10 m
Altitude12 m
Initial velocity errorEast0.5 m/s
North0.5 m/s
Up0.5 m/s
Table 7. MAEs by KF, LM–KF, and LM–RWK for the UAV position.
Table 7. MAEs by KF, LM–KF, and LM–RWK for the UAV position.
Filtering MethodsMAE
KF13.612 m
LM–KF8.587 m
LM–RWKF2.421 m
Table 3. MAEs of the process noise statistics estimated by LM–KF and LM–RWKF.
Table 3. MAEs of the process noise statistics estimated by LM–KF and LM–RWKF.
Filtering MethodsMeasurement Noise MeanMeasurement Noise Covariance
LM–KF0.122 m 1.114   m 2
LM–RWKF0.057 m 0.369   m 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

Gao, Z.; Zong, H.; Zhong, Y.; Gao, G. Limited Memory-Based Random-Weighted Kalman Filter. Sensors 2024, 24, 3850. https://doi.org/10.3390/s24123850

AMA Style

Gao Z, Zong H, Zhong Y, Gao G. Limited Memory-Based Random-Weighted Kalman Filter. Sensors. 2024; 24(12):3850. https://doi.org/10.3390/s24123850

Chicago/Turabian Style

Gao, Zhaohui, Hua Zong, Yongmin Zhong, and Guangle Gao. 2024. "Limited Memory-Based Random-Weighted Kalman Filter" Sensors 24, no. 12: 3850. https://doi.org/10.3390/s24123850

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