Srinivasa A H, Siddaraju.
Srinivasa A H, Siddaraju.
Srinivasa A H, Siddaraju.
Abstract - A standardized and flexible routing protocol amount of $6 billion was invested into IoT solutions which
enhances the performance of networks. IETF (International includes device hardware, data storage, system integration,
Engineering Task Force) standardized an RPL (Routing connectivity, application development, and security. It is
Protocol for Low Power and Lossy Networks) for low power estimated that the profit for the invested amount will be
and lossy networks. In this protocol, the ideal route is around $13 trillion by 2025.
selected from source to destination. The paper evaluated the The major stakeholders for IoT systems are consumers,
RPL performance in terms of average power and radio duty governments, and businesses. IoT affects every industry in
cycle. We simulate RPL with Cooja based on Contiki many ways. IoT contributes major benefits to three groups as
Operating System. This paper compares the average power consumers, governments, and ecosystems with several
and average duty cycle for nodes with a varying number of environments. The major benefits are connected homes and
sinks. The proposed method decreases the consumption of smart buildings, agriculture, manufacturing, defense,
power, listen (Rx), and transmit (Tx) duty cycle by increasing infrastructure, banks, transportation, smart cities, hospitality
the number of sinks in the network. and health care, logistics, etc.
In IoT, system routing plays a major role. Routing is
Keywords — IETF, RPL, Cooja, Contiki, IoT. nothing but transferring data from one node to another node
through some intermediate node across inter-network.
Basically, it is the selection of a path from source to
I. INTRODUCTION destination and occurs at the network layer.
The Internet of Things (IoT) refers to a network of Implementation of appropriate Routing techniques in IoT
interconnected objects capable of acquiring physical world based networks can be very challenging because of the below
data and making this data accessible on the Internet [1]. reasons
Group of infrastructures interconnecting linked items and
enabling their management, data mining, and information Variation in the sensor types
generation access [2].
Variation in the implementation of network stacks
"An IoT is a network connecting" stuff "uniquely
Connectivity problems because of vast
recognizable to the Internet. The "things" have capacities for
heterogeneity
sensing or actuating and potential programmability. By
exploiting unique identification and sensing, it is possible to Change in the topology because of mobility
collect information about the "thing" and the state of the There can be multiple hops in the end to end
"thing" can be changed from anywhere, anytime, by anything connectivity
[3]. The device should have a unique address for
An IoT device is any inter-connected stand-alone device connectivity
that can be monitored or controlled remotely. Nowadays IoT The problem of energy because the mobile device
device is smaller with more powerful chips which can be may drain the battery quickly
used in almost all products. All the components that enable
consumers, governments, and businesses to connect to their II. RELATED WORK
IoT devices, including dashboards, remotes, gateways, In [4], an optimized ND protocol has been used for the
gateways, data storage, analytics, and security, are part of performance evaluation of routing protocol. The protocol
the IoT system. was implemented on Contiki OS v2.6, and the Cooja
According to a survey of BI (Business Intelligence) simulator is considered for results evaluation. The method
premium research service, there will be over 24 billion IoT increases the energy efficiency in 6LoWPAN networks and
devices on earth by 2020. That means for every human, and allows host nodes to start direct communication with routers.
there will be approximately four devices on the planet. An The node reachability affects the ND protocol behavior. In
this node, retransmission of RS messages is required for profiles and communication technologies. To support a broad
finding a new default router. range of efficiency features required for application, a
By using the IEEE 802.15.4 radios, Routing Protocol for standard framework has to be used. The framework should
Low power and Lossy Networks (RPL) can be analyzed by provide the interoperable capability, which is an alternative
simulating sensor devices [5]. For simulation, ContikiOS and for the composing network stack.
Cooja were used. This RPL reduces the energy consumption
of the network and increases the network lifetime. It also III. RPL (ROUTING PROTOCOL FOR LOW POWER
reduces the transmission and reception of multicast packets AND LOSSY NETWORKS)
and delays. A distance vector routing protocol has been
RPL focuses on energy balancing by prolonging network developed to meet the requirements of Low-power and Loss
lifetime. It uses a new metric to load the balance of the Networks (LLNs) by the ROLL working group and named it
network and its lifetime [6]. RPL. For several reasons, including the specification and
The RPL routing protocol behavior simulated and complexity of execution, RPL has been commonly criticized.
compared its performance with other routing protocols. In It reduces the implementation complexity and makes it more
[7], it is concluded that RPL is better in its performance than suitable for resource-constrained node deployment. The
other protocols for small networks. It is better because of its design of RPL should operate on top of several mechanisms,
fast establishment. The work can be enhanced by considering including the MAC layer and IEEE 802.15.4 PHY layers.
a large number of nodes. The primary target of RPL is collection-based networks
The packet overhead, throughput, and average end-to-end where nodes send readings to a collection point regularly.
delay of IoT routing protocol were compared subjected to RPL represents the alternative for low power and
change in mobile nodes. The work has to be extended to loss network routing. The main purpose of this design is to
consider location information and the variable speed of nodes provide alternative routes when routes are inaccessible by
in the network. So, the appropriate IoT routing protocol has default for highly adaptive network conditions. To
to be selected for better improvement in network disseminate information, RPL provides a mechanism to form
performance [8]. network topology dynamically.
The RPL routing protocol performance can be increased
for dense networks. The comparison has been made for A. RPL Topology
different metrics [9]. The performance metrics were RPL topology organizes into Destination-Oriented-Directed-
increased proportionally with an increase in the number of Acyclic Graphs (DODAG) for destinations. DODAG is a
nodes. It also considers the power consumption of the single destination rooted in DAG. There are no outgoing
network related to the availability of the number of sink edges of the DODAG root [14]. The DODAG graph of RPL
nodes. The mobility affects directly on received packets. If is uniquely identified by combining the RPL instance and
the number of sinks was increased, then the power DODAG id. Figure 1 shows the construction of RPL
consumption is less in the network. DODAG using DODAG ID and RPL instance.
The two multipath ELB and FLR protocol has a minimal
end-to-end delay, packet delivery rate, overhead, and faster
local repair mechanism compared with RPL [10]. The
combination of ELB and FLR also maintains a well-balanced
network and improves performance.
The metrics such as sent, received, lost packets, duplicate
packets received, and throughput was used to compare
different routing protocols. Based on the number of nodes,
these metrics can be increased. The type of mobility model
directly affects the data transmission. Compared to entity
mobility models, the group models have the lowest Figure 1: RPL DODAG Construction [14]
throughput [11].
The protocol used in WSN and ad hoc networks for Each RPL instance has one or more DODAG and is
energy-efficient is not enough for IoT. [12]A special protocol identified by a DODAG ID. Every node in the DODAG has
designed by IETF is named RPL for various application a rank value. The rank value reflects the position of the node
requirements in LLNs to provide IPv6 communication. For in relation to the DODAG root node. Rank values increase
RPL, metrics such as link reliability, hop count have been strictly downward and decrease upward as it approaches the
proposed to capture a link-level characteristic performance. root node. DODAG Root is liable for aggregating paths and
RPL adopted larger in IoT because of today’s IoT market, building DODAG.
heterogeneity, application requirements, and hardware
constraints. [13] RPL could be a standard framework for
interrelated standards, which focus on specific application
103
Srinivasa A H & Siddaraju / IJETT, 69(2), 102-106, 2021
B. FEATURES OF RPL dispersed randomly over an area of 100x100 m2. Each node
Loop avoidance and detection: The rank of any in the network sends a data packet of size 140 bytes every 30
node in RPL is higher than its parent node. In RPL, a seconds towards the sink node. The simulation was repeated
node rank value to be greater than its parent node, which for 20 to 50 nodes with 1 to 3 sinks for 5 minutes.
results in the acyclic nature of the DODAG. Furthermore,
RPL provides recovery mechanisms in local and global to A. CONTIKI OPERATING SYSTEM
detect the loop and recover the topology. The operating system plays a major role in the
simulation of the experiments. So, Contiki Operating System
Self-configuration - Dynamically discovers the is used for simulating applications of IoT. It is an open-
network paths with the help of IPv6 neighbor source operating system generally designed for wireless
discovery mechanisms. sensor networks but can be used for IoT. It is implemented
Communication paradigms - supports Point-to-point using the C programming language and supports
(P2P); Point-to-multipoint (P2MP) and Multipoint-to-point multitasking operations. It is a UNIX-based operating
(MP2P) system. It consists of a set of lightweight networking
Target networks - used for Low-Power and Lossy protocols known as Rime stack, the IPv4 networking
Networks (LLNs), 6LowPAN networks, and other IPv6 protocols µIP TCP/IP stack, and µIPv6 stack for tiny and
networks. embedded sensor devices, which offers Contiki MAC layer
Identifiers - It can use RPL Instance ID, DODAG which packages radio packets into IEEE 802.15.4 frames.
ID. DODAG Version, Rank.
Security mode - Supports different security B. COOJA SIMULATOR
mechanisms Cooja simulator is a Java-based simulator supported by
Mode of operation (MOP) - It can operate in MOP (0) Contiki operating system. Using this simulator, the RPL
for no downward routes, MOP (1) for Non-storing, protocol is simulated. Nodes are programmed using C
MOP (2) for Storing, and MOP (3) for Storing with language, even though the simulator is Java-based. The
multicast. sensor hardware is emulated using the Cooja emulator. Using
external plugins such as simulation visualizer, timeline, and
C. TYPES OF RPL radio logger, it interacts with the simulated nodes. It can
There are many types of RPL. Table 1 gives the protocol simulate independent networks based on some defined
classification and their characteristics. parameters and run real data files from testbeds.
In this paper, the RPL metrics that are considered to
Table 1: Protocol classification measure the performance of the RPL protocol are:
Sl Protocols Energy Data Load Multip Average power: It is the amount of energy or work done per
. Classificat Efficien Aggregat Balan ath unit of time. To measure the average power of a continuous
N ion cy ion ce light beam, fiber optic power meters are used. These are used
o to test signal power in fiber-optic networks.
1 RPL No Yes No No Radio Duty Cycle: Contiki provides three types of duty
standard cycling mechanisms. X-MAC mechanism is generally used
2 RPL- No No Yes No for low power listening. ContikiMAC is similar to X-MAC
BMARK but enhanced to power consumption reduction. Contiki’s
3 P2P RPL Yes Yes No No LPP mechanism is Low Power Probing (LPP) protocol but
4 CO-RPL No Yes Yes No enhanced to reduce the power consumption and to provide
5 Qu-RPL Yes Yes No Yes the mechanism for sending broadcast data.
6 Ec-RPL Yes Yes No Yes In the radio duty cycle, we can discuss the radio on,
7 ENHANC Yes Yes No Yes radio Transmit (Tx), radio Listen (Rx). It's the time when the
ED-RPL radio chip hardware is turned on, i.e., it is in a ready-to-
8 ER-RPL No No Yes Yes receive state, Receiving (Rx) or Transmitting (Tx).
9 C-RPL Yes No No No Transmit (Tx) Duty Cycle: It is the percentage of the duty
10 ME-RPL No Yes Yes No cycle used to transmit to the radio in-network as shown in
11 GI-RPL Yes No No Yes equation (1)
12 MoMoRo No No No Yes Listen to (Rx) Duty Cycle: the percentage of the duty cycle
used to listen to the radio in-network as shown in equation
IV. SIMULATION ENVIRONMENT (2)
To measure the performance of the RPL protocol in a
large-scale network, a Cooja simulation environment has to 𝑅𝑥_𝑡𝑖𝑚𝑒
𝑅𝑥 = (1)
be used. It is used to emulate the Sky motes. Nodes are 𝐶𝑃𝑈_𝑡𝑖𝑚𝑒 + 𝐿𝑃𝑀_𝑡𝑖𝑚𝑒
104
Srinivasa A H & Siddaraju / IJETT, 69(2), 102-106, 2021
105
Srinivasa A H & Siddaraju / IJETT, 69(2), 102-106, 2021
[3] Xing Liu and O. Baiocchi, A comparison of the definitions for smart
sensors, smart objects and Things in IoT, IEEE 7th Annual
Average Transmit (Tx) Duty Information Technology, Electronics and Mobile Communication
cycle Conference (IEMCON), Vancouver, BC, (2016) 1-4.
Duty Cycle (%)
106