Preprint
Article

This version is not peer-reviewed.

Real-Time and Post-Mission Heading Alignment for Drone Navigation Based on Single Antenna GNSS and MEMs-IMU Sensors

Submitted:

19 December 2024

Posted:

06 January 2025

You are already at the latest version

Abstract

This paper aims to develop a heading alignment procedure for drone navigation employing a single hover GNSS antenna combined with low-grade MEMs-IMU sensors. The design was motivated by the need for a drone-mounted differential interferometric SAR (DinSAR) application; however, the methodology proposed in this work can be applied to any Unmanned Aerial Vehicle (UAV) application that requires high-precision navigation data for short-flight missions utilizing cost-effective MEMS sensors. The method proposed here involves a Bayesian parameter estimation based on a simultaneous cumulative Mahalonobis metric applied to the innovation process of Kalman-like filters, which are identical except for the initial heading guess. The procedure is then generalized and called parametric alignment. The motivation for the multidimensional extension in the scenario is also presented. The method is highly applicable for cases where gyro-compassing is not available, usually for low-cost UAV applications. It employs the most straightforward optimization techniques that can be implemented using a real-time parallelism scheme. Numeric simulations and experimental evaluations using a real UAV demonstrate that the proposed method can provide initial heading alignment when the heading is not directly observable during takeoff.

Keywords: 
;  ;  ;  
same

1. Introduction

Navigation is a core component of drone guidance, control, and navigation (GNC) systems, which themselves are essential subsystems of drones. To function effectively, both orientation and navigation must adhere to specific performance standards, often focused on precision, accuracy, integrity, availability, and continuity. These last four parameters, the required navigation performance criteria (RNP), form the basis for navigation specifications.
When using low-cost inertial sensors for navigation of UAV, such as IMU based on MEMs technology and single antenna GNSS receiver, one faces a significant challenge: obtaining the vehicle’s true heading before taking off. In this context, the usual way to find heading orientation with satisfactory accuracy in aerial navigation of UAVs with a single GNSS antenna relies on gyro-compassing, e.g., see [1] for an account of existing forms of heading alignment.
In a GNSS/INS loosely coupled integration scheme performed by a Kalman-like filtering algorithm, the pitch and roll estimates are more accurate than the heading, mainly because of their orientation relative to the gravity vector. The accelerometers in the INS module continuously measure the gravity acceleration vector, which in steady flight is orthogonal to the heading plane, providing good information on pitch and roll angles; however, it is poorly correlated with the heading angle, see Figure 1. Suppose a lever arm between the GNSS antenna and the IMU exists. In that case, it may provide some correlation information with the heading angle depending on the path profile developed by the UAV.
In this paper, we further develop the heading determination ideas outlined in [2] that suit the post-processed flow presented therein. The expansion of this technique is two-fold. First, we adapt to the real-time scenario of navigation based on the loosely coupled GNSS/INS integration problem, and then it is adapted to the multiparameter alignment problem. The processing should take a parallel form in real-time, seeking the heading estimate, while the filter adopts a rougher prior heading guess.
The heading alignment technique can be extended to multiple parameter alignment in a multivariable extension of the previous method to tackle the simultaneous adjustments, with interest to the navigation problem. For example, it applies to an accurate lever arm or body-to-IMU rotation determination in a UAV platform. Also, considering the improvement in IMU bias stability in up-to-date MEMS devices, the bias can be taken for granted as fixed during short drone flights, and the multivariable alignment technique applies to their determination as well. Although more involving and requiring more steps, the multivariable method leads to better values than the starting values since, under certain conditions, it produces a monotone decreasing sequence in terms of an estimation error. With that, the number of steps can be chosen as a compromise between the accuracy and effort required for the drone application in mind.
This paper reads as follows. Section 2 briefly introduces the elements of an inertial navigation system, the dynamic, and the GNSS measurement models. It details the preliminary alignment procedure for the pitch and roll angles. It presents the extended Kalman-Lie filter and describes how the RMS mean value of the innovation process can qualify parameter adjustments, namely, the guesses of the initial heading. Section 2 ends with a brief presentation of the quadratic fitting optimization technique, our ultimate tool. Section 3 develops the heading alignment method as a Bayesian parametric estimation in post-processed and real-time tailored for UAV navigation. This section also includes results with experimental data from a study of an actual UAV platform, used to evaluate the log-likelihood curve profile and the convergence process. Section 4 develops the multidimensional extension using quadratic fit optimization adapted to the multidimensional problem. It produces a monotone decreasing sequence that assures a better parameter vector adjustment. Considering the cost of multiple evaluations, some algorithm ideas are devised. Concluding remarks appear in Section 5.

2. Inertial Navigation System for Drones

To achieve an accurate solution to the navigation problem of the UAV platform, the usual approach is to employ a Kalman-like filter to combine GNSS low-frequency measurements with high-frequency IMU-MEM measurements. In particular, our scenario considers that the UAV platform is mounted with a GNSS receiver compatible with RTK processing, such that the filter can update the predicted PVA state variables with highly accurate position measurement. The Kalman filter can adequately yield satisfactory results if the initial pose and sensor bias estimation are accomplished successfully on the ground with reasonable accuracy, depending upon the precision required for the UAV mission. Although static leveling methods can adequately estimate pitch and roll angles in the ground, the heading angle of the drone remains to be determined when the IMU cannot measure the Earth’s rotation. Moreover, ground roll and pitch angles are not so critical since they are well observed by the filter and corrected during the flight without trouble.
While the drone is still before taking flight, the biases of the IMU sensors can be well estimated by the same stochastic filter feed with Zero-Velocity-Updates (ZVU). During this period of pre-tuning, the bias estimation converges, and afterward, the filter parameters switch to the calibrated flight mode. If the drone flight is short, the bias fluctuations will be insignificant and incapable of obliterating the quality of the estimation during the flight. In other words, in short flights, the heading’s initial orientation of the drone is the main problem; for longer flights, bias re-estimation, and heading orientation are both challenges to be carried out. This scenario, combined with any fine adjustments of mechanical parameters of the UAV platform, such as the lever arm or IMU-to-body orientation, motivates the extension for multivariable parameter alignment of our proposed method.
notation: The following notation is adopted: x β α γ for a vector, x represents the coordinates of some kinematic property (position, velocity, etc.) of frame α w.r.t. frame β , expressed in frame γ . The navigation frame is the North-East-Down (NED) local-level frame, abbreviated by the index n; the body frame is indicated by b, the inertial frame by i, whereas the Earth Centered Earth Fixed (ECEF) frame is indexed by e.

2.1. Dynamic and Measurement Models

The PVA kinematic navigation equations in continuous time are given as [3,4],
C ˙ b e = C b e [ ω i b b ] × [ ω i e e ] × C b e ,
p ˙ e b e = v e b e ,
v ˙ e b e = C b e f i b b 2 [ ω i e e ] × v e b e + g e
where the position p e b e = [ x e b e y e b e z e b e ] is coordinated in the Earth-Centered-Earth-Fixed (ECEF) frame, and
ω i e e = [ ω e cos ( L ) 0 ω e sin ( L ) ]
where ω e is the Earth rotation rate, and L is the latitude; ω i b b , f i b b R 3 are the angular velocity and specific force, respectively. Gravity may be obtained through a gravity model; the simplified model in [5] suffices for our purposes.
In [6], it is pointed out that the INS kinematic model in Equation (1) is exact since there is no model error or uncertainty. The uncertainty in navigation problems comes from the sensors and local gravity anomalies.
Gyroscopes and accelerometers are subject to errors that limit the accuracy at which angular rotations or specific forces are measured. The following simplified inertial sensor models are suitable for achieving reliable results for drone missions with short flights:
ω ˜ i b b = ω i b b + b g + ε g ,
f ˜ i b b = f i b b + b a + ε a ,
where f ˜ i b b and ω ˜ i b b are IMU’s noisy values of the specific force and angular velocity, respectively. ε g N ( 0 , σ g 2 ) and ε a N ( 0 , σ a 2 ) form iid white noise sequences and are related to the angular random walk (ARW) and velocity random walk parameters of the IMU. In addition, b g , b a are the gyroscope and accelerometer biases, respectively, and the biases are expressed in the body frame. The biases are modeled as random walk processes in the form
d b g = B g d W g ,
d b a = B a d W a ,
where W g and W a are Wiener processes of appropriate dimensions and B g and B a are diffusion coefficient matrices associated with the IMU’s bias instability.
GNSS position measurements are provided in differential mode and processed using RKT, which is expressed in the ECEF frame. The INS kinematic model is also expressed in the ECEF, such that the GNSS measurements furnish trajectory updates without coordinate transformation. If a navigation solution is required in the local frame coordinates, one can readily transform from ECEF to NED coordinates (see [3]). In this work, we consider that the hover antenna is shifted from the origin of the UAV body coordinate system, whereas the UAV body origin coincides with the IMU origin.
Therefore, the model for the actual measurement must take into account a lever arm effect to provide a meaningful measurement to feed the Kalman filter, as shown in the following equation:
p GNSS = p e b e + C b e l b + ν
where ν i i d N ( 0 , R ) is the GNSS noise, assumed to be uncorrelated white noise with covariance R.

2.2. Coarse Alignment: Pitch and Roll Angles

Initialization of the inertial navigation system for drone navigation is crucial in order to achieve accurate navigation results. Before takeoff, while the UAV is steady-still in the ground, the INS measures zero linear and angular velocities besides the biases and noises. Thus, the initial values for the gyroscope biases can be estimated by averaging their measurements during this stationary period. Whereas, the initial position can be accurately obtained by averaging GNSS measurements over a sufficiently long time window.
Furthermore, the “leveling method” [3] can be used to obtain the initial pitch ( θ 0 ) and roll ( ϕ 0 ) angles. The principle behind the leveling method is that when the INS is stationary, the accelerometer triad only perceives the acceleration of gravity. As a result, from trigonometry, the initial pitch and roll angles can be determined as:
θ 0 = arctan f ¯ i b , x b ( f ¯ i b , y b ) 2 + ( f ¯ i b , z b ) 2 ,
ϕ 0 = arctan 2 ( f ¯ i b , y b , f ¯ i b , z b )
where f ¯ i b , x b , f ¯ i b , y b , f ¯ i b , z b are the average accelerometer output during a time window. Note that one should use the four-quadrant arc tangent function for the roll angle. The accuracy of Equation (5) is limited mainly by the accelerometer biases [4].
Regarding the initial heading alignment for a UAV platform, the gyro-compassing method or a magnetometer compass could be used to determine the initial heading. However, gyro-compassing requires expensive navigation-grade gyroscope sensors capable of measuring the earth’s rotation rate, which, as mentioned before, is not the case with low-cost MEMs-IMU devices. In turn, magnetometers usually fail to attain the required precision besides other hindrances to their use, such as the proximity of electric motors and other electromagnetic devices. Another way is to use multi-antenna GNSS receivers to address the heading alignment problem for a UAV platform. However, this also requires more expensive devices. As a result, we aim to develop a method that relies solely on low-cost MEMs and single antenna GNSS hover receiver for proper initialization of the heading angle, as will be described in the following sections.

2.3. The Kalman Filter and its Role in Qualifying Parameters

The Kalman Filter innovation signal forms a zero-mean uncorrelated Gaussian white noise sequence in the pure linear Gaussian scenario. In practical scenarios, this characterization is obliterated, in general. However, the innovation signal remains a figure of merit for good tuning, as it carries a filter’s ability to make one-step predictions and connects to the filter likelihood [7]. It encounters applications, such as multiple targets tracking [8,9] to create measurement gating using Mahalobis or a similar distance. Filter likelihood is at the heart of other filtering schemes, such as interacting multiple models (IMM) filtering [7,10] or particle filtering [11,12], to mention a few.
For the GNSS/INS integration problem tailored for drone navigations, one can employ filters that account for the rigid body kinematics in different manners, such as based on Euler angles, quaternions, or evolving in matrix Lie groups. The latter is employed in [2] with good results, where an EKF based on Lie groups, developed in [13,14], applies for the loosely coupled integration of GNSS/INS of an actual UAV for an application involving drone-borne DinSAR system. The discrete-time EKF in a Lie group takes the form:
X ^ k + 1 | k = X ^ k | k exp G ( Ω ^ k ) ,
P k + 1 | k = F P k | k F + J r ( Ω ^ k ) Q k J r ( Ω ^ k )
K k + 1 = P k + 1 | k H ( R k + 1 + H P k + 1 | k H ) 1
X ^ k + 1 | k + 1 = X ^ k + 1 | k exp G ( K k + 1 η k + 1 ) , η k + 1 = y k + 1 h ( X ^ k + 1 | k )
P k + 1 | k + 1 = ( I K H ) P k + 1 | k ( ) + K R k + 1 K
where
F : = Ad G ( exp G ( Ω ^ k ) ) + J r ( Ω ^ k ) C k
C k : = ϵ [ Ω ( X ^ k | k exp G ( ϵ ) ) ] | ϵ = 0
H : = ϵ [ h ( X ^ k + 1 | k exp G ( ϵ ) ) ] | ϵ = 0 ,
see the above-mentioned references for more details on the Kalman filter evolving in Lie Groups. In simple terms, the state of a Kalman filter in a Lie group is a matrix that incorporates the kinematic variables of the navigation system. The implementation of the prediction and update step for the EKF in the Lie group is carried out by replacing the usual addition operation with the exponential map of the Lie group, see (6a)–(6d).
Consequently, k X ^ k | k is the state estimate that contains the estimate of position, velocity, attitude, and eventually estimates of sensor biases; in addition, k y k are the position measurements provided by the GNSS.
Here, of interest is the innovation process k η k showing the mean update of the filter, Equation (6d). The process k η k may differ from an ideal sequence of Gaussian white noise, compromised by bias, time correlation, and other imperfections. Still, it yields the simplest form of filter accuracy grading, suitable for verification, adjustment, and comparison by probing its RMS value.
To illustrate, let us consider two filters, F ( p 1 ) and F ( p 2 ) , parametrized differently by p 1 and p 2 . Taking into account their respective innovation processes k η k 1 , η k 2 , a simple form of ranking their relative accuracy is to evaluate
P RMS i = 1 N 2 N 1 k = N 1 N 2 ( η k i ) 2 , i = 1 , 2
along the same set of data trajectory for a period of time N 2 N 1 long enough so that the estimates P RMS i ’ become relevant and converge within the required precision. The best performer is clearly arg min 1 , 2 P RMS i , even if their innovations may be associated with correlation and bias. However, for all defects, the RMS value of the innovation is a practical indicator of filter performance.
In Section 3, we show how the filter innovation RMS can rank heading initialization for drone navigation systems.

2.4. Unidimensional Quadratic Fit

The last preparatory section presents our primary optimization tool throughout this work. It is the simplest form of finding the minimum of a scalar function without recurring to the gradient1, assuming that the function is unimodal or suffices to find the nearest local minimum. See [15] for the following construction.
Given scalars x 1 , x 2 , x 3 and corresponding values y 1 = f x 1 , y 2 = f x 2 , y 3 = f x 3 , the quadratic function passing through these points is
q ( x ; x 1 , x 2 , x 3 ) = i = 1 3 y i j i x x j j i x i x j .
A new point x 4 for which the derivative of q vanishes is such that,
x 4 = 1 2 b 23 y 1 + b 31 y 2 + b 12 y 3 a 23 y 1 + a 31 y 2 + a 12 y 3
where a i j = x i x j , b i j = x i 2 x j 2 . The point x 4 is a minimum provided that
i = 1 3 y i j i x i x j > 0 .
A sequence x i , i = 1 , 2 , is produced by successively applying the quadratic fit above, finding an approximation for the minimum of the original function f as in Equation (7) for x 4 , and keeping the three out of four points with smaller values of f. Under certain conditions, the sequence is monotonic and converges to the minimum [15].

3. Heading Alignment for UAV

The heading alignment procedure applies differently depending on whether the application is in real-time or post-mission. The more straightforward case is the post-mission one, which will be studied next.

3.1. Post-Mission Heading Alignment

In the post-mission scenario, we seek a reliable initialization of the heading angle ( ψ 0 ) of a UAV platform using the flight track of the drone. Moreover, we are interested in using low-cost MEM sensors without a gyrocompass capability.
For this purpose, we adjust the Bayesian parametric estimation scheme described in (cap. 16 [16]) to the present problem. The method applies when all flight data are collected, represented generically by y 1 : N , and evaluates the posterior distribution p ( ψ 0 | y 1 : N ) . Once the posterior distribution is obtained, the strategy is to find the most likely value for the initial heading ψ 0 according to p ( ψ 0 | y 1 : N ) , which results in the Maximum a Posteriori (MAP) estimator for the initial heading.
To start, note that from Bayes’ theorem, one has
p ( ψ 0 | y 1 : N ) p ( y 1 : N | ψ 0 ) p ( ψ 0 )
p ( ψ 0 ) is some prior distribution related to a (rough) heading orientation adopted before take-off. For simplicity, consider E [ ψ 0 ] = 0 (in degrees or radians) and p ( ψ 0 ) = N ( 0 , σ ψ 2 ) as a prior for the heading initial orientation. Moreover, note that p ( y 1 : N | ψ 0 ) can be factorized in the form
p ( y 1 : N | ψ 0 ) = k = 1 N p ( y k | y 1 : k 1 , ψ 0 ) .
We assume that the marginal measurement distribution p ( y k | y 1 : k 1 , ψ 0 ) is a Gaussian distribution of form
p ( y k | y 1 : k 1 , ψ 0 ) = N ( h ( X ^ k | k 1 ψ 0 ) , R k + H P k | k 1 ψ 0 H )
where X ^ k | k 1 ψ 0 and P k | k 1 ψ 0 come from the filtering solution in Equation (6) associated with some fixed ψ 0 value. Hence, the most likely value for the initial heading can be found by solving min ψ 0 log ( p ( ψ 0 | y 1 : N ) ) .
Let φ ( ψ 0 ) = log ( p ( ψ 0 | y 1 : N ) ) . Then,
φ ( ψ 0 ) = k = 1 N log ( p ( y k | y 1 : k 1 , ψ 0 ) ) log ( p ( ψ 0 ) ) + cte = k = 1 N 1 2 log ( | S k ψ 0 | ) + 1 2 η k ψ 0 ( S k ψ 0 ) 1 2 + 1 2 σ ψ 2 ψ 0 2 + cte
with S k ψ 0 = R k + H P k | k 1 H and η k ψ 0 = y k h ( X ^ k | k 1 ψ 0 ) is the filter innovation process at time k. Note that for each value of ψ 0 , Equation (12) provides the respective log-likelihood up to a constant such as p ( ψ 0 | y 1 : N ) exp ( φ ( ψ 0 ) ) . Thus, for a sufficient number of evaluations of different values for ψ 0 , one can build the distribution p ( ψ 0 | y 1 : N ) using the filtering solution.
We also suggest the following approximation p ( ψ 0 | y 1 : N ) N ( ψ 0 * , σ ψ * 2 ) . The implication is that the log-likelihood should be (approximately) a quadratic function w.r.t. ψ 0 . Hence, by evaluating ψ 0 φ ( ψ 0 ) in three distinct points, one can obtain the approximated log-likelihood function and estimate its minimum using the quadratic fit in Section 2.4.
Therefore, this work proposes a heading alignment scheme well-suited for drone navigation using low-cost MEMs-IMUs sensors consisting of three independent D-LIE-EKF, each with a different initial heading value { ψ 0 1 ψ 0 2 ψ 0 3 } . After running these three filters, three samples from the log-likelihood φ ( ψ 0 ) are obtained. After that, an unidimensional quadratic curve is fitted to the samples ( ψ 0 1 , φ ( ψ 0 1 ) ) ( ψ 0 2 , ϕ ( ψ 0 2 ) ) , ( ψ 0 3 , φ ( ψ 0 3 ) ) , and a minimizer point ψ 0 * is determined, see Equation (7). Such a new value may attain precision and suffice to halt the procedure. The quadratic fit approximation improves as the three chosen points are nearer to the minimum; further iterations are a matter of the project’s required accuracy since the quest for the optimal requires producing a minimizing sequence as described in Section 2.4.

3.2. Real-Time Heading Aligment

In real-time operations, we devise a procedure to provide initial heading estimates during the actual flight of the drone, allowing an initial time window for a satisfactory estimation. During the calibration window, the following steps are involved; see also Figure 2:
  • Initialize a set of three filters { F ( ψ 0 i ) } i = 1 , 2 , 3 , each parameterized by an initial heading ψ 0 i otherwise equal initial conditions. The central value of ψ 0 i would carry a rough estimate of the initial heading;
  • Acquire streaming data from the GNSS and the IMU. Note that these are obtained at different sampling rates;
  • Feed the independent filters with the measurements, executing the prediction step, Equation (6a), at the accelerometer/gyroscope sampling rate, and the update step, Equation (6d), at the GNSS sampling rate;
  • During update step, compute for each filter the k-th term of the sum in Equation (12).
  • Using the three values of φ ( ψ 0 i ) , parameterize a parabola and find its minimum, representing an estimate of the initial heading ψ 0 * .
  • Finally, create a new filter F ( ψ 0 * ) initialized with the best initial heading estimate and fed the data collected so far.
After accumulating sufficient values, that is, N in Equation (12) is large enough, the estimate should converge to the initial heading that maximizes the posterior probability, thus, performing a MAP estimation of ψ 0 . A stopping criterion must be adopted to assess convergence, and due to the reduced time to converge, the initial estimation window is small and coincides with initial drone maneuvers.
During the estimation window, one of the three filters considered produces the trajectory estimation Considering the filter processing time, the trajectory estimation provided by the correct filter F ( ψ 0 * ) should be able to catch up to the most recent data in the stream.

3.3. Heading Alignment Performance Evaluation

Figure 3 shows an example of a single-step filter-based heading alignment optimization proposed in this work applied to a real navigation dataset collected during an actual flight test of a UAV. It shows the results after convergence during an actual flight mission. Three choices of initial heading angles are ψ 0 1 = 6 , ψ 0 2 = 6 and ψ 0 3 = 18 are guessed from a rough estimate given by a simple off-the-shelf compass.
The actual log-likelihood curve for ψ 0 is shown from calculations on a fine angle grid, using 60 distinct initial heading values ranging from 180 to 180 . Near the minimum, a quadratic fit passes through points ψ 0 1 , ψ 0 2 , and ψ 0 3 to estimate the precise value. The best initial heading in this example is ψ 0 * = 4 . 38 . Note that the quadratic approximation is close to the exact curve, and both minima nearly coincide.
The above example corresponds to the post-mission heading alignment operation scenario. In a second experiment, we evaluate the convergence of the method using the same drone flight trajectory now devoted to real-time operation. The result is summarized in Figure 4, depicting how the initial heading value and the quadratic approximation evolve over time.
In an initial stretch, the first 40 seconds of the trajectory, the filter has not yet performed an update step in flight (only ZVU updates), and therefore, no innovation calculation or heading estimation occurs. From the end of this interval, the in-flight update step execution begins, and the heading starts to be estimated.
In the second time stretch, roughly between 100 and 130 seconds, the method does not provide an accurate estimate. The fluctuation of the estimate is large due to the low curvature of the parabola associated with large distribution variances.
Finally, after about 130 seconds (90 seconds from the start of the flight), the initial heading estimate converges to a value of ψ 0 * = 4 . 38 . At this point, the curvature of the parabola is significantly higher.

4. Extension to Multidimensional Alignments

Here, we call multidimensional alignments in analogy with the scalar case. The idea is to extend the problem studied in Section 3 where we wish to evaluate the performance of a filter F ( p ) regarding a multidimensional parameter p R m .
The motivation relies on dealing with the accelerometer and gyroscope bias. Also, in some situations, the preliminary alignment of pitch and roll described in Section 2.2 cannot be applied or leads to poor results. In some cases, other parameters are necessary before taking off for a UAV platform, such as the IMU-to-Body rotation matrix or the lever arm to the GNSS antenna. Although the scalar method applied to the heading assessment in Section 3 could be applied sequentially by component, a multivariate method that can deal with all parameters simultaneously is desirable for faster determination. We propose extending the scalar method to deal with such a scenario.

4.1. Multidimensional alignment

Suppose that we are dealing with a multidimensional alignment problem of a UAV platform where a parameter Θ R m is constant but unknown during the flight. Following the same approach as described before, define the posterior distribution of these parameters as
p ( Θ | y 1 : N ) p ( y 1 : N | Θ ) p ( Θ )
with prior p ( Θ ) = N ( 0 , Σ ) . Moreover, note that p ( y 1 : N | Θ ) can be factorized in the form
p ( y 1 : N | Θ ) = k = 1 N p ( y k | y 1 : k 1 , Θ ) .
We assume that the marginal measurement distribution p ( y k | y 1 : k 1 , Θ ) is a Gaussian distribution of form
p ( y k | y 1 : k 1 , Θ ) = N ( h ( X ^ k | k 1 Θ ) , R k + H P k | k 1 Θ H )
where X ^ k | k 1 Θ and P k | k 1 Θ come from the filtering solution in Equation (6) associated with some fixed Θ value. Hence, the most likely value for the parameter Θ can be found by solving min Θ log ( p ( Θ | y 1 : N ) ) .
Let φ ( Θ ) = log ( p ( Θ | y 1 : N ) ) . Then,
φ ( Θ ) = k = 1 N log ( p ( y k | y 1 : k 1 , Θ ) ) log ( p ( Θ ) ) + cte = k = 1 N 1 2 log ( | S k Θ | ) + 1 2 η k Θ ( S k Θ ) 1 2 + 1 2 Θ Σ 1 2 + cte
with S k Θ = R k + H P k | k 1 H and η k Θ = y k h ( X ^ k | k 1 Θ ) is the filter innovation process at time k. Note that for each value of Θ , Equation (15) provides the respective log-likelihood up to a constant such as p ( Θ | y 1 : N ) exp ( φ ( Θ ) ) . Thus, for a sufficient number of evaluations of different values for Θ , one can build the distribution p ( Θ | y 1 : N ) using the filtering solution.

4.2. Quadratic Fit: Multidimensional Extension

Many optimization methods could apply to the multidimensional MAP problem associated with the minimizing φ ( Θ ) in Equation (15). Alternatively, the equivalent MMS estimator can be evaluated by sampling the conditional distribution p ( Θ | y 1 : N ) . However, a general feature of the outlined scenarios is that the evaluation until convergence of Equation (15) (or even Equation (12)) at each Θ (or ψ 0 ) is relatively expensive and depending on the number N that may be large. Besides, attaining the optimal will be costly and perhaps unnecessarily time-consuming, and a procedure that guarantee the monotonicity of the cost, in the sense that φ ( Θ k ) > φ ( Θ k + 1 ) whenever Θ k arg min log ( p ( Θ | y 1 : N ) ) is highly desirable.
Considering these constraints, we propose an optimization procedure that applies to the multidimensional case, relying on the simplicity of the quadratic fitting regarding the number of evaluations and the easiness of calculus. First, we brought the linear algebra tools to bear to allow the quadratic fit method to be applied to a multidimensional function using a planar bisection passing through three points.
The problem we wish to unravel is: Given x 1 , x 2 , x 3 R n and the corresponding values y 1 = f x 1 , y 2 = f x 2 , y 3 = f x 3 , find the plane in ( f ( x ) , x ) R n + 1 containing these points. If p 1 = [ y 1 x 1 ] , p 2 = [ y 2 x 2 ] and p 3 = [ y 3 x 3 ] are the corresponding points in R n + 1 , the plane containing these points can be represent as P = { z R n + 1 : z , n = c 0 , for some c 0 , where n = ( p 2 p 1 ) × ( p 3 p 1 ) / ( p 2 p 1 ) × ( p 3 p 1 ) . Applying Givens rotations successively, one obtain a rotation matrix T such that for any z P ,
α β 0 0 = T z
Applying such transformation to z 1 = 0 , z 2 = p 2 p 1 and z 3 = p 3 p 1 , we get T z 1 = 0 and
α 2 β 2 0 0 = T z 2 , α 3 β 3 0 0 = T z 3
and three coordinate pairs as ( α 1 , β 1 ) = ( 0 , 0 ) , ( α 2 , β 2 ) and ( α 3 , β 3 ) . Now, by setting the correspondence ( y 1 , y 2 , y 3 ) ( α 1 , α 2 , α 3 ) and ( x 1 , x 2 , x 3 ) ( β 1 , β 2 , β 3 ) in Equation (7), a minimizing value β 4 and the corresponding quadratic value α 4 , provided that Equation (8) is satisfied. From the fact that T is a rotation matrix, thus it is a length preserving transformation, the final result in the original coordinate is obtained by,
x 4 = T 1 α 4 β 4 0 0 + p 1
The first component could be the resulting quadratic value if the indicated constant c 0 is determined, but it is of no avail in the calculus here.

4.3. The Minimizing Algorithm

A strategy to apply the multidimensional quadratic fit extension in Section 4.2 must be developed. The basic assumption is that the original operating point, say ( x 0 , f ( x 0 ) ) , is near the minimum; therefore, the search is local. Also, finding the minimum is not necessarily the goal. One may be satisfied with improving the operating point since seeking the minimum might be time-consuming, computationally expensive, or other practical issues may prevent the quest. Whichever is the reason, the idea is to produce an algorithm to find new operating points while monotonously decreasing costs.
The first notion is to investigate two neighboring points x 1 , x 2 around x 0 and find the corresponding values y i = f ( x i ) , i = 1 , 2 , apart from the present operating point ( x 0 , y 0 ) ; this represents the most economic spatial covering of the neighborhood of x 0 . To choose directions x 1 x 0 and x 2 x 0 , we can borrow from curbature integration methods and use the idea of sigma points around x 0 . Given a unitary norm vector2  v R n , create a set of 2 n sigma points centered at x 0 , such as the construction of the set of points is represented by the operator R : R n R n × 2 n , which applied to v produces a set of R n -valued vectors,
χ ( x 0 ) = σ R ( v ) + x 0
containing each combination of π rotations componentwisely over v . That is, for some unitary v = [ v 1 v 2 v n ] , each v i R ( v ) has the form [ ± v 1 ± v 2 ± v n ] with v 1 = v , together with each of possible distinct signal combinations from i = 2 , , 2 n . Evaluations of the function f on such a grid centered at some x R n are indicated by
F ( x ) = f ( χ ( x ) + x )
The scalar value σ modulates the hypervolume of the sigma-points covering. It relates to the uncertainty of the distance between x 0 and the unknown optimal value x * . It should be chosen in a way to satisfy x * Co ( χ ( x 0 ) ) preferably, where Co ( · ) is the convex hull set. Algorithm 1 proceeds with the complete construction and evaluation of the sigma points as the departing idea just described, doing an exhaustive search using x 0 as a central point at each performed quadratic fit.
Algorithm 1 A complete step of sigma-point evaluations
Preprints 143528 i001
The proposed Algorithm 1 is conceptually interesting. Still, it is clearly inefficient since a new minimum, say x 4 is found along one direction at each three-point evaluation, and point x 4 can play the role of a new central point more efficiently than x 0 in Algorithm 1. Since the one-step fit just described produced a monotone decreasing variation, namely f ( x 0 ) f ( x 4 ) , a variation of Algorithm 1 can be devised to reduce the number of evaluations to attain a better operating point at each step.
Algorithm 2 presents a form that speeds up Algorithm 1 by centering the sigma points at the minimum value at each quadratic fitting step. It again involves a direction is given by a unitary v together with the corresponding “sigma points directions” constellation, v i R ( v ) , i = 1 , , 2 n , as follows. Given an operation point x k and a direction v i , at each new step, it employs two sigma points symmetrically displaced concerning x k , say x k , 1 , x k , 2 = ± σ k v i + x k , thus requiring two new evaluations only. Next, the constellation is re-centered at the newly found minimum, and a new direction v j R ( v ) is explored, distinct from any of the previously explored.
Note that the total number of sigma points directions are exhausted after 2 n 1 iterations (i.e., K > 2 n 1 in Algorithm 2), and the choice of directions should restart anew. Moreover, with an eye to parsimony, the number of sigma points can be further reduced for the purpose here. It seems enough to explore 2 n unitary vectors in n orthogonal directions in a n-dimensional parameter space, and if K = n the whole set of directions is examined, namely R ( v ) / U in Algorithm 2. Lastly, the dispersion parameter σ in Algorithm 1 is substituted by a sequence { σ k } , to express the decreasing distance to the optimal, if one can avail.
Algorithm 2 A stepwise decreasing algorithm
Preprints 143528 i002
To illustrate the operation of Algorithm 2, a Monte Carlo simulation was performed, in which the following elements at each sample were randomly generated: the optimal parameter value x * and a positive definite matrix such that the cost is f ( x ) = ( x x * ) M ( x x * ) .
The matrix M is defined by a set of nonnegative eigenvalues, λ R n , λ i > 0 , in which half of the eigenvalues range between 0.1 and 10, and a half between 10 and 160. Another support random symmetric matrix provides the orthogonal eigenvectors. The reason for generating eigenvalues with different intervals is to include scenarios where the quadratic form defining f is ill-conditioned. The initial operating point x 0 is also randomly generated.
The vector v is chosen as one of the coordinate directions and σ k = 5 2 , k . As in Algorithm 2, once a minimum is computed, the operating point is re-centered, and the next orthogonal direction is adopted to the minimizing algorithm. Table 1 shows the average relative gain from the initial cost produced by some number of iterations of Algorithm 2. Figure 5 shows convergence towards the minimum in an ill-conditioned case.
Table 1 shows that the minimization method for the 2D case achieves, on average, a relative gain above 99% in 50 iterations, whereas the 6D case requires twice as many iterations to reach the same percentage gain. As expected, this is mainly due to the dimensional number, as a larger number of directions must be assessed ( 2 6 1 = 32 in 6D against 2 directions in 2D), leading to an extended convergence effort to reach the optimal.
Figure 5 depicts the convergence path in an ill-conditioned problem, exhibiting a long zigzag pattern. The minimization process is expected to converge much faster when the Hessian matrix of an actual cost f near the optimal provides a well-conditioned positive quadratic form.

5. Conclusions

The paper studies a technique to improve heading alignment applied to the GNSS/INS integration scenario tailored for drone navigation problems using low-cost MEMs-IMU sensors. It also accounts for multidimensional parameter alignment, resulting in better accuracy of the overall navigation solution for a UAV platform.
It develops a parameter estimation scheme called parameter alignment, which differs from traditional estimation methods. It relies at any time on three identical stochastic filters, except for some initial parameter (or parameter vector). Bayesian analysis produces the metric in Equation (12) that makes a qualifying measure of each filter’s innovation process when monitored over time. The unidimensional quadratic fit applies straightforwardly to these measures under the assumption of the Gaussian posterior distribution, pointing out the optimal value. The work also presents an extension to the multidimensional case, in which the optimization could be done in different manners. In particular, we outline an optimization procedure based on the quadratic fit that improves the parameter alignment value at each step and is well suited to the scenario we explore here. Numeric experiments using synthetic data demonstrate the proposed method’s applicability to finding the initial heading for a drone navigation system. In addition, using the actual dataset from UAV missions, we show that better performance can be achieved in real applications of drone navigations where the IMU is incapable of gyro-compassing. Therefore, the method proposed in this work appears to be a reasonable alternative for low-cost drone navigation systems. Moreover, as far as the authors know, it is a new approach to the initial heading alignment problem that is well suited for the navigation of UAV platforms.

Author Contributions

Investigation, João Contreras and Jitesh Vassaram; Supervision, Marcos Fernandes and João do Val.

Funding

This research received no external funding.

Acknowledgments

The authors are thankful to the Radaz Indústria e Comércio de Produtos Eletrônicos S.A. for supporting this work.

Conflicts of Interest

The authors declare no conflicts of interest.

Abbreviations

The following abbreviations are used in this manuscript:
PVA Position, Velocity and Attitude
KF Kalman Filter
IMU Inertial Measurement Unit
INS Inertial Navigation System
GNSS Global Navigation Satellite System
MAP Maximum a Posteriori
MMS Minimum Mean Square

References

  1. Gade, K. The Seven Ways to Find Heading. Journal of Navigation 2016, 69, 955–970. [Google Scholar] [CrossRef]
  2. Fernandes, M.R.; Magalhães, G.M.; Zúñiga, Y.R.C.; do Val, J.B.R. GNSS/MEMS-INS Integration for Drone Navigation Using EKF on Lie Groups. IEEE Transactions on Aerospace and Electronic Systems 2023, 59, 7395–7408. [Google Scholar] [CrossRef]
  3. Groves, P.D. Principles of GNSS, Inertial, and Multisensor Integrated Navigation Systems; Artech House, 2013.
  4. Titterton, D.; Weston, J. Strapdown Inertial Navigation Technology, 2nd ed.; The Institution of Electrical Engineers, 2004.
  5. Rogers, R.M. Applied Mathematics in Integrated Navigation Systems, 2nd ed.; American Institute of Aeronautics and Astronautics, Inc., 2003.
  6. Goel, A.; Aseem, S.; Islam, U.L.; Ansari, A.; Kouba, O.; Bernstein, D.S. An Introduction to Inertial Navigation From the Perspective of State Estimation. IEEE Contr Syst Mag 2021, 45. [Google Scholar]
  7. Bar-Shalom, Y.; Li, X.R.; Kirubarajan, T. Estimation with Applications to Tracking and Navigation; Wiley-Interscience, 2001; p. 584.
  8. Blackman, S.; Popoli, R. Design and Analysis of Modern Tracking Systems; Artech House Publishers, 1999; p. 1230.
  9. Streit, R.; Angle, R.B.; Efe, M. Analytic Combinatorics for Multiple Object Tracking; Springer International Publishing AG, 2020.
  10. Blom, H.; Bar-Shalom, Y. The interacting multiple model algorithm for systems with Markovian switching coefficients. IEEE Transactions on Automatic Control 1988, 33, 780–783. [Google Scholar] [CrossRef]
  11. Ristic, B.; Arulampalam, S.; Gordon, N. Beyond the Kalman Filter; Artech House Publishers, 2004; p. 318.
  12. Chopin, N.; Papaspiliopoulos, O. An Introduction to Sequential Monte Carlo; Springer, 2020; p. 350.
  13. Bourmaud, G.; Mégret, R.; Giremus, A.; Berthoumieu, Y. Discrete extended Kalman filter on Lie groups. In Proceedings of the 21st EUSIPCO, Marrakech, Morocco, 2013.
  14. Bourmaud, G.; Mégret, R.; Giremus, A.; Berthoumieu, Y. From Intrinsic Optimization to Iterated Extended Kalman Filtering on Lie Groups. J Math Imaging Vis 2016, 55, 284–303. [Google Scholar] [CrossRef]
  15. Luenberger, D.G. Introduction to linear and nonlinear programming; Addison-Wesley: Reading, Mass., 1973.
  16. Särkkä, S. Bayesian filtering and smoothing, second edition ed.; Number 17 in Institute of Mathematical Statistics textbooks, Cambridge University Press: Cambridge, 2023.
1
Or, for that matter, to the derivatives in general, which may or may not exist.
2
The vector notation is used here to facilitate the understanding.
Figure 1. The diagram illustrates the invariance of the projections of the gravity vector ( f i b , x b , f i b , y b , f i b , z b ) on the body axes of a UAV after a change in the initial heading (yaw rotation). Thus, even before the flight, the readings would be the same for frames b 1 and b 2 , making it impossible to determine the initial heading of the UAV.
Figure 1. The diagram illustrates the invariance of the projections of the gravity vector ( f i b , x b , f i b , y b , f i b , z b ) on the body axes of a UAV after a change in the initial heading (yaw rotation). Thus, even before the flight, the readings would be the same for frames b 1 and b 2 , making it impossible to determine the initial heading of the UAV.
Preprints 143528 g001
Figure 2. Illustrative diagram showing the steps involved in obtaining the heading estimate via MAP of p ( ψ 0 | y 1 : N ) in a real-time application of a drone navigation system.
Figure 2. Illustrative diagram showing the steps involved in obtaining the heading estimate via MAP of p ( ψ 0 | y 1 : N ) in a real-time application of a drone navigation system.
Preprints 143528 g002
Figure 3. Example of the quadratic approximation (blue curve) obtained by sampling three distinct initial heading values. The black curve is the log-likelihood function obtained for a real data flight and filter experiment. Note the remarkable precise sinusoidal profile. The minimum point of the quadratic approximation (in green) is taken as the estimate for the initial heading.
Figure 3. Example of the quadratic approximation (blue curve) obtained by sampling three distinct initial heading values. The black curve is the log-likelihood function obtained for a real data flight and filter experiment. Note the remarkable precise sinusoidal profile. The minimum point of the quadratic approximation (in green) is taken as the estimate for the initial heading.
Preprints 143528 g003
Figure 4. Two perspectives following the evolution of heading estimation: the first is a three-dimensional mesh representation of the parabolas fitted over time; the second is a view of the ψ 0 vs. time plane, illustrating the evolution of the estimated heading values (the parabola’s minimum point).
Figure 4. Two perspectives following the evolution of heading estimation: the first is a three-dimensional mesh representation of the parabolas fitted over time; the second is a view of the ψ 0 vs. time plane, illustrating the evolution of the estimated heading values (the parabola’s minimum point).
Preprints 143528 g004
Figure 5. path convergence of Algorithm 2 in a ill-conditioned problem in two dimensions.
Figure 5. path convergence of Algorithm 2 in a ill-conditioned problem in two dimensions.
Preprints 143528 g005
Table 1. Average relative gain evaluation, 100 ( f ( x 0 ) f ( x k ) ) / f ( x 0 ) % obtained through 500 Monte Carlo evaluations.
Table 1. Average relative gain evaluation, 100 ( f ( x 0 ) f ( x k ) ) / f ( x 0 ) % obtained through 500 Monte Carlo evaluations.
Number of Iterations
Mean Gain (%) K = 1 K = 5 K = 50 K = 100 K = 500
R 2 69.43 92.27 99.91 99.98 100
R 6 27.89 78.33 98.77 99.58 99.99
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.
Copyright: This open access article is published under a Creative Commons CC BY 4.0 license, which permit the free download, distribution, and reuse, provided that the author and preprint are cited in any reuse.
Prerpints.org logo

Preprints.org is a free preprint server supported by MDPI in Basel, Switzerland.

Subscribe

Disclaimer

Terms of Use

Privacy Policy

Privacy Settings

© 2025 MDPI (Basel, Switzerland) unless otherwise stated