Next Article in Journal
A Fast Deploying Monitoring and Real-Time Early Warning System for the Baige Landslide in Tibet, China
Next Article in Special Issue
EM Model-Based Device-Free Localization of Multiple Bodies
Previous Article in Journal
Detection of County Economic Development Using LJ1-01 Nighttime Light Imagery: A Comparison with NPP-VIIRS Data
Previous Article in Special Issue
Dwell Time Allocation Algorithm for Multiple Target Tracking in LPI Radar Network Based on Cooperative Game
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Robust Localization Algorithm Based on NLOS Identification and Classification Filtering for Wireless Sensor Network

1
Department of Computer and Communication Engineering, Northeastern University, Qinhuangdao 066004, China
2
SANY GROUP CO., Ltd., Changping, Beijing 102202, China
*
Author to whom correspondence should be addressed.
Sensors 2020, 20(22), 6634; https://doi.org/10.3390/s20226634
Submission received: 5 October 2020 / Revised: 11 November 2020 / Accepted: 17 November 2020 / Published: 19 November 2020
(This article belongs to the Special Issue Radio Sensing and Sensor Networks)

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.

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 c 1 and c 2 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 c 1 and c 2 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 c 1 and c 2 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 θ ( l ) = [ x ( l ) y ( l ) x ˙ ( l ) y ˙ ( l ) ] T , where ( x ( l ) , y ( l ) ) represents the position of the mobile node and ( x ˙ ( l ) , y ˙ ( l ) ) 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:
θ ( l ) = A θ ( l 1 ) + G ω ( l 1 ) l = 1 , 2 , , L
A = [ 1 0 Δ t 0 0 1 0 Δ t 0 0 1 0 0 0 0 1 ] G = [ Δ t 2 / 2 0 0 Δ t 2 / 2 Δ t 0 0 Δ t ]
where, Δ t is the sampling period, the driving noise ω ( l ) is assumed to be Gaussian white noise with a mean of zero and a covariance matrix of Q ( l ) . A is the state transition matrix of the mobile node, and G is used to describe the random acceleration caused by noise ω ( l ) .
Let D ( l ) = [ d 1 ( l ) , d 2 ( l ) , , d m ( l ) , , d M ( l ) ] T denote the range measurements based on TOA data between the mobile node and M beacon nodes at time step l. The element d m ( l ) represents the range measurement between the m-th beacon node and the mobile node. Then,
D ( l ) = h ( θ ( l ) ) + v ( l )
where h ( θ ( l ) ) = [ h 1 ( θ ( l ) ) , h 2 ( θ ( l ) ) , , h m ( θ ( l ) ) , , h M ( θ ( l ) ) ] T , and h m ( θ ( l ) ) represents the true Euclidean distance between the m-th beacon node and the mobile node at time step l, which is defined as:
h m ( θ ( l ) ) = ( x ( l ) x B S , m ) 2 + ( y ( l ) y B S , m ) 2 m = 1 , 2 , , M
where ( x B S , m , y B S , m ) represents the two-dimensional coordinate of the m-th beacon node. Noise vector v ( l ) describes sensor noise and NLOS error. Sensor noise is modeled as Gaussian white noise with a mean of zero and a variance of σ G 2 , and the prior distribution information of NLOS error is unknown. The measurement covariance matrix:
R ( l ) = E { ( v ( l ) E { v ( l ) } ) ( v ( l ) E { v ( l ) } ) T }
is defined as,
R ( l ) = d i a g [ σ 1 2 , σ 2 2 , , σ m 2 , σ M 2 ]
where, the element σ m is defined as,
σ m = { σ G i f   L O S   c o n d i t i o n σ G 2 + σ N L O S 2 i f   N L O S   c o n d i t i o n
We assume that the sensor noise variance σ G 2 is known, and the true measurement noise covariance matrix R ( l ) is unknown since the prior distribution information of NLOS error is unknown. Instead, R * ( l ) 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 N v of position estimates that fall into the validation gate. N v can be used to characterize the severity of NLOS. The larger N v , the milder the degree of NLOS, and the smaller N v , 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 N v > 0 , 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 N v = 0 , 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.

4.2. Interaction and Prediction

First, the state vector θ ^ ( l 1 | l 1 ) , covariance matrix P ( l 1 | l 1 ) at time step l-1 are initialized respectively [7]. Then, we need to calculate the mixed probability μ i | j ( l 1 | l 1 ) , which can be obtained by the following formula:
μ i | j ( l 1 | l 1 ) = ( 1 / c ¯ j ) p i j μ i ( l 1 ) l = 1 , , L
where, μ i ( l 1 ) is the mode probability of the i-th mode. p i j is Markov transition probability from mode i to mode j. Note that i , j   ε {1 for LOS mode, 2 for NLOS mode}. c ¯ j denotes the normalization factor, which is
c ¯ j = i p i j μ i ( l 1 )
Then input interaction is carried out:
θ ^ 0 j ( l 1 | l 1 ) = i θ ^ i ( l 1 | l 1 ) μ i | j ( l 1 | l 1 )
θ ˜ i j ( l 1 | l 1 ) = θ ^ i ( l 1 | l 1 ) θ ^ 0 j ( l 1 | l 1 )
P 0 j ( l 1 | l 1 ) = i μ i | j ( l 1 | l 1 ) { P i ( l 1 | l 1 ) + θ ˜ i j ( l 1 | l 1 ) . θ ˜ i j T ( l 1 | l 1 ) }
where, θ ^ 0 j ( l 1 | l 1 ) and P 0 j ( l 1 | l 1 ) 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.
θ ^ j ( l | l 1 ) = A θ ^ 0 j ( l 1 | l 1 )
P j ( l | l 1 ) = A P 0 j ( l 1 | l 1 ) A T + C Q ( l ) C T

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 N = ( M 3 ) different subgroups according to 3 measurement values in each group. For each subgroup, the corresponding position estimation z n ( l ) is obtained through least square estimation. The position estimation prediction value z ^ ( l | l 1 ) of the mobile node is calculated as follows:
z ^ ( l | l 1 ) = B θ ^ 2 ( l | l 1 )
v 2 , n ( l ) = z n ( l ) z ^ ( l | l 1 ) n = 1 , , N
where, observation matrix B = [ 1 0 0 0 0 1 0 0 ] , and v 2 , n ( l ) 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:
v 2 , n ( l ) N ( 0 , S 2 , n ( l ) ) n = 1 , , N
where, S 2 , n ( l ) represents the innovation covariance matrix of the n-th subgroup at time step l, calculated as follows:
S 2 , n ( l ) = B P 2 ( l | l 1 ) B T + σ G 2 ( H T 2 , n ( z n ) H 2 , n ( z n ) ) 1
H 2 , n ( z n ) = h 2 , n ( [ x , y ] T ) [ x , y ] | x = x ^ , y = y ^
To test Equation (17), we define hypothesis ζ 0 , n and alternative hypothesis ζ 1 , n :
ζ 0 , n : v 2 , n ( l ) ~ N ( 0 , S 2 , n ( l ) ) n = 1 , , N
ζ 1 , n : not ζ 0 , n n = 1 , , N
If all beacon nodes of the n-th subgroup are in LOS condition, the position estimation z n ( l ) can fall into the validation gate, so the hypothesis ζ 0 , n holds. If at least one beacon node of the n-th subgroup is in NLOS condition, the position estimation z n ( l ) is wrong and a higher innovation covariance will be generated, then the hypothesis ζ 1 , n holds, and z n ( l ) fall outside the validation gate. In order to evaluate whether z n ( l ) can fall into the validation gate, we calculate the test statistic T n ( l ) as follows:
T n ( l ) = v T 2 , n ( l ) S 1 2 n ( l ) v 2 , n ( l )
By comparing T n ( l ) with the threshold of the validation gate γ , we can verify whether the position estimation z n ( l ) can fall into the validation gate. If T n ( l ) is smaller than γ , then z n ( l ) can fall into the validation gate, the hypothesis ζ 0 , n holds. If T n ( l ) is larger than γ , then z n ( l ) falls outside the validation gate, the hypothesis ζ 1 , n holds. The threshold γ of the validation gate is related to the threshold probability P G , which denotes the probability that z n ( l ) computed from the LOS beacon nodes falls into the validation gate. P G is
P G = 0 γ f χ 2 ( 2 ) ( x ) d x = 1 P F A
where f χ 2 ( 2 ) ( ) denotes the chi-square distribution probability density function, which has two degrees of freedom, and P F A is warning probability. When probability P G is determined, we can obtain the value of threshold γ through a chi-square distribution table.
We count the number of z n ( l ) that can fall into the validation gate, and record it as N v ( 0 N v N ) . Then, NLOS situations can be divided into two categories according to the severity: mild NLOS and severe NLOS.
If N v = N , 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 0 < N v < N , the position estimation z n ( l ) of some subgroups can fall into the validation gate, while the position estimation z n ( l ) of another subgroups is polluted by NLOS, but the degree of NLOS is not extremely serious, because the position estimation z n ( l ) of some subgroups still falls into the validation gate. This condition is classified as mild NLOS.
If N v = 0 , there is no position estimation z n ( l ) 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.
H 1 ( l ) = h ( θ ( l ) ) θ ( l ) | θ ( l ) = θ ^ 1 ( l | l 1 )
v 1 ( l ) = D ( l ) h ( θ ^ 1 ( l | l 1 ) )
S 1 ( l ) = H 1 ( l ) P 1 ( l | l 1 ) H 1 T ( l ) + R 1 * ( l )
where, H 1 ( l ) and v 1 ( l ) are the Jacobian matrix and innovation at time step l, R 1 * ( l ) is the covariance matrix for LOS model, and S 1 ( l ) denotes the innovation covariance matrix.
K 1 ( l ) = P 1 ( l | l 1 ) H 1 T ( l ) S 1 1 ( l | l 1 )
θ ^ 1 ( l | l ) = θ ^ 1 ( l | l 1 ) + K 1 ( l ) v 1 ( l )
P 1 ( l | l ) = ( I 4 K 1 ( l ) H 1 ( l ) ) P 1 ( l | l 1 )
1 ( l ) = N ( v 1 ( l ) ; 0 , S 1 ( l ) )
where, K 1 ( l ) represents the extended Kalman gain, 1 ( l ) is the likelihood function. θ ^ 1 ( l | l ) and P 1 ( l | l ) 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 H 2 ( l ) , the innovation v 2 ( l ) and the innovation covariance matrix S 2 ( l ) at time step l.
H 2 ( l ) = h ( θ ( l ) ) θ ( l ) | θ ( l ) = θ ^ 2 ( l | l 1 )
v 2 ( l ) = D ( l ) h ( θ ^ 2 ( l | l 1 ) )
S 2 ( l ) = H 2 ( l ) P 2 ( l | l 1 ) H 2 T ( l ) + R 2 * ( l )
Then, the state equation and the measurement equation in (1) and (3) are rewritten as follows:
[ I 4 H 2 ( l ) ] x ( l ) = [ A θ ^ 02 ( l 1 | l 1 ) D ( l ) h ( θ ^ 2 ( l | l 1 ) + H 2 ( l ) θ ^ 2 ( l | l 1 ) ] + e ( l )
where,
e ( l ) = [ A ( θ ( l 1 ) θ ^ 02 ( l 1 | l 1 ) ) + G ω ( l 1 ) v ( l ) ]
At the same time, e ( l ) satisfies:
E ( e ( l ) e T ( l ) ) = [ P 2 ( l | l 1 ) 0 0 R 2 * ( l ) ] = C ( l ) C T ( l )
where, C ( l ) is obtained by using Cholesky decomposition for E ( e ( l ) e T ( l ) ) . Then, the Equation (34) is multiplied by C 1 ( l ) to obtain the linear regression model.
y ˜ = F θ + b f ˜ v + v ˜
where
y ˜ = C 1 ( l ) [ θ ^ 2 ( l | l 1 ) D ( l ) h ( θ ^ 2 ( l | l 1 ) ) + H 2 ( l ) θ ^ 2 ( l | l 1 ) ]
F = C 1 ( l ) [ I 4 H 2 ( l ) ] , θ = θ ( l ) , v ˜ = C 1 ( l ) e ( l )
(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 θ .
i = 1 M + dim ( θ ) [ F ] i j × ψ ( y ˜ i j dim ( θ ) [ F ] i j θ j ) = 0 , j = 1 , , dim ( θ )
where, dim ( θ ) denotes the dimension of θ and ψ is location score function. By solving Equation (37) by least-squares [26], we can calculate the state estimation θ ^ 2 ( l | l ) = ( F T F ) 1 F T y ˜ , and the error covariance matrix P 2 ( l | l ) = ( D T D ) 1 . 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:
ψ ( v ) = { v | v | c 1 b tanh [ 0.5 b ( c 2 | v | ) ] sgn ( v ) c 1 | v | c 2 0 | v | > c 2
where c 1 and c 2 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 b makes ψ ( v ) continuous at c 1 . In this paper, c 1 and c 2 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 θ ^ 2 , 0 is computed by least-squares.
θ ^ 2 , r = ( F T F ) 1 F T y ˜ r = 0
where the index r denotes the r-th iteration.
In the second step, the initial state estimation θ ^ 2 , 0 is used to estimate the noise residual V ^ .
V ^ = y ˜ F θ ^ 2 , r
The third step is to estimate the noise scale σ ^ V after obtaining the noise residual V ^ .
σ ^ V = 1.48 m a d ( V ^ )
where m a d ( ) represents the mean absolute deviation and is defined as
m a d ( V ^ ) = m e a n { | V ^ m e a n ( V ^ ) | }
The fourth step is to update the state estimation by a Newton–Raphson step. The new state estimation is computed as follows:
θ ^ 2 , r + 1 = θ ^ 2 , r + μ ( F T F ) 1 F T ψ ( V ^ / σ ^ V )
where
μ = 1 / ( 1.25 max ( | ψ ( V ^ / σ ^ V ) | ) )
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.
| | θ ^ 2 , r + 1 θ ^ 2 , r | | < ε ε > 0
After obtaining the state estimation, the likelihood function is calculated as follows:
2 ( l ) = N ( v 2 ( l ) ; 0 , S 2 ( l ) )

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 b ^ .
Update b ^ : we consider the position estimation at time step l. when l = 1 , we initialize b ^ = 0 . When l 2 , we use the positioning result before the current time to estimate the average value of NLOS error b ^ . The estimation value of NLOS error at time step l can be computed by using the position estimation θ ^ ( l | l ) .
b ( l ) = m = 1 M d m ( l ) | | [ θ ^ ( l | l ) ( 1 ) , θ ^ ( l | l ) ( 2 ) ] T [ x B S , m , y B S , m ] T | | M l = 1 , , L 1
Since the NLOS error is a deviation greater than zero, we take the average value of all values larger than zero in the array [ b ( 1 ) , b ( 2 ) , , b ( l 1 ) ] as the estimated value b ^ at time step l.
Distance reconstruction:
D ( l ) = [ d 1 ( l ) b ^ , d 2 ( l ) b ^ , , d M ( l ) b ^ ] T
Then the NLOS EKF filter is used to estimate the position using the measurements after LOS reconstruction.
H 2 ( l ) = h ( θ ( l ) ) θ ( l ) | θ ( l ) = θ ^ 2 ( l | l 1 )
v 2 ( l ) = D ( l ) h ( θ ^ 2 ( l | l 1 ) )
S 2 ( l ) = H 2 ( l ) P 2 ( l | l 1 ) H 2 T ( l ) + R 2 * ( l )
where, H 2 ( l ) and v 2 ( l ) denote the Jacobian matrix and innovation at time step l, R 2 * ( l ) is the covariance matrix for NLOS model, and S 2 ( l ) denotes the innovation covariance matrix.
K 2 ( l ) = P 2 ( l | l 1 ) H 2 T ( l ) S 2 1 ( l | l 1 )
θ ^ 2 ( l | l ) = θ ^ 2 ( l | l 1 ) + K 2 ( l ) v 2 ( l )
P 2 ( l | l ) = ( I 4 K 2 ( l ) H 2 ( l ) ) P 2 ( l | l 1 )
2 ( l ) = N ( v 2 ( l ) ; 0 , S 2 ( l ) )
where, K 2 ( l ) represents the extended Kalman gain, 2 ( l ) is the likelihood function. θ ^ 2 ( l | l ) and P 2 ( l | l ) are the updated state estimation and the updated error covariance matrix at time step l.

4.7. Model Probability Update

See below
μ j ( l ) = ( 1 / c ) j ( l ) c ¯ j
c = j j ( l ) c ¯ j
where μ j ( l ) and c denotes the updated mode probability and the normalization factor respectively.

4.8. Combination

The output state vector estimation θ ^ ( l | l ) and error covariance matrix P ( l | l ) are:
θ ^ ( l | l ) = j θ ^ j ( l | l ) μ j ( l )
P ( l | l ) = j { P j ( l | l ) + [ θ ^ j ( l | l ) θ ( l | l ) ] × [ θ ^ j ( l | l ) θ ( l | l ) ] T } μ j ( l )

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 θ ( 0 ) = [ 0   m 20   m 1   m / s 0.5   m / s ] T , and the initial covariance matrix is P ( 0 ) = I 4 . 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 P n l o s . 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:
In this algorithm, we assume that the sensor noise variance σ G 2 is known, then the measurement covariance matrix for the LOS model is chosen as R * 1 ( l ) = σ G 2 I M whereas that for NLOS model is chosen empirically to R * 2 ( l ) = 3 σ G 2 I M , 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.
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).
R M S E = 1 L 1 M c a = 1 M c l = 1 L ( ( x ^ a ( l ) x a ( l ) ) 2 + ( y ^ a ( l ) y a ( l ) ) 2 )
A L E = 1 L l = 1 L ( x ^ ( l ) x ( l ) ) 2 + ( y ^ ( l ) y ( l ) ) 2
where ALE refers to the average distance deviation between the estimated position and the real position. ( x ( l ) , y ( l ) ) and ( x ^ ( l ) , y ^ ( l ) ) represent the real position and estimated position respectively at time step l. L = 100 denotes the number of samples, M c = 1000 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 N ( μ n l o s , σ n l o s 2 ) and N ( 0 , σ G 2 ) respectively. Since NLOS error is always greater than zero, | N ( μ n l o s , σ n l o s 2 ) | 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 μ n l o s changes, Figure 4 shows the RMSE results with μ n l o s changing from 3 to 10. As the increase of μ n l o s , 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 μ n l o s increases, which shows stronger robustness. The comparison table of average RMSE value is shown as Table 3.
Figure 5 shows the RMSE of each algorithm as the standard deviation of NLOS error σ n l o s 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 σ n l o s .
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 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.

5.1.2.2. Uniform Distribution

We assume that that NLOS error and sensor noise follow uniform distribution U ( min , max ) and Gaussian distribution N ( 0 , σ G 2 ) 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 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.

5.1.2.3. Exponential Distribution

We assume that NLOS error and sensor noise follow exponential distribution E ( λ ) and Gaussian distribution N ( 0 , σ G 2 ) respectively. The default parameters in this simulation are displayed in Table 6.
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.
To describe the robustness of the proposed algorithm as the NLOS error probability P n l o s changes, Figure 11 shows the RMSE results when P n l o s varying from 0.1 to 1. The larger P n l o s , 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.
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.

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.
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 n 1 ( 4 , 0.8 ) , n 2 ( 7.2 , 1.6 ) , n 3 ( 8 , 0.8 ) , n 4 ( 4.8 , 4.8 ) , n 5 ( 7.2 , 5.6 ) , n 6 ( 6.4 , 6.4 ) , n 7 ( 0.8 , 12.8 ) , n 8 ( 6.4 , 12.8 ) . The mobile node moves at a speed of 0.8 m/s along the true trajectory in the figure from the initial position R 1 ( 8.8 , 4 ) until it reaches R 4 ( 8.8 , 8 ) . 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.

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.

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.

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.

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.

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).

Conflicts of Interest

The authors declare no conflict of interest.

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. [Google Scholar] [CrossRef]
  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. [Google Scholar] [CrossRef]
  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. [Google Scholar] [CrossRef]
  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. [Google Scholar] [CrossRef]
  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. [Google Scholar] [CrossRef]
  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. [Google Scholar] [CrossRef]
  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. [Google Scholar] [CrossRef]
  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. [Google Scholar] [CrossRef]
  10. Salibian-Barrera, M. The asymptotics of MM-estimators for linear regression with fixed designs. Metrika 2006, 63, 283–294. [Google Scholar] [CrossRef]
  11. Kalina, J.; Tichavsky, J. On robust estimation of error variance in (highly) robust regression. Meas. Sci. Rev. 2020, 20, 6–14. [Google Scholar] [CrossRef] [Green Version]
  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. [Google Scholar] [CrossRef]
  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. [Google Scholar] [CrossRef]
  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. [Google Scholar] [CrossRef] [Green Version]
  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. [Google Scholar] [CrossRef]
  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. [Google Scholar] [CrossRef]
  17. Coluccia, A.; Fascista, A. On the hybrid TOA/RSS range estimation in wireless sensor networks. IEEE Trans. Wirel. Commun. 2018, 17, 361–371. [Google Scholar] [CrossRef]
  18. Tomic, S.; Beko, M. Target localization via integrated and segregated ranging based on RSS and TOA measurements. Sensors 2019, 19, 230. [Google Scholar] [CrossRef] [Green Version]
  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. [Google Scholar] [CrossRef]
  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. [Google Scholar] [CrossRef]
  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. [Google Scholar] [CrossRef]
  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. [Google Scholar] [CrossRef]
  24. Mendrzik, R.; Bauch, G. Position-constrained stochastic inference for cooperative indoor localization. IEEE Trans. Signal Inf. Process. Netw. 2019, 5, 454–468. [Google Scholar] [CrossRef]
  25. Boncelet, C.G.; Dickinson, B.W. An approach to robust Kalman filtering. In 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. [Google Scholar] [CrossRef]
  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. [Google Scholar] [CrossRef]
Figure 1. Markov switching model.
Figure 1. Markov switching model.
Sensors 20 06634 g001
Figure 2. The flowchart of the proposed algorithm.
Figure 2. The flowchart of the proposed algorithm.
Sensors 20 06634 g002
Figure 3. The simulation scene of a Monte Carlo experiment.
Figure 3. The simulation scene of a Monte Carlo experiment.
Sensors 20 06634 g003
Figure 4. The root mean square error (RMSE) versus the mean value of NLOS error.
Figure 4. The root mean square error (RMSE) versus the mean value of NLOS error.
Sensors 20 06634 g004
Figure 5. The RMSE versus the standard deviation of NLOS error.
Figure 5. The RMSE versus the standard deviation of NLOS error.
Sensors 20 06634 g005
Figure 6. The RMSE versus the probability of NLOS error.
Figure 6. The RMSE versus the probability of NLOS error.
Sensors 20 06634 g006
Figure 7. The cumulative distribution function (CDF) versus the average localization error (ALE).
Figure 7. The cumulative distribution function (CDF) versus the average localization error (ALE).
Sensors 20 06634 g007
Figure 8. The RMSE versus the parameter max in NLOS error.
Figure 8. The RMSE versus the parameter max in NLOS error.
Sensors 20 06634 g008
Figure 9. The RMSE versus the number of beacon nodes.
Figure 9. The RMSE versus the number of beacon nodes.
Sensors 20 06634 g009
Figure 10. The RMSE versus the parameter λ .
Figure 10. The RMSE versus the parameter λ .
Sensors 20 06634 g010
Figure 11. The RMSE versus the probability of NLOS error.
Figure 11. The RMSE versus the probability of NLOS error.
Sensors 20 06634 g011
Figure 12. The CDF versus the ALE.
Figure 12. The CDF versus the ALE.
Sensors 20 06634 g012
Figure 13. The ultra-wideband (UWB) node connected with power supply.
Figure 13. The ultra-wideband (UWB) node connected with power supply.
Sensors 20 06634 g013
Figure 14. The experimental scene.
Figure 14. The experimental scene.
Sensors 20 06634 g014
Figure 15. The localization error at each sampling point.
Figure 15. The localization error at each sampling point.
Sensors 20 06634 g015
Figure 16. The CDF versus the localization error.
Figure 16. The CDF versus the localization error.
Sensors 20 06634 g016
Table 1. The parameter settings for simulation.
Table 1. The parameter settings for simulation.
MeaningValues
the warning probability of the validation gate P F A = 0.01
the initial mode probability μ 1 ( 0 ) = 0.5 μ 2 ( 0 ) = 0.5
the driving noise covariance matrix Q ( l ) = I 2
the measurement covariance matrix R * 1 ( l ) = σ G 2 I M R * 2 ( l ) = 3 σ G 2 I M
the clipping points of location score function c 1 = 1.5 c 2 = 3
Table 2. The default parameters for Gaussian distribution.
Table 2. The default parameters for Gaussian distribution.
SymbolMeaningDefault Values
P n l o s NLOS probability0.5
| N ( μ n l o s , σ n l o s 2 ) | NLOS error | N ( 6 , 6 2 ) |
MNumber of beacon nodes6
N ( 0 , σ G 2 ) Sensor noise N ( 0 , 1 2 )
Table 3. Comparison table of average RMSE value.
Table 3. Comparison table of average RMSE value.
AlgorithmThe Average RMSE Value/m
NI-CF3.2217
R-IMM4.2818
IMM-EKF5.2163
REKF5.9851
EKF6.4764
Table 4. The default parameters for uniform distribution.
Table 4. The default parameters for uniform distribution.
SymbolMeaningDefault Values
P n l o s NLOS probability0.5
U ( min , max ) NLOS error U ( 0 , 12 )
MNumber of beacon nodes6
N ( 0 , σ G 2 ) Sensor noise N ( 0 , 1 2 )
Table 5. The average RMSE values of different algorithms.
Table 5. The average RMSE values of different algorithms.
AlgorithmThe Average RMSE Value/m
NI-CF3.4745
R-IMM4.3012
IMM-EKF4.8421
REKF5.0497
EKF5.3401
Table 6. The default parameters for exponential distribution.
Table 6. The default parameters for exponential distribution.
SymbolMeaningDefault Values
P n l o s NLOS probability0.5
E ( λ ) NLOS error E ( 8 )
MNumber of beacon nodes6
N ( 0 , σ G 2 ) Sensor noise N ( 0 , 1 2 )
Table 7. Running time of each algorithm.
Table 7. Running time of each algorithm.
AlgorithmRunning Time/s
EKF0.0020
REKF0.0025
IMM-EKF0.0028
R-IMM0.0046
NI-CF0.0111
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Cheng, L.; Huang, S.; Xue, M.; Bi, Y. A Robust Localization Algorithm Based on NLOS Identification and Classification Filtering for Wireless Sensor Network. Sensors 2020, 20, 6634. https://doi.org/10.3390/s20226634

AMA Style

Cheng L, Huang S, Xue M, Bi Y. A Robust Localization Algorithm Based on NLOS Identification and Classification Filtering for Wireless Sensor Network. Sensors. 2020; 20(22):6634. https://doi.org/10.3390/s20226634

Chicago/Turabian Style

Cheng, Long, Sihang Huang, Mingkun Xue, and Yangyang Bi. 2020. "A Robust Localization Algorithm Based on NLOS Identification and Classification Filtering for Wireless Sensor Network" Sensors 20, no. 22: 6634. https://doi.org/10.3390/s20226634

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop