Literature DB >> 35632023

Research on the Error of Global Positioning System Based on Time Series Analysis.

Lijun Song1, Lei Zhou1, Peiyu Xu1, Wanliang Zhao2,3, Shaoliang Li2,3, Zhe Li1.   

Abstract

Due to the poor dynamic positioning precision of the Global Positioning System (GPS), Time Series Analysis (TSA) and Kalman filter technology are used to construct the positioning error of GPS. According to the statistical characteristics of the autocorrelation function and partial autocorrelation function of sample data, the Autoregressive (AR) model which is based on a Kalman filter is determined, and the error model of GPS is combined with a Kalman filter to eliminate the random error in GPS dynamic positioning data. The least square method is used for model parameter estimation and adaptability tests, and the experimental results show that the absolute value of the maximum error of longitude and latitude, the mean square error of longitude and latitude and average absolute error of longitude and latitude are all reduced, and the dynamic positioning precision after correction has been significantly improved.

Entities:  

Keywords:  Autoregressive (AR) model; Global Positioning System (GPS); Kalman filtering; Time Series Analysis (TAS); positioning precision

Mesh:

Year:  2022        PMID: 35632023      PMCID: PMC9145276          DOI: 10.3390/s22103614

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


1. Introductions

The United States was the first country to start the new generation of space satellite navigation and position system. Subsequently, Russia and China have studied global navigation positioning systems and developed them rapidly. The research and development of GPS was to serve military needs and, as early as 1972, the United States Navy transit project and the Air Force 621B project realized the application of GPS. With the development of economic globalization, smart phones, vehicles and ships, which are based on the combination of GPS and modern technology, have gradually penetrated into people’s daily life [1]. A country’s important national infrastructure needs a perfect and stable Global Positioning System, and the precision is an important parameter in the development of GPS [2]. At present, there are two methods to improve the positioning precision of GPS. The first is to use the Differential Global Positioning System (DGPS) [3]. However, this method has several limitations: (1) the equipment limitations: the receiver of a differential signal must be used in practical applications. (2) Restrictions of work area: the work area is limited by the differential network of a wide area. (3) Non-autonomous: the transmitting source is required to improve precision [4]. The other is to use the positioning data which are collected by the receiver for error correction. This method has poor real-time performance and is vulnerable to external interference [5,6]. Therefore, it is particularly important to improve the positioning precision of GPS without changing the hardware device. Scholars have built the error model of GPS to improve the positioning precision of GPS. In Ref. [7], Zhao Shan et al. used the ARMA (3,2) model to obtain the single error model of a user by the combination of position operation and clock displacement filtering, which has a certain stability. In Ref. [8], Liu Di et al. made a long-term observation of a static point to obtain the same characteristics of error sequence and elevation error sequence between longitude and latitude, and finally established the AR (n) error model of GPS. In Ref. [9], Wang Rong et al. analyzed the error of GPS and established the error model of GPS. In Ref. [10], Zhiqiang Liu et al. modeled the time-selective channel as an AR process and used a Kalman filter to track the time change. In Ref. [11], Tan-Jan Ho et al. proposed a framework modeling which is based on multiple AR models, and developed the channel predictor MAR. In Ref. [12], Christos Komnanakis et al. used a Kalman filter to track a low-order autoregressive model, which is similar to the change in multiple input and multiple output channels. The models used AR models based on time series by the scholars. If the output sequence of a model is , there is a non-linear problem of parameter estimation, and the algorithm is complex and difficult. In order to solve the non-linear problems and effectively improve the positioning precision of GPS, we use the TAS and Kalman filter to analyze the characteristics of positioning error data, set up the Autoregressive (AR) model of GPS, complete the parameter estimation of the AR model by the least square method, and estimate the state of the system by a Kalman filter, so as to make the positioning precision more reliable and accurate [13].

2. The Error Model of GPS

The error data of GPS are a discrete random variable of time series, which is different from the analyzed dynamic data because the time series is a realization of random processes and has a different physical background [14,15]. The processing method of the corresponding model is an approximate description according to the data characteristics, to determine the type of model suitable for the time series [16]. There are three important models of finite order linear in TSA, Moving Average (MA) model, Autoregressive (AR) model, and Autoregressive Moving Average (ARMA) model [17]. The type of model can be determined by analyzing the autocorrelation and partial correlation of the error signal, and the identification methods of the three models are shown in Table 1.
Table 1

The correlation function characteristics of the model.

ModelAutocorrelation FunctionPartial Autocorrelation Function
MATruncationTrailing
ARTrailingTruncation
ARMATrailingTrailing
As shown in Table 1, the autocorrelation function of MA is truncated, while the partial autocorrelation function is trailing. The autocorrelation function and partial autocorrelation function of ARMA are trailing. The autocorrelation function of AR has the trailing property, while the partial autocorrelation function has the truncation property, where truncation means that the time-order autocorrelation function or partial autocorrelation function is 0 when the order is greater than a constant K. The trailing property means that the autocorrelation function or partial autocorrelation function fluctuates near zero after a certain order. If a time series is generated by a certain type of model, it should theoretically have corresponding statistical characteristics [18,19]. Therefore, the sample autocorrelation function and partial autocorrelation function of time series can be calculated, and the characteristics can be compared with the characteristics of a theoretical autocorrelation function and partial autocorrelation function of different types of series, and then the model type suitable for the series can be judged [20]. The estimated value of the autocorrelation function is a measurement to describe the dependence between values of random processes at different times. After obtaining the error observation data , the sample autocorrelation function of the error sequence is where the estimate value of autocovariance is , . The estimate data of mathematical expectation are . Using a numerical method and MATLAB programming, the response simulations of the autocorrelation function and partial autocorrelation function of longitude and latitude are obtained. By using instead of , the estimation of the partial autocorrelation function can be obtained recursively. If the autocorrelation function of the sample is truncated in step, it can be determined as an AR (M) sequence. If is not truncated, it is an ARMA sequence. From Figure 1a and Figure 2a, the error autocorrelation sequences of longitude and latitude have coordinates fluctuations near zero after order 4, the red line represents the autocorrelation function data of latitude and longitude error. From Figure 1b and Figure 2b, the autocorrelation function of longitude and latitude shows trailing, and the partial autocorrelation function shows truncation, the blue line represents the partial correlation function error data of latitude and longitude error, * represents the data point of latitude and longitude error per second. Therefore, the error of longitude and latitude can be expressed by the AR (M) model, that is,
Figure 1

Autocorrelation and partial autocorrelation of longitude. (a) Longitude autocorrelation function, (b) longitude partial autocorrelation function.

Figure 2

Autocorrelation and partial autocorrelation of latitude. (a) Latitude autocorrelation function, (b) latitude partial autocorrelation function.

The recursive formula of can be used to find by using instead of .

3. The Establishment of the Error Model of GPS

3.1. Preamble Data Processing

We use Google Earth, an interactive electronic map, to capture longitude and latitude information and motion track. From Figure 3a,b, Figure 3a is the Google Earth motion map, a red cross is the trajectory point and a square is an ordinary landmark. Figure 3b is partial latitude and longitude data.
Figure 3

Google Earth motion track map longitude and latitude information. (a) Google Earth motion map. (b) Longitude and latitude coordinate information.

The longitude and latitude data are established in the WGS-84 coordinate system, and the unit is degree-minute second. However, the data in the unit are required, and coordinate projection is required [21]. The WGS-84 coordinate value is projected into the rectangular coordinate value of the Gaussian projection plane by ARCGIS software [22]. As shown in Table 2, the X coordinate is north latitude and the Y coordinate is east longitude.
Table 2

Rectangular coordinates of a Gaussian projection plane.

Point Number123456
X-coordinates322,186.148322,185.5618322,159.4055322,159.4055322,158.8192322,183.8031
Y-coordinates3,801,532.0423,801,501.2213,801,470.8873,801,470.8873,801,440.0673,801,408.76
Heights395391388385383385
Point number789101112
X-coordinates322,183.2169322,208.2011322,233.1854322,233.1854322,233.1854322,232.5994
Y-coordinates3,801,377.943,801,346.6333,801,315.3273,801,315.3273,801,315.3273,801,284.506
Heights386384382384384385
Point number131415161718
X-coordinates322,232.0134322,231.4273322,256.4121322,255.8262322,255.2402322,255.2402
Y-coordinates3,801,253.6863,801,222.8663,801,191.5593,801,160.7393,801,129.9183,801,129.918
Heights386385384381380380
Point number192021222324
X-coordinates322,254.6543322,254.6543322,228.4972322,202.34322,480.8022322,480.8036
Y-coordinates3,801,099.0983,801,099.0983,801,068.7643,801,038.433,801,022.0483,801,022.039
Heights381381384386384385
Due to the randomness of the point position in the dynamic environment, the truth value of the observed quantity cannot be obtained directly, which makes the error separation relatively difficult [23]. In order to obtain the position data in the dynamic environment, we adopt the polynomial fitting method to separate the error and select the power series fitting, and the fitting value is the true value of the motion trajectory [24]. According to the polynomial approximation theory, the fitting value compares with the position data continuously collected on this motion trajectory to obtain the estimation of the GPS measurement error value, so as to separate the error data of GPS in the dynamic environment. The estimated value of GPS measurement error is as follows: where is the measured value. is an n-order power function fitting polynomial model. Coefficient is a solution with minimum quantity, , is the deviation between the original data and the fitted value. If the order of the model polynomial is too low, the fitting is rough. If the order is too high, overfitting will make the model contain data noise. In practical applications, it is necessary to judge whether the fitting is appropriate by the value of fitting factor Q. If Q is close to 0.5, it indicates that the fitting is good. where P is the probability, N is the number of samples, and n is the order of the model. The calculated Q value is 0.408 after fitting. In Figure 4, there is the large fluctuation of some points which is caused by large-scale movement, not a bad value. In Figure 5, it is the result of error separation of the dynamic position data. Taking the fitting value as the true value estimation of the motion trajectory, and comparing it with the data of position, the error value of dynamic measurements can be obtained by the motion trajectory.
Figure 4

Comparison of measured data and fitted data of GPS. (a) The measured data and fitted data of longitude. (b) The measured data and fitted data of latitude.

Figure 5

The error sequence of GPS. (a) The error sequence of longitude. (b) The error sequence of latitude.

3.2. Determination and Parameter Estimation of AR Model Order

It is known that the order of the AR (M) model is the determination of the AR model order when the probability of the partial autocorrelation function falling within the interval exceeds 95% [25]. We take and obtain Table 3 and Table 4 by a MATLAB programming calculation, and the partial autocorrelation functions of longitude and latitude are truncated in 10 steps. The error model of GPS can be expressed as AR (10), that is, where is an autoregressive coefficient, is the white noise with mean value of 0 and variance of .
Table 3

Partial correlation function of longitude and latitude.

Order NumberPartial Correlation Function of LongitudePartial Correlation Function of Latitude
1−0.2150−0.2805
2−0.7232−0.4044
3−2.54100.6886
41.5189−1.9369
50.52262.1126
60.67650.6765
70.41810.4181
80.25530.2553
90.18810.1745
100.10890.1090
110.10630.1012
12−0.10340.0989
13−0.02170.0976
140.03440.09675
150.103840.09243
16−0.05310.0881
Table 4

The data of autoregressive coefficient and noise variance.

LongitudeLatitude
Order Number Autoregressive Coefficientφi Noise Variance θ2 Autoregressive Coefficientφi Noise Variance θ2
10.57506.07993 × 10−60.91468.0237 × 10−6
20.21360.0211
30.08460.0104
40.07220.0123
5−0.0485−0.0035
60.0074−0.4411
70.02760.3617
80.00300.0561
90.06610.0032
100.01270.0064
As the least square estimation is a precise estimation of model parameters, the estimation precision is high [26]. Therefore, the least square method is used to estimate parameters. It is The variance of is: The autoregressive coefficient and noise variance obtained by the least square method are shown in Table 4.

3.3. Applicability Test of AR Model

The applicability of the model is essentially to test whether it is a white noise sequence, and the most important problem is to test the independence of the sequence [27]. When the number of samples is enough, the autocorrelation functions of residual error are uncorrelated and approximate to the normal distribution. At the significance level , , it is acceptable to assume that is independent. The green symbol is the residual value within the confidence interval, and the red symbol is the residual value outside the confidence interval. The steadiness of the model is also an indicator to test the residual sequence. It can be seen from Figure 6 that the autocorrelation coefficient of residual sequence fluctuates randomly with 0 as the mean in the 95% confidence boundary, and the residual sequence data of the longitude and latitude are stable, which indicates that the model has a high degree of fitting with the actual system and the model meets the requirements. Therefore, the AR (10) model is more suitable for GPS longitude and latitude error time series.
Figure 6

Autocorrelation function of residual sequence. (a) Autocorrelation function of longitude residual sequence. (b) Autocorrelation function of latitude residual sequence.

4. The Application of Kalman Filter in the Error Model

4.1. Discretization of State Equations of Continuous Systems

The actual physical system is generally continuous, and the dynamic characteristics are described by continuous differential equations. Therefore, the discretizations of the system equation and the observation equation are needed [28,29]. The system state equation describing the dynamic characteristics of the physical system is: where the driving source of the system is the white noise process, which is where q is v(t) variance intensity matrix. σ(t-τ) is a function of Dirac σ. According to the linear system theory, the discretization of the system state equation is: where the one-step transfer matrix a satisfies the equation: where . The equation is the real-time calculation formula of a one-step transfer matrix. The discretization state equation of continuous system also includes the equivalent discretization of the excited white noise process . Equation (11) can be abbreviated as: where . Then, for defined in Equation (13), it is: where, is Kronecker function. The variance matrix of satisfies the following equation: where, , the Equation (16) is the real-time calculation formula of .

4.2. The Basic Equation of Discrete Kalman Filter

Kalman is linear minimum variance estimation [30]. For Kalman model, the state equation and observation equation of discrete linear system are respectively: where, is one step transition matrix of time, which is to . is the measurement matrix. is the system noise driving. is the observation noise sequence. is the excitation noise sequence of the system. Both and are satisfied where, is the variance matrix of the system noise sequence, it is a non-negative matrix. is the variance matrix of noise sequence on both sides, it is positive definite matrix. is Kronecker δ function. If is conformed to Equation (19), the measured value is conformed to Equation (20), the system noise and the measurement noise are conformed to Equation (21), and the system noise variance matrix is non-negative definite, the measurement noise variance matrix is positive definite, and the measurement of time K is , the equation can be solved for estimation . Then where, is the one-step prediction equation of state. is the one-step prediction of mean square error. is the gain equation of filter. is the estimation equation of filter. is the optimal mean square error at time K. As long as the initial value and is given, according to the measurement at time k, the estimated state at time k can be deduced.

4.3. Kalman Filter Based on AR Model

The state vector of GPS is The model is based on , the state space model of Kalman filter model is Equations (9) and (10), where and have statistical characteristics of Equation (21). The process noise turn the difference equation of AR (10) model into state Equation (24), it is Let , Equation (24) can also be abbreviated as The observation equation is where, . Because the statistical characteristics of and are consistent with Kalman filter, the recursive expression of Kalman filter based on AR model is show as: where, is the one-step prediction equation of filter state. is the one-step prediction of mean square error. is the gain equation of filter. If the Kalman filter gain value is very small, the filtering result is closer to the recursive result of the system state estimation value. If is large, the filtering result is closer to the state variable calculated of the observed value. is the estimation equation of filter. is the optimal mean square error at time K. There are two ways to deal with Q: one is that Q is a certain value. The second is that Q is an uncertain random variable. Therefore, the Q value in this paper is a definite value, which is the process noise variance of the system, and its value is . When the state transition process has been determined, the smaller of Q is the better. When Q gradually increases, the convergence of filter slows down and the disturbance of the state variable becomes larger. The value of R is related to the characteristics of the device and is the input value of the filter.

5. Simulation and Analysis

5.1. AR (10) Model Kalman Filter Experiment

The dynamic error model (AR model) of GPS uses a Kalman filter, Q/R is 0.1/0.5, and the order of the AR model is determined to be 10. The error filtering results of longitude and latitude are shown in Figure 7.
Figure 7

The error filtering results of longitude and latitude. (a) The error of longitude. (b) The error of latitude.

In Figure 7, the blue curve is the error data of original longitude and latitude, the green curve is the error of longitude and latitude after the Kalman filter, and the red curve is the ideal error. The blue and green lines do not completely coincide, and the green lines after the Kalman filter are smoother. There are several points with large amplitude in the figure, which are caused by excessive movement when collecting data. In order to analyze Figure 7, Table 5 is shown below for explanation.
Table 5

The original error sequence and filtered error sequence of longitude and latitude.

Absolute Value of Maximum Error/mMean Square Error/mMean Absolute Error/m
Longitude original error sequence1.81250.2665740.179414
Longitude filtered error sequence1.25970.2429090.169197
Latitude original error sequence1.5940.2061850.123304
Latitude filtered error sequence10.1851630.116725
The analysis of data is carried out, and the absolute value of maximum error, mean square error, and mean absolute error are selected to reflect the changes in data before and after the filtering model. It can be seen from Table 5 that the absolute value of the maximum error of longitude and latitude after filtering is reduced by 30.50% and 37.26%. The mean square errors of longitude and latitude were reduced by 8.878% and 10.12%. The mean absolute errors of longitude and latitude were also reduced by 5.695% and 5.336%.

5.2. Compared Experiment of AR Model

In order to further prove the effectiveness of the model in this paper, a new set of GPS data is collected, and an AR model based on a different order Kalman filter is established and compared with the model. Q/R is 0.1/0.5, the longitude and latitude error curve of each model is shown in Figure 8.
Figure 8

The longitude and latitude error curve of each model. (a) The error of longitude. (b) The error of latitude.

In Figure 8, the red line is the error of expectation, the blue line is the error of measurement, and the brown line the error of the AR (10) model. In order to more intuitively compare the error of each model, the longitude and latitude error data of each model are given in Table 6 and Table 7.
Table 6

The longitude errors of different models.

Absolute Value of Maximum Error/mMean Square Error/mMean Absolute Error/m
Original error0.94740.2090810.278591
AR (6)0.56830.1370440.177516
AR (7)0.56330.1374290.177733
AR (8)0.55840.1371940.177533
AR (9)0.56140.1375370.178879
AR (10)0.55260.1308640.176819
AR (11)0.56050.1372090.180477
AR (12)0.56920.1355200.179191
AR (13)0.55280.1354690.191706
AR (14)0.55970.1355210.177114
AR (15)0.56280.1375090.182409
AR (16)0.56580.1388540.186109
Table 7

The latitude errors of different models.

Absolute Value of Maximum Error/mMean Square Error/mMean Absolute Error/m
Original error0.92480.2094060.270833
AR (6)0.43010.1279790.213698
AR (7)0.43460.1285730.212659
AR (8)0.43790.1295510.211016
AR (9)0.43920.1301590.211360
AR (10)0.42580.1267270.207835
AR (11)0.43950.1311730.209522
AR (12)0.43220.1288860.210099
AR (13)0.42560.1272120.209449
AR (14)0.44160.1276430.210880
AR (15)0.43600.1304390.212706
AR (16)0.45460.1335930.214826
It can be seen from Table 6 and Table 7 that the absolute value of the maximum error of longitude and latitude in this paper has been reduced by 41.67% and 52.25%, respectively. The mean square errors of longitude and latitude were reduced by 37.41% and 39.48%, respectively. The mean absolute errors of longitude and latitude were also reduced by 36.53% and 23.26%, respectively. Although the errors of other order models are also greatly reduced with a Kalman filter, the AR (10) model in this paper is selected after order determination and adaptability tests, so the positioning accuracy of this model is better than other models.

6. Conclusions

In this study, the error of GPS is researched, and the statistical characteristics of GPS are analyzed and simulated. The least square method is applied to estimate the parameters, and obtain the basic equation of a discrete Kalman filter by the continuous Kalman filter. To eliminate the random error of GPS dynamic positioning data, the error model of GPS is combined with a Kalman filter and the experimental results show that the smaller the mean square error, the better the precision of the prediction model on the experimental data. The dynamic positioning precision after correction has been significantly improved, and this method can effectively improve the positioning precision of GPS and support for the application of GPS.
  2 in total

1.  Statistical Distribution Analysis of Navigation Positioning System Errors-Issue of the Empirical Sample Size.

Authors:  Mariusz Specht
Journal:  Sensors (Basel)       Date:  2020-12-13       Impact factor: 3.576

  2 in total

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