Next Article in Journal
Data Decomposition Techniques with Multi-Scale Permutation Entropy Calculations for Bearing Fault Diagnosis
Next Article in Special Issue
On the Energy Efficiency of On-Off Keying Transmitters with Two Distinct Types of Batteries
Previous Article in Journal
Synchronized High-Speed Vision Sensor Network for Expansion of Field of View
Previous Article in Special Issue
Adaptive LINE-P: An Adaptive Linear Energy Prediction Model for Wireless Sensor Network Nodes
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Sigma Routing Metric for RPL Protocol

1
Departamento de Ingeniería de Sistemas, Universidad Simón Bolívar, Barranquilla 080001, Colombia
2
Departamento de Ingeniería de Sistemas, Universidad del Norte, Barranquilla 080001, Colombia
*
Author to whom correspondence should be addressed.
Sensors 2018, 18(4), 1277; https://doi.org/10.3390/s18041277
Submission received: 3 March 2018 / Revised: 16 April 2018 / Accepted: 17 April 2018 / Published: 21 April 2018

Abstract

:
This paper presents the adaptation of a specific metric for the RPL protocol in the objective function MRHOF. Among the functions standardized by IETF, we find OF0, which is based on the minimum hop count, as well as MRHOF, which is based on the Expected Transmission Count (ETX). However, when the network becomes denser or the number of nodes increases, both OF0 and MRHOF introduce long hops, which can generate a bottleneck that restricts the network. The adaptation is proposed to optimize both OFs through a new routing metric. To solve the above problem, the metrics of the minimum number of hops and the ETX are combined by designing a new routing metric called SIGMA-ETX, in which the best route is calculated using the standard deviation of ETX values between each node, as opposed to working with the ETX average along the route. This method ensures a better routing performance in dense sensor networks. The simulations are done through the Cooja simulator, based on the Contiki operating system. The simulations showed that the proposed optimization outperforms at a high margin in both OF0 and MRHOF, in terms of network latency, packet delivery ratio, lifetime, and power consumption.

1. Introduction

With the development of technology and the dissemination of smart technology, more and more devices are now connected to the Internet. This has unleashed the advancement of the Internet of Things (IoT) and the Low Power and Lossy Networks (LLN). The IoT is a concept in which every object or thing is connected to the Internet, allowing us to access them at any time and place, as long as an internet connection exists [1,2,3]. The nature of IoT is based on the use of wireless sensor networks. IoT was applied to the concept of intelligent cities, allowing cities to use sensor networks to build technological solutions that are efficient for the number of challenges that they face, such as the solution to problems of vehicular mobility [3,4].
Recently there has been a great interest in research and experimentation of wireless sensor networks, specifically in IPv6 routing for low-power consumption with high packet loss rates. As indicated in [5] over the years, the wireless network community has researched hundreds of new routing protocols aimed at different scenarios. However, most of the protocols’ requirements consist of energy and Quality of Service (QoS), for which they have been using aggressive standards or techniques for the autonomy of the batteries in the terminals (devices), the link quality, the network lifetime and the QoS offered to the user [1,2,3,6]. In today’s society, there is a great need to quickly access the diverse information offered by the Internet, emphasizing LLN with link state quality. However, in this field, there are still many topics of study that are still in constant evolution today [6,7,8,9,10,11].
Routing into such networks has been considered a challenge, which is why it is the focus of many research and global standardization groups. These groups lead directly to the design of the routing protocol IPv6 for LLN, called the “IPv6 Routing Protocol for Low-Power and Lossy Networks” (RPL) [12,13], standardized by the IETF and presenting itself as the front runner in the LLN.
The contributions of this work are the following:
  • During the problem study of the link estimation, some implementation problems of RPL in the Contiki system were found. These implementation problems reduced the performance unnecessarily, which forced our experimental study to focus also in solving these problems.
  • SIGMA-ETX was designed and implemented to allow RPL to test the link quality through bidirectional traffic with only simple modifications, without violating the standard, and to verify its improvement in performance through test simulation.
The rest of this paper is organized as follows: Section 2 defines the RPL protocol, Section 3 presents related works, Section 4 presents the proposed SIGMA-ETX metric model, Section 5 explains the design and simulation of the network, Section 6 describes the result of the simulation, Section 7 discusses RPL issues, and Section 8 offers concluding remarks.

2. RPL Protocol

The IPv6 Routing Protocol for Low Power and Lossy Network (RPL) is based on a distance vector and was standardized by IETF under ROLL (Routing Over Low Power and Lossy Networks) review. There are two types of nodes in an RPL network: the sink (or receiver) node gathers information throughout the network, and the origin or issuer node collects data from sensors to send them to the sink node.
RPL uses the Destination-Oriented Directed Acyclic Graph (DODAG) concept [6,14,15,16] to define its topology. For this reason, the following types of control messages should be defined:
  • DIO: DODAG Information Object
  • DIS: DOGAG Information Solicitation
  • DAO: Destination Advertisement Object
  • DAO-ACK: Destination Advertisement Object Acknowledgement
The DODAG is constructed downwards from the sink node, using DIO messages that contain information such as the root node identifier and the objective function, which is used when selecting parents for each node [17].
The nodes in the network keep transmitting DIO messages until all nodes have received and sent their ranks. Once this is done, every node selects their preferred parent, which is the node through which they send their packets. It is possible for each node to store information about other nodes in the network, in order to change a preferred parent if needed. The new DIO messages are sent periodically through the Trickle Timer algorithm to update the network.
The DAO message is sent by all nodes to the root node and closes the route between the sender and the root node. The DAO-ACK message can be requested by a node to guarantee the delivery of the DAO. Lastly, the DIS message is used by new nodes that join the network to request a DIO and thus keep the topology up-to-date.
The rank of a node in RPL is represented as a scalar number which depicts the location of that node within the DODAG. Each node in the network has a rank value: the rank of a node defines the relative single position from a node with respect to a sink node of the DODAG, and it is calculated based on the distances relating to its neighbors. The rank can be calculated as a function of link metrics and may consider other properties, such as limitations [6,11]. In this process of DODAG network forming, each node selects multiple nodes as possible parents and the objective function defines how RPL nodes select their parent to improve routes within a RPL Instance.
An objective function defines how an RPL node selects the optimized route within an RPL instance, based on metrics and routing restrictions. It provides specific criteria of optimization, such as minimizing hop count, ETX route, latency, etc. RPL forms a DODAG based on the objective function. The OF guides RPL in the selection of parents and candidate parents. It is also used by RPL to calculate the rank of a node. All upstream traffic is transmitted through the preferred parent.
Objective Function zero (OF0) selects the route to the root using a minimal number of hops. This can be achieved by comparing the parents’ ranks. Cooja uses a rank of 16 bits in units of 256 (min_hoprankinc) that allows a maximum of 255 hops. The ETX metric of a wireless link is the expected number of transmissions needed to send a packet through the link. The ETX Objective Function uses the ETX metrics while calculating the shortest path.
On the other hand, the Objective Function (OF) in RPL is used by the nodes, in order to select forwarding nodes on an application-defined routing metric. RPL has two OFs. Among the functions standardized by IETF we find the OF0, which is based on the minimum count of hops, and the MRHOF, which is based on the expected transmission count (ETX). However, when the network becomes denser or the number of nodes increases, both OF0 and MRHOF introduce long hops, which can which can develop into a bottleneck that restricts the network. The adaptation is proposed to optimize both OFs through a new routing metric.
In this paper, the performance of RPL in various traffic scenarios was investigated through experimental measurements [14,15]. In addition, an adaptation of a specific metric for the RPL protocol in the objective function MRHOF is presented.

3. Related Works

Traditionally, only one metric is used to select the route. However, this metric cannot satisfy the Quality of Service (QoS) requirements [18,19] of different applications. Therefore, some proposals [12,16,20] present methods that combine metric types to satisfy the needs of the applications. For example, the Hop Count (HC) [9,10] selects the route with the lowest number of hops, while the Expected Transmission Count (ETX) selects the route with the least number of expected transmissions [21,22,23].
The ETX metric is the number of transmissions a node expects to make to a destination in order to successfully deliver a packet, and it can be represented by the following formula:
E T X = 1 D f × D r
where Df is the measured probability that a packet is received by the neighbor, and Dr is the measured probability that the acknowledgment packet is successfully received [10].
The high number and sheer diversity of applications in networks such as WSN imposes challenges and different requirements with respect to the criteria of delay, loss, and energy. In terms of energy, Patrick et al. [24] define Residual Energy (RE) in the RPL protocol, where RE metric represents the available energy at one node. In LLNs, nodes are usually battery-powered, therefore, it is necessary to choose the nodes with the most available energy for routing. In another proposal published by Zhao et al. [15,16], the authors describe a novel energy-efficient region-based routing protocol called ER-RPL that uses the ETX metric for calculating the rank. Additionally, Thulasiraman [25] presents an RPL protocol for the mesh-based multi-gateway Advanced Metering Infrastructure (AMI) of the Smart Grid, where they define the Expected Transmission Time (ETT): this metric is based on ETX according to the packet size and the link transmission capacity. This technique enables the distribution of a small packet followed by a big packet to each neighbor, after which each neighbor measures the arrival time between the two packets and informs the sender of that time. Finally, the sender calculates the link capacity by dividing the size of the biggest packet delay by the smallest packet delay [26].
In other research [27] an “optimization model to minimize the expected end-to-end transmission time in wireless mesh networks”, this model is based on the Weighted Cumulative ETT (WCETT) metric, has been proposed by da Silva et al. WCETT focuses on fixed nodes of local networks, where the goal is to select a high-throughput path to avoid any loss of information between the source and its destination. The metric assigns weights to the individual links, which are called Expected Transmission Time (ETT). WCETT is a value that increases depending on the number of links in the network where ETT is an estimation of the end-to-end delay that a packet experiences while traveling along a path between two nodes [28,29]. In Table 1, the target performance of these metrics are introduced.
In [30], the authors have presented the design of a path weight structure for wireless routing and some guidelines that identify the specific properties that a routing metric must have. This work describes the Bamer metric, which is a proposed structure to capture power consumption for more reliable communications of wireless links with packet loss. Bamer is suitable to source routing protocols combined with the discovery of routes based on floods (e.g., DSR Protocol) or the Dijkstra algorithm. If using Bamer with routing protocols based on the Bellman-Ford algorithm (e.g., DSDV), the routing protocol is not optimal, but it is still coherent and free of loops. Therefore, Bamer is still usable, although its performance can be degraded [24].
Fotouhi et al. propose the mRPL protocol, a solution to cope with mobility as one of the challenging issues for future IoT applications [31]. This research integrates a proactive hand-off mechanism (dubbed smart-HOP) within RPL [31]. An energy-based RPL objective function is proposed [32], which is based on the remaining energy of each node. Other research in [33] describes the problems of RPL when implemented for mostly downward traffic, referring to it as an upward-oriented protocol. A modified protocol called DT-RPL is proposed for diverse traffic requirements, including both upward and downward traffic. The protocol exploits downward packets to update the ETX metric values in the child nodes transmitted in the RPL messages. Other research for Downward routing in RPL is proposed by Simon Duquennoy et al. [34], where they classify the different causes of packet loss and present a set of reliability mechanisms that eliminate or mitigate all causes of packet losses.
Khallef et al. in [35] introduces a new OF based on a Non-Linear Length (NL-OF), which takes into account any number of metrics and constraints for QoS routing. NL-OF ensures that each path in the DODAG respects the input constraints. The NL-OF can be used to meet the requirements of sensible applications, such as real-time applications. Other research in [36] proposes a Queue Utilization-based RPL (QU-RPL) that improves the load balancing and congestion traffic in LLN networks. QU-RPL is designed for each node to select its parent node considering the queue utilization of its neighbor nodes as well as their hop distances to an LLN border router (LBR).
Another protocol is described in [37] where the authors evaluate the performance of the P2P-RPL variant and compare it with normal RPL. P2P-RPL differs from RPL, in that the traffic flows in pre-calculated DAGs in the latter, whereas in P2P-RPL, the best-quality route is calculated for any source-destination node pair. The authors create a simulated P2P-RPL environment in NS3 and find that the Packet Delivery Ratio in P2P-RPL is higher than on RPL, due to the specific routes selected for the particular source-destination pairs, instead of always going through the root of the DODAG as in normal RPL.
In [20], Wei Xiao et al. propose a new metric for the RPL protocol called Per Hop ETX (PH-ETX). PH-ETX calculates the best routing path, taking the average of the ETX values between each node along the path to avoid the problem of a long, single hop. To improve the quality of service in LLN networks, one of the most widely used techniques is the ETX metric, which focuses on connection states at the network layer level. Among measurements previously mentioned, some of them are specific for a best parent selection in each node. However, PH-ETX defers the responsibility of best parent choosing to ETX, and then uses it to select the best path for routing.

4. Proposed SIGMA-ETX Metric

The ETX metric tries to choose the best wireless link for data transmission. However, because the sum of ETX values between each node along a route are used to choose the best route, the number of hops of a path are more important than the quality of transmission at the time of making the decision. In this way, the chosen route with a lower ETX summation tends to be the one with the fewer number of hops. The problem is more evident when the network is dense (the number of nodes increases); there exists the possibility for a better routing path to have more nodes, thus making its ETX value greater than that of a single, long hop. Those long hops will develop into bottlenecks for the whole network.
The routing metric called SIGMA-ETX was created to solve the problem mentioned above. SIGMA-ETX is a combination of the minimum hop count metric and ETX, where the best route for the routing is calculated with the standard deviation of the ETX values between each node.
In Figure 1, from source node 0 to destination node D, there are two accessible paths. The calculation of the ETX values for Route 1 (0–1–2–D) is as follows:
ETX0D1 = ETX1 + ETX2 + ETX3 = 3 + 3 + 3 = 9
For the route 2 (0–3–4–5–D).
ETX0D2 = ETX4 + ETX5 + ETX6 + ETX7 = 2.3 + 2.1 + 2.5 + 2.6 = 9.5,
ETX0D2 > ETX0D1
According to the traditional ETX metric, route 1 is the best path between node 0 and D, but it is probable that a bottleneck will occur, because the ETX value is too large between node 0 and node 1 (or node D and node 1). Therefore, in most cases, this solution would not be the best routing path. PH-ETX compares [17] the routes, taking into account the average of ETX. For the presented network model, this would be the result:
P H E T X 0 D 1 = E T X 1 + E T X 2 + E T X 3 3 = 3
P H E T X 0 D 2 = E T X 4 + E T X 5 + E T X 6 + E T X 7 4 = 2.37
Suppose there are two candidate paths in the network. Path 2 has n nodes, and all of them follow the Gaussian distribution. Path 1 has m nodes, where one of them has a long hop:
i = 1 n E T X i >   j = 1 m 1 E T X j + E T X 0 ,
n E T X ¯ > ( m 1 ) E T X ¯ + E T X 0
j = 1 m 1 E T X j + E T X 0 m >   i = 1 n E T X i n
The objective function will choose Route 2, based on the statistical principle. Therefore, the new metric could avoid the long hop problem. However, in deployed dense networks, the average calculation does not satisfy all possible situations in order to avoid long hops; consequently, some packets are lost. This is the case in situations where the average value of the ETX metric is close between possible paths. When this happens, the PH-ETX objective function applies the shortest path to choose the appropriate route, which brings us back to paths with longer hops. The following example shows a tie situation between ETX averages:
To solve this problem, the minimum hop count metric and ETX are combined, creating a new routing metric called SIGMA-ETX, where the best route is calculated with the standard deviation of the ETX values between each node.
To calculate SIGMA-ETX for the scenario in Figure 2, the standard deviation of each route is needed:
( R 1 E T X ) = 2 + 3 + 2 = 7
( R 2 E T X ) = 1 + 5 + 1 = 7
The summation of both routes is a tie, so the objective function tries to use the number of hops but they are also the same. However, route 2 has a very long hop that can become a bottleneck. Since their ETX summations and number of hops the same, the average strategy does not distinguish the long hop due to both averages being equal:
A v g   ( r 1 ) = 7 3 = 2.3
However, with the standard deviation:
σ = 1 n 1 i = 1 n ( E T X i E T X ¯ ) 2
Applied for route 1,
( R 1 ) = 1 3 1 i = 1 3 ( E T X i 2.3 ) 2
( R 1 ) = 1 2   [ ( 2 2 , 3 ) 2 + ( 3 2 , 3 ) 2 + ( 2 2.3 ) 2 ]
σ ( R 1 ) = 1 2   [ ( 0.09 ) + ( 0.49 ) + ( 0.09 ) ]
σ ( R 1 ) = 0.57
And applied for route 2
σ ( R 2 ) = 1 3 1 i = 1 3 ( E T X i 2.3 ) 2
σ ( R 2 ) = 1 2 [ ( 1 2.3 ) 2 + ( 5 2.3 ) 2 + ( 1 2.3 ) 2 ]
σ ( R 2 ) = 1 2   [ ( 1.3 ) 2 + ( 2.7 ) 2 + ( 1.3 ) 2 ]
σ ( R 2 ) = 2.30
where n is the number of nodes (i.e., hops) and E T X ¯ the average per route, then:
σ ( R 1 ) = 0.57 standard deviation of route 1
σ ( R 2 ) = 2.30 standard deviation of route 2.
Route 2 has a higher standard deviation. This is a more complete way of recognizing that route 1 is more stable, having no longer hop.

4.1. SIGMA-ETX CDF

Figure 3 presents the Cumulative Distribution Function (CDF) of SIGMA-ETX for routes with two hop counts based on the 40 nodes simulation. The figure shows that 80% of all two-hop routes in the network have a SIGMA-ETX value of 6000 at most.
Following the definition of SIGMA-ETX, as the sigma value approaches zero, the homogeneity of the ETX values in the path increases, and thus the probability of long hops decreases. Figure 3 can be interpreted as follows: 40% of the results of the metric have a value of up to 2500, while 100% of the results can reach values of up to 20,000. This confirms the high disposition of the network to create long hops that are more unstable.

4.2. General Scheme

In an RPL environment, the DODAG root sends a DIO message that is propagated and received by every node in the network. Every node in the DODAG sends a DAO message (to the root) with relevant information to create the network topology (See Figure 4).
To calculate SIGMA-ETX, some fields are added to the DAO messages containing the ETX values of the sender node and its neighbors. This information is transported from the sending node to the DODAG root.
With the topology information obtained from the DAO messages, control messages can be sent from the root of the RPL instance, by explicitly specifying in each message what will be the hops that each message will take. Two optional blocks were added to the option fields (See Figure 5) of the RPL DAO messages:
RPL_OPTION_PATH_LENGTH:
Contains a single 32-bit field indicating the length of the path from the DAO source to the root of the RPL instance.
RPL_OPTION_PATH_MEMBER:
Contains the prefix of the IPv6 address of a single node in the path from the DAO source to the root of the RPL instance, and the ETX value of that individual hop.
The root uses a new option in the DAO-ACK messages to relay the calculated SIGMA-ETX values to the nodes. The DAO-ACK message has a similar structure as the DAO message, allowing extra options to be appended as needed.
As Figure 6 shows, the nodes calculate their ETX values with respect to their neighbors, and then send the DAO messages to the DODAG root. Once this information reaches the root, it is used to calculate the SIGMA values for each path, so that the preferred routes can be identified.

5. Design and Simulation of the Network

The simulation of the network wasdone with a single sink node, using a topology in order to distribute the nodes in a square area with a side L = 500 m. Also, the RPL network was designed using OF0, MRHOF, PH-ETX, and the SIGMA-ETX metric, proposed for its comparison with simulations under different numbers of nodes, with a receiver node or additional sink. Following this, an RX value of 100% was used and the behavior of RPL was investigated with regard to packet delivery ratio and power consumption. The main RPL default parameters used in the simulations are shown in Table 2.
The simulation is based on the IPv6 architecture and uses IEEE 802.15.4 at the PHY and MAC layer to form LLNs. With the IEEE 802.15.4 standard, a device can be set to operate in the beacon-enabled mode or the non-beacon enabled mode. This work of this paper is based on the un-slotted non-beacon-enabled mode with CSMA/CA, in the 2.4 GHz ISM band, which is the default configuration of ContikiOS. On top of that, it uses 6LoWPAN, RPL, and IPv6 to provide end-to-end two-way communication to each node.

5.1. Parameterization of Scenarios

In this section, each experimental test that was performed with the Cooja simulator is briefly described in order to evaluate the multi-hop wireless sensor network. First, tests were performed to evaluate the losses caused in the transmission and later the latency experienced by the shipments of packets in the network. Following this, different scenarios were simulated to evaluate the efficiency of the multi-hop wireless sensor network; the results are discussed.
In order to comply with the above, the simulations were implemented in an experimental environment, with different number of nodes (20, 40, 50 and 100) as scenarios, which were deployed in a 500 m × 500 m zone, with a number of 200 packets delivered, and transmission range of 150 m.
In scenario I, the network was simulated with 20 nodes using the OF0, MRHOF, PH-ETX and SIGMA-ETX metrics, all of them with the same configuration (see Figure 7). Figure 8 shows scenario II with 40 nodes; scenario III with 50 nodes and scenario IV with 100 nodes are presented in Figure 9 and Figure 10.

6. Results

After validating the technical configurations in each scenario, the simulation performance were made. The purpose of this section was to analyze the results of the simulations. A special coding was made in the Cooja simulator to obtain the complete results of each scenario, which can be consulted in the information shown below.
By creating a simulation with Cooja in Instant Contiki 3.0, a comparison was made between the newly proposed objective function SIGMA-ETX and these three functions: OF0, MRHOF, and PH-ETX. Several simulations were performed, between 20, 40, 50 and 100 client nodes and 1 root or receiver node.

6.1. Latency of the Network

OF0 is presented in relation to ETX, MRHOF, PH-ETX, and SIGMA-ETX, the latter of which has a significantly higher latency percentage. According to Figure 11, it can be seen that SIGMA-ETX is superior in performance to OF0 and MRHOF. As for PH-ETX, the performance difference with the proposed metric is not as significant as with OF0 and MRHOF, but it is still noteworthy. To accomplish that, SIGMA-ETX makes an optimal route selection, preferring paths with fewer long hops, and thus making it superior to the other three metrics. In terms of SIGMA-ETX, detailing the results at the 15th hop, significant differences can be noted against OF0 (23.33%), MRHOF (56.45%) and PH-ETX (83.33%).
Based on the Figure 12, the network latency does not change much between the four methods for the 20 nodes scenario, due to the low number of nodes. The 40 nodes scenario does not show much difference, but it becomes more apparent in the 50 and 100 nodes scenarios. In terms of percentages, SIGMA-ETX comes first among the metrics, with a better latency performance, beating the next best metric by 3% in the 100 nodes scenario. While this might seem of little significance, it suggests a better quality projection in denser networks.

6.2. Packet Delivery Ratio

The packet delivery average is calculated with the equation PDR = (Total Packets Received/Total Packets Sent) × 100. In Figure 13, the packet delivery ratio of SIGMA-ETX is slightly better than PH-ETX, and much greater than OF0 and MRHOF, demonstrating the validity of SIGMA-ETX. Putting 15th hop results in context, the difference against SIGMA-ETX regarding packet delivery is 47.44% with OF0, 57.69% with MRHOF, and 87.18%. with PH-ETX.
Figure 14 shows that with 200 packets sent, ETX, MRHOF, PH-ETX and SIGMA-ETX have similar packet loss in both the 20 nodes and 40 nodes scenarios. However, for 50 and 100 nodes, we can see that PH-ETX has a lower packet loss, delivering 80% of the sent packets in the entire network.
As shown in Figure 14, while the tendency of all metrics is to increase the packet loss in denser scenarios, SIGMA has a 10% increase in packet delivery ratio with respect to PH-ETX, and a much higher margin compared to the other metrics.

6.3. Energy Consumption

In order to estimate the energy consumption with precision, the percentage of radius over time was used, since the radius depends on the current consumption in the sensor nodes.
As shown in Figure 15, when the network is small, because of complex calculations, SIGMA-ETX can consume more energy, but when the network expands, SIGMA-ETX can maintain better connections than PH-ETX, making total consumption lower. Regarding energy consumption, results show OF0 reaches 51.11% of SIGMA-ETXs results, MRHOF reaches 74.19%, and PH-ETX reaches 85.19%.

6.4. Lifetime

The network lifetime is defined as the time during which the network is operational. It ends when a node runs out of energy and can no longer send packets.
It is clearly shown in Figure 16 that with the optimization of SIGMA-ETX, the lifetime of the network is higher than with the other metrics. This is due to the selection process of SIGMA-ETX, which tries to identify the best route by preferring paths without long hops, thus avoiding extra packet loss and latency. The prevented packet losses result in less retransmissions and in turn, lower power consumption. Particularly, the results in a 100-node scenario shows evidence that OF0 only achieves 70.83% of SIGMA-ETXs lifetime performance, MRHOF only 77.08%, and PH-ETX 87.50%.

7. Discussion

LLN networks have a big growth and applicability potential in IoT; this explains why they have attracted the attention of many manufacturers to invest in different technologies that facilitate the interaction between different devices (nodes) at the data link level. These technologies take maximum advantage of IPv6 addresses (which are a plus for LLN), each node having its own IP address. This means LLNs will be exponentially scalable, and the RPL protocol will be a central piece in their development.
One of the challenges of RPL in LLN is unquestionably security. Many of the vulnerabilities of sensor networks will no doubt make the transition to IoT, particularly with RPL attacks like Sinkhole, HELLO Flood, Wormhole and Clone ID, which occur using intruder nodes. In any case, care must be taken, as many IoT devices (nodes) may already have operating systems that are vulnerable to other types of attacks, such as Androids.
On the other hand, many manufacturers (Cisco, Microchip, Atmel, among others) have implemented and tested RPL in their products, obtaining good results. They have made RPL available to the public, which is why it is much easier to perform tests in real IoT scenarios with the RPL protocol. Additionally, some of these manufacturers have taken the risk and used ContikiOS as the operating system for their products (devices), including thus the RPL protocol, considering there is also an implementation of RPL for other open source operating systems (e.g, Linux).
However, one must admit that the RPL implementation in the Contiki operating system has some room for improvement. The implementation has some issues and is not complete according to the description found in the RFC 6550, which is why we believe there are still many things to improve and test to bring RPL in the IoT to its full potential.

8. Conclusions

In this paper, the adaptation and implementation of a routing metric for the objective function in the RPL protocol was proposed. Once the appropriate state-of-the-art metric was defined, it was possible to observe the recent contributions in the subject by other researchers, which allowed the analysis of the operation of the RPL protocol to understand and modify the protocol, by adapting the link state metric in its objective function.
LLN scenarios were configured with parameters close to reality; this is how the SIGMA-ETX metric was implemented, guaranteeing its operation by comparing its implementation with the performance of the objective functions OF0, MRHOF, and PH-ETX with SIGMA-ETX. This demonstrated that SIGMA-ETX is more efficient with networks containing large number of nodes per unit of area in the LLN routing in terms of quality of service. In addition, the results of SIGMA-ETX were compared with the results of other research, in terms of latency, detailing the results at the 15th hop. Significant differences could be noted against OF0 (23.33%), MRHOF (56.45%) and PHETX (83.33%).
The packet delivery ratio of SIGMA-ETX is slightly better than PH-ETX, and much greater than OF0 and MRHOF, demonstrating the validity of SIGMA-ETX. Putting 15th hop results in context, the difference with OF0 is 47.44%, with MRHOF reaching 57.69% and with PH-ETX reaching 87.18% against SIGMA-ETX regarding packet delivery.
Regarding energy consumption, results show OF0 reaches 51.11% of SIGMA-ETX’s results, MRHOF reaches 74.19%, and PH-ETX reaches 85.19%. The prevented packet losses resulted in less retransmissions and also lower power consumption. Particularly, the results in a 100-node scenario shows evidence that OF0 only achieves 70.83% of SIGMA-ETX’s lifetime performance, MRHOF only 77.08%, and PH-ETX 87.50%.
On the other hand, we suggest that SIGMA-ETX could be combined with other metrics to calculate a better route. This can be done because ContikiRPL was designed to easily allow this kind of implementation. Additionally, the ContikiRPL code can be found in SourceForge and GitHub.
In the future, it is necessary to research the relationship between other types of Quality of Service (QoS) metrics (e.g., link reliability and others), SIGMA-ETX, and the useful life of the node, because the complexity of the processes and the variability of these types of networks require the contrast of SIGMA-ETX, as opposed to metrics in specific applications of LLNs. Estimating the relation of these aspects will allow future researchers to define parameters to use this result. Additionally, we are working to apply load balance in SIGMA-ETX to improve the functionality of RPL and to apply a Software Defined Network (SDN) to RPL networks.

Acknowledgments

Authors would like to thank the editor and the reviewers for their valuable comments and suggestions to improve the quality of the paper. This work was funded by Universidad del Norte and Universidad Simon Bolivar.

Author Contributions

P.S. and D.J. were involved in the design, data analysis and data interpretation. A.R., P.S. and L.F. carried out the design model and computer simulations. Computer simulations and data interpretations were carried out by S.V. and K.A. developed data collection and interpretation.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Kim, T.-H.; Ramos, C.; Mohammed, S. Smart City and IoT; Elsevier: New York, NY, USA, 2017. [Google Scholar]
  2. Ang, L.-M.; Seng, K.P.; Zungeru, A.M.; Ijemaru, G.K. Big sensor data systems for smart cities. IEEE Internet Things J. 2017, 4, 1259–1271. [Google Scholar] [CrossRef]
  3. Abdelgadir, M.; Saeed, R.A.; Babiker, A. Mobility routing model for vehicular Ad-Hoc networks (VANETS), smart city scenarios. Veh. Commun. 2017, 9, 154–161. [Google Scholar] [CrossRef]
  4. Peixoto, J.P.J.; Costa, D.G. Wireless visual sensor networks for smart city applications: A relevance-based approach for multiple sinks mobility. Future Gener. Comput. Syst. 2017, 76, 51–62. [Google Scholar] [CrossRef]
  5. Boukerche, A.; Turgut, B.; Aydin, N.; Ahmad, M.Z.; Bölöni, L.; Turgut, D. Routing protocols in Ad Hoc networks: A survey. Comput. Netw. 2011, 55, 3032–3080. [Google Scholar] [CrossRef]
  6. Ana De Pablo, E. Development of a Wireless Sensor Network with 6LoWPAN Support. Available online: https://upcommons.upc.edu/bitstream/handle2099.1/7806/memoria.pdf?sequense=1&isAlloweb=y (accessed on 13 October 2017).
  7. Ergen, S.C. ZigBee/IEEE 802.15. 4 Summary; UC Berkeley: Berkeley, CA, USA, 2004; Volume 10, p. 17. [Google Scholar]
  8. Al-Turjman, F. Cognitive routing protocol for disaster-inspired internet of things. Future Gener. Comput. Syst. 2017. [Google Scholar] [CrossRef]
  9. Chejerla, B.K.; Madria, S.K. QoS guaranteeing robust scheduling in attack resilient cloud integrated cyber physical system. Future Gener. Comput. Syst. 2017, 75, 145–157. [Google Scholar] [CrossRef]
  10. Vasseur, J.-P.; Kim, M.; Pister, K.; Dejean, N.; Barthel, D. Routing Metrics Used for Path Calculation in Low-Power and Lossy Networks; 2070-1721; IETF: Fremont, CA, USA, 2012. [Google Scholar]
  11. Thubert, P. Objective Function Zero for the Routing Protocol for Low-Power and Lossy Networks (RPL). Available online: https://tools.ietf.org/html/rfc6552 (accessed on 15 September 2017).
  12. Karkazis, P.; Leligou, H.-C.; Sarakis, L.; Zahariadis, T.; Trakadas, P.; Velivassaki, T.H.; Capsalis, C. Design of primary and composite routing metrics for RPL-compliant wireless sensor networks. In Proceedings of the 2012 International Conference on Telecommunications and Multimedia (TEMU), Chania, Greece, 30 July–1 August 2012; pp. 13–18. [Google Scholar]
  13. Park, J.; Kim, K.-H.; Kim, K. An algorithm for timely transmission of solicitation messages in RPL for energy-efficient node mobility. Sensors 2017, 17, 899. [Google Scholar] [CrossRef] [PubMed]
  14. Gnawali, O. The Minimum Rank with Hysteresis Objective Function. Available online: https://tools.ietf.org/html/rfc6719 (accessed on 11 September 2017).
  15. Zhao, M.; Nawaz, A.; Rongxing, L. An energy-efficient and self-regioning-based-based RPL for low-power and lossy networks. In Proceedings of the 2016 IEEE 84th Vehicular Technology Conference (VTC-Fall), Montreal, QC, Canada, 18–21 September 2016. [Google Scholar]
  16. Kim, S.; Kawahara, Y.; Georgiadis, A.; Collado, A.; Tentzeris, M.M. Low-cost inkjet-printed fully passive rfid tags for calibration-free capacitive/haptic sensor applications. IEEE Sens. J. 2015, 15, 3135–3145. [Google Scholar] [CrossRef]
  17. Xiao, W.; Liu, J.; Jiang, N.; Shi, H. An optimization of the object function for routing protocol of low-power and lossy networks. In Proceedings of the 2014 2nd International Conference on Systems and Informatics (ICSAI), Shanghai, China, 15–17 November 2014; pp. 515–519. [Google Scholar]
  18. Sanmartin, P.; Cardona, J.; Jabba, D. QoS in heterogeneous networks based on based on dwdm technology. In Proceedings of the 2015 CHILEAN Conference on Electrical, Electronics Engineering, Information and Communication Technologies (CHILECON), Santiago, Chile, 28–30 October 2015; pp. 339–344. [Google Scholar]
  19. Díaz, J.M.; Mendoza, P.S.; Céspedes, J.D. Modelado y Simulación de Redes: Aplicación de los QoS con Opnet Modeler; Universidad del Norte: Barranquilla, Colombia, 2013; In Galician. [Google Scholar]
  20. Trakadas, P.; Zahariadis, T. Design Guidelines for Routing Metrics Composition in LLN. Available online: https://tools.ietf.org/html/draft-zahariadis-roll-metrics-composition-03 (accessed on 15 September 2017).
  21. De Couto, D.S.J.; Aguayo, D.; Bicket, J.; Morris, R. A high-throughput path metric for multi-hop wireless routing. Wirel. Netw. 2005, 11, 419–434. [Google Scholar] [CrossRef]
  22. Javaid, N.; Javaid, A.; Khan, I.A.; Djouani, K. Performance study of etx-based-based wireless routing metrics. In Proceedings of the 2009 2nd International Conference on Computer, Control and Communication (IC4 2009), Karachi, Pakistan, 17–18 February 2009; pp. 1–7. [Google Scholar]
  23. Kim, H.-S.; Ko, J.; Culler, D.E.; Paek, J. Challenging the IPv6 routing protocol for low-power and lossy networks (RPL): A survey. IEEE Commun. Surv. Tutor. 2017, 19, 2502–2525. [Google Scholar] [CrossRef]
  24. Kamgueu, P.O.; Nataf, E.; Ndié, T.D.; Festor, O. Energy-Based Routing Metric for RPL; INRIA: Roquecourbe, France, 2013. [Google Scholar]
  25. Thulasiraman, P. RPL routing for multigateway AMI networks under interference constraints. In Proceedings of the 2013 IEEE International Conference on Communications (ICC), Budapest, Hungary, 9–13 June 2013; pp. 4477–4482. [Google Scholar]
  26. Morton, A. Framework for Metric Composition; Framework; IETF: Fremont, CA, USA, 2010. [Google Scholar]
  27. Silva, M.D.; Senne, E.L.F.; Vijaykumar, N.L. An optimization model to minimize the expected end-to-end transmission time in wireless mesh networks. Pesq. Oper. 2017, 37, 209–227. [Google Scholar] [CrossRef]
  28. Aguirre, E.A.; Pedraza, L.F.; Puerta, G.A. WCETT routing-metric setup assessment on a cognitive radio network. Tecnura 2013, 17, 55–62. [Google Scholar] [CrossRef]
  29. Hinton, K.; Jalali, F. A survey of internet energy efficiency metrics. In Proceedings of the 2016 5th International Conference on Smart Cities and Green ICT Systems (SMARTGREENS), Rome, Italy, 23–25 April 2016; pp. 1–9. [Google Scholar]
  30. Yang, Y.; Wang, J. Design guidelines for routing metrics in multihop wireless networks. In Proceedings of the IEEE INFOCOM, Phoenix, AZ, USA, 13–18 April 2008; pp. 1615–1623. [Google Scholar]
  31. Fotouhi, H.; Moreira, D.; Alves, M. MRPL: Boosting mobility in the Internetthe Internet of things. Ad Hoc Netw. 2015, 26, 17–35. [Google Scholar] [CrossRef]
  32. Todolí-Ferrandis, D.; Santonja-Climent, S.; Sempere-Payá, V.; Silvestre-Blanes, J. RPL routing in a real life scenario with an energy efficient objective function. In Proceedings of the 2015 23rd Telecommunications Forum Telfor (TELFOR), Belgrade, Serbia, 24–26 November 2015; pp. 285–288. [Google Scholar]
  33. Kim, H.-S.; Cho, H.; Kim, H.; Bahk, S. DT-RPL: Diverse bidirectional traffic delivery through RPL routing protocol in low power and lossy networks. Comput. Netw. 2017, 126, 150–161. [Google Scholar] [CrossRef]
  34. Duquennoy, S.; Eriksson, J.; Voigt, T. Five-nines reliable downward routing in RPL. arXiv, 2017; arXiv:1710.02324. [Google Scholar]
  35. Khallef, W.; Molnar, M.; Benslimane, A.; Durand, S. Multiple constrained qos routing with RPL. In Proceedings of the 2017 IEEE International Conference on Communications (ICC), Paris, France, 21–25 May 2017; pp. 1–6. [Google Scholar]
  36. Kim, H.S.; Paek, J.; Bahk, S. QU-RPL: Queue utilization-based-based RPL for load balancing in large scale industrial applications. In Proceedings of the 2015 12th Annual IEEE International Conference on Sensing, Communication, and Networking (SECON), Seattle, WA, USA, 22–25 June 2015; pp. 265–273. [Google Scholar]
  37. Zhao, M.; Kumar, A.; Chong, P.H.J.; Lu, R. A comprehensive study of RPL and P2P-RPL routing protocols: Implementation, challenges and opportunities. Peer-to-Peer Netw. Appl. 2017, 10, 1232–1256. [Google Scholar] [CrossRef]
Figure 1. Sample PH ETX.
Figure 1. Sample PH ETX.
Sensors 18 01277 g001
Figure 2. Example of tie between ETX averages.
Figure 2. Example of tie between ETX averages.
Sensors 18 01277 g002
Figure 3. SIGMA-ETX CDF.
Figure 3. SIGMA-ETX CDF.
Sensors 18 01277 g003
Figure 4. DAO Format.
Figure 4. DAO Format.
Sensors 18 01277 g004
Figure 5. DAO format.
Figure 5. DAO format.
Sensors 18 01277 g005
Figure 6. Pseudocode scheme.
Figure 6. Pseudocode scheme.
Sensors 18 01277 g006
Figure 7. Scenario I with 20 nodes.
Figure 7. Scenario I with 20 nodes.
Sensors 18 01277 g007
Figure 8. Scenario II with 40 nodes.
Figure 8. Scenario II with 40 nodes.
Sensors 18 01277 g008
Figure 9. Scenario III with 50 nodes.
Figure 9. Scenario III with 50 nodes.
Sensors 18 01277 g009
Figure 10. Scenario IV with 100 nodes.
Figure 10. Scenario IV with 100 nodes.
Sensors 18 01277 g010
Figure 11. Latency of the network.
Figure 11. Latency of the network.
Sensors 18 01277 g011
Figure 12. Latency with different nodes.
Figure 12. Latency with different nodes.
Sensors 18 01277 g012
Figure 13. Packet delivery ratio.
Figure 13. Packet delivery ratio.
Sensors 18 01277 g013
Figure 14. Packet delivery ratio.
Figure 14. Packet delivery ratio.
Sensors 18 01277 g014
Figure 15. Energy consumption.
Figure 15. Energy consumption.
Sensors 18 01277 g015
Figure 16. Network lifetime.
Figure 16. Network lifetime.
Sensors 18 01277 g016
Table 1. Metrics.
Table 1. Metrics.
MetricTarget Performance
HCCommunication latency and energy consumption reduction (indirectly)
ETXReduction of required frame retransmissions
REExpansion of network lifetime
PFIReduction of network-layer losses
ETTAssignment of weights to the individual links
WCETTFocus on fixed nodes of local networks
Table 2. Summary of simulation parameters.
Table 2. Summary of simulation parameters.
ParametersValue
Area500 m × 500 m
Boot delay per node1 sg
Number of nodes20, 40, 50 and 100
TX Range150 m
Network ProtocolRPL
Standardized Objective FunctionsOF0, MRHOF
Objective Functions proposed by other authorsPER HOP ETX
Standard for PHY and MAC layerIEEE 802.15.4
Transmission ModeStoring Mode
TopologyRandom
Number of packets200
Model of radiusUDG
ContikiOS Mote TypeCooja Mote

Share and Cite

MDPI and ACS Style

Sanmartin, P.; Rojas, A.; Fernandez, L.; Avila, K.; Jabba, D.; Valle, S. Sigma Routing Metric for RPL Protocol. Sensors 2018, 18, 1277. https://doi.org/10.3390/s18041277

AMA Style

Sanmartin P, Rojas A, Fernandez L, Avila K, Jabba D, Valle S. Sigma Routing Metric for RPL Protocol. Sensors. 2018; 18(4):1277. https://doi.org/10.3390/s18041277

Chicago/Turabian Style

Sanmartin, Paul, Aldo Rojas, Luis Fernandez, Karen Avila, Daladier Jabba, and Sebastian Valle. 2018. "Sigma Routing Metric for RPL Protocol" Sensors 18, no. 4: 1277. https://doi.org/10.3390/s18041277

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop