SEOUL NATIONAL UNIVERSITY
Ubiquitous Network Laboratory
IoT with Multihop Connectivity
- 2016. 6. 6.
Seoul National University http://netlab.snu.ac.kr Saewoong Bahk
IoT with Multihop Connectivity 2016. 6. 6. Seoul National - - PowerPoint PPT Presentation
IoT with Multihop Connectivity 2016. 6. 6. Seoul National University http://netlab.snu.ac.kr Saewoong Bahk SEOUL NATIONAL UNIVERSITY Ubiquitous Network Laboratory Contents Introduction ZigBee - MarektNet Bluetooth RPL over BLE
SEOUL NATIONAL UNIVERSITY
Ubiquitous Network Laboratory
Seoul National University http://netlab.snu.ac.kr Saewoong Bahk
SEOUL NATIONAL UNIVERSITY
Ubiquitous Network Laboratory
2
SEOUL NATIONAL UNIVERSITY
Ubiquitous Network Laboratory
3
SEOUL NATIONAL UNIVERSITY
Ubiquitous Network Laboratory
resource constrained devices
(BLE, IEEE 802.15.4, Z-wave …)
4
SEOUL NATIONAL UNIVERSITY
Ubiquitous Network Laboratory
“D2D communications can be used for emergency information transmission and information exchange in a local area in a disaster area.”
“Relay-by-Smartphone: Realizing Multihop Device-to-Device Communications”, IEEE Communications Magazine, pp.56- 65, Apr. 2014.
5
SEOUL NATIONAL UNIVERSITY
Ubiquitous Network Laboratory
messages related to disaster response.
Disaster area
Live BS
Damaged BS Disaster management center
: Emergency message
6
SEOUL NATIONAL UNIVERSITY
Ubiquitous Network Laboratory
7
SEOUL NATIONAL UNIVERSITY
Ubiquitous Network Laboratory
IEEE 802.15.4 (PHY layer) IEEE 802.15.4 (MAC layer) ZigBee (Network layer) Internet Standar d
Network (IPv6) Transport (UDP) Application
Address allocation
Distributed address allocation mechanism (DAAM), Stochastic address allocation mechanism (SAAM)
Routing
Tree- based hierarchical routing, AODV Passive ACK- based broadcast
Beacon mode
Superframe architecture Duty cycle (superframe interval) Hybrid MAC: CSMA and TDMA
Non- beacon mode
No duty cycle CSMA Modulation O- QPSK, DSSS Channel sensing Clear channel accessment (CCA) Data rate 256 kbps Transmission power < 1mW Packet length < 128 bytes Bandwidth 2 MHz Error check CRC check
Network association
Association mechanism, Orphan procedure
Network association
Network discovery, Parent selection, Device type selection
8
SEOUL NATIONAL UNIVERSITY
Ubiquitous Network Laboratory
Receiver
L
Wakeup interval Time Time
A
Sender
D D D L A D
Tx mode Rx mode
D Data packet A L
ACK Listening
L
Random backoff Packet generation
L L
9
SEOUL NATIONAL UNIVERSITY
Ubiquitous Network Laboratory
D
Receiver
P
Wakeup interval Time Time
A
Sender
D A D
Tx mode Rx mode Data packet
A L
ACK Listening
L
Packet generation
P P P Probing packet
10
SEOUL NATIONAL UNIVERSITY
Ubiquitous Network Laboratory
including RANK à Each node exchanges routing information with DIO message, and constructs DODAG toward the root
Destination-Oriented Directed Acyclic Graph (DODAG)
11
SEOUL NATIONAL UNIVERSITY
Ubiquitous Network Laboratory
=
# 34 53567 58.(0→<=) # 34 ?@AAB?4@7 58.(0→<=) , measured by child node 𝑙
< 𝑆𝐵𝑂𝐿 𝑙 and 𝐹𝑈𝑌 𝑙, 𝑞0 < 𝜀
inconsistency is detected.
12
SEOUL NATIONAL UNIVERSITY
Ubiquitous Network Laboratory
13
SEOUL NATIONAL UNIVERSITY
Ubiquitous Network Laboratory
MarketNet: An Asymmetric Transmission Power-based Wireless System for Managing e-Price Tags in Markets, ACM SenSys 2015.
14
SEOUL NATIONAL UNIVERSITY
Ubiquitous Network Laboratory
Competitor information analysis Price update Rack status update Advertisement Border Router Computer server Electronic price tag Electronic shopping cart Wireless link Wired link
High density Various information Manual update (labor cost) Frequent update (competitors, freshness, event) IoT-based automatic wireless update (downlink-centric application)
15
SEOUL NATIONAL UNIVERSITY
Ubiquitous Network Laboratory
16
SEOUL NATIONAL UNIVERSITY
Ubiquitous Network Laboratory
17
SEOUL NATIONAL UNIVERSITY
Ubiquitous Network Laboratory
Sensor node Root node 18m
5 1 22 21 20 9 8 7 6 4 3 2 19 18 17 16 15 14 13 12 11 10 30 29 28 27 26 25 24 23
18
SEOUL NATIONAL UNIVERSITY
Ubiquitous Network Laboratory
1 2 3 4 5 6 7 8 9 10 2 4 6 8 10 Time [hour] Average duty cycle [%] 1 2 3 4 5 6 7 8 9 10 2 4 6 8 10 Time [hour] Average packet loss ratio [%] Downward Upward 3 6 9 12 15 18 21 24 27 30 5 10 15 20 25 Node ID Duty cycle [%] 3 6 9 12 15 18 21 24 27 30 5 10 15 20 Node ID Average packet loss ratio [%] Downward Upward
Weak for link dynamics Node unfairness Node unfairness Little fluctuation due to link dynamics
19
SEOUL NATIONAL UNIVERSITY
Ubiquitous Network Laboratory
WiFi interference
500 1000 1500 2000 2500 3000
Time [msec] dBm 500 1000 1500 2000 2500 3000
Time [msec] dBm
[Channel 26, Day] [Channel 26, Night] [RSSI / Noise, Day] [RSSI / Noise, Night]
1 2 3 4 5 6 7 8 9 10
Time [hours] dBm noise RSSI 1 2 3 4 5 6 7 8 9 10
Time [hours] dBm noise RSSI 200 300 400 500 600 700 50 100 150 200 250 Number of customers / hour Left tail length of per hour CPDF
Human activity
Short term variance: Movement & WiFi Long term variance: Item refilling events WiFi occupies all 2.4 GHz bands in Korea
Dynamic link burstiness
Positive burstiness decreases with the number of customers
Microwave oven
Food court and free-sample booth
5 10 15 20 25 3020
SEOUL NATIONAL UNIVERSITY
Ubiquitous Network Laboratory
downlink performance
powered)
Multi-hop downlink Multi-hop uplink Single hop downlink Multi-hop uplink
Asymmetric transmission Power-based Network 21
SEOUL NATIONAL UNIVERSITY
Ubiquitous Network Laboratory
root
Single Hop Downlink Protocol Short transmission range! Cannot retransmit! More packet
Local ACK and retransmission Overhear 22
SEOUL NATIONAL UNIVERSITY
Ubiquitous Network Laboratory
signal from root
power root
Network-wide Superframe Architecture
R
r
Better downlink performance Worse uplink performance
Superframe interval time beacon period downlink period uplink period radio on active period inactive period uplink subperiod
Superframe interval Time Time Time Time
1 2 3
Synchronized!
S S S S S S S S S S
Sleep interval of unsynchronized nodes
S S S S S S S S S S S
No beacon Failure
S
Synchronized!
S
Failure
S S
No beacon Failure Failure
S
Synchronized! Tx mode Rx mode
S sync beacon
Unsynced node Root
R S
No beacon
R regular beacon
1) Low tx. Overhead: No repetitive tx. as LPL using synchronous MAC 2) Spatial reuse: Up/downlink Separation in a TDD manner 3) Collision avoidance in uplink period: Uplink period partitioning 1) Low tx. overhead: Only root node transmits sync beacon 2) Robust synchronization: Sleep interval << superframe interval All nodes in the network shares a single superframe Only high power root transmits beacon
Network-wide superframe structure (Initial) synchronization mechanism
23
SEOUL NATIONAL UNIVERSITY
Ubiquitous Network Laboratory
comparable to RPL
[Downlink loss ratio vs. Time] [Per node downlink loss ratio] [Per node uplink loss ratio] [Uplink loss ratio vs. Time]
1 2 3 4 5 6 7 8 9 10 2 4 6 8 10 12 Time [hour] Average packet loss ratio [%] RPL SHDP NSA 1 2 3 4 5 6 7 8 9 10 2 4 6 8 10 12 Time [hour] Average packet loss ratio [%] RPL SHDP NSA RPL SHDP NSA 5 10 15 20 25 Packet loss ratio [%] RPL SHDP NSA 5 10 15 20 25 Packet loss ratio [%]
Average PRR: 99.9% PRR for the worst node: 98.7% Average PRR: 98.3% PRR for the worst node: 93.8% 24
SEOUL NATIONAL UNIVERSITY
Ubiquitous Network Laboratory
[Transmission overhead] [Per hour duty cycle] [Duty cycle gain] [Per node duty cycle] [Duty cycle fairness]
2 4 6 8 Normalized duty cycle gain
worst node gain RPL SHDP NSA 0.2 0.4 0.6 0.8 1 Jains fairness index RPL SHDP NSA 5 10 15 20 25 Duty cycle [%] RPL SHDP NSA 50 100 150 200 IP layer packet transmissions / node / hour DIO DAO upwards forwarding dowards forwarding 1 2 3 4 5 6 7 8 9 10 2 4 6 8 10 12 Time [hour] Average duty cycle [%] RPL SHDP NSA
Low transmission
low energy consumption
25
SEOUL NATIONAL UNIVERSITY
Ubiquitous Network Laboratory
“A synergistic architecture for RPL over BLE”, to appear in IEEE SECON 2016
26
SEOUL NATIONAL UNIVERSITY
Ubiquitous Network Laboratory
: 1Mbps
: 250kbps
: Synchronous MAC with a connection
: Asynchronous MAC without a connection
: Adaptive frequency hopping
: None
: Contained within today’s smart phone
: None
27
SEOUL NATIONAL UNIVERSITY
Ubiquitous Network Laboratory
bandwidth (3 advertising, 37 data channels)
(such as Zigbee, Z-wave)
Low connection setup latency (Classic: 100msec, BLE: 3msec)
(Classic:1~3Mbps, BLE: 1Mbps)
BLE: 10mW)
28
SEOUL NATIONAL UNIVERSITY
Ubiquitous Network Laboratory
Advertising channel Data channel
29
SEOUL NATIONAL UNIVERSITY
Ubiquitous Network Laboratory
error
Master Slave M
Connection interval
S
M
S
N
N
N
N
Connection event ends Data ch(x) Data ch(y) Connection event starts Data ch(z) ** M & S : Master/Slave data packet ** N: Null packet
packet transmission
connection interval (7.5msec ~ 4sec)
30
SEOUL NATIONAL UNIVERSITY
Ubiquitous Network Laboratory
Flooding in advertising channel
2015)
small networks
& traffic load)
modification is needed for reliability and energy efficiency
channels
Routing in advertising channel
& Broadcom
Flooding
compared to Flooding
modification is needed for reliability and energy efficiency
channels
Routing in data channel
the other candidates
modification for reliability and energy efficiency of data transmission
6lowpan and IPv6
compared to the other candidates
31
SEOUL NATIONAL UNIVERSITY
Ubiquitous Network Laboratory
(Contiki RPL modified by João in IETF ROLL)
Linux Kernel BLE Dongle BT module
BLE PHY BLE MAC HCI L2CAP Application TCP IPv6
Application
6LOWPAN RPL
32
SEOUL NATIONAL UNIVERSITY
Ubiquitous Network Laboratory
à Data channel
à Advertising channel
connection-based links.
BLE 6LoWPAN module à New adaptation layer supporting HCI advertisement for RPL control frames
Adaptation Module
data DIO
33
SEOUL NATIONAL UNIVERSITY
Ubiquitous Network Laboratory
34
SEOUL NATIONAL UNIVERSITY
Ubiquitous Network Laboratory
J) , Scan Window (𝑈 K) , Advertising timeout period
(𝑈
LMN), Advertising Interval (𝑈 L)
LMN ≥ 𝑈 J, 𝑈 L ≤ T R
35
SEOUL NATIONAL UNIVERSITY
Ubiquitous Network Laboratory
à BLE link layer does not provide this information to upper layer.
à we can infer the ECI value from RTT of ping packet
36
SEOUL NATIONAL UNIVERSITY
Ubiquitous Network Laboratory
à In RPL over BLE, parent change without considering connection management incurs packet loss in 6lowpan layer.
37
SEOUL NATIONAL UNIVERSITY
Ubiquitous Network Laboratory
38
SEOUL NATIONAL UNIVERSITY
Ubiquitous Network Laboratory
(ContikiRPL and ContikiMAC)
chipset (Modified ContikiRPL for RPL over BLE)
39
SEOUL NATIONAL UNIVERSITY
Ubiquitous Network Laboratory
(packet interval = 5minutes/packet/node, duration= 24hours)
BLE shows stable DAG maintenance with almost perfect PRR owing to:
frequency hopping
connection event scheduling
40
SEOUL NATIONAL UNIVERSITY
Ubiquitous Network Laboratory
(Sleep interval of ContikiMAC= BLE connection interval = 50msec) à RPL over BLE achieves higher PRR and lower duty-cycle compared to RPL over 802.15.4
41
SEOUL NATIONAL UNIVERSITY
Ubiquitous Network Laboratory
42