# Wireless network positioning as a convex feasibility problem

- Mohammad Reza Gholami
^{1}Email author, - Henk Wymeersch
^{1}, - Erik G Ström
^{1}and - Mats Rydström
^{1}

**2011**:161

https://doi.org/10.1186/1687-1499-2011-161

© Gholami et al; licensee Springer. 2011

**Received: **27 December 2010

**Accepted: **10 November 2011

**Published: **10 November 2011

## Abstract

In this semi-tutorial paper, the positioning problem is formulated as a convex feasibility problem (CFP). To solve the CFP for non-cooperative networks, we consider the well-known projection onto convex sets (POCS) technique and study its properties for positioning. We also study outer-approximation (OA) methods to solve CFP problems. We then show how the POCS estimate can be upper bounded by solving a non-convex optimization problem. Moreover, we introduce two techniques based on OA and POCS to solve the CFP for cooperative networks and obtain two new distributed algorithms. Simulation results show that the proposed algorithms are robust against non-line-of-sight conditions.

## Keywords

## 1 Introduction

Wireless sensor networks (WSNs) have been considered for both civil and military applications. In every WSN, position information is a vital requirement for the network to be able to perform in practical applications. Due to drawbacks of using GPS in practical networks, mainly cost and lack of access to satellite signals in some scenarios, position extraction by the network itself has been extensively studied during the last few years. The position information is derived using fixed sensor nodes, also called reference nodes, with known positions and some type of measurements between different nodes [1–7]. From one point of view, WSNs can be divided into two groups based on collaboration between targets: cooperative networks and non-cooperative networks. In cooperative networks, the measurements between targets are also involved in the positioning process to improve the performance.

During the last decade, different solutions have been proposed for the positioning problem for both cooperative and non-cooperative networks, such as the maximum likelihood estimator (ML) [2, 8], the maximum a posteriori estimator [9], multidimensional scaling [10], non-linear least squares (NLS) [11, 12], linear least squares approaches [13–15], and convex relaxation techniques, e.g., semidefinite programming [12, 16] and second-order cone programming [17]. In the positioning literature, complexity, accuracy, and robustness are three important factors that are generally used to evaluate the performance of a positioning algorithm. It is not expected for an algorithm to perform uniquely best in all aspects [7, 18]. Some methods provide an accurate estimate in some situations, while others may have complexity or robustness advantages.

In practice, it is difficult to obtain a-priori knowledge of the full statistics of measurement errors. Due to obstacles or other unknown phenomena, the measurement errors statistics may have complicated distribution. Even if the distribution of the measurement errors is known, complexity and convergence issues may limit the performance of an optimal algorithm in practice. For instance, the ML estimator derived for positioning commonly suffers from non-convexity [3]. Therefore, when solving using an iterative search algorithm, a good initial estimate should be chosen to avoid converging to local minima. In addition to complexity and non-convexity, an important issue in positioning is how to deal with non-line-of-sight (NLOS) conditions, where some measurements have large positive biases [19]. Traditionally, there are methods to remove outliers that need tuning parameters [20, 21]. In [22], a non-parametric method based on hypothesis testing was proposed for positioning under LOS/NLOS conditions. In spite of the good performance, the proposed method seems to have limitations for implementation in a large network, mainly due to the complexity. For a good survey on outlier detection techniques for WSNs, see [23]. A different approach was considered in [24] where the authors formulated the positioning problem as a *convex feasibility problem* (CFP) and applied the well-known successive projection onto convex sets (POCS) approach to solve the positioning problem. This method turns out to be robust to NLOS conditions. POCS was previously studied for the CFP [25, 26] and has found applications in several research fields [27, 28]. For non-cooperative positioning with positively biased range measurements, POCS converges to a point in the convex feasible set (i.e., the intersection of a number of discs). When measurements are not positively biased, the feasible set can be empty, in which case POCS, using suitable relaxations, converges to a point that minimizes the sum of squared distances to a number of discs. In the positioning literature, POCS was studied with distance estimates [29] and proximity [30]. Although POCS is a reliable algorithm for the positioning problem, its estimate might not be accurate enough to use for locating a target, especially when a target lies outside the convex hull of reference nodes. Therefore, POCS can be considered a pre-processing method that gives a reliable coarse estimate. Model-based algorithms such as ML or NLS can be initialized with POCS to improve the accuracy of estimation. The performance of POCS evaluated through practical data in [18, 19] confirms these theoretical claims.

In this semi-tutorial paper, we study the application of POCS to the positioning problem for both non-cooperative and cooperative networks. By relaxing the robustness of POCS, we can derive variations of POCS that are more accurate under certain conditions. For the scenario of positively biased range estimates, we show how the estimation error of POCS can be upper-bounded by solving a non-convex optimization problem. We also formulate a version of POCS for cooperative networks as well as an error-bounding algorithm. Moreover, we study a method based on outer approximation (OA) to solve the positioning problem for positive measurement errors and propose a new OA method for cooperative networks positioning. We also propose to combine constraints derived in OA with NLS that yields a new constrained NLS. The feasibility problem that we introduce in cooperative positioning has not been tackled in the literature previously. Computer simulations are used to evaluate the performance of different methods and to study the advantages and disadvantages of POCS as well as OA.

The rest of this paper is organized as follows. In Section 2, the system model is introduced, and Section 3 discusses positioning using NLS. In Section 4, the positioning problem is interpreted as a convex feasibility problem, and consequently, POCS and OA are formulated for non-cooperative networks. Several extensions of POCS as well as an upper bound on the estimation error are introduced for non-cooperative networks. In the sequel of this section, a version of POCS and outer-approximation approach are formulated for cooperative networks. The simulation results are discussed in Section 5, followed by conclusions.

## 2 System model

Throughout this paper, we use a unified model for both cooperative and non-cooperative networks. Let us consider a two-dimensional network with *N* + *M* sensor nodes. Suppose that *M* targets are placed at positions **z**_{
i
}∈ ℝ^{2}, *i* = 1,..., *M*, and the remaining *N* reference nodes are located at known positions **z**_{
j
}∈ ℝ^{2}, *j* = *M* + 1,..., *N* + *M*. Every target can communicate with nearby reference nodes and also with other targets. Let us define ${\mathcal{A}}_{i}$ = {*j*| reference node *j* can communicate with target *i*} and ${\mathcal{B}}_{i}$ = {*j*|*j* ≠ *i*, target *j* can communicate with target *i*} as the sets of all reference nodes and targets that can communicate with target *i*. For non-cooperative networks, we set ${\mathcal{B}}_{i}=\varnothing $.

*d*

_{ ij }= ||

**z**

_{ i }-

**z**

_{ j }|| is the Euclidian distance between x

_{ i }and x

_{ j }and ϵ

_{ ij }is the measurement error. As an example, Figure 1 shows a cooperative network consisting of two targets and four reference nodes. Since in practice the distribution of measurement errors might be complex or completely unknown, throughout this paper we only assume that measurement errors are independent and identically distributed (i.i.d.). In fact, we assume limited knowledge of ϵ

_{ ij }is available. In some situations, we further assume measurement errors to be non-negative i.i.d.

*The goal of a positioning algorithm is to find the positions of the M targets based on N known sensors' positions and measurements* (1).

## 3 Conventional positioning

_{ ij }. When prior knowledge of the measurement error distribution is not available, one can apply non-linear least squares (NLS) minimization [31]:

where **Ẑ** = [**ẑ**_{1}, ..., **ẑ**_{
M
}]. Note that when ${\mathcal{B}}_{i}=\varnothing $, we find the conventional non-cooperative LS [11].

The solution to (2) coincides with the ML estimate if measurement errors are zero-mean i.i.d. Gaussian random variables with equal variances [31]. It has been shown in [11] that in some situations, the NLS objective function in (2) is convex, in which case it can be solved by an iterative search method without any convergence problems. In general, however, NLS and ML have non-convex objective functions.

NLS formulated in (2) is a centralized method which may not be suitable for practical implementation. Algorithm 1 shows a distributed approach to NLS for (non-cooperative networks.

**Algorithm 1**
Coop-NLS

1: Initialization: choose arbitrary initial target position **ẑ**_{
i
}∈ ℝ^{2}, *i* = 1, ..., *M*

2: **for** *k* = 0 until convergence or predefined number *K* **do**

3: **for** *i* = 1,...,*M* **do**

*i*

5: **end for**

6: **end for**

To solve (3) using an iterative search algorithm, a good initial estimate for every target should be taken. To avoid drawbacks in solving NLS, the original non-convex problem can be relaxed into a semidefinite program [16] or a second-order cone program [17], which can be solved efficiently. Assuming small variance of measurement errors and enough available reference nodes, a linear estimator can also be derived to solve the problem that is asymptotically efficient [13, 15, 32].

## 4 Positioning as a convex feasibility problem

Iterative algorithms to solve positioning problem based on ML or NLS for a non-cooperative network require a good initial estimate. POCS can provide such an estimate and was first applied to positioning in [24], where the positioning problem was formulated as a convex feasibility problem.

POCS, also called successive orthogonal projection onto convex sets [33] or alternative projections [34], was originally introduced to solve the CFP in [25]. POCS has then been applied to different problems in various fields, e.g., in image restoration problems [35, 36] and in radiation therapy treatment planning [26]. There are generally two versions of POCS: sequential and simultaneous. In this paper, we study sequential POCS and refer the reader to [33] for a study of both sequential and simultaneous projection algorithms. If the projection onto each convex set is easily computed, POCS is a suitable approach to solve CFP. In general, instead of POCS, other methods such as cyclic subgradient projection (CSP) or Oettli's method can be used [33].

In this section, we first review POCS for the positioning problem and then study variations of POCS. We then formulate a version of POCS for cooperative networks. For now, we will limit ourselves to positive measurement errors and consider the general case later.

*i*, at position

**z**

_{ i }, can be found in the intersection of a number of circles with radii

*d*

_{ ij }and centres

**z**

_{ j }. For non-negative measurement errors, we can relax circles to discs because a target definitely can be found inside the circles. We define the disc ${\mathcal{D}}_{ij}$ centered at

**z**

_{ j }as

**z**

_{ i }as a point in the intersection ${\mathcal{D}}_{i}$ of the discs ${\mathcal{D}}_{ij}$

*convex*feasibility problem:

In a non-cooperative network, there are *M* independent feasibility problems, while for the cooperative network, we have dependent feasibility problems.

### 4.1 Non-cooperative networks

#### 4.1.1 Projection onto convex sets

For non-cooperative networks ${\mathcal{B}}_{i}=\varnothing $ in (5). To apply POCS for non-cooperative networks, we choose an arbitrary initial point and find the projection of it onto one of the sets and then project that new point onto another set. We continue alternative projections onto different convex sets until convergence. Formally, POCS for a target *i* can be implemented as Algorithm 2, where ${\left\{{\lambda}_{k}^{i}\right\}}_{k\ge 0}$ are relaxation parameters, which are confined to the interval ${\in}_{1}\le {\lambda}_{k}^{i}\le 2-{\in}_{2}$ for arbitrary small ϵ_{1}, ϵ_{2} > 0, and $1\le {\left\{j\left(k\right)\right\}}_{k\ge 0}\le \left|{\mathcal{A}}_{i}\right|$ determines the individual set ${\mathcal{D}}_{ij\left(k\right)}$[26]. In Algorithm 2, we have introduced ${\mathcal{P}}_{{\mathcal{D}}_{ij}}\left(z\right)$, which is the orthogonal projection of **z** onto set ${\mathcal{D}}_{ij}$. To find the

**Algorithm 2**
POCS

1: Initialization: choose arbitrary initial target position ${z}_{i}^{0}\in {\mathbb{R}}^{2}$ for target *i*

2: **for** *k* = 0 until convergence or predefined number *K* **do**

4: **end for**

**z**∈ ℝ

^{ n }onto a closed convex set Ω ⊆ ℝ

^{ n }, we need to solve an optimization problem [37]:

**z**

_{ j }is the center of the disc ${\mathcal{D}}_{ij}$. When projecting a point outside of ${\mathcal{D}}_{ij\left(k\right)}$ onto ${\mathcal{D}}_{ij\left(k\right)}$, the updated estimate based on an unrelaxed, underrelaxed, or overrelaxed parameter ${\lambda}_{k}^{i}$ (i.e., ${\lambda}_{k}^{i}=1,\phantom{\rule{2.77695pt}{0ex}}\phantom{\rule{2.77695pt}{0ex}}{\lambda}_{k}^{i}<1,\phantom{\rule{2.77695pt}{0ex}}\phantom{\rule{2.77695pt}{0ex}}{\lambda}_{k}^{i}>1$, respectively) is found on the boundary, the outside, or the inside of the disc, respectively. For the ${\lambda}_{k}^{i}=1$, unrelaxed parameter, the POCS estimate after

*k*iterations is obtained as

There is a closed-form solution for the projection onto a disc, but for general convex sets, there are no closed-form solutions [29, 38], and for every iteration in POCS, a minimization problem should be solved. In this situation, a CSP method can be employed instead [33], which normally has slower convergence rate compared to POCS [33].

Suppose POCS generates a sequence ${\left\{{z}_{i}^{k}\right\}}_{k=0}^{\infty}$. The following two theorems state convergence properties of POCS.

**Theorem 4.1** (Consistent case) *If the intersection of*${\mathcal{D}}_{i}$*in* (5) *is non-empty, then the sequence*${\left\{{z}_{i}^{k}\right\}}_{k=0}^{\infty}$*converges to a point in the non-empty intersection*${\mathcal{D}}_{i}$.

**Proof** See Theorem 5.5.1 in [33, Ch.5].

*converges*as in the following sense. Suppose ${\lambda}_{k}^{i}$ be a steering sequence defined as [26]

*m*be an integer. If in (10) we have

then the steering sequence ${\lambda}_{k}^{i}$ is called *m*-steering sequence [26]. For such steering sequences, we have the following convergence result.

**Theorem 4.2** (Inconsistent case) *If the intersection of*${\mathcal{D}}_{i}$*in* (5) *is empty and steered sequences defined in* (11) *are used for POCS in Algorithm 2, then the sequence*${\left\{{z}_{i}^{k}\right\}}_{k=0}^{\infty}$*converges to the minimum of the convex function*${\sum}_{j\in {\mathcal{A}}_{i}}{\u2225{\mathcal{P}}_{{\mathcal{D}}_{ij}}\left(z\right)-z\u2225}^{2}$.

**Proof** See Theorem 18 in [39].

Note that in papers [18, 24, 29], and [19], the cost function minimized by POCS in the inconsistent case should be corrected to the one given in Theorem 4.2.

#### 4.1.2 Projection onto hybrid sets

The performance of POCS strongly depends on the intersection area: the larger the intersection area, the larger the error of the POCS estimate. In the POCS formulation, every point in the intersection area can potentially be an estimate of a target position. However, it is clear that all points in the intersection are not equally plausible as target estimates. In this section, we describe several methods to produce smaller intersection areas in the positioning process that are more likely to be targets' positions. To do this, we review POCS for hybrid convex sets for the positioning problem. In fact, here we *trade the robustness* property of POCS to obtain *more accurate* algorithms. The hybrid algorithms have a reasonable convergence speed and show better performance compared to POCS for line-of-sight (LOS) conditions. However, the robustness against NLOS is partially lost in projection onto hybrid sets. The reason is that in NLOS conditions, the disc defined in POCS method contains the target node; however, for the hybrid sets, this conclusion is no longer true, i.e., the set defined in hybrid approach might not contain the target node.

**Projection onto Rings**: Let us consider the disc defined in (4). It is obvious that the probability of finding a target inside the disc is not uniform. The target is more likely to be found near the boundary of the disc. When the measurement noise is small, instead of a disc ${\mathcal{D}}_{ij}$, we can consider a ring ${\mathcal{R}}_{ij}$ (or more formally, an annulus) defined as

_{ l }≥ 0, ϵ

_{ u }≥ 0, and the control parameter ϵ

_{ l }+ ϵ

_{ u }determines the width of the ring that can be connected to the distribution of noise (if available). Then, projection onto rings (POR) can be implemented similar to POCS, except the disc ${\mathcal{D}}_{ij\left(k\right)}$ in Algorithm 2 is replaced with the ring ${\mathcal{R}}_{ij\left(k\right)}$. When ϵ

_{ l }= ϵ

_{ u }= 0, POR changes to a well-known algorithm called Kaczmarz's method [33], also called algebraic reconstruction technique (ART) in the field of image processing [33, 40], or the boundary projection method in the positioning literature [41], which tries to find a point in intersection of a number of circles. The ART method may converge to local optima instead of the global optimum [37]. The ring in (12) can be written as the intersection of a convex and a concave set, ${\mathcal{D}}_{ij}^{{\in}_{u}}$ and ${\mathcal{C}}_{ij}^{\in l}$ respectively, defined by

Hence, the ring method changes the convex feasibility problem to a convex-concave feasibility problem [42]. This method has good performance for LOS measurements when $E\left\{{\in}_{ij}\right\}=0$.

In some situations, the performance of POCS can be improved by exploiting additional information in the measurements [29, 30]. In addition to discs, we can consider other types of convex sets, under assumption that the target lies in, or close to, the intersection of those convex sets. Note that we still have a convex feasibility problem. We will consider two such types of convex sets: the inside of a hyperbola and a halfplane.

**Hybrid Hyperbolic POCS**: By subtracting each pair of distance measurements, besides discs, we find a number of hyperbolas [29]. The hyperbola defined by subtracting measured distances in reference node

*j*and

*k*[29] divides the plane into two separated sets: one convex and one concave. The target is assumed to be found in the intersection of a number of

*discs*and convex

*hyperbolic sets*. For instance, for the target

*i*,

*j*and

*k*[29]. Therefore, projection can be done sequentially onto both discs and hyperbolic sets. Figure 4 shows the intersection of two discs and one hyperbolic set that contains a target. Since there is no closed-form solution for the projection onto a hyperbola, the CSP approach is a good replacement for POCS [33]. Therefore, we can apply a combination of POCS and CSP for this problem. Simulation results in [29] shows significant improvement to the original POCS when discs are combined with hyperbolic sets, especially when target is located outside the convex hull of reference nodes.

**Hybrid Halfplane POCS**: Now we consider another hybrid method for the original POCS. Considering every pair of references, e.g., the two reference nodes in Figure 5, and drawing a perpendicular bisector to the line joining the two references, the whole plane is divided into two halfplanes. By comparing the distances from a pair of reference nodes to a target, we can deduce that the target most probably belongs to the halfplane containing the reference node with the

*smallest*measured distance. Therefore, a target is more likely to be found in the intersection of a number of discs and halfplanes than in the intersection of only the discs. Formally, for target

*i*, we have

*j*or

*k*and is obtained as follows. Let a

^{ T }x =

*b*, for

**a**,

**x**∈ ℝ

^{2}, and

*b*∈ ℝ, be the perpendicular bisector to the line joining reference nodes

*j*and

*k*, and suppose halfplanes {x ∈ ℝ

^{2}|a

^{ T }x >

*b*} and {x ∈ ℝ

^{2}|a

^{ T }x ≤

*b*} contain reference nodes

*j*and

*k*, respectively. The halfplane ${\mathcal{F}}_{jk}^{i}$ containing the target

*i*obtained as

There is a closed-form solution for the projection onto the halfplane [33]; hence, POCS can be easily applied to such hybrid convex sets. In [30], POCS for halfplanes was formulated, and we used the algorithm designed there for the projection onto the halfplane in Section 5.

When there are two different convex sets, we can deal with hybrid POCS in two different ways. Either POCS is sequentially applied to discs and other convex sets or POCS is applied to discs and other sets individually and then the two estimates can be combined as an initial estimate for another round of updating. This technique is studied for a specific positioning problem in [38].

#### 4.1.3 Bounding the feasible set

In previous sections, we studied projection methods to solve the positioning problem. In this section, we consider a different positioning algorithm based on the convex feasibility problem. As we saw before, the position of an unknown target can be found in the intersection of a number of discs. The intersection in general may have any convex shape. We still assume positive measurement errors in this section, so that the target definitely lies inside the intersection. This assumption can be fulfilled for distance estimation based on, for instance, time of flight for a reasonable signal-to-noise ratio [43]. In contrast to POCS, which tries to find a point in the feasible set as an estimate, outer approximation (OA) tries to approximate the feasible set by a suitable shape and then one point inside of it is taken as an estimate. The main problem is how to accurately approximate the intersection. There is work in the literature to approximate the intersection by convex regions such as polytopes, ellipsoids, or discs [19, 44–46].

In this section, we consider a disc approximation of the feasible set. Using simple geometry, we are able to find all intersection points between different discs and finally find a smallest disc that passes through them and covers the intersection. Let ${z}_{k}^{I}$, *k* = 1, ..., *L* be the set of intersection points. Among all intersection points, some of them are redundant and will be discarded. The common points that belong to the intersection are selected as ${\mathcal{S}}_{\mathsf{\text{int}}\phantom{\rule{1em}{0ex}}}=\left\{{z}_{k}^{I}|{z}_{k}^{I}\in {\mathcal{D}}_{i}\right\}$. The problem therefore renders to finding a disc that contains ${\mathcal{S}}_{\mathsf{\text{int}}\phantom{\rule{1em}{0ex}}}$ and covers the intersection. This is a well-known optimization problem treated in, e.g., [20, 45]. We can solve this problem by, for instance, a heuristic in which we first obtain a disc covering ${\mathcal{S}}_{\mathsf{\text{int}}\phantom{\rule{1em}{0ex}}}$ and check if it covers the whole intersection. If the whole intersection is not covered by the disc, we increase the radius of disc by a small value and check whether the new disc covers the intersection. This procedure continues until a disc covering the intersection is obtained. This disc may not be the minimum enclosing disc, but we are at least guaranteed that the disc covers the whole intersection. A version of this approach was treated in [19].

*S*

_{ p }is a unit simplex, which is defined as ${S}_{p}=\left\{\mathsf{\text{x}}\in {\mathbb{R}}^{p}|{x}_{i}\ge 0,{\sum}_{i}^{p}{x}_{i}=1\right\}$, and |

*χ*| is the cardinality of set

*χ*. The final disc is given by a center ${\widehat{z}}_{{c}_{i}}$ and a radius ${\widehat{R}}_{i}$, where

Note when there are two discs $\left(\left|{\mathcal{A}}_{i}\right|=2\right)$, the intersection can be efficiently approximated by a disc, i.e., the approximated disc is the minimum disc enclosing the intersection. For $\left|{\mathcal{A}}_{i}\right|\ge 3$, there is no guarantee that the obtained disc is the minimum disc enclosing the intersection [45].

*i*, we need to solve the following optimization problem:

The optimization problem (22) is non-convex. We leave the solution to this problem as an open problem and instead use the method of OA described in this section to solve the problem, e.g., for the case when the measurement errors are positive, we can upper bound the position error with ${\widehat{R}}_{i}$ [found from (20)].

### 4.2 Cooperative networks

#### 4.2.1 Cooperative POCS

It is not straightforward to apply POCS in a cooperative network. The explanation why follows in the next paragraph. However, we propose a variation of POCS for cooperative networks. We will only consider projection onto convex sets, although other sets, e.g., rings, can be considered.

*i*. From (4), it is clear that some discs, i.e., discs centered around a reference node, can be defined without any ambiguity. On the other hand, discs derived from measurements between targets have unknown centers. Let us consider Figure 6 where for target one, we want to involve the measurement between target two and target one. Since there is no prior knowledge about the position of target two, the disc centered around target two cannot be involved in the positioning process for target one. Suppose, based on applying POCS to the discs defined by reference nodes 5 and 6 (the red discs), we obtain an initial estimate

**ẑ**

_{2}for target two. Now, based on distance estimate ${\widehat{d}}_{12}$, we can define a new disc centered around

**ẑ**

_{2}(the dashed disc). This new disc can be combined with the two other discs defined by reference nodes 3 and 4 (the black solid discs). Figure 6 shows the process for localizing target one. For target two, the same procedure is followed.

Algorithm 3 implements cooperative POCS (Coop-POCS). Note that even in the consistent case, discs may have an empty intersection during updating. Hence, we use relaxation parameters to handle a possibly empty intersection during updating. Note that the convergence properties of Algorithm 3 are unknown and need to be further explored in future work.

#### 4.2.2 Cooperatively bounding the feasible sets

In this section, we introduce the application of the outer approximation to cooperative networks. Similar to non-cooperative networks, we assume that all measurement errors are positively biased. To apply OA for cooperative networks, we first determine an

**Algorithm 3**
Coop-POCS

1: Initialization: ${\mathcal{T}}_{ij}={\mathbb{R}}^{2},\phantom{\rule{2.77695pt}{0ex}}\phantom{\rule{2.77695pt}{0ex}}j\in {\mathcal{B}}_{i},\phantom{\rule{2.77695pt}{0ex}}\phantom{\rule{2.77695pt}{0ex}}i=1,...,M$

2: **for** *k* = 0 until convergence or predefined number *K* **do**

**3: for** *i* = 1,...,*M* **do**

**ẑ**

_{ i }with POCS such that

5: **for** *m* = 1,...,*M* **do**

*m*is such that $i\in {\mathcal{B}}_{m}$, then update sets ${\mathcal{T}}_{mi}$ as

7: **end for**

8: **end for**

9: **end for**

outer approximation of the feasible set by a simple region that can be exchanged easily between targets. In this paper, we consider a disc approximation of the feasible set. This disc outer approximation is then iteratively refined at every iteration finding a smaller outer approximation of the feasible set. The details of the disc approximation were explained previously in Section 4.1.3, and we now extend the results to the cooperative network scenario.

**z**

_{5}and

**z**

_{6}in non-cooperative mode (semi oval shape). Suppose that we outer-approximate this intersection by a disc (small dashed circle). In order to help target one to outer-approximate its intersection in cooperative mode, this region should be involved in finding the intersection for target one. We can extend every point of this disc by ${\widehat{d}}_{12}$ to come up with a large disc (big dashed circle) with the same center. It is easily verified that (1) target one is guarantee to be on the intersection of the extended disc and discs around reference nodes 3 and 4; (2) the outer-approximated intersection for target one is

*smaller*than that for the non-cooperative case. Note if we had extended the exact intersection, we end up with an even smaller intersection of target one. Cooperative OA (Coop-OA) can be implemented as in Algorithm 4.

We can consider the intersection obtained in Coop-OA as a constraint for NLS methods (CNLS) to improve the performance of the algorithm in (3). Suppose that for target *i*, we obtain a final disc as ${\widehat{\mathcal{D}}}_{i}$ with center **ẑ**_{
i
}and radius ${\widehat{R}}_{i}$. It is clear that we can define $\u2225{z}_{i}-{\widehat{z}}_{i}\u2225\le {\widehat{R}}_{i}$ as a constraint for the ith target in the optimization problem (3). This problem can be solved iteratively similar to Algorithm 2 considering constraint obtained in Coop-OA. Algorithm 5 implements Coop-CNLS.

**Algorithm 4**
Coop-OA

1: Initialization: ${\mathcal{T}}_{ij}={\mathbb{R}}^{2},\phantom{\rule{2.77695pt}{0ex}}\phantom{\rule{2.77695pt}{0ex}}j\in {\mathcal{B}}_{i},\phantom{\rule{2.77695pt}{0ex}}\phantom{\rule{2.77695pt}{0ex}}i=1,...,M$

2: **for** *k* = 0 until convergence or predefined number *K* **do**

3: **for** *i* = 1,...,*M* **do**

**ẑ**

_{i}and radius ${\widehat{R}}_{i}$) using (20) or other heuristic methods such that

5: **for** *m* = 1,...,*M* **do**

*m*is such that $i\in {\mathcal{B}}_{m}$, then update sets ${\mathcal{T}}_{mi}$ as

7: **end for**

8: **end for**

9: **end for**

**Algorithm 5**
Coop-CNLS

1: Run Algorithm 4 to obtain final discs ${\widehat{\mathcal{D}}}_{i}=\left\{z\in {\mathbb{R}}^{2}|\u2225z-{\widehat{z}}_{i}\u2225\le {\widehat{R}}_{i}\right\},\phantom{\rule{2.77695pt}{0ex}}\phantom{\rule{2.77695pt}{0ex}}i=1,...,M$

2: Initialization: initialize ${\widehat{z}}_{i}\in {\widehat{\mathcal{D}}}_{i},\phantom{\rule{2.77695pt}{0ex}}\phantom{\rule{2.77695pt}{0ex}}\phantom{\rule{2.77695pt}{0ex}}i=1,...,M$

3: **for** *k* = 0 until convergence or predefined number *K* **do**

4: **for** *i* = 1,...,*M* **do**

*i*th target using non-linear LS as

6: **end for**

7: **end for**

## 5 Simulation results

For the mixed positive and negative measurement errors, we use a zero-mean Gaussian distribution, i.e., ${\epsilon}_{ij}~\mathcal{N}\left(0,\phantom{\rule{2.77695pt}{0ex}}{\sigma}^{2}\right)$. In the simulation for both non-cooperative and cooperative networks, we set γ = *σ* = 1 m. For every scenario (cooperative or non-cooperative), we study both types of measurement noise, i.e., positive measurement noise and mixed positive and negative measurement errors. To compare different methods, we consider the cumulative distribution function (CDF) of the position error ${e}_{i}=\u2225{\widehat{x}}_{i}-{x}_{i}\u2225$. For the non-cooperative network, one target is randomly placed inside the network shown in Figure 8 in which we assume it can communicate with all reference nodes. For the cooperative network, 100 targets are randomly placed inside the area, i.e., in Figure 8, and we assume a pair of nodes, i.e., a pair of (target, reference) or a pair of (target, target), can connect and estimate the distance between each other if that distance is less than 20 m. To evaluate the NLOS condition, we add a uniform random variable $b~\mathcal{U}\left(0,\phantom{\rule{2.77695pt}{0ex}}U\right)$ to a measured distance in 20% of cases. For non-cooperative and cooperative networks, we set *U* = 100 m and *U* = 20 m, respectively.

*N*

_{ a }, where

*N*

_{ a }is the number of nodes connected to the target. In the simulation for inconsistent scenario, the relaxation parameters are first set to one, and after a given number

*k*

_{0}of iteration, decrease as [29]

where [*x*] denotes the smallest integer greater than or equal to *x*. In the simulation, we set *k*_{0} = 5*N*_{
a
}. To implement NLS for non-cooperative and constrained NLS for cooperative networks (Coop-NLS), we use the MATLAB routine lsqnonlin[48] initialized randomly and fmincon[48] initialized and constrained with outer approximation, respectively. For the cooperative network, every target broadcasts its estimates, i.e., a point or a disc, 20 times over the network.

For Gaussian measurement errors, the feasibility set might not be consistent. For the OA approach in this case, we take the average of (pseudo) reference nodes connected to a target as a coarse estimate. For hybrid approaches, we only study the combination of discs with halfplanes since it has not been studied previously and for other two methods introduced in Section 4.1.2, we refer the reader to [18, 19, 29].

### 5.1 Non-cooperative positioning

*e*≤ 1m. Combining discs with halfplanes improves the performance of the POCS for large errors. OA shows good performance compared to other methods. To summarize for LOS conditions, we see that NLS outperforms other methods except for very small position error when measurement errors are positive. For the positive measurement errors, the performance of POCS, H-POCS, and OA are compared in Table 1.

Comparison between POCS, H-POCS, and OA for LOS conditions for positive measurement errors

Position error e[m] | Algorithm ranking (best to worst) |
---|---|

Small error | POCS, H-POCS, OA |

Medium error 3.5 ≤ | H-POCS, POCS, OA |

Large error 7.5 ≤ | H-POCS, OA, POCS |

Very large error | OA, H-POCS, POCS |

*i*might be larger than the distance measured from the target to the reference node

*j*even the target is closer to reference nodes

*i*. Therefore, we might end up in the wrong halfplane which results in a large error. Here, we can compare different methods similar to LOS case and rank various algorithms and make some concluding remarks.

*e*

_{ i }= ||

**ẑ**

_{ i }-

**z**

_{ i }||. In Figure 11, we have plotted the CDF of the relative difference, i.e., $\left({\widehat{R}}_{i}-{e}_{i}\right)\u2215{e}_{i}$, for positive measurement errors for LOS and NLOS conditions. As seen, the bound is not always tight. In fact, in more than 10% of the simulated scenarios, the upper bound is more then 25 times as large as the true error.

### 5.2 Cooperative positioning

*e*.

Comparison between Non-Coop-POCS, Coop-POCS, Coop-OA, Coop-NLS, and Coop-CNLS for LOS conditions

Position error e[m] | Algorithm ranking (best to worst) |
---|---|

Small | Coop-CLNS, Coop-OA, Coop-POCS |

Coop-NLS, Non-Coop-POCS | |

Medium 10 ≤ | Coop-CLNS, Coop-OA, Coop-POCS |

Non-Coop-POCS, Coop-NLS | |

Large | Coop-OA, Coop-CLNS, Coop-POCS |

Non-Coop-POCS, Coop-NLS |

## 6 Conclusion

In this semi-tutorial paper, the problem of positioning was formulated as a convex feasibility problem. For non-cooperative networks, the method of projection onto convex sets (POCS) as well as outer approximation (OA) was employed to solve the problem. The main properties of POCS were studied and an upper bound on the position error, for the case when the distance estimation errors are positive, was found by solving a non-convex optimization problem. Motivated by non-cooperative networks, we derived two new distributed algorithms based on POCS and OA for cooperative networks. POCS and OA as pre-processing methods can provide reliable coarse estimates for model-based positioning algorithms such as maximum likelihood or non-linear least squares (NLS) estimator. We also proposed to combine constraints derived in OA with NLS yielding a new constrained NLS. Simulation results show that the proposed methods are robust against non-line-of-sight conditions for both non-cooperative and cooperative networks.

## Declarations

### Acknowledgements

Authors would like to sincerely thank Yair Censor, University of Haifa, for the valuable discussions and comments on the cooperative-POCS algorithm.

This work was supported by the Swedish Research Council (contract no. 2007-6363).

## Authors’ Affiliations

## References

- Bulusu N, Heidemann J, Estrin D: GPS-less low-cost outdoor localization for very small devices.
*IEEE Pers Commun*2000, 7(5):28-34. 10.1109/98.878533View ArticleGoogle Scholar - Patwari N, Ash J, Kyperountas S, Hero AO, Correal NC: Locating the nodes: cooperative localization in wireless sensor network.
*IEEE Signal Process Mag*2005, 22(4):54-69.View ArticleGoogle Scholar - Rydström M:
*"Algorithms and Models for Positioning and Scheduling in Wireless Sensor Networks".*Chalmers University of Technology; 2008.Google Scholar - Sayed AH, Tarighat A, Khajehnouri N: Network-based wireless location: challenges faced in developing techniques for accurate wireless location information.
*IEEE Signal Process Mag*2005, 22(4):24-40.View ArticleGoogle Scholar - Gezici S: A survey on wireless position estimation. Wirel.
*Pers Commun*2008, 44(3):263-282. 10.1007/s11277-007-9375-zView ArticleGoogle Scholar - Gezici S, Tian Z, Giannakis GB, Kobayashi H, Molisch AF, Poor HV, Sahinoglu Z: Sahinoglu, Localization via ultra-wideband radios: a look at positioning aspects for future sensor networks.
*IEEE Signal Process Mag*2005, 22(4):70-84.View ArticleGoogle Scholar - Mao G, Fidan B:
*Localization Algorithms and Strategies for Wireless Sensor Networks (.*Information Science Reference, Hershey, New York; 2009.View ArticleGoogle Scholar - Sheng X, Hu Y: Maximum likelihood multiple-source localization using acoustic energy measurements with wireless sensor networks.
*IEEE Trans Signal Process*2005, 53(1):44-53.MathSciNetView ArticleGoogle Scholar - Wymeersch H, Lien J, Win MZ: Cooperative localization in wireless networks. Proc.
*IEEE*2009, 97(2):427-450.View ArticleGoogle Scholar - Costa JA, Patwari N, Hero AO: Distributed weighted-multidimensional scaling for node localization in sensor networks.
*ACM Trans Sens Netw*2006, 2(1):39-64. 10.1145/1138127.1138129View ArticleGoogle Scholar - Destino G, Abreu G: Reformulating the least-square source localization problem with contracted distances.
*Proceeding of the Asilomar*2009, 307-311.Google Scholar - Nie J: Sum of squares method for sensor network localization.
*Comput Optim Appl*2009, 43: 151-179. 10.1007/s10589-007-9131-zMATHMathSciNetView ArticleGoogle Scholar - Sun M, Ho KC: Successive and asymptotically efficient localization of sensor nodes in closed-form.
*IEEE Trans Signal Process*2009, 57(11):4522-4537.MathSciNetView ArticleGoogle Scholar - Wang X, Wang Z, O'Dea B: A TOA-based location algorithm reducing the errors due to non-line-of-sight (NLOS) propagation.
*IEEE Trans Veh Technol*2003, 52(1):112-116. 10.1109/TVT.2002.807158View ArticleGoogle Scholar - Meesookho C, Mitra U, Narayanan S: On energy-based acoustic source localization for sensor networks. IEEE Trans.
*Signal Process*2008, 56(1):365-377.MathSciNetGoogle Scholar - Biswas P, Lian TC, Wang TC, Ye Y: Semidefinite programming based algorithms for sensor network localization.
*ACM Trans Sens Netw*2006, 2(2):188-220. 10.1145/1149283.1149286View ArticleGoogle Scholar - Srirangarajan S, Tewfik A, Luo Z-Q: Distributed sensor network localization using SOCP relaxation.
*IEEE Trans Wirel Commun*2008, 7(12):4886-4895.View ArticleGoogle Scholar - Gholami MR, Ström EG, Rydström M: Indoor sensor node positioning using UWB range measurements.
*Proceeding of the 17th European Signal Processing Conference (Eusipco)*2009, 1943-1947.Google Scholar - Gholami MR, Ström EG, Sottile F, Dardari D, Gezici S, Rydström M, Spirito MA, Conti A: Static positioning using UWB range measurements.
*Proceeding of the Future Network and Mobile Summit*2010.Google Scholar - Boyd S, Vandenberghe L:
*Convex Optimization.*Cambridge University Press, Cambridge; 2004.View ArticleGoogle Scholar - Rousseeuw PJ, Leroy AM:
*Robust Regression and Outlier Detection.*Wiley, New York; 1987.View ArticleGoogle Scholar - Destino G, Macagnano D, Abreu G: Hypothesis testing and iterative WLS minimization for WSN localization under LOS/NLOS conditions.
*Proceeding of the IEEE 41st Asilomar Conference on Signals, Systems and Computers*2007, 2150-2155.Google Scholar - Zhang Y, Meratnia N, Havinga P: Outlier detection techniques for wireless sensor networks: a survey.
*IEEE Commun Surv Tutor*2010, 12(2):159-170.View ArticleGoogle Scholar - Hero AO, Blatt D: Sensor network source localization via projection onto convex sets (POCS). In
*Proceeding of the IEEE International Conference on Acoustics, Speech and Signal Processing*.*Volume 3*. Philadelphia; 2007:689-692.Google Scholar - Gubin LG, Polyak B, Raik E: The method of projection for finding the common point of convex sets. USSR Comput.
*Math Math Phys*1967, 7: 1-24.View ArticleGoogle Scholar - Censor Y, Segal A: Iterative projection methods in biomedical inverse problems. in Proceeding of the interdisciplinary workshop on Mathematical Methods in. In
*Biomedical Imaging and Intensity-Modulated Radiation Therapy (IMRT)*. Pisa; 2008:65-96.Google Scholar - Youla DC, Webb H: Image restoration by the method of convex projections: Part 1-theory.
*IEEE Trans Med Imaging*1982, 1(2):81-94.View ArticleGoogle Scholar - Herman GT, Meyer LB: Algebraic reconstruction techniques can be made computationally efficient [positron emission tomography application].
*IEEE Trans Med Imaging*1993, 12(3):600-609. 10.1109/42.241889View ArticleGoogle Scholar - Rydström M, Ström EG, Svensson A: Robust sensor network positioning based on projection onto circular and hyperbolic convex sets.
*Proceeding of the IEEE International Workshop on Signal Processing Advances in Wireless Communications (SPAWC), pp*2006, 1-5.Google Scholar - Gholami MR, Rydström M, Ström EG: Positioning of node using plane projection onto convex sets.
*Proceeding of the IEEE Wireless Communication and Networking Conference (WCNC) (Apr*2010.Google Scholar - Kay SM:
*Fundamentals of Statistical Signal Processing: Estimation Theory*. Prentice-Hall, Upper Saddle River; 1993.MATHGoogle Scholar - Beck A, Stoica P, Li J: Exact and approximate solutions of source localization problems.
*IEEE Trans Signal Process*2008, 56(5):1770-1778.MathSciNetView ArticleGoogle Scholar - Censor Y, Zenios SA:
*Parallel Optimization: Theory, Algorithms, and Applications*. Oxford University Press, New York; 1997.MATHGoogle Scholar - Boyd S, Dattorro J: "Alternating projections".2003. [http://www.stanford.edu/class/ee392o/alt_proj.pdf]Google Scholar
- Oskoui-Fard P, Stark H: Tomographic image reconstruction using the theory of convex projections.
*IEEE Trans Med Imaging*1988, 7(1):45-58. 10.1109/42.3928View ArticleGoogle Scholar - Youla DC, Webb H: Image restoration by the method of convex projections: Part 1-theory.
*IEEE Trans Med Imaging*1982, 1(2):81-94.View ArticleGoogle Scholar - Blatt D, Hero AO: Energy-based sensor network source localization via projection onto convex sets.
*IEEE Trans Signal Process*2006, 54(9):3614-3619.View ArticleGoogle Scholar - Gholami MR, Gezici S, Strom EG, Rydstrom M: A distributed positioning algorithm for cooperative active and passive sensors.
*Proceeding of the IEEE International Symposium on Personal, Indoor and Mobile Radio Communications (PIMRC)*2010.Google Scholar - Censor Y, De Pierro AR, Zaknoon M: Steered sequential projections for the inconsistent convex feasibility problem.
*Nonlinear Anal Theory Method Appl Series A*2004, 59: 385-405.MATHMathSciNetView ArticleGoogle Scholar - Byrne C: Block-iterative algorithms.
*Int Trans Oper Res*2009, 427-463.Google Scholar - Wang J, Regalia PA: Sensor network localization via boundary projections.
*Proceeding of the 43rd Annual Conference on Information Sciences and Systems*2009, 224-229.Google Scholar - Censor Y, Gustafson DE, Lent A, Tuy H: A new approach to the emission computerized tomography problem: simultaneous calculation of attenuation and activity coefficients.
*IEEE Trans Nucl Sci*1979, NS-26: 2775-2779.View ArticleGoogle Scholar - Marano S, Gifford WM, Wymeersch H, Win MZ: Nonparametric obstruction detection for UWB localization.
*Proceeding of the IEEE Global Communication Conference*2009, 1-6.Google Scholar - Doherty L, Pister KSJ, Ghaoui LE: Convex position estimation in wireless sensor networks.
*INFOCOM 2001*2001, 3: 1655-1663.Google Scholar - Beck A: On the convexity of a class of quadratic mappings and its application to the problem of finding the smallest ball enclosing a given intersection of balls.
*J Global Optim*2007, 39: 113-126. 10.1007/s10898-006-9127-8MATHMathSciNetView ArticleGoogle Scholar - Gholami MR, Wymeersch H, Strom EG, Rydstrom M: Robust distributed positioning algorithms for cooperative networks. In
*Proceeding of the 12th IEEE International Workshop on Signal Processing Advances in Wireless Communications (SPAWC)*. San Francisco; 2011:156-160. 26-29Google Scholar - Chen PC: A non-line-of-sight error mitigation algorithm in location estimation.
*Proceeding of the IEEE Wireless Communications and Networking Conference*1999, 1: 316-320.Google Scholar - The Mathworks Inc2011. [http://www.mathworks.com]

## Copyright

This article is published under license to BioMed Central Ltd. This is an Open Access article distributed under the terms of the Creative Commons Attribution License (http://creativecommons.org/licenses/by/2.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.