1. Introduction
The integration of an inertial navigation system (INS) and a Global Navigation Satellite System (GNSS) is an essential technique for delivering accurate position, velocity, and attitude estimates in both civil and military navigation applications. Effective state estimators are crucial to ensuring the accuracy of these estimates, with the Extended Kalman Filter (EKF) being one of the most widely adopted methods. The EKF can be used for nonlinear systems, where the model equations are linearized locally around the current state estimate during each iteration. The EKF assumes that both process noise and measurement noise are Gaussian, with zero mean [
1]. Furthermore, it assumes that the covariance matrices of the process noise
and the measurement noise
are known [
2]. However, in real-world systems, these conditions are not always met, especially in INS/GNSS integration scenarios, leading to potential degradation in estimation accuracy.
The tuning of an EKF involves optimizing matrices
and
to accurately estimate the states of a nonlinear system. This process starts with defining the initial state and covariance estimates, often based on system knowledge and initial measurements. The process noise covariance matrix
and measurement noise covariance matrix
are crucial for the EKF performance and require careful tuning. These matrices are usually derived from empirical data or through iterative experimentation. Fine tuning involves adjusting
and
to balance responsiveness to new measurements with stability against noisy data. Extensive simulation and field testing are typically required to ensure robustness across various operating conditions [
3,
4,
5,
6].
In INS/GNSS integration, the tuning process for an EKF is iterative and time-consuming. It usually begins with a static error estimate obtained through Allan variance analysis [
7,
8]. This initial estimate is often optimistic and requires extensive static data collection over many hours or even days, serving as a starting point for further adjustments. Subsequent tuning involves discrete parameter adjustments and evaluating the position drift during GNSS outages [
7].
To establish the order of parameter tuning, the priority can be set by evaluating the drift caused by them during GNSS signal interruptions. These parameters need to be tested in various scenarios with variable dynamics, which is challenging without extensive field test data. Additionally, the size of the discrete steps chosen in their adjustments influences their final optimization. Consequently, the ideal parameters are rarely known, and those selected are often non-ideal [
7,
9,
10].
Since the 1970s, various methods for estimating the covariance matrices
and
have been proposed. Mehra [
11,
12] was a pioneer in this field, followed by Carew et al. [
13] and Belanger [
14]. Despite these initial advances, progress in tuning the covariance matrices stagnated for almost three decades. In 2006, Odelson et al. introduced the ALS (Autocovariance Least Squares) method for the estimation of
and
, with subsequent improvements presented by Rajamani et al. [
15] and Akesson et al. [
16]. However, these methods presented limitations in Multiple-Input Multiple-Output (MIMO) systems, as demonstrated by Matisko [
17]. In recent years, traditional methods have been refined, and new methods have been developed to improve the tuning of the Kalman filter. Allan variance, for example, has been used to characterize and model noise in inertial sensors, allowing for a better estimation of the
matrix [
18,
19,
20]. Additionally, neural networks have been employed to dynamically adjust the tuning parameters of the Kalman filter, adapting to changes in system characteristics and noise in real time [
21,
22,
23]. Genetic algorithms have also been applied to optimize the tuning of the Kalman filter, exploring an ample space of possible values for
and
and selecting the best parameters based on performance criteria [
3,
24,
25].
This paper presents a novel approach for tuning the EKF, utilizing Monte Carlo simulations and taking advantage of the Central Limit Theorem (CLT). The Monte Carlo method enables the simulation and statistical analysis of filter tuning parameters across a diverse range of scenarios [
26,
27], providing a robust way to estimate uncertainties and complex system behaviors. The CLT ensures that, as the number of samples increases, the distribution of parameter estimates converges to a normal distribution [
28,
29], offering a theoretical basis for tuning the process noise covariance matrix
of the EKF.
This work proposes using Monte Carlo simulations to calculate the covariance matrix , utilizing ideal data from inertial sensors along a trajectory in conjunction with their error models applied to navigation. This method allows for extracting the variances of the matrix for both direct and indirect filter implementations. This approach facilitates quicker and more precise filter tuning, resulting in more reliable position and velocity estimates, especially in scenarios where the GNSS signal is degraded. The results are compared with the traditional EKF tuning method and those obtained from the inertial platforms of Castro Leite Consultoria, PINA-F, and PINA-M.
The remainder of this paper is organized as follows:
Section 2 explains the concepts of INS/GNSS integration.
Section 3 details the novel approach for Kalman filter tuning methodology.
Section 4 describes the testing procedure.
Section 5 presents the simulations and experimental tests.
Section 6 discusses the results obtained. Finally,
Section 7 provides the concluding remarks.
2. INS/GNSS Concepts
This section will discuss the main concepts of INS/GNSS integration.
2.1. Inertial Navigation System (INS)
Inertial navigation is an autonomous process of calculating position by the double integration of acceleration at a point whose position needs to be determined [
30]. This involves finding position, attitude, and velocity relative to the Earth or the inertial space.
An inertial navigation system (INS) typically consists of three accelerometers and three gyroscopes to measure accelerations in three dimensions and rotation rates around three axes. The development of Micro-Electro-Mechanical System (MEMS) technology has significantly expanded the application area of INS. Today, an Inertial Measurement Unit (IMU) generally includes a three-degree-of-freedom (3-DoF) gyroscope and a three-degree-of-freedom accelerometer, allowing for the precise measurement of motion and orientation in compact and cost-effective packages [
31].
Nowadays, strapdown systems are more commonly used, where the gyroscopes and accelerometers are mounted directly to the structure of the vehicle or strapped onto the body segment. Strapdown mechanization (or INS mechanization) is the process of determining the navigation states (position, velocity, and attitude) from raw inertial measurements by solving the differential equations that describe the system’s motion. For this purpose, it is essential to establish a consistent reference frame.
The mechanization differential equations are formulated in the navigation frame, also known as the local-level frame or NED (North, East, Down) frame. This frame is fixed to the Earth’s surface, with its axes aligned to point towards geographic north, east, and downward (towards the center of the Earth). The ECEF (Earth-Centered Earth-Fixed) frame, in contrast, is a Cartesian coordinate system that rotates with the Earth, making it suitable for representing global positions in a geocentric reference system. The body frame is fixed to the vehicle itself, with its axes aligned along the forward, right, and downward directions of the vehicle. Finally, the inertial frame, specifically the Earth-Centered Inertial (ECI) frame, is centered at the Earth’s center and does not rotate with the Earth [
32]. This work uses the WGS-84 model for the ECEF frame and the J2000 frame for the inertial reference.
The dynamic equations used for mechanization in the navigation frame are presented below and are detailed in [
32]. In this context, the superscript indicates the frame in which the variable is expressed, and the subscript denotes the reference frame for the transformation:
n refers to the navigation frame,
e refers to the ECEF frame,
i refers to the ECI frame, and
b refers to the body frame.
Position Update:
where , with representing the latitude, the longitude, and h the height relative to the Earth ellipsoid. The matrix is a matrix that transforms the velocity vector from navigation coordinates to geodetic coordinates in the ECEF frame. The vector represents the velocity in the NED frame, with components along the north (), east (), and down () directions.
Velocity Update:
where is the direction cosine matrix from the body frame to the navigation frame, is the specific force measured by accelerometers in the body frame, is the gravity vector, is the skew-symmetric matrix representing the transport rate with respect to the ECEF frame expressed in the navigation frame, and is the skew-symmetric matrix representing the Earth’s rotation rate with respect to the inertial frame expressed in the navigation frame.
Attitude Update:
where is the skew-symmetric matrix representing the angular rate of the body frame with respect to the inertial frame expressed in the body frame, and is the skew-symmetric matrix representing the angular rate of the navigation frame with respect to the inertial frame expressed in the body frame.
These equations allow the continuous update of navigation states based on the inertial sensor measurements. Strapdown systems offer advantages in terms of simplicity and reliability, as they avoid the complexities and potential failure points associated with gimbaled systems, which use mechanical gyroscopes and rotating platforms to stabilize and orient sensors.
For a comprehensive treatment of strapdown inertial navigation systems and the associated mechanization equations, refer to Savage [
30], Farrell [
10], and Groves [
1].
2.2. Global Navigation Satellite System (GNSS)
The Global Navigation Satellite System (GNSS) is a technology that allows for the determination of position, velocity, and time anywhere on Earth using satellite signals. GNSS includes various satellite constellations, such as the United States’ GPS, Russia’s GLONASS, the European Union’s Galileo, and China’s BeiDou [
33,
34]. These systems work by transmitting radio signals from satellites in orbit around the Earth. GNSS receivers on the Earth’s surface capture these signals and use the differences in arrival times to calculate the receiver’s position. GNSS is widely used in applications such as terrestrial, aerial, and maritime navigation, precision agriculture, surveying, and environmental monitoring [
35]. Modern GNSS receivers can utilize multiple constellations simultaneously, enhancing the accuracy and robustness of measurements.
Despite these advancements, GNSS is still subject to several types of errors that can affect measurement accuracy. The main errors include satellite ephemeris errors (inaccuracies in the transmitted orbital information), satellite clock errors, ionospheric delays (caused by the dispersion of GNSS signals in the ionosphere), tropospheric delays (due to the refraction of signals in the troposphere), multipath effects (signals reflected off surfaces before reaching the receiver), and receiver measurement errors [
34].
2.3. INS/GNSS Integration
In INS/GNSS integration, the nominal trajectory is often unknown in advance. Therefore, the current best estimate of the actual trajectory is used as the nominal trajectory. When Kalman filtering is applied to a system that has been linearized around this estimate, it is known as the EKF [
10,
32,
36]. INS/GNSS integration can be performed in two modes: direct (state model) and indirect (error state model). In direct integration, the Kalman filter directly estimates states such as position, velocity, and attitude. In indirect integration, the Kalman filter is used to estimate the errors of the state vector of the inertial navigation algorithm, and these errors are subsequently corrected. Additionally, two types of error feedback mechanisms are employed: open-loop and closed-loop. In the open-loop configuration, corrections to position, velocity, and attitude are applied externally to the INS, with the estimated errors subtracted from the INS solution at each iteration. In contrast, the closed-loop configuration feeds the EKF error estimates back into the system, continuously correcting the INS solution. This feedback keeps the INS errors small, ensuring that the linearity assumption required for the EKF technique is maintained throughout the process [
32].
Furthermore, there are different levels of coupling in INS/GNSS integration. Loosely coupled integration processes the GNSS and INS data separately before combining them. This method is simple and efficient, but less robust in environments with degraded GNSS signals. Tightly coupled integration directly incorporates GNSS measurements into the INS navigation equations, providing greater accuracy and robustness when dealing with weak or intermittent GNSS signals [
37]. Ultra-tightly coupled integration goes further, directly integrating raw GNSS signal measurements into the navigation filter, resulting in greater resilience to degraded GNSS environments and improved performance in high-dynamic scenarios [
38]. The integration of INS and GNSS in this work is based on a loosely coupled approach with a closed-loop configuration, as the trajectory is not known in advance.
2.4. Extended Kalman Filter (EKF)
The Extended Kalman Filter (EKF) is a widely used algorithm for state estimation in nonlinear systems. It extends the traditional Kalman filter (KF), which is designed for linear systems, by linearizing around the current estimate to handle the nonlinearity. The following subsections presents the EKF equations for both direct and indirect navigation modes.
2.4.1. Direct Mode (State Model)
In the Direct EKF (DEKF), also known as the state model, the states are estimated based on the mathematical model of the system rather than the error dynamics of the states [
39]. Thus, the DEKF directly estimates the navigation states, which in this work are represented by the following state vector:
where represents the attitude in Euler angles, specifically roll (), pitch (), and yaw ().
The general system of differential equations that governs the state-space model used by the EKF can be expressed as follows:
where is the state vector as a function of the time t, is the deterministic forcing function, is the model noise, is the measurement vector, is the measurement noise, and and are nonlinear known functions [40].
The discrete state of process and measurements of the DEKF are defined as follows:
where represents the state vector as defined in Vector (4), is the transition matrix, is the observation matrix, and k denotes the discrete time step.
The transition matrix
can be found based on the first-order Taylor series approximation [
41,
42]:
where
is the time step interval;
is the 9 × 9 identity matrix;
is the 3 × 3 identity matrix;
is a 3 × 3 zero matrix;
is the rotation matrix from body frame to navigation frame, which follows the 3-2-1 (yaw–pitch–roll) rotation sequence;
, , and are components of specific force in the north, east, and down directions, respectively;
, , and are the angular velocities in the north, east, and down directions, respectively.
In the next equations, represents an identity matrix of order m, and represents a zero matrix of dimension .
The observations of the algorithm consist of GNSS positions and velocities; therefore,
Also, define the following:
where is the expected value operator, and and represent the covariance matrices of the process noise and measurement noise, respectively, is error covariance matrix, the superscript (−) denotes the a priori estimate, and superscript (+) denotes the a posteriori estimate.
Once the process and measurement models are defined by the previous equations, the DEFK procedure can be summarized as follows:
Prediction—Estimates the states for the next time step using the accelerations and current angular velocity combined with the states produced by the DEKF for the previous time step:
Kalman Gain—Finds the Kalman gain
based on the estimation produced in the Prediction step:
Update—Uses measurements at time step
k and the Kalman gain to correct the estimation produced in the Prediction step:
2.4.2. Indirect Mode (Error State Model)
In the Indirect EKF (IEKF), also known as the error state model, the EKF estimates the errors in the navigation states rather than the states themselves. This approach involves maintaining a reference trajectory and estimating deviations from this trajectory. Therefore, in this work, the navigation error states are represented by the error state vector:
The continuous-time system dynamic model and measurement model of the IEKF are defined as follows:
where and are the nonlinear functions of the error state vector, is the process noise gain matrix, and and represent process and measurement noise, respectively.
The discrete state of process and measurement models of the IEKF are defined as follows:
where represents the error state vector as defined in Vector (17), is the measurement vector, is the transition matrix, is the observation matrix, and and k denotes the discrete time step.
The transition matrix
can be found based on the first-order Taylor series approximation [
10,
42]:
where
is the Earth’s mean radius;
is the Earth’s rotation rate;
and are components of the angular velocity due to Earth’s rotation;
, , and are components of the relative velocity with respect to the Earth’s surface;
, , and are the eastward, northward, and downward components of the velocity, respectively;
is the latitude;
, , and are the angular velocities incorporating both the Earth’s rotation and the relative velocities;
, , and are components of specific force;
is a component of the velocity.
The matrix
projects the process noise
into the state space, accounting for uncertainty in the state estimation [
10], thus:
The observations of the algorithm consist of GNSS positions and velocities, using the same matrix as in Equation (
10).
Also, define the following:
Once the process and measurement models are defined by the previous equations, the IEFK procedure can be summarized as follows:
Prediction—Estimates the states for the next time step using the accelerations and current angular velocity combined with the states produced by the IEKF for the previous time step:
Kalman Gain—Finds the Kalman gain
based on the estimation produced in the Prediction step:
Update—Uses measurements at time step
k and the Kalman gain to correct the estimation produced in the Prediction step:
where represents the difference between the positions and velocities estimated by the INS and those measured by the GNSS.
2.5. Standard Tuning of INS/GNSS EKF
In this subsection, the discussion is based on the work presented by Groves [
1].
The primary sources of system noise in the INS are the random walk of velocity error caused by noise in the accelerometer’s specific-force measurements and the random walk of attitude error due to noise in the gyroscope’s angular-rate measurements. Additionally, if separate dynamic bias states for the accelerometer and gyroscope are not estimated, the in-run variation in the accelerometer and gyroscope biases can be approximated as white noise.
For small propagation intervals (≤0.2 s), the system noise covariance matrix can be approximated using Equation (
30) for the DEKF and Equation (
31) for the IEKF, where
and
are the variances of the gyroscope random noise and accelerometer random noise, respectively.
The power spectral densities (PSDs) of accelerometers and gyroscopes at frequencies below 1 Hz are generally white, meaning the standard deviation of the average specific force and angular rate noise is inversely proportional to the square root of the averaging time. As a result, inertial sensor noise is typically characterized by the root of PSD. The common units used are g/ for accelerometer noise, where 1 g/ m s−1.5, and or for gyroscope noise, with rad s−0.5 and rad s−0.5. The standard deviations of these random noise samples are obtained by multiplying the corresponding root PSDs by the square root of the sampling rate, or by dividing by the square root of the sampling interval. Since the variance is the square of the standard deviation, this process also allows for the determination of the noise variance over the sampling period. It is important to note that white random noise cannot be calibrated or compensated for, as it lacks correlation between past and future values.
The tuning of the matrix will not be discussed in this work, as its values will be derived from the GNSS receiver data. Consequently, the novel approach proposed for tuning the INS/GNSS integration will focus on the matrix and will be discussed in the next section.
3. Novel Approach EKF Tuning
The proposed EKF tuning method for INS/GNSS integration in both direct and indirect modes is based on the Monte Carlo technique, using ideal data from a predetermined trajectory and applying the inertial sensor error model to it. The method presented in this paper involves generating multiple trajectory measurements from a reference trajectory, with each measurement incorporating different random values of the accelerometer and gyroscope error model coefficients. These simulations are used to pre-calculate the variance matrices for both EKF modes.
Figure 1 illustrates the flow of the Monte Carlo simulation process. The process begins with the use of the
true specific force and angular rate from a reference trajectory, which are then combined with
IMU errors to generate
IMU measurements. Next, the
INS mechanization is performed to estimate the navigation states. During the INS loop, the
navigation variances and
IMU variances are calculated and saved. The process is repeated 200 times, and the final variances produced yield the
navigation variances for the DEKF and the
IMU variances for the IEKF.
The color coding is as follows: orange blocks represent inputs, blue blocks represent the main computational steps of the Monte Carlo simulation, which include the INS loop, and green blocks represent the output variance matrices for both EKF modes.
3.1. Mathematical Modeling
In this subsection, the mathematical equations required for the implementation of the algorithm are discussed. Detailed explanations of the methods and equations used to ensure its proper functioning are provided.
For the input data, ideal inertial sensor data are used, which can be obtained through the trajectory generators proposed by Savage [
43] or tools like MATLAB’s Navigation Toolbox. The IMU errors are derived from the manufacturer’s datasheet, and the provided data are implemented accordingly. The next topic will discuss the IMU errors in detail and explain how they are integrated into the system.
3.1.1. Inertial Sensor Error Characteristics
In this subsection, the following equations are based on the work presented by Groves [
1].
The accelerometer error model is given by Equation (
32), which accounts for bias (
), errors due to the scale factor and cross-coupling (
, as shown in Equation (
35)), and random noise (
):
where is the ideal specific force expressed in the body frame, obtained from the trajectory, and is the computed specific force from the IMU.
The gyroscope error model is given by Equation (
33), where the considered stochastic variables are bias (
), errors due to the scale factor and cross-coupling (
, as shown in Equation (
35)), g-dependent bias (
), and random noise (
):
where is the ideal angular rate expressed in the body frame, also obtained from the trajectory, and is the computed angular rate vector from the IMU.
When considering biases, it can be divided into static components,
and
, and dynamic components,
and
, where
The static component, also referred to as the fixed bias, turn-on bias, or bias repeatability, encompasses the run-to-run variation in each instrument bias along with the residual fixed bias that remains after sensor calibration. This component remains constant during the IMU’s operation but can differ between runs. The dynamic component, also termed in-run bias variation or bias instability, changes over periods in the order of a minute and includes the residual temperature-dependent bias left after sensor calibration. Typically, the dynamic bias constitutes about 10% of the static bias [
1].
The scale factor and cross-coupling errors for a nominally orthogonal set of accelerometers and gyroscopes can be represented by the following matrices:
where the accelerometer and gyroscope scale factor errors within the IMU are represented by the vectors and , respectively. Additionally, represents the cross-coupling coefficient for the specific force along the -axis sensed by the -axis accelerometer, and represents the cross-coupling coefficient for the angular rate along the -axis sensed by the -axis gyroscope. Scale factor and cross-coupling errors are dimensionless and are typically expressed in parts per million (ppm) or as a percentage.
Once the inertial sensor data are obtained, their variances are calculated incrementally and the data are used in the INS mechanization equations.
3.1.2. INS Mechanization
For INS mechanization using Equations (1)–(3), the attitude is propagated using quaternions. These equations are a simplification of those presented by Savage [
30], where they are detailed in both continuous and discrete forms. In this work, the continuous form of the equations was used, with the fourth-order Adams–Bashforth predictor method applied for numerical integration. A detailed explanation of these equations is beyond the scope of this work.
Propagation of attitude using quaternions is just one part of the INS process; understanding and accounting for gravitational effects is equally critical. Since accelerometers cannot distinguish the effects of the gravitational field in their acceleration measurements, accurate knowledge of the gravitational field is necessary for INS calculations. The gravity model used in this work is based on the WGS-84 standard, which accounts for the Earth’s oblateness. This model estimates gravitational components based on latitude, longitude, and height (lat, long, h) relative to the Earth’s center.
The results of the INS mechanization equations yield positions in terms of latitude, longitude, and height, with velocities expressed in the NED coordinate frame. Additionally, the variances of positions, velocities, and attitude are calculated incrementally. A detailed explanation of this incremental calculation will be provided in the next subsection.
3.1.3. Monte Carlo Simulation
The algorithm implements Welford’s method [
44] for the incremental estimation of the mean and variance of a dataset, incorporating Bessel’s correction [
45] for samples. These techniques are useful when dealing with large sequential datasets, and when efficient and accurate calculations of means and variances are needed.
Welford’s mean is calculated incrementally, allowing the mean to be updated as new elements are added to the dataset. The formula is as follows:
where n is the number of elements processed so far, is the most recent element, and is the mean up to that point.
Welford’s variance is a natural extension, including Bessel’s correction to compensate for bias in the variance estimation when dealing with samples. The formula is as follows:
where n is also the number of elements processed so far, is the variance up to that point, and is the variance from the previous step.
By applying all the above equations, which encompass the inertial sensor error model, the INS mechanization equations, and the calculations for means and variances, the algorithm for the novel approach to Kalman filter tuning is described as presented in Algorithm 1:
Algorithm 1: Monte Carlo Simulation |
|
where j is the index of the Monte Carlo loop, k is the index for the trajectory samples, and c is the index used to calculate the means and variances for each trajectory step according to the chosen interval, which in this case is 1 s. Additionally, is an auxiliary index that counts the number of seconds until the specified interval is reached. totalTrajectorySamples represents the total number of samples in the trajectory dataset, insMechanization is a function that calculates the INS states based on the current states, and diag represents a diagonal matrix where the provided elements are placed along the main diagonal, with all off-diagonal elements set to zero.
The sensor error model is derived from the IMU datasheet, where not all error parameters need to be filled out. However, the more variables from the error equations that are defined, the more accurate the variance calculations will be. To introduce variability in the Monte Carlo simulation, the IMU errors are modeled as normally distributed random variables, each with a variance specific to its corresponding error parameter.
At the conclusion of the Monte Carlo simulation, the final variance values associated with the inertial sensors, accelerometers, and gyroscopes form the covariance matrix for the IEKF. Similarly, the final variance values related to navigation parameters, such as positions, velocities, and attitudes, form the covariance matrix for the DEKF.
Modeling inertial sensor errors is complex due to their non-Gaussian nature. In many applications, the Monte Carlo method generates samples assuming these errors follow a Gaussian distribution. In reality, inertial sensor errors often exhibit time-correlated characteristics, and a more accurate representation would involve using models such as a Markov process. To explain the accuracy and reliability of statistical analysis in Monte Carlo simulations for a non-Gaussian distribution, fundamental statistical principles are applied, one of which is the CLT.
3.2. Central Limit Theorem
The Central Limit Theorem (CLT) supports the proposed method by ensuring that, as the number of samples increases, the distribution of the sample tends to approach a normal distribution. This is particularly beneficial in Monte Carlo simulations, where the noise modeled by numerous random processes aggregates into a Gaussian distribution, simplifying the analysis and enhancing the reliability of statistical measures such as the covariance matrices derived from the simulation. This alignment of the sample distribution with the properties of Gaussian noise helps in making more accurate and robust predictions about the behavior of INS erros.
As discussed by Dobrushin [
46] and Trevezas and Limnios [
47], the application of the CLT to the Markov process is particularly relevant, as it allows for the modeling of complex stochastic processes where the transition probabilities change over time, ensuring that asymptotic normality can be achieved under certain conditions. This is especially pertinent for inertial sensor errors, which often follow a Markov process. These errors, including biases and random drifts in accelerometers and gyroscopes, can be modeled as first-order Markov processes [
1,
10,
30]. This modeling captures the temporal correlations inherent in the sensor errors, allowing for more accurate tracking and prediction of navigation parameters.
In conclusion, the CLT within Monte Carlo simulations ensures that the distribution of tuning parameters estimates tends toward normality, even in complex stochastic processes like those modeled by first-order Markov processes. This approach simplifies the analysis and ensures that predictions regarding INS errors converge to values closer to the real ones, leading to more reliable INS/GNSS integrations.
4. Testing Procedure
The testing was conducted in a condominium located in São José dos Campos, Brazil, using a car. The test trajectory is illustrated in
Figure 2. Two inertial navigation platforms with GPS assistance from Castro Leite Consultoria were used: the PINA-F and the PINA-M, as shown in
Figure 3. The PINA-F, which is at Technology Readiness Level (TRL) 9, is equipped with Fiber Optic Gyroscopes (FOGs) and Quartz Pendulous Accelerometers (QPAs), while the PINA-M, at TRL 8, employs MEMS technology for its sensors (accelerometers and gyroscopes). The specifications for each platform can be seen in
Table 1 and
Table 2.
Four laps in the condominium were conducted for each platform, during which the GPS signal was intentionally suppressed at certain parts of the trajectory. The navigation results of the platforms are compared using algorithms with DEKF and IEKF under standard tuning conditions, as well as with those obtained using the novel tuning approach proposed in this study. These results will be discussed in the next section.
5. Results
This section presents the matrix values derived from the proposed novel approach for Kalman filter tuning in both direct and indirect INS/GNSS integration. Additionally, the other parameters used to initialize the EKFs are detailed, along with the results obtained from the filter tunings in both the standard (STD) form and the proposed new approach (NA). These results are then compared with those obtained from the platforms.
To calculate the variances in the
matrix using the NA tuning method, inertial data from a roller coaster trajectory, employed in the SIA project (Inertial Systems for Aerospace Application, Sistemas Inerciais para Aplicação Aeroespacial in Portuguese) at the Brazilian Institute of Aeronautics and Space (IAE, Instituto de Aeronáutica e Espaço in Portuguese), are used as the reference trajectory in the Monte Carlo simulation. This trajectory induces more pronounced accelerations and angular velocities, leading to larger variances. This approach is specifically designed to tune the filter for worst-case scenarios, thereby ensuring robustness under extreme conditions. The variance results, truncated to the fourth decimal place, are presented in
Table 3 and
Table 4 for the DEKF and IEKF, respectively. For the DEKF variances, it can be observed that the position variance values were high for the vertical channel due to its instability, a phenomenon discussed in detail by Savage et al. [
30] in the context of inertial navigation systems.
For the other EKF parameters, all filters used the same calibrated inertial sensor data from the platforms, the same value for the matrix , and identical initial point values in the INS for each run, with all data originating from the platforms. For the initial values of the covariance matrix , all filters used the same values, except for those compared with the PINA-F platform. This exception was necessary because the PINA-F platform does not provide standard deviation data in its log.
The following subsections present the results obtained from the filter tunings. The reference trajectory, shown in some graphs, was obtained using Google Earth and is therefore only applicable to latitude and longitude plots. In the graph legends, “STD Q” denotes the standard tuning, while “NA Q” represents the tuning based on the novel approach proposed in this work. To enhance visualization, areas where the GNSS signal experienced significant degradation are enlarged in the graphs.
5.1. DEKF
This subsection will present the results of the tunings for the direct filter.
5.1.1. PINA-F
Figure 4 presents the results of the INS/GNSS integration for the PINA-F in the geodetic reference frame. No significant differences are observed between the STD and NA tuning. However,
Figure 5,
Figure 6 and
Figure 7 reveal variations when the axes are analyzed independently. In
Figure 5, there is degradation in altitude with the STD tuning, while the NA tuning maintains closer alignment with the platform results. In
Figure 6, the filter with the NA tuning follows the platform results, whereas the STD tuning shows discrepancies across all three axes. Regarding the Euler angles, presented in
Figure 7, the NA tuning shows results close to those of the platform, while the STD tuning diverges at the end of the trajectory, particularly in the roll and pitch angles.
5.1.2. PINA-M
Figure 8 presents the results of the INS/GNSS integration for the PINA-M in the geodetic reference frame. The NA tuning maintained the trajectory even during moments of GNSS signal interference, achieving better results in some parts of the trajectory than the platform itself, as seen in the enlarged area between latitudes −23.2428 and −23.2436 and longitudes −45.882 and −45.8815. In
Figure 9, there is degradation in altitude with the STD tuning, and in latitude and longitude during periods without GNSS, while the NA tuning maintains closer alignment with the platform results. In
Figure 10, the filter with the NA tuning follows the platform results, whereas the STD tuning shows discrepancies across all three axes. For the Euler angles, presented in
Figure 11, the tunings show similar results overall, but the STD tuning exhibits greater divergence in the roll angle.
5.2. IEKF
This subsection will present the results of the tunings for the indirect filter.
5.2.1. PINA-F
Figure 12 presents the results of the INS/GNSS integration for the PINA-F in the geodetic reference frame. The NA tuning demonstrates a smaller error compared to the STD tuning, as shown in the enlarged area. In
Figure 13, there is degradation in altitude with the STD tuning, while the NA tuning maintains closer alignment with the platform’s results. In
Figure 14, the filter with the NA tuning follows the platform results for north and east velocities, whereas the STD tuning shows discrepancies. For down velocity, the filters diverged from each other. Regarding the Euler angles, presented in
Figure 15, the filters showed similar results for all three axes.
5.2.2. PINA-M
Figure 16 presents the results of the INS/GNSS integration for the PINA-M in the geodetic reference frame. The NA tuning maintains the trajectory even during periods of GNSS signal interference, achieving better results compared to the platform itself, as highlighted in the enlarged areas. In
Figure 17, the STD tuning shows degradation in altitude throughout the trajectory, as well as in latitude and longitude during GNSS outages, whereas the NA tuning remains closely aligned with the platform’s results. In
Figure 18, the NA-tuned filter closely follows the platform’s results, while the STD tuning exhibits discrepancies across all three axes. For the Euler angles, presented in
Figure 19, the STD tuning diverges from both the platform results and the NA tuning, particularly in the
and
axes.
6. Discussion
The results demonstrated that the proposed innovative tuning method achieved satisfactory results compared to commercial platforms, even when different sensor technologies were used. The method aims to quickly determine the appropriate values for the matrix based on sensor datasheet values, thus eliminating the need for an experienced designer, as well as any heuristic assumptions or initial guesses.
The datasheet information provided by manufacturers, especially for lower-cost sensors, often does not perfectly correspond to the actual performance of the sensors. This discrepancy necessitates the performance of new Allan variance tests to obtain values closer to real-world performance. These tests are time-consuming, require a controlled environment, and demand expertise from the person conducting them. The proposed method converts the datasheet values into more accurate real-world values, streamlining the process and removing the need for a specialist.
Additionally, the implementation of the method on platforms with different sensor technologies, such as FOGs and MEMS, highlights the robustness and flexibility of the approach. Even in scenarios where the sensors have significantly different noise characteristics, the proposed tuning method successfully maintained trajectory accuracy, particularly during periods of GNSS signal degradation.
Future work will focus on further optimizing the tuning parameters. Specifically, the matrix will be made adaptive to temperature variations, as inertial sensors are particularly sensitive to these changes. This adjustment would allow for even more precise tuning under variable operational conditions, potentially further improving the performance of inertial navigation systems.
Moreover, incorporating Real-Time Kinematic (RTK) data in future experiments could provide an even higher level of accuracy and serve as a more precise reference for evaluating the proposed method. A direct comparison of the proposed method with other recent automatic Kalman filter tuning methods, including those that use machine learning or genetic algorithms, would also be beneficial.