Abstract
With the rapid development of information and communication technology, the wireless sensor network (WSN) has shown broad application prospects in a growing number of fields. The non-line-of-sight (NLOS) problem is the main challenge to WSN localization, which seriously reduces the positioning accuracy. In this paper, a robust localization algorithm based on NLOS identification and classification filtering for WSN is proposed to solve this problem. It is difficult to use a single filter to filter out NLOS noise in all cases since NLOS cases are extremely complicated in real scenarios. Therefore, in order to improve the robustness, we first propose a NLOS identification strategy to detect the severity of NLOS, and then NLOS situations are divided into two categories according to the severity: mild NLOS and severe NLOS. Secondly, classification filtering is performed to obtain respective position estimates. An extended Kalman filter is applied to filter line-of-sight (LOS) noise. For mild NLOS, the large outliers are clipped by the redescending score function in the robust extended Kalman filter, yielding superior performance. For severe NLOS, a severe NLOS mitigation algorithm based on LOS reconstruction is proposed, in which the average value of NLOS error is estimated and the measurements are reconstructed and corrected for subsequent positioning. Finally, an interactive multiple model algorithm is employed to obtain the final positioning result by weighting the position estimation of LOS and NLOS. Simulation and experimental results show that the proposed algorithm can effectively suppress NLOS error and obtain higher positioning accuracy when compared with existing algorithms.
Keywords: wireless sensor network, NLOS identification, classification filtering, NLOS localization
1. Introduction
A wireless sensor network (WSN) is a self-organized network consisted of a large number of inexpensive sensor nodes, which is increasingly widely applied in industrial production and social life [1]. Localization technology is one of the core technologies of WSN. WSN localization technology usually uses time of arrival (TOA), angle of arrival (AOA), time difference of arrival (TDOA), received signal strength (RSS) or other measurements to estimate the location of nodes [2,3]. In WSN localization, the signal transmission mode can be divided into two types, one is line-of-sight (LOS) transmission, in which the signal can be transmitted from one node to another in a straight path, and the other is non-line-of-sight (NLOS) transmission, in which the signal can only be transmitted between nodes by reflection or refraction due to obstruction of obstacles [4]. In the NLOS case, the signal transmission path will be longer than that in LOS case due to reflection or refraction, which will result in a larger positive transmission distance error, called NLOS error. Under usual circumstances, for LOS transmission we can use some effective algorithms such as extended Kalman filter (EKF) to achieve accurate positioning. However, LOS transmission is only an ideal and unrealistic assumption. In many real scenes, NLOS transmission is more common, which will obviously reduce the positioning performance. Mitigating NLOS error is the main goal of NLOS localization.
In order to obtain the accurate position of the target node, many algorithms have been proposed to solve the localization problem. The EKF [5] algorithm performs well in LOS, but its performance will be seriously affected when it is interfered with by NLOS. In an interactive multiple model (IMM) algorithm [6], a second-order Markov transition model is introduced to achieve switching between LOS and NLOS models. Two parallel filters are designed to filter LOS and NLOS respectively, and the final result is fused with the position estimation of the two filters. Based on some prior statistical knowledge of NLOS error, the IMM algorithm has better performance in LOS/NLOS mixed positioning environment, but the prior statistical knowledge of NLOS error is usually unknown. On the basis of the IMM algorithm, by introducing robust technology to solve the EKF equation, robust extended Kalman filter (REKF) is proposed to replace the NLOS filter in the IMM algorithm, and furthermore a robust IMM algorithm (R-IMM) [7] is developed. This algorithm does not assume statistical knowledge of NLOS errors and only assumes that sensor noise variance is known. However, the clipping parameters and for REKF in R-IMM algorithm need to be set manually, which is difficult and inflexible when dealing with complicated NLOS environment, and R-IMM algorithm is inappropriate when the NLOS probability is large (larger than 0.6). The above algorithms all have a common shortcoming: either they are based on some priori knowledge of NLOS error which is unknown in fact, or their robustness is weak in a severe NLOS environment, which means that they can only perform well in a LOS or mild NLOS environment. For the traditional NLOS localization algorithms, the main challenge of eliminating NLOS error is how to achieve robust localization in the severe NLOS environment without assuming the prior statistical knowledge of NLOS error. The motivation of our work is to solve these problems. In this paper, a robust localization algorithm based on NLOS identification and classification filtering (NI-CF) for WSN is proposed using the TOA measurement, the main contributions of this paper are as follows:
The NLOS identification strategy is proposed to detect the severity of NLOS and further divide the NLOS situation into mild NLOS and severe NLOS. Compared with the traditional algorithms, the proposed algorithm can obtain more NLOS environment information through NLOS identification, which is beneficial to improve the positioning accuracy and robustness of the algorithm.
The proposed algorithm has strong robustness even in a severe NLOS environment. A severe NLOS mitigation algorithm based on LOS reconstruction is proposed to deal with severe NLOS. When severe NLOS occurs, the average value of NLOS error is estimated and the measurements are reconstructed and corrected for subsequent positioning, so our algorithm has better performance in severe NLOS environment when compared with the traditional algorithms.
By contrast with many algorithms, the proposed algorithm does not assume the prior information of NLOS error. Even so, simulation and experimental results show that the proposed algorithm still effectively eliminates NLOS error when NLOS error obeys different distributions. Without losing generality, the proposed algorithm uses TOA measurement, but it can be extended easily to other signal features such as TDOA, RSS or AOA.
The clipping parameters and for REKF in the proposed algorithm do not need to be frequently manually adjusted according to different positioning environments since REKF is determined to filter mild NLOS instead of all NLOS as in RIMM, which broadens the application scenarios of the algorithm.
The organizational structure of the remaining papers is as follows. The related works and problem statement are described in Section 2 and Section 3, respectively. The proposed method is introduced in detail in Section 4 and the simulation and experimental results are presented in Section 5. Section 6 draws the conclusion.
2. Related Works
In order to reduce the influence of NLOS transmission, many scholars have carried out a series of studies. Haigh proposed a novel NLOS ultrasonic signal classification and rejection algorithm [8], which uses the amplitude and residual of the received signal as two features to classify the signal and reject the NLOS signal. Experiments show that the algorithm can correctly classify 96% of ultrasonic signals with a lower computational cost, but the accuracy of the TOF estimation needs further improvement. In [5], Gaussian mixture model, EKF and IMM are integrated to overcome the influence of frequent switching of signal transmission between LOS environment and NLOS environment. The main advantage of the algorithm is that it can weaken the influence of severe NLOS in the mixed environment of LOS/NLOS, but some knowledge of the noise statistics is required in this algorithm, which is actually unknown. A frequency-dependent transfer function is constructed in [9] to transform the propagation channel in the real scene into the propagation channel in free space, further eliminating the NLOS effect. Simulation results show that the algorithm has higher positioning accuracy than the traditional TDOA method and does not depend on the form of signal. However, a positioning experiment in a real scene is needed to verify the performance of the algorithm. Some linear regression estimates are proposed in [10,11], and the authors in [10] explore the asymptotic modified M-estimators (MM-estimators), and Kalina proposes new weighing schemes together with corresponding estimates for the variance of disturbances by focusing on estimating the variance of the random regression errors in [11]. Wang proposes an RSS-based localization algorithm [12], whose main idea is to estimate the LOS components from fading signals, and then use the LOS signals to calculate the positioning result. The advantage of this algorithm is that it is robust to environmental fading disturbance, and it performs better than traditional RSS-based methods, but this algorithm needs to be compared with more algorithms. Through small error analysis, Picard establishes an expression model of NLOS error and covariance in [13] to counter the multipath effect of signal propagation. This algorithm can effectively handle multipath which the traditional direct position determination algorithm cannot cope with well. However, this algorithm is based on some assumptions for generic scenarios, which needs more practical verification.
Data fusion is also one of the research hotspots. In [14], by combining the measurements of TOA and AOA, Wu proposes a probability weighting localization algorithm, in which range and angle measurements are divided into different combinations and corresponding probabilities are calculated to weight the results of these combinations. This algorithm performs better than existing algorithms, but its computational complexity is higher. In [15], Chang transforms the positioning problem into a second-order cone programming problem to solve by using the combined measurements of AOA and RSS, which realizes accurate positioning under the conditions of known and unknown target node transmission power. However, the superior performance is at the cost of higher computational complexity, which makes it difficult for the algorithm to be applied to computers with poor computing power. Based on combined TOA and RSS measurements, Tomic converts the localization problem into a generalized trust region sub-problem [16], which is then solved by a bisection procedure. The main idea of the algorithm is to eliminate NLOS error as a noise parameter. The advantage of this algorithm is its linear computational complexity, but it is only suitable for small noise power. In [17], Coluccia proposes that the mixed measurement of RSS and TOA does not always benefit the estimator. In the vicinity of a critical distance, the combined RSS-TOA measurement is not as good as the RSS and TOA measurement alone. To solve this problem, a heuristic approach to choose the optimal measurements for each link is proposed in [18], which effectively uses the measurements of RSS and TOA. The algorithm does not depend on the knowledge of the noise powers. However, only the exponential distribution simulation is carried out in this paper, which cannot fully cover the complex situation in real world. In [19], by combining TOA and RSS measurements, Chen designs a position estimator based on the idea of combining IMM algorithm and EKF filter, which effectively enhances the positioning precision in hybrid LOS and NLOS environments. Nevertheless, this algorithm also depends on the knowledge of the NLOS error statistics.
Many conventional algorithms need to know the prior information of the environment in advance. How to reduce the dependence on the prior information of the environment is also one of the research directions. In [20], Yu establishes a range selection rule using the identified channel information to select the measurements, which can reduce the NLOS error initially. After that, robustness is introduced into Taylor series least square method to further mitigate the remaining NLOS error. The highlight of this algorithm is that it does not assume the threshold and distribution function of NLOS error, but its performance depends on a large number of offline collected data. Without knowing the prior information of specific channel state and NLOS error statistics, the paper [21] establishes a balance parameter to solve the problem that the traditional robust algorithm cannot perform well in a sparse NLOS environment. The localization problem is then converted into non-convex programming in order to solve it. Simulation results show that it works well for both the spare and dense NLOS environments. However, its computational complexity is higher, which limits its application scenarios. By applying the robust statistics [22,23] in a multiple model framework, a robust IMM algorithm (R-IMM) is proposed in [7] to reduce the NLOS error. The advantage of this algorithm is that it performs well in the mixed environment of LOS/NLOS, and it does not assume any statistical information of the NLOS error. However, the clipping parameters and for REKF in this algorithm need to be set manually, which is difficult and inflexible when dealing with a complicated NLOS environment, and it is inappropriate when the NLOS probability is large (larger than 0.6). For cooperative localization, the information of nodes (agents) whose positions have not been determined is also helpful for positioning, but the positions of agents are unknown. Mendrzik proposes a position-constrained inference algorithm in [24] to constrain the positions of the agents in a limited area, which improved the positioning accuracy. This algorithm does not need the prior position information of the agents and it has lower computational complexity. Nevertheless, its robustness needs to be further improved.
3. Problem Statement
3.1. Signal Model
In a two-dimensional localization area, we assume that there is one mobile node surrounded by M beacon nodes whose coordinates are known, and the signal transmission between the mobile node and the beacon nodes can be LOS or NLOS depending on whether there are obstacles between the mobile node and the beacon nodes. The mobile node moves randomly in the localization area. In the process of mobile node moving, the signal transmission channels between the mobile node and the beacon nodes switch between LOS and NLOS conditions, and the switching is regarded as a second-order Markov transition process [19] as shown in Figure 1. The state vector of the mobile node is denoted as , where represents the position of the mobile node and represents the speed of the mobile node at time step l. The movement of the mobile node can be described by the change of the state vector, which can be modeled as:
| (1) |
| (2) |
where, is the sampling period, the driving noise is assumed to be Gaussian white noise with a mean of zero and a covariance matrix of . A is the state transition matrix of the mobile node, and G is used to describe the random acceleration caused by noise .
Figure 1.
Markov switching model.
Let denote the range measurements based on TOA data between the mobile node and M beacon nodes at time step l. The element represents the range measurement between the m-th beacon node and the mobile node. Then,
| (3) |
where , and represents the true Euclidean distance between the m-th beacon node and the mobile node at time step l, which is defined as:
| (4) |
where represents the two-dimensional coordinate of the m-th beacon node. Noise vector describes sensor noise and NLOS error. Sensor noise is modeled as Gaussian white noise with a mean of zero and a variance of , and the prior distribution information of NLOS error is unknown. The measurement covariance matrix:
| (5) |
is defined as,
| (6) |
where, the element is defined as,
| (7) |
We assume that the sensor noise variance is known, and the true measurement noise covariance matrix is unknown since the prior distribution information of NLOS error is unknown. Instead, denotes the measurement noise covariance matrix set by the tracker.
3.2. A Brief Introduction to the Interactive Multiple Model (IMM)
The IMM localization algorithm regards the signal propagation channel as a second-order Markov transition process [19]. Four main steps are included in the algorithm. The first step is input interaction. In this step, the mixed probability is calculated to obtain the mixed covariance matrix and state estimation. The second step is to carry out model matching. Two filters are designed for the LOS model and NLOS model to obtain two estimation results, which should be able to handle LOS and NLOS cases, respectively, well. The third step is mode probability update. The new mode probability is updated by a calculated likelihood function. The last step is combination. Based on their respective mode probabilities, the final positioning results are estimated by combining the estimation of LOS and NLOS model. Because it combines the localization results of LOS and NLOS models, the IMM algorithm is suitable for localization in the hybrid situation of LOS and NLOS.
4. Proposed Method
4.1. General Concept
The flowchart of the proposed algorithm is illustrated in Figure 2. Firstly, a NLOS identification strategy is proposed to detect the severity of NLOS. In this strategy, the measurements are first divided into N different subgroups, and each subgroup separately calculates its own position estimation by the least-squares, and then NLOS identification is carried out on N different position estimation results using the validation gate. The position estimation that can fall into the validation gate is a positioning estimation with higher positioning accuracy. We count the number of position estimates that fall into the validation gate. can be used to characterize the severity of NLOS. The larger , the milder the degree of NLOS, and the smaller , the severer the degree of NLOS. Then NLOS situations can be divided into two categories according to the severity: mild NLOS and severe NLOS. If , there is position estimation that can fall into the validation gate, and it means that NLOS is not particularly serious, which is classified as mild NLOS. If , no position estimation falls into the validation gate, it indicates that the NLOS is extremely serious at this time, which is classified as severe NLOS. Secondly, classification filtering, which combines EKF, REKF and the proposed severe NLOS mitigation algorithm based on LOS reconstruction, is performed to obtain respective position estimates. EKF and REKF are applied to filter LOS noise and mild NLOS noise respectively. Meanwhile, a severe NLOS mitigation algorithm based on LOS reconstruction is proposed to filter out severe NLOS noise. Finally, the IMM algorithm is employed to obtain the final positioning result by weighting the position estimation of LOS and NLOS.
Figure 2.
The flowchart of the proposed algorithm.
4.2. Interaction and Prediction
First, the state vector , covariance matrix at time step l-1 are initialized respectively [7]. Then, we need to calculate the mixed probability , which can be obtained by the following formula:
| (8) |
where, is the mode probability of the i-th mode. is Markov transition probability from mode i to mode j. Note that {1 for LOS mode, 2 for NLOS mode}. denotes the normalization factor, which is
| (9) |
Then input interaction is carried out:
| (10) |
| (11) |
| (12) |
where, and are the mixed state estimation and mixed covariance matrix for the j-th mode-matched filter at time step l − 1. After the interaction is completed, the algorithm starts to perform model matching.
Prediction: through the interaction process, we obtain the mixed state estimation and the mixed state covariance matrix at time step l − 1, which are employed to compute the state prediction value and the error covariance matrix prediction value for LOS/NLOS at time step l.
| (13) |
| (14) |
4.3. A Non-Line-of-Sight (NLOS) Identification Strategy
Before suppressing NLOS noise, a NLOS identification strategy is proposed to detect the severity of NLOS.
Since the position estimation requires at least 3 measurement values, we first divide the distance measurement values of M beacon nodes and mobile node into different subgroups according to 3 measurement values in each group. For each subgroup, the corresponding position estimation is obtained through least square estimation. The position estimation prediction value of the mobile node is calculated as follows:
| (15) |
| (16) |
where, observation matrix , and is the innovation of the n-th subgroup at time step l. After calculating the position estimation of each subgroup, we conduct NLOS identification to detect the severity of NLOS pollution.
When there is no NLOS error in all range measurements of the subgroup, then the following formula holds:
| (17) |
where, represents the innovation covariance matrix of the n-th subgroup at time step l, calculated as follows:
| (18) |
| (19) |
To test Equation (17), we define hypothesis and alternative hypothesis :
| (20) |
| (21) |
If all beacon nodes of the n-th subgroup are in LOS condition, the position estimation can fall into the validation gate, so the hypothesis holds. If at least one beacon node of the n-th subgroup is in NLOS condition, the position estimation is wrong and a higher innovation covariance will be generated, then the hypothesis holds, and fall outside the validation gate. In order to evaluate whether can fall into the validation gate, we calculate the test statistic as follows:
| (22) |
By comparing with the threshold of the validation gate , we can verify whether the position estimation can fall into the validation gate. If is smaller than , then can fall into the validation gate, the hypothesis holds. If is larger than , then falls outside the validation gate, the hypothesis holds. The threshold of the validation gate is related to the threshold probability , which denotes the probability that computed from the LOS beacon nodes falls into the validation gate. is
| (23) |
where denotes the chi-square distribution probability density function, which has two degrees of freedom, and is warning probability. When probability is determined, we can obtain the value of threshold through a chi-square distribution table.
We count the number of that can fall into the validation gate, and record it as . Then, NLOS situations can be divided into two categories according to the severity: mild NLOS and severe NLOS.
If , it means that beacon nodes of the all subgroups are in LOS condition, and there is no NLOS error at this time. We will not consider this situation in the NLOS model.
If , the position estimation of some subgroups can fall into the validation gate, while the position estimation of another subgroups is polluted by NLOS, but the degree of NLOS is not extremely serious, because the position estimation of some subgroups still falls into the validation gate. This condition is classified as mild NLOS.
If , there is no position estimation of subgroup that can fall into the validation gate, which shows that at least one beacon node in each subgroup is polluted by NLOS. This condition is classified as severe NLOS.
4.4. Classification Filtering
Update: when j = 1, EKF filter is used to update the state estimation and error covariance matrix.
| (24) |
| (25) |
| (26) |
where, and are the Jacobian matrix and innovation at time step l, is the covariance matrix for LOS model, and denotes the innovation covariance matrix.
| (27) |
| (28) |
| (29) |
| (30) |
where, represents the extended Kalman gain, is the likelihood function. and are the updated state estimation and the updated error covariance matrix at time step l.
When j = 2, the REKF algorithm and a proposed severe NLOS mitigation algorithm based on LOS reconstruction are employed to filter mild NLOS and severe NLOS, respectively.
4.5. Robust Extended Kalman Filter (REKF) Algorithm
The REKF algorithm is described as follows:
(1) Rewrite EKF equation: it was proved in available research works [23,25,26] that the EKF filter can be transformed into the least square solution of linear regression problem. In order to apply robust technology, we transform EKF equation into linear regression model. Before that, we first calculate the Jacobian matrix , the innovation and the innovation covariance matrix at time step l.
| (31) |
| (32) |
| (33) |
Then, the state equation and the measurement equation in (1) and (3) are rewritten as follows:
| (34) |
where,
| (35) |
At the same time, satisfies:
| (36) |
where, is obtained by using Cholesky decomposition for . Then, the Equation (34) is multiplied by to obtain the linear regression model.
| (37) |
where
| (38) |
| (39) |
(2) Robust regression: considering the case of the linear regression model (37) at time step l, by solving the following coupled equation, we can obtain the maximum likelihood estimation of .
| (40) |
where, denotes the dimension of and is location score function. By solving Equation (37) by least-squares [26], we can calculate the state estimation , and the error covariance matrix . However, the least-squares estimation is so vulnerable to outliers that we should adopt robust regression technique [27] to solve Equation (37). Since the NLOS error is always greater than zero, the probability density function of NLOS error is asymmetric, we use the descending score function [28] as the location score function as follows:
| (41) |
where and are the clipping points of location score function, which are selected based on the efficiency loss we are willing to pay in the LOS condition. Choosing the appropriate makes continuous at . In this paper, and are set to 1.5 and 3, which are the same as those in [7]. Then, the state estimation of the mobile node is calculated by iterative Newton–Raphson steps based on the location score function. The process of the algorithm is as follows:
In the first step, an initial state estimation is computed by least-squares.
| (42) |
where the index denotes the r-th iteration.
In the second step, the initial state estimation is used to estimate the noise residual .
| (43) |
The third step is to estimate the noise scale after obtaining the noise residual .
| (44) |
where represents the mean absolute deviation and is defined as
| (45) |
The fourth step is to update the state estimation by a Newton–Raphson step. The new state estimation is computed as follows:
| (46) |
where
| (47) |
In the fifth step, the convergence of the algorithm is checked according to a preset convergence condition. If the norm of the current state estimation and the last estimation is less than the required value, the iteration is stopped to obtain the final state estimation, otherwise, the above steps are repeatedly executed until convergence.
| (48) |
After obtaining the state estimation, the likelihood function is calculated as follows:
| (49) |
4.6. A Severe NLOS Mitigation Algorithm Based on Line-of-Sight (LOS) Reconstruction
The severe NLOS mitigation algorithm based on LOS reconstruction we propose is described as follows:
LOS reconstruction: When NLOS pollution is especially serious, if we can estimate the average value of NLOS error and perform LOS reconstruction on the measurements from each beacon node, the negative impact of NLOS error on positioning performance can be alleviated to a large extent. We first estimate the average value of NLOS error .
Update : we consider the position estimation at time step l. when , we initialize . When , we use the positioning result before the current time to estimate the average value of NLOS error . The estimation value of NLOS error at time step l can be computed by using the position estimation .
| (50) |
Since the NLOS error is a deviation greater than zero, we take the average value of all values larger than zero in the array as the estimated value at time step l.
Distance reconstruction:
| (51) |
Then the NLOS EKF filter is used to estimate the position using the measurements after LOS reconstruction.
| (52) |
| (53) |
| (54) |
where, and denote the Jacobian matrix and innovation at time step l, is the covariance matrix for NLOS model, and denotes the innovation covariance matrix.
| (55) |
| (56) |
| (57) |
| (58) |
where, represents the extended Kalman gain, is the likelihood function. and are the updated state estimation and the updated error covariance matrix at time step l.
4.7. Model Probability Update
See below
| (59) |
| (60) |
where and c denotes the updated mode probability and the normalization factor respectively.
4.8. Combination
The output state vector estimation and error covariance matrix are:
| (61) |
| (62) |
5. Simulation and Experimental Results
5.1. Simulation
5.1.1. Simulation Environment and Parameter Settings
The simulation environment and parameter settings for simulation are introduced in this section.
Firstly, we introduce the simulation environment. The simulation platform is MATLAB, and every simulation result is based on 1000 Monte Carlo experiments. The simulation scene of a Monte Carlo experiment is depicted in Figure 3. Note that the deployment of beacon nodes is not always the same in each Monte Carlo experiment. The positions of beacon nodes applied with Monte Carlo in each run are randomly deployed in a localization area of 100 m × 100 m. The purpose of random deployment of beacon nodes is to simulate the different configurations of anchor nodes. Meanwhile, a mobile node moves in this area along the true trajectory shown in Figure 3. The initial state of the mobile node is , and the initial covariance matrix is . In order to simulate the complicated positioning environment, simulations are, respectively, taken under the condition that NLOS errors follow different distributions: Gaussian distribution, uniform distribution and exponential distribution. The propagation of NLOS errors between beacon nodes and mobile node is randomly generated with the probability . The range measurements between the beacon nodes and the mobile node are sampled every 1 s, and 100 samples are sampled in total. The conventional EKF [5], REKF [7], IMM-EKF [19] and R-IMM [7] algorithms are compared with our algorithm. The parameter settings for simulation are presented in Table 1:
Figure 3.
The simulation scene of a Monte Carlo experiment.
Table 1.
The parameter settings for simulation.
| Meaning | Values |
|---|---|
| the warning probability of the validation gate | |
| the initial mode probability | |
| the driving noise covariance matrix | |
| the measurement covariance matrix | |
| the clipping points of location score function |
In this algorithm, we assume that the sensor noise variance is known, then the measurement covariance matrix for the LOS model is chosen as whereas that for NLOS model is chosen empirically to , as in [7]. In addition, the other specific parameter settings are given as Table 2, Table 3 and Table 4 in Section 5.1.2.
Table 2.
The default parameters for Gaussian distribution.
| Symbol | Meaning | Default Values |
|---|---|---|
| NLOS probability | 0.5 | |
| NLOS error | ||
| M | Number of beacon nodes | 6 |
| Sensor noise |
Table 3.
Comparison table of average RMSE value.
| Algorithm | The Average RMSE Value/m |
|---|---|
| NI-CF | 3.2217 |
| R-IMM | 4.2818 |
| IMM-EKF | 5.2163 |
| REKF | 5.9851 |
| EKF | 6.4764 |
Table 4.
The default parameters for uniform distribution.
| Symbol | Meaning | Default Values |
|---|---|---|
| NLOS probability | 0.5 | |
| NLOS error | ||
| M | Number of beacon nodes | 6 |
| Sensor noise |
The performance of the algorithm is evaluated through two indexes: cumulative distribution function (CDF) of the average localization error (ALE) and root mean square error (RMSE).
| (63) |
| (64) |
where ALE refers to the average distance deviation between the estimated position and the real position. and represent the real position and estimated position respectively at time step l. denotes the number of samples, is the Monte Carlo runs times.
5.1.2. Simulation Results
In order to simulate a complex positioning environment, simulations are respectively taken under the condition that NLOS errors follow different distributions: Gaussian distribution, uniform distribution and exponential distribution. The robustness and positioning accuracy of the proposed algorithm with the change of the mean value of NLOS error, the standard deviation of NLOS error, the probability of NLOS error, and the number of beacon nodes are explored based on the comparative scheme designed. Simulation results are shown and evaluated in Section 5.1.2.1, Section 5.1.2.2 and Section 5.1.2.3 in this part.
5.1.2.1. Gaussian Distribution
We first assume NLOS error and sensor noise follow Gaussian distribution and respectively. Since NLOS error is always greater than zero, is further used to simulate NLOS error. The default parameters in this simulation are displayed in Table 2.
To better illustrate the robustness and positioning accuracy of the proposed algorithm as the mean value of NLOS error changes, Figure 4 shows the RMSE results with changing from 3 to 10. As the increase of , the RMSE of five algorithms for comparison all have a trend of increasing. But we can observe that the positioning accuracy of the proposed algorithm is always the highest and decreases more slowly as increases, which shows stronger robustness. The comparison table of average RMSE value is shown as Table 3.
Figure 4.
The root mean square error (RMSE) versus the mean value of NLOS error.
Figure 5 shows the RMSE of each algorithm as the standard deviation of NLOS error changes from 3 to 10. When the standard deviation of NLOS error increases, the performance of five algorithms all declines. Compared with other algorithms, the proposed algorithm always maintains the optimal positioning accuracy and the RMSE only increases slightly with the increase of .
Figure 5.
The RMSE versus the standard deviation of NLOS error.
The positioning accuracy and robustness of the proposed algorithm when the probability of NLOS error varies from 0.1 to 1 are shown in Figure 6. The greater the NLOS error probability, the greater the RMSE of five algorithms, and we can notice that in the process of NLOS probability increasing from 0.1 to 1, the positioning accuracy of the proposed algorithm is higher than the other four algorithms, and the greater the probability of NLOS error, the more obvious the advantages of the proposed algorithm. The proposed algorithm increases the average positioning accuracy to 2.8259 m, while the average positioning accuracy of the EKF, REKF, IMM-EKF and R-IMM is 5.5937 m, 5.1506 m, 4.4104 m, and 3.6967 m, respectively.
Figure 6.
The RMSE versus the probability of NLOS error.
Figure 7 is the CDF of ALE. From the figure, we can see that the 90%-quantile of ALE of the proposed algorithm is about 2.9 m, while the corresponding values of EKF, REKF, IMM-EKF and R-IMM are about 5.5 m, 5.2 m, 4.6 m and 3.7 m respectively.
Figure 7.
The cumulative distribution function (CDF) versus the average localization error (ALE).
5.1.2.2. Uniform Distribution
We assume that that NLOS error and sensor noise follow uniform distribution and Gaussian distribution respectively. The default parameters in this simulation are displayed in Table 4.
The RMSE result of each algorithm with the parameter max changing from 8 to 15 is described in Figure 8. Different from the trend of significantly increasing RMSE of the other four algorithms, the RMSE of the proposed algorithm increases slightly when the parameter max increases from 8 to 15, which means stronger robustness. The average RMSE values of different algorithms are shown in Table 5.
Figure 8.
The RMSE versus the parameter max in NLOS error.
Table 5.
The average RMSE values of different algorithms.
| Algorithm | The Average RMSE Value/m |
|---|---|
| NI-CF | 3.4745 |
| R-IMM | 4.3012 |
| IMM-EKF | 4.8421 |
| REKF | 5.0497 |
| EKF | 5.3401 |
Figure 9 explores the influence of different beacon node numbers on positioning accuracy. The RMSE of each algorithm increases when the number of beacon nodes gradually decrease from 9 to 4, which shows that more beacon nodes are helpful to improve the positioning accuracy. The positioning accuracy of the proposed algorithm does not decrease significantly with the decrease of the number of beacon nodes, which means that the proposed algorithm has less dependence on the number of beacon nodes participating in positioning.
Figure 9.
The RMSE versus the number of beacon nodes.
5.1.2.3. Exponential Distribution
We assume that NLOS error and sensor noise follow exponential distribution and Gaussian distribution respectively. The default parameters in this simulation are displayed in Table 6.
Table 6.
The default parameters for exponential distribution.
| Symbol | Meaning | Default Values |
|---|---|---|
| NLOS probability | 0.5 | |
| NLOS error | ||
| M | Number of beacon nodes | 6 |
| Sensor noise |
The RMSE of each algorithm with the parameter in exponential distribution changing from 3 to 10 is shown in Figure 10. With the increase of parameter , the RMSE of each algorithm increases. By contrast with the other three algorithms, the RMSE of R-IMM and the proposed algorithm increases slightly. Meanwhile, it can be observed that the positioning accuracy of the proposed algorithm is significantly higher than that of the other four algorithms.
Figure 10.
The RMSE versus the parameter .
To describe the robustness of the proposed algorithm as the NLOS error probability changes, Figure 11 shows the RMSE results when varying from 0.1 to 1. The larger , the larger the RMSE of the five algorithms for comparison. This is reasonable since the NLOS situation is more serious, and the proposed algorithm performs better than other algorithms.
Figure 11.
The RMSE versus the probability of NLOS error.
From Figure 12, we can see that the 90%-quantile of ALE of the proposed algorithm is about 3.5 m, while that of ALE of EKF, REKF, IMM-EKF and R-IMM is about 7.6 m, 7.0 m, 6.3 m and 4.4 m respectively.
Figure 12.
The CDF versus the ALE.
5.2. Experiment
5.2.1. Experimental Environment
In order to test the performance of the proposed algorithm, we conducted a localization experiment in an indoor environment. The signal transmission between mobile node and beacon nodes was based on ultra-wideband (UWB) technology. UWB technology has been widely used in indoor positioning in recent years because of its low complexity and high positioning accuracy. The principle of UWB ranging is to approximate the distance between nodes based on the two-way propagation time of signals. In this experiment, both the mobile node and the beacon nodes adopted UWB node. The difference was that the mobile node was connected with the power supply as shown in Figure 13, and was held by a pedestrian during the movement, while a beacon node was connected with a computer to transmit the collected data to the computer.
Figure 13.
The ultra-wideband (UWB) node connected with power supply.
The experimental scene is depicted in Figure 14. In the indoor localization area of 10 m * 14 m, the coordinates of eight beacon nodes are , , , , , , , . The mobile node moves at a speed of 0.8 m/s along the true trajectory in the figure from the initial position until it reaches . To avoid ground reflection, all nodes are placed 1.2 m above the ground. The sampling frequency is 1 Hz. Every 80 cm, one sampling point is recorded and there are 26 sampling points in the whole true trajectory. Twenty measurements are collected at every sampling point, and the average of 20 measurements at every sampling point are utilized as the measurement distance. The parameter settings for the experiment were the same as those in the simulation.
Figure 14.
The experimental scene.
5.2.2. Experimental Results
The localization error at each sampling point is illustrated in Figure 15. We can find that the localization error of the proposed algorithm is almost always the smallest. Figure 16 illustrates the CDF of localization error. From the figure, we can see that the 90%-quantile of the localization error of the proposed algorithm is only about 2.5 m, while that of the other four algorithm exceeds 11 m, which shows that the proposed algorithm can effectively suppress the negative effects of NLOS errors on positioning accuracy.
Figure 15.
The localization error at each sampling point.
Figure 16.
The CDF versus the localization error.
5.2.3. Computation Time Comparison
Table 7 shows the running time of each algorithm. The five algorithms are coded using MATLAB R2016a and tested on a Windows 10 Professional workstation with Intel(R) Core (TM) i7-8700 @ 3.20GHz and 8.00GB RAM. Although NI-CF consumes more time, the time for a single processing is still far less than the interval between single sample (the sampling frequency is 1 Hz). Therefore, the algorithm can be applied for online tracking.
Table 7.
Running time of each algorithm.
| Algorithm | Running Time/s |
|---|---|
| EKF | 0.0020 |
| REKF | 0.0025 |
| IMM-EKF | 0.0028 |
| R-IMM | 0.0046 |
| NI-CF | 0.0111 |
6. Conclusions
This paper proposes a robust localization algorithm based on NLOS identification and classification filtering for a hybrid LOS and NLOS environment. Firstly, an NLOS identification strategy is proposed to detect the severity of NLOS, and then the NLOS situation is further divided into mild NLOS and severe NLOS, which is beneficial to the subsequent classification filtering. After that, we performed classification filtering to obtain respective position estimates for different NLOS situations. For the LOS case, the EKF algorithm was applied to generate accurate positioning results. For the NLOS case, REKF algorithm and the proposed severe NLOS mitigation algorithm based on LOS reconstruction were employed to filter out mild NLOS noise and severe NLOS noise, respectively. Through NLOS identification and classification filtering, the proposed algorithm could deal better with various complex positioning environments and had stronger robustness. Finally, the IMM algorithm was employed to obtain the final positioning result by weighing the position estimation of LOS and NLOS, which further improved the positioning accuracy and robustness. Simulation and experiments showed that the proposed algorithm outperformed EKF, REKF, IMM-EKF, R-IMM in the hybrid LOS and NLOS environment. In addition, under the unfavorable conditions of fewer beacon nodes participating in the positioning and higher NLOS probability, the performance of the algorithm did not drop significantly, which shows stronger robustness. In the future, we need to further improve the positioning accuracy when the number of nodes participating in the positioning has enough redundancy.
Acknowledgments
In this section you can acknowledge any support given which is not covered by the author contribution or funding sections. This may include administrative and technical support, or donations in kind (e.g., materials used for experiments).
Author Contributions
L.C., S.H. and Y.B. conceived and designed the experiments; S.H. and M.X. performed the experiments; S.H., M.X. and Y.B. analyzed the data; Y.B. contributed analysis tools; L.C. and S.H. wrote the paper. All authors have read and agreed to the published version of the manuscript.
Funding
This work was supported by the National Natural Science Foundation of China under Grant No. 61803077; Natural Science Foundation of Hebei Province under Grant No. F2020501012; Fundamental Research Funds for the Central Universities under Grant No. N172304024.
Conflicts of Interest
The authors declare no conflict of interest.
Footnotes
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.
References
- 1.Zheng H., Guo W., Xiong N. A kernel-based compressive sensing approach for mobile data gathering in wireless sensor network systems. IEEE Trans. Syst. Man Cybern. 2019;48:2315–2327. [Google Scholar]
- 2.Wang Y., Gu K., Wu Y., Dai W., Shen Y. NLOS effect mitigation via spatial geometry exploitation in cooperative localization. IEEE Trans. Wirel. Commun. 2020;19:6037–6049. doi: 10.1109/TWC.2020.2999667. [DOI] [Google Scholar]
- 3.Phoemphon S., So-In C., Leelathakul N. Fuzzy weighted centroid localization with virtual node approximation in wireless sensor networks. IEEE Internet Things J. 2018;5:4728–4752. doi: 10.1109/JIOT.2018.2811741. [DOI] [Google Scholar]
- 4.Wang W., Wang G., Zhang J., Li Y. Robust weighted least squares method for TOA-based localization under mixed LOS/NLOS conditions. IEEE Commun. Lett. 2017;21:2226–2229. doi: 10.1109/LCOMM.2017.2725274. [DOI] [Google Scholar]
- 5.Cui W., Li B., Zhang L. Robust mobile location estimation in NLOS environment using GMM, IMM, and EKF. IEEE Syst. J. 2019;13:3490–3499. doi: 10.1109/JSYST.2018.2866592. [DOI] [Google Scholar]
- 6.Liao J., Chen B. Robust mobile location estimator with NLOS mitigation using interacting multiple model algorithm. IEEE Trans. Wirel. Commun. 2006;5:3002–3006. doi: 10.1109/TWC.2006.04747. [DOI] [Google Scholar]
- 7.Hammes U., Zoubir A.M. Robust MT tracking based on M-estimation and interacting multiple model algorithm. IEEE Trans. Signal Process. 2011;59:3398–3409. doi: 10.1109/TSP.2011.2138702. [DOI] [Google Scholar]
- 8.Haigh S., Kulon J., Partlow A. A robust algorithm for classification and rejection of NLOS signals in narrowband ultrasonic localization systems. IEEE Trans. Instrum. Meas. 2019;68:646–655. doi: 10.1109/TIM.2018.2853878. [DOI] [Google Scholar]
- 9.Yang M., Jackson D.R., Chen J. A TDOA localization method for nonline-of-sight scenarios. IEEE Tans. Antennas Propag. 2019;67:2666–2675. doi: 10.1109/TAP.2019.2891403. [DOI] [Google Scholar]
- 10.Salibian-Barrera M. The asymptotics of MM-estimators for linear regression with fixed designs. Metrika. 2006;63:283–294. doi: 10.1007/s00184-005-0019-6. [DOI] [Google Scholar]
- 11.Kalina J., Tichavsky J. On robust estimation of error variance in (highly) robust regression. Meas. Sci. Rev. 2020;20:6–14. doi: 10.2478/msr-2020-0002. [DOI] [Google Scholar]
- 12.Wang L., Zawodniok M.J. New theoretical limit analysis of LoS and RSS based positioning methods for ricean fading channel in RF systems. IEEE Trans. Mob. Comput. 2019;18:2401–2414. doi: 10.1109/TMC.2018.2872989. [DOI] [Google Scholar]
- 13.Picard J.S., Weiss A.J. Direct position determination sensitivity to NLOS propagation effects on doppler-shift. IEEE Trans. Signal Process. 2019;67:3870–3881. doi: 10.1109/TSP.2019.2923152. [DOI] [Google Scholar]
- 14.Wu S., Zhang S., Xu K. Probability weighting localization algorithm based on NLOS identification in wireless network. Hindawi Wirel. Commun. Mob. Comput. 2019;2019:2707469. doi: 10.1155/2019/2707469. [DOI] [Google Scholar]
- 15.Chang S., Li Y., Yang X. A novel localization method based on RSS-AOA combined measurements by using polarized identity. IEEE Sens. J. 2019;19:1463–1470. doi: 10.1109/JSEN.2018.2881892. [DOI] [Google Scholar]
- 16.Tomic S., Beko M. A robust NLOS bias mitigation technique for RSS-TOA-based target localization. IEEE Signal Process. Lett. 2019;26:64–68. doi: 10.1109/LSP.2018.2879720. [DOI] [Google Scholar]
- 17.Coluccia A., Fascista A. On the hybrid TOA/RSS range estimation in wireless sensor networks. IEEE Trans. Wirel. Commun. 2018;17:361–371. doi: 10.1109/TWC.2017.2766628. [DOI] [Google Scholar]
- 18.Tomic S., Beko M. Target localization via integrated and segregated ranging based on RSS and TOA measurements. Sensors. 2019;19:230. doi: 10.3390/s19020230. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 19.Chen B.S., Yang C.Y., Liao F.K., Liao J.-F. Mobile Location estimator in a rough wireless environment using extended Kalman-based IMM and data fusion. IEEE Trans. Veh. Technol. 2009;58:1157–1169. doi: 10.1109/TVT.2008.928649. [DOI] [Google Scholar]
- 20.Yu K., Wen K., Li Y.B., Zhang S. A novel NLOS mitigation algorithm for UWB localization in harsh indoor environments. IEEE Trans. Veh. Technol. 2019;68:686–699. doi: 10.1109/TVT.2018.2883810. [DOI] [Google Scholar]
- 21.Chen H., Wang G., Ansari N. Improved robust TOA-based localization via NLOS balancing parameter estimation. IEEE Trans. Veh. Technol. 2019;68:6177–6181. doi: 10.1109/TVT.2019.2911187. [DOI] [Google Scholar]
- 22.Huber P., Ronchetti E.M. Robust Statistics. 2nd ed. Wiley; New York, NY, USA: 2009. [Google Scholar]
- 23.El-Hawary F., Jing Y. Robust regression-based EKF for tracking underwater targets. IEEE J. Ocean. Eng. 1995;20:31–41. doi: 10.1109/48.380248. [DOI] [Google Scholar]
- 24.Mendrzik R., Bauch G. Position-constrained stochastic inference for cooperative indoor localization. IEEE Trans. Signal Inf. Process. Netw. 2019;5:454–468. doi: 10.1109/TSIPN.2019.2897214. [DOI] [Google Scholar]
- 25.Boncelet C.G., Dickinson B.W. An approach to robust Kalman filtering; Proceedings of the 22nd IEEE Conference on Decision and Control; San Antonio, TX, USA. 14 December 1983; pp. 304–305. [Google Scholar]
- 26.Durovic Z.M., Kovacevic B.D. Robust estimation with unknown noise statistics. IEEE Trans. Autom. Control. 1999;44:1292–1296. doi: 10.1109/9.769393. [DOI] [Google Scholar]
- 27.Hampel F.R., Ronchetti E.M., Rousseeuw P.J., Stahel W.A. Robust Statistics, the Approach Based on Influence Functions. Wiley; New York, NY, USA: 1986. [Google Scholar]
- 28.Collins J.R. Robust estimation of a location parameter in the presence of asymmetry. Ann. Stat. 1976;4:68–85. doi: 10.1214/aos/1176343348. [DOI] [Google Scholar]
















