Skip to main content
Sensors (Basel, Switzerland) logoLink to Sensors (Basel, Switzerland)
. 2024 Jun 14;24(12):3850. doi: 10.3390/s24123850

Limited Memory-Based Random-Weighted Kalman Filter

Zhaohui Gao 1,*, Hua Zong 2, Yongmin Zhong 3,*, Guangle Gao 4
Editor: Sylvain Girard
PMCID: PMC11207332  PMID: 38931637

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.

Keywords: Kalman filter, limited memory, random weighting estimation, noise statistics, unbiased 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 x1,x2,,xn 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:

Fnx=1ni=1NIXix (1)

where IXix is the indicator function.

The random weight estimate of Fnx can be defined as follows:

Tnx=i=1NλiIXix (2)

where the random-weighted vector λ1,λ2,,λn obeys Dirichlet distribution D(1,1,,1), that is, i=1Nλi=1 and the joint density function of λ1,λ2,,λn1 is f(λ1,λ2,,λn1)=Γ(n), in which Γ denotes the function, λ1,λ2,,λn1Dn1 and Dn1=λ1,λ2,,λn1:λi0,i=1,2,n1,i=1Nλi=1.

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

Consider the following dynamic discrete system:

xk+1=Φkxk+wkyk=Hkxk+vk (3)

where xkRn is the n-dimensional system state vector at time k, ykRm the m-dimensional measurement vector, Φk the system state transition matrix, Hk the system measurement matrix, wk the system process noise, and vk the measurement noise.

Suppose the statistics of system process noise wk are unknown, i.e.,

Ewk=akcov(wk,wj)=EwkwjT=Akδkj (4)

where ak and Ak0 are the unknown mean and covariance of the process noise, and δkj is the Kronecker−δ function.

Suppose the statistical properties of measurement noise vk are unknown, i.e.,

Evk=bkcov(vk,vj)=EvkvjT=Bkδkj (5)

where bk and Bk0 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 Nj=1,2,,N, the arithmetic mean estimation of the measurement noise mean can be expressed as follows:

b^k=1Nj=1Nbkj (6)

Applying the random-weighted concept to Equation (6), the random-weighted estimation of the measurement noise mean is as follows:

b^k=j=1Nλjbkj (7)

In the limited memory period, the arithmetic mean estimation of the measurement noise covariance can be expressed as follows:

B^k=1Nj=1Nbkjb^kbkjb^kT (8)

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=1Nλjbkjb^kbkjb^kT (9)

Define the measurement residual as follows:

βk=ykHkx^k (10)

According to the first formula in Equation (3), the measurement residual βk can be written as follows:

βk=ykHkx^k=Hkxk+vkHkx^k=Hkxkx^k+vk=Hkx˜k+vk (11)

where x˜k=xkx^k denotes the state estimation error.

Similarly, in the limited memory period of length Nj=1,2,,N, the arithmetic mean estimation of the process noise mean can be expressed as follows:

a^k=1Nj=1Nakj (12)

The arithmetic mean estimation of the process noise covariance can be expressed as follows:

A^k=1Nj=1Nakja^kakja^kT (13)

Applying the random-weighted concept to Equations (12) and (13), the random-weighted estimation of ak and Ak can be written as follows:

a^k=j=1Nλjakj (14)
A^k=j=1Nλjakja^kakja^kT (15)

Define the process residual as follows:

δk=xk+1Φkx^k (16)

According to the second formula in Equation (3), the process residual δk can be rewritten as follows:

δk=xk+1Φkx^k=(Φkxk+wk)Φkx^k=Φkxkx^k+wk=Φkx˜+wk (17)

According to the KF principle, we have the following:

Dk=PkPkk1=PkΦkPk1ΦkAk (18)

where Dk is the process residual covariance, and Pkk1 is the one-step state estimation error variance, which is expressed as follows:

Pkk1=ΦkPk1Φk+Ak1 (19)

Pk is the state error covariance, which is expressed as follows:

Pk=IKkHkPkk1IKkHkT+B^k (20)

where Kk is filter gain matrix, which is expressed as follows:

Kk=Pkk1HkTHkPkk1HkT+B^k1 (21)

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  bk  and   ak , which are given by (7) and (14), are suboptimally unbiased.

Proof of Theorem 1.

From Equation (7), we have the following:

Eb^k=Ej=1Nλjbkj=j=1NλjEbkjb^k (22)

where j=1Nλ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 bk.

If the measurement noise is constant or involves small variations in the limited memory, i.e., bk=bkj, Equation (22) can be further written as follows:

Eb^k=j=1NλjEbkj=b^k (23)

It is known from Equations (22) and (23) that the random weighting estimation b^k of bk is suboptimally unbiased.

Similarly, from (14), we have the following:

Ea^k=Ej=1Nλjakj=j=1NλjEakjak (24)

It can be seen from Equation (24) that a^k is not the optimal unbiased estimation of ak.

If the process noise is constant or involves small variations in the limited memory, i.e., ak=akj, Equation (24) can be further written as follows:

Ea^k=j=1NλjEakj =ak (25)

It is known from Equations (24) and (25) that the random-weighted estimation a^k of ak is suboptimally unbiased.

The proof of Theorem 1 is completed. □

Theorem 2.

The random-weighted estimations   B^k and  A^k  of  Bk  and  Ak , 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:

Ex˜k=Exkx^k=ExkEx^k=0 (26)

By Equation (11), we have the following:

Eβk=ΕHkx˜k+vk=ΕHkx˜k+Εvk=bk (27)

Calculate the measurement residual covariance:

EβkE(βk)βkE(βk)T=E(βkbk)(βkbk)T=E(βkβkTβkbkTbkβkT+bkbkT)=E(Hkx˜k+vk)(Hkx˜k+vk)TE(Hkx˜k+vk)bkTEbk(Hkx˜k+vk)T+E(bkbkT)=E(Hkx˜kx˜kTHkT)+E(vkbk)(vkbk)T+E(Hkx˜kbkT)+E(vkx˜kTHkT)E(Hkx˜kbkT)E(bkx˜kTHkT)=E(Hkx˜kx˜kTHkT)+Bk+E(Hkx˜kvkT)+E(vkx˜kTHkT)E(Bkx˜kbkT)E(bkx˜kTHkT) (28)

where Bk=E(vkbk)(vkbk)T.

Since x˜k and vk are independent each other, by Equation (26), we have the following:

E(Hkx˜kvkT)=E(vkx˜kTHkT)=0 (29)

and the following:

E(Hkx˜kbkT)=E(bkx˜kTHkT)=0 (30)

Substituting Equations (29) and (30) into (28) yields the following:

E(βkbk)(βkbk)T=E(Hkx˜kx˜kTHkT)+Bk=HkPkHkT+Bk (31)

where Pk=Ex˜kx˜kT is the state error covariance at time k.

From Equation (31), in the limited memory, the arithmetic mean estimation of Bk can be calculated as follows:

B^k=1Nj=1NBkj=1Nj=1N(βkjb^kj)(βkjb^kj)THkjPkjHkjT (32)

The random-weighted estimation of Bk can be written as follows:

B^k=j=1Nλj(βkjb^kj)(βkjb^kj)THkjPkjHkjT (33)

Taking the mathematical expectation on both sides of Equation (33) generates the following:

EB^k=j=1NλjE(βkjb^kj)(βkjb^kj)THkjPkjHkjT=j=1NλjHkjPkjHkjT+j=1MλjBkjj=1MλjHkjPkjHkjT=j=1NλjBkjBk (34)

It can be seen from Equation (34) that B^k is not the optimal unbiased estimation of Bk.

If the measurement noise is constant or involves small variations in the limited memory period, i.e., Bk=Bkj, Equation (34) can be further written as follows:

E(B^k)=j=1NλjBkj=j=1NλjBk=Bk (35)

It is known from (34) and (35) that the random-weighted estimation B^k of Bk is suboptimally unbiased.

Now let us study the unbiasedness for the random-weighted estimation A^k of Ak.

According to Equation (17), we have the following:

Eδk=ΕΦkx˜k+wk=ΕΦkx˜k+Εwk=ak (36)

Calculate the process residual covariance:

EδkE(δk)δkE(δk)T=E(δkak)(δkak)T=E(δkδkTδkakTakδkT+akakT)=E(Φkx˜k+wk)(Φkx˜k+wk)TE(Φkx˜k+wk)akTEak(Φkx˜k+wk)T+E(akakT)=E(Φkx˜kx˜kTΦkT)+E(wkak)(wkak)T+E(Φkx˜kwkT)+E(wkx˜kTΦkT)E(Φkx˜kakT)E(akx˜kTΦkT)=E(Φkx˜kx˜kTΦkT)+Ak+E(Φkx˜kwkT)+E(wkx˜kTΦkT)E(Φkx˜kakT)E(akx˜kTΦkT) (37)

where Ak=E(wkak)(wkak)T.

Since x˜k and wk are independent each other, according to Equation (26), we have the following:

E(Φkx˜kwkT)=E(wkx˜kTΦkT)=0 (38)

and the following:

E(Φkx˜kakT)=E(akx˜kTΦkT)=0 (39)

Substituting Equations (38) and (39) into Equation (37) yields the following:

E(δkak)(δkak)T=E(Φkx˜kx˜kTΦkT)+Ak=ΦkPkΦkT+Ak (40)

where Pk=Ex˜kx˜kT is the state error covariance at time k.

The arithmetic mean estimation of Ak can be calculated as

A^k=1Nj=1NAkj=1Nj=1N(δkja^kj)(δkja^kj)TΦkjPkjΦkjT (41)

By Equation (41), the random-weighted estimation of Ak can be written as follows:

A^k=j=1Nλi(δkja^kj)(δkja^kj)TΦkjPkjΦkjT (42)

Taking the mathematical expectation on both sides of Equation (42) generates the following:

EA^k=j=1NλiE(δkja^kj)(δkja^kj)TΦkjPkjΦkjT=j=1NλjΦkjPkjΦkjT+j=1MλjAkjj=1MλjΦkjPkjΦkjT=j=1NλjAkjAk (43)

It can be seen from Equation (43) that A^k is not the optimal unbiased estimation of Ak.

If the process noise is constant or involves small variations in the limited memory, i.e., Ak=Akj, Equation (43) can be further written as follows:

E(A^k)=j=1NλjAkj=j=1NλjAk=Ak (44)

It is known from Equations (43) and (44) that A^k are the random-weighted suboptimal unbiased estimation of Ak.

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:

Figure 1.

Figure 1

Overview diagram of LM-RWKF.

The procedure of the proposed LM-RWKF is as follows:

  • (i)
    Initialize the estimated state and its associated error covariance:
    x^0=E[x0]P0=covx0,x0T=E[(x0x^0)(x0x^0)T] (45)
  • (ii)
    Calculate predicted state vector:
    xk|k1=Φkk1x^k1 (46)
  • (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=xk|k1+KkykHkxkb^k (47)
  • (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:

Px=10t+12axt2Py=10t+12ayt2Pz=10t+12azt2 (48)

where t is time, (Px,Py,Pz) represents the vehicle position, and (ax,ay,az) denotes the vehicle acceleration.

The state vector is as follows:

X=Px,Py,Pz (49)

and the processing noise is expressed as follows:

w=ax,ay,az (50)

The moving object is observed in the three axes:

Lx=Px+vxLy=Py+vyLz=Pz+vz (51)

where (Lx,Ly,Lz) represents the measurement vector, and (vx,vy,vz) 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.

Figure 2.

Figure 2

Trajectory of the moving object.

Table 1.

Initial parameters.

Parameters Value
Initial position East longitude 108.736°
North latitude 34.246°
Altitude 3500 m
Initial velocity East 0 m/s
North 100 m/s
Up 0 m/s
Initial attitude Pitch
Roll
Yaw
Initial position error East longitude 10 m
North latitude 10 m
Altitude 10 m
Initial velocity error East 0.5 m/s
North 0.5 m/s
Up 0.5 m/s
Initial attitude error Pitch 1′
Roll 1′
Yaw 1.5′
Initial variances Position 0.2 m
Velocity 9.0×106m2s2

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:

x0=0.10.10.1,x^0=0.10.10.1 (52)

The initial estimation error covariance was chosen as follows:

P^0=100010001 (53)

The true values and initial estimates of the measurement noise mean and covariance were as follows:

bk=1,1,1,Bk=150001500015 (54)
b^0=0.20.20.2,B^0=0.20000.20000.2 (55)

The true values and initial estimates of the process noise mean and covariance were as follows:

ak=0,0,0,Ak=300030003 (56)
a^0=0,0,0,A^0=100010001 (57)

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 m2, while the MAE by LM–RWKF is 1.061 m2, which is very close to the true value.

Figure 3.

Figure 3

Estimations of the measurement noise mean by LM–KF and LM–RWKF.

Figure 4.

Figure 4

Estimations of the measurement noise covariance by LM–KF and LM–RWKF.

Table 2.

MAEs of the system noise statistics estimated by LM–KF and LM–RWKF.

Filtering Methods Measurement Noise Mean Measurement Noise Covariance
LM–KF 0.564 m 8.137 m2
LM–RWKF 0.161 m 1.061 m2

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 m2. Nevertheless, the MAE of the process noise covariance estimated by LM–RWKF is 0.369 m2, much smaller than that of LM-KF.

Figure 5.

Figure 5

Estimations of the process noise mean by LM–KF and LM–RWKF.

Figure 6.

Figure 6

Estimations of the process noise covariance by LM–KF and LM–RWKF.

Table 3.

MAEs of the process noise statistics estimated by LM–KF and LM–RWKF.

Filtering Methods Measurement Noise Mean Measurement Noise Covariance
LM–KF 0.122 m 1.114 m2
LM–RWKF 0.057 m 0.369 m2

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.

Figure 7.

Figure 7

Moving object’s position errors estimated by KF, LM–KF and LM–RWKF.

Table 4.

Moving object’s position MAEs by KF, LM–KF and LM–RWKF.

Filtering Methods MAE
KF 8.515 m
LM–KF 4.953 m
LM–RWKF 1.235 m

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.

Figure 8.

Figure 8

Comparison of computational load.

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:

Xt=δvE,δvN,δvU,δL,δh,δλ, εx, εy, εz,x,y,zT (58)

where δvE,δvN,δvU 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=FtXt+G(t)w(t) (59)

where Ft is the system function, and w(t) is the system process noise consisting of the gyro’s Gaussian white noise wgx,wgy,wgz and accelerometer’s Gaussian white noise wax,way,waz, i.e.,

w(t)=[wgx,wgy,wgz,wax,way,waz]6×1T (60)

Gt is the coefficient matrix of the system noise and is expressed as follows:

G(t)=Cbn03×303×3Cbn09×309×315×6 (61)

where Cbn 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:

Zpt=HptXt+Vpt=RcosLδλ+nERδL+nNδh+nU (62)

where Hpt is the position measurement matrix, which is expressed as follows:

Hp=03×3  diagR RcosL 1  03×99×15 (63)

Vpt is the position measurement noise, which is expressed as follows:

Vpt=nEnNnUT (64)

where nE, nN, and nU are the position errors of the BDS receiver in the three axes, respectively.

The velocity error measurement equation can be written as follows:

Zvt=HvtXt+Vvt=δvE+nvEδvN+nvNδvU+nvU (65)

where Hvt is the velocity measurement matrix, which is expressed as follows:

Hvt=diag1 1 1 03×129×15 (66)

Vvt is the velocity measurement noise, which is expressed as follows:

Vvt=nvEnvNnvUT (67)

where nvE, nvN, and nvU 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:

Zt=HptHvtXt+VptVvt=HtXt+Vt (68)

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.

Figure 9.

Figure 9

The framework of the experimental 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.

Table 5.

The parameters of the BDS / MEMS IMU integrated navigation system.

Sensors Error Sources Values (1σ)
IMU Gyro constant drift 0.1°/h
Gyro white noise 0.05°/h
Accelerometer zero bias 1 × 103 g
Accelerometer white noise 1 × 104 g
BDS receiver Data update rate 1 Hz
Positioning accuracy 15 m
Velocity accuracy 0.05 m/s
Table 6.

Initial position parameters.

Parameters Value
Initial position East longitude 108°46′05.89″
North latitude 34°01′41.24″
Altitude 2 m
Initial velocity East 0 m/s
North 120 m/s
Up 0 m/s
Initial position error East longitude 10 m
North latitude 10 m
Altitude 12 m
Initial velocity error East 0.5 m/s
North 0.5 m/s
Up 0.5 m/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.

Figure 10.

Figure 10

Vehicle traveling trajectory.

Figure 11.

Figure 11

The position coordinates of the vehicle travelling trajectory.

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.

Figure 12.

Figure 12

Position errors of KF, LM–KF, and LM–RWKF.

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.

Table 7.

MAEs by KF, LM–KF, and LM–RWK for the UAV position.

Filtering Methods MAE
KF 13.612 m
LM–KF 8.587 m
LM–RWKF 2.421 m

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.

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.

Funding Statement

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

Footnotes

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.

References

  • 1.Schmidt S.F. The Kalman filter—Its recognition and development for aerospace applications. J. Guid. Control. 1981;4:4–7. doi: 10.2514/3.19713. [DOI] [Google Scholar]
  • 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. doi: 10.1109/access.2020.2981400. [DOI] [Google Scholar]
  • 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. doi: 10.1109/ACCESS.2020.2979735. [DOI] [Google Scholar]
  • 4.Michalski J., Kozierski P., Zietkiewicz J. Double hybrid Kalman filtering for state estimation of dynamical systems. Computer Appl. Electr. Eng. 2019;28:01051. doi: 10.1051/itmconf/20192801051. [DOI] [Google Scholar]
  • 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. doi: 10.1016/j.ast.2016.10.002. [DOI] [Google Scholar]
  • 6.Yang Y., Xu T. An adaptive kalman filter based on sage windowing weights and variance components. J. Navig. 2003;56:231–240. doi: 10.1017/s0373463303002248. [DOI] [Google Scholar]
  • 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. doi: 10.1002/asjc.2510. [DOI] [Google Scholar]
  • 8.Yang Y., He H., Xu G. Adaptively robust filtering for kinematic geodetic positioning. J. Geod. 2001;75:109–116. doi: 10.1007/s001900000157. [DOI] [Google Scholar]
  • 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. doi: 10.1109/taes.2015.130656. [DOI] [Google Scholar]
  • 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. doi: 10.1016/j.jprocont.2007.11.003. [DOI] [Google Scholar]
  • 11.Abdel-Hafez M.F. The Autocovariance least-squares technique for gps measurement noise estimation. IEEE Trans. Veh. Technol. 2009;59:574–588. doi: 10.1109/tvt.2009.2034969. [DOI] [Google Scholar]
  • 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. doi: 10.1049/iet-smt.2019.0363. [DOI] [Google Scholar]
  • 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. doi: 10.1109/jsen.2019.2941273. [DOI] [Google Scholar]
  • 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. doi: 10.1007/s001900050236. [DOI] [Google Scholar]
  • 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. doi: 10.1016/j.sigpro.2010.05.023. [DOI] [Google Scholar]
  • 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. doi: 10.1002/acs.3570. [DOI] [Google Scholar]
  • 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. doi: 10.1109/tvt.2022.3209091. [DOI] [Google Scholar]
  • 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. doi: 10.1017/s0373463316000692. [DOI] [Google Scholar]
  • 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. doi: 10.1049/iet-smt.2016.0308. [DOI] [Google Scholar]
  • 21.Madeti S.R., Singh S. Online fault detection and the economic analysis of grid-connected photovoltaic systems. Energy. 2017;134:121–135. doi: 10.1016/j.energy.2017.06.005. [DOI] [Google Scholar]
  • 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. doi: 10.1109/lsens.2022.3225235. [DOI] [Google Scholar]
  • 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. doi: 10.1016/j.ast.2017.12.007. [DOI] [Google Scholar]
  • 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. doi: 10.1155/2021/9383678. [DOI] [Google Scholar]
  • 25.Kwon B. Adaptive fading-memory receding-horizon filters and smoother for linear discrete time-varying systems. Appl. Sci. 2022;12:6692. doi: 10.3390/app12136692. [DOI] [Google Scholar]
  • 26.Liu Y., Liu B. Adaptive fading-memory unscented Kalman filter algorithm for passive target tracking. Sens. Lett. 2013;11:2110–2113. doi: 10.1166/sl.2013.2951. [DOI] [Google Scholar]
  • 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. doi: 10.1016/j.ast.2017.05.042. [DOI] [Google Scholar]
  • 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. doi: 10.1109/TAC.1968.1098981. [DOI] [Google Scholar]
  • 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. doi: 10.1109/LSP.2022.3188176. [DOI] [Google Scholar]
  • 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. doi: 10.1002/mop.33249. [DOI] [Google Scholar]
  • 33.Yang Y., Zhang S. Adaptive fitting of systematic errors in navigation. J. Geod. 2005;79:43–49. doi: 10.1007/s00190-005-0441-6. [DOI] [Google Scholar]
  • 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. doi: 10.1155/2019/4160847. [DOI] [Google Scholar]
  • 35.Gao Z., Gu C., Yang J., Gao S., Zhong Y. Random weighting-based nonlinear gaussian filtering. IEEE Access. 2020;8:19590–19605. doi: 10.1109/access.2020.2968363. [DOI] [Google Scholar]
  • 36.Gao S., Zhong Y., Li W. Random weighting method for multi-sensor data fusion. IEEE Sens. J. 2011;11:1955–1961. doi: 10.1109/JSEN.2011.2107896. [DOI] [Google Scholar]
  • 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. doi: 10.1007/s11425-007-2022-z. [DOI] [Google Scholar]
  • 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. doi: 10.1080/03610926.2013.768669. [DOI] [Google Scholar]
  • 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. doi: 10.1016/j.ast.2015.06.029. [DOI] [Google Scholar]
  • 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. doi: 10.1007/s12555-014-0333-8. [DOI] [Google Scholar]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Data Availability Statement

Data are contained within the article.


Articles from Sensors (Basel, Switzerland) are provided here courtesy of Multidisciplinary Digital Publishing Institute (MDPI)

RESOURCES