1. Introduction
Identifying reliable measurement data sequentially is most important for estimation algorithms because it is associated with estimation performance. Identification methods have been studied recently in References [
1,
2,
3], which operate by checking the consistency of the data against the global model assumed to be generating the measurement data, and discarding as spurious any that do not fit into it. Among the identificaiton methods, random sample consensus (RANSAC) has been widely used as an effective outlier detection technique for robust estimation. However, because of the large amount of computation required to build the model, much research has been done to implement efficient algorithms, one of which is the combination of RANSAC and the Kalman filter structure [
4,
5,
6,
7]. There are some related approaches involving the combination of these concepts, and the aim of these methods is that the fitting process in the RANSAC begins again with an initial value obtained from the Kalman filter prediction and searches for inliers in the confidence interval [
4]. Among these combination schemes, the 1-point RANSAC extended Kalman filter (EKF) is a recent technique that can efficiently operate algorithms [
8,
9]. Using the 1-point RANSAC method, assuming that probabilistic a priori information is available due to the Kalman filter, the sample size can be reduced to one point, and the number of hypotheses could also be reduced [
8].
Although the efficiency of the fitting process in the RANSAC is improved by the assumption using the Kalman filter, there is a tendency whereby the consistency of the 1-point RANSAC EKF is much worse in certain situations. Inconsistency of the 1-point RANSAC EKF may occur particularly in situations where the measurement update process of the Kalman filter does not work properly. If there is no valid measurement determined by the 1-point RANSAC, then the Kalman filter will use the predicted value obtained by the time-update process in the filter without using the compensated value of the current measurements obtained by the measurement-update process in the filter. If this phenomenon continues in a dynamic situation, the predicted result of the filter may differ from the actual measured value, and the error of the initial value used in the RANSAC may increase. As a result, a fitting model with a large error is inevitably generated, and this error is propagated throughout the whole process of the 1-point RANSAC EKF.
In this paper, the proposed algorithm is based on the 1-point RANSAC EKF and has a similar filter structure to that of References [
8,
9]. However, the unscented Kalman filter (UKF) [
10,
11,
12] is used as the main filter instead of the EKF in order to increase estimation efficiency in the nonlinear system. The UKF is a representative nonlinear filtering method that employs selected sigma points which are propagated through a system and measurement model. In the UKF, various algorithms of the UKF related to the proper positioning of the sigma points have been researched for reducing the unscented transform approximation error in dynamic situations [
13,
14,
15]. In terms of points replacement, there are several alternative methods based on the particle filter [
16,
17,
18,
19] that are more flexible, as well as general algorithms for dealing with the fault tolerance estimation. However, since these algorithms have large computations, it has been decided to use the UKF in this paper.
In addition, error-bound analysis of the proposed algorithm is performed to evaluate the performance of measurement outlier elimination. Although this filter can guarantee the reliability of the measurement data, it may not have enough measurements to update the filter because of the evaluation process of RANSAC.
In case there are no good measurements after passing through the filter, we use the inverse covariance intersection (ICI) method [
20] for fusing the estimated measurements obtained in the filter prediction process and the selected hypothesis model of the RANSAC iteration process, respectively. One of the well-known conservative fusion methods is covariance intersection (CI), which was introduced in Reference [
21] and has been used in many developments and applications [
22,
23,
24]. However, CI often provides fusion results that are too conservative for typical estimation tasks and communication networks, in general, preventing extreme correlation terms from occurring [
20]. An alternate method is ellipsoidal intersection (EI) [
25], which employs a common error term to model unknown correlations and reports a far less conservative result compared to CI. Although the consistency of EI has not been verified yet, it had been demonstrated to be effective in numerous applications [
20]. Thus, an extension of EI is proposed that guarantees consistent fusion results in the presence of unknown common information, which is called ICI [
20].
For that reason, in this paper, ICI is also used to generate the reliable measurements when there are no measurements satisfying the condition of the 1-point hypotheses evaluation process in the proposed algorithm because of measurement errors. As mentioned earlier, ICI guarantees consistent fusion results in the presence of unknown common information. In addition, its fusion results prove to be more accurate than measurement prediction results provided by the UKF when there are few valid measurements.
An outline of the paper is as follows. In
Section 2, the whole process of 1-point RANSAC UKF is explained and its stability is also analyzed. The proposed method with ICI is introduced in
Section 3. Subsequently, the ICI and its role in the proposed algorithm to improve the performance of the 1-point RANSAC UKF are discussed. In
Section 4, experiments are performed using the dead reckoning (DR)/global positioning system (GPS) navigation system with a barometric altimeter to confirm the actual filter performance compared with conventional methods. The conclusions are summarized in
Section 5.
2. 1-Point RANSAC UKF
In this section, we present the 1-point RANSAC UKF, which is a combination of RANSAC and UKF. The 1-point RANSAC UKF uses the available prior probabilistic information from the nonlinear filter, UKF, in the RANSAC model hypothesis stage, which allows the minimal sample size to be reduced to one, resulting in large computational savings.
2.1. 1-Point RANSAC and Its Filter Structure
The use of prior information can reduce the size of the data set that instantiates the model to the minimum size of one point. To generate the RANSAC hypothesis efficiently, prior information is obtained by the UKF. The whole process of the proposed 1-point RANSAC UKF with ICI is written in Algorithm 1.
Algorithm 1 Pseudocode of 1-point RANSAC UKF with ICI. |
INPUT: (k−1 step estimates), (threshold) |
(probability of spurious-free hypothesis) |
(number of inliers required) |
OUTPUT: (k step estimates) |
UKF prediction |
1 | = UKF_prediction |
1-point hypothesis generation and evaluation |
2 | for to |
3 | = select_random_match [8] |
4 | = UKF_state_update using Equation (15) |
5 | : predicted measurements |
6 | = find_matches_below_a_threshold [8] |
7 | if size then |
8 |
|
9 | [8] |
10 | end if |
11 | end for |
UKF update |
12 | if size then |
13 | = UKF_update |
14 | else |
15 | = RANSAC_hypothesis_model |
| = ICI_data_fusion |
16 | = UKF_update |
17 | end if |
The first step of the 1-point RANSAC UKF is the UKF prediction process. The UKF makes use of the unscented transform (UT), which gives the Gaussian approximation to the filtering solutions of nonlinear optimal filtering problems [
10,
11,
12]. To derive the process of the UKF, the system model
and measurement model
are considered as:
where
is the state variables,
is the measurement,
is the Gaussian noise, and
is the Gaussian measurement noise.
refers to Gaussian distribution, and
are covariance matrices. To estimate the desired moments of the distribution of filter states, a matrix
of
sigma vector
is defined by UT and written as follows [
10]:
where
is the posterior estimation of
at k−1 step,
is the covariance matrix of
, and
is the dimension of
. The corresponding weights are
Using sigma points and corresponding weights, the prediction step of the UKF is performed as:
Measurement prediction value and its covariance are also estimated as:
The second step of the 1-point RANSAC UKF is 1-point hypothesis generation and evaluation process (lines 2 to 11 in Algorithm 1) [
8]. According to the principles of RANSAC, random state hypotheses
are generated with a single match
(line 3 in Algorithm 1), and data support (
) is computed by counting measurements inside the predefined threshold (line 6 in Algorithm 1). As the key difference compared with standard RANSAC, random hypotheses will be generated not only based on the measurements, but also on the predicted state variables
. Exploiting this prior knowledge leads to a reduction in the sample size necessary to express the model parameters from the minimal size to define the degrees of freedom of the model to only one data point.
The last step of the 1-point RANSAC UKF is the measurement update step with inliers (
). They are assumed to be generated by the true model, as they are at a small distance from the most supported hypothesis. Inliers are used in the measurement update step of the 1-point RANSAC UKF as follows (line 13 in Algorithm 1):
2.2. The Effect of the 1-point RANSAC UKF on Filter Convergence
In this section, analysis on the effect of the 1-point RANSAC UKF when there is a measurement error is performed based on the results of Reference [
26]. In the previous work, [
26], the error-bound value of the UKF was analyzed using the instrumental diagonal matrix. The error of state variables and measurements are defined, respectively.
where the estimation error is defined as
(after measurement update of state variable estimation), and the prediction error is written as
.
are Jacobian matrices. To deal with the errors in the measurements, an instrumental diagonal matrix
for the additional error of measurements are added to Equation (18) as follows, which reflects the effect of the additional unknown random constant error on the measurements [
26].
If there is the random constant error
in the actual measurement,
Thus, the measurement error
can be expressed as:
By using the equality of Equations (19) and (21),
can be expressed as:
where
is the identity matrix. According to Equation (22), the relationship between
and
is expressed with the prediction error. For convenient analysis of the stability of the 1-point RANSAC UKF, approaches used in the previous work [
26] are employed in order to simplify the error expression. In addition, some assumptions are held for verifying the boundedness of the estimation errors in the 1-point RANSAC UKF:
There exist real constants which are related to the system model and measurement model written in Equations (1) and (2):
such that the following bounds on matrices of filter models are satisfied for every time index
as follows:
The boundary of
is
where
is the matrix norm. The boundary of
is based on Equation (22). The predicted error covariance matrix of state variables
is defined as follows:
where
, and
refers to the error between ideal error covariance matrix and unscented transformed error covariance matrix.
The weighted error square of state variables is defined as:
According to the results of Reference [
26], the expectation of the weighted error square is bounded as:
If the coefficient of
is replaced with
and the last term is substituted with an arbitrary positive value
, Equation (28) can be rewritten as:
Finally, applying the Lemma of Reference [
27] to Equation (30), the stochastic process of
is bounded. In Reference [
27], an analysis of the error-bound value of the EKF when given the stochastic system was performed. The inequality formula in a form such as Equation (30) was used to determine the filter convergence of the estimation error, and the detailed verification process was written. Therefore, it is shown that the estimation error of the proposed algorithm remains bounded if the filter system satisfies some assumptions listed in Equations (23)–(26). If there is an error in the measurement, the 1-point RANSAC UKF has an inlier detection process (1-point hypotheses evaluation) that confirms the quality of the measurement, which can cause the
value to have less impact on the estimation performance than the conventional UKF.
Thus, as shown in Equation (29), the 1-point RANSAC UKF has a smaller estimation error range of the state variable than the general UKF ( can be reduced to in the case of the 1-point RANSAC UKF).
However, the proposed filter cannot improve the estimation performance if there is an insufficient number of measurements or there is no measurable value after passing the 1-point hypotheses evaluation process. In this paper, Kullback-Leibler divergence (KLD) is used to set the reference value of the valid measurement number written in line 12 of Algorithm 1.
The required number
of samples is determined with probability
and KLD between sample-based maximum likelihood estimate and the true distribution (desired distribution), which is less than a threshold
as follows [
28,
29,
30]:
where
is the upper quantile of the standard normal distribution. The optimal value of
can be founded in standard statistical tables for the typical value of
, and
is the number of bins with support [
28,
30]. The result of Equation (31) gives the effective number of samples needed to approximate a discrete distribution with an upper bound
ε on the KLD.
To get enough numbers of measurements, the previous work [
8] increased the threshold value of the discrimination process and performed the measurement update of the filter with the measurements containing a relatively small error. However, this approach may cause a larger estimation error depending on the measurement error magnitude compared to only using the prediction process of the filter.
Thus, when the number of valid measurements is insufficient, a method of generating artificial measurements using past collected measurements and measurement models was studied. In this paper, the ICI method is applied to the proposed algorithm to get valid measurements without increasing the estimation error.
3. Inverse Covariance Intersection
In this section, we prove that the estimation performance using the fusion method based on ICI is better than the case where only the filter prediction process is performed when there are no good measurements.
3.1. ICI-Based Data Fusion Method in the Measurement Update Process
A consistent combination of the estimates
obtained in the filter prediction process and
obtained in the selected hypothesis model of the RANSAC iteration process is provided by
with ICI as follows [
20]:
for any
. The gains in Equation (32) are set as:
where
refers to the fitting quality of the selected hypothesis model. In general, it is calculated as the mean square error between model values and measurements. Finally, by using estimate measurement (
), the process of the UKF measurement update is performed when there is not enough measurement compared with
as shown in Algorithm 1 (lines 14 to 17).
3.2. Performance Analysis of ICI Compared with Filter Predicted Value
To verify that using ICI-based fusion method is better than using only the filter prediction process in the case that there are no good measurements after passing through the filter, a simple analysis is performed.
Comparison of the two covariances is explained as:
Equation (36) is converted into a diagonal matrix form for ease of analysis. Multiply the transformation matrix
on both sides of components in Equation (36) to convert into a diagonal matrix as follows:
where
is the diagonal matrix, and
is a transformation matrix which can be computed with the aid of an eigenvalue decomposition as in Reference [
26]. If an i-th diagonal component of
is expressed as
, the diagonal entries are
The first part of Equation (38), is always positive under the given conditions: . According to Equation (12), includes prediction error of state variables and measurement noise covariance. Thus, always satisfies . In the case of , it is based on the goodness of fit and the error of the best hypothesis model is always under the measurement error. Thus, . Finally, by using two properties, . This means that is always smaller than . Therefore, the ICI-based fusion method can generate measurements which have a smaller error than the predicted measurements obtained based on the prediction of the filter.
3.3. Simulations to Verify the Performance of ICI
In this section, the principle of the proposed algorithm is explained through a one-dimensional example, and the ICI performance is also verified. To explain the advantage of the proposed algorithm, the univariate nonstationary growth model (UNGM) is used in this paper. The UNGM has been used as a benchmark model in several previous works [
31,
32] due to its highly nonlinear and bimodal properties.
The dynamic state space and the measurement model of UNGM can be written as:
where
,
(Gaussian distributions). In this example,
and
.
In this example, a bias type error is inserted in a specific interval (50 to 150 time-step of simulations) of the measurement values to show the difference in performance between the proposed algorithm based on ICI and the conventional techniques (UKF, 1-point RANSAC UKF), which are described in
Figure 1. The 1-point RANSAC UKF has the same filter structure as the 1-point RANSAC EKF, except that the filter update process in the 1-point RANSAC UKF uses unscented transform. The purpose of this simulation is not to analyze state variable estimates due to nonlinearity, but to compare performance to reduce the effects of measurement error. Thus, the comparison result of 1-point RANSAC EKF is not included.
The insertion of a bias type error is intended to assume that there is no valid measurement through the RANSAC process during that interval. The magnitude of the bias error is larger than the threshold for distinguishing the outliers in the RANSAC process (
) [
8] and is set to 30 in this example.
Figure 2 and
Figure 3 show the effect of bias error on the estimated state variables of each filter.
Figure 2 shows the estimated state variables, and
Figure 3 shows the square error of the state variable. As shown in the results, the UKF propagates the measurement error directly to the state variables. In the case of the 1-point RANSAC UKF, the bias error is completely eliminated by the RANSAC process, but there is no effective measurement value, so the estimation error can occur because the measurement update process of the filter cannot be performed and only the prediction process by the system model is performed (the uncertainty of the estimated result has increased). On the other hand, the proposed algorithm integrates the estimated measurement value obtained from the measurement model (
) with predicted values obtained from the time update process of the filter (
) using ICI. Since the combined value (
) is ultimately used as the measurement value, the proposed technique can have a relatively small state estimation error even when there is no valid measurement value (in the presence of bias error). Finally,
Table 1 shows the root mean square error (RMSE) of the 500 Monte-Carlo simulation results including bias error in the measurement.
However, since the performance of the proposed algorithm is affected by the quality and number of the measurements constituting the measurement model, it is important to acquire the effective measurements at an initial period. The proper number of measurements should be selected to construct an accurate measurement model, and in this simulation, we design the initial measurement model with the initial 50 measurements.
4. Experiments
The experiments are conducted using a barometric altimeter to confirm the actual filter performance. The system model is set the same as the model of the previous paper [
33]. The system is called the 10th order DR/GPS navigation system, and the state variables of the filter are position error (
) in the NED frame, odometer scale factor error (
), attitude error (
) in the NED frame, and gyro bias (
) [
33]. The MEMS IMU (SMI 130, Bosch, Gerlingen, Germany)-based DR/GPS system was proposed, and the DR/GPS system is expanded from 2D to 3D positioning of the vehicle. Thus, altitude is additionally estimated with GPS and the barometric altimeter (BMP 280, Bosch). In this system, the inertial sensor SMI 130 (Bosch) is installed in the interior of the vehicle. Specifications of the sensors are summarized in
Table 2. For the attitude and gyro calibration, the vehicle remained stationary for the first 10 minutes, then drove the oval-shaped park four times for the initial calibration and alignment process of the IMU [
33].
The system model and the system matrix
of the DR/GPS navigation system are expressed by
where
refers to the
zero matrix.
and
are odometer output and odometer scale factor, respectively.
is a direction cosine matrix from the body frame to the navigation frame, and
is the time constant.
is a skew-symmetric matrix representing the vector cross product by the vector
. In addition, its submatrices (
) are expressed by [
33,
34]
where
and
are the position in latitude and height, and subscript
,
,
represent the north, east, and vertical down direction in the navigation frame, respectively. The additional parameters written in Equation (43) can be summarized as follows [
34]:
where
is the velocity of the vehicle.
is the radius of the Earth, and
is the major eccentricity of the Earth.
is the Earth’s rate with respect to the inertial frame.
The measurement update for attitude obtained from the accelerometer (
) and barometric altitude (
) is performed in order to compensate for navigation errors. Measurements and the matrix of measurement update model are defined as:
where
and
are the roll and pitch angle obtained from the pure navigation output, respectively.
is the height obtained from the pure navigation output.
and
are also the roll and pitch angle calculated by the accelerometer [
35,
36].
is the yaw angle, and
is the pitch angle of the target system [
33].
represents the
zero matrix.
Barometric altimeters sense altitude by measuring the change in aerostatic pressure accompanying a change in altitude [
37,
38]. The conversion of measured air pressure to altitude is based on a theoretical standard atmosphere and the assumption that air is an ideal gas. The altitude equation is written as:
where
is the temperature at sea level, and
refers to pressure at sea level. In addition,
is the pressure measurement at the altitude,
is the universal gas constant,
is local gravity, and
is the lapse rate [
37,
38]. If GPS signals are not received during the vehicle test, the altitude measurement will only depend on the barometric altimeter and it will be vulnerable to changes in atmospheric pressure (
) as shown in Equation (50). This situation occurs frequently when the vehicle goes down or when climbing in the underground parking lot, regardless of the speed of the vehicle.
To solve this problem, we apply the proposed algorithm to this system. Vehicle tests were carried out in the underground parking lot in the GPS outage area, and the altitude trajectory is shown in
Figure 4. The average speed of the vehicle was maintained at 30 km/h. Experimental analysis was carried out only on the altitude value to which the proposed algorithm was applied. In the one case of several experiments, the altitude change was measured when the car came down the ramp, and the measurement error occurred during the operation due to the atmospheric pressure change (7507 to 7508 time-step, 7550 to 7600 time-step, 7650 to 7690 time-step, and 7775 to 7776 time-step, as shown in
Figure 4). In addition, the true value of the altitude was determined by the values obtained from the terrain information database and the integrated navigation system (Trimble DR + GPS, performance characteristic of the system: less than 3 m altitude error).
In
Figure 5, the estimated height of the proposed algorithm is shown, and the estimated heights of the target system obtained by conventional algorithms are also shown for comparison. It is confirmed that the proposed algorithm has better estimate performance compared with conventional algorithms because of 1-point RANSAC and ICI-based data fusion when there is an error in the measurement. In the case of the UKF, this filter does not isolate the measurement disturbance, so the effect of measurement disturbance is reflected in the height estimation result. Whereas, applying the RANSAC algorithm to the UKF can alleviate errors due to measurement disturbances. Finally, to make the estimation performance better (a reflection of the tendency to altitude change with time), measurements should be generated using ICI when there is no valid measurement (7507 to 7508 time-step as shown in
Figure 5).
Additional experiments were conducted to verify the performance of the proposed method on different trajectories. The second experiment reflected a scenario in which a sudden change in the atmospheric pressure occurs continuously in the barometric altimeter. The experimental results are shown in
Figure 6, and it is confirmed that the compensation performance of the proposed method is less improved when compared with the 1-point RANSAC UKF in cases where there is no altitude change through
Figure 6 (the sudden changes of the measurement caused by the atmospheric pressure are 3.5 m and 4 m). In this case, the performance of altitude error compensation is sufficient even when the 1-point RANSAC UKF is used. However, when the atmospheric pressure changes with altitude change, as shown in
Figure 7 (also shown in
Figure 5), we can confirm that the proposed algorithm has the best altitude error compensation. In this experiment, the altitude error caused by a sudden change in the atmospheric pressure is 5 m, which is larger than the discrimination error of the building floor (3.5 m). Lastly,
Table 3 shows the RMSE of the 10 experiments results, including the measurement error of each case. It is confirmed that the proposed algorithm has the smallest error when compared with existing methods. For the same reason as in the previous simulations, the experiments do not include the performance comparison results of the 1-point RANSAC EKF.