RSSI-Based Localization in Low-cost 2.4GHz Wireless Networks

Similar documents
Open Access AOA and TDOA-Based a Novel Three Dimensional Location Algorithm in Wireless Sensor Network

International Journal of Scientific & Engineering Research, Volume 7, Issue 2, February ISSN

Introduction. Introduction ROBUST SENSOR POSITIONING IN WIRELESS AD HOC SENSOR NETWORKS. Smart Wireless Sensor Systems 1

Ad hoc and Sensor Networks Chapter 9: Localization & positioning

Research on Mine Tunnel Positioning Technology based on the Oblique Triangle Layout Strategy

15. ZBM2: low power Zigbee wireless sensor module for low frequency measurements

Implementation of RSSI-Based 3D Indoor Localization using Wireless Sensor Networks Based on ZigBee Standard

THE APPLICATION OF ZIGBEE PHASE SHIFT MEASUREMENT IN RANGING

MIMO-Based Vehicle Positioning System for Vehicular Networks

Performance Analysis of DV-Hop Localization Using Voronoi Approach

Range Free Localization of Wireless Sensor Networks Based on Sugeno Fuzzy Inference

An Improved DV-Hop Localization Algorithm Based on Hop Distance and Hops Correction

Localization in Wireless Sensor Networks

Indoor Localization in Wireless Sensor Networks

FILTERING THE RESULTS OF ZIGBEE DISTANCE MEASUREMENTS WITH RANSAC ALGORITHM

LOCALIZATION AND ROUTING AGAINST JAMMERS IN WIRELESS NETWORKS

RADAR: an In-building RF-based user location and tracking system

Improved MDS-based Algorithm for Nodes Localization in Wireless Sensor Networks

Wireless Ad hoc and Sensor Network Underground with Sensor Data in Real-Time

Bluetooth positioning. Timo Kälkäinen

Chapter 9: Localization & Positioning

Localization in WSN. Marco Avvenuti. University of Pisa. Pervasive Computing & Networking Lab. (PerLab) Dept. of Information Engineering

A Study for Finding Location of Nodes in Wireless Sensor Networks

Selected RSSI-based DV-Hop Localization for Wireless Sensor Networks

Localization (Position Estimation) Problem in WSN

Indoor Positioning by the Fusion of Wireless Metrics and Sensors

IoT. Indoor Positioning with BLE Beacons. Author: Uday Agarwal

INTRODUCTION TO WIRELESS SENSOR NETWORKS. CHAPTER 3: RADIO COMMUNICATIONS Anna Förster

Research Article Kalman Filter-Based Hybrid Indoor Position Estimation Technique in Bluetooth Networks

Node Localization using 3D coordinates in Wireless Sensor Networks

Research Article Improved UWB Wireless Sensor Network Algorithm for Human Intruder Localization

THE IMPLEMENTATION OF INDOOR CHILD MONITORING SYSTEM USING TRILATERATION APPROACH

One interesting embedded system

SIMULATION AND ANALYSIS OF RSSI BASED TRILATERATION ALGORITHM FOR LOCALIZATION IN CONTIKI-OS

Open Access Research on RSSI Based Localization System in the Wireless Sensor Network

Badri Nath Dept. of Computer Science/WINLAB Rutgers University Jointly with Wade Trappe, Yanyong Zhang WINLAB IAB meeting November, 2004

We Know Where You Are : Indoor WiFi Localization Using Neural Networks Tong Mu, Tori Fujinami, Saleil Bhat

ENERGY EFFICIENT SENSOR NODE DESIGN IN WIRELESS SENSOR NETWORKS

LOCALIZATION WITH GPS UNAVAILABLE

Partial overlapping channels are not damaging

An Algorithm for Localization in Vehicular Ad-Hoc Networks

Location Estimation in Ad-Hoc Networks with Directional Antennas

Extended Gradient Predictor and Filter for Smoothing RSSI

On the problem of energy efficiency of multi-hop vs one-hop routing in Wireless Sensor Networks

Site-Specific Validation of ITU Indoor Path Loss Model at 2.4 GHz

OMESH Networks. OPM15 Application Note: Wireless Location and Tracking

Ultrasound-Based Indoor Robot Localization Using Ambient Temperature Compensation

Optimized Indoor Positioning for static mode smart devices using BLE

Automated Switching Mechanism for Indoor and Outdoor Propagation with Embedded RFID and GPS in Wireless Sensor Network Platform

SpiderBat: Augmenting Wireless Sensor Networks with Distance and Angle Information

λ iso d 4 π watt (1) + L db (2)

ALPS: A Bluetooth and Ultrasound Platform for Mapping and Localization

AN0503 Using swarm bee LE for Collision Avoidance Systems (CAS)

International Journal of Advance Engineering and Research Development

Measurement and Experimental Characterization of RSSI for Indoor WSN

Keywords Localization, Mobility, Sensor Networks, Beacon node, Trilateration, Multilateration

best practice guide Ruckus SPoT Best Practices SOLUTION OVERVIEW AND BEST PRACTICES FOR DEPLOYMENT

MOBILE COMPUTING 1/28/18. Location, Location, Location. Overview. CSE 40814/60814 Spring 2018

Mobile Positioning in Wireless Mobile Networks

The Deeter Group. Wireless Site Survey Tool

ON THE CONCEPT OF DISTRIBUTED DIGITAL SIGNAL PROCESSING IN WIRELESS SENSOR NETWORKS

Performance Analysis of Different Localization Schemes in Wireless Sensor Networks Sanju Choudhary 1, Deepak Sethi 2 and P. P.

ZigBee Propagation Testing

Improving The Tracking Performance Of A Wireless Sensor Network Using Leak Detection And Localization Technique

CHANNEL ASSIGNMENT AND LOAD DISTRIBUTION IN A POWER- MANAGED WLAN

2-D RSSI-Based Localization in Wireless Sensor Networks

Abderrahim Benslimane, Professor of Computer Sciences Coordinator of the Faculty of Engineering Head of the Informatic Research Center (CRI)

Indoor Localization Alessandro Redondi

arxiv: v1 [cs.ni] 30 Apr 2018

INTRODUCTION TO WIRELESS SENSOR NETWORKS. CHAPTER 8: LOCALIZATION TECHNIQUES Anna Förster

IoT-Aided Indoor Positioning based on Fingerprinting

2nd World Conference on Technology, Innovation and Entrepreneurship May 12-14, 2017, Istanbul, Turkey. Edited by Sefer Şener

A NOVEL RANGE-FREE LOCALIZATION SCHEME FOR WIRELESS SENSOR NETWORKS

Performance Evaluation of DV-Hop and NDV-Hop Localization Methods in Wireless Sensor Networks

LABORATORY AND FIELD INVESTIGATIONS ON XBEE MODULE AND ITS EFFECTIVENESS FOR TRANSMISSION OF SLOPE MONITORING DATA IN MINES

Simple Algorithm for Outdoor Localization of Wireless Sensor Networks with Inaccurate Range Measurements

Study of RSS-based Localisation Methods in Wireless Sensor Networks

T. Yoo, E. Setton, X. Zhu, Pr. Goldsmith and Pr. Girod Department of Electrical Engineering Stanford University

Antennas & Propagation. CSG 250 Fall 2007 Rajmohan Rajaraman

Locali ation z For For Wireless S ensor Sensor Networks Univ of Alabama F, all Fall

Fine-grained Indoor Localisation using Wireless Sensor Networks. Katelijne Vandenbussche

muse Capstone Course: Wireless Sensor Networks

Collaborative Localization Algorithms for Wireless Sensor Networks with Reduced Localization Error

Application Note AN041

Active RFID System with Wireless Sensor Network for Power

Real-World Range Testing By Christopher Hofmeister August, 2011

Beacon Based Positioning and Tracking with SOS

Ad hoc and Sensor Networks Chapter 4: Physical layer. Holger Karl

Introduction to wireless systems

State and Path Analysis of RSSI in Indoor Environment

An Enhanced Floor Estimation Algorithm for Indoor Wireless Localization Systems Using Confidence Interval Approach

Node Positioning in a Limited Resource Wireless Network

Aerospace Structure Health Monitoring using Wireless Sensors Network

ANFIS-based Indoor Location Awareness System for the Position Monitoring of Patients

DV-HOP LOCALIZATION ALGORITHM IMPROVEMENT OF WIRELESS SENSOR NETWORK

olsr.org 'Optimized Link State Routing' and beyond December 28th, 2005 Elektra

2 Limitations of range estimation based on Received Signal Strength

Internet of Things Cognitive Radio Technologies

Using Linear Intersection for Node Location Computation in Wireless Sensor Networks 1)

FPGA-BASED DESIGN AND IMPLEMENTATION OF THREE-PRIORITY PERSISTENT CSMA PROTOCOL

Transcription:

RSSI-Based Localization in Low-cost 2.4GHz Wireless Networks Sorin Dincă Dan Ştefan Tudose Faculty of Computer Science and Computer Engineering Polytechnic University of Bucharest Bucharest, Romania Email: sorin.dinca@cti-pub.ro, dan.tudose@cs.pub.ro Abstract Wireless Sensor Networks (WSNs) is a technology which is increasingly implemented in a multitude of data acquisition, data processing, and control applications. Node localization in such networks is one of the topics which is currently intensely researched. The solution proposed in this paper is based on measuring the radio waves propagation from the emitter to the receiver. A new approach will be presented, an approach oriented on respecting the requirements of a low cost network like the low energy consumption, low processing power and the lack of specialized hardware. Keywords RSSI, Wireless Sensor Networks, Positioning I. INTRODUCTION Wireless sensor networks are characterized by severe limitations due to requirements such as low-cost design, low energy consumption and small dimensions. In the future, minimizing the cost and size of the nodes will lead to extended and scalable networks used in various applications, many of them locationaware. Because of these limitations traditional localization methods like GPS or assigning each node a xed position are almost impossible to use. Efcient, power-aware algorithms and appropriate hardware need to be developed in order to obtain satisfactory results. Based on a number of theoretical localization methods, the goal of this paper is to present an application that takes into account the above requirements and offers localization services to a low-cost wireless sensor network. A scalable and robust solution, based on RSSI measurement, implemented on a 2.4GHz network will be described. The solution will be implemented with minimum hardware and computation requirements, only the radio module of the sensor being needed. II. A STATE OF THE ART IN WIRELESS SENSOR NETWORK LOCALIZATION Localization is a relatively new research topic and only particular, platform-specic solutions have been developed. These solutions work well on one kind of network but they are difcult to adapt to another network, thus the need of developing a more general method, even though it will not provide results as accurate as the particular ones. As presented in [1], localization techniques can be anchor based or anchor free, radio wave based, centralized or distributed. Research in this area began around the year 2000, when American laws imposed the mobile operators to offer a tracking service for emergency calls, with an error less than 125 meters. When wireless sensor networks appeared, research results from mobile phones migrated to wireless sensor networks [2]. To the best of our knowledge, no general solution based only on the node s basic hardware has been fully developed. III. THEORETICAL PRINCIPLES IN LOCALIZATION The following principles are presented considering a network with two kinds of nodes: anchor nodes and regular nodes. In this architecture, only anchors are aware of their global coordinates. The nal goal is to obtain the spatial coordinates of each node in the network. As shown in [3], obtaining the exact coordinates of a node implies three major steps: Estimating the distances between the node and its neighbors that are anchors Calculating node s position in respect with a global coordinate Rening the coordinate using results from other nodes. A. Distance Estimation This step depends heavily on the features available on the platform such as the node s hardware. The survey in [4] suggests the following methods: Angle of arrival: if the hardware provides two antennas with different orientation, by measuring the phase difference between the signals received by the antennas, the distance to the emitter can be inferred [5]. Time Difference of Arrival: If the emitter can send two signals that have different propagation speeds, the receiver will measure the time difference between the arrival of the faster and slower signals and will deduce the distance.[6]

Distance Related Measurements: Location dependent parameters are measured from the received signal and the distance is deduced from the level of these parameters. In this paper, distances between nodes will be estimated with a Distance Related method which uses RSSI as a distance dependent parameter. RSSI (Relative Signal Strength Index) measures the attenuation of the received signal, usually in decibels. Knowing the electromagnetic waves attenuation law (known as Friis equation [7]), the emission power of the signal and its attenuation, the distance between the emitter and the receiver can be estimated. Since the results obtained are only estimations, we will attempt to enhance them with empirical rules which aid in nding the most accurate form of f(rssi) = d function. B. Position Calculation Based on the distances obtained at the rst step, mathematical algorithms are applied for obtaining the node s global coordinates. Trilateration and multilateration are suitable for distance related measurements, because they involve lengths not angles. Trilateration uses circle geometry to calculate a node s position from three other known locations (xed nodes). Using circle geometry, coordinates of the unknown point are calculated. Ideally, three points are enough to nd the exact (x,y) coordinates of a node, but considering that distances measured with RSSI method are not 100% accurate, more points will be needed in order to obtain low error rates in the calculated position. Ideally, the intersection of the three circles will be a point, but because of errors, the intersection will be a zone, as illustrated in Figure??. Multilateration equations are presented below: (x 1 x) 2 + (y 1 y) 2 = d 2 1 (1)... (x n x) 2 + (y n y) 2 = d 2 n (2) where x 1...x n, y 1...y n are anchors coordinates; d 1...d n are the distances measured from the rst step and (x,y) are the coordinates to be calculated. This system is re-written in matrix form: A = [ 2(x1 x n ) 2(y 1 y n ) ]...... 2(x n 1 x n ) 2(y n 1 y n ) (3) x 2 1 x 2 n + y1 2 yn 2 + d 2 n d 2 1 B =... (4) x 2 n 1 x 2 n + yn 1 2 yn 2 + d 2 n 1 d 2 n And the solution is: X= (A T A) -1 A T B, where X=(x,y) IV. APPLICATION ARCHITECTURE To prove that RSSI method is implementable in a low cost wireless sensor network it needs to be tested with the appropriate hardware. A 2.4GHz network that respects 802.15.4 standard has been chosen. Its characteristics are low power consumption and low processing capabilities so the localization application should be adapted to these constraints. In most of the applications the user needs to know a node s position, not the node itself, so in this example the nal results will be computed on the user application, not directly on the node. This saves a great amount of processing power at the sensor s level. A. Hardware Specications of Sensor Nodes Each node in the network is based on an 8-bit Atmel microcontroller, a transceiver and an on-chip antenna. This architecture offers reasonable performance at a low price. The radio module has a transmit power up to 3dBm and a receiver sensitivity up to -101dBm, which is suitable to test the RSSI localization method. RSSI is obtained by the transceiver with a resolution of 3dBm. The transceiver also computes the energy level for a received 802.15.4 frame, with a resolution of 1dBm. This level will be used instead of RSSI because of the better resolution. Fig. 1. Trilateration with errors at input. Multilateration is the extended version of trilateration, using as many anchors as available. By solving a simple system of equations, the coordinates of the unknown node will be provided. The antenna is the critical part in obtaining accurate results. Depending on its parameters (gain, isotropy, orientation) the test restults will vary more or less from an ideal scenario. For example, applying the wave attenuation equation to the onboard antenna, a maximum range of 100 meters is obtained. In practice, however, accurate measurements were possible within a range of only 10 meters from each sensor node.

B. Application Software As a support for our application we used a network stack called RUM (Route Under MAC, [8]). It supports IPv6 and UDP communication with the outside world. UDP commands are sent to a node which composes the answer and returns it to the sender. At node level, the simplest and most power effective program is desired. Therefore, the node s functionality is only to send its measured radio parameters to an external application located on a computer. The computations needed to nd the coordinates are executed by this external application. A graphical user interface is available to display the conguration of the network in the form of a map. V. EXPERIMENTAL RESULTS Implementing and testing this localization method has been done in several distinct steps in order to obtain the best results: Testing each module s functionality: radio parameters of the node, interface between network and the user application. Adjusting the theoretical method with the practical conclusions. Evaluation of the entire application and analyzing the results. Fig. 2. Test application modules. C. Principle of Operation The software on the node is designed to answer commands coming from the user, via UDP packets. The available commands handle simple tasks such as gathering RSSI information, sending information back to the user, reset, etc. When a node receives a command to gather neighbor information, it sends a number of broadcast packets to the network. A neighbor that receives a packet answers with an ACK packet. When receiving back an ACK packet, the node stores its associated RSSI value, in this form:sender address, received packet rssi. In this way, each node will form a list with all its neighbors. When the user wants to localize the node, it will request this list and do the localization if enough anchors are neighbors. The following pseudo code describes the way a node works: A. Testing Radio Parameters and Adjusting the Method Used to Obtain the Distance Between Two Nodes This step is very important in rening the results. The rst measurements taken showed that only applying the theoretical formula was not enough. Large errors occured due to the varying radio environment conditions. For example, when measuring a RSSI level that corresponded to a distance of 20 meters the actual distance between two nodes was only 2 meters. Also, when changing the orientation of the nodes but with the same distance between them, the results differed. This is mostly due to signal loss, interference with other WiFi and Bluetooth networks that were present on the test site and the deciencies in omnidirectionality of the small chip antennas on the sensor nodes. while (T RUE) get command(); if (command == gather inf o) send broadcast(); get ACK(); if (ACK received) get neighbor address(); get RSSI(); if (command == send info) for each(address, RSSI) do send to user(address, RSSI); od Fig. 3. Measured signal power variation with distance between nodes. It became apparent that a semi-empirical method would yield less erors in estimating the distance than a more conventional approach. After a series of measurements of the received signal strength versus distance, a nal form for the f(signal Strength) = distance function was developed. As shown in Figure 3, this function is not continuous so the errors still remain. In the range of 50-150 centimeters a great dispersion of the results is observed. Because of this, a variation in the received signal will not mean all the times a variation in the distance.

B. Test Scenarios After testing the radio parameters, several test scenarios needed to be developed in order to understand the behavior of the localization method in different environments and with different topologies. The following scenarios were taken into consideration: Indoor placement, sensors placed in line of sight one with each other, ve anchors Indoor placement, sensors not necessarily in line of sight, variable number of anchors Outdoor placement, line of sight, greater distance between nodes. For each scenario, the unknown nodes were placed in different positions, inside or outside the area formed by the anchors. Because of the low transmission powers, the maximum distance between nodes has been 10 meters in indoor scenarios and 25 meters in outdoor scenarios. Only flat surfaces have been considered, meaning the z coordinates of all nodes were equal. The method can be adapted without difculties to obtain the (x,y,z) global coordinates for a node. area formed by the anchors. Line of sight is an important error factor due to the way radio waves are propagating. Reflections that attenuate the signal appear between non line of sight nodes. The most important factors that influence precision are: The number of anchors The number of anchors in line of sight Antenna isotropy Spatial conguration of the network. The influence of these factors can be observed from the graphs below. Egregious errors appeared in all test scenarios. Their rate was signicant, but decreased to a manageable level when utilizing multiple anchors, as observed in Figure 5. When localizing with more than 5 anchors, egregious errors tended to stabilize at 10% of all the tests. Fig. 5. Egregious error rate variation with the number of anchors. Fig. 4. Measured precision variation with the number of used anchors. As seen in Figure 6, non line of sight nodes are an important error source. This is due to the signal being affected by reflections and distortions that alter its strength. C. Result Analysis After functional tests on each module of the application, the results were analyzed. The purpose was to check that the theoretical localization methods presented above can be used in practice. The results were dependent on the factors presented above and also on the environment where the sensor network was placed. For each scenario and for each position of an unknown node in the network, a maximum error of 30-40 centimeters was obtained. This is a precision of approximately 90%, a good value considering that exact precision is not the main criteria in this kind of applications. The most favorable case is when a node is positioned in the area formed by the anchors, in line of sight with each of it. We determined that the closer the nodes are, the lesser the errors. The most unfavorable case is when the node is not in the Fig. 6. Influence of line of sight anchors in the precision.

VI. CONCLUSIONS AND FUTURE WORK The needs of positioning a node in a wireless sensor network lead to searching for a robust and generic method to solve this problem. The localization method presented above proved to be an optimal solution in case an exact precision is not needed. Its advantages are that it can be implemented in any kind of network, not needing to install additional hardware. In this paper we described an application that runs over a wireless sensor network and allows an external user to localize a node in this network. Unlike the hardware-dependent methods proposed by other authors this one offers greater applicability with the cost of a lower precision. The low power consumption requirements have been reached by moving the localization computations on the user s computer. Although RSSI is a very noisy indicator, it was demonstrated that with careful empirical estimations it can be successfully used in estimating distances between nodes. After evaluating the application, several methods of improvement have been discovered. The main defciency of this implementation was the node hardware, especially the radio circuitry which, due to its low cost, was unable to perform accurately. Node antennas presented a large grade of anisotropy, seriously disturbing the accuracy of the localization. Because of the small gain of the antennas, the real distances possible to measure were far smaller than the ideal ones. The rst improvement is replacing the antenna on the nodes with a better one, much closer to the ideal isotropic model. The costs are not large comparing to the increase in performance obtained. Estimating the distances between nodes with RSSI is an indirect method that leads to errors. Another method can be used but the hardware must be changed. This application can be considered as a base for other, more precise ones. The obtained results are above expectations, the reached performances allowing the use of this method in many industrial or research low cost wireless sensor networks. Annual IEEE Communications Society on Sensor and Adhoc Communications and Networks, 2006 [6] W. Zhang, Q. Yin, W. Wang, Distributed TDoA estimation for wireless sensor networks, Acoustics Speech and Signal Processing (ICASSP), 2010 IEEE International Conference [7] H. T. Friis, A note on a simple transmission formula, Proc. IRE, pp. 254-256, 1946. [8] http://www.atmel.com/dyn/resources/prod documents/doc8240.pdf VII. ACKNOWLEDGEMENTS This work has been funded by the European Commission under grant agreement FP7-ICT-258280 TWISNet project. REFERENCES [1] A. Pal, Localization Algorithms in Wireless Sensor Networks: Current Approaches and Future Challenges, Network Protocols and Algorithms, vol. 2, 2010 [2] S. Capkun, M. Hamdi, J.P. Hubaux, GPS-free positioning in mobile ad-hoc networks [3] K. Langendoen, N. Reijers, Distributed localization in wireless sensor networks:a quantitative comparison, in Computer Networs, vol 43, 2003, pp. 499-518 [4] G. Mao, B. Fidan, B. D.O. Anderson, Wireless Sensor Network Localization Techniques [5] R. Peng and M. L. Sichitiu, Angle of Arrival Localization for Wireless Sensor Networks, 3rd