# A WLS Estimator for Target Localization in a Cooperative Wireless Sensor Network

- 1k Downloads

## Abstract

This paper addresses target localization problem in a cooperative 3-D wireless sensor network (WSN). We employ non-traditional methodology which merges distance and angle measurements, respectively withdrawn from the received signal strength (RSS) and angle-of-arrival (AoA) information. Based on RSS measurement model and effortless geometry, a novel non-convex estimator according to the weighted least squares (WLS) criterion is obtained, which closely approximates the maximum likelihood (ML) estimator for small noise. It is shown that the devised estimator is appropriate for distributed implementation. Following the squared range (SR) approach, we propose a suboptimal SR-WLS estimator according to the generalized trust region sub-problem (GTRS) framework, to estimate the locations of all targets in the WSN. According to our simulations, the new estimator has excellent performance in a great variety of considered settings, in which the effectiveness of fusing two radio measurements is confirmed.

## Keywords

Angle-of-arrival (AoA) Generalized trust region sub-problem (GTRS) Received signal strength (RSS) Wireless sensor network (WSN)## 1 Introduction

Accurate information about sensor’s location is a key component in many practical applications. Wireless localization algorithms usually rely upon range measurements extracted from angle-of-arrival (AoA), received signal strength (RSS), time-of-arrival (ToA) information, or a combination of them [1].

In [2], a hybrid methodology which fuses distance and angle measures has been considered. Both estimators proposed in [2] deal with the non-cooperative target localization problem in a 3-D space: linear least squares (LS) and optimization based. The former one is a fairly simple estimator, and the later one uses Davidson-Fletcher-Powell algorithm [3]. The authors in [4] derived an LS and a maximum likelihood (ML) estimator for a hybrid scheme that fuses RSS difference (RSSD) and AoA measurements. The authors in [4] employed non-linear constrained optimization to estimate the unknown location from multiple RSS and AoA measurements. In [5], a selective weighted LS (WLS) estimator for mixed RSS/AoA localization problematic was presented. The target position was established by employing loaded distances from the two *closest* anchor measures, together with the serving base station AoA measurement. Another WLS estimator for a non-cooperative localization problem for the case where the transmitted power is not known was proposed in [6]. Nonetheless, similar as the method proposed in [5], the WLS method has been derived without requiring information about the statistical properties of RSS and AoA measurements, which might lead to significant performance degradation in practice. Also, the authors in [6] investigated a small-scale wireless sensor network (WSN) only, with extremely low noise power.

All of the above approaches examine non-collaborative localization problem only, where the location of a single target, which communicates with anchors exclusively, is established at a time. Contrarily to the above mentioned approaches, here, the target localization problem in an extensive WSN is considered, where the number of anchors is insufficient and the communication range of all sensors is limited (*e.g.*, to prolong sensor’s battery life). Hence, only some targets can directly communicate with anchors and sensor cooperation is required in order to acquire adequate amount of information to carry out the localization. Through employing the RSS spreading model and straightforward geometry, we first develop a new local non-convex estimator based on the WLS criterion that closely approximates the local ML one in the case where noise is low. Next, by following the squared range (SR) approach, we propose a suboptimal SR-WLS estimator based on the generalized trust region sub-problem (GTRS) framework, which is possible to solve *exactly* with a bisection method [7]. To the best of the authors’ knowledge, distributed localization algorithms for hybrid RSS/AoA systems in cooperative WSNs are yet to be published.

## 2 Relationship to Cyber-Physical Systems

Cyber-physical systems (CPSs) have recently attracted much attention from both the educational and engineering public. These schemes are displaying an enormous potential in interacting with the physical world and creating its management more efficient. Integrating the computation and communication competencies into the modules of the physical surrounding [8] enables this. CPSs represent nowadays the new peer group of networks and embedded structures.

The placement of CPS raises numerous difficulties, where the most significant topic that has activated massive quantity of study is localization [8]. Basically, localization goals at estimating the location of CPS modules. In CPSs where data are closely related with the surroundings and the location at which they are produced, localization is a fundamental task.

Collaboration of a large number of scattered sensors in a WSN can be seen as a CPS. In such systems, localization is of a crucial importance, since a system may be configured to react locally to the variations within sensor records; hence, accurate determination of the location where the deviations arise is the key. Furthermore, services based on location-awareness represent a key component of countless wireless structures nowadays. By exploring the synergies between computational and physical components we can form smart environments which offer improved safety and efficiency in everyday life, *e.g.* smart parking, assistance for elderly or people with disabilities, monitoring of storage conditions and goods, *etc*.

## 3 Problem Statement

We examine a large-scale WSN with \( N \) anchors and \( M \) targets, that may also be viewed as a connected graph, \( {\mathcal{G}}\left( {{\mathcal{V}},\varepsilon } \right) \), with \( \left| {\mathcal{V}} \right| = M + N \) vertices and \( \left| \varepsilon \right| \) edges (connections), where \( \left| { \; \cdot \; } \right| \) represents the cardinality of a set. The set of targets and the set of anchors are respectively denoted as \( {\mathcal{T} }\left( {\left| {\mathcal{T}} \right| = M} \right) \) and \( {\mathcal{A} }\left( {\left| {\mathcal{A}} \right| = N} \right) \), and their locations are denoted by \( \varvec{x}_{1} , \varvec{x}_{2} , \cdots ,\varvec{x}_{M} \) and \( \varvec{a}_{1} , \varvec{a}_{2} , \cdots ,\varvec{a}_{N} \), (\( \varvec{x}_{i} , \varvec{a}_{j} \in {\mathbb{R}}^{3} , \forall i \in {\mathcal{T}} {\text{and }}\forall j \in {\mathcal{A}} \)), respectively. Due to limited communication range, \( R \), two sensors, \( i \) and \( j \), can interchange data if and only if they are inside the communication range of each other. The sets of all target/anchor and target/target edges are defined as \( \varepsilon_{{\mathcal{A}}} = \left\{ {\left( {i,j} \right):\,\;||\varvec{x}_{i} - \varvec{a}_{j} \;|| \le R, \forall i \in {\mathcal{T}},\text{ }\forall j \in {\mathcal{A}}} \right\} \) and \( \varepsilon_{{\mathcal{T}}} = \left\{ {\left( {i,k} \right):\,||\varvec{x}_{i} - \varvec{x}_{k} \;||\; \le R, \forall i, k \in T,\text{ }i \ne k} \right\} \), respectively.

In favor of ease of expression, we describe a matrix \( \varvec{X} = [\varvec{x}_{1} , \cdots ,\varvec{x}_{M} ] (\varvec{X} \in {\mathbb{R}}^{3 \times M} ) \) as the matrix of all unknown target locations. These unknown locations are estimated with the means of a hybrid methodology which merges distance and angle measures.

*i.e.*, \( n_{ij} \sim {\mathcal{N}}(0,\sigma_{{n_{ij} }}^{2} ) \). The target/target path loss measures are assumed to be symmetric

^{1}.

By applying simple geometry, azimuth and elevation angle measurements can be modeled respectively as [2]:

According to (1), (3) and (4), we can obtain the ML estimator as [11]:

The non-convex LS estimator in (5) does not have a closed-form solution. Nonetheless, we will show that it can be transformed into GTRS framework and solved efficiently.

## 4 The Proposed SR-WLS Estimator

Assuming that the initial location estimations of the targets, \( \widehat{\varvec{X}}^{\left( 0 \right)} \), are given, the ML in (5) can be solved locally per target, resorting merely to the data collected from its neighbors and employing an iterative methodology. Consequently, target \( i \) updates its location estimation in each iteration, \( t \), by solving the below local ML estimator:

*nearby*connections, bring into play weights, \( \varvec{w} = \left[ {\sqrt {w_{ij} } } \right] \), where \( w_{ij} = 1 - {\raise0.7ex\hbox{${\widehat{d}_{ij} }$} \!\mathord{\left/ {\vphantom {{\widehat{d}_{ij} } {\mathop \sum \nolimits_{{\forall i \in {\mathcal{T}},\text{ }\forall j \in \varepsilon_{{{\mathcal{A}}_{i} }} \mathop \cup \nolimits \varepsilon_{{{\mathcal{T}}_{i} }} }} \widehat{d}_{ij} }}}\right.\kern-0pt} \!\lower0.7ex\hbox{${\mathop \sum \nolimits_{{\forall i \in {\mathcal{T}},\text{ }\forall j \in \varepsilon_{{{\mathcal{A}}_{i} }} \mathop \cup \nolimits \varepsilon_{{{\mathcal{T}}_{i} }} }} \widehat{d}_{ij} }$}} \), and substitute \( \varvec{||x}_{i} - \widehat{\varvec{a}}_{j} || \) in (9) with \( \widehat{d}_{ij} \) described in (2). According to the WLS criterion and (7), (8) and (9) every target updates its location through minimization of the below estimator:

The above WLS problem is not convex and does not have a closed-form solution. Still, (10) may be expressed as a quadratic programming problem of which the *global* solution is found effortlessly [7]. Applying the replacement \( \varvec{y}_{i} = \left[ {\varvec{x}_{\varvec{i}}^{\varvec{T}} , \varvec||{x}_{i}||^{2} } \right]^{T} , \forall i \in {\mathcal{T}}, \) Eq. (10) is modified as:

*i.e.*, \( {\boldsymbol{A}} \in {\mathbb{R}}^{3|\varepsilon_{{\cal A}_i}| + |{{\varepsilon_{{{\cal T}_i}}}} | \times 4}, {\boldsymbol{b}} \in{\mathbb{R}}^{{3\left| {{\varepsilon_{\cal A}}_i} \right| + \left|{{\varepsilon_{{{\cal T}_i}}}} \right| \times 1}}, {\boldsymbol{W}} \in{\mathbb{R}}^{{3\left| {{\varepsilon_{\cal A}}_i} \right| + \left|{{\varepsilon_{{{\cal T}_i}}}} \right| \times 3\left| {{\varepsilon_{\cal A}}_i} \right| + \left| {{\varepsilon_{{{\cal T}_i}}}}\right|}}, \) and \( 0_{p \times q} \) is the \( p \times q \)-dimensional matrix of all zeros.

Both the objective and the restraint functions in (11) are quadratic. This type of problem is identified as GTRS [7]; it may be solved *exactly* by a bisection method [7].

Assuming that \( {\mathcal{C}} \) is the set of colors of the nodes (in order to coordinate the network [12]), Algorithm 1 encapsulates the suggested distributed SR-WLS algorithm. Lines 5–7 are carried out concurrently by all targets \( i \in {\mathcal{C}}_{c} \), which might reduce the realization time of the approach. Information interchange occurs exclusively at Line 7, when targets send their location updates \( \widehat{\varvec{x}}_{\varvec{i}}^{{\left( {t + 1} \right)}} \) to their neighbors. Because \( \widehat{\varvec{x}}_{\varvec{i}}^{{\left( {t + 1} \right)}} \in {\mathbb{R}}^{3} \), one concludes that the new approach obliges a transmission of a maximum \( 3 \times T_{ \hbox{max} } \times M \) real values. The worst case computational complexity of the proposed method is linear, *i.e.*, \( T_{ \hbox{max} } \times M \times {\mathcal{O}}\left( {N_{ \hbox{max} } \times \mathop {{ \hbox{max} }_{i} }\limits_{{}} \left\{ {3\left| {\varepsilon_{{{\mathcal{A}}_{i} }} } \right| + \left| {\varepsilon_{{{\mathcal{T}}_{i} }} } \right|} \right\}} \right), \) where \( N_{ \hbox{max} } \) denotes the maximum allowed number of iterations of the bisection method. In the further text, we will refer to Algorithm 1 as “SR-WLS”.

## 5 Performance Evaluation

A set of simulation results is presented here with the intention of assessment of the performance of the new approach in the view of the estimation precision and convergence. All of the considered approaches were solved via MATLAB. In order to demonstrate the benefit of fusing two radio measurements versus traditional localization systems, we include also the performance results of the proposed method when only RSS measurements are employed, called here “SR-WLS_{RSS}”.

In order to produce the radio measures, models (1), (3) and (4) are employed. A random arrangement of sensors within a box with the edge span \( B = 20 \) m in each Monte Carlo (\( M_{c} \)) trial was considered. If not declared otherwise, the PLE was set to \( \gamma = 3 \), the reference distance to \( d_{0} = 1 \) m, the reference path loss to \( L_{0} = 40 \) dB, and the maximum number of steps in the bisection procedure was \( N_{max} = 30 \). In practice however, it is almost impossible to perfectly estimate the value of the PLE. Thus, in order to account for a realistic measurement model mismatch and test the robustness of the considered approaches to flawed knowledge of the PLE, the true PLE for each connection was chosen from a uniform distribution on an interval \( \gamma_{ij} \in \left[ {2.7, 3.3} \right], \forall (i,j) \in \varepsilon_{{\mathcal{A}}} \mathop \cup \nolimits \varepsilon_{{\mathcal{T}}} \). Finally, the zero estimate of the targets’ locations, \( \widehat{\varvec{X}}^{(0)} \), was assumed to be at the intersection of the big diagonals of the cube area. The main performance criterion used is the normalized root mean square error (NRMSE), defined as

*j*-th target, \( \varvec{x}_{ij} \), in the

*i*-th \( M_{c} \) trial.

## 6 Conclusion

Here, the hybrid RSS/AoA target localization problem in a collaborative 3-D WSN was addressed. By fusing information from RSS and AoA, we devised a new problem formulation based on a nonconvex WLS. We showed that the derived novel estimator is suitable for distributed implementation, and we presented a novel non-centralized procedure founded on the GTRS framework. This new algorithm is light in terms of computational complexity, and it can provide accurate localization in a variety of scenarios, having exhibited excellent performance both in view of the estimation precision and convergence. Moreover, the simulation results confirmed the effectiveness of combining RSS and AoA radio measurements in comparison with conventional RSS localization system, displaying a notable enhancement of the estimation precision.

## Footnotes

- 1.
This assumption is made without loss of generality; it is readily seen that, if \( L_{ij}^{T} \ne L_{ji}^{T} , \forall (i,j) \in \varepsilon_{{\mathcal{T}}} \), then it is enough to replace \( L_{ij}^{T} \leftarrow (L_{ij}^{T} + L_{ji}^{T} )/2 \) and \( L_{ji}^{T} \leftarrow (L_{ij}^{T} + L_{ji}^{T} )/2 \) when solving the localization problem.

## Notes

### Acknowledgments

This work was partially supported by Fundação para a Ciência e a Tecnologia under Projects PEst-OE/EEI/UI0066/2014, and PEst-OE/EEI/LA0008/2013 (IT pluriannual founding and HETNET), PEst-OE/EEI/UI0066/2011 (UNINOVA pluriannual founding), ADIN PTDC/EEI-TEL/2990/2012, COPWIN PTDC/EEI-TEL/1417/2012 and PTDC/EEITEL/6308/2014-HAMLeT, as well as the grants SFRH/BPD/108232/2015, SFRH/BD/91126/2012 and Ciência 2008 Post-Doctoral Research grant.

## References

- 1.Patwari, N.: Location Estimation in Sensor Networks. Ph.D. thesis, University of Michigan, Ann Arbor, MI, USA (2005)Google Scholar
- 2.Yu, K.: 3-D localization error analysis in wireless networks. IEEE Trans. Wirel. Commun.
**6**(10), 3473–3481 (2007)Google Scholar - 3.Fletcher, R.: Practical Methods of Optimization. Wiley, Chichester (1987)zbMATHGoogle Scholar
- 4.Wang, S., Jackson, B.R., Inkol, R.: Hybrid RSS/AOA emitter location estimation based on least squares and maximum likelihood criteria. In: IEEE QBSC, pp. 24–29, June 2012Google Scholar
- 5.Gazzah, L., Najjar, L., Besbes, H.: Selective hybrid RSS/AOA weighting algorithm for NLOS intra cell localization. In: IEEE WCNC, pp. 2546–2551, April 2014Google Scholar
- 6.Chan, Y.T., Chan, F., Read, W., Jackson, B.R., Lee, B.H.: Hybrid localization of an emitter by combining angle-of-arrival and received signal strength measurements. In: IEEE CCECE, pp. 1–5, May 2014Google Scholar
- 7.Beck, A., Stoica, P., Li, J.: Exact and approximate solutions of source localization problems. IEEE Trans. Sig. Process.
**56**(5), 1770–1778 (2008)MathSciNetCrossRefGoogle Scholar - 8.Koubaa, A., Jamaa, M.B.: Taxonomy of Fundamental Concepts of Localization in Cyber-Physical and Sensor Networks. Technical report, CISTER, Research Center in Real-Time and Embedded Computing Systems, February 2013Google Scholar
- 9.Rappaport, T.S.: Wireless Communications: Principles and Practice. Prentice-Hall, Upper Saddle River (1996)zbMATHGoogle Scholar
- 10.Sichitiu, M.L., Ramadurai, V.: Localization of wireless sensor networks with a mobile beacon. In: IEEE MASS, pp. 174–183, October 2004Google Scholar
- 11.Kay, S.M.: Fundamentals of Statistical Signal Processing: Estimation Theory. Prentice-Hall, Upper Saddle River (1993)zbMATHGoogle Scholar
- 12.Tomic, S., Beko, M., Dinis, R.: Distributed RSS-based localization in wireless sensor networks based on second-order cone programming. Sensors
**14**(10), 18410–18432 (2014)CrossRefGoogle Scholar