Download as pdf or txt
Download as pdf or txt
You are on page 1of 5

The performance of QoS in wireless sensor networks

Néstor Zamora Cedeño, Orlando Philco Asqui, Emily Estupiñan Chaw


Universidad Católica Santiago de Guayaquil
Facultad de Educación Técnica para el Desarrollo
Guayaquil, Ecuador
nestor.zamora@cu.ucsg.edu.ec, luis.philco@cu.ucsg.edu.ec, emily.estupinan.chaw@gmail.com

Abstract — This research paper provides a brief description of the concepts of the sensor network are detailed the protocol to be
wireless sensor network and the protocol to be used. Through this used, in section III the simulations is presented in NS-3 , in
technology, benefits are obtained that provide the sensor networks section IV they are exposed the results and in section V show
together with greater freedom when placing the sensors in the the conclusions.
vicinity of the target. In wireless sensor networks, routing is a
critical and important aspect. The work focuses on the performance
of the quality of services in the wireless sensor network (WSN) II. WIRELESS SENSOR NETWORKS
under the AODV routing protocol. This document tries to Wireless sensor networks have their own characteristics and
characterize the AODV protocol by performing simulations in the some of the appropriate Ad-Hoc networks such as [8]:
NS3 (Network Simulator Version 3) program. In the simulations of
the AODV protocol, a set of metrics that can be used for A. Dynamic topology:
comparisons in different scenarios are shown. The main objective The wireless sensor network can change its topology
of this document will be to offer a suitable simulation environment
dynamically, allowing them to adapt to possible changes in the
to determine the operation of the protocol to be used in wireless
sensor networks. environment, even having mobile nodes that can move through
the network's deployment area.
Keywords – WSN; AODV; NS-3; Throughput.; QoS; protocol B. Channel variability.:

I. INTRODUCTION This feature has the ability that the radio channel is very
variable, which can be away from the phenomena that exist
The wireless sensor networks (WSN) constitute a large variety
such as attenuation, fading and interference that can produce
of nodes organized in a cooperative network, which uses
errors in the data [9].
sensors in an area to monitor climatic conditions. These
networks acquire an ease of expansion and their ability to C. Error tolerance:
repair themselves [1].The development of wireless sensor
networks was motivated by military applications such as In the sensor network, all devices must have the ability to
surveillance on the battlefield [2] ; Nowadays, these networks continue their operation under any circumstance.
are used in many areas of industrial and civil application, D. Energy consumption:
including the monitoring and control of industrial processes,
the monitoring of the state of the machine, the monitoring of This characteristic is one of the sensitive ones since this
the environment and the habitat, the applications of medical network has a limited energy capacity, for this reason each
attention, the automation of home and traffic control. The sensor node has a low consumption processor making the
performance of a WSN is normally determined by its average energy consumption more restrictive [10].
power consumption, which in turn determines the network's
lifetime (period for which the network remains functional)[3]. III. AODV PROTOCOL.
The WSN must achieve the ability to control the overall Wireless sensor networks need routing protocols because they
performance of the network to ensure transmission with quality are essential in the lifespan of these networks [11], the protocol
of service [4]. Quality of service (QoS) is defined as a most used for this type of network is the AODV (On-Demand
collective effect of performance service, which determines the Distance Vector Routing) protocol, since it looks for the
degree of satisfaction of a user's service [5], [6]. shortest route and the lowest number of jumps, causing the
In general, the QoS of telecommunications networks justifies nodes to reduce traffic while avoiding energy consumption
controls and evaluations of devices [7]. The QoS is oriented to [12].
the evaluation of the management of delay parameters,
variation of delay (jitter), loss of packets in a network, and The AODV protocol is a reactive protocol that means that it
energy consumption, looking for a suitable configuration of the exerts only if there is a need to transmit to a destination through
protocol to obtain a good response for these variables. an unknown route [13], [14]. The AODV is a protocol that uses
less bandwidth and computational processing, since it does not
The purpose of this research work is to evaluate the send packets unless it is necessary. It works well in conditions
performance of the wireless sensor network under the AODV where mobility is high, incorporates mechanisms to avoid the
reactive routing protocol with the quality of services using the formation of loops and quickly detects changes in the topology
NS-3 simulation platform. The rest of the research work is of the network adapting the routes to these changes [12].
divided in the following way: section II the fundamental
2019 14th Iberian Conference on Information Systems and Technologies (CISTI)
19 – 22 June 2019, Coimbra, Portugal
ISBN: 978-989-98434-9-3
AODV is a demand routing algorithm that establishes a link For wireless sensor network performance is evaluated in three
between a source node and a destination node, only when it scenarios of 15, 30 and 60 nodes, using the AODV protocol
needs to send information, and discards the route at the end of with a mesh topology, a simulation time of 100 seconds and a
the exchange, generating a new connection in case of another random uniform distribution. As seen in fig.1- 3.
shipment. This protocol uses a route discovery mechanism in
broadcast mode, in which route request messages (RREQ,
Route Request) and route response messages (RREP, Route
Reply) are exchanged [15], [16].
• Route Request (RREQ): Generated by the source node and
forwarded through the intermediate nodes to the destination
node. It allows a discovery of possible paths to the destination
[17].
• Route Reply (RREP): Message generated from the
destination to the origin through a single route, chosen for
transmission [18].
• Route Error (RERR): Error message that is generated when
a link is interrupted. In an Ad-Hoc network based on the
AODV demand routing algorithm, the request, response and
error messages (RREQ, RREP, RERR) are controlled by
means of variables and flags, included in said messages,
ensuring that there is no redundancy, endless cycles and Figure 1. WSN network with 15 nodes
unnecessary expenditure of resources [19], [20], [18]

The route discovery mechanism is as follows: the packet is


forwarded by all the nodes by which it is received, until the
destination is found. On the way to the destination, the RREQ
informs all intermediate nodes about a route to the source.
When the RREQ arrives at the destination, destination sends a
Route Response packet (RREP) that follows the reverse route
discovered by RREQ. This informs all intermediate nodes
about a route to the destination node. After RREQ and RREP
are delivered to their destination, each intermediate node in the
route knows which node to forward data packets in order to
reach the source or destination. Therefore, data packets do not
need to carry addresses of all intermediate nodes in the route. Figure. 2. WSN network with 30 nodes
It only takes the address of the destination node, decreasing
routing expenses significantly. [21], [18], [16]

Among the fields that make up the request and response


messages (RREQ and RREP) [22], the following are
highlighted:

• Sequence Destination Number: Field that contains a sequence


number of the packets forwarded to the destination, in order to
avoid duplicate packets.
• Precursor list (neighbor list): Contains the IP address of the
direct neighbors of a node.
• Hop counter: Hop counter very used in routing algorithms.
• TTL: Package lifetime.
• Source and destination addresses: IP addresses, version 4.

It is concluded that the AODV protocol allows an efficient data Figure. 3. WSN network with 60 nodes
exchange, in control data exchange applications, with less
expensive nodes and with reduced packet sizes. The AODV routing protocol was evaluated by the following
metrics:
IV. ANALYSIS IN THE NS-3 SIMULATOR.
• Packages sent, received and lost: Allows analyzing the
The simulator NS-3, a free simulator for educational and impact of control messages on the network. The total number
research use, free of license and available for any platform such of control messages sent (RREP, RREQ, RERR) and the total
as Linux, Windows, Mac OS, is used [23]. This research work number of error messages will be analyzed.
is used in the Linux platform (Ubuntu) using the NS-3.25
simulator.

2019 14th Iberian Conference on Information Systems and Technologies (CISTI)


19 – 22 June 2019, Coimbra, Portugal
ISBN: 978-989-98434-9-3
• Throughput: This metric is obtained from the average ratio A. Packages sent, received and lost:
of successful deliveries of data packets in a communication
channel. From the results obtained it is observed in fig. 4 the packages
• Package delivery rate (PDF) [%]: Number of data packets increase as the number of nodes in the network grows. Thus,
delivered successfully to the destination node (coordinator) the network with sixty nodes presents higher levels of both sent
divided by the number of packets generated by the source node and received packets.
(other nodes in the network).
• Loss of packets [%]: The percentage of transmitted packets
that are discarded in the network, due to a high error rate in
some of the link means or to exceed the buffer capacity of an
interface in times of congestion.

V. RESULTS.
This part presents the results obtained from each scenario and
checks the metrics obtained when executing the simulations.
Next, the tables of the results obtained from each scenario are
shown.
TABLE I. RESULTS OF THE WSN NETWORK WITH 15 NODES.

Parameters Results Figure. 4 Results of sent, received and lost packets.


Total nodes 15
B. Throughput.
Total Tx Packets 1604
In the fig. 5, it is observed that increasing the number of nodes
Total Rx Packets 395 in the WSN network presents a higher performance, that the
Total Packets Lost 1209 WSN network with sixty nodes presents high levels of energy
consumption.
Throughput 3.29601e-08 Kbps
Packets Loss Ratio 75%
Packets Delivery Ratio 24%

TABLE II. RESULTS OF THE WSN NETWORK WITH 30 NODES .

Parameters Results

Total nodes 30
Total Tx Packets 42895
Total Rx Packets 39708
Total Packets Lost 3187
Throughput 3.45158e-06 Kbps
Figure. 5 Result of throughput in the WSN network.
Packets Loss Ratio 7%
C. Package delivery rate (PDF) [%].
Packets Delivery Ratio 92%
From fig 6, it is observed that in the AODV routing protocol
the packet delivery rate varies according to the number of
nodes, however, as the WSN network increases in data
TABLE III. RESULTS OF THE WSN NETWORK WITH 60 NODES. transmission.
Parameters Results

Total nodes 60
Total Tx Packets 80191
Total Rx Packets 72727
Total Packets Lost 7464
Throughput 6.32239e-06 Kbps
Packets Loss Ratio 9%
Packets Delivery Ratio 90%

Figure. 6 Results of the package delivery rate (PDF).

2019 14th Iberian Conference on Information Systems and Technologies (CISTI)


19 – 22 June 2019, Coimbra, Portugal
ISBN: 978-989-98434-9-3
D. Loss of packets [%]. Radio Cognoscitivo», Revista Iberoamericana de Automática e
Informática Industrial RIAI, vol. 13, n.o 1, pp. 92-102, ene. 2016.
The packet loss as seen in fig 7, results in the WSN network [4] C. Taffernaberry, A. Diedrichs, G. Mercado, G. Grünwaldt, G.
with the largest number of nodes obtaining less percentage of Tabacchi, y M. Pecchia, «Aplicaciones del RFC 4944 -
transmitted packets that are discarded in the network, 6lowPAN - en IoT SIPIA6 - Red de Sensores Inalámbricos con
improving the packet loss rate. IPv6», p. 4, 2015.
[5] A. Barbieri, «Modelo extendido de QoS sobre IPv6»,
Universidad Nacional de La Plata, Argentina, 2015.
[6] V. Kumar y A. K. Gupta, «Measuring Parameters of Quality of
Service in Wireless Sensor Networks», vol. 3, n. o 11, p. 6, 2014.
[7] B. K. J. Al-Shammari, N. Al-Aboody, y H. S. Al-Raweshidy,
«IoT Traffic Management and Integration in the QoS Supported
Network», IEEE Internet of Things Journal, vol. 5, n.o 1, pp.
352-370, feb. 2018.
[8] P. Tiwari, V. Prakash, R. Gaurav, y D. Bhavsar, «Wireless
Sensor Networks: Introduction, Advantages, Applications and
Research Challenges», ResearchGate, 2015. [En línea].
Disponible en:
https://www.researchgate.net/publication/296802403_Wireless
_Sensor_Networks_Introduction_Advantages_Applications_an
d_Research_Challenges. [Accedido: 16-feb-2019].
[9] A. Bildea, «Link Quality in Wireless Sensor Networks», p. 146,
2015.
Figure. 7 Result of the packet loss. [10] M. Mancilla, E. López-Mellado, y M. Siller, «Wireless Sensor
Networks Formation: Approaches and Techniques», Journal of
VI. CONCLUSION. Sensors, 2016. [En línea]. Disponible en:
https://www.hindawi.com/journals/js/2016/2081902/.
This research work evaluates some parameters of the QoS for [Accedido: 16-feb-2019].
performance of the WSN network under the AODV routing [11] A. Sarkar y T. Senthil Murugan, «Routing protocols for wireless
protocol in the NS-3 simulator. It analyzes 4 metrics (packet sensor networks: What the literature says?», Alexandria
sent, received and lost, throughput, Packet Delivery Rate Engineering Journal, vol. 55, n.o 4, pp. 3173-3183, dic. 2016.
(PDF) and Loss packets). The evaluation is made for a network [12] P. A. Gómez Puerta, G. A. Posada Pérez, y M. A. Vallejo
Velásquez, «Performance evaluation of AODV routing protocol
in mesh topology, considering different scenarios (15, 30, 60
for different scenario in wireless sensor networks», Ingeniería y
nodes), a simulation time of 100 seconds and with a random Desarrollo, vol. 32, n. o 1, pp. 80-101, ene. 2014.
uniform distribution. [13] P. Butle, R. Dev, A. Dalvi, y M. Dautpure, «Securing on
The results obtained from the simulations can be concluded Demand Source Routing Protocol in Mobile Ad-Hoc Networks
that: the AODV routing protocol shows some improvements in by Wormhole Attacks», vol. 05, n. o 03, p. 6.
the wireless sensor network, since by increasing the number of [14] N. Shabbir y S. R. Hassan, «Routing Protocols for Wireless
nodes it is possible to find the best route for data transmission Sensor Networks (WSNs)», Wireless Sensor Networks - Insights
or message flow, not However, it presents a higher and Innovations, oct. 2017.
performance, that is, a high energy cost, therefore, with a [15] K. Kumar, «A New Comparative Study of AODV & DSR
Routing Protocols in Mobile Ad-Hoc Networks», p. 6, 2015.
reduced life time. As future work, we intend to carry out,
[16] E. Kulla, M. Ikeda, L. Barolli, F. Xhafa, M. Younas, y M.
through the simulations, an implementation of the wireless Takizawa, «Investigation of AODV Throughput Considering
sensor network located on the campus of the Catholic RREQ, RREP and RERR Packets», en 2013 IEEE 27th
University of Santiago de Guayaquil. International Conference on Advanced Information Networking
and Applications (AINA), Barcelona, 2013, pp. 169-174.
ACKNOWLEDGMENT [17] A. Saini, «Analysis of Security Attacks and Solution on Routing
Protocols in MANETs», p. 8, 2016.
This work was carried out with the support of the research [18] S. R. Das, E. M. Belding-Royer, y C. E. Perkins, «Ad hoc On-
center (SINDE Subsistema de Investigación y Desarrollo) and Demand Distance Vector (AODV) Routing». [En línea].
the Catholic University of Santiago de Guayaquil. Disponible en: https://tools.ietf.org/html/rfc3561. [Accedido:
16-feb-2019].
REFERENCES. [19] A. Taha, R. Alsaqour, M. Uddin, M. Abdelhaq, y T. Saba,
«Energy Efficient Multipath Routing Protocol for Mobile Ad-
[1] I. Ullah, A. Safi, M. Arif, N. Azim, y S. Ahmad, «(PDF) Hoc Network Using the Fitness Function», IEEE Access, vol. 5,
Wireless Sensor Network Applications for Healthcare», pp. 10369-10381, 2017.
ResearchGate, 2017. [En línea]. Disponible en: [20] Z. Hong-tu y M. Yue-qi, Improved Routing Algorithm Research
https://www.researchgate.net/publication/317338965_Wireless for ZigBee Network. .
_Sensor_Network_Applications_for_Healthcare. [Accedido: [21] N. Kaur, A. Singh, A. Kumar, M. B. Shrma, y D. Jalandhar,
16-feb-2019]. Navjot Kaur et al. / Indian Journal of Computer Science and
[2] D. Goyal y M. R. Tripathy, «Routing Protocols in Wireless Engineering (IJCSE) Comparison and Analysis of RREQ and
Sensor Networks: A Survey», en 2012 Second International RREP for Dynamic Wireless Network .
Conference on Advanced Computing & Communication [22] Gaona, Mancera, y Trujillo, «Routing Algorithm with topology
Technologies, Rohtak,Haryana, India, 2012, pp. 474-480. reconfiguration for Wireless Sensor Network applied to
[3] I. Leyva-Mayorga, M. E. Rivero-Angeles, C. Carreto-Arellano, microgrid in Island mode», 2016. [En línea]. Disponible en:
y V. Pla, «Análisis de Desempeño de un Protocolo para Redes https://revistas.uis.edu.co/index.php/revistauisingenierias/articl
Inalámbricas de Sensores Basado en TDMA con Capacidades de e/download/93-104/7519?inline=1. [Accedido: 16-feb-2019].
[23] NS-3, «NS-3 network simulator Tutorial». 2013.

2019 14th Iberian Conference on Information Systems and Technologies (CISTI)


19 – 22 June 2019, Coimbra, Portugal
ISBN: 978-989-98434-9-3
2019 14th Iberian Conference on Information Systems and Technologies (CISTI)
19 – 22 June 2019, Coimbra, Portugal
ISBN: 978-989-98434-9-3

You might also like