PIP: A Connection-Oriented, Multi-Hop, Multi-Channel TDMA-based MAC for High Throughput Bulk Transfer

Similar documents
PIP: A Connection-Oriented, Multi-Hop, Multi-Channel TDMA-based MAC for High Throughput Bulk Transfer

FRACTEL Design, Implementation And

Implementation Based Evaluation of a Full-Fledged Multi-Hop TDMA-MAC for WiFi Mesh Networks

The 2P MAC Protocol for WiFi Mesh Networks: Design and Evaluation

Presented by: Murad Kaplan

Implementation Based Evaluation of a Full-Fledged Multi-Hop TDMA-MAC for WiFi Mesh Networks

RT-Link: A global time-synchronized link protocol for sensor networks Anthony Rowe, Rahul Mangharam, Raj Rajkumar

Principles of Wireless Sensor Networks. Medium Access Control and IEEE

Wireless Sensor Networks: Clustering, Routing, Localization, Time Synchronization

Networking Sensors, I

Energy Efficient MAC Protocols Design for Wireless Sensor Networks

Design and Evaluation of a new MAC Protocol for Long- Distance Mesh Networks by Bhaskaran Raman & Kameswari Chebrolu ACM Mobicom 2005

Outline. Multi-Channel Reliability and Spectrum Usage in Real Homes Empirical Studies for Home-Area Sensor Networks. Smart Grid

WP-PD Wirepas Mesh Overview

Design and Implementation of a Multi-hop Zigbee Network

LXRS and LXRS+ Wireless Sensor Protocol

Lecture 16: QoS and "

6.9 Summary. 11/20/2013 Wireless and Mobile Networks (SSL) 6-1. Characteristics of selected wireless link standards a, g point-to-point

Esense: Communication through Energy Sensing. Kameswari Chebrolu, Ashutosh Dekhne Department of CSE, IIT Bombay

Strengthening Unlicensed Band Wireless Backhaul

Atacama: An Open Experimental Platform for Mixed-Criticality Networking on Top of Ethernet

WiseTOP - a multimode MAC protocol for wireless implanted devices

End-to-end Real-time Guarantees in Wireless Cyber-physical Systems

MAC LAYER. Murat Demirbas SUNY Buffalo

Implementation of Gradient Routing in WSNs

Control Data Systems Industrial Wireless Communications

Lecture 17: Wireless Networking"

Critique #2. Ø Due on 2/13 (Tuesday)

Reservation Packet Medium Access Control for Wireless Sensor Networks

Medium Access Control in Wireless Sensor Networks

Introduction to Real-Time Communications. Real-Time and Embedded Systems (M) Lecture 15

Impact of IEEE n Operation on IEEE Operation

Kun Sun, Peng Ning Cliff Wang An Liu, Yuzheng Zhou

Interference avoidance in wireless multi-hop networks 1

Performance and Comparison of Energy Efficient MAC Protocol in Wireless Sensor Network

A Low-Energy Adaptive and Distributed MAC Protocol for Wireless Sensor-Actuator Networks

A Tale of Two Synchronizing Clocks

AIM: To create a project for implement a wireless communication protocol on an embedded system- ZigBee.

A Channelization Protocol for Multi-hop Wireless Sensor Networks using Frequency Division Multiplexing

A Time Synchronized Wireless Sensor Tree Network using SimpliciTI

The Emergence of Networking Abstractions and Techniques in TinyOS

Enabling TDMA for Today s Wireless LANs

Mobile Communications Chapter 7: Wireless LANs

CSC 4900 Computer Networks: Wireless Networks

Digital inclusion of remotevillages Providing data, voice and video connectivity

The Internet of Things. Thomas Watteyne Senior Networking Design Engineer Linear Technology, Dust Networks product group

Wireless Networks. CSE 3461: Introduction to Computer Networking Reading: , Kurose and Ross

Etiquette protocol for Ultra Low Power Operation in Sensor Networks

Granting Silence to Avoid Wireless Collisions

Wireless and Mobile Networks 7-2

CS263: Wireless Communications and Sensor Networks

MULTIPLE ACCESS PROTOCOLS 2. 1

A Spatio-temporal Access Network for Area Event Monitoring p.1

CHAPTER 7 SIMULATION OBSERVATIONS

Implementation of WiFiRe PHY Sectorization in OPNET

Cutting the Cord: A Robust Wireless Facilities Network for Data Centers

Multichannel MAC. Abstract. 1. Introduction. 2. Background

Time Synchronization for AV applications across Wired and Wireless 802 LANs [for residential applications]

Time Synchronization in Wireless Sensor Networks: CCTS

Medium Access Control in Wireless Sensor Networks

Outline. TWR Module. Different Wireless Protocols. Section 7. Wireless Communication. Wireless Communication with

Complete USB2.0 Digital Wireless Audio Dongle

Medium Access Control in Wireless IoT. Davide Quaglia, Damiano Carra

The Flooding Time Synchronization Protocol

Luca Schenato Workshop on cooperative multi agent systems Pisa, 6/12/2007

CHAPTER 4 CROSS LAYER INTERACTION

ABSTRACT. JANG, BEAKCHEOL. Wireless MAC Protocol Design and Analysis. (Under the direction of Professor Mihail L. Sichitiu).

WiLDNet: Design and Implementation of High Performance WiFi Based Long Distance Networks

Delivering Voice over IEEE WLAN Networks

Communications Infrastructure for Fractionated Spacecraft

Medium Access Control. MAC protocols: design goals, challenges, contention-based and contention-free protocols

Lecture 25: CSE 123: Computer Networks Alex C. Snoeren. HW4 due NOW

AV Time Synchronization for Wired and Wireless 802 LANs

Class-based Packet Scheduling Policies for Bluetooth

An In-depth Study of LTE: Effect of Network Protocol and Application Behavior on Performance

Wake-on-WLAN. Power management for mesh networks using Kameswari Chebrolu Department of Electrical Engineering, IIT Kanpur

INTRODUCTION TO WIRELESS SENSOR NETWORKS. CHAPTER 7: TIME SYNCHRONIZATION Anna Förster

Co-existence of WiFi and ZigBee

An Experimental Study of Network Performance Impact of Increased Latency in SDR

A cluster based interference mitigation scheme for performance enhancement in IEEE

QoS Challenges and QoS-Aware MAC Protocols in Wireless Sensor Networks

Event-driven MAC Protocol For Dual-Radio Cooperation

Medium Access Control in Wireless Networks

IPv6 Stack. 6LoWPAN makes this possible. IPv6 over Low-Power wireless Area Networks (IEEE )

The Nostrum Network on Chip

CS 716: Introduction to communication networks. - 8 th class; 17 th Aug Instructor: Sridhar Iyer IIT Bombay

Reliable Time Synchronization Protocol for Wireless Sensor Networks

Low Power and Low Latency MAC Protocol: Dynamic Control of Radio Duty Cycle

Routing: Collection Tree Protocol. Original slides by Omprakash Gnawal

CSC 774 Advanced Network Security

Wireless Networks (CSC-7602) Lecture 6 (08 Oct. 2007) Seung-Jong Park (Jay) Wireless MAC

EMAC: An Asynchronous Routing-Enhanced MAC Protocol in Multi-hop Wireless Networks

ABSTRACT. Physical Implementation of Synchronous Duty-Cycling MAC Protocols: Experiences and Evaluation. Wei-Cheng Xiao

Embedded Internet and the Internet of Things WS 12/13

Burst Transfers ABSTRACT

Mohammad Hossein Manshaei 1393

EL2745 Principles of Wireless Sensor Networks

Ad hoc and Sensor Networks Chapter 5: Medium access control protocols

Computer Communication III

Cutting the Cord: A Robust Wireless Facilities Network for Data Centers

Transcription:

PIP: A Connection-Oriented, Multi-Hop, Multi-Channel TDMA-based MAC for High Throughput Bulk Transfer Bhaskaran Raman Kameswari Chebrolu Sagar Bijwe br@cse.iitb.ac.in chebrolu@cse.iitb.ac.in sag.bijwe@gmail.com Vijay Gabale vijaygabale@cse.iitb.ac.in SyNerG: Systems and Networks Group Department of CSE, IIT Bombay, India SenSys 2010

Motivating Example Structural health monitoring Sink Source (sensing nodes, bulk data) Other applications: Volcanic activity monitoring (50KB/sensor), bulk data collection in sensor network Goal: Effective and efficient delivery of sensed data over a multi-hop wireless sensor network.

Requirements and Challenges Goal: Effective and efficient delivery of sensed data over a multi-hop wireless sensor network. Quick data transfer/high Throughput Event detection ability is minimally affected. Collects data from large sensor network. Energy savings after data collection. Mitigating Inter path, Intra path interference? Using multiple channels for spatial efficiency? Reliability Delivers important fragments of data. Handling wireless packet errors?

Focus of This Work A TDMA-based MAC primitive for bulk data transfer What is the capacity upper bound for bulk transfer on an 802.15.4-based multihop wireless network? What is the efficacy of a time synchronization mechanism for a multi-hop wireless network? PIP: A TDMA-based MAC for high throughput bulk transfer

Outline of Talk PIP Design Choices A Transport Protocol using PIP MAC PIP Implementation PIP Evaluation Related Work Conclusion

PIP MAC: Design Choices

PIP: Design Choices Goal: Effective and efficient delivery of sensed data over a multi-hop wireless sensor network. Mitigating Inter path*, Intra path interference Using multiple channels for spatial efficiency 1. Channel Access: TDMA 2. Access Control: Centralized 3. Multi-Channel Operation 4. Connection-oriented MAC Handling wireless packet errors *We assume one flow at a time, and thus do not consider inter-path interference much like in Flush, Fetch.

PIP: Design Choices Goal: Effective and efficient delivery of sensed data over a multi-hop wireless sensor network. Mitigating Intra path interference 1. Channel Access: TDMA Time divided into a frame. A frame divided into slots. Interfering links on different slots. Using multiple channels for spatial efficiency L1 Handling wireless packet errors What is the efficacy of time sync in practice? Later in Evaluation. Slots Frame L2 L3 L4 L1 & L4 L2 L3 1 2 3 1 L1 & L4

PIP: Design Choices Goal: Effective and efficient delivery of sensed data over a multi-hop wireless sensor network. Mitigating Intra path interference Using multiple channels for spatial efficiency 1. Channel Access: TDMA 2. Access Control: Centralized 3. Multi-Channel Operation L1 Handling wireless packet errors Interfering links on different channels Ch 2 Ch 1 Slots Frame L2 L3 L3 L4 L3 L4 L1 L2 L1 L2 1 2 1 2 1 2 L4 50% thrput improvement

PIP: Design Choices Goal: Effective and efficient delivery of sensed data over a multi-hop wireless sensor network. Mitigating Intra path interference Using multiple channels for spatial efficiency Handling wireless packet errors 1. Channel Access: TDMA 2. Access Control: Centralized 3. Multi-Channel Operation Reliability Loss of time-sync Per-hop Ack In-band time sync

PIP: Design Choices Goal: Effective and efficient delivery of sensed data over a multi-hop wireless sensor network. Mitigating Intra path interference Using multiple channels for spatial efficiency 1. Channel Access: TDMA 2. Access Control: Centralized 3. Multi-Channel Operation 4. Connection-oriented Handling wireless packet errors Connection-state for a node: (slot, channel, sender/receiver).

PIP: MAC Interfaces Transport protocol is simplified using PIP MAC module. Transport module status send(pkt_type, pkt_body, pkt_len, extra_params) void senddone(pkt_type, status) pkt_type: ConnReq, Data, EOF, SNACK, TearDown Sink void recv(pkt_type, pkt_body, pkt_len, extra_params) void abortconn() Phase 2 send() recv() ConnReq Data EOF SNACK... nodelist getpath(nodeid) PIP MAC module TimeSync module Phase 1 Source Routing module Phase 3 TearDown 3 phases: Schedule dissemination, data transfer, tear down

PIP: MAC Operation E D Sink Has routing path, computes schedule C B A Source U1C Bulk data

PIP: MAC Operation E Sink D C B Schedule + Conn Request Extract schedule info Forward request Start MAC level timer Tune to reception data channel A Source U1C/ UMC

PIP: MAC Operation E Sink D C B Schedule + Conn Request Data + Ack A Source.... In-band time sync SMC Data packets carry time sync info Nodes synchronized to source

PIP: MAC Operation E Sink D C B A Schedule + Conn Request Data + Ack Source.. EOF.. SMC SNACK.... EOF: End Of File SNACK: Selective Negative Ack

PIP: MAC Operation E D C B A Schedule + Conn Request Sink Data + Ack Source.. EOF.. SNACK.... Tear Down A C Odd (slot 1) Even (slot 2) CH1 CH1 CH2 B B D D CH2 C E SMC PIP: Pipelining of Packets along the path

PIP: Features Combination of design choices is unique for PIP to achieve multi-hop bulk transfer. Protocol is simple to implement on resource constrained platforms. In-built and on-demand time synchronization. Periodic data packets carry timing info, no separate channel required for time sync.

PIP: Prototype Implementation

PIP: Prototype Implementation Software/Hardware Platform: Telosb Platform TI MSP 430 MCU (8MHz, 10K RAM, 48K Flash) CC2420 802.15.4 Radio (250Kbps, TX/RX Buffer = 128 B) Onboard Antenna (50m Indoors) TinyOS 2.1.0 SFD based Time Sync: Hardware level timestamping (e.g. TSMP) No software latency Clock skew ~2 ticks (1 tick = 30.5 us) All functionss of the MAC implemented in prototype. Data of 103 B. Logging module to collect logs at each node

PIP: Guard Band, Frame Duration Component Measured value (1 tick = 30.5 micro-sec) Time sync error (a) right after sync +/- 1 tick per hop (b) drift error < 1.5 ticks/sec Guard Time = 15 ticks. Slot Time = 200 ticks. Transmission + ACK Inaccuracy in timer fire 1-2 ticks Frame Duration = (200 + 15) X 2 = 430 ticks. Processing jitter 1-2 ticks Channel switching time ~ 10 ticks 1 2 3 RX TX RX TX RX TX Frame Duration RX TX RX TX RX TX Time Sync is required only w.r.t. neighboring nodes.

PIP: Pipelining Inside a Node No Pipelining With Pipelining 1 1 2 MCU CC2420 MCU CC2420 1 3 4 RX BUF Tmote Sky platform Critical Path: TX BUF

PIP: Pipelining Inside a Node No Pipelining With Pipelining 1 2 MCU 2 CC2420 MCU CC2420 3 4 2 RX BUF Tmote Sky platform Critical Path: TX BUF

PIP: Evaluation and Comparison 10 node (9 hop) implementation results Used Implementation parameters for PIP simulator Modeling a node's queue as DTMC and analytical results

PIP: Throughput vs. Number of Nodes ~ 63Kbps throughput, 12 X improvement over Flush. Simulation, analytical and implementation results match.

PIP: Throughput vs. Number of Nodes Throughput decreases slightly. PIP throughput decreases only slightly with number of nodes. PIP throughput is robust to error rates.

PIP: Throughput Upper Bound Radio capacity of 250 Kbps = 138 ticks/128 B packet 3 2 1 Single radio forwarding, capacity reduced to 125 Kbps = 276 ticks/128 B packet Ack packet reception 37 ticks Software overhead (e.g. interrupts, logging) 25 ticks Guard band 15 ticks total ticks = 276 + 2 * (37+25 +15) = 430 (frame duration) Effective throughput = 103 * 8 / 430 =~ 63 Kbps

PIP: Throughput Comparison How would it have helped had PIP been used for the Volcano Monitoring application? Fetch Flush No. No. of of Single Single Total Single Single Hops Nodes flow thr' flow Lat Latency flow thr' flow Lat put (Kbps) ency (sec) (sec) put (Kbps) ency (sec) 1 1 4.4 94 94 11 38.35 2 6 2.6 157 942 9.4 44.88 3 5 1.9 220 1100 7 60.27 4 2 1.4 283 566 6.2 68.05 5 1 1.2 346 346 5.4 78.13 6 1 1 409 409 5 84.38 3457 Total Latency (sec) 38.35 269.29 301.35 136.09 78.13 84.38 907.59 PIP Single Single Total flow thr' flow Lat Latency put (Kbps) ency (sec) (sec) 59.4 7 7 59.2 7.1 35.6 58.6 7.2 36 58.5 7.2 14.4 58.5 7.2 7.2 58.4 7.3 7.3 107.5 Effectiveness due to the multi-channel TDMA Time required/node to transfer data is ~7 seconds. Node s ability to sense the events is minimally affected!

PIP: Comparison with Flush For 10% error rate, PIP gives 50Kbps whereas Flush gives 8.5Kbps, a factor of 5.6 improvement over Flush.

PIP: External Interference PIP: Data Transfer In Progress E E D C 5 Mhz channel of 802.15.4 WiFi source (channel occupancy of ~2.3 ms) B A 22 Mhz Channel of 802.11 Question: Performance of PIP in the presence of WiFi interference (in 2.4 Ghz frequency range)?

PIP: External Interference, Channel Hopping Node follows a frequency sequence of {k, k+1,..., n, 1,... } in circular fashion Sequence conveyed during connection set up. E E Frequency/channel hopping across slots D C 5 Mhz channel of 802.15.4 WiFi source (channel occupancy of ~2.3 ms) B A 22 Mhz Channel of 802.11 Question: Performance of PIP in the presence of WiFi interference (in 2.4 Ghz frequency range)?

PIP: External Interference, Channel Hopping Frequency hopping effective in mitigating external interfernece.

PIP: External Interference, Channel Hopping Frequency hopping effective in mitigating external interfernece.

PIP: External Interference, Channel Hopping Frequency hopping effective in mitigating external interfernece.

Related Work Centralized Connection less Connection Connection less oriented Connection oriented Coordinated (TDMA) Uncoordinated (CSMA) Single chnl. Distributed Multi chnl. Single chnl. Multi chnl. NA NA 802.11 802.15.4 BMAC HOP DCC (two-radio) NA NA Flush NA NA NA RT-Link Wimax, TSMP, PIP Overlay MAC, CHMA, CHAT, FPS,TRAMA, MMAC, MAP, LMAC, SMAC, SSCH, TMAC McMAC (1-hop) NA NA PIP vs. WiMAX: PIP implementation based evaluation for a bulk transfer application. PIP vs. TSMP/FPS: PIP optimized for bulk data transfer applications, uses data packets themselves for synchronization. PIP vs. Flush: Time synchronized slots to clock the packets. Multiple channels to increase the spatial resuse. Hardware optimization to move packet copy off the critical path.

PIP: Concluding Remarks Goal: Achieve high thorughput bulk data transfer A highly efficient centralized multi-channel TDMA system Effective time sync mechanism Non-requirement of flow control Feasibility & effectiveness via implementation & evaluation Enables fast data transfer Robust to wireless packet errors, external interference Low memory requirement: queue size of 10 packets

Thanks! Questions??? PIP publication/presentation/source code at: http://www.cse.iitb.ac.in/~vijaygabale/pip/pip.php Vijay Gabale vijaygabale@cse.iitb.ac.in SyNerG: Systems and Networks Group http://www.cse.iitb.ac.in/synerg SenSys 2010

PIP: Pipelining Inside a Node and Slot Size TX (R) done Timer fired, start TX(R) E_SFD detected, start ACK timer RX (R) done FIFOP detected, cancel ACK timer i-1 S_SFD detected, start RX(S) TX_half_frame FIFOP high i+1 S_SFD start TX(S) i RX (S) done Packet received i RX_half_frame TX (S) done Switch to RX channel, set next timer Slot size = max (TX(R), RX(R), TX(S), RX(S)) = TX(R) TX(R) = T (MAC payload 103 B + Time stamp 4 B + PIP header 3 B + 802.15.4 header 12 B) + T (ACK 4 B) + Software Overhead = 138 + 37 + 25 = 200 ticks

PIP: Synchronization and Pipelining Node Direction of Flow 1 2 TX RX RX TX TX RX RX TX TX RX RX TX 3 TX RX TX RX TX RX 4 RX TX RX TX RX TX 5 TX RX Global Time TX RX TX RX Guard Band Guard Band: (1) No transmission (2) Continue reception

PIP: Requirement of Queue Size Queue requirement: To account for temporary variations in error rates of the incoming versus the outgoing wireless hop. We choose queue size of 10 for our implementation.

PIP: Non-requirement of Flow Control Flow control: In simulator, a node magically knows queue state of downstream node and refrains from transmitting. PIP performs well despite no flow control.

PIP: Time Sync Mechanism Node 1 MCU Node 2 CC2420 Capture S_SFD, insert global timestamp (T1) CC2420 MCU Capture S_SFD, record local time (T2) Offset of Node 2: T1 - T2. Hardware level timestamping, no software latency. Clock skew of ~2 ticks (1 tick ~ 30.5 us). Periodic data packets keep clock correction to minimal.

PIP: External Interference, Channel Hopping External interference in wireless networks Performance of PIP in the presence of WiFi in 2.4 Ghz range? Frequency/channel hopping in slots of the frame: Node follows a frequency sequence of {k, k+1,..., n, 1,... } in circular fashion Sequence conveyed during connection set up. Experimental set up: WiFi source on channel 6 (center frequency of 2.426 Ghz) Interferences with five 5Mhz 802.15.4 channels WiFi source generates 1777 B at 6Mbps (channel occupancy of ~2.3ms) for varing the inter-packet time.