Docsity

Algorithm Nodes Localization Wireless Ad-Hoc Networks Based Cost Function | CIS 6930, Papers of Computer Science

Toggle sidebar
bg1
Algorithm for Nodes Localization in Wireless
Ad-Hoc Networks Based on Cost Function
Jean-Philippe Montillet, Timo Braysy, Ian Oppermann
Center for Wireless Communications (CWC), University of OULU
P.O. Box 4500, FIN-90014 University Of Oulu
Finland
Abstract—A new distributed algorithm is described in this
paper for localizing sensor network nodes in Wireless Sensor
Networks (WSN). The algorithm shares a common three-phase
structure: (1) determine node-beacon distances, (2) build a
cost function for every sensor node, and (3) compute the
coordinate of the node. The coordinates of the sensor nodes
are computed using either the Davidson-Fletcher-Powell Quasi-
Newton algorithm or the Direct Method. The algorithm is based
on the capacity of the nodes to calculate the Time-of-Arrival
(ToA) and Angle-of-Arrival (AoA) with their neighbors. The
accuracy of the measurements rely on the use of Ultra Wide
Band (UWB) technology. It has been shown that the properties
of the UWB signal allow more accurate ToA measurements. In
order to simulate the range measurement noise in ToA and AoA
measurements, two independent random variables are introduced
with two different variances (σT oA ,σAo A )for the ToA and AoA
measurements.
An extensive set of simulations is performed to assess the accu-
racy and performance of the algorithm. Also, we demonstrate its
ability to localize the nodes in a large WSN.
I. INTRODUCTION
The main features of new ad-hoc networks are large number
of unattended nodes with varying capabilities, and lack of
impracticality of deploying supporting infrastructure. Recent
advances in microsensor technology allow the mass production
of cheap and low power consumption sensor nodes. Many
applications with Wireless Sensor Networks (WSN) have been
proposed such as habitat monitoring, health caring, battle
field surveillance, environment observation and forecasting
[1]. Most of those applications require the knowledge on the
position of every nodes in the WSN.
In the past 5years, a large number of algorithms have
shown up on the market to localize sensor nodes in WSN. A
pioneer work is the Ad Hoc Positioning System (APS) algo-
rithm proposed by D. Niculescu [2]. Positioning 1algorithms
are classified in either centralized or distributed. Centralized
means that the calculation is performed by a server whereas in
distributed algorithms all the nodes are able to compute their
own position.
This paper deals with positioning issues proposing an algo-
rithm GPS-free using few beacons to initialize the positioning
mechanism. The proposed algorithm is fully distributed. It
1Here, the authors do not take into account the special case of cluster-based
algorithms
follows the idea given in [2] and more recently [3], where
all nodes compte the number of hops away from the bea-
cons and then transform it in meters using either a rough
approximation of the one hop-distance or other techniques.
Our approach projects the hop-distance in Euclidean distance
using the ability of nodes to calculate the Time-of-Arrival
(ToA) and Angle-of-Arrival (AoA) with their neighbors within
their transmission range. Hence a node computes its Euclidean
distance to at least three beacons in 2D, either the Davidson-
Fletcher-Powell (DFP) algorithm or the Direct Method (DM)
is applied to find the unknown coordinates.
From the overall view of the proposed algorithm, one may
underline the expensiveness in term of number of messages to
be exchanged before nodes’ position is established. But our
algorithm shows a robustness to ToA and AoA measurements
error, and indeed the information update between nodes may
be used to refine the position of the nodes.
The rest of the paper is organized as follow: in section II
reviews some popular methods used in positioning. In the
section III, the method to localize nodes is explained. Then
DFP and DM will be sum up in section IV. The results are
given in section V, and section VI ends this article.
II. BACKGROUND AND PREVIOUS WORK
The WSN is a collection of ad hoc deployed nodes such
that any node can communicate with their neighbors within its
transmission radius. Techniques usually used to estimate the
one-hop distance are Time-of-Arrival (ToA), Time-Difference-
Of-Arrival (TDOA), Received Signal Strength (RSSI), or
Angle-of-Arrival (AoA). Recently, some studies investigate the
gain of accuracy using two technologies like ToA and AoA
for example [4].
Indeed, since that FCC allows the use of Ultra Wide Band
(UWB) technology in civil communication systems in Febru-
ary 2002, the accuracy of the measurements is improved by the
fine time delay resolution of the UWB signal. This technology
was previously applied in RADAR systems at the beginning of
the 50’s [5]. Moreover, accurate AoA measurements is more
difficult to obtain than using ToA for example. One way is
to embed a compass in every node, which is not a suitable
solution for tiny low cost sensors. In addition to the orientation
of the compasses copes with erratical behavior in the vicinity
pf3
pf4
pf5

Partial preview of the text

Download Algorithm Nodes Localization Wireless Ad-Hoc Networks Based Cost Function | CIS 6930 and more Papers Computer Science in PDF only on Docsity!

Algorithm for Nodes Localization in Wireless

Ad-Hoc Networks Based on Cost Function

Jean-Philippe Montillet, Timo Braysy, Ian Oppermann

Center for Wireless Communications (CWC), University of OULU

P.O. Box 4500 , FIN-90014 University Of Oulu

Finland

[email protected]

Abstract — A new distributed algorithm is described in this paper for localizing sensor network nodes in Wireless Sensor Networks (WSN). The algorithm shares a common three-phase structure: (1) determine node-beacon distances, (2) build a cost function for every sensor node, and (3) compute the coordinate of the node. The coordinates of the sensor nodes are computed using either the Davidson-Fletcher-Powell Quasi- Newton algorithm or the Direct Method. The algorithm is based on the capacity of the nodes to calculate the Time-of-Arrival (ToA) and Angle-of-Arrival (AoA) with their neighbors. The accuracy of the measurements rely on the use of Ultra Wide Band (UWB) technology. It has been shown that the properties of the UWB signal allow more accurate ToA measurements. In order to simulate the range measurement noise in ToA and AoA measurements, two independent random variables are introduced with two different variances (σT oA , σAoA ) for the ToA and AoA measurements. An extensive set of simulations is performed to assess the accu- racy and performance of the algorithm. Also, we demonstrate its ability to localize the nodes in a large WSN.

I. INTRODUCTION The main features of new ad-hoc networks are large number of unattended nodes with varying capabilities, and lack of impracticality of deploying supporting infrastructure. Recent advances in microsensor technology allow the mass production of cheap and low power consumption sensor nodes. Many applications with Wireless Sensor Networks (WSN) have been proposed such as habitat monitoring, health caring, battle field surveillance, environment observation and forecasting [1]. Most of those applications require the knowledge on the position of every nodes in the WSN. In the past 5 years, a large number of algorithms have shown up on the market to localize sensor nodes in WSN. A pioneer work is the Ad Hoc Positioning System (APS) algo- rithm proposed by D. Niculescu [2]. Positioning 1 algorithms are classified in either centralized or distributed. Centralized means that the calculation is performed by a server whereas in distributed algorithms all the nodes are able to compute their own position. This paper deals with positioning issues proposing an algo- rithm GPS-free using few beacons to initialize the positioning mechanism. The proposed algorithm is fully distributed. It

(^1) Here, the authors do not take into account the special case of cluster-based algorithms

follows the idea given in [2] and more recently [3], where all nodes compte the number of hops away from the bea- cons and then transform it in meters using either a rough approximation of the one hop-distance or other techniques. Our approach projects the hop-distance in Euclidean distance using the ability of nodes to calculate the Time-of-Arrival (ToA) and Angle-of-Arrival (AoA) with their neighbors within their transmission range. Hence a node computes its Euclidean distance to at least three beacons in 2D, either the Davidson- Fletcher-Powell (DFP) algorithm or the Direct Method (DM) is applied to find the unknown coordinates. From the overall view of the proposed algorithm, one may underline the expensiveness in term of number of messages to be exchanged before nodes’ position is established. But our algorithm shows a robustness to ToA and AoA measurements error, and indeed the information update between nodes may be used to refine the position of the nodes. The rest of the paper is organized as follow: in section II reviews some popular methods used in positioning. In the section III, the method to localize nodes is explained. Then DFP and DM will be sum up in section IV. The results are given in section V, and section VI ends this article.

II. BACKGROUND AND PREVIOUS WORK The WSN is a collection of ad hoc deployed nodes such that any node can communicate with their neighbors within its transmission radius. Techniques usually used to estimate the one-hop distance are Time-of-Arrival (ToA), Time-Difference- Of-Arrival (TDOA), Received Signal Strength (RSSI), or Angle-of-Arrival (AoA). Recently, some studies investigate the gain of accuracy using two technologies like ToA and AoA for example [4]. Indeed, since that FCC allows the use of Ultra Wide Band (UWB) technology in civil communication systems in Febru- ary 2002, the accuracy of the measurements is improved by the fine time delay resolution of the UWB signal. This technology was previously applied in RADAR systems at the beginning of the 50’s [5]. Moreover, accurate AoA measurements is more difficult to obtain than using ToA for example. One way is to embed a compass in every node, which is not a suitable solution for tiny low cost sensors. In addition to the orientation of the compasses copes with erratical behavior in the vicinity

of large metal objects or electrical fields. The general way considers in WSN is only beacon nodes embedded a compass and the angles between two neighbors nodes is recursively calculated using basic triangle rules as done in [6]. Due to extensive literature about how to find the AoA between two neighbors nodes ( [6], [7], [8], [9], [3]), this study does not take into account this problem. We consider that two neighbors nodes are able to find the AoA between them with an error. In the last past years, various approaches have been proposed for positioning in WSN. In [10], a centralized scheme is proposed which collects the entire topology in a server and then solves a large system to minimize the positioning errors. A location system based on an uniform grid of beacons is proposed in [11] while ultrasound signals are used in [12]to measure the distances of known beacons. Localization in ad hoc networks based on the known position of few nodes in the network are proposed in [13], [12]. In [6] the authors build a distributed mechanism for GPS free positioning in mobile ad hoc networks. Beside, nodes can also be considered as terminal nodes in wireless ad-hoc networks where the hardware resources are more important and sectorial antennas will be rather employed in this case instead of in wireless ad- hoc sensor networks [14]. The present algorithm derives a cost function based on the network topology. This point of view of node localization has been successfully applied by [15] in UWB position estimation based on ToA measurements with pre-existing infrastructure. Hence, the cost function is built, either a gradient-based algorithm like the DFP quasi-Newton algorithm will be used to estimate the position of the node, or DM algorithm can be applied.

III. CALCULATING RELATIVE POSITIONS

Primarily, the current algorithm works through two dimen- sional triangulation, using three or more beacons available in the network. In the first phase, the beacon broadcast their coordinates. Then, all nodes will set up the shortest path with all the beacons. The shortest path is defined by the Moore- Dijkstra algorithm. Then, all nodes belonging to this path will calculate the ToA and AoA with the next node in the path. As soon as a node received the data to calculate the Euclidean distances between it and at least 3 beacons, the DFP or DM are used to compute the coordinates of the node.

A. The Shortest path

After the initial phase where all the beacons broadcast their coordinates, nodes have to set up a ”shortest” path with all the beacons. Many well-known algorithms are developed to solve this issue. Moore-Dijkstra, Bellman-Ford or Floyd-Warshall algorithm to cite only the famous one, can be used. Here, we use the first cited above. At the end of this phase, the node will have at least the coordinates of three beacon nodes and the path to reach them. The figure 1gives an overview of the wireless sensor network. In this figure, node N1 set up a path between the beacon B1, B2 and B3. Then, it stores in its data

N

N

B

N

B

B

1 B d

2

d^ 1 2

d^ 2 B 3

1 3^ d^

(^) d3 B

1 L (^) 3B

L (^13)

L (^) 2B

L (^12)

L (^) 1B

Nodes (^) Beacon

Fig. 1. Scheme of Wireless Sensor Network

base (1).

N 1 → B 1 : Ί 1 = {(N 1 , N 3 , B 1 ), ( ˆα 13 , α 3 ˆB 1 ), ( dˆ 13 , d 3 ˆB 1 )} N 1 → B 2 : Ί 2 = {(N 1 , B 2 ), ( α 1 ˆB 2 ), ( d 1 ˆB 2 )} N 1 → B 3 : Ί 3 = {(N 1 , N 2 , B 3 ), ( ˆα 12 , α 2 ˆB 3 ), ( dˆ 12 , d 2 ˆB 3 )} (1)

α ˆ 13 and dˆ 13 are respectively the estimated angle and distance between node 1 and node 3.

B. Position Estimation Once a node is able to estimate its distance to each of the beacons, it can estimate its position. Each beacon monitored by a node yields a cost function of the form (2). Where αˆi and d^ ˆi are respectively the estimated angle and distance between two nodes belonging to the path, NB is the number of beacon available in the network, and Nhop(k) is the number of hops between the node and a given beacon. Finally, the coordinates of the nodes are estimated by minimiz- ing (2), the cost function. Two algorithms are used to decrease it: DFP and DM. For the DFP algorithm, the measurement update between two nodes in the path may be used to refine the initial position of the node iteratively. In practice, it may exist more than three beacons in the network. One way is to follow the study done in [15] which underlines the more beacons are used to position a node, the better the accuracy is. An other way is to weight (2) depending on how far in number of hops the beacon is from the unknown node. In this study, all the beacon available in the WSN are used.

IV. OVERVIEW OF POSITIONING ALGORITHMS DFP and DM have been recently considered in positioning systems for the emerging UWB technology [16], [15]. In par- ticular, the DFP algorithm was recently proposed and applied

(^00 10 20 30 40 50 60 70 80 )

1

2

σangle (degrees)

RMSE (m)

σToA= σToA=0.5ns σToA=2ns

Fig. 2. Root Mean Squared error of position estimation with Direct Method. Only 5 beacons are chosen to position all the sensor nodes in the WSN. Three different values of the variance on the ToA error are chosen (σT oA = { 0 , 0. 6 , 2 }ns).

(^00 5 10 15 20 25 30 35 )

1

σangle (degrees)

RMSE (m)

σToA= σToA=0.5ns σToA=2ns

Fig. 3. Root Mean Squared error of position estimation with DFP algorithm. Only 5 beacons are chosen to position all the sensor nodes in the WSN. Three different values of the variance on the ToA error are chosen (σT oA = { 0 , 0. 6 , 2 }ns).

to ToA measurements error than AoA ones. In addition to DFP algorithm performs slightly better than DM on figures 4 and 5 as we previously notice on the two first ones. Figures 6 and 7 show the performance of the present algorithm when increasing the number of beacon. In general, It has been shown in some studies ( [15]) using DFP and DM algorithm that the higher the number of beacons is, the less the RMSE value is in centralized network. Figure 6 confirms this result. But with the DM, this result is no longer valid in the WSN scenario. As seen in the figure 7, the RMSE value with 15 and 20 beacons are higher than using only 5 beacons. This result can be explained taking account two parameters. First, the DM is not an iterative algorithm and then does not use the capacity

(^00) 0.5 1 1.5 2 2.5 3

1

2

σToA(ns)

RMSE (m)

σAOA= 0 dg σAOA= 5 dg σAOA= 10 dg

Fig. 4. Root Mean Squared error of position estimation with Direct Method. Only 5 beacons are chosen to position all the sensor nodes in the WSN. Three different values of the variance on the AoA error are chosen (σAoA = { 0 , 5 , 10 }degrees).

(^00) 0.5 1 1.5 2 2.5 3

1

σToA(ns)

RMSE (m)

σAOA= 0 dg σAOA= 5 dg σAOA= 10 dg

Fig. 5. Root Mean Squared error of position estimation with Direct Method. Only 5 beacons are chosen to position all the sensor nodes in the WSN. Three different values of the variance on the AoA error are chosen (σAoA = { 0 , 5 , 10 } degrees).

of the nodes of calculating few times the ToA and AoA values with their neighbors. Secondly, in [15] and [18], they underline that the DM is easily diverging for high values of the ToA error. Or in this scenario, two errors are introduced: on the ToA and AoA measurements. Indeed, more beacons are taken into account to position the nodes. Then the DM has an higher probability to diverge in the wireless sensor networks scenario. The present study is based on only 30 simulations. The last result can be improved with more simulations.

VI. CONCLUSIONS In this paper, a new algorithm is presented to position sensor nodes in WSN. First, a cost function is built based

0.2 0 5 10 15 20 25 30 35 40

σangle (degrees)

RMSE (m)

5 Beacons 15 Beacons 20 Beacons

Fig. 6. Root Mean Squared error of position estimation with DFP using 5 , 15 and 20 beacons. The σT oA is equal to 0 , 5 ns.

1.5 0 5 10 15 20 25 30 35 40

2

3

4

5

σangle (degrees)

RMSE (m) 5 Beacons 15 Beacons 20 Beacons

Fig. 7. Root Mean Squared error of position estimation with DM using 5 , 15 and 20 beacons. The σT oA is equal to 0 , 5 ns.

on the distance between the node and beacons available in the network. A couple of practical position estimation methods (DM and DFP) is used to decrease the cost function and find the coordinates of the node. The good position accuracy shown with the DFP algorithm is due to the ability of the nodes to measure few times the ToA and AoA. This paper does not consider the way to calculate accurately the AoA between two neighbor nodes. It remains for a future work.

ACKNOWLEDGEMENT This work is partly funded by the EU 6th framework project PULSERS.

REFERENCES [1] I. F. Akyildiz, W. Su, Y. Sankarasubramaniam, and E. Cayirci, “A survey on sensor networks,” IEEE Commun. Mag. , vol. 40, no. 8, pp. 102 – 114, Aug. 2002.

[2] D. Niculescu and B. Nath, “Ad hoc positioning system (aps),” in Proc. IEEEGlobal Telecommunications Conference, 2001 (GLOBECOM ’01) , vol. 5, Nov.29 2001, pp. 2926 – 2931. [3] Y. Zhang and L. Cheng, “Place: Protocol for location and coordinate estimationa wireless sensor network approach.” [4] S. Gezici, Z. Tian, G. B. Giannakis, and al, “Localization via ultra- wideband radios,” 2004, (submitted, October). [5] J. D. Taylor, Ultra-wideband Radar Technology. CRC Press, Sept.

[6] S. Capkun, M. Hamidi, and J. P. Hubaux, “Gps-free positioning in mobile ad-hoc networks,” in Proc. IEEE Proceedings of the Hawaii International Conference on SystemSciences , Maui,HW, Jan. 2001, pp. 3481 – 3490. [7] D. Moore, J. Leonard, D. Rus, and S. Teller, “Robust distributed network localization with noisy range measurements,” in Proc. ACM SenSys’04 , Baltimore, Maryland, USA, Nov.3-5 2004. [8] D. Niculescu and B. Nath, “Ad hoc positioning system (aps) using aoa,” in Proc. IEEETwenty-Second Annual Joint Conference of the IEEE Computer and Communications Societies (INFOCOM ) , vol. 3, Apr. 2003, pp. 1734 – 1743. [9] R. Iyengar and B. Sikdar, “Scalable and distributed gps free positioning for sensor networks,” in Proc. IEEE ICC’03 , vol. 1, May11-15 2003, pp. 338 – 342. [10] L. Doherty, K. Pister, and L. E. Gahoui, “Convex position estimation in wireless sensor networks,” in Proc. IEEE INFOCOM 2001 , vol. 3, Apr.22-26 2001, pp. 1655 – 1663. [11] N. Bulusu, J. Heidemann, and D. Estrin, “Gps-less low-cost outdoor localization for very small devices.” [12] A. Savvides, C.-C. Hahn, and B. Strivastava, “Dynamic fine-grained localization in ad-hoc networks of sensors,” in Proc. ACM MOBICOM , vol. 3, July 2001, pp. 166 – 179. [13] C. Savarese, J. Rabaey, and J. Beutel, “Location in distributed ad-hoc wireless sensor networks,” in Proc. IEEE ICASSP’01 , vol. 4, May7- 2001, pp. 2037 – 2040. [14] K. Banka and G. Xue, “Angle routing protocol: location aided routing for mobile ad-hoc networks using dynamic angle selection,” in Proc. IEEE MILCOM 2002 , vol. 1, Oct.7-10 2002, pp. 501 – 506. [15] K. Yu and I. Oppermann, “Performance of uwb position estimation based on time-of-arrival measurements,” in Proc. IEEE UWBST and IWWAN 2004 , Japan, May18-21 2004, pp. 400 – 404. [16] D. E. Manolakis, “Efficient solution and performance analysis of 3-d position estimation by trilateration,” IEEE J. Select. Areas Commun. , vol. 32, no. 4, pp. 1239 – 1248, Oct. 1996. [17] K. Yu and I. Oppermann, “Uwb positioning for wireless embedded networks,” in Proc. IEEE RAWCON conference , USA,Atlanta, 2004. [18] J. P. Montillet and al, “Comparison of uwb and wcdma positioning accuracies,” in Proc. IEEE 61th Technology Conference, VTC 2005 Spring , Stockholm, Sweden, May 2005.