Method for tracking maneuvering target based on variational filtering of gaussian process regression
By employing Gaussian process regression and variational filtering methods, the problems of unknown process noise and abnormal measurements in maneuvering target tracking are solved, improving the accuracy and robustness of target state estimation and achieving more efficient target tracking.
Patent Information
- Application Number
- CN202310578309.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-22
- Publication Date
- 2026-11-27
- Estimated Expiration
- 2043-05-22
AI Technical Summary
In maneuvering target tracking, existing Kalman filtering methods suffer from decreased tracking accuracy due to unknown system process noise and abnormal measurements, making it difficult to effectively estimate the target state, especially in complex engineering scenarios.
A variational filtering method based on Gaussian process regression is adopted. By using time prediction, measurement threshold processing and variational approximation, the joint posterior distribution of the target state and process noise covariance is updated, abnormal measurements are eliminated and iterative estimation is performed to improve tracking accuracy.
It effectively reduces target tracking error and improves the accuracy of tracking maneuvering targets, especially performing well under unknown process noise and abnormal measurement conditions, and has better tracking effect than traditional methods.
Smart Images

Figure CN116662733B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to a variational filtering maneuvering target tracking method based on Gaussian process regression, and belongs to the field of target tracking. Background Technology
[0002] In maneuvering target tracking, the target can be various moving objects, such as aircraft, vehicles, ships, and pedestrians. Due to the unpredictability of target maneuvering, maneuvering target tracking technology has always been a challenging and hot topic in the field of target tracking. In real-world engineering scenarios of maneuvering target tracking, it is very likely that sufficient prior information cannot be obtained, which can lead to a significant decrease in the performance of tracking methods.
[0003] Kalman filtering is a method for processing a signal over a Gaussian white noise background. It uses state transition equations to represent the input-output relationship of a linear system and estimates the required information parameters from measurement data. Unlike other filtering methods, Kalman filtering does not impose strict requirements on the stationarity of the entire system, nor does it require storing historical data. It only needs to store the current instantaneous observations and estimates of previous instantaneous states, thus reducing memory requirements and computational complexity. Therefore, Kalman filtering is widely used in many applications, including navigation control and target tracking.
[0004] Among the prior information required by Kalman filtering, the system process noise in the state-space model followed by the target is crucial prior information determining the performance of the tracking method. System process noise describes possible system disturbances and time-varying information in the dynamic system. Inaccurate process noise information in the tracking method will increase the estimation error. Furthermore, Kalman filtering assumes that the measurement information is accurate; however, in real-world engineering scenarios, due to environmental changes, abnormal measurement values are unavoidable. These abnormal measurements significantly impact the performance of Kalman filtering-like methods, leading to increased root mean square error in the algorithm's estimation results and poor tracking accuracy. Summary of the Invention
[0005] To address the issues of unknown system process noise and abnormal measurements leading to decreased tracking performance of the Kalman filter method, and to improve tracking accuracy, this invention provides a variational filtering maneuvering target tracking method based on Gaussian process regression. The technical solution is as follows:
[0006] The first objective of this invention is to provide a maneuvering target tracking method, comprising: firstly, using a time prediction method to obtain the predicted posterior distribution of the target state, the predicted posterior distribution of the process noise covariance, and the predicted measurement value; and then using a variational filtering method to update the joint posterior distribution of the target state and the process noise covariance.
[0007] The time prediction method includes: using the Kalman filter method to perform one-step time prediction of the target state and process noise covariance to obtain the predicted posterior distribution of the target state and process noise covariance; and using Gaussian process regression technology to model using historical measurements to predict the current time and obtain the predicted measurement.
[0008] The variational filtering method includes: first, using a measurement thresholding method to detect the current measurement, eliminating abnormal measurements and replacing them with predicted measurements; then, using a variational approximation method to iteratively estimate the joint posterior distribution of the target state and process noise covariance; the variational approximation method ends when the termination condition is met or the number of iterations is reached, and the result at this time is taken as the final joint posterior distribution.
[0009] Optionally, the process by which the time prediction method obtains the posterior distribution of the target state and the posterior distribution of the process noise covariance includes:
[0010] For the current time k, use the mean of the target state x at time k-1. k-1|k-1 Target state covariance P k-1|k-1 and state transition matrix F k The predicted state mean x is calculated through the prediction step of Kalman filtering. k|k-1 and predicted state covariance Σ k :
[0011] x k|k-1 =F k x k-1|k-1
[0012]
[0013] Calculate the prediction degrees of freedom at time k using the inverse Wishart distribution expression. and prediction scale matrix Φ k|k-1 :
[0014]
[0015] Φ k|k-1 =ρΦ k-1|k-1
[0016] in, and Φ k|k Let be the degrees of freedom and scaling matrix of the posterior distribution of the process noise covariance at time k-1.
[0017] Optionally, the process of employing Gaussian process regression includes:
[0018] Using historical measurements at time k {z1, z2, ..., z k-1Using zero-mean and squared exponential covariance functions as training data, hyperparameters are calculated using maximum likelihood estimation to model a Gaussian process. Then, the Gaussian process model is used to predict the measurement at time k to obtain the predicted measurement. Among them, z 1:k-1 ={z1,z2,…,z k-1} represents all measurement data from the start time to time k-1.
[0019] Optionally, the measurement threshold processing method includes:
[0020] Calculate the mean of the new information using the historical new information at time k. Calculate the standard deviation of the new interest rate using historical new interest rates and the mean new interest rate. The measurement threshold T is determined using the standard deviation of the new information. D ;
[0021] If the current measurement z k Greater than or equal to threshold T D The measurement z at the current moment is considered to be k These are outlier measurements; remove them and use robust predictive measurements based on Gaussian process regression. The method continues as the measurement value at the current moment; when the innovation is less than the threshold, i.e., r... k <T D At that time, the measurement z is considered to be at the current moment. k This is a normal measurement; do not process it and continue the procedure.
[0022] Optionally, the measurement threshold T D The calculation method is as follows:
[0023]
[0024]
[0025]
[0026] Where {r1,r2,…,r k-1 Let} be the set of historical updates at time k.
[0027] Optionally, the variational approximation method includes:
[0028] First, perform iterative initialization using the predicted state mean x. k|k-1 Initialize the mean of the iterative hidden variable Using predicted degrees of freedom and prediction scale matrix Φ k|k-1 Initialize iterative degrees of freedom and iterative scaling matrix
[0029] Then, perform iterative updates, using the mean of the latent variables from the previous iteration. and current measurement z k Update the target state x in the current iteration k The posterior distribution q(x) k ); Update the mean of the current iteration's state. And predicted covariance Σ k Update θ in the current iteration k The posterior distribution q(θ) k Using predicted degrees of freedom Prediction scale matrix Φ k|k-1 and the mean of the updated state in the current iteration Update the mean of hidden variables The process noise covariance Q in the current iteration k The posterior distribution q(Q) k Update;
[0030] Finally, the iteration conditions are checked, and the difference between the target states during iteration is less than the threshold δ. x The iteration will terminate when the number of iterations reaches N; otherwise, it will continue.
[0031] Optionally, the specific steps of the iterative update include:
[0032] Use the mean of the inverse Wishart distribution from the previous iteration. Covariance Calculate the estimate A of the process noise covariance matrix within the current iteration. k :
[0033]
[0034] Using the current measurement z k The mean of the latent variables from the previous iteration Calculate the new information:
[0035]
[0036] According to the calculated new interest r k Abnormal measurement threshold T D And GPR predictive measurement Handling abnormal measurement values:
[0037]
[0038] Based on the update steps of Kalman filtering, calculate the Kalman filter gain K. x,k And use the mean of the latent variables from the previous iteration. and current measurement z k Update x in the current iteration k The posterior distribution q(x)k The mean and covariance of ( ):
[0039]
[0040]
[0041] P k|k =A k -K x,k H k A k
[0042] Based on the update steps of Kalman filtering, calculate the Kalman filter gain K. θ,k And use the mean of the updated state in the current iteration. And predicted covariance Σ k Update θ in the current iteration k The posterior distribution q(θ) k The mean and covariance of ( ):
[0043] K θ,k =Σ k (Σ k +A k ) -1
[0044]
[0045]
[0046] Based on the inverse Wishart distribution expression and the Kalman filter update step, the predicted mean of the predicted inverse Wishart distribution is used. Predicted covariance Φ k|k-1 and the mean of the updated state in the current iteration Update the mean of hidden variables For Q in the current iteration k Posterior distribution q(Q) k Update the mean and covariance of ().
[0047]
[0048]
[0049] Optionally, the measurement update iteration may terminate prematurely if the following conditions are met:
[0050]
[0051] Where, δ x It is the threshold for terminating the iteration.
[0052] Optionally, upon termination of the iteration, the filtered mean x of the target state at time k is obtained. k|k Target state filtering covariance P k|k Filtered mean of process noise covariance and filter covariance Φ k|k .
[0053] A second objective of the present invention is to provide a computer-readable storage medium storing computer-executable instructions that, when executed by a processor, implement the maneuvering target tracking method according to any one of the preceding claims.
[0054] The beneficial effects of this invention are:
[0055] (1) This invention uses variational inference technology to solve the problem of unknown process noise in filtering methods by iteratively estimating the joint posterior of the target state and process noise covariance, thereby reducing the target tracking error and achieving better results in root mean square error than Kalman filtering using standard noise parameters, thus improving tracking accuracy.
[0056] (2) This invention uses Gaussian process regression technology to predict measurements using Gaussian models and remove abnormal measurements using threshold methods, which solves the problem of abnormal measurements in tracking maneuvering targets and further improves tracking accuracy. Therefore, this invention achieves better tracking results compared to existing technologies. Attached Figure Description
[0057] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0058] Figure 1 This is an overall flowchart of the variational filtering maneuvering target tracking method based on Gaussian process regression of the present invention.
[0059] Figure 2 This is a diagram of the actual motion trajectory of the target in Experiment 1 of this invention.
[0060] Figure 3 This is a comparison chart of the root mean square error of the target position in Experiment 1 of this invention.
[0061] Figure 4 This is a comparison chart of the root mean square error of the target velocity in Experiment 1 of this invention.
[0062] Figure 5 This is the actual motion trajectory diagram of the target in Experiment 2 of this invention.
[0063] Figure 6 This is a comparison chart of the root mean square error of the target position in Experiment 2 of this invention.
[0064] Figure 7 This is a comparison chart of the root mean square error of the target velocity in Experiment 2 of this invention.
[0065] Figure 8 This is a comparison chart of the average normalized error squared in Experiment 2 of this invention. Detailed Implementation
[0066] To make the objectives, technical solutions, and advantages of the present invention clearer, the embodiments of the present invention will be described in further detail below with reference to the accompanying drawings.
[0067] The relevant content of this application is first introduced as follows:
[0068] 1. Principle of Gaussian Process Regression
[0069] A Gaussian process (GP) is a nonparametric probabilistic model used to model random functions of arbitrary dimensions. It can be viewed as the distribution of a set of random variables, where the joint distribution of any finite number of variables follows a multidimensional Gaussian distribution. Through the derivation of prior and posterior distributions, Gaussian processes can be used for prediction and uncertainty quantification.
[0070] Gaussian Process Regression (GPR) is a method for modeling regression problems using Gaussian processes. In GPR, inputs and outputs are treated as random variables, and it is assumed that the relationship between them can be described by an unknown random function. By using a Gaussian process, this unknown random function can be modeled as a Gaussian distribution, allowing Bayesian inference of the corresponding output and its uncertainty for new inputs.
[0071] (1) Gaussian process prediction
[0072] A Gaussian process is completely defined by its mean function m(u) and covariance function k(u,u′). A Gaussian process is a generalization of the Gaussian distribution, which is typically defined on vectors, while a Gaussian process is defined on functions. A Gaussian process is usually defined as:
[0073]
[0074] Among them, u,u′∈R d Let be random variables. Consider the following model:
[0075] y=f(u)+∈
[0076] Where u is the input vector, f is the function, and y is a measurement containing additive noise. Therefore, the prior distribution of the measured value y is:
[0077]
[0078] Measured value y and predicted value f * The joint prior distribution is:
[0079]
[0080] Where, K(U,U)=K n =(k ij ) is an n×n covariance matrix, with matrix element k ij =k(u i ,u j ) is used to measure u i and u j Correlation between them; K(U,u) * )=K(u * ,U) T It is test point u * The covariance matrix of size n×1 between k(u) and the training set U; * ,u * ) is the test point u * covariance; I n It is an n-dimensional identity matrix. From this, the predicted value f can be obtained. * The posterior distribution:
[0081]
[0082]
[0083]
[0084] in, It is test point u * Corresponding predicted value f * The mean and variance of.
[0085] (2) Gaussian process training
[0086] If sufficient prior information about the dataset is available, the prior mean and covariance function can be precisely specified. However, in machine learning applications, scenarios with detailed prior information are not typical. For Gaussian process techniques to be valuable in practice, it is essential to be able to choose between different means and covariance functions based on the data. This process is called training a Gaussian process model.
[0087] For Gaussian process regression, various covariance functions can be chosen, among which the most commonly used covariance function is the squared exponential covariance, i.e.:
[0088]
[0089] in, M represents the variance of the measurement data, M = diag(l 2 ), l represents the scale, parameter set These are typically referred to as hyperparameters and can be obtained using the maximum likelihood estimation method. First, determine the negative log-likelihood function L(θ) = -logp(y|x,θ) for the training data and take its partial derivative with respect to the hyperparameter θ. Then, minimize the partial derivative using optimization methods such as the conjugate gradient method to obtain the optimal solution for the hyperparameters. The negative log-likelihood function L(θ) has the following form:
[0090]
[0091] in, The partial derivative of L(θ) with respect to θ is:
[0092]
[0093] in,
[0094] 2. Variational Bayesian Filtering Principle
[0095] Variational Bayesian inference (VBA) is an application of variational methods in statistical inference, capable of iteratively estimating the local optimum of the posterior distribution of latent variables in a probabilistic model. VBA uses mean-field theory to expand the posterior of latent variables dimensionally to obtain a computational framework, and iteratively updates the estimation results dimensionally until the method converges. VBA is a probabilistic method that can handle noise and uncertainty. It can effectively approximate complex integrals, but a suitable conjugate prior model of the latent variables must be determined. Assume the system state follows a Gaussian distribution:
[0096]
[0097] Where, x k|k-1 =F k x k-1|k-1 and
[0098] The conjugate prior distribution of the covariance of a multivariate Gaussian distribution is an inverse Wishart distribution; therefore, the inverse Wishart distribution can be used to represent the unknown process noise covariance Q. k The prior distribution it satisfies. However, the unknown process noise covariance Q is... k Only system state x kA portion of the covariance of the Gaussian distribution it follows. To decompose the covariance matrix P... k|k-1 Introducing the intermediate latent variable θ k Rewrite the above formula as:
[0099]
[0100] in,
[0101] Assuming the unknown process noise covariance Q k Since the noise covariance follows a Gaussian distribution, and using the inverse Wishart distribution as its prior distribution, the distribution that the unknown process noise covariance satisfies can be expressed as:
[0102]
[0103] in, This indicates that Q follows a set of degrees of freedom. The inverse Wishart distribution with inverse scaling matrix Φ.
[0104] Assume the initial process noise covariance Q0 follows an inverse Wishart distribution. Based on the expression for the inverse Wishart distribution, the mean of the initial process noise covariance Q0 can be expressed as:
[0105]
[0106]
[0107] Where ε is the tuning parameter. Then the posterior probability distribution of the process noise transition, p(Q... k |Q k-1 It can be defined as:
[0108]
[0109] Φ k|k-1 =ρΦ k-1
[0110] Where ρ∈[0,1] is the forgetting factor.
[0111] To estimate the system state x k Unknown process noise covariance Q k and latent variable θ k It is necessary to calculate their joint posterior probability density function p(x) k ,θ k Q k |z 1:k This joint posterior usually cannot be solved analytically, but it can be approximated using variational Bayesian inference techniques. This can be achieved through mean-field approximation.
[63] We can obtain:
[0112] p(x k ,θ k Q k |z 1:k )≈q(x k ,θ k Q k )≈q(x k )q(θ k )q(Q k )
[0113] Variational Bayesian inference techniques can transform the inference problem into minimizing p(x). k ,θ k Q k |z 1:k ) and q(x k ,θ k Q k The problem of optimizing the KL divergence between z and logp(z) is as follows. Due to the non-negativity of the KL divergence, minimizing the KL divergence is equivalent to finding the KL divergence that minimizes logp(z). k The lower bound of evidence (ELBO) Maximize the joint posterior q(x) k ,θ k Q k ),Right now in for:
[0114]
[0115] Coordinate ascent is a non-gradient optimization method that searches along a coordinate direction in each iteration, repeatedly using different coordinate methods to reach a local maximum of the objective function. Coordinate ascent can be used to solve certain optimization problems, such as variational inference. By using coordinate ascent, we can obtain:
[0116]
[0117]
[0118]
[0119] Where c is a constant, the joint probability density function logp(x) can be expressed using the above equation. k ,θ k Q k ,z k |z 1:k-1 It can be decomposed into the following form:
[0120]
[0121] In order to update state x k Solve for the mean x of its posterior distribution. k|k The covariance matrix P k|k x can be k The logarithmic expression of the posterior distribution is:
[0122]
[0123] make Taking the exponentiation of both sides of the above equation, we get the following equation:
[0124]
[0125] The system state x can be seen from the above formula. k The posterior probability density function also follows a Gaussian distribution, and its mean and covariance matrix are x and x, respectively. k|k and P k|k Both can be calculated through the update steps of Kalman filtering. First, the process noise matrix A is calculated through iteration. k and measurement noise matrix R k Calculate the Kalman gain K x,k Then, the updated filter state x is calculated using the Kalman gain. k|k and filter covariance P k|k :
[0126]
[0127]
[0128] P k|k =A k -K x,k H k A k
[0129] To update the latent variable θ k Solve for the mean θ of its posterior distribution. k|k The covariance matrix P θ,k|k θ k The logarithmic expression of the posterior distribution is:
[0130]
[0131]
[0132] Applying exponentiation to both sides of the above equation yields the following equation:
[0133]
[0134] The above equation reveals the hidden variable θ. k The posterior probability density function also follows a Gaussian distribution, and its mean and covariance matrix are θ, respectively. k|k and P θ,k|k Both can be calculated using Kalman filtering, first by iterating through the process noise matrix A. k And the latent variable prediction covariance matrix Σ k Calculate the Kalman gain K θ,k Then, the updated latent variable mean θ is calculated using Kalman gain. k|k Covariance P θ,k|k :
[0135] K θ,k =Σ k (Σ k +A k ) -1
[0136]
[0137] P θ,k|k =Σ k -K θ,k Σ k
[0138] After solving the joint posterior q(x) separately k ,θ k Q k ) in x k and θ k After obtaining the posterior distribution, in order to update Q k Next, we need to calculate the mean of its posterior distribution. And covariance matrix Φ k|k Q can be k The logarithmic expression of the posterior distribution is:
[0139]
[0140] in:
[0141]
[0142] The inverse Wishart distribution takes the form of:
[0143]
[0144] Where Q and Φ are both n×n positive definite matrices. Taking the logarithm of both sides of the above equation, we get:
[0145]
[0146]
[0147] Therefore, the inverse matrix Follows Wishart distribution Its mean is:
[0148]
[0149] 3. Kalman Filtering Principle
[0150] Kalman filtering can be summarized in three points:
[0151] A. Calculate the new prior state estimate and prior error estimate using the optimal estimated state and optimal estimate error of the previous frame;
[0152] B. Calculate the Kalman gain using the prior error estimate and measurement noise of the current frame;
[0153] C. Then, the optimal state estimate for the current frame is calculated using the gain and prior state estimate.
[0154] The process is as follows:
[0155] 1) Prediction
[0156] x k|k-1 =F k x k-1|k-1 +B k α
[0157]
[0158] Among them, F k B is the state transition function. k α can be considered as a control variable, P k|k-1 For posterior error estimation, Q k Let be the process noise covariance.
[0159] 2) Update
[0160]
[0161] x k|k =x k|k-1 +B k α
[0162] P k|k =(IK k H k )P k|k-1
[0163] Among them, H k S is the measurement function. k K is the covariance matrix between the actual and estimated values. kThis is the calculated Kalman gain.
[0164] Example 1:
[0165] This embodiment provides a maneuvering target tracking method, including: firstly, using a time prediction method to obtain the predicted posterior distribution of the target state, the predicted posterior distribution of the process noise covariance, and the predicted measurement value; and then using a variational filtering method to update the joint posterior distribution of the target state and the process noise covariance.
[0166] The time prediction methods include: using Kalman filtering to perform one-step time prediction of the target state and process noise covariance to obtain the predicted posterior distribution of the target state and process noise covariance; and using Gaussian process regression to model using historical measurements and predict the current time to obtain the predicted measurement.
[0167] The variational filtering method includes: first, using a measurement thresholding method to detect the current measurement, eliminating abnormal measurements and replacing them with predicted measurements; then, using a variational approximation method to iteratively estimate the joint posterior distribution of the target state and process noise covariance; the variational approximation method ends when the termination condition is met or the number of iterations is reached, and the result at this time is taken as the final joint posterior distribution.
[0168] Example 2:
[0169] This embodiment provides a variational filtering maneuvering target tracking method based on Gaussian process regression. See the flowchart below. Figure 1 The method includes:
[0170] Step 1: Parameter Initialization
[0171] For the initial time k=1, the target state mean x is initialized using the measurement z1 at time k=1. k|k and target state covariance P k|k Set the initialization parameter τ to 10, and use τ to initialize the mean noise of the process. Covariance Φ k|k Set the attenuation factor to 0.9999, the upper limit of variational filtering iterations to 10, and the iteration termination threshold to 10. -6 .
[0172] Step Two: Time Prediction
[0173] For the current time k, use the mean of the target state x at time k-1. k-1|k-1 Target state covariance P k-1|k-1 and state transition matrix F k The predicted state mean x is calculated through the prediction step of Kalman filtering. k|k-1 and predicted state covariance Σ k :
[0174] x k|k-1 =F k x k-1|k-1
[0175]
[0176] Degrees of freedom of the posterior distribution of the process noise covariance at time k-1 and scale matrix Φ k|k The predicted degrees of freedom are calculated using the inverse Wishart distribution expression. and prediction scale matrix Φ k|k-1 :
[0177]
[0178] Φ k|k-1 =ρΦ k-1|k-1
[0179] Using historical measurements at time k {z1, z2, ..., z k-1 Using zero-mean and squared exponential covariance functions as training data, hyperparameters are calculated using maximum likelihood estimation to model a Gaussian process. Then, the Gaussian process model is used to predict the measurement at time k to obtain the predicted measurement.
[0180] Using the historical information at time k {r1, r2, ..., r k-1 Calculate the abnormal measurement threshold T D :
[0181]
[0182]
[0183]
[0184] Step 3: Measurement Update
[0185] 3.1 Iterative Initialization
[0186] Set the iteration count i to 1 and initialize the latent variable iteration mean with the predicted state mean. Initialize the iteration parameters using the predicted degrees of freedom. Initialize the iteration parameters using the prediction scaling matrix.
[0187] 3.2 Iterative Update
[0188] Use the mean of the inverse Wishart distribution from the previous iteration. Covariance Calculate the estimate A of the process noise covariance matrix within the current iteration.k :
[0189]
[0190] Using the current measurement z k and the mean of the latent variables from the previous iteration Calculate the new information:
[0191]
[0192] According to the calculated new interest r k Abnormal measurement threshold T D And GPR predictive measurement Handling abnormal measurement values:
[0193]
[0194] Based on the update steps of Kalman filtering, calculate the Kalman filter gain K. x,k and using the mean of the latent variables from the previous iteration. and current measurement z k Update x in the current iteration k The posterior distribution q(x) k The mean and covariance of ( ):
[0195]
[0196]
[0197] P k|k =A k -K x,k H k A k
[0198] Based on the update steps of Kalman filtering, calculate the Kalman filter gain K. θ,k And use the mean of the updated state in the current iteration. And predicted covariance Σ k Update θ in the current iteration k The posterior distribution q(θ) k The mean and covariance of ( ):
[0199] K θ,k =Σ k (Σ k +A k ) -1
[0200]
[0201]
[0202] Based on the inverse Wishart distribution expression and the Kalman filter update step, the predicted mean of the predicted inverse Wishart distribution is used. Predicted covariance Φ k|k-1 and the mean of the updated state in the current iteration Update the mean of hidden variables For Q in the current iteration k Posterior distribution q(Q) k Update the mean and covariance of ().
[0203]
[0204]
[0205] The measurement update iteration will terminate prematurely when the following conditions are met:
[0206]
[0207] Where, δ x It is the threshold for terminating the iteration.
[0208] Finally, at the end of the iteration, the filtered mean value x of the target state at time k is obtained. k|k Target state filtering covariance P k|k Filtered mean of process noise covariance and filter covariance Φ k|k .
[0209] To verify the variational filtering method based on Gaussian process regression proposed in this application, the following experiment was conducted:
[0210] 1. Experimental conditions and evaluation indicators
[0211] The method described in this application was implemented using MATLAB R2022a and ran on a personal desktop computer with an Intel Core i5-12400F 2.5GHz processor and 32GB of memory. The performance evaluation metrics used in the experiment were the root mean square error (RMSE) and the average normalized error squared (ANEES) of the target's position and velocity, defined as follows:
[0212] 1) Root Mean Square Error (RMSE)
[0213]
[0214]
[0215] Where, Ns It is the number of Monte Carlo simulations, x k x k,t , and These are the estimated position, actual position, estimated velocity, and actual velocity in the x-direction, respectively; and the y-direction... k y k,t , and These are the estimated position, actual position, estimated velocity, and actual velocity in the y-direction, respectively.
[0216] The root mean square error (RMSE) reflects the deviation between the predicted value and the true value. The lower the RMSE, the closer the predicted value is to the true value.
[0217] 2) Average Normalized Squared Error (ANEES)
[0218]
[0219] Where, N s It is the total number of Monte Carlo simulations, x k This is the actual state. Here, ANEES represents the estimated state, and P represents the estimated covariance matrix. ANEES describes the stability and consistency of the filtering method; the closer the ANEES value is to the dimension of the estimated state, the better the consistency and stability of the filtering method.
[0220] 2. Experiment and Results Analysis
[0221] The method of this invention is compared with the VBAKF method proposed by Huang Y et al. in their 2018 paper "A Novel Adaptive Kalman Filter With Inaccurate Process and Measurement Noise Covariance Matrices", the KF (KF-NC) method using standard process noise covariance, and the KF (KF-TC) method using real process noise covariance.
[0222] The specific experiments evaluated the performance of the method of the present invention from two aspects: unknown process noise and abnormal measurement. The experimental results are as follows:
[0223] Experiment 1: Unknown process noise
[0224] The objective of Experiment 1 is to test the performance of the method proposed in this invention under a scenario with unknown process noise covariance. The initial target position in Experiment 1 is [234.92km, 85.50km]. T The target's initial velocity is [-141.4 m / s, -141.4 m / s].T The sampling period T = 3s, the sampling duration is 600s, a total of 200 measurements are obtained, and a total of 200 Monte Carlo simulation experiments are conducted.
[0225] Measurement noise covariance matrix Where σ r =50m and σ θ =1°. The process noise covariance matrix Q is given in time-varying noise form:
[0226]
[0227] Where, σ v = 1 m / s.
[0228] The target's maneuver trajectory can be divided into the following four stages:
[0229] ① It moves at a constant linear speed between 1s and 200s;
[0230] ② A right turn with a turning angular velocity ω = -0.05 rad / s is performed between 200 s and 218 s;
[0231] ③Then it moves at a constant linear speed between 218s and 480s;
[0232] ④ It made a left turn with a turning angular velocity ω = 0.022 rad / s between 480s and 600s.
[0233] The target's true trajectory is as follows Figure 2 As shown, the circle marks the target's initial position, and the curve represents the target's trajectory.
[0234] Table 1 compares the root mean square errors of position and velocity for various methods in Experiment 1. Figure 3 and Figure 4 As shown.
[0235] From Table 1, Figure 3 and Figure 4 It can be observed that the unknown process noise covariance has a significant impact on Kalman filtering. When the uncertainty contained in the unknown process noise covariance is large, it may lead to a rapid decline in the performance of Kalman filtering. The VBAKF method can estimate the process noise covariance to a certain extent, and its performance is more significant in target velocity estimation, outperforming the KF-NC method which uses standard process noise. Its performance in target position estimation is slightly better than that of the KF-NC method.
[0236] Table 1 Comparison of root mean square errors of target position and velocity
[0237]
[0238] The proposed method achieves performance close to that of the KF-TC method, which uses the true process noise covariance, in terms of root mean square error of location, but significantly lower than the VBAKF method. It also possesses almost the same estimation accuracy as the KF-TC method in terms of location. This result is largely attributed to the modeling and updating method for the unknown process noise covariance in this invention, which enables the method to be robust to unknown uncertainties.
[0239] Even when the target system's process noise is complex, unknown, and time-varying, the method of this invention still achieves good tracking performance, improving its usability. Regarding the root mean square error of velocity, the method of this invention performs slightly worse than the KF-TC method using real noise, but is still far better than the KF-NC method using standard process noise.
[0240] Experiment 2: Abnormal Measurement
[0241] The objective of Experiment 2 is to test the performance of the method of this invention when there are abnormal measurements. In Experiment 2, some normal measurements in the measurement set were replaced with abnormal measurements to test the ability of the proposed method to handle abnormal measurements.
[0242] In Experiment 2, the initial target position was [234.92km, 85.50km]. T The target's initial velocity is [-141.4 m / s, -141.4 m / s]. T The sampling period T = 3s, the sampling duration is 600s, a total of 200 measurements were obtained, and 200 Monte Carlo simulation experiments were conducted. Measurement noise covariance matrix. Where σ r =50m and σ θ =1°. The process noise covariance matrix Q is given in the form of time-varying noise, and its expression is the same as that in Experiment 1.
[0243] The target's maneuver trajectory can be divided into the following four stages:
[0244] ① It moves at a constant linear speed between 1 second and 150 seconds;
[0245] ② A right turn with a turning angular velocity ω = -0.033 rad / s is performed between 150 s and 218 s;
[0246] ③ It moves at a constant linear speed between 218s and 480s;
[0247] ④ Finally, a left turn with a turning angular velocity ω = 0.02 rad / s is performed between 480s and 600s.
[0248] After the measurements are generated, the normal measurements at 60s, 150s, 300s, and 420s are replaced with abnormal measurements.
[0249] The target's true trajectory is as follows Figure 5 As shown, the circle marks the target's initial position, and the curve represents the target's trajectory.
[0250] Figure 6 and Figure 7 The middle section compares the root mean square errors of position and velocity for various methods in Experiment 2. From... Figure 6 It can be observed that the root mean square error of the position of the VBAKF method fluctuates significantly. This is because abnormal measurements were added in Experiment 2, and the VBAKF method did not handle these abnormal measurements. Abnormal measurements also lead to a decrease in the overall performance of the VBAKF method. At some times, the performance of the VBAKF method is similar to that of the KF-NC method, while at other times its performance is even far inferior to that of the KF-NC method.
[0251] from Figure 6 and Figure 7 As can be observed, the overall root mean square error curve of the method of this invention is smooth with small fluctuations, and its performance is significantly better than that of the KF-NC and VBAKF methods, and close to that of the KF-TC method using real process noise. This is because the method of this invention uses GPR technology and thresholding to handle abnormal measurements, which improves the robustness of the method. At the same time, the variational technique enables the proposed method to adapt to unknown time-varying process noise, and the method performance is stable.
[0252] Figure 8 The table below compares the ANEES of various methods in Experiment Scenario 2. It can be seen that the stability and consistency of the method of this invention are better than other methods. This is due to the abnormal measurement processing part based on GPR in the method of this invention, which makes the method of this invention insensitive to abnormal measurement values.
[0253] Therefore, as can be seen from Experiment 1 and Experiment 2, the variational filtering maneuvering target tracking method based on Gaussian process regression proposed in this application can handle the uncertainty and abnormal measurement values contained in the unknown process noise covariance by using Gaussian process regression for modeling and prediction, using threshold processing method to handle abnormal measurements, and using variational inference technique to iteratively estimate the joint posterior of target state and process noise. This improves the tracking accuracy, robustness and versatility of the method of this invention.
[0254] Some steps in the embodiments of the present invention can be implemented using software, and the corresponding software program can be stored in a readable storage medium, such as an optical disc or a hard disk.
[0255] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the protection scope of the present invention.
Claims
1. A method for tracking a maneuvering target, characterized in that, The method includes: firstly, using a time prediction method to obtain the predicted posterior distribution of the target state, the predicted posterior distribution of the process noise covariance, and the predicted measurement value; then, using a variational filtering method to update the joint posterior distribution of the target state and the process noise covariance. The time prediction method includes: using the Kalman filter method to perform one-step time prediction of the target state and process noise covariance to obtain the predicted posterior distribution of the target state and process noise covariance; and using Gaussian process regression technology to model using historical measurements to predict the current time and obtain the predicted measurement. The variational filtering method includes: first, using a measurement thresholding method to detect the current measurement, eliminating abnormal measurements and replacing them with predicted measurements; then, using a variational approximation method to iteratively estimate the joint posterior distribution of the target state and process noise covariance; the variational approximation method ends when the termination condition is met or the number of iterations is reached, and the result at this time is taken as the final joint posterior distribution. The measurement threshold processing method includes: use Historical news average calculation at time point The standard deviation of the new interest rate is calculated using historical new interest rates and the mean new interest rate. The measurement threshold is determined using the standard deviation of the new information. : ; If the current measurement Greater than or equal to the threshold The measurement at the current moment is considered to be These are outlier measurements; remove them and use robust predictive measurements based on Gaussian process regression. The method continues as the measurement value at the current moment; when the innovation is less than the threshold, i.e. At that time, the measurement is considered to be at the current moment. This is a normal measurement; do not process it and continue the procedure.
2. The method for tracking maneuvering targets according to claim 1, characterized in that, The process by which the time prediction method obtains the posterior distribution of the target state and the posterior distribution of the process noise covariance includes: For the current moment ,use Mean of target state at time 1 Target state covariance and state transition matrix The predicted state mean is calculated through the prediction step of Kalman filtering. and predicted state covariance : Calculated using the inverse Wishart distribution expression Degrees of freedom for prediction at any time and prediction scale matrix : in, and for The degrees of freedom and scaling matrix of the posterior distribution of the time-matter process noise covariance.
3. The method for tracking maneuvering targets according to claim 1, characterized in that, The process of employing Gaussian process regression includes: use Historical measurement of time As training data, a zero-mean function and a squared exponential covariance function were used. Hyperparameters were calculated using the maximum likelihood estimation method to model a Gaussian process. Then, the Gaussian process model was used to... Predictive measurements are obtained by measuring time. ,in, , from the start time to All measurement data at any given time.
4. The method for tracking maneuvering targets according to claim 1, characterized in that, The variational approximation method includes: First, perform iterative initialization using the predicted state mean. Initialize the mean of the iterative hidden variable Using predicted degrees of freedom and prediction scale matrix Initialize iterative degrees of freedom and iterative scaling matrix ; Then, perform iterative updates, using the mean of the latent variables from the previous iteration. and current measurement Update the target state in the current iteration posterior distribution Update the mean of the current iteration's state. and predicted covariance Updating the current iteration posterior distribution Using predicted degrees of freedom Prediction Scale Matrix and the mean of the updated state in the current iteration Update the mean of hidden variables For the process noise covariance in the current iteration posterior distribution Update; Finally, the iteration conditions are checked, and the difference between the target states during iteration is less than the threshold. Or the number of iterations reaches If the iteration terminates, the iteration continues; otherwise, the iteration continues.
5. The maneuvering target tracking method according to claim 4, characterized in that, The specific steps of the iterative update include: Use the mean of the inverse Wishart distribution from the previous iteration. Covariance Calculate the estimate of the process noise covariance matrix within the current iteration. : Use the current measurement The mean of the latent variables from the previous iteration Calculate the new information: According to the calculated new information Abnormal measurement threshold And GPR predictive measurement Handling abnormal measurement values: Calculate the Kalman filter gain based on the update steps of the Kalman filter. and using the mean of the latent variables from the previous iteration. and current measurement Updating the current iteration posterior distribution Mean and covariance: Calculate the Kalman filter gain based on the update steps of the Kalman filter. And use the mean of the updated state in the current iteration. and predicted covariance Updating the current iteration posterior distribution Mean and covariance: Based on the inverse Wishart distribution expression and the Kalman filter update step, the predicted mean of the predicted inverse Wishart distribution is used. Predicting covariance and the mean of the updated state in the current iteration Update the mean of latent variables For the current iteration Posterior distribution Update the mean and covariance: 。 6. The maneuvering target tracking method according to claim 5, characterized in that, The measurement update iteration will terminate prematurely when the following conditions are met: in, It is the threshold for terminating the iteration.
7. The maneuvering target tracking method according to claim 6, characterized in that, When the iteration terminates, we obtain Filtered mean of target state at time step Target state filtering covariance Filtered mean of process noise covariance and filter covariance .
8. A computer-readable storage medium storing computer-executable instructions that, when executed by a processor, implement the maneuvering target tracking method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Variational Bayesian self-adaptive filtering method
CN108763167A
