# A Kalman Framework Based Mobile Node Localization in Rough Environment Using Wireless Sensor Network

Authors: Hao Chu; Cheng-dong Wu
Journal: International Journal of Distributed Sensor Networks
 (2015)

---

## Abstract

Since the wireless sensor network (WSN) has the performance of sensing, processing, and communicating, it has been widely used in various environments. The node localization is a key technology for WSN. The accuracy localization results can be achieved in ideal environment. However, the measurement may be contaminated by NLOS errors in rough environment. The NLOS errors could result in big localization error. To overcome this problem, we present a mobile node localization algorithm using TDOA and RSS measurements. The proposed method is based on Kalman framework and utilizes the general likelihood ratio method to identify the propagation condition. Then the modified variational Bayesian approximation adaptive Kalman filtering is used to mitigate the NLOS error. It could estimate the mean and variance of measurement error. The simulation results demonstrate that the proposed method outperforms the other methods such as Kalman filter andH
∞ filter.


---

## Body

## 1. Introduction

Localization has been studied extensively during the past decades. The most widely used localization system is the Global Positioning System (GPS). However, the localization accuracy of the GPS would dramatically degrade in rough environment such as building and covered space [1]. In addition, the GPS module is too costly if each beacon node equipped it. With the development of the low cost communication equipment, sensor and microprocessing, wireless sensor network (WSN) has attracted more and more attention. WSN owning the abilities of self-organization, self-adaptation, and self-repair, it has been widely used in covered space localization.For WSN based localization system, the localization methods can be categorized as range-free and range-based methods. The range-free methods employ the minimum hops between the unknown node and beacon node and the hop distance to localize the position of unknown node, such as DV-hop method and the improved DV-hop methods [2, 3]. These methods do not need to measure distance accurately. Therefore, it is applicable to the large-scale localization environment. The range-based methods employ the measurements such as time of arrival (TOA), time difference of arrival (TDOA), and received signal strength (RSS) [4]. The TOA method calculates the distance through the signal propagation time between the unknown node and beacon node. It needs higher clock synchronization of local clock. The TDOA method estimates the distance via the signals propagation time difference. It does not need the clock synchronization. The RSS method converts the received signal strength to the distance. It is easily affected by reflection. In most situations, the node is not static. The mobile node localization has the high practical significance.In this paper, we consider the localization of mobile node in NLOS environment in which the density of beacon nodes is low. Two main contributions of this paper are listed as follows.(1)
Multiple measurements (TDOA and RSS) are used to identify the propagation condition.
(2)
A Kalman framework based mobile localization algorithm is proposed. The modified variational Bayesian approximation adaptive Kalman filtering is used to filter the measurements in NLOS condition.The remainder of this paper is organized as follows: in Section2, we describe the related works about the mobile localization for wireless sensor network. The system model and some basic notations are presented in Section 3. In Section 4, the proposed mobile node localization method is presented. The simulation results are presented in Section 5. Section 6 concludes this paper.


## 2. Related Works

Several methods have been proposed to estimate the position of mobile node. The localization modes can be categorized as follows: active localization and passive localization. The steps of active localization are described as follows: the mobile node transmit the signals to beacon nodes, and then the beacon nodes receive the signal and estimate the distances; the base station collects the distances from the beacon nodes and estimates the position of mobile node. The steps of passive localization are as follows: the beacon nodes transmit the signals in order; and then it uses these distances to estimate the location of mobile node. In this paper, we investigate the active localization method.An innovative mobile positioning method in chain-type WSN is proposed [5]. The kernel canonical correlation analysis is used to select the maximum correlation signals from several sets of nonlinear signals. Then the constrained total least squares method is derived to solve the position of mobile node after considering inaccurate anchor node and measurement constraints. In [6], a timing-based mobile sensor localization algorithm is introduced. The sensor nodes determine the distance from the beacon nodes by using the propagation time and speed of RF signal. The beacon nodes broadcast the reference beacons according to the mobility of sensor node and the required localization accuracy. These reference beacons carry the interval numbers which are used to calculate the start time of the beacons locally. Then the start time is used to determine the propagation time. This method does not need any time synchronization among the sensor nodes. A min-max approximation approach is proposed to estimate the location for tracking which can be solved through the semidefinite programming relaxation method, and a cubic function is proposed for mobile sensor navigation [7]. And then a weighted tracking method is proposed by using the measurement information more efficiently. A cooperative localization algorithm [8] for mobile nodes is proposed. This method needs a small number of beacon nodes and reduces amount of energy consumption.For some special scenarios such as indoor and forest environments, the propagation condition of signal is not the line of sight. The direct propagation path may be blocked by the obstacles. The mobile localization in nonline of sight (NLOS) environment is one of the most important challenges for WSN. In [9], a cooperative localization method for mobile sensor node in mixed LOS and NLOS environment base on measuring TOA is proposed. This method firstly employs the multiple-model sampling importance resampling particle filter to approximate the associated nonlinear and non-Gaussian recursive Bayesian problem. And then the Rao-Blackwellization technique is used to track the position. A discrete-time H-infinity filter with input forcing function is derived for mobile localization using WSN [1]. The estimated position is obtained by the filter using an integration of information from WSN and absolute acceleration data obtained by the inertial measurement unit. In [10], a CSS-specific adaptive likelihood functions for a particle filter that integrates the dynamic noise model. The proposed CSS-specific probability distribution model could solve the nonlinear problem of ranging. A Kalman base hypothesis testing algorithm is proposed for NLOS localization [11]. The hypothesis testing is employed to identify the propagation conditions of the signals. Then the Kalman filter is used for nonlinear estimation.Interacting multiple-model (IMM) based localization is a representative technique for mobile nodes in NLOS environments. A Kalman based interacting multiple-model smoother is proposed for mobile location estimation using TOA measurement [12]. The LOS and NLOS conditions are considered as Markov process. Then the Kalman based IMM smoother is proposed to smooth the measurement. In [13], an extended Kalman based IMM smoother is proposed with data fusion of the TOA and RSS measurements. The extended Kalman filter is used for nonlinear estimation. It is combined with IMM to smooth the measurements. And the data fusion method is employed to combine the results of different condition. In [14], the extended Kalman filter and robust Kalman filter are used in parallel in the multiple-model frameworks. And the state estimates of wither filters are combined based on confidence. This method does not assume any statistical knowledge of the NLOS errors. Therefore, it can be used in any measurement.


## 3. Problem Statement

In this section, we firstly introduce the basic notations. And then TDOA and RSS ranging models are stated. Finally the state and measurement models are described in this section.


### 3.1. Basic Notations

We consider a sensor network which consists ofN beacon nodes at the positions denoted by a set of two-dimensional vectors θ
1
,
θ
2
,
…
,
θ
N (where θ
i
=
x
i
,
y
i). The sensor nodes are randomly deployed in the field. Although two-dimensional scene is considered in this paper, the three-dimensional scene can be extended easily. A mobile node whose position at time k is denoted as M
(
k
) is moving in the field. The beacon nodes have wireless communication and range measurement faculties. For range measurement, we assume a TDOA technique using ultrasound devices. The mobile node emits the ultrasound and radio signals to the space simultaneously while the beacon nodes receive these signals and calculate the RSS and TDOA. And the beacon nodes estimate the distance using TDOA. They transmit the estimated distance and RSS to the base station. The base station calculates the position of mobile node using the proposed localization method.In this paper, we assume that the beacon node could measure the RSS and TDOA with no loss of data. Since the ultrasound transmitter has a directional range pattern, we assume that each node has several ultrasound transmitters and receivers that are arranged radically to achieve an omnidirectional range pattern [8]. The difference between the LOS and NLOS condition lies in the noise distributions in TDOA measurement and in different parameters in RSS measurement. As shown in Figure 1, B
N
1 and B
N
2 are the NLOS propagation, and B
N
3 is the LOS propagation. The ultrasound signal could reflect when the direct propagation path is blocked. The radio signal attenuation is greater in NLOS condition in comparison with LOS condition.Figure 1
The schematic diagram of the NLOS propagation.


### 3.2. TDOA Ranging Model

The true TDOA between theith beacon node and the mobile node is denoted as(1)
t
i
k
=
d
i
k
c
u
-
d
i
k
c
r
,where d
i
k
=
θ
i
-
M
k is the true distance between the ith beacon node and mobile node at time k. c
u and c
r are the speed of ultrasound and radio, respectively.Sincec
r
≫
c
u, (1) can be rewritten as(2)
t
i
k
≃
d
i
k
c
u
.Therefore, the approximate true distance is given by(3)
d
i
k
=
t
i
k
·
c
u
.The measurement will be contaminated inevitability by the noise in LOS condition, so the estimated distance is expressed as(4)
d
^
i
k
=
d
i
k
+
n
i
k
,where n
i
k is the random noise which is modeled as zero mean and σ
i standard deviation; that is, n
i
k
~
N
0
,
σ
i
2.For NLOS condition, the ultrasound signal will travel more distance because of the effect of reflection and diffraction. It will result in the NLOS errors. So the measurement noises from two aspects: the random noise and NLOS errors. The random noise and NLOS errors are not independent. The measured distance in NLOS condition is given by(5)
d
^
i
k
=
d
i
k
+
h
i
k
,where h
i
k is the convolution of random noise and NLOS errors. The probability density function (PDF) of h
i
k is expressed as(6)
f
h
i
∣
k
=
∫
-
∞
∞
q
x
g
v
i
-
x
d
x
,where g
· is the PDF of random noise. q
· is the PDF of NLOS errors.In this paper, we assume that the NLOS errors obey the Gaussian distribution (N
μ
T
,
N
,
σ
T
,
N
2). The PDF of h
i
k is expressed as(7)
f
h
i
∣
k
=
1
2
π
σ
i
2
+
σ
T
,
N
2
e
x
p
-
v
i
-
μ
T
,
N
2
2
σ
i
2
+
σ
T
,
N
2
.


### 3.3. RSS Model

The log-normal shadowing model [15, 16] is employed to reveal the relationship between the received signal strength and the distance. In LOS condition, the RSS of the ith node at time k can be expressed as(8)
P
i
k
=
P
0
-
10
n
log
10
⁡
d
i
k
d
0
+
S
,where P
0 is the path loss at d
0 meter and d
0
=
1 m in this paper; n is the path loss exponent. In LOS condition, n is denoted as n
l
o
s. In NLOS condition, n is denoted as n
n
l
o
s, and n
n
l
o
s
>
n
l
o
s  because of the reflection and diffraction effect. d is the true Euclidean distance between mobile node and beacon node, and S is the shadowing effects. It is modeled as zero mean white Gaussian with variance σ
l
o
s
2 in LOS condition (i.e., S
l
o
s
~
N
0
,
σ
l
o
s
2) and S
n
l
o
s
~
N
0
,
σ
n
l
o
s
2, and σ
l
o
s
2
<
σ
n
l
o
s
2 in NLOS condition.


### 3.4. State Model and Measurement Model

For theith beacon node, the state vector [17] is defined by(9)
X
i
k
=
d
i
k
,
d
˙
i
k
T
,where d
˙
i
k is the velocity of the mobile node for the ith beacon node.In this paper, we consider that the mobile node is moving at a constant velocity. Therefore, the state equation is given by(10)
X
i
k
=
F
·
X
i
k
-
1
+
ν
i
k
-
1
,where F
=
1
T
s
0
1, T
s is the sample period, and ν
i
k is the processing noise due to the random disturbance of the mobile node. It is modeled as zero mean with variance Q
k.We combine the RSS and TDOA measurements into an equation. According to (4) and (8), the measurement equation in LOS condition can be defined as (11)
Z
i
k
=
d
^
i
k
P
i
k
=
d
i
k
P
0
-
10
n
l
o
s
log
10
⁡
d
i
k
d
0
+
n
i
k
S
l
o
s
.According to (5) and (8), the measurement equation in NLOS condition can be defined as(12)
Z
i
k
=
d
^
i
k
P
i
k
=
d
i
k
P
0
-
10
n
n
l
o
s
log
10
⁡
d
i
k
d
0
+
h
i
k
S
n
l
o
s
.


## 3.1. Basic Notations

We consider a sensor network which consists ofN beacon nodes at the positions denoted by a set of two-dimensional vectors θ
1
,
θ
2
,
…
,
θ
N (where θ
i
=
x
i
,
y
i). The sensor nodes are randomly deployed in the field. Although two-dimensional scene is considered in this paper, the three-dimensional scene can be extended easily. A mobile node whose position at time k is denoted as M
(
k
) is moving in the field. The beacon nodes have wireless communication and range measurement faculties. For range measurement, we assume a TDOA technique using ultrasound devices. The mobile node emits the ultrasound and radio signals to the space simultaneously while the beacon nodes receive these signals and calculate the RSS and TDOA. And the beacon nodes estimate the distance using TDOA. They transmit the estimated distance and RSS to the base station. The base station calculates the position of mobile node using the proposed localization method.In this paper, we assume that the beacon node could measure the RSS and TDOA with no loss of data. Since the ultrasound transmitter has a directional range pattern, we assume that each node has several ultrasound transmitters and receivers that are arranged radically to achieve an omnidirectional range pattern [8]. The difference between the LOS and NLOS condition lies in the noise distributions in TDOA measurement and in different parameters in RSS measurement. As shown in Figure 1, B
N
1 and B
N
2 are the NLOS propagation, and B
N
3 is the LOS propagation. The ultrasound signal could reflect when the direct propagation path is blocked. The radio signal attenuation is greater in NLOS condition in comparison with LOS condition.Figure 1
The schematic diagram of the NLOS propagation.


## 3.2. TDOA Ranging Model

The true TDOA between theith beacon node and the mobile node is denoted as(1)
t
i
k
=
d
i
k
c
u
-
d
i
k
c
r
,where d
i
k
=
θ
i
-
M
k is the true distance between the ith beacon node and mobile node at time k. c
u and c
r are the speed of ultrasound and radio, respectively.Sincec
r
≫
c
u, (1) can be rewritten as(2)
t
i
k
≃
d
i
k
c
u
.Therefore, the approximate true distance is given by(3)
d
i
k
=
t
i
k
·
c
u
.The measurement will be contaminated inevitability by the noise in LOS condition, so the estimated distance is expressed as(4)
d
^
i
k
=
d
i
k
+
n
i
k
,where n
i
k is the random noise which is modeled as zero mean and σ
i standard deviation; that is, n
i
k
~
N
0
,
σ
i
2.For NLOS condition, the ultrasound signal will travel more distance because of the effect of reflection and diffraction. It will result in the NLOS errors. So the measurement noises from two aspects: the random noise and NLOS errors. The random noise and NLOS errors are not independent. The measured distance in NLOS condition is given by(5)
d
^
i
k
=
d
i
k
+
h
i
k
,where h
i
k is the convolution of random noise and NLOS errors. The probability density function (PDF) of h
i
k is expressed as(6)
f
h
i
∣
k
=
∫
-
∞
∞
q
x
g
v
i
-
x
d
x
,where g
· is the PDF of random noise. q
· is the PDF of NLOS errors.In this paper, we assume that the NLOS errors obey the Gaussian distribution (N
μ
T
,
N
,
σ
T
,
N
2). The PDF of h
i
k is expressed as(7)
f
h
i
∣
k
=
1
2
π
σ
i
2
+
σ
T
,
N
2
e
x
p
-
v
i
-
μ
T
,
N
2
2
σ
i
2
+
σ
T
,
N
2
.


## 3.3. RSS Model

The log-normal shadowing model [15, 16] is employed to reveal the relationship between the received signal strength and the distance. In LOS condition, the RSS of the ith node at time k can be expressed as(8)
P
i
k
=
P
0
-
10
n
log
10
⁡
d
i
k
d
0
+
S
,where P
0 is the path loss at d
0 meter and d
0
=
1 m in this paper; n is the path loss exponent. In LOS condition, n is denoted as n
l
o
s. In NLOS condition, n is denoted as n
n
l
o
s, and n
n
l
o
s
>
n
l
o
s  because of the reflection and diffraction effect. d is the true Euclidean distance between mobile node and beacon node, and S is the shadowing effects. It is modeled as zero mean white Gaussian with variance σ
l
o
s
2 in LOS condition (i.e., S
l
o
s
~
N
0
,
σ
l
o
s
2) and S
n
l
o
s
~
N
0
,
σ
n
l
o
s
2, and σ
l
o
s
2
<
σ
n
l
o
s
2 in NLOS condition.


## 3.4. State Model and Measurement Model

For theith beacon node, the state vector [17] is defined by(9)
X
i
k
=
d
i
k
,
d
˙
i
k
T
,where d
˙
i
k is the velocity of the mobile node for the ith beacon node.In this paper, we consider that the mobile node is moving at a constant velocity. Therefore, the state equation is given by(10)
X
i
k
=
F
·
X
i
k
-
1
+
ν
i
k
-
1
,where F
=
1
T
s
0
1, T
s is the sample period, and ν
i
k is the processing noise due to the random disturbance of the mobile node. It is modeled as zero mean with variance Q
k.We combine the RSS and TDOA measurements into an equation. According to (4) and (8), the measurement equation in LOS condition can be defined as (11)
Z
i
k
=
d
^
i
k
P
i
k
=
d
i
k
P
0
-
10
n
l
o
s
log
10
⁡
d
i
k
d
0
+
n
i
k
S
l
o
s
.According to (5) and (8), the measurement equation in NLOS condition can be defined as(12)
Z
i
k
=
d
^
i
k
P
i
k
=
d
i
k
P
0
-
10
n
n
l
o
s
log
10
⁡
d
i
k
d
0
+
h
i
k
S
n
l
o
s
.


## 4. Proposed Mobile Localization Method

In this section, we describe the proposed mobile localization method. Firstly the mobile localization framework is introduced. Then the steps of the proposed method are described in detail.


### 4.1. Localization Framework

The localization framework is shown in Figure2. The Kalman prediction is firstly employed to predict the state and covariance equations. Then we identify the propagation condition of the beacon node. The classical Kalman update steps are used if the propagation condition is LOS; otherwise, the modified variational Bayesian approximation adaptive Kalman filtering (VB-AKF) is used. The modified VB-AKF could estimate the mean of the measurement noise and we subtract it to mitigate the effect of the NLOS errors.Figure 2
The flowchart of the proposed method.


### 4.2. Kalman Prediction

For initializing the Kalman prediction, we employ the TDOA measurement as the initial value and the initial velocity is assumed as 1 m/s; that is,X
^
i
0
∣
0
=
d
^
i
0
,
1
T. The Kalman prediction steps are(13)
X
^
i
k
∣
k
-
1
=
F
·
X
^
i
k
-
1
,
P
i
k
∣
k
-
1
=
F
·
P
i
k
-
1
·
F
T
+
Q
i
k
-
1
.


### 4.3. NLOS Identification Method

The general likelihood ratio (GLR) method [18, 19] is employed to identify the propagation condition. We assume that the propagation condition is LOS. And the TDOA measurement is assumed as the true distance. The PDF of RSS in LOS condition is given by(14)
f
l
o
s
r
s
s
∣
d
^
i
k
=
1
2
π
σ
l
o
s
2
·
exp
⁡
-
P
i
k
-
P
0
+
10
n
l
o
s
log
10
⁡
d
^
i
k
2
2
σ
l
o
s
2
.The PDF of RSS in LOS condition is shown as(15)
f
n
l
o
s
r
s
s
∣
d
^
i
k
=
1
2
π
σ
n
l
o
s
2
·
exp
⁡
-
P
i
k
-
P
0
+
10
n
n
l
o
s
log
10
⁡
d
^
i
k
2
2
σ
n
l
o
s
2
.The likelihood ratio is defined as(16)
Λ
i
k
=
f
n
l
o
s
r
s
s
∣
d
^
i
k
f
l
o
s
r
s
s
∣
d
^
i
k
.IfΛ
i
k
≥
1, the propagation condition is NLOS; otherwise, the propagation condition is LOS.


### 4.4. Classical Kalman Update

Kalman Filter is the optimal estimate for linear system models, but the measurement equations (11)-(12) are nonlinear. So we should linearize the measurement equation as (17)
Z
i
k
=
H
i
k
·
X
i
k
+
γ
k
,where(18)
H
i
k
=
1
0
-
10
·
n
l
o
s
·
d
0
d
i
k
·
ln
⁡
10
0
.
γ
k is the observation noise which is assumed to be Gaussian noise with covariance R
(
k
). The mean of γ
k is zero in LOS condition and is a nonzero value in NLOS condition.The measurement residual is(19)
y
~
i
k
=
Z
i
k
-
H
i
k
·
X
^
i
k
∣
k
-
1
.The residual covariance is given by(20)
S
i
k
=
H
i
k
·
P
i
k
∣
k
-
1
·
H
i
T
k
+
R
k
.The Kalman gain is(21)
K
i
k
=
P
i
k
∣
k
-
1
·
H
i
T
k
·
S
i
-
1
k
.The updated state estimate and covariance equations are(22)
X
^
i
k
∣
k
=
X
^
i
k
∣
k
-
1
+
K
i
k
·
y
~
i
k
,
P
i
k
∣
k
=
P
i
k
∣
k
-
1
-
K
i
k
·
H
i
k
·
P
i
k
∣
k
-
1
.


### 4.5. Modified VB-AKF

Variational Bayesian approximation adaptive Kalman filtering combines the variational Bayesian estimation method and Kalman filter to simultaneously estimate the state and measurement noise. In order to obtain the analytical solution of the measurement noise for optimal Bayesian filter, the variational Bayesian approximation is used to estimate the variance of the measurement noise [20, 21]. VB-AKF can adapt to the measurement noise covariance varying quickly in a large scope and its computational complexity is low. Therefore, it is suitable for the application of the wireless sensor network.If the identified propagation condition is NLOS, we employ the modified VB-AKF method to mitigate the NLOS error. It could estimate the mean and variance of the measurement. We subtract the mean in measurement residual equation. This method consists of two steps as follows.(1)
Parameter transfer steps to calculate the weight coefficients. Consider(23)
α
k
=
1
2
+
ρ
·
α
k
-
1
,
β
k
=
1
2
+
ρ
·
β
k
-
1
.
(2)
Update steps.The estimated covariance of the measurement noise is(24)
R
^
k
=
diag
⁡
β
k
α
k
.The estimated mean of measurement noise is(25)
μ
^
k
=
1
k
-
1
∑
j
=
1
k
-
1
Z
j
k
-
X
^
k
∣
k
.The Kalman gain is(26)
K
k
=
P
k
∣
k
-
1
H
T
H
·
P
k
∣
k
-
1
·
H
T
+
R
^
k
.The updated state estimate equation, covariance equation, and weight coefficients are(27)
y
~
i
k
=
Z
i
k
-
H
i
k
·
X
^
i
k
∣
k
-
1
-
μ
^
i
k
,
X
^
i
k
∣
k
=
X
^
k
∣
k
-
1
+
K
k
·
y
~
i
k
,
P
k
=
P
k
∣
k
-
1
+
K
k
·
H
·
P
k
∣
k
-
1
,
β
k
=
β
k
∣
k
-
1
+
1
2
Z
i
k
-
H
i
k
·
X
^
i
k
∣
k
-
1
2
+
1
2
diag
⁡
H
i
k
·
P
k
∣
k
·
H
i
T
k
.


### 4.6. Localization

For theith beacon node, the filtered distance can be obtained at time k as(28)
d
~
i
k
=
G
·
X
^
i
k
∣
k
,where G
=
[
1,0
].We employ the maximum likelihood method to estimate the location of mobile node. The positions of beacon nodes arex
1
,
y
1
,
…
,
x
N
,
y
N. At time k, the position of mobile node is M
k
=
x
M
k
,
y
M
k
T. We establish the following equations:(29)
x
1
-
x
M
k
2
+
y
1
-
y
M
k
2
=
d
~
1
k
2
⋮
x
N
-
x
M
k
2
+
y
N
-
y
M
k
2
=
d
~
N
k
2
.The linear equationA
·
M
^
k
=
B could represent the above equation, where A and B are given by(30)
A
=
2
x
1
-
x
2
y
1
-
y
2
x
1
-
x
3
y
1
-
y
3
⋮
⋮
x
1
-
x
N
y
1
-
y
N
,
B
=
d
~
2
k
-
d
~
1
k
-
x
2
2
+
y
2
2
+
x
1
2
+
y
1
2
d
~
3
k
-
d
~
1
k
-
x
3
2
+
y
3
2
+
x
1
2
+
y
1
2
⋮
d
~
N
k
-
d
~
1
k
-
x
N
2
+
y
N
2
+
x
1
2
+
y
1
2
.We can obtain the coordinate matrix of the mobile node as follows:(31)
M
^
k
=
A
T
A
-
1
A
T
B
.


## 4.1. Localization Framework

The localization framework is shown in Figure2. The Kalman prediction is firstly employed to predict the state and covariance equations. Then we identify the propagation condition of the beacon node. The classical Kalman update steps are used if the propagation condition is LOS; otherwise, the modified variational Bayesian approximation adaptive Kalman filtering (VB-AKF) is used. The modified VB-AKF could estimate the mean of the measurement noise and we subtract it to mitigate the effect of the NLOS errors.Figure 2
The flowchart of the proposed method.


## 4.2. Kalman Prediction

For initializing the Kalman prediction, we employ the TDOA measurement as the initial value and the initial velocity is assumed as 1 m/s; that is,X
^
i
0
∣
0
=
d
^
i
0
,
1
T. The Kalman prediction steps are(13)
X
^
i
k
∣
k
-
1
=
F
·
X
^
i
k
-
1
,
P
i
k
∣
k
-
1
=
F
·
P
i
k
-
1
·
F
T
+
Q
i
k
-
1
.


## 4.3. NLOS Identification Method

The general likelihood ratio (GLR) method [18, 19] is employed to identify the propagation condition. We assume that the propagation condition is LOS. And the TDOA measurement is assumed as the true distance. The PDF of RSS in LOS condition is given by(14)
f
l
o
s
r
s
s
∣
d
^
i
k
=
1
2
π
σ
l
o
s
2
·
exp
⁡
-
P
i
k
-
P
0
+
10
n
l
o
s
log
10
⁡
d
^
i
k
2
2
σ
l
o
s
2
.The PDF of RSS in LOS condition is shown as(15)
f
n
l
o
s
r
s
s
∣
d
^
i
k
=
1
2
π
σ
n
l
o
s
2
·
exp
⁡
-
P
i
k
-
P
0
+
10
n
n
l
o
s
log
10
⁡
d
^
i
k
2
2
σ
n
l
o
s
2
.The likelihood ratio is defined as(16)
Λ
i
k
=
f
n
l
o
s
r
s
s
∣
d
^
i
k
f
l
o
s
r
s
s
∣
d
^
i
k
.IfΛ
i
k
≥
1, the propagation condition is NLOS; otherwise, the propagation condition is LOS.


## 4.4. Classical Kalman Update

Kalman Filter is the optimal estimate for linear system models, but the measurement equations (11)-(12) are nonlinear. So we should linearize the measurement equation as (17)
Z
i
k
=
H
i
k
·
X
i
k
+
γ
k
,where(18)
H
i
k
=
1
0
-
10
·
n
l
o
s
·
d
0
d
i
k
·
ln
⁡
10
0
.
γ
k is the observation noise which is assumed to be Gaussian noise with covariance R
(
k
). The mean of γ
k is zero in LOS condition and is a nonzero value in NLOS condition.The measurement residual is(19)
y
~
i
k
=
Z
i
k
-
H
i
k
·
X
^
i
k
∣
k
-
1
.The residual covariance is given by(20)
S
i
k
=
H
i
k
·
P
i
k
∣
k
-
1
·
H
i
T
k
+
R
k
.The Kalman gain is(21)
K
i
k
=
P
i
k
∣
k
-
1
·
H
i
T
k
·
S
i
-
1
k
.The updated state estimate and covariance equations are(22)
X
^
i
k
∣
k
=
X
^
i
k
∣
k
-
1
+
K
i
k
·
y
~
i
k
,
P
i
k
∣
k
=
P
i
k
∣
k
-
1
-
K
i
k
·
H
i
k
·
P
i
k
∣
k
-
1
.


## 4.5. Modified VB-AKF

Variational Bayesian approximation adaptive Kalman filtering combines the variational Bayesian estimation method and Kalman filter to simultaneously estimate the state and measurement noise. In order to obtain the analytical solution of the measurement noise for optimal Bayesian filter, the variational Bayesian approximation is used to estimate the variance of the measurement noise [20, 21]. VB-AKF can adapt to the measurement noise covariance varying quickly in a large scope and its computational complexity is low. Therefore, it is suitable for the application of the wireless sensor network.If the identified propagation condition is NLOS, we employ the modified VB-AKF method to mitigate the NLOS error. It could estimate the mean and variance of the measurement. We subtract the mean in measurement residual equation. This method consists of two steps as follows.(1)
Parameter transfer steps to calculate the weight coefficients. Consider(23)
α
k
=
1
2
+
ρ
·
α
k
-
1
,
β
k
=
1
2
+
ρ
·
β
k
-
1
.
(2)
Update steps.The estimated covariance of the measurement noise is(24)
R
^
k
=
diag
⁡
β
k
α
k
.The estimated mean of measurement noise is(25)
μ
^
k
=
1
k
-
1
∑
j
=
1
k
-
1
Z
j
k
-
X
^
k
∣
k
.The Kalman gain is(26)
K
k
=
P
k
∣
k
-
1
H
T
H
·
P
k
∣
k
-
1
·
H
T
+
R
^
k
.The updated state estimate equation, covariance equation, and weight coefficients are(27)
y
~
i
k
=
Z
i
k
-
H
i
k
·
X
^
i
k
∣
k
-
1
-
μ
^
i
k
,
X
^
i
k
∣
k
=
X
^
k
∣
k
-
1
+
K
k
·
y
~
i
k
,
P
k
=
P
k
∣
k
-
1
+
K
k
·
H
·
P
k
∣
k
-
1
,
β
k
=
β
k
∣
k
-
1
+
1
2
Z
i
k
-
H
i
k
·
X
^
i
k
∣
k
-
1
2
+
1
2
diag
⁡
H
i
k
·
P
k
∣
k
·
H
i
T
k
.


## 4.6. Localization

For theith beacon node, the filtered distance can be obtained at time k as(28)
d
~
i
k
=
G
·
X
^
i
k
∣
k
,where G
=
[
1,0
].We employ the maximum likelihood method to estimate the location of mobile node. The positions of beacon nodes arex
1
,
y
1
,
…
,
x
N
,
y
N. At time k, the position of mobile node is M
k
=
x
M
k
,
y
M
k
T. We establish the following equations:(29)
x
1
-
x
M
k
2
+
y
1
-
y
M
k
2
=
d
~
1
k
2
⋮
x
N
-
x
M
k
2
+
y
N
-
y
M
k
2
=
d
~
N
k
2
.The linear equationA
·
M
^
k
=
B could represent the above equation, where A and B are given by(30)
A
=
2
x
1
-
x
2
y
1
-
y
2
x
1
-
x
3
y
1
-
y
3
⋮
⋮
x
1
-
x
N
y
1
-
y
N
,
B
=
d
~
2
k
-
d
~
1
k
-
x
2
2
+
y
2
2
+
x
1
2
+
y
1
2
d
~
3
k
-
d
~
1
k
-
x
3
2
+
y
3
2
+
x
1
2
+
y
1
2
⋮
d
~
N
k
-
d
~
1
k
-
x
N
2
+
y
N
2
+
x
1
2
+
y
1
2
.We can obtain the coordinate matrix of the mobile node as follows:(31)
M
^
k
=
A
T
A
-
1
A
T
B
.


## 5. Simulation Results

This section describes the results of simulations conducted using the proposed mobile localization method. The problem considered in this paper concerns low-density beacon node environment. The measurement frequency is 1 Hz.N beacon nodes are randomly deployed in an 8 m × 8 m space. The mobile node moves at an average of 0.1 m/s. The propagation condition between the mobile node and beacon node is generated randomly. Figure 3 shows the localization environment. We compared the proposed method with the classical Kalman filter (KF) and H
∞ filter (HF) [1] methods. The model parameters are assumed in Table 1. The performance is evaluated using the mean error (ME) [22] which is computed using 200 Monte Carlo runs as follows:(32)
ME
=
1
K
·
M
C
∑
k
=
1
K
∑
i
=
1
M
C
M
^
i
k
-
M
i
k
2
,where M
C is the number of Monte Carlo runs.Table 1
The model parameters.
Parameters
Symbol
Default values
The number of beacon nodes
N
6
The TDOA standard deviation of measurement noise
σ
i
0.1 m
The TDOA NLOS errors
N
(
μ
T
,
N
,
σ
T
,
N
2
)
N(0.3 m, 0.25 m2)
The path loss exponent in LOS and NLOS
n
los/n
nlos
1.7/2.7
The standard deviation of shadowing effect
σ
los
/
σ
nlos
0.5 m/2 m
The path loss atd
0 meter
P
0
0Figure 3
The localization environment.Figure4 shows the propagation condition for beacon nodes 1 and 2. The value 1 denotes the propagation condition NLOS, and 0 denotes the LOS. We can see that the propagation condition switches between the LOS and NLOS frequently, so the localization environment is very complex.Figure 4
The propagation condition for beacon nodes 1 and 2.Figure5 illustrates the identification success rate under different parameters. Figures 5(a) and 5(b) show the success rate decreases with the mean and standard deviation of NLOS error increase. The success rate is greater than 90% with the variation of parameters. In Figures 5(c) and 5(b), we can see that the larger or smaller standard deviation of shadowing effect (σ
l
o
s and σ
n
l
o
s) will result in lower success rate.Figure 5
The identification success rate under different parameters.
(a)
μ
T
,
N
(b)
σ
T
,
N
(c)
σ
l
s
o
(d)
σ
n
l
s
oFigure6(a) shows the localization results of the proposed method in one experiment. It can be observed that the proposed method could localize the mobile node accuracy in low-density beacon node environment. Figure 6(b)  illustrates the localization error in each time index for the three methods. In comparison with other methods, the proposed method owns the lowest localization error in most time indexes. The average localization errors of proposed method, Kalman filter, and H
∞ filter are 0.2407 m, 0.4347 m, and 0.3977 m, respectively.Figure 6
(a) The localization results for the proposed method. (b) The localization error versus time index.
(a)
(b)Figure7 evaluates the performance with varying the mean of TDOA NLOS errors. The mean error increases as the mean value increases. It indicates that the proposed method has better performance than the KF and HF methods under different parameter values. The greater the mean value, the greater the performance improvement.Figure 7
The mean error versus mean of TDOA NLOS errors.In Figure8, we evaluate the impact of the standard deviation of TDOA NLOS errors on the mean error. When σ
T
,
N is 0.3, the performance of KF and HF is similar, and the proposed method is better than these methods. With the σ
T
,
N increases, the mean error of KF increases sharply. But the mean errors of the proposed method and HF increase slowly. When σ
T
,
N is 1.7, the proposed method owns similar performance with HF. On the whole, the proposed method has the best localization accuracy in comparison with other methods.Figure 8
The mean error versus standard deviation of TDOA NLOS errors.


## 6. Conclusions

In this paper, an accurate mobile localization method has been proposed for wireless sensor network in mixed LOS/NLOS environment using TDOA and RSS measurements. This paper firstly adopts the general likelihood ratio method to identify the propagation condition in Kalman framework. Based on identified condition, the modified VB-AKF method is used to filter the NLOS error in NLOS condition and the classical Kalman update is used in LOS condition. Finally the maximum likelihood method is used to estimate the position of mobile node. Compared with Kalman filter andH
∞ filter, the proposed method by simulation has highest localization accuracy with varying parameters.



---

*Source: 841462-2015-05-27.xml*