42
UNIVERSITY OF CALIFORNIA SANTA CRUZ Energy-Efficient Channel Access Protocols Venkatesh Rajendran [email protected]

UNIVERSITY OF CALIFORNIA SANTA CRUZ Energy-Efficient Channel Access Protocols Venkatesh Rajendran [email protected]

  • View
    213

  • Download
    0

Embed Size (px)

Citation preview

Page 1: UNIVERSITY OF CALIFORNIA SANTA CRUZ Energy-Efficient Channel Access Protocols Venkatesh Rajendran venkat@soe.ucsc.edu

UNIVERSITY OF CALIFORNIA SANTA CRUZ

Energy-Efficient Channel Access Protocols

Venkatesh [email protected]

Page 2: UNIVERSITY OF CALIFORNIA SANTA CRUZ Energy-Efficient Channel Access Protocols Venkatesh Rajendran venkat@soe.ucsc.edu

2

UC Santa Cruz

Introduction

Sensor networks are a special class of multihop wireless networks.

Ad-hoc deployment.

Self-configuring.

Unattended.

Battery powered.

Page 3: UNIVERSITY OF CALIFORNIA SANTA CRUZ Energy-Efficient Channel Access Protocols Venkatesh Rajendran venkat@soe.ucsc.edu

3

UC Santa Cruz

Network Architecture

Sink Sink

•Thousands of nodes.

•Short radio range (~10m).

•Event-driven.

•Hierarchical deployment.

•Fault tolerance.

Information Processing

Page 4: UNIVERSITY OF CALIFORNIA SANTA CRUZ Energy-Efficient Channel Access Protocols Venkatesh Rajendran venkat@soe.ucsc.edu

4

UC Santa Cruz

MAC Protocols

Regulate channel access in a shared medium.

A

C

B Collision at B

X

No coordination (ALOHA)

Page 5: UNIVERSITY OF CALIFORNIA SANTA CRUZ Energy-Efficient Channel Access Protocols Venkatesh Rajendran venkat@soe.ucsc.edu

5

UC Santa Cruz

CSMA

Listen before transmittingStations sense the channel before transmittingdata packets.

S R H

XCollision at R

Hidden Terminal Problem

Page 6: UNIVERSITY OF CALIFORNIA SANTA CRUZ Energy-Efficient Channel Access Protocols Venkatesh Rajendran venkat@soe.ucsc.edu

6

UC Santa Cruz

CSMA with Collision Avoidance

Stations carry out a handshake to determine which one can send a data packet (e.g., MACA, FAMA, IEEE802.11, RIMA).

S R H

RTSCTS

Data

ACK Backoff due to CTS

Page 7: UNIVERSITY OF CALIFORNIA SANTA CRUZ Energy-Efficient Channel Access Protocols Venkatesh Rajendran venkat@soe.ucsc.edu

7

UC Santa Cruz

Idle Listening

Tx

Rx

Idle Listen

Idle Listen

Tx

Rx

Sleep

Sleep

Sleep Scheduling

Medium Access Energy-efficient channel access is important to prolong the life-time of sensor

nodes. Conventional media-access control protocols waste energy by collisions, and idle

listening. Radios have special sleep mode for energy conservation.

Page 8: UNIVERSITY OF CALIFORNIA SANTA CRUZ Energy-Efficient Channel Access Protocols Venkatesh Rajendran venkat@soe.ucsc.edu

8

UC Santa Cruz

Achieving energy efficiency

When a node is neither transmitting or receiving, switch to low-power sleep mode.

Prevent collisions and retransmissions. Need to know Tx, Rx and when

transmission event occurs.

Scheduled-based(time-slotted) MAC Protocols

Page 9: UNIVERSITY OF CALIFORNIA SANTA CRUZ Energy-Efficient Channel Access Protocols Venkatesh Rajendran venkat@soe.ucsc.edu

9

UC Santa Cruz

Contention-based Channel Access Protocols: S-MAC & T-MAC

Page 10: UNIVERSITY OF CALIFORNIA SANTA CRUZ Energy-Efficient Channel Access Protocols Venkatesh Rajendran venkat@soe.ucsc.edu

10

UC Santa Cruz

S-MAC [Ye etal] Features Collision Avoidance

Similar to 802.11 (RTS/CTS handshake). Overhearing Avoidance

All the immediate neighbors of the sender and receiver goes to sleep.

Message Passing Long messages are broken down in to smaller

packets and sent continuously once the channel is acquired by RTS/CTS handshake.

Increases the sleep time, but leads to fairness problems.

Page 11: UNIVERSITY OF CALIFORNIA SANTA CRUZ Energy-Efficient Channel Access Protocols Venkatesh Rajendran venkat@soe.ucsc.edu

11

UC Santa Cruz

S-MAC Overview Time is divided in to cycles of listen

and sleep intervals. Schedules are established such that

neighboring nodes have synchronous sleep and listen periods.

SYNC packets are exchanged periodically to maintain schedule synchronization.

Page 12: UNIVERSITY OF CALIFORNIA SANTA CRUZ Energy-Efficient Channel Access Protocols Venkatesh Rajendran venkat@soe.ucsc.edu

12

UC Santa Cruz

S-MAC Operation

Page 13: UNIVERSITY OF CALIFORNIA SANTA CRUZ Energy-Efficient Channel Access Protocols Venkatesh Rajendran venkat@soe.ucsc.edu

13

UC Santa Cruz

Schedule Establishment Node listens for certain amount of time. If it does not hear a schedule, it chooses a

time to sleep and broadcast this information immediately.

This node is called the ‘Synchornizer’. If a node receives a schedule before

establishing its schedule, it just follows the received schedule.

If a node receives a different schedule, after it has established its schedule, it listens for both the schedules.

Page 14: UNIVERSITY OF CALIFORNIA SANTA CRUZ Energy-Efficient Channel Access Protocols Venkatesh Rajendran venkat@soe.ucsc.edu

14

UC Santa Cruz

S-MAC Illustration

Page 15: UNIVERSITY OF CALIFORNIA SANTA CRUZ Energy-Efficient Channel Access Protocols Venkatesh Rajendran venkat@soe.ucsc.edu

15

UC Santa Cruz

T-MAC[Dam etal]: S-MAC Adaptive Listen

Page 16: UNIVERSITY OF CALIFORNIA SANTA CRUZ Energy-Efficient Channel Access Protocols Venkatesh Rajendran venkat@soe.ucsc.edu

16

UC Santa Cruz

T-MAC: Early Sleeping Problem

Page 17: UNIVERSITY OF CALIFORNIA SANTA CRUZ Energy-Efficient Channel Access Protocols Venkatesh Rajendran venkat@soe.ucsc.edu

17

UC Santa Cruz

T-MAC/S-MAC Summary

Simple contention-based channel access with duty cycle-based sleeping.

Restricting channel contention to a smaller window negative effect on energy savings due to collisions.

Requires schedule co-ordination with one hop neighbors.

Page 18: UNIVERSITY OF CALIFORNIA SANTA CRUZ Energy-Efficient Channel Access Protocols Venkatesh Rajendran venkat@soe.ucsc.edu

18

UC Santa Cruz

Scheduling-based Channel Access Protocols: TRAMA and FLAMA

Page 19: UNIVERSITY OF CALIFORNIA SANTA CRUZ Energy-Efficient Channel Access Protocols Venkatesh Rajendran venkat@soe.ucsc.edu

19

UC Santa Cruz

TRAMA: TRaffic-Adaptive Medium Access

Establish transmission schedules in a way that: is self adaptive to changes in traffic, node

state, or connectivity. prolongs the battery life of each node. is robust to wireless losses.

Page 20: UNIVERSITY OF CALIFORNIA SANTA CRUZ Energy-Efficient Channel Access Protocols Venkatesh Rajendran venkat@soe.ucsc.edu

20

UC Santa Cruz

TRAMA - Overview Single, time-slotted channel access. Transmission scheduling based on two-hop

neighborhood information and one-hop traffic information.

Random access period Used for signaling: synchronization and updating

two-hop neighbor information. Scheduled access period:

Used for contention free data exchange between nodes.

Supports unicast, multicast and broadcast communication.

Page 21: UNIVERSITY OF CALIFORNIA SANTA CRUZ Energy-Efficient Channel Access Protocols Venkatesh Rajendran venkat@soe.ucsc.edu

21

UC Santa Cruz

TRAMA Features Distributed TDMA-based channel

access. Collision freedom by distributed

election based on Neighborhood-Aware Contention Resolution (NCR).

Traffic-adaptive scheduling to increase the channel utilization.

Radio-mode control for energy efficiency.

Page 22: UNIVERSITY OF CALIFORNIA SANTA CRUZ Energy-Efficient Channel Access Protocols Venkatesh Rajendran venkat@soe.ucsc.edu

22

UC Santa Cruz

Time slot organization

Page 23: UNIVERSITY OF CALIFORNIA SANTA CRUZ Energy-Efficient Channel Access Protocols Venkatesh Rajendran venkat@soe.ucsc.edu

23

UC Santa Cruz

Each node maintains two-hop neighbor information.

Based on the time slot ID and node ID, node priorities are calculated using a random hash function.

A node with the highest two-hop priority is selected as the transmitter for the particular time slot.

Neighborhood-aware contention resolution (NCR)[Bao et al., Mobicom00]

Page 24: UNIVERSITY OF CALIFORNIA SANTA CRUZ Energy-Efficient Channel Access Protocols Venkatesh Rajendran venkat@soe.ucsc.edu

24

UC Santa Cruz

A

C

D

BE

F

3

2

15

8

9

11CWinner

G

H

I

13

3

14NCR does not elect receivers and hence, no support for radio-mode control.

NCR - Example

Page 25: UNIVERSITY OF CALIFORNIA SANTA CRUZ Energy-Efficient Channel Access Protocols Venkatesh Rajendran venkat@soe.ucsc.edu

25

UC Santa Cruz

TRAMA Components

Neighbor Protocol (NP). Gather 2-hop neighborhood information.

Schedule Exchange Protocol (SEP). Gather 1-hop traffic information.

Adaptive Election Algorithm (AEA). Elect transmitter, receiver and stand-by

nodes for each transmission slot. Remove nodes without traffic from

election.

Page 26: UNIVERSITY OF CALIFORNIA SANTA CRUZ Energy-Efficient Channel Access Protocols Venkatesh Rajendran venkat@soe.ucsc.edu

26

UC Santa Cruz

Neighbor Protocol

Main Function: Gather two-hop neighborhood information by using signaling packets.

Incremental neighbor updates to keep the size of the signaling packet small.

Periodically operates during random access period.

Page 27: UNIVERSITY OF CALIFORNIA SANTA CRUZ Energy-Efficient Channel Access Protocols Venkatesh Rajendran venkat@soe.ucsc.edu

27

UC Santa Cruz

Packet Formats

Page 28: UNIVERSITY OF CALIFORNIA SANTA CRUZ Energy-Efficient Channel Access Protocols Venkatesh Rajendran venkat@soe.ucsc.edu

28

UC Santa Cruz

Schedule Exchange Protocol (SEP) Schedule consists of list of intended

receivers for future transmission slots. Schedules are established based on the

current traffic information at the node. Propagated to the neighbors

periodically. SEP maintains consistent schedules for

the one-hop neighbors.

Page 29: UNIVERSITY OF CALIFORNIA SANTA CRUZ Energy-Efficient Channel Access Protocols Venkatesh Rajendran venkat@soe.ucsc.edu

29

UC Santa Cruz

Schedule Packet Format

Page 30: UNIVERSITY OF CALIFORNIA SANTA CRUZ Energy-Efficient Channel Access Protocols Venkatesh Rajendran venkat@soe.ucsc.edu

30

UC Santa Cruz

Adaptive Election Algorithm (AEA) Decides the node state as either

Transmit, Receive or Sleep. Uses the schedule information

obtained by SEP and a modified NCR to do the election.

Nodes without any data to send are removed from the election process, thereby improving the channel utilization.

Page 31: UNIVERSITY OF CALIFORNIA SANTA CRUZ Energy-Efficient Channel Access Protocols Venkatesh Rajendran venkat@soe.ucsc.edu

31

UC Santa Cruz

Simulation Results

Delivery Ratio

Synthetic broadcast traffic using Poisson arrivals.

50 nodes, 500x500 area.

512 byte data.

Average node density: 6

Page 32: UNIVERSITY OF CALIFORNIA SANTA CRUZ Energy-Efficient Channel Access Protocols Venkatesh Rajendran venkat@soe.ucsc.edu

32

UC Santa Cruz

Energy Savings

Percentage Sleep Time Average Length of sleep interval

Page 33: UNIVERSITY OF CALIFORNIA SANTA CRUZ Energy-Efficient Channel Access Protocols Venkatesh Rajendran venkat@soe.ucsc.edu

33

UC Santa Cruz

TRAMA Limitations

Complex election algorithm and data structure.

Overhead due to explicit schedule propagation.

Higher queueing delay.

Flow-aware, energy-efficient framework.

Page 34: UNIVERSITY OF CALIFORNIA SANTA CRUZ Energy-Efficient Channel Access Protocols Venkatesh Rajendran venkat@soe.ucsc.edu

34

UC Santa Cruz

TRAMA Summary

Significant improvement in delivery ratio in all scenarios when compared to contention-based protocols.

Significant energy savings compared to S-MAC (which incurs more switching).

Acceptable latency and traffic adaptive.

Page 35: UNIVERSITY OF CALIFORNIA SANTA CRUZ Energy-Efficient Channel Access Protocols Venkatesh Rajendran venkat@soe.ucsc.edu

35

UC Santa Cruz

Flow-aware Medium Access Framework Avoid explicit schedule propagation.

Take advantage of application. Simple election algorithm to suit systems

with low memory and processing power (e.g., 4KB ROM in Motes).

Incorporate time-synchronization, flow discovery and neighbor discovery during random-access period.

Page 36: UNIVERSITY OF CALIFORNIA SANTA CRUZ Energy-Efficient Channel Access Protocols Venkatesh Rajendran venkat@soe.ucsc.edu

36

UC Santa Cruz

Flow Information

Flow information characterizes application-specific traffic patterns.

Flows can be unicast, multicast or broadcast.

Characterized by source, destination, duration and rate.

Page 37: UNIVERSITY OF CALIFORNIA SANTA CRUZ Energy-Efficient Channel Access Protocols Venkatesh Rajendran venkat@soe.ucsc.edu

37

UC Santa Cruz

Example: Data Gathering Application

A

C

E

BD

Sink

Fb

Fc

Fd

Fe

Page 38: UNIVERSITY OF CALIFORNIA SANTA CRUZ Energy-Efficient Channel Access Protocols Venkatesh Rajendran venkat@soe.ucsc.edu

38

UC Santa Cruz

Flow Discovery Mechanism

Combined with neighbor discovery during random-access period.

Adapted based on the application. for data gathering application, flow

discovery is essentially establishing the data forwarding tree.

Page 39: UNIVERSITY OF CALIFORNIA SANTA CRUZ Energy-Efficient Channel Access Protocols Venkatesh Rajendran venkat@soe.ucsc.edu

39

UC Santa Cruz

Example

S

Sink initiates neighbor discovery, flow discovery and time synchronization.

Broadcasts periodic SYNC packets.

Potential children reply with SYNC_REQ.

Source reinforces with another SYNC packet.

Once associated with a parent, nodes start sending periodic SYNC broadcasts.

A

B

C

Sink

SYNC

SYNC_REQ

Page 40: UNIVERSITY OF CALIFORNIA SANTA CRUZ Energy-Efficient Channel Access Protocols Venkatesh Rajendran venkat@soe.ucsc.edu

40

UC Santa Cruz

Election Process

Weighted election to incorporate traffic adaptivity.

Nodes are assigned weights based on their incoming and outgoing flows.

Highest priority 2-hop node is elected as the transmitter.

A node listens if any of its children has the highest 1-hop priority. Can switch to sleep mode

if no transmission is started.

S

A

B

C

Sink ws=0

wc=1

wc=1

wa=3

Page 41: UNIVERSITY OF CALIFORNIA SANTA CRUZ Energy-Efficient Channel Access Protocols Venkatesh Rajendran venkat@soe.ucsc.edu

41

UC Santa Cruz

Simulation Results (16 nodes, 500x500 area, CC1000 radio, grid topology, edge sink)

Delivery Ratio Queueing Delay

Page 42: UNIVERSITY OF CALIFORNIA SANTA CRUZ Energy-Efficient Channel Access Protocols Venkatesh Rajendran venkat@soe.ucsc.edu

42

UC Santa Cruz

FLAMA Summary

Simple algorithm that can be implemented on a sensor platform.

Significant performance improvement by application awareness.