Design and Construction of Link Quality and Localization Protocol Algorithms at WSN over IEEE802.15.4 Physical Protocol
Héctor Kaschel C.1, Luis Sánchez y B.2, José G. Mardones F.3, Gustavo Quezada C.3
1 Departamento de Ingeniería Eléctrica, Facultad de Ingeniería
2 Departamento de Matemáticas, Facultad de Ciencias
3 Doctorado en Ciencias de la Ingeniería, Mención Automática
Abstract: This work describes the steps for obtaining two link layer protocols for a wireless sensor network WSN, which functions integrated at single stack. The central axis for the development is the Received Signal Strength Indicator of the signal radio available at the implementation of the radio system in the IEEE802.15.4 standard. The protocols developed are quality link management protocols and positioning and localization protocols. The final results are completed with the protocols time synchronization, topology control and routing for generating a single protocols stack loading at nodes of WSN applied to industrial processes.
Keywords: Wireless Sensor Network, IEEE802.15.4, ZigBee, RSSI, Data Link Layer Protocol, Quality of Link, Link Indicator, Anchors, Positioning and Localization, Protocols Stack.
CITE THIS PAPER AS:
Héctor Kaschel C., Luis Sánchez y B., José G. MARDONES F, Gustavo QUEZADA C., Design and Construction of Link Quality and Localization Protocol Algorithms at WSN over IEEE802.15.4 Physical Protocol, Studies in Informatics and Control, ISSN 1220-1766, vol. 20 (3), pp. 285-292, 2011. https://doi.org/10.24846/v20i3y201109
Wireless Sensor Network WSN consists of individual nodes capable of interacting with their environment across sensing or physical parameters control; these nodes are collaborating amongst themselves to complete their tasks; tasks they cannot do individually. They use wireless communication for collaboration. In essence, the nodes are shaping a network because they have computer, wireless communication and control or sensing functions .
The origin of this work is the need to dispose of a WSN protocols stack whose performance can be considered as a complete object, fundamentally for three reasons:
- WSN will be applied in an industrial environment either as a plant or outdoor labor.
- If WSN is applied to this environment, two very important conditions will be presented: firstly, that the industrial processes will be functioning in real time and secondly, that the network is fault tolerant  to achieve a very high reliability rate.
- The current available hardware permits load software pieces of a size that allows each node to contain all the necessary information for building a protocols stack and has space for a host of other applications.
- To meet with the given conditions, the software modules should be built as a single object with several options, for each protocol.
All network functionality is subordinated to the layer model, those sharing modules at the link andnetwork layer, as shown in figure 1.
Figure 1. Protocols model by layer
Figure 1 shows the implementation of link management and localization protocols that is necessary for the efficient performance of topology control and routing protocols, as the first step of development, which includes all mentioned protocols. In addition, the time synchronization protocol coordinates the execution of other protocols.
A review on current literature on this issue reveals no evidence of the development of an integral solution, as described in this paper, therefore this work is a new contribution to the field of WSN research.
Each software module contains a protocol that meets a specific function and is related to neighboring modules that share data and information. This allows a sequential machine to be simulated by parallel machine behavior.
In previous works the layer models are raised  to watch the phenomena from perspectives not necessarily compliant with the OSI model, or else focused on the data and service perspectives that the network supports.
Also, previous publications have defined protocols with similar functions but they work independently amongst themselves  without apparent intentions of generating a stack, as is proposed in this investigation. Also the treatment of the link management protocol is poor, especially when it is based on obtaining the Received Signal Strength Indicator (RSSI) parameter that offers a measurement tool for the power of received signals. There remains a doubt about the effectiveness since the errors produced at the lowest power (- 60 dBm or less) require care with the treatment that the existing authors have been justified in using . The author of the investigation produced evidence that validates the use of RSSI and contributes to the WSN layered protocols development.
The link management protocol directly affects other link layer protocols, as well as the network layer protocols, because by knowing the link quality one does not need to spend time and energy in framing, topology controlling and routing.
By respecting localization and positioning modules, there exist multiple proposals  y , that consider RSSI as a key factor for determining the distance between nodes that permit, by various methods, the setup position of each node into the network. Other methods include the Signal Angle of Reception and the Reception Differential of Time Arriving methods, but in both of these cases it is necessary to pay an additional cost, such as an addressable antenna for the first case and the dedicated clock algorithm which consumes machine cycles, for the second case.
The proposal developed here considers the RSSI, not from the neighboring nodes, but from anchors located at default positions that form an absolute coordinated system. There have been two attempts to develop this [ ], but neither attempt considered an absolute coordinated system. In one case a mobile anchor is used and in the other the information about the anchor’s position is incorporated as data into packets that flow across the nodes. Therefore, evidence relative to these cases does exist.
With the intent to validate the hypothesis that the use of RSSI is the most reliable technique with the lowest cost, it is necessary prove in the field what some authors have suggested through their own research: that that the RSSI at IEEE802.15.4 standard implementations, is between -30 dBm and -90 dBm 
To obtain a design according to what we want to achieve, a small network without load is built, in indoor and outdoor conditions and measurements of RSSI were obtained. This network works with nodes built over ZigBee technology, one node connected to a portable computer and another autonomous and mobile node, supplied by batteries.
The data collected through testing is considered as a reference and a justification for establishing a design criterion for an algorithm which would determine a quality link indicator. This would permit other protocols to take decisions of whether or not to do the work. If the decision is negative, then it would generate a timeout until the indicator is reliable.
The positioning and localization protocol is projected using the same RSSI to which applies a trilateralization algorithm. The RSSI was collected from three fixed anchors which mark the absolute coordinates. By computing the Euclidean distances algorithm, where the distances are obtained from the relationship between RSSI and the distance from the emitter, the approximated position into the coverage area from the network is determined.
When the network is operating fully, these protocols should work embedded into a microcontroller with a low memory and processing capacity, which is directly connected to a radio transceiver system ZigBee and the sensor: this set is called a sensor node.
This document is organized into sections; the Section II shows how to plan, organize and execute the testbed that permits the collection of the data, describing exactly the use of devices; later, in Section III the results of the measurements are shown, explaining the relationship with the scenarios in which they were obtained; later, section IV describes the aspects related to link management protocol development and how the quality indicator is deployed. Section V shows what, according to author, is a notable contribution to WSN research, such as the use of anchors or beacons in the construction of an absolute coordinated system, not only for localization processes but, also, for topology control. The Section VI specifies the development criteria and the algorithm for the localization and positioning protocols that use the RSSI parameter as the operational central axis, while the Section VII delivers the remaining challenges for future researches and the conclusions obtained.
- HOLGER, K., A. WILLIG, Protocols and Architectures for Wireless Sensor Networks. John Wiley & Sons. 2005.
- VITTURI, S., I. CARRERAS, D. MIORANDI, L. SCHENATO, A. SONA, Experimental Evaluation of an Industrial Application Layer Protocol over Wireless Systems. IEEE Transactions on Industrial Informatics, vol. 3, no. 4, November 2007, pp. 275-288.
- CUCINOTTA, T., A. MANCINA, G. F. ANASTASI, G. LIPARI, L. MANGERUCA, R. CHECCOZZO, F. RUSINÀ, A Real-Time Service-Oriented Architecture for Industrial Automation. IEEE Transactions on Industrial Informatics, vol. 5, no. 3, August 2009. pp. 267-277.
- NITAIGOUR, P. M., Sensor Networks and Configuration. Springer Science + Business Media B.V. 2007 ISBN-13 978-3-540-37364-3.
- WILLIG, A., M. KUBISCH, C. HOENE, A. WOLISZ, Measurements of a Wireless Link in an Industrial Environment using an IEEE 802.11-compliant Physical Layer., Transaction on Industrial Electronics, vol. 49, no. 6, December 2002, pp. 1265-1282.
- VERDONE, R., D. DARDARI, G. MAZZINI, A. CONTI, Wireless Sensor and Actuators Networks. Technologies, Analysis and Design. Academic Press. 2008. ISBN 978-0-12-372539-4.
- SRINIVASAN, K., P. LEVI, RSSI is Under Appreciated, in Proceedings of the Third Workshop on Embedded Networked Sensors, 2006.
- HAUER, J.-H., V. HANDZISKI, A. WOLISZ, Experimental Study of the Impact of WLAN Interference on IEEE 802.15.4 Body Area Networks Wireless Sensor Networks, 6th European Conference, EWSN 2009 Proceedings, Cork, Ireland, February 11-13, 2009 pp. 17-32.
- PAPAMANTHOU, C., F. P. PREPARATA, R. TAMASSIA, Algorithms for Location Estimation Based on RSSI Sampling, Algorithmic Aspects of Wireless Sensor Networks. Fourth International Workshop ALGOSENSORS 2008 Reykjavik, Iceland, July 2008, Revised Selected Papers, pp. 72-86.
- BOUKERCHE, A., H. A. B. F. OLIVEIRA, E. F. NAKAMURA, A. A. F. LOUREIRO, Localization Systems for Wireless Sensor Networks, Algorithms and Protocols for Wireless Sensor Networks, Azzedine Boukerche, PhD. John Wiley & Sons, 2009, pp. 307-340.
- KWON, T., J. H. LEE, J. S. SONG, Location-Based Pairwise Key Predistribution for Wireless Sensor Networks, IEEE Transactions on Wireless Communications, vol. 8, no. 11, November 2009, pp. 5436-5442.
- SHUANG, T., Z. XIMMING, W. XINGUO, S. PENG, Z. HAIYANG, A Selective Anchor Node Localization Algorithm for Wireless Sensor Networks, 2007 International Conference on Convergence Information Technology Proceedings, pp. 358-362.
- LAU, E.-E.-L., B.-G. LEE, S.-C. LEE, W.-Y. CHUNG, Enhanced RSSI-based High Accuracy Real-Time User Location Tracking System for Indoor and Outdoor Environments, International Journal on Smart Sensing and Intelligent Systems, vol. 1, no. 2, June 2008, pp. 534-548.
- NIEWIADOMSKA-SZYNKIEWICZ, E., M. MICHAL, Optimization Schemes for Wireless Sensor Network Localization, International Journal of Applied Mathematics and Computer Science, vol. 19, no. 2, 2009, pp. 291-302.
- HEIKO, W., N. DZIENGEL, J. SCHILLER, Distance-Based Distributed Multihop Localization in Mobile Wireless Sensor Networks, Tech Republic, September 2009.
- ZHANG. Y. Z. B. F. Y. S. NING, A RSSI Based Localization Algorithm Using a Mobile Anchor Node for Wireless Sensor Networks, 2009 International Joint Conference on Computational Sciences and Optimization.
- CASEY, P. R., K. E. TEPE, K. NARAYAN, Design and Implementation of a Testbed for IEEE 802.15.4 (Zigbee) Performance Measurements, EURASIP Journal on Wireless Communications and Networking, Volume 2010, 11 pages.