Next Article in Journal
Standing Long Jump Performance Is Enhanced When Using an External as Well as Holistic Focus of Attention: A Kinematic Study
Previous Article in Journal
SpecRep: Adversary Emulation Based on Attack Objective Specification in Heterogeneous Infrastructures
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Hybrid Algorithm of LSTM and Factor Graph for Improving Combined GNSS/INS Positioning Accuracy during GNSS Interruptions

1
School of Automation, Beijing Information Science & Technology University, Beijing 100192, China
2
Beijing Key Laboratory of High Dynamic Navigation Technology, Beijing Information Science & Technology University, Beijing 100192, China
*
Author to whom correspondence should be addressed.
Sensors 2024, 24(17), 5605; https://doi.org/10.3390/s24175605 (registering DOI)
Submission received: 27 May 2024 / Revised: 5 July 2024 / Accepted: 15 August 2024 / Published: 29 August 2024
(This article belongs to the Section Navigation and Positioning)

Abstract

:
In urban road environments, global navigation satellite system (GNSS) signals may be interrupted due to occlusion by buildings and obstacles, resulting in reduced accuracy and discontinuity of combined GNSS/inertial navigation system (INS) positioning. Improving the accuracy and robustness of combined GNSS/INS positioning systems for land vehicles in the presence of GNSS interruptions is a challenging task. The main objective of this paper is to develop a method for predicting GNSS information during GNSS outages based on a long short-term memory (LSTM) neural network to assist in factor graph-based combined GNSS/INS localization, which can provide a reliable combined localization solution during GNSS signal outages. In an environment with good GNSS signals, a factor graph fusion algorithm is used for data fusion of the combined positioning system, and an LSTM neural network prediction model is trained, and model parameters are determined using the INS velocity, inertial measurement unit (IMU) output, and GNSS position incremental data. In an environment with interrupted GNSS signals, the LSTM model is used to predict the GNSS positional increments and generate the pseudo-GNSS information and the solved results of INS for combined localization. In order to verify the performance and effectiveness of the proposed method, we conducted real-world road test experiments on land vehicles installed with GNSS receivers and inertial sensors. The experimental results show that, compared with the traditional combined GNSS/INS factor graph localization method, the proposed method can provide more accurate and robust localization results even in environments with frequent GNSS signal loss.

1. Introduction

With the rapid development of unmanned and mobile positioning, the demand for high-precision and high-robustness localization techniques is increasing [1]. Among modern navigation and positioning systems, the global navigation satellite system (GNSS) is widely used on a variety of occasions due to its global coverage and high-precision positioning capability [2]. However, in complex urban road environments such as tunnels, canyons, tall buildings, overpasses, or other situations where satellite signals are obstructed, GNSS systems are challenged with severe signal attenuation or complete loss of lock [3]. Such signal loss is a serious challenge for unmanned vehicles that rely on the GNSS for precise navigation and positioning, as well as intelligent transportation systems and other positioning systems that require high reliability and accuracy. In order to solve the problem of GNSS loss of lock, researchers have proposed a combined positioning method using the inertial navigation system (INS) and the GNSS [4,5]. The INS can provide relatively accurate position and velocity in a short period of time, but the acceleration and angular velocity information output from the inertial measurement unit needs to be integrated, and the error will keep accumulating with the increase of time, and it cannot provide high-precision positioning information independently for a long time. Therefore, by combining the INS with the GNSS [6,7], the global positioning information provided by the GNSS can be used to correct the accumulated errors of an INS and achieve more accurate and robust navigation and positioning.
In the field of GNSS/INS integrated positioning, the Kalman filter (KF) and its derivative algorithms, such as the extended Kalman filter (EKF) [8,9] and the unscented Kalman filter (UKF) [10,11], have long been the mainstream techniques for handling state estimation of both linear and nonlinear systems. By fusing the global positioning of the GNSS and the autonomous positioning of the INS, these filtering methods have successfully improved the positioning accuracy and system robustness in a variety of environments. However, as the complexity of application scenarios increases, KF and its variants exhibit limitations in dealing with highly nonlinear problems, error accumulation, and occasions where global optimization solutions are required [12,13]. Especially in urban canyon or tunnel environments, where GNSS signals are susceptible to interference or occlusion, the problem of error accumulation of these algorithms under prolonged operation is particularly significant. To overcome these challenges, factor graphs are proposed as a new solution [14,15,16,17,18]. By constructing a global optimization framework that allows for a comprehensive consideration of the entire system state, rather than relying solely on sequential state updates, factor graphs exhibit higher accuracy and stability when dealing with nonlinear systems and performing long-term estimation. Compared to Kalman filtering and its variants, factor graphs not only handle highly nonlinear problems more naturally but also reduce the effect of error accumulation through global optimization, which significantly improves the performance of positioning systems in complex environments. The authors in [19,20] compared the combined navigation based on factor graphs and the EKF, and the factor graphs make the navigation and localization performance better than the EKF by constructing constraints with more historical data and multiple iterations. The authors in [21] compared the multi-source information fusion by using factor graphs and compared it with the federated filtering method. The localization error, stability, and data fusion time of the factor graphs is better than that of the federated filtering. The factor graph method shows a wide range of application prospects and advantages in the field of combinatorial localization [22,23,24], which opens up a new way to improve localization accuracy and system robustness.
In recent years, with the rapid development of deep learning technology, neural network-based methods have provided new perspectives for solving complex navigation and positioning problems [25,26,27]. A variety of neural network-based theoretical models and algorithms have been introduced in combined positioning and information fusion [28] to improve the continuity of the combined positioning system and the positioning accuracy in the GNSS out-of-lock environment. The authors in [29,30] used a multilayer perceptron (MLP) to assist in combined GNSS/INS localization and utilized the velocity, angular rate, and specificity information of the INS to predict pseudo-GNSS information in the event of GNSS interruption. However, when the model complexity is too high or the amount of training data is insufficient, the MLP is prone to overfitting the training data and falling into local optimization. The authors in [31] utilized the recurrent neural network (RNN) assisted localization to predict the current error when the GNSS is unavailable by inputting the amount of change in velocity and attitude with respect to the position and velocity error, which is used to compensate and correct the INS error. However, it still suffers from overfitting risk, gradient vanishing, or explosion problems. While long short-term memory (LSTM) networks can solve the common gradient vanishing problem of the RNN in long sequence learning, LSTM is able to deal with the time dependence of data compared to an MLP. The previously mentioned scholars have used various neural networks combined with Kalman and its variants to solve the combinatorial localization problem in the case of GNSS interruptions, whereas combinatorial localization methods using neural networks combined with factor graphs are less common.
In summary, to achieve robust and continuous localization in the absence of the GNSS, this paper proposes a combined localization method using an LSTM-assisted GNSS/INS pre-integrated factor graph in scenarios where GNSS signals are interrupted. This method first utilizes the pre-integrated factor graph algorithm to fuse GNSS and INS data, enabling high-precision positioning in environments with good GNSS signal availability. In the event of a GNSS lockout, the method uses a pre-trained LSTM model to predict the GNSS position increments, which are then used to estimate the position information during the GNSS outage. This prediction effectively compensates for the absence of GNSS position information during interruptions, ensuring the continuity and robustness of the localization system. The main contributions of this paper are as follows:
The paper describes an integrated GNSS/INS positioning framework based on factor graphs. It involves pre-integrating the IMU to reduce error propagation and enhance the overall accuracy of the factor graph-based combined positioning system.
By training an LSTM neural network prediction model, GNSS position increments are predicted in the event of GNSS interruptions, generating GNSS information that is integrated with INS positioning results to improve the accuracy and robustness of the GNSS/INS combined positioning system.
The remainder of the paper is organized as follows: Section 2 introduces the factor graph theory, IMU pre-integration factors, GNSS factors, and the factor graph combined positioning model. Section 3 details the training and prediction methods of the proposed LSTM neural network prediction model. Road tests and result analysis are conducted in Section 4, and conclusions are presented in Section 5.

2. Information Fusion Methods Based on Factor Graphs

A factor graph is a graphical structure used to represent probabilistic graphical models, which illustrates the decomposition of multivariable functions into a product of local functions. Factor graphs are composed of variable nodes and factor nodes connected by undirected edges. Variable nodes represent system states, while factor nodes represent constraints or measurements between variables. In navigation positioning systems, the optimal navigation solution corresponds to the maximum a posteriori estimate of the system state. According to Bayesian theory, the posterior probability can be expressed as the product of a series of probability models [32].
P x k | z k = P ( z k | x k ) P ( x k | x k 1 ) P ( z k ) P ( x k 1 | z k 1 ) = i = 1 k P ( z i | x i ) P ( x i | x i 1 ) P ( z i ) P ( x 0 )
where x k represents the system state variable at time k , z k is the measurement value from the sensor at time k , P ( x 0 ) is the likelihood probability density of the initial state variables, P ( x k | z k ) is the posterior probability density of the measurements, and P ( z k ) is the probability density of the measurements at time k . Since the initial state is known and each positioning measurement is independent, the posterior probability is the product of the probability densities of state transitions and measurement predictions at each moment. The global conditional probability density function is proportional to the likelihood probability density and the state transition prior probability in the numerator mentioned above.
P ( z i | x i ) P ( x i | x i 1 ) P ( z i ) P ( x 0 ) P ( z i | x i ) P ( x i | x i 1 )
According to the maximum a posteriori probability criterion, the optimal estimation of the state variable can be represented by the maximum a posteriori probability density:
X ^ i m a p = arg max P ( x i | z i )
According to the principles of factor graphs, each probability density corresponds to a factor node within the graph. Thus, the above expression can be rewritten as follows:
X ^ i m a p = arg max X i f i ( X i )
where the factor node f i ( X i ) can be represented as follows:
f i ( X i ) = exp ( 1 2 ( h i ( X i ) Z i ) i 2 )
r ( x i , z i ) = h i ( X i ) Z i
where h i ( X i ) is the observation value, i is the noise covariance matrix of the corresponding sensor, and r ( x i , z i ) is the sensor measurement residual. For nonlinear optimization within the factor graph, the maximum a posteriori can be transformed into minimizing the sum of the nonlinear least squares [33], expressed as follows:
X m a p = arg min X log i f i ( X i ) = arg min X i r ( x i , z i ) i 2
By combining the sensor factors derived from observations and prior information, the solution for maximum a posteriori probability is found, thus enabling the fusion of data from different sensors. Therefore, for the GNSS/INS integrated positioning factor graph model, the optimal estimate of the system state X can be represented as follows:
X m a p = arg min X k n r i m u ( z b ( k ) b ( k 1 ) , X ) k 1 , k i m u 2 + i n r g n s s ( z i g n s s , X ) i g n s s 2 + r p H p X p 2
where i m u , g n s s are the covariance matrices for the IMU preintegration and GNSS, respectively, and r i m u , r g n s s are the residuals of the IMU preintegration factors and GNSS positioning factors, which are further derived and explained later in the text. r p , H P is the prior information and p is the prior covariance matrix. The prior factor is used in navigation positioning problems to introduce prior information or measurement information about the state variables, helping the positioning system to estimate the state more accurately.

2.1. IMU Pre-Integration Factor Node

Typically, IMUs output data at a high frequency, and directly processing these high-frequency data can lead to a substantial computational burden. Raw IMU data consists of angular velocity and acceleration. Integration of angular velocity results in orientation, while acceleration is integrated to obtain velocity and further integration of velocity results in displacement. In this process, errors accumulate progressively. To address this issue, pre-integration is employed to preprocess IMU data [34]. Through pre-integration, high-frequency IMU data can be compressed into a single update over a period, reducing the error accumulation caused by multiple integrations. Essentially, the raw IMU data are integrated to compute the carrier’s relative displacement and rotational changes over a period. To ensure data synchronization and alignment, the IMU preintegration time interval is kept consistent with the GNSS sampling interval, and an IMU preintegration factor is added within each GNSS sliding window. The schematic diagram of IMU preintegration is shown in Figure 1.
In the integrated positioning system, the acceleration f ˜ b and angular velocity ω ˜ i b b measured by the IMU reflect the dynamic changes of the carrier [35]. The IMU measurement model can be represented as follows:
ω ˜ i b b = ω i b b + b ω + ε ω ,   f ˜ b = f b + b a + ε a
where ω i b b , f b are the measured true values for the gyroscope and accelerometer, b ω , b a are the biases for the gyroscope and accelerometer, and ε ω , ε a are the noises for the gyroscope and accelerometer. According to the kinematic model of the INS, the differential equations for position, velocity, and attitude with respect to time can be obtained as follows:
p ˙ b n = v b n v ˙ b n = C b n ( f ˜ b b a ) + g n q ˙ b n = 1 2 q b n 0 ω i b b
where n represents the navigation coordinate system (East-North-Up), b denotes the body coordinate system (Right-Front-Up), p b n is the position in the n-frame, v b n is the velocity in the n-frame, q b n is the quaternion from the b-frame to the n-frame, C b n is the attitude rotation matrix from the b-frame to the n-frame, and g n is the local earth gravity in the n-frame. By integrating the differential equations for position, velocity, and attitude over the time interval t k 1 , t k , the kinematic equations of the INS are obtained as follows:
p b ( k ) n = p b ( k 1 ) n + t k 1 t k v b ( t ) n d t v b ( k ) n = v b ( k 1 ) n + t k 1 t k ( C b ( t ) n ( t ) ( f ˜ b b a ) + g n ) d t q b ( k ) n = q b ( k 1 ) n q b ( k 1 ) n ( k 1 ) q b ( k ) n ( k 1 )
The IMU pre-integration from time t k 1 to t k can be expressed as follows:
p b ( k ) b ( k 1 ) = t k 1 t k C b ( t ) b ( k 1 ) ( f ˜ b b a ) d t 2 v b ( k ) b ( k 1 ) = t k 1 t k C b ( t ) b ( k 1 ) ( f ˜ b b a ) d t q b ( k ) b ( k 1 ) = ( ( q b ( k ) n ( k ) ) 1 q n ( k 1 ) n ( k ) q b ( k 1 ) n ( k 1 ) ) 1
where p b ( k ) b ( k 1 ) , v b ( k ) b ( k 1 ) , q b ( k ) b ( k 1 ) represents the position pre-integration, velocity pre-integration, and attitude pre-integration. In factor graph optimization, a noise covariance matrix is required to weight the IMU factor, with the error state vector defined as follows:
δ z t = δ p b ( k ) b ( k 1 ) δ v b ( k ) b ( k 1 ) δ q b ( k ) b ( k 1 ) δ b ω δ b a T
where δ p b ( k ) b ( k 1 ) , δ v b ( k ) b ( k 1 ) , δ q b ( k ) b ( k 1 ) represent the pre-integrated measurement errors for position, velocity, and attitude, respectively, and δ b ω , δ b a are the bias errors for the gyroscope and accelerometer. The continuous-time dynamics model for pre-integrated error states is represented as follows:
δ z ˙ t = F t δ z t + G t ε t
where the state transition matrix F t , the process noise matrix G t , and the noise vector ε t are respectively represented as follows:
F t = 0 I 0 0 0 0 0 C ^ b ( t ) b ( k 1 ) ( f ^ b b a ) × 0 C ^ b ( t ) b ( k 1 ) 0 0 ( ω ^ i b i b ω ) × I 0 0 0 0 0 0 0 0 0 0 0
G t = 0 0 0 C ^ b ( t ) b ( k 1 ) I 0 0 0 0 0 ,   ε t = ε ω ε a
The pre-integration covariance matrix can be expressed as follows:
b ( t ) i m u = Φ t b ( t 1 ) i m u Φ t Τ + t 1 t Φ t G t Q G t Τ Φ t Τ d t
where the initial covariance matrices b ( t 1 ) i m u = 0 , Φ t Ι + F t t , Q = d i a g σ ω 2 , σ a 2 .
The first-order Jacobian propagation equation can be expressed as follows:
J k 1 , t = Φ t J k 1 , t 1
where the initial Jacobian matrix J k 1 , t 1 is the identity matrix. Based on the Jacobian and covariance matrices, a first-order expansion can be used to update the pre-integrated measurements of Equation (11), and the bias-updated pre-integrated measurements are calculated as follows:
p ^ b ( k ) b ( k 1 ) p b ( k ) b ( k 1 ) + J b ω p δ b ω + J b a p δ b a v ^ b ( k ) b ( k 1 ) v b ( k ) b ( k 1 ) + J b ω v δ b ω + J b a v δ b a q ^ b ( k ) b ( k 1 ) q b ( k ) b ( k 1 ) 1 1 2 J b ω ϕ δ b ω
where J b ω p is a submatrix of J k 1 , k , located according to δ p b ( k ) b ( k 1 ) / δ b ω . This definition also applies to J b a p , J b ω v , J b a v , J b ω ϕ . Hence, the residual of the IMU pre-integration factor can be represented as follows:
r i m u ( z b ( k ) b ( k 1 ) , X ) = p b ( k ) b ( k 1 ) p ^ b ( k ) b ( k 1 ) v b ( k ) b ( k 1 ) v ^ b ( k ) b ( k 1 ) 2 ( q b ( k ) n ( k ) ) 1 q n ( k 1 ) n ( k ) q b ( k 1 ) n ( k 1 ) q ^ b ( k ) b ( k 1 ) b ω ( k ) b ω ( k 1 ) b a ( k ) b a ( k 1 )

2.2. GNSS Factor Nodes

The GNSS is highly valuable in open and unobstructed environments for providing absolute and long-duration positional information. However, in environments with obstructions such as urban high-rises, tunnels, and overpasses, GNSS signals may be blocked or interfered with. Thus, it becomes necessary to fuse data from other sensors to enhance navigation accuracy and robustness. The raw GNSS pseudorange and carrier phase observations can be expressed as follows:
p r s = ρ r s + t r t s + I r s + T r s + b r b s + ε p L r s = ρ r s + t r t s + I r s + T r s + λ ( N r s + B r B s ) + ε L
where p r s , L r s represents the pseudorange and carrier phase observations from receiver ‘r’ to satellite ‘s’; ρ r s denotes the geometric distance from the satellite antenna phase center to the receiver antenna phase center; t r , t s refers to the receiver and satellite clock biases; I r s , T r s are the ionospheric and tropospheric delays; λ is the wavelength; N r s is the carrier phase integer ambiguity; b r , b s are the pseudorange hardware delays at the receiver and satellite ends; B r , B s are the phase delays at the receiver and satellite ends; and ε p , ε L includes residual errors on the pseudorange and carrier phase observations, encompassing the sum of observation noise and multipath errors.
To enhance GNSS positioning accuracy and interference resistance, a dual-frequency ionosphere-free (IF) combination is used to eliminate the first-order ionospheric delay:
p r , I F ( i , j ) s = f i 2 f i 2 f j 2 p r , i s f i 2 f i 2 f j 2 p r , j s L r , I F ( i , j ) s = f i 2 f i 2 f j 2 L r , i s f i 2 f i 2 f j 2 L r , j s
where f i , f j represents different GNSS signal frequencies, and the resulting ionosphere-free combination observation equation is as follows:
p ^ I F = p r n p ^ s n + t r t s + m ω z ω + ε p , I F L ^ I F = p r n p ^ s n + t r t s + m ω z ω + λ I F · N I F + ε L , I F
where p ^ I F , L ^ I F are the noise-inclusive observation values of the pseudorange and carrier phase after ionosphere-free combination; p s n are the satellite coordinates; t s is the receiver clock bias, obtainable from precise orbit and clock data; z ω , m ω are the tropospheric wet delays and their projection functions, respectively, and the tropospheric delays are usually divided into a kilo component and a wet component, where the kilo component is usually calibrated directly by a priori models, such as the Saastamoinen model [36], while the wet component usually needs to be estimated as a parameter due to its large uncertainty; p r n is the position of the GNSS receiver measurement center in the n-frame; and λ I F , N I F are the wavelength and integer ambiguity of the ionosphere-free combination. Since the GNSS positioning solution provides the coordinates of the receiver center and the INS mechanical alignment provides the navigation results of the IMU measurement center, which physically do not coincide, a lever arm correction is required during combined navigation solution calculation [37].
p r n = p b n + C b n l g n s s b
where p b i n is the position of the IMU measurement center in the n-frame and l g n s s b is the GNSS antenna lever arm. The GNSS factor residual can be expressed as follows:
r g n s s ( z i g n s s , X ) = p b n + C b n l g n s s b p s n + t r t s + m ω z ω p ^ I F p b n + C b n l g n s s b p s n + t r t s + m ω z ω + N I F L ^ I F

2.3. Factor Graph Model

According to the factor graph theory and the previous analysis on factor nodes [38], the factor graph model of combined GNSS/INS positioning can be derived as shown in Figure 2. x is the system state variable and α is the system deviation variable. f p r i o r is the priori factor, which provides the initial estimation for the system state variable and deviation variable. f g n s s is the GNSS factor, and f b i a s is the deviation factor. f i m u is the IMU pre-integration factor, which pre-integrates the IMU data with the sampling frequency of GNSS to ensure that the pre-integrated IMU factor and the GNSS factor frequency are consistent. The factor graph combination localization model estimates the state at the initial moment by the a priori factors, while the state variables at the later moment need to be jointly estimated by the state variables and deviation variables at the current moment, and the GNSS factors are also needed to make auxiliary corrections to the state variables.
In the combined GNSS/INS positioning factor graph, the connections between the factor nodes indicate the flow of information. The IMU and GNSS factor nodes are usually independent of each other as they represent different types of sensor measurements, while the state variable nodes are connected to the state variable nodes of the previous moment in order to build a dynamic model of the positioning state. This model is designed to take full advantage of their complementary properties, which can effectively improve the positioning performance and robustness of the positioning system.

3. LSTM Neural Network Prediction Assisted Positioning Method

3.1. Neural Network Prediction Model Description

In the GNSS/INS integrated systems, numerous neural network-assisted models have already been established. The common idea is to build a relationship between the outputs of the INS (angular velocity, specific force, velocity, position, etc.) and GNSS information. When GNSS signals are available, GNSS information, along with INS outputs, can be used to train a neural network model. In the event of GNSS interruption, pseudo-GNSS information can be obtained from the trained neural network model. Before constructing the neural network model, it is necessary to establish a system model and select appropriate parameters as inputs and outputs to enhance training efficiency and prediction accuracy. Common models include the O I N S δ G N S S , I N S model [39].
δ p ^ G N S S , I N S = p ^ GNSS p ^ INS   = p GNSS + δ p GNSS ( p INS + δ p INS )     = δ p G N S S , I N S + δ p GNSS δ p INS
where p ^ GNSS , p ^ INS is the position measurement of the GNSS and INS, respectively; δ p GNSS , δ p INS is the position error of the GNSS and INS, respectively; p GNSS , p INS is the true value of the position of the GNSS and INS, respectively; and δ p G N S S , I N S is the difference between the position measurement of the INS and GNSS. From Equation (26), it can be seen that the established O I N S δ G N S S , I N S model is always affected by both GNSS and INS errors. To avoid this problem, the O I N S Δ P G N S S model is proposed.
p ^ G N S S ( k , k + 1 ) = p ^ G N S S ( k + 1 ) p ^ G N S S ( k )         = p G N S S ( k + 1 ) + δ p G N S S ( k + 1 ) ( p G N S S ( k ) + δ p G N S S ( k ) )         = p G N S S ( k , k + 1 ) + δ p G N S S ( k + 1 ) δ p G N S S ( k )
where p ^ G N S S ( k , k + 1 ) is the GNSS position increment in the [ k , k + 1 ] time period, and p ^ G N S S ( k ) , δ p G N S S ( k ) is the GNSS position measurement and position error at the k moment, respectively. From Equation (27), it can be seen that the O I N S p G N S S model is only related to the GNSS position error, avoiding the mixed error of GNSS and INS, which improves the prediction accuracy of the LSTM neural network-assisted model. The specific structure of the LSTM neural network-assisted model is shown in Figure 3.
Where ω represents angular velocity, f represents specific force, v I N S , p I N S represents the velocity and position of the INS, p G is the GNSS position, and δ p represents the position error. The LSTM prediction assistance model is divided into two parts: the training phase and the prediction phase. During the training phase, inputs include angular velocity, specific force, and velocity from the previous and current moments of the INS, and the output is the position increment of the GNSS p G . During the training phase, when GNSS signals are strong, the combined positioning accuracy is high and good training data is used to determine the LSTM model parameters in preparation for the prediction phase. During the prediction phase, inputs include the current and next moment’s angular velocity, specific force, and velocity from the INS. Using the LSTM model, the position increment of the GNSS is predicted, and this prediction p G 0 is added to the initial position information p G to generate a pseudo-GNSS position p G p s e , which is used to suppress the divergence of inertial navigation errors.
The accuracy of LSTM training is closely related to network parameters, such as the number of hidden units, learning rate, and optimizer. The accuracy of model training improves with the decrease in the learning rate; however, a too-low learning rate can result in longer training times. A higher number of hidden units can enhance the model’s learning capability but may also lead to overfitting, especially when there is limited training data. The Adam optimizer, utilizing moment estimation, offers advantages such as adaptability, fast computation, and low memory usage, making it a good choice to accelerate training speeds. To mitigate potential overfitting issues, a dropout layer is added after each LSTM layer, enhancing model stability. The final layer of the model is a fully connected layer containing two neurons that output position increments. Specific LSTM parameter settings are shown in Table 1.

3.2. LSTM Model

LSTM is a type of recurrent neural network (RNN) [40]. Traditional neural networks or deep neural networks, where nodes within each layer are not interconnected, are suitable for training models that take single sample inputs and produce single sample outputs but are not well-suited for training with sequential data as input. LSTM introduces a complex gating mechanism that can address various shortcomings of traditional and deep neural networks when dealing with sequential data.
The basic unit of an LSTM includes input gates, forget gates, and output gates [41]. These three main gating structures interact to decide how information is stored, updated, and forgotten, with the basic structure depicted in Figure 4. The forget gate determines which information should be discarded from the cell state, the input gate decides which information from the current input should update the cell state, and the output gate determines which part of the cell state will be used for output. The specific formulas are as follows:
f t = σ ( x t W x f + h t 1 W h f + b f )
i t = σ ( x t W x i + h t 1 W h i + b i )
o t = σ ( x t W x 0 + h t 1 W h 0 + b o )
c t = f t c t 1 + i t g t
h t = o t tanh c t
Where f t , i t , o t represents the forget gate, input gate, and output gate, respectively; x t is the input vector; h t represents the hidden unit state; c t is the memory cell state; g t is the candidate memory value for the current time step; represents the Hadamard product; W x f , W h f , b f are the weights and biases of the forget gate; W x i , W h i , b i are the weights and biases of the input gate; W x o , W h o , b o are the weights and biases of the output gate; and σ and tanh are activation functions that help avoid problems like exploding or vanishing gradients.

4. Experimental Validation and Analysis

4.1. Experimental Setup and Data Acquisition

To validate the effectiveness of the proposed LSTM and factor graph neural network-assisted GNSS/INS combined positioning method during GNSS interruptions, road tests were conducted, collecting GNSS and IMU data from a land vehicle platform in an urban environment. The sensors were provided by the Beijing Key Laboratory of High Dynamic Navigation Technology, and the sensor parameters are listed in Table 2. The test data acquisition platform is shown in Figure 5.
The full road test lasted 3270 s, covering a total distance of 21.4 km, with 23 natural interruptions occurring during this period. Based on different testing scenarios, the test trajectory was divided into three sections, separated by green solid lines, as shown in Figure 6. Section 1 lasted 1600 s and was 9.4 km long, primarily on open unobstructed urban highways with no GNSS interruptions, using data from this section to train the LSTM-assisted model and determine LSTM model parameters. Section 2 lasted 850 s and was 7.6 km long, located in urban overpass areas with 7 GNSS interruptions. Section 3 lasted 850 s and was 4.4 km long, mainly in urban areas obstructed by high buildings and structures, with 13 GNSS interruptions. Interruption statistics are shown in Table 3.

4.2. Analysis of Experimental Results

As depicted in Figure 7, the black line represents the reference trajectory, the blue line represents the factor graph (FGO) calculated trajectory, and the red line represents the LSTM pre-integration factor graph (LSTM-PI-FGO) calculated trajectory. From the trajectory comparison of Section 1, it is evident that in environments with good GNSS, both trajectories based on the FGO combined positioning closely coincide with the reference trajectory, indicating very high positioning accuracy. In conventional FGO, each IMU measurement needs to consider its error model and state transition individually. However, the LSTM-PI-FGO has already considered the state changes and error accumulation during this period, thereby reducing error accumulation. Figure 8 and Figure 9 show that both eastward and northward errors are lower in the LSTM-PI-FGO compared to the FGO.
Section 2, due to overpass obstructions, experienced 7 GNSS interruptions. Combining Figure 10, Figure 11 and Figure 12, after each interruption, the FGO error showed a brief increase before returning to normal, while the LSTM-PI-FGO error showed no significant change. By pre-integrating the IMU, it is possible to effectively isolate IMU errors within each time section, preventing error accumulation throughout the trajectory. This method can reduce the impact of noise in IMU data to some extent, making each time section’s IMU data more independent and reducing long-term dependencies and error propagation. Through LSTM’s GNSS prediction and IMU pre-integration processing, the LSTM-PI-FGO maintained smaller errors throughout Section 2. The experimental results for the road in Section 2 demonstrate that the LSTM-PI-FGO algorithm performs well in the scenario of long straight road sections and is able to provide stable and highly accurate localization services.
Section 3 experienced frequent interruptions, including curve interruptions and other complex situations, with trajectory comparisons shown in Figure 13 and eastward and northward error curves shown in Figure 14 and Figure 15. During GNSS interruptions, the LSTM-PI-FGO, by predicting GNSS position increments and generating pseudo-GNSS information for factor graph fusion, enhanced the accuracy of combined positioning. Compared to the FGO algorithm, the root mean square errors for eastward and northward directions were reduced from 2.40 m and 2.16 m to 0.79 m and 0.79 m, respectively, while the maximum errors were reduced from 16.08 m and 21.02 m to 3.41 m and 3.89 m. It is evident that in environments with frequent GNSS interruptions, through LSTM’s predictions, the maximum positioning errors in the eastward and northward directions were significantly reduced, ensuring the robustness of the combined positioning system.
The error statistics of road sections 1, 2, and 3 are shown in Table 4. In Section 1, with good GNSS signal, by pre-integrating the FGO, the root mean square error of LSTM-PI-FGO position is reduced by 58.7%, and the maximum error is reduced by 42.9%; in Section 2, with short interruptions of the GNSS signal, by predicting the GNSS position information from the LSTM, the root mean square error of LSTM-PI-FGO position is reduced by 62.2%, and the maximum error is reduced by 71.7%; in Section 3, where GNSS signals are frequently and briefly interrupted, the LSTM-PI-FGO position root mean square error is reduced by 65.3% and the maximum error is reduced by 80.5% by predicting the GNSS position information from the LSTM.

5. Conclusions

In complex urban areas, it is inevitable to encounter short-term GNSS interruptions, resulting in reduced accuracy of combined GNSS/INS positioning. In this paper, we propose an LSTM-assisted GNSS/INS pre-integrated factor graph combined positioning method, which combines the predictive capability of LSTM and the data fusion of the factor graph technique in order to achieve high-precision positioning when GNSS signals are unavailable. By comparing the experiments with the factor graph, the experimental results show that the LSTM model can effectively utilize the historical GNSS and INS data to predict the GNSS position during the interruption period, and all the error indexes of the combined positioning are significantly reduced. Through this method, the challenges brought by GNSS interruptions can be effectively solved. The LSTM-assisted GNSS/INS pre-integrated factor graph combined localization method effectively combines the advantages of deep learning and traditional navigation and positioning algorithms and provides a new solution to deal with the problem of GNSS signal interruptions. However, further research on the selection and matching of the model of neural network and the optimization of the factor graph is still needed. Meanwhile, more sensors will be considered to be fused in the future, and the factor graph-based combined positioning will be applied to different real-world scenarios.

Author Contributions

F.L. wrote the paper and conducted the final editing; H.Z. and F.L. developed the methodology, analyzed the data, and structured the discussion; and W.C. reviewed the results and supervised the conclusions. All authors have read and agreed to the published version of the manuscript.

Funding

Beijing Municipal Education Commission Research Project Funding (No. KM202311232015). Beijing Natural Science Foundation Project (No. 4244091). Supported by Open Project of Beijing Key Laboratory of High Dynamic Navigation Technology.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The data presented in this study are available on request from the corresponding author.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Zhao, S.; Chen, Y.; Farrell, J.A. High-precision vehicle navigation in urban environments using an MEM’s IMU and single-frequency GPS receiver. IEEE Trans. Intel. Trans. Syst. 2016, 17, 2854–2867. [Google Scholar] [CrossRef]
  2. Jin, S.; Wang, Q.; Dardanelli, G. A review on multi-GNSS for earth observation and emerging applications. Remote Sens. 2022, 14, 3930. [Google Scholar] [CrossRef]
  3. Hussain, A.; Akhtar, F.; Khand, Z.H.; Rajput, A.; Shaukat, Z. Complexity and limitations of GNSS signal reception in highly obstructed enviroments. Eng. Technol. Appl. Sci. Res. 2021, 11, 6864–6868. [Google Scholar] [CrossRef]
  4. Zidan, J.; Adegoke, E.I.; Kampert, E.; Birrell, S.A.; Ford, C.R.; Higgins, M.D. GNSS vulnerabilities and existing solutions: A review of the literature. IEEE Access 2020, 9, 153960–153976. [Google Scholar] [CrossRef]
  5. Boguspayev, N.; Akhmedov, D.; Raskaliyev, A.; Kim, A.; Sukhenko, A. A comprehensive review of GNSS/INS integration techniques for land and air vehicle applications. Appl. Sci. 2023, 13, 4819. [Google Scholar] [CrossRef]
  6. Dong, Y.; Wang, D.; Zhang, L.; Li, Q.; Wu, J. Tightly coupled GNSS/INS integration with robust sequential kalman filter for accurate vehicular navigation. Sensors 2020, 20, 561. [Google Scholar] [CrossRef] [PubMed]
  7. Falco, G.; Pini, M.; Marucco, G. Loose and tight GNSS/INS integrations: Comparison of performance assessed in real urban scenarios. Sensors 2017, 17, 255. [Google Scholar] [CrossRef] [PubMed]
  8. Guo, H.; Liu, H.; Zhou, Y.; Hu, X. Robust state estimation via maximum correntropy EKF on matrix lie groups with application to low-cost INS/GPS integrated navigation system. IEEE Sensors J. 2023, 23, 9467–9479. [Google Scholar] [CrossRef]
  9. Ibrahim, A.; Abosekeen, A.; Azouz, A.; Noureldin, A. Enhanced Autonomous Vehicle Positioning Using a Loosely Coupled INS/GNSS-Based Invariant-EKF Integration. Sensors 2023, 23, 6097. [Google Scholar] [CrossRef]
  10. Hu, G.; Gao, B.; Zhong, Y.; Gu, C. Unscented kalman filter with process noise covariance estimation for vehicular INS/GPS integration system. Inf. Fusion 2020, 64, 194–204. [Google Scholar] [CrossRef]
  11. Al Bitar, N.; Gavrilov, A.I. Neural networks aided unscented Kalman filter for integrated INS/GNSS systems. In Proceedings of the 2020 27th Saint Petersburg International Conference on Integrated Navigation Systems (ICINS), St. Petersburg, Russia, 25–27 May 2020; IEEE: Piscataway, NJ, USA, 2020; pp. 1–4. [Google Scholar]
  12. Wen, W.; Kan, Y.C.; Hsu, L.T. Performance comparison of GNSS/INS integrations based on EKF and factor graph optimization. In Proceedings of the 32nd International Technical Meeting of the Satellite Division of The Institute of Navigation (ION GNSS+ 2019), Miami, FL, USA, 16–20 September 2019. [Google Scholar]
  13. Sugimoto, S.; Kubo, Y.; Tanikawara, M. A review and applications of the nonlinear filters to GNSS/INS integrated algorithms. In Proceedings of the 22nd International Technical Meeting of the Satellite Division of The Institute of Navigation (ION GNSS 2009), Savannah, GA, USA, 22–25 September 2009; pp. 3101–3113. [Google Scholar]
  14. Osman, M.; Hussein, A.; Al-Kaff, A. Intelligent vehicles localization approaches between estimation and information: A review. In Proceedings of the 2019 IEEE International Conference on Vehicular Electronics and Safety (ICVES), Cairo, Egypt, 4–6 September 2019; IEEE: Piscataway, NJ, USA, 2019; pp. 1–8. [Google Scholar]
  15. Tang, C.; Zhang, L.; Zhang, Y.; Song, H. Factor graph-assisted distributed cooperative positioning algorithm in the GNSS system. Sensors 2018, 18, 3748. [Google Scholar] [CrossRef] [PubMed]
  16. Beuchert, J.; Camurri, M.; Fallon, M. Factor graph fusion of raw GNSS sensing with IMU and lidar for precise robot localization without a base station. In Proceedings of the 2023 IEEE International Conference on Robotics and Automation (ICRA), London, UK, 29 May–2 June 2023; IEEE: Piscataway, NJ, USA, 2023; pp. 8415–8421. [Google Scholar]
  17. Zeng, Q.; Chen, W.; Liu, J.; Wang, H. An improved multi-sensor fusion navigation algorithm based on the factor graph. Sensors 2017, 17, 641. [Google Scholar] [CrossRef]
  18. Bai, S.; Lai, J.; Lyu, P.; Ji, B.; Wang, B.; Sun, X. A novel plug-and-play factor graph method for asynchronous absolute/relative measurements fusion in multisensor positioning. IEEE Trans. Ind. Electron. 2022, 70, 940–950. [Google Scholar] [CrossRef]
  19. Wen, W.; Pfeifer, T.; Bai, X.; Hsu, L.T. Factor graph optimization for GNSS/INS integration: A comparison with the extended kalman filter. NAVIGATION J. Inst. Navig. 2021, 68, 315–331. [Google Scholar] [CrossRef]
  20. Song, Y.; Hsu, L.T. Tightly coupled integrated navigation system via factor graph for UAV indoor localization. Aerosp. Sci. Technol. 2021, 108, 106370. [Google Scholar] [CrossRef]
  21. Xu, J.; Yang, G.; Sun, Y.; Picek, S. A multi-sensor information fusion method based on factor graph for integrated navigation system. IEEE Access 2021, 9, 12044–12054. [Google Scholar] [CrossRef]
  22. Zhang, G.; Ng, H.F.; Wen, W.; Hsu, L.T. 3D mapping database aided GNSS based collaborative positioning using factor graph optimization. IEEE Trans. Intell. Trans. Syst. 2020, 22, 6175–6187. [Google Scholar] [CrossRef]
  23. Cao, S.; Lu, X.; Shen, S. GVINS: Tightly coupled GNSS–visual–inertial fusion for smooth and consistent state estimation. IEEE Trans. Robot. 2022, 38, 2004–2021. [Google Scholar] [CrossRef]
  24. Wu, X.; Xiao, B.; Wu, C.; Guo, Y.; Li, L. Factor graph based navigation and positioning for control system design: A review. Chin. J. Aeronaut. 2022, 35, 25–39. [Google Scholar] [CrossRef]
  25. Al Bitar, N.; Gavrilov, A.; Khalaf, W. Artificial intelligence based methods for accuracy improvement of integrated navigation systems during GNSS signal outages: An analytical overview. Gyroscopy Navig. 2020, 11, 41–58. [Google Scholar] [CrossRef]
  26. Siemuri, A.; Kuusniemi, H.; Elmusrati, M.S.; Välisuo, P.; Shamsuzzoha, A. Machine learning utilization in GNSS—Use cases, challenges and future applications. In Proceedings of the 2021 International Conference on Localization and GNSS (ICL-GNSS), Tampere, Finland, 1–3 June 2021; IEEE: Piscataway, NJ, USA, 2021; pp. 1–6. [Google Scholar]
  27. Jin, S.; Wang, X.; Meng, Q. Spatial memory-augmented visual navigation based on hierarchical deep reinforcement learning in unknown environments. Knowl.-Based Syst. 2024, 285, 111358. [Google Scholar] [CrossRef]
  28. Jwo, D.J.; Biswal, A.; Mir, I.A. Artificial neural networks for navigation systems: A review of recent research. Appl. Sci. 2023, 13, 4475. [Google Scholar] [CrossRef]
  29. Liu, N.; Hui, Z.; Su, Z.; Qiao, L.; Dong, Y. Integrated navigation on vehicle based on low-cost SINS/GNSS using deep learning. Wirel. Pers. Commun. 2022, 126, 2043–2064. [Google Scholar] [CrossRef]
  30. Yao, Y.; Xu, X.; Zhu, C.; Chan, C.Y. A hybrid fusion algorithm for GPS/INS integration during GPS outages. Measurement 2017, 103, 42–51. [Google Scholar] [CrossRef]
  31. Dai, H.; Bian, H.; Wang, R.; Ma, H. An INS/GNSS integrated navigation in GNSS denied environment using recurrent neural network. Def. Technol. 2020, 16, 334–340. [Google Scholar] [CrossRef]
  32. Jiang, C.; Chen, Y.; Chen, C.; Jia, J.; Sun, H.; Wang, T.; Hyyppä, J. Smartphone PDR/GNSS integration via factor graph optimization for pedestrian navigation. IEEE Trans. Instrum. Meas. 2022, 71, 1–12. [Google Scholar] [CrossRef]
  33. Zhang, L.; Wu, X.; Gao, R.; Pan, L.; Zhang, Q. A multi-sensor fusion positioning approach for indoor mobile robot using factor graph. Measurement 2023, 216, 112926. [Google Scholar] [CrossRef]
  34. Bai, S.; Lai, J.; Lyu, P.; Wang, B.; Sun, X.; Yu, W. An Enhanced Adaptable Factor Graph for Simultaneous Localization and Calibration in GNSS/IMU/Odometer Integration. IEEE Trans. Veh. Technol. 2023, 72, 11346–11357. [Google Scholar] [CrossRef]
  35. Brossard, M.; Barrau, A.; Chauchat, P.; Bonnabel, S. Associating uncertainty to extended poses for on lie group imu preintegration with rotating earth. IEEE Trans. Rob. 2021, 38, 998–1015. [Google Scholar] [CrossRef]
  36. Liu, J.; Chen, X.; Sun, J.; Liu, Q. An analysis of GPT2/GPT2w+ Saastamoinen models for estimating zenith tropospheric delay over Asian area. Adv. Space Res. 2017, 59, 824–832. [Google Scholar] [CrossRef]
  37. Li, X.; Yu, H.; Wang, X.; Li, S.; Zhou, Y.; Chang, H. FGO-GIL: Factor graph optimization-based GNSS RTK/INS/LiDAR Tightly Coupled Integration for precise and continuous navigation. IEEE Sens. J. 2023, 23, 14534–14548. [Google Scholar] [CrossRef]
  38. Wei, X.; Li, J.; Zhang, D.; Feng, K. An improved integrated navigation method with enhanced robustness based on factor graph. Mech. Syst. Signal Process. 2021, 155, 107565. [Google Scholar] [CrossRef]
  39. Al Bitar, N.; Gavrilov, A. A new method for compensating the errors of integrated navigation systems using artificial neural networks. Measurement 2021, 168, 108391. [Google Scholar] [CrossRef]
  40. Chen, Y.; Jiang, W.; Wang, J.; Cai, B.; Liu, D.; Ba, X.; Yang, Y. A LSTM-assisted GNSS/INS integration system using IMU recomputed error information for train localization. IEEE Trans. Aerosp. Electro. Syst. 2023, 1–13. [Google Scholar] [CrossRef]
  41. Fang, W.; Jiang, J.; Lu, S.; Gong, Y.; Tao, Y.; Tang, Y.; Yan, P.; Luo, H.; Liu, J. A LSTM algorithm estimating pseudo measurements for aiding INS during GNSS signal outages. Remote Sens. 2020, 12, 256. [Google Scholar] [CrossRef]
Figure 1. Pre-integration schematic diagram.
Figure 1. Pre-integration schematic diagram.
Sensors 24 05605 g001
Figure 2. GNSS/INS Combined Positioning Factor Graph Model.
Figure 2. GNSS/INS Combined Positioning Factor Graph Model.
Sensors 24 05605 g002
Figure 3. LSTM-Assisted Model Structure Diagram.
Figure 3. LSTM-Assisted Model Structure Diagram.
Sensors 24 05605 g003
Figure 4. Basic LSTM Structure.
Figure 4. Basic LSTM Structure.
Sensors 24 05605 g004
Figure 5. Vehicle with navigation system equipment.
Figure 5. Vehicle with navigation system equipment.
Sensors 24 05605 g005
Figure 6. Road Test Trajectory.
Figure 6. Road Test Trajectory.
Sensors 24 05605 g006
Figure 7. Section 1 Trajectory Comparison.
Figure 7. Section 1 Trajectory Comparison.
Sensors 24 05605 g007
Figure 8. Section 1 East Error.
Figure 8. Section 1 East Error.
Sensors 24 05605 g008
Figure 9. Section 1 North Error.
Figure 9. Section 1 North Error.
Sensors 24 05605 g009
Figure 10. Section 2 Trajectory Comparison.
Figure 10. Section 2 Trajectory Comparison.
Sensors 24 05605 g010
Figure 11. Section 2 East Error.
Figure 11. Section 2 East Error.
Sensors 24 05605 g011
Figure 12. Section 2 North Error.
Figure 12. Section 2 North Error.
Sensors 24 05605 g012
Figure 13. Section 3 Trajectory Comparison.
Figure 13. Section 3 Trajectory Comparison.
Sensors 24 05605 g013
Figure 14. Section 3 Eastward Error.
Figure 14. Section 3 Eastward Error.
Sensors 24 05605 g014
Figure 15. Section 3 Northward Error.
Figure 15. Section 3 Northward Error.
Sensors 24 05605 g015
Table 1. Network model parameters.
Table 1. Network model parameters.
Parameter NameValue
Learning Rate0.005
Learning Rate Decay Factor0.5
Number of Hidden Units100
Number of Epochs200
OptimizerAdam
Table 2. Sensor Parameters.
Table 2. Sensor Parameters.
SensorParametersAccuracy
IMUGyroscope Bias20°/hr
Gyroscope Random Walk 0.0667 ° / hr
Accelerometer Bias50 mg
Sampling Frequency100 Hz
GNSSPosition Accuracy2 m
Sampling Frequency1 Hz
Table 3. GNSS Interruption Time Statistics.
Table 3. GNSS Interruption Time Statistics.
SectionStart Time (s)Interruption Duration (s)SectionStart Time (s)Interruption Duration (s)
2176563269617
219285327589
219447328132
219687328972
222405329855
2228343300227
224169330386
325254330856
325456331096
325983331474
3261215332158
326282332314
326358
Table 4. Positioning Error Statistics.
Table 4. Positioning Error Statistics.
SectionAlgorithmOrientationRMSE (m)Maximum Error (m)
1LSTM-PI-FGOeast0.271.31
north0.331.41
FGOeast0.692.74
north0.781.98
2LSTM-PI-FGOeast0.270.90
north0.371.19
FGOeast0.732.81
north1.104.46
3LSTM-PI-FGOeast0.793.41
north0.793.89
FGOeast2.4016.08
north2.1621.02
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Liu, F.; Zhao, H.; Chen, W. A Hybrid Algorithm of LSTM and Factor Graph for Improving Combined GNSS/INS Positioning Accuracy during GNSS Interruptions. Sensors 2024, 24, 5605. https://doi.org/10.3390/s24175605

AMA Style

Liu F, Zhao H, Chen W. A Hybrid Algorithm of LSTM and Factor Graph for Improving Combined GNSS/INS Positioning Accuracy during GNSS Interruptions. Sensors. 2024; 24(17):5605. https://doi.org/10.3390/s24175605

Chicago/Turabian Style

Liu, Fuchao, Hailin Zhao, and Wenjue Chen. 2024. "A Hybrid Algorithm of LSTM and Factor Graph for Improving Combined GNSS/INS Positioning Accuracy during GNSS Interruptions" Sensors 24, no. 17: 5605. https://doi.org/10.3390/s24175605

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop