1. Introduction
To operate an unmanned vehicle, it is essential to estimate the vehicle’s position, velocity, and attitude at every moment with high accuracy. The inertial navigation system (INS) is widely used to estimate a vehicle’s state. The INS uses measurements from the Inertial Measurement Unit (IMU) on the vehicle to calculate position, velocity, and attitude. The IMU consists of a gyroscope that measures angular velocity and an accelerometer that measures linear acceleration. However, the INS accumulates errors over time, and drifts occur. As a solution to this problem, measurements from other systems are expected to be used to correct the error. Typically, the INS uses position and velocity from the Global Navigation Satellite System (GNSS). The GNSS provides a real-time position, with meter-level accuracy in open-sky environments [
1]. It is also relatively inexpensive and accessible, allowing it to be integrated with many other systems. However, it cannot be used in indoor, underground, or underwater environments where GNSS signals are unavailable, and multipath error increases in urban environments with many obstacles, such as buildings [
1,
2,
3].
In recent years, vision and LiDAR sensors have been widely used in environments where the GNSS is not available [
4,
5]. These two sensors can generate 3D maps and modeling to acquire rich environmental information. However, both sensors can distort measurements in extreme motion and contaminate measurements in light-affected environments. Vision sensors, such as cave environments, are also challenging to use in dark environments without light [
6]. However, LiDAR sensors can be challenging in environments where light is reflected [
7] and foggy conditions where objects are difficult to detect [
8].
Localization using magnetic fields has several advantages over the above systems. Common objects in the indoor environment are usually magnetically permeable, so the magnetic field is less affected by these objects. Magnetic field localization can also be used underwater and on the ground. There have been many studies that use magnetic fields for localization [
9,
10,
11,
12].
This paper uses a Magnetic Pose Estimation System (MPS) based on an AC magnetic field. As a pure magnetic field intrinsically demonstrates excellent permeability characteristics except for ferromagnetic materials within the propagation path, it has the advantage that the magnetic attenuation effect is negligible for many environmental media, e.g., air, wood, plastics, organic body, etc. Therefore, studies using artificially generated magnetic field signals as a localization means indoors and outdoors, underwater, or inside the human body have been published recently [
13,
14]. The MPS uses four coils to generate an artificial AC magnetic field. Then, the residuals of the theoretical magnetic field based on the circular loop model and the magnetic field measurement through the magnetometer are used to estimate the position and attitude using the numerical optimization process. Despite its advantages, environmental interference, such as the eddy current effect caused by concrete–iron buildings, requires more robust estimation performance.
Meanwhile, when integrating multiple sensors, state variables are typically estimated using an extended Kalman filter (EKF) structure. This is because, for general nonlinear systems, the EKF approach can provide many inherent advantages for estimating state variables in sensor fusion problems due to its computational efficiency, algorithmic simplicity, and real-time performance [
15]. As a result, the EKF adapted in this paper also has the most popular structure, incorporating position, velocity, and attitude represented by a quaternion and IMU bias as state variables [
16,
17]. This filter typically treats the state variables as vectors, which is different from the IEKF approach that uses a matrix Lie group of state variables. While the EKF has the advantages described above, it has the disadvantage that the filter estimation performance is highly dependent on the initial state estimation. Thus, if the initial state variable estimation is uncertain, the estimation performance will continue to be degraded. Recently, several studies have adopted the invariant filter framework to estimate state variables in SLAM and navigation problems [
18,
19,
20]. For instance, it has been used in navigation using LiDAR inertial integration and radar in underwater environments. The IEKF, as a representative example, has been developed based on the theory of invariant observer design [
21], which states that the error is invariant under the operator of a matrix Lie group. This property is called the symmetry of the system. The advantage of the IEKF is its strong convergence compared to the EKF when initialization is poor. If the system satisfies the group affine property, the error satisfies the log-linearity property by the symmetric property, as mentioned in [
22]. In other words, system linearization does not generally depend on the performance of state variable estimation.
With this background, this study aims to realize MPS/INS integration based on the invariant filter framework, which aims to overcome performance degradation due to the inevitable magnetic measurement perturbations. For empirical validation, we installed four coils in an indoor environment and then used a UGV to generate multiple trajectories. Through experiments with multiple obstacles in the indoor fields, the performance of the invariant filter was analyzed, considering measurement anomalies in the navigation environment. Specifically, this paper compares the performance of the proposed IEKF and EKF when initialization is not good. The contributions of this paper are as follows: First, we proposed an invariant filter framework to integrate INS and MPS systems. To achieve this, a new mathematical model suitable for the process and measurement models was derived. Furthermore, an optimized filter structure, including the state variable augmentation, was proposed to secure improved estimation characteristics. The proposed invariant filter’s performance was verified through indoor environment ground vehicle experiments, where there were significant initial estimation errors or interference-type noise caused by the building environment. Particularly, the analysis of experimental results demonstrates that the proposed technique exhibits superior convergence and robustness compared to the conventional integration method.
The remaining contents of this paper are as follows:
Section 2 describes the Lie group theory and magnetic positioning system.
Section 3 describes the state and measurement model of the invariant EKF. Next,
Section 4 describes the experiments and results, and
Section 5 includes the conclusion.
2. Background Methods
2.1. Lie Group Theory
This paper describes the IEKF based on matrix Lie groups. So, this chapter describes the theory and operators of the matrix Lie group used in this paper. A Lie group is a smooth manifold that satisfies the group property. Also, the tangent space at the identity of Lie group is called a Lie algebra .
First, let us consider the linear mapping in a cartesian vector space
and the exponential mapping
of Lie algebra. The Hat operator
represents the transformation of a vector into a skew-symmetric matrix, and the closed-form solution [
22] of the exponential map
is given below. Here, the capitalized
is the mapping from the cartesian vector space
to the Lie group
. The following equations are all examples in the Lie group
at
and the tangent space
at
:
where
The log mapping
of Lie group
is defined as follows: Here, the capitalized
is the mapping from the Lie group
to the cartesian vector space
. The closed-form solution of the logarithmic mapping can be found in Ref. [
22]. As above, the equations below are all examples in the Lie group
at
and in the tangent space
at
:
where
The adjoint operator
of the matrix Lie group
at
is as follows:
The right Jacobian
and left Jacobian
of Lie group
at
are defined as follows: The definitions of the box-plus and box-minus operators can be found in [
23].
In this paper, we use the right Jacobian.
The following are the definitions of the right- and left-invariant errors
,
of the estimated Lie group
and the true
used in the IEKF:
Since the MPS pose used as the IEKF measurement is a left measurement, we use the left-invariant error. Also, if log mapping is employed, it can be represented as follows:
2.2. IEKF Formulation
This chapter describes the IEKF formulation. As mentioned in the previous chapter, if a system satisfies the group affine property and the action of a matrix Lie group, then the system satisfies the log-linear property. First, we define the system dynamics of Lie group
at time
as follows:
where
Here, is the input variable, and and are the angular velocity and acceleration measurement vectors at the body frame (b frame), respectively. The subscript indicates that it is a vector in the b frame.
A system is said to be group affine [
20] if its dynamics
satisfy the following equation:
For all times,
, and for the
Lie group
is a
identity group matrix. In other words, if Equation (10) is satisfied, the right- and left-invariant errors are trajectory independent, and the following Equation (11) is satisfied. In this paper, we describe the left-invariant error
.
where
The matrix
satisfies the following Equation (12). Then,
can be expressed as follows:
Thus, from Equation (12), for
,
is defined by the linear differential equation:
For an initial error,
, if
; then, for all,
:
This is the log-linear property of the error. Therefore, the nonlinear error can be recovered from the time-varying linear differential Equation (14), where a better convergence is expected than the EKF.
2.3. Magnetic Pose Estimation System (MPS)
In this paper, we use horizontal position and quaternion attitude estimates from the Magnetic Pose Estimation System (MPS) as measurements, which are loosely coupled to the INS model using the EKF and IEKF, as described later. The MPS is an algorithm that uses four coils to generate an artificial magnetic field and estimates the position and attitude through a least square algorithm. Specifically, the residual between the theoretical magnetic field based on the circular loop magnetic field model and the magnetic field measurements from the 3-axis magnetometer mounted on the receiver is used as a numerical metric [
13].
While the MPS estimates the three-dimensional position and attitude in an n frame, in this paper, we reduce it to UGV measurements and use only the two-dimensional position and attitude perturbation, as the MPS states. Equation (15) is the state of the MPS, where
is the position in the n frame (navigation frame), and
is the attitude perturbation.
In this paper, a total of four circular coils were used to generate the AC magnetic field. The carrier frequency of each coil transmitter was 500, 600, 700, and 800 Hz, and the theoretical AC magnetic field
in the local coil coordinate frame, obtained using the circular loop magnetic field model at each coil, is defined as follows:
The detailed theoretical formulation and expansion of Equation (17) is omitted. In [
13], the formula is newly developed using Legendre polynomials and is effectively designed to compute elliptic integrals. Here,
is a function of the position
in the coil frame and can, therefore, be expressed as
.The magnetometer mounted on the receiver measures the magnetic field in the b frame; therefore, transforming
to the body frame to express the observation model in the body frame, the magnetic field vector in the b frame is finally represented by:
where
is the direction cosine matrix from the coil frame to n frame, which is determined by the pose of the installed coil.
Note that in Equation (18), is related to the attitude perturbation , and is related to . This allows us to derive the observation matrix below and, consequently, estimate the pose.
Next, to express the magnetic field of each coil, we use the following notation: Express the magnetic field vector of the i-th coil as .
The observation model
for the MPS is as follows:
where DCM
can be expressed as two DCMs using the chain rule as follows:
denotes the intermediate b frame by
. Refer to [
13] for a detailed derivation.
The observation matrix
is the Jacobian of the observation model with respect to the MPS state.
where
The Jacobian matrix in (21) can be further derived via the partial derivative of the spatial representation model of the magnetic fields.
Next, let the real magnetic field measurement from
i-th coil be
. Here, note that
is computed by the demodulation process, as the raw magnetometer measurement contains concurrent AC fields from all TX coils. The detailed demodulation process is out of scope and skipped. Then, the formula for estimating position and attitude perturbation error is established using the numerical optimization method. Specifically, the formula for estimating position and attitude perturbation error using the least square is depicted as:
where
and
are the errors of
and
, respectively. Since the position error and attitude perturbation error are estimated using the least square described above, the formula for updating the position and attitude is as follows:
where
is the quaternion multiplication.
Since this paper deals with 2D horizontal experiments, the reduced observation matrix, least square formula, and state update equation are as follows:
4. Experimental Setup
In this experiment, we used a UGV in an indoor space to drive in square and free trajectories. The indoor environment in which the experiment was conducted is 3.6 m by 3.6 m, and
Figure 1a shows the starting point and coil placement. In
Figure 1a, you can see a picture of a UGV. The UGV is equipped with an MPS receiver and an NUC computer. The MPS receiver is equipped with an ADIS 16448 IMU (Analog Devices Inc., Wilmington, MA, USA) and Honeywell HMC 1001 1-axis and 1002 2-axis magnetometer sensors, and the NUC computer saves the OptiTrack data. Ground truth was obtained using the motion capture device Optitrack (NaturalPoint, Inc, Corvalis, OR, USA).
The following shows the specifications of the employed sensors:
ADIS 16448 IMU’s gyroscopes have an in-run bias stability of /hr and angular random walk of ≤/. The IMU’s accelerometers have a bias stability of 0.25 mg−1σ and a velocity random walk of 0.11 m/s/. The dynamic ranges of the gyroscopes and accelerometers are / and , respectively. In this experiment, the sensor measurement rate is 500 Hz;
The Honeywell HMC 1101 (1-axis) and HMC 1002 (2-axis) magnetometers have a field range of 2 gauss. Both sensors also have a resolution of 117 μGauss, sensitivity of 1.0 mV/V/gauss, and noise density of 48 nV/sqrt ;
In the experiment, we obtained reference pose data using the OptiTrack system with , a motion capture device. In a 9 m × 9 m area, the OptiTrack system has a 3D position error of 0.15 mm and an attitude error of less than 0.5 degrees.
To generate an artificial AC magnetic field, we used four coils with a diameter of 1 m and 7.5 m between each coil. Each coil has a frequency of 500, 600, 700, and 800 Hz. We analyzed the effect on AC magnetic field-based navigation by placing obstacles commonly found in indoor environments. We placed several obstacles made of wood, plastic, and acrylic mirrors within the UGV’s moving trajectory to verify whether they affect the AC magnetic field signals, as shown in
Figure 1b. It is notable that an experimental scenario, such as
Figure 1b, provides a harsh navigation environment for both vision and Lidar SLAM as it includes mirrors, glasses, and unstable lighting sources.
The
,
, and
covariances for the IEKF and EKF were set as follows:
4.1. Square Path Case
Next, we present three subsections to demonstrate the performance of the proposed filter ion compared with the conventional method. The first is the result of driving a square path. When the UGV drove a square trajectory of 3.6 m by 3.6 m, the estimated horizontal position result is shown in
Figure 2a, and the position error and RMSE result are shown in
Figure 2b and
Table 1, respectively. Also, the Euler attitude RMSE results can be seen in
Table 1. This presents the result when initialization is in a relatively good condition.
4.2. Free Path Case
The second case is the free path driving results. The UGV drove freely in a 3.6 m square area. The horizontal position results are shown in
Figure 3a. In addition, the position error and the RMSE result are shown in
Figure 3b and
Table 2, respectively. Also, the Euler attitude RMSE results can be observed in
Table 2. Assuming accurate initial states, the results demonstrate good RMS error performance. Consequently, it can be verified that the free path results are not significantly different from the square path navigation results when there are no obstacles, even though typical obstacles were placed around the coil and in the driving trajectory. Thus, it means that various obstacles rarely affected the MPS performance via the AC magnetic fields. This reveals that the proposed integration shows superior performance compared to conventional mapping and localization methods, as the SLAM performance essentially relies on the quality of optical measurements.
4.3. Convergence and Performance Evaluation
In this chapter, we evaluate the navigation and convergence performance of the proposed IEKF when the filter initialization is poor. This mainly originates from the magnetic measurement perturbations and the resulting estimate uncertainty during real experiments. For this purpose, we ran 200 Monte Carlo simulations within a range of the initial positions x, y, and yaw angles, as shown in
Table 3. We compare its performance with a quaternion-based error-state Kalman filter for performance evaluation. The initial error covariances, P, Q, and R, and the initial IMU bias are the same for the IEKF and EKF.
The results of the Monte Carlo simulation of the position x, y, and yaw angle are plotted in
Figure 4. This is the result of randomly setting initial conditions within the initial condition range in
Table 3. In this paper, by adding IMU bias to the IEKF state, it can be verified that the convergence performance of the IEKF is still better than that of Q-EKF, although it is an imperfect matrix Lie group.
To quantitatively evaluate the performance of the IEKF when the initialization is poor, we analyzed the navigation results in four cases, as shown in
Table 4. Therefore, we applied both the EKF and IEKF in these four cases. The results of the EKF and IEKF position x, y, and yaw attitude over time, divided by case, are shown in
Figure 5. The IEKF has better convergence performance, and its estimation performance is also better, as shown in
Table 5.