What is IOT
Types of IOT applications
security challenges for IOT
Routing protocol for low power lossy network
iot devices have limited energy and computing resources. Often face unfavourable environmental factors. –> constrained nodes
constrained nodes optimise energy and network bandwidth usage –> constrained networks
constrained networks have:
RPL
direction oriented directed acyclic graph (DODAG)
supports storing/ non storing mode
storing mode:
non storing mode:
DODAG network organisation
2. OBJECTIVE FUNCTIONS determines which link to be used in selecting optimised route
Objective functions
defines how nodes select parents provides node rank(lower better) variables: - energy consumption - expected transmission count - packet delivery ratio
RPL collection and configuration
multipoint to point
- data collection from sensors(up)
point to multipoint
- network sensors configuration (down)
point to point
- RPL does not support point to point well
RPL rank computation ETX
rank
rank(x) = rank(parent) + expected transmission count(x, parent)
RPL rank computation Residual Energy
high link quality = low link cost = higher residual energy
rank(x) = rank(parent) + (max energy - x energy)
Theory of rank computation DODAG
rank = floor(rank(node))/Min Hop Rank Increase
rank(A) < rank(B)
if floor(rank(A)/ MinHopRankIncrease)
is less than
floor(rank(B)/ MinHopRankIncrease)
eg
MHRI = 32
rank = 953
rank 928 to 959 will be siblings
MHRI can be used to detect sibling nodes
RPL rank computation Min Hop Rank Increase
once node has chosen its parents, node will compute its own rank. Preferred parent need not have lowest rank.
rank(x) = rank(parents) + rank_increase rank_increase = step + MHRI(Max Energy) step = Root_energy - Node_energy
therefore
rank(x) = rank(parents) +
floor(((Root_energy - Node_energy) + MHRI)/ MHRI)
RPL MHROF
finds path with minimum rank(lowest cost)
3 types of control messages
DODAG information object DIO
DODAG information solicitation DIS
Destination advertisement object DAO
DODAG information object
carries information that allows node to
DODAG information solicitation
probe for DIO from RPL nodes for discovery
8 bit flag initialised to 0 to be ignored
8 bit reserved initlialised to 0 to be ignored
Destination advertisement object
propagate destination information upwards
storing mode - unicast to select parents
non storing mode - unicast to root
DODAG construction messages
root creates RPL instance and let other nodes join
DIS broadcasted by new nodes to obtain info to join
neighbours reply with DIO
each node calculate rank based using OF and neighbours rank
lowest rank selected as preferred parent, informed via DAO
preferred parent reply with DAO acknowledgement
upwards routes created by DIO(nodes sends DIO upwards)
downward routes created by DAO, leaf nodes send DAO to inform parent
RPL reconstruction and self healing
nodes may disappear (run out of battery etc..)
alternates routes through other parents to repair network
DODAG version number maintained by ROOT. global repair = +1
version number ensures that no loops, routing table not obsolete, no inconsistency and allow nodes to choose new parents without past influence.
on local link failure, select alternate parent
if more local failures, root initiates global repair
trickle timer
used to manage control traffic overhead
increase send rate if inconsistency detected to resolve problem quickly.
DODAG upwards construction
install upwards routes first
roots broadcasts DIO
neighbours receives, send DAO to add as parents
then broadcast DIO to other nodes
DODAG downwards construction non storing
new node sends DAO, transmitted to root
root use DAO to route and join new node
DODAG downwards construction storing
new node sends DAO
preferred parent acknowledges