Next Article in Journal
Digital Forensics of Scanned QR Code Images for Printer Source Identification Using Bottleneck Residual Block
Next Article in Special Issue
Real-Time Locating System in Production Management
Previous Article in Journal
Estimation of Lens Stray Light with Regard to the Incapacitation of Imaging Sensors
Previous Article in Special Issue
Deep Learning-Based Positioning of Visually Impaired People in Indoor Environments
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Letter

Cooperative Localization and Time Synchronization Based on M-VMP Method

School of Electronic Engineering, Beijing University of Posts and Telecommunications, Beijing 100876, China
*
Author to whom correspondence should be addressed.
Sensors 2020, 20(21), 6315; https://doi.org/10.3390/s20216315
Submission received: 28 September 2020 / Revised: 1 November 2020 / Accepted: 4 November 2020 / Published: 5 November 2020
(This article belongs to the Special Issue Indoor Positioning and Navigation)

Abstract

:
Localization estimation and clock synchronization are important research directions in the application of wireless sensor networks. Aiming at the problems of low positioning accuracy and slow convergence speed in localization estimation methods based on message passing, this paper proposes a low-complexity distributed cooperative joint estimation method suitable for dynamic networks called multi-Gaussian variational message passing (M-VMP). The proposed method constrains the message to be a multi-Gaussian function superposition form to reduce the information loss in the variational message passing algorithm (VMP). Only the mean, covariance and weight of each message need to be transmitted in the network, which reduces the computational complexity while ensuring the information completeness. The simulation results show that the proposed method is superior to the VMP algorithm in terms of position accuracy and convergence speed and is close to the sum-product algorithm over a wireless network (SPAWN) based on non-parametric belief propagation, but the computational complexity and communication load are significantly reduced.

1. Introduction

In recent years, wireless sensor network has been widely used in agriculture, warehousing, production safety, emergency rescue and other fields [1]. The information which sensors collected and transmitted is valuable when combined with the sensors’ location [2,3]. Therefore, location awareness of wireless sensor networks has become one of the most important directions in the development of wireless sensor networks. Global Navigation Satellite System (GNSS) is able to provide location information for sensor nodes, but it is difficult to apply on sensor networks due to high power consumption and high cost [2,3,4]. Furthermore, the poor signal penetration capabilities of GNSS lead to inadequate location information in indoor scenes. Cooperative localization can overcome these problems through ranging and exchanging locations between neighbor nodes [5]. Over the past decade, cooperative localization in wireless sensor networks has drawn considerable attention.
In the recent ten years, cooperative positioning in wireless sensor networks has been widely concerned. The multidimensional scaling (MDS) algorithm [6,7] calculates the shortest path distance between nodes according to the connectivity of the network or distance measurement. Then, the relative coordinate diagram of all nodes is constructed by using the multidimension scale algorithm. Finally, the relative coordinate diagram is transformed into an absolute coordinate graph according to the coordinate of the anchor node. The semi-definite programming (SDP) algorithm [8,9] represents geometric constraints among nodes as a set of linear matrix inequalities, then combines the inequality into a semi-definite programming problem and obtains the location of each node by global optimization. The distance-vector (DV) hop algorithm [10,11] firstly measures the minimum number of hops between the nodes to be located and each anchor node. Then, the average distance of each hop is determined according to the number and coordinate between anchor nodes. After the jump number is converted into distance, the position of the node to be located is obtained according to the trilateral measurement method. The Approximate Perfect Point-In-Triangulation (APIT) algorithm [12,13] firstly selects three anchor nodes connected with the node to be located, and then judges whether they are in the triangle composed of anchor nodes according to the pit test, and then repeats the pit test with a different anchor node combination. Finally, the center of mass position of these triangles is taken as the coordinates of the nodes to be located. The SPAWN algorithm [14] decomposes the posterior probability density function of position variables and represents it as a factor graph. Then, the message is transmitted by particles on the factor graph to calculate the probability of edge distribution of each variable. Finally, position estimation is carried out according to minimum mean square error (MMSE) or map criterion. Although the above cooperative positioning algorithm has high positioning accuracy, it has high computational complexity and high communication cost, which seriously restricts the practical application.
For the above problems, a collaborative location algorithm based on factor graph and VMP is proposed in Reference [15], which has simple message form and small computation. However, Kullback-Leibler (KL) divergence is used to Gauss the non-Gaussian confidence of the nonlinear range measurement model. The first kind of convergence hypergeometric function minimization problem is introduced, which makes the calculation complexity very high. In Reference [16], a hard decision-based cooperative algorithm is proposed to alleviate the effect of the outliers. The geometric relationship between agent position and distance is used to avoid a large deviation coursed by geometric constraints. The authors of Reference [17] propose the distributed particle filtering evolved variational message passing (DPF-E-VMP) algorithm, which improves the convergence speed of positioning estimation by using distributed particle filtering (DPF), but this performance improvement is often accompanied by greater computational consumption. By combining the average consensus method and VMP algorithm, a joint self-localization tracking algorithm called cooperative localization with outlier constraints (CLOC) is proposed in Reference [18], which has better location performance than the separate self-localization algorithm. In Reference [19], KL divergence is minimized by the Newton conjugate gradient method, but the computational complexity is still high. But, the information loss caused by VMP parameterization will have a certain influence on the positioning accuracy. At the same time, the algorithm has been reduced in accuracy and convergence speed due to the clock synchronization between the nodes to be located.
In this paper, a VMP distributed cooperative localization algorithm based on multi-Gaussian is proposed. Based on the non-line of sight (NLOS) environment ranging model, the VMP message passing strategy based on multi-Gaussian is innovated, and the second-order Taylor expansion form of position and time synchronization joint estimation is derived. Its computational complexity is far less than the approximate solution based on KL divergence. The time complexity and communication cost are connected with the traditional VMP algorithm. However, the positioning accuracy and iteration speed have been greatly improved.
The remainder of this paper will be organized as follows: A two-dimensional (2D) wireless network is first established as a system model. Then, a traditional cooperative localization algorithm is introduced and leads to the method proposed in this paper. After that, simulation performance of the proposed method is investigated. Finally, concluding remarks are presented. A list of symbols that are used in the paper is given in Table 1.

2. System Model

The anchor nodes are always deployed at the same height, and high vertical dilution of precision means the system cannot provide reliable vertical positioning results [20], which is usually obtained by other sensors [21]. So, in this paper, a 2D dynamic wireless network is considered, which includes the anchor node with known location and synchronized local time, and the node with inaccurate location information and local time out of sync. The position vector of node i at time n is x i , n = x i , n , y i , n T , and the measured value of local clock t ˜ i , n = t i T n . The slope of local clock at time n between node i and the external standard clock is a i , n = t ˜ i , n t ˜ i , n 1 / T n T n 1 . The local clock of all anchor nodes is synchronized with the external reference clock, i.e., a i , n = 1 i S . At time n , node i has neighbor nodes set as N i , n , where neighbor anchor node set is S i , n , node set to be located is C i , n , and all communicable node pairs i , j constitute communicable node set Ψ n .
Considering the local clock drift, node i measures time of arrival (TOA) from neighbor node j at time n as follows:
ρ ˜ i j , n = x i , n x j , n + ζ i j , n + c T a i j , n + ω i j , n ,
where x i , n x j , n is the Euclidean distance, d i j , n , between nodes i ,   j , T = T n T n 1 , ω i j , n is the observed measurement noise, assuming that it obeys the Gaussian distribution, i.e., ω i j , n 𝒩 0 , σ d 2 , and ζ i j , n is NLOS error, which is expressed as follows:
ζ i j , n = 0 , i , j Θ n λ e λ b i j , n , i , j Θ n ,
where b i j , n > 0 [22], λ is a constant and Θ n is the set of all node pairs i , j with NLOS error at time n . Where, a i j , n is the relative slope of local clock offset between nodes i , j , defined as follows:
a i j , n a i , n a j , n , t i , n > t j , n a j , n a i , n , t i , n > t j , n ,
Define x n x 1 , n T , x 2 , n T , , x S + C , n T T as the position vector of all nodes, a n a 1 , n , a 2 , n , , a S + C , n T as the clock offset slope of all nodes, ρ ˜ n , ρ i j , n , T as the range measurement in all node pairs i , j Ψ n , and ζ n , ζ i j , n , T as the NLOS error in all node pairs i , j Θ n . Moreover, all the vector sets from time 1 to time n are defined as follows: 𝓧 1 : n x 1 , x 2 , , x n , 𝓐 1 : n a 1 , a 2 , , a n ,   𝓟 1 : n ρ 1 , ρ 2 , , ρ n ,     𝓑 1 : n ζ 1 , ζ 2 , , ζ n . The goal of the algorithm is to estimate the accurate node location vector x n and the clock slope a n by measuring 𝓟 1 : n and the information transmitted between nodes.

3. M-VMP Joint Estimation Algorithm

According to whether the location information is considered as a random variable, the cooperative localization algorithms are divided into two categories: non-Bayesian estimation and Bayesian estimation [5]. In non-Bayesian estimation, the location information is estimated by deterministic methods. The typical algorithms are least square (LS) [23,24] and the maximum likelihood method (ML) [25]. Bayesian estimation is based on the probability model of location information. The typical algorithms include the maximum posterior probability (MAP) estimation [26] and the MMSE method [6]. Location information node i estimates by MMSE criteria. The expression is as follows:
𝔃 ^ i , n = 𝔃 i , n p ( 𝔃 i , n | 𝓟 1 : n ) d 𝔃 i , n
where 𝔃 ^ i , n is the estimation result and 𝔃 i , n = x i , n , y i , n , a i , n T is the vector to be estimated.

3.1. Probability Model

Assume x i , n evolve according to a memory-less Gauss–Markov process, then, there are:
x i , n = x i , n 1 + v i , n T + ω i , n ,
where v i , n is the average velocity of node i from time n 1 to time n , which is measured by the sensor inside nodes. ω i , n is Gaussian white noise, and its covariance matrix is d i a g σ i , n 2 , σ i , n 2 . Since the motions of all nodes are independent of each other, there are:
p x n | x n 1 = i p ( x i , n | x i , n 1 )
p a n | a n 1 = i p ( a i , n | a i , n 1 ) ,
p 𝓧 1 : n = p x 0 n p ( x n | x n 1 ) ,
p 𝓐 1 : n = p a 0 i p ( a n | a n 1 ) ,
where p x 0 is the prior distribution of all nodes’ location information at time 0, which is obtained by GNSS, base station or in other ways [27]. According to the Bayesian rule, the edge probability function in (3) is calculated by the following formula:
p ( 𝓧 1 : n , 𝓐 1 : n | 𝓟 1 : n ) p ( 𝓟 1 : n | 𝓧 1 : n , 𝓐 1 : n ) p 𝓧 1 : n , 𝓐 1 : n
The likelihood function p ( 𝓟 1 : n | 𝓧 1 : n , 𝓐 1 : n ) in (10) is decomposed into the following formula with the independent observations at different times ρ i j , n :
p 𝓟 1 : n | 𝓧 1 : n , 𝓐 1 : n ) n i , j Θ n p L O S ( ρ i j , n i , j Θ n p N L O S ( ρ i j , n ) ,
p L O S ρ i j , n exp ρ i j , n x i , n x j , n c T a i j , n 2 2 σ d 2 ,
p N L O S ρ i j , n exp ρ i j , n x i , n x j , n c T a i j , n ζ i j , n 2 2 σ d 2 ,
According to the above derivation, (10) is expanded to the following formula:
p ( 𝓧 1 : n , 𝓐 1 : n | 𝓟 1 : n ) n i , j Θ n p L O S ( ρ i j , n ) i , j Θ n p N L O S ( ρ i j , n ) n p x 0 , n p a 0 , n i p ( x i , n | x i , n 1 ) p ( a i , n | a i , n 1 ) ,

3.2. Factor Graph Model

Factor graphs intuitively reflect the spatiotemporal relationship between variables [5]. The factor graph is a dichotomous graph, which contains two kinds of nodes: factor node and variable node. Variable node represents the information to be evaluated, and factor node represents the messages passed between variable nodes. The schematic diagram of cooperative localization is shown in Figure 1.
Factor nodes are further assumed as follows:
f i , 0 = p ( 𝔃 i , 0 ) , f i , n = p ( 𝔃 i , n | 𝔃 i , n 1 ) ,
f i j , n = { p L O S ( ρ i j , n ) , ( i , j ) Θ n p N L O S ( ρ i j , n ) , ( i , j ) Θ n ,
ζ i j , n = p ( b i j , n ) ,
According to the above definition, edge probability of localization is clearly calculated in the factor graph. Next, a localization algorithm based on the VMP will be introduced.

3.3. VMP-Based Localization Algorithm

VMP uses the exponential model to deliver messages, which greatly reduces communication consumption. According to the VMP message rules based on the factor graph proposed in Reference [28] and the assumptions in Section 3.2, the message delivered from factor node to parameter node at time n is as follows:
μ f i j , n 𝔃 i , n ( 𝔃 i , n ) = exp {   μ b i j , n f i j , n ( b i j , n ) μ 𝔃 j , n f i j , n ( 𝔃 j , n ) ln f i j , n ( 𝔃 i , n , 𝔃 j , n ) d 𝔃 j , n } ,
μ f i , n 𝔃 i , n ( 𝔃 i , n ) = p ( 𝔃 i , n | 𝔃 i , n 1 ) ,
μ f i j , n b i j , n ( b i j , n ) = exp {   μ 𝔃 i , n f i j , n ( 𝔃 i , n ) μ 𝔃 j , n f i j , n ( 𝔃 j , n ) ln f i j , n ( 𝔃 i , n , 𝔃 j , n ) d 𝔃 j , n } ,
where the cooperative messages μ 𝔃 j , n f i j , n ( 𝔃 j , n ) are divided into two categories: one is related to the neighbor anchor node j S i , n , and the other is related to the neighbor node k C i , n to be located. The calculations are performed below:
μ f i j , n 𝔃 i , n ( 𝔃 i , n ) 𝒩 ( ρ i j , n | x i , n x j , n ,   σ d 2 )
μ f i j , n 𝔃 i , n ( 𝔃 i , n ) = exp { E b ( x k ) [ 𝒩 ( ρ i k , n | x i , n x k , n ,   σ d 2 ) ] } ,
where E f ( ) [ g ( ) ] means the mean of g ( ) with respect to f ( ) . The belief of 𝔃 i , n is obtained as follows:
b ( 𝔃 i , n ) = 1 Z μ f i , n 𝔃 i , n ( 𝔃 i , n ) j S i , n μ f i j , n 𝔃 i , n ( 𝔃 i , n ) k C i , n μ f i k , n 𝔃 i , n ( 𝔃 i , n )   1 Z 𝒩 ( 𝔃 i , n | 𝔃 i , n 1 + v i , n T ,   σ i , n 2 ) j S i , n 𝒩 ( ρ i j , n | x i , n x j , n ,   σ d 2 )   × k C i , n exp { E b ( x k ) [ 𝒩 ( ρ i k , n | x i , n x k , n ,   σ d 2 ) ] }
where Z is the normalization constant. Obviously, it can be seen that b ( 𝔃 i , n ) is not a Gaussian function about 𝔃 i , n , and it is difficult to transmit directly between nodes. To reduce communication overhead, Reference [19] approximates b ( 𝔃 i , n ) by minimizing KL divergence:
b ( 𝔃 i , n ) = a r g m i n q ( 𝔃 i , n ) 𝒢 KLD ( q ( m ) ( 𝔃 i , n ) | b ( m ) ( 𝔃 i , n ) )
where 𝒢 represents a Gaussian function, and KLD ( q ( 𝔃 i , n ) | b ( 𝔃 i , n ) ) is the KL divergence between Gaussian function q ( 𝔃 i , n ) and belief b ( 𝔃 i , n ) , the calculation formula is as follows:
KLD q 𝔃 i , n | b 𝔃 i , n = x i , n x i , 0 2 + 2 ω i , n 2 2 ω i , 0 2 ln ω i , n 2 + j S i , n ln 2 ρ ˜ i j , n c T a i j , n π 2 i , n 2 F 1 2 , 1 , x i , n x i , 0 2 2 σ d 2 + x i , n x j , n + 2 σ d 2 2 σ d 2 + k C i , n ln 2 ρ ˜ i k , n c T a i k , n π 2 i , n 2 F 1 2 , 1 , x i , n x i , 0 2 2 σ d 2 + x i , n x k , n + 2 σ d 2 2 σ d 2

3.4. M-VMP-Based Joint Estimation Algorithm

In Section 3.3, the clock drift of node or model loss with single Gaussian distribution are not considered, which affects localization accuracy [25]. In this paper, a joint estimation algorithm of time synchronization and localization based on multi-Gaussian distribution VMP is proposed, that the belief b ( 𝔃 i , n ) of the variable 𝔃 i , n to be estimated is approximately a multi-Gaussian function b ^ ( 𝔃 i , n ) η M , i j 𝒩 ( 𝔃 k . i , n | E 𝔃 i , n ,   V 𝔃 i , n ) , and the belief of ζ i j , n is b ^ ( ζ i j , n ) 𝒩 ( ζ i j , n | ρ ˜ i j , n c T a i j , n x i , n x j , n , σ d 2 ) . The factor graph between nodes i   and   j at the time n is shown in Figure 2.
In order to approximate b ( 𝔃 i , n ) to a Gaussian function, Formula (23) is rewritten as follows:
b ( 𝔃 i , n ) [ f i , n ( 𝔃 i , n | 𝔃 i , n 1 ) + j S i , n f j ( 𝔃 i , n ) + k C i , n f k ( 𝔃 i , n ) ] ,
where:
f i , n ( 𝔃 i , n | 𝔃 i , n 1 ) M η M , i 2 ( 𝔃 i , n E 𝔃 i , n 1 , M ) T V i , n 1 , M 1 ( 𝔃 i , n E 𝔃 i , n 1 , M )
f j ( 𝔃 i , n ) M η M , i j ( ρ ˜ i j , n x i , n x j c T E a i j , n 1 , M b i j , n ) 2 2 σ 𝔃 i j , n 2 ,
f k ( 𝔃 i , n ) M η M , i k   b ( 𝔃 k , n ) ( ρ ˜ i j , n x i , n x k , n c T E a i k , n 1 , M b i k , n ) 2 2 σ 𝔃 i k , n 2 d 𝔃 k , n ,
Because the existence of two non-linear terms, x i , n x j in f j ( 𝔃 i , n ) and x i , n E x k , n 1 , M in f k ( 𝔃 i , n ) , results in non-Gaussian of b ( 𝔃 i , n ) , the two non-linear terms are expanded by a second-order Taylor expansion to obtain the mean and covariance of b ( 𝔃 i , n ) . For discussion purposes, define g j 𝔃 i , n x i , n x j c T E a i j , n 1 , M and g k ( 𝔃 i , n , 𝔃 k , n ) x i , n x k , n c T E a i k , n 1 , M .
a.
Second-order Taylor series expansion for nonlinear term g j ( 𝔃 i , n ) : g j ( 𝔃 i , n ) is expanded at 𝔃 i , n = E 𝔃 i , n 1 by a second-order Taylor to get:
g j ( 𝔃 i , n ) = x i , n x j c T E a i j , n 1 , M   g j ( E 𝔃 i , n 1 ) + T g j ( E 𝔃 i , n 1 ) ( 𝔃 i , n E 𝔃 i , n 1 )   + 1 2 ( 𝔃 i , n E 𝔃 i , n 1 ) T 2 g j ( E 𝔃 i , n 1 ) ( 𝔃 i , n E 𝔃 i , n 1 ) ,
where g j ( E 𝔃 i , n 1 ) and 2 g j ( E 𝔃 i , n 1 ) are the first and second steps of g j ( 𝔃 i , n ) at E 𝔃 i , n 1 .
b.
Second-order Taylor series expansion for nonlinear term g k ( 𝔃 i , n , 𝔃 k , n ) : g k ( 𝔃 i , n , 𝔃 k , n ) is expanded at 𝔃 i , n = E 𝔃 i , n 1 and 𝔃 k , n = E 𝔃 k , n 1 by a second-order Taylor to get:
g k 𝔃 i , n , 𝔃 k , n = x i , n x k , n c T E a i k , n 1 , M g k E 𝔃 i , n 1 , E 𝔃 k , n 1 + g k E 𝔃 i , n 1 , n 𝔃 k , n 1 𝔃 i , n 𝔃 i , n E 𝔃 i , n 1 + T g k E 𝔃 i , n 1 , E 𝔃 k , n 1 𝔃 k , n 𝔃 k , n E 𝔃 k , n 1 + 1 2 𝔃 i , n E 𝔃 i , n 1 𝔃 k , n E 𝔃 k , n 1 T 2 g k E 𝔃 i , n 1 , E 𝔃 k , n 1 𝔃 i , n E 𝔃 i , n 1 𝔃 k , n E 𝔃 k , n 1 ,
where g k ( E 𝔃 i , n 1 , E 𝔃 k , n 1 ) 𝔃 i , n and g k ( E 𝔃 i , n 1 , E 𝔃 k , n 1 ) 𝔃 k , n are the first-order partial derivatives of g k ( 𝔃 i , n , 𝔃 k , n ) with respect to 𝔃 i , n and 𝔃 k , n at 𝔃 i , n = E 𝔃 i , n 1 , and 𝔃 k , n = E 𝔃 k , n 1 , 2 g k ( E 𝔃 i , n 1 , E 𝔃 k , n 1 ) is the Hessian matrix of g k ( 𝔃 i , n , 𝔃 k , n ) at 𝔃 i , n = E 𝔃 i , n 1 and 𝔃 k , n = E 𝔃 k , n 1 .
After calculation, we can get the mean E 𝔃 i , n and covariance V 𝔃 i , n of b ( 𝔃 i , n ) :
V z i , n = V z i , n 1 1 + j S i , n M 1 η M 1 , i j σ d 2 I ρ ˜ i j , n c T E a i j , n 1 ζ i j , n 2 g j E z i , n 1 + k C i , n M 2 η M 2 , i k σ d 2 ( I ρ ˜ i k , n c T E a i k , n 1 ζ i k , n 2 g k E z i , n 1 , E z k , n 1 1 ,
E ^ z i , n = V z i , n V z i , n 1 1 E z i , n 1 + j S i , n M 1 η M 1 , i j σ d 2 x j ρ ˜ i j , n c T E a i j , n 1 ζ i j , n g j E z i , n 1 2 g j E z i , n 1 E z i , n 1 + k C i , n M 2 η M 2 , i k σ d 2 x k ρ ˜ i k , n c T E a i k , n 1 ζ i k , n g j E z i , n 1 2 g k E z i , n 1 , E z k , n 1 E z i , n 1 } ,
where η M , i j = Z / ρ i j · t r V 𝔃 j , n 1 , and Z is the normalization constant. Compared with the approximation method based on KL divergence minimization, the proposed method based on multi-Gaussian approximation with second-order Taylor series expansion greatly reduces the complexity of approximate calculation. When b 𝔃 i , n is approximated to a Gaussian function b ^ 𝔃 i , n , each node only needs to send its own position vector and covariance matrix to its neighbor nodes, and the communication overhead is much lower than that of the particle message-based method. In addition, since each node has three parameters to be estimated, the network is required to include at least three anchor nodes. The flow of the M-VMP localization algorithm (Algorithm 1) is as follows:
Algorithm 1: M-VMP joint estimation algorithm
Initialization:
  Initialize node location distribution
   f i , 0 p 𝔃 i , 0
Location estimation:
for n = 1 to N (time index) do
  Nodes i C
    1) Compute covariance V 𝔃 i , n of belief b ^ 𝔃 i , n according to (32)
    2) Compute mean E ^ z i , n of belief b ^ 𝔃 i , n according to (33)
    3) Broadcast means and variances of belief b ^ 𝔃 i , n , and receive the mean
     and covariance matrix of location variables of neighbor nodes
    4) Estimate location information of node i according to MMSE principle
    5) Update location information and form messages μ 𝔃 i , n f i , n + 1
  end parallel
end for

4. Simulation Analysis and Test Results

In this section, Cramer-Rao Lower Bound (CRLB) of 𝔃 i , n is derived first, then the performance of the proposed joint algorithms is analyzed through simulation.

4.1. CRLB Lower Bound of 𝔃 i , n

For node i , the Fisher Information Matrix F 𝔃 i , n can be derived as:
F 𝔃 i , n = A i d i a g , σ d 2 , A i T ,
with
A i , n = , u i j , n , , j N i , n
u i j , n = 1 ρ i j , n x i , n x j , n y i , n y j , n c T a i j , n ,
and CRLB of 𝔃 i , n is CRLB 𝔃 i , n = F 1 𝔃 i , n .

4.2. Simulation Scenario and Result Analysis

To analyze the performance of the proposed method, we have built a simulation scenario according to the real scene of the zone 1, underground parking lot, Beijing University of Posts and Telecommunications. The real scene is shown in Figure 3a and the top view is shown in Figure 3b.
According to the actual size of zone 1, the simulation scene is a rectangular area of 20 × 24 m. By default, the number of anchor nodes is 4, the number of nodes to be located is 20 and the initial position distribution of nodes in the site conforms to the uniform distribution. In order to limit the communication area of nodes to less than 1/2 of the whole simulation area, the maximum communication distance is set to 10 m. The performance of the proposed method is obtained in the line of sight (LOS) environment, except the last simulation, which shows localization accuracy with different NLOS probability. All simulation results are the average of 1000 independent runs.
The initial position measurement error of the anchor node conforms to the Gaussian distribution with the standard deviation of 0.1 m. The initial position measurement error distribution of the node to be located is composed of Gaussian distributions with the standard deviation of 10 m. According to the performance of the crystal oscillator used in the hardware (TG5032CFN), the clock drift of the node to be located conforms to uniform distribution from [−1 ppm, 1 ppm], that is, the maximum distance measurement error caused by the clock drift between adjacent time (1 s) is 300 m. In the process of simulation, anchor nodes remain stationary, and the velocity of the node to be located is consistent with the uniform distribution of the maximum value of 3 m/s, and the direction is random every time step. The position movement measurement of the node conforms to the Gaussian distribution with the standard deviation of 1 m. The default process is 15 s, 10 iterations per second. Root mean square error (RMSE) and cumulative distribution functions (CDF) are used to measure the performance of algorithms.
In Figure 4a, the relationship between localization RMSE and initial location error is shown. The CLOC method [16] treats the uncertainties of nodes’ positions and clock offsets as measurement noise and thus suffers performance degradation. The SPAWN [26] method is implemented by using 4000 particles to represent the messages on FG. The localization accuracy of the VMP method [17] and the proposed M-VMP method are better than the CLOC method, but slightly worse than the SPAWN method.
The position error of VMP and the proposed M-VMP method are compared in Figure 4b. The cumulative distribution function of the VMP method and the proposed method under different initial position errors is given in Figure 4b. It is found that the probability of position error less than 1.6 m of the two methods under different initial position errors is basically the same, while the proposed method has a better effect of restraining position error. The result is consistent with the conclusion in Figure 4a.
Figure 5 shows the relationship among the clock drift slope, RMSE of localization accuracy and the number of iterations, respectively. It is seen that three methods converge in the finite iterations, which proves that the algorithms are feasible. Compared with the VMP method [17], the proposed method improves the convergence speed of localization and time synchronization by adding time synchronization parameters into the localization process.
In Figure 6, the CDF of the proposed method under different values of the number of Gaussian distribution M are compared. It is seen that the localization accuracy (3 σ ) of the proposed method is better than that of the VMP method when M is greater than 2. With the increase of M, the localization accuracy is also improved.
Figure 7 reflects the influence of communication distance on the localization accuracy of the proposed method under the same node density. Obviously, localization accuracy increases with the increase of communication distance, which increases the connectivity of nodes and the redundancy of information. At the same time, it can be seen that the improvement of localization accuracy is not obvious when the communication distance is 20 and 30 m. The difference of node connectivity between those two conditions is little, so the localization accuracy cannot be greatly improved. Because the communication distance is proportional to the transmission power of the node, it is necessary to determine the appropriate communication distance in practical application by considering the localization accuracy, node power consumption and other indicators.
In the simulation of Figure 8, in order to amplify the influence of node density on positioning accuracy, we reset some of the simulation parameters, and set the communication distance to 15 m and the variance of the distance observation and the initial position error of the node to be located to 20 m2. It can be seen from Figure 8 that as the density of nodes increases, the overall positioning accuracy is decreasing. However, when the density of nodes to be located is too large, the positioning error will increase. At the same time, when there are more nodes to be located, the speed at which the positioning error decreases with more anchor nodes also decreases. This is due to the increase in the density of nodes to be located, and the overall weight of the information contained in neighboring nodes to be located in the proposed method becomes larger. When the number of anchor nodes is insufficient, the increase of neighboring nodes to be located helps to improve the positioning accuracy, but the effect is limited.
In Figure 9, the relationship between the RMSE of localization accuracy and NLOS occurrence probability of the VMP method and the proposed method is compared. Furthermore, it compares with the method that only deals with LOS. It is seen that both the VMP and the proposed method effectively suppress NLOS error. Because the two-way NLOS parameters between nodes are added in the proposed method, the NLOS error is better suppressed.

4.3. Computational Complexity and Communication Overhead Analysis

Because the proposed method in this paper and the comparison methods are distributed algorithms, the computation and communication are done by the nodes independently, so only one node’s time complexity and communication overhead need to be considered in the analysis.
The time complexity is evaluated by the number of operations in local computing, and the communication cost is evaluated by the number of information parameters broadcast by nodes. The time complexity of the CLOC method is related to its neighbor nodes number N inb , and its communication cost is 3 · O 1 . The SPAWN method is based on particles. When the number of particles in each message is N p , its time complexity is O N p + N p 2 · N inb , and its communication cost is O N p + 2 · O 1 . Compared with the VMP method, the number of Gaussian messages in the proposed method is M times, and every message from neighbor nodes needs to be processed once. The time complexity of dimension reduction depends on N inb , so its time complexity is O M · N inb + O N inb . In the proposed method, nodes transmit a localization vector including x i , n , y i , n , a i , n and a covariance matrix, so the communication cost is 3 O M + O 1 . The computational complexity, run-time and communication Overhead of the three algorithms is shown in Table 2.

4.4. Future Research Directions

In the next stage of research, we will mainly focus on the following aspects: First, analyze the performance of the positioning and simultaneous joint estimation problem and its influencing factors in principle. Secondly, expand the positioning scene from 2 dimensions to 3 dimensions, and reduce the problem of positioning accuracy degradation in dense scenes with nodes to be located through methods such as signal quality screening. Finally, the proposed algorithm will be implemented based on the hardware platform, and the measured results will be compared with the simulation results to further improve the performance of the proposed method.

5. Conclusions

This paper presented a M-VMP-based TOA localization and time synchronization joint estimation algorithm for mixed LOS and NLOS environments. Firstly, according to the VMP method, a message propagation model based on a factor graph was constructed for localization and time synchronization. Owing to the existence of nonlinear terms, it is difficult to represent the message in a closed form, so Taylor expansion was used for the linearization of nonlinear terms. Moreover, to reduce the communication cost, all messages were expressed in the form of multi-Gaussian distribution, and only the mean value, covariance and weight of each Gaussian distribution need to be transferred in the message transmission. The simulation results showed that the accuracy and convergence speed of the proposed method were close to that of SPAWN method, and the time complexity and communication cost were greatly reduced: the run-time was only 1.5% that of SPAWN.

Author Contributions

Conceptualization, S.T.; Data curation, S.T.; Formal analysis, S.T., B.J. and H.W.; Funding acquisition, Z.D. and S.T.; Investigation, S.T., B.J., H.W. and X.D.; Project administration, Z.D., S.T., B.J., H.W. and X.Z.; Resources, Z.D. and S.T.; Software, S.T., B.J., H.W. and X.D.; Supervision, B.J., H.W. and X.Z.; Validation, S.T. and X.D.; Visualization, S.T.; Writing—original draft, S.T.; Writing—review and editing, S.T., B.J., H.W., X.D. and X.Z. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the National Key Research & Development Program: 2016YFB0502003.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Amin, R.; Biswas, G. A secure light weight scheme for user authentication and key agreement in multi-gateway based wireless sensor networks. Ad Hoc Netw. 2016, 36, 58–80. [Google Scholar] [CrossRef]
  2. Yassin, A.; Nasser, Y.; Awad, M.; Al-Dubai, A.; Liu, R.; Yuen, C.; Raulefs, R.; Aboutanios, E. Recent advances in indoor localization: A survey on theoretical approaches and applications. IEEE Commun. Surv. Tutor. 2016, 19, 1327–1346. [Google Scholar] [CrossRef] [Green Version]
  3. Han, G.; Xu, H.; Duong, T.Q.; Jiang, J.; Hara, T. Localization algorithms of wireless sensor networks: A survey. Telecommun. Syst. 2013, 52, 2419–2436. [Google Scholar] [CrossRef]
  4. Han, G.; Jiang, J.; Zhang, C.; Duong, T.Q.; Guizani, M.; Karagiannidis, G.K. A survey on mobile anchor node assisted localization in wireless sensor networks. IEEE Commun. Surv. Tutor. 2016, 18, 2220–2243. [Google Scholar] [CrossRef]
  5. Wymeersch, H.; Lien, J.; Win, M.Z. Cooperative localization in wireless networks. Proc. IEEE 2009, 97, 427–450. [Google Scholar] [CrossRef]
  6. Shang, Y.; Rumi, W.; Zhang, Y.; Fromherz, M. Localization from connectivity in sensor networks. IEEE Trans. Parallel Distrib. Syst. 2004, 15, 961–974. [Google Scholar] [CrossRef] [Green Version]
  7. Sert, S.A.; Bagci, H.; Yazici, A. MOFCA: Multi-objective fuzzy clustering algorithm for wireless sensor networks. Appl. Soft Comput. 2015, 30, 151–165. [Google Scholar] [CrossRef]
  8. Ghari, P.M.; Shahbazian, R.; Ghorashi, S.A. Wireless sensor network localization in harsh environments using SDP relaxation. IEEE Commun. Lett. 2015, 20, 137–140. [Google Scholar] [CrossRef]
  9. Doherty, L.; El Ghaoui, L. Convex position estimation in wireless sensor networks. In Proceedings of the IEEE INFOCOM 2001. Conference on Computer Communications. Twentieth Annual Joint Conference of the IEEE Computer and Communications Society, Anchorage, AK, USA, 22–26 April 2001. [Google Scholar]
  10. Niculescu, D.; Nath, B. Ad hoc positioning system (APS). In Proceedings of the GLOBECOM′01. IEEE Global Telecommunications Conference, San Antonio, TX, USA, 25–29 November 2001. [Google Scholar]
  11. Shi, W.; Jia, C.; Liang, H. An Improved DV-Hop Localization Algorithm for Wireless Sensor Networks. Chin. J. Sens. Actuators 2011, 24, 83–87. [Google Scholar]
  12. He, T.; Huang, C.; Blum, B.M.; Stankovic, J.A.; Abdelzaher, T. Range-free localization schemes for large scale sensor networks. In Proceedings of the 9th Annual International Conference on Mobile Computing and Networking, San Diego, CA, USA, 16–18 September 2003. [Google Scholar]
  13. Liu, Z.; Fang, Z.; Ren, N.; Zhao, Y. A new range-free localization algorithm based on Annulus Intersection and Grid Scan in wireless sensor networks. J. Inf. Comput. Sci. 2012, 9, 831–841. [Google Scholar]
  14. Das, K.; Wymeersch, H. Censoring for Bayesian cooperative positioning in dense wireless networks. IEEE J. Sel. Areas Commun. 2012, 30, 1835–1842. [Google Scholar] [CrossRef] [Green Version]
  15. Pedersen, C.; Pedersen, T.; Fleury, B.H. A variational message passing algorithm for sensor self-localization in wireless networks. In Proceedings of the 2011 IEEE International Symposium on Information Theory Proceedings, St. Petersburg, Russia, 31 July–5 August 2011. [Google Scholar]
  16. Wang, Z.; Jin, X.; Wang, X.; Xu, J.; Bai, Y. Hard decision-based cooperative localization for wireless sensor networks. Sensors 2019, 19, 4665. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  17. Hehdly, K.; Laaraiedh, M.; Abdelkefi, F.; Siala, M. Cooperative localization and tracking in wireless sensor networks. Int. J. Commun. Syst. 2019, 32, e3842. [Google Scholar] [CrossRef] [Green Version]
  18. Zhang, J.; Cui, J.; Wang, Z.; Ding, Y.; Xia, Y. Distributed Joint Cooperative Self-Localization and Target Tracking Algorithm for Mobile Networks. Sensors 2019, 19, 3829. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  19. Cakmak, B.; Urup, D.N.; Meyer, F.; Pedersen, T.; Fleury, B.H.; Hlawatsch, F. Cooperative localization for mobile networks: A distributed belief propagation–mean field message passing algorithm. IEEE Signal Process. Lett. 2016, 23, 828–832. [Google Scholar] [CrossRef] [Green Version]
  20. Liu, Y.; Tian, S. Vertical Positioning Technologies and its Application of Pseudolites Augmentation. In Proceedings of the 4th International Conference on Wireless Communications, Networking and Mobile Computing, Dalian, China, 12–14 October 2008. [Google Scholar]
  21. Peral-Rosado, J.A.D.; Bavaro, M.; Lopez-Salcedo, J.A.; Seco-Granados, G.; Chawdhry, P.; Fortuny-Guasch, J.; Crosta, P.; Zanier, F.; Crisci, M. Floor Detection with indoor vertical positioning in LTE femtocell networks. In Proceedings of the Globecom Workshops, San Diego, CA, USA, 6–10 December 2010. [Google Scholar]
  22. Gezici, S.; Sahinoglu, Z. UWB Geolocation Techniques for IEEE 802.15.4a Personal Area Networks. Available online: https://merl.com/publications/docs/TR2004-110.pdf (accessed on 5 November 2020).
  23. Nguyen, T.V.; Jeong, Y.; Shin, H.; Win, M.Z. Least Square Cooperative Localization. IEEE Trans. Veh. Technol. 2015, 64, 1318–1330. [Google Scholar] [CrossRef]
  24. Alsindi, N.A.; Pahlavan, K.; Alavi, B.; Li, X. A novel cooperative localization algorithm for indoor sensor networks. In Proceedings of the IEEE International Symposium on Personal, Helsinki, Finland, 11–14 November 2006. [Google Scholar]
  25. Zheng, J.; Wu, Y.-C. Joint time synchronization and localization of an unknown node in wireless sensor networks. IEEE Trans. Signal Process. 2009, 58, 1309–1320. [Google Scholar] [CrossRef] [Green Version]
  26. Wymeersch, H.; Ferner, U.; Win, M. Cooperative Bayesian Self-Tracking for Wireless Networks. IEEE Commun. Lett. 2008, 12, 505–507. [Google Scholar] [CrossRef]
  27. Sottile, F.; Wymeersch, H.; Caceres, M.A.; Spirito, M.A. Hybrid GNSS-terrestrial cooperative positioning based on particle filter. In Proceedings of the Global Telecommunications Conference, Kathmandu, Nepal, 5–9 December 2011. [Google Scholar]
  28. Yuan, W.; Wu, N.; Etzlinger, B.; Wang, H.; Kuang, J.-M. Cooperative Joint Localization and Clock Synchronization Based on Gaussian Message Passing in Asynchronous Wireless Networks. IEEE Trans. Veh. Technol. 2016, 65, 1. [Google Scholar] [CrossRef] [Green Version]
Figure 1. Factor graph model of variational message passing (VMP)-based cooperative localization problem. The circle represents the factor node and the square represents the variable node. x i , n = x i , n   y i , n T represents the localization variable of the node to be located, f i , n represents the message that transmits between different times, f i j , n represents the distance information that the nodes transmit, ζ i j , n represents the non-sight distance parameter that affects the information between nodes and b i j , n represents the non-sight distance error probability function that affects the non-sight distance parameter.
Figure 1. Factor graph model of variational message passing (VMP)-based cooperative localization problem. The circle represents the factor node and the square represents the variable node. x i , n = x i , n   y i , n T represents the localization variable of the node to be located, f i , n represents the message that transmits between different times, f i j , n represents the distance information that the nodes transmit, ζ i j , n represents the non-sight distance parameter that affects the information between nodes and b i j , n represents the non-sight distance error probability function that affects the non-sight distance parameter.
Sensors 20 06315 g001
Figure 2. FG of a node pair ( i , j ) at time n. x i , n , y i , n , a i , n represent the localization and time synchronization parameter of the node to be estimated, f i , n represents the message that transmits between different times, f i j , n represents the distance information that the nodes transmit, b i j , n represents the non-sight distance parameter that affects the information between nodes and ζ i j , n represents the non-sight distance error probability function that affects the non-sight distance parameter.
Figure 2. FG of a node pair ( i , j ) at time n. x i , n , y i , n , a i , n represent the localization and time synchronization parameter of the node to be estimated, f i , n represents the message that transmits between different times, f i j , n represents the distance information that the nodes transmit, b i j , n represents the non-sight distance parameter that affects the information between nodes and ζ i j , n represents the non-sight distance error probability function that affects the non-sight distance parameter.
Sensors 20 06315 g002
Figure 3. (a) The real scene of the underground parking lot. (b) Simulation scenario. Zone 1 is the simulation area.
Figure 3. (a) The real scene of the underground parking lot. (b) Simulation scenario. Zone 1 is the simulation area.
Sensors 20 06315 g003
Figure 4. (a) Root mean square error (RMSE) of position error with different initial location error. (b) Cumulative distribution function (CDF) of position error with different initial location error.
Figure 4. (a) Root mean square error (RMSE) of position error with different initial location error. (b) Cumulative distribution function (CDF) of position error with different initial location error.
Sensors 20 06315 g004
Figure 5. (a) RMSE of the clock drift slope versus iterations and (b) RMSE of position error versus iterations.
Figure 5. (a) RMSE of the clock drift slope versus iterations and (b) RMSE of position error versus iterations.
Sensors 20 06315 g005
Figure 6. CDF of position error with different values of the number of Gaussian distribution M in line of sight (LOS) environment.
Figure 6. CDF of position error with different values of the number of Gaussian distribution M in line of sight (LOS) environment.
Sensors 20 06315 g006
Figure 7. CDF of position error with different communication distance.
Figure 7. CDF of position error with different communication distance.
Sensors 20 06315 g007
Figure 8. Relationship between position error and nodes’ density.
Figure 8. Relationship between position error and nodes’ density.
Sensors 20 06315 g008
Figure 9. (a) RMSE of position accuracy with different NLOS probability. (b) CDF of position error with different NLOS probability.
Figure 9. (a) RMSE of position accuracy with different NLOS probability. (b) CDF of position error with different NLOS probability.
Sensors 20 06315 g009
Table 1. List of symbols.
Table 1. List of symbols.
SymbolMeaningSymbolMeaning
S i , n Set of neighbor anchor nodes of node i at time n C i , n Set of neighbor nodes to be located of node i at time n
x i , n Position vector of node i at time n t ˜ i , n Measurement value of local clock of note i at time n
T n Real time value at time n a i , n Slope of local clock of node i at time n
a i j , n Relative slope of local clock offset between nodes i , j N i , n Set of neighbor nodes of node i at time n
ρ ˜ i j , n Range measurement between node i , j at time n ω i j , n Measurement noise of ρ ˜ i j , n
σ d 2 Variance of ω i j , n ζ i j , n NLOS error of ρ ˜ i j , n
Ψ n Set of all communicable node pairs i , j at time n Θ n Set of all node pairs i , j with NLOS error at time n
x n Position vector of all nodes at time n a n Clock offset of all nodes at time n
v i , n Average velocity of node i from time n 1 to time n ω i , n Measurement noise of v i , n
σ i , n 2 Variance of ω i , n 𝔃 i , n Vector to be estimated of note i at time n
𝔃 ^ i , n Estimation result of node i at time n ρ ˜ n Range measurement in all node pairs i , j V n at time n
ζ n NLOS error in all node pairs i , j Θ n at time n 𝓧 1 : n , 𝓐 1 : n , 𝓟 1 : n , 𝓑 1 : n Vector sets of x n , a n , ρ ˜ n , ζ n from time 1 to time n
μ f i j , n 𝔃 i , n 𝔃 i , n Message send from f i j , n to 𝔃 i , n b 𝔃 i , n Belief of variable 𝔃 i , n
F · Confluent Hypergeometric Function of the First Type E 𝔃 i , n Mean of belief b 𝔃 i , n
V 𝔃 i , n Covariance of belief b 𝔃 i , n η M , i j Weight of the M -th Gaussian distribution
F 𝔃 i , n Fisher Information Matrix (FIM) of 𝔃 i , n CRLB 𝔃 i , n Cramer-Rao Lower Bound of 𝔃 i , n
Table 2. Comparisons of different methods for each node at each iteration.
Table 2. Comparisons of different methods for each node at each iteration.
MethodComputational ComplexityRun-TimeCommunication Overhead
M-VMP (proposed method) O M · N i n b + O N i n b 84.449 ms 3 · O M + O 1
CLOC O N i n b 2 288.500 ms 3 · O 1
SPAWN O N p + N p 2 · N i n b 5469.089 ms O N p + 2 · O 1
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Deng, Z.; Tang, S.; Jia, B.; Wang, H.; Deng, X.; Zheng, X. Cooperative Localization and Time Synchronization Based on M-VMP Method. Sensors 2020, 20, 6315. https://doi.org/10.3390/s20216315

AMA Style

Deng Z, Tang S, Jia B, Wang H, Deng X, Zheng X. Cooperative Localization and Time Synchronization Based on M-VMP Method. Sensors. 2020; 20(21):6315. https://doi.org/10.3390/s20216315

Chicago/Turabian Style

Deng, Zhongliang, Shihao Tang, Buyun Jia, Hanhua Wang, Xiwen Deng, and Xinyu Zheng. 2020. "Cooperative Localization and Time Synchronization Based on M-VMP Method" Sensors 20, no. 21: 6315. https://doi.org/10.3390/s20216315

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