ee360: lecture 15 outline sensor network protocolsee360: lecture 15 outline sensor network protocols...

22
EE360: Lecture 15 Outline Sensor Network Protocols Announcements 2nd paper summary due March 7 Reschedule Wed lecture: 11-12:15? 12-1:15? 5-6:15? Project poster session March 15 5:30pm? Next HW posted by Wed, due March 16 Overview of sensor network protocols Protocol tradeoffs Access Routing Data dessemination Energy-Efficient Protocols

Upload: others

Post on 21-Sep-2020

6 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: EE360: Lecture 15 Outline Sensor Network ProtocolsEE360: Lecture 15 Outline Sensor Network Protocols Announcements 2nd paper summary due March 7 Reschedule Wed lecture: 11-12:15? 12-1:15?

EE360: Lecture 15 Outline

Sensor Network Protocols

Announcements 2nd paper summary due March 7 Reschedule Wed lecture: 11-12:15? 12-1:15? 5-6:15? Project poster session March 15 5:30pm? Next HW posted by Wed, due March 16

Overview of sensor network protocols

Protocol tradeoffs

Access

Routing

Data dessemination

Energy-Efficient Protocols

Page 2: EE360: Lecture 15 Outline Sensor Network ProtocolsEE360: Lecture 15 Outline Sensor Network Protocols Announcements 2nd paper summary due March 7 Reschedule Wed lecture: 11-12:15? 12-1:15?

Crosslayer Protocol Design in Sensor Networks

Application

Network

Access

Link

Hardware

Energy consumption at each layer of the protocol

stack must be considered in the design

Page 3: EE360: Lecture 15 Outline Sensor Network ProtocolsEE360: Lecture 15 Outline Sensor Network Protocols Announcements 2nd paper summary due March 7 Reschedule Wed lecture: 11-12:15? 12-1:15?

IV-3

Wireless Sensor Network Protocols

Primary theme: building long-

lived, massively-distributed,

physically-coupled systems:

Coordinating to minimize

duty cycle and

communication

Adaptive MAC

Adaptive Topology

Routing

In-network processing

Data centric routing

Programming models

In-network: Application processing,

Aggregation, Query processing

Adaptive topology, Geo-Routing

MAC, Time, Location

Phy: comm, sensing, actuation, SP

User Queries, External Database

Data dissemination, storage, caching

Page 4: EE360: Lecture 15 Outline Sensor Network ProtocolsEE360: Lecture 15 Outline Sensor Network Protocols Announcements 2nd paper summary due March 7 Reschedule Wed lecture: 11-12:15? 12-1:15?

Protocol Tradeoffs under Energy Constraints

Hardware Models for circuit energy consumption highly variable All nodes have transmit, sleep, and transient modes Dense networks must consider TX+processing energy

Link

High-level modulation costs transmit energy but saves circuit energy (shorter transmission time)

Coding costs circuit energy but saves transmit energy Tradeoffs for other techniques (MIMO, relaying, etc.)

Access Time-division vs. code-division under energy constraints How to avoid collisions

Routing: Circuit energy costs can preclude multihop routing

Page 5: EE360: Lecture 15 Outline Sensor Network ProtocolsEE360: Lecture 15 Outline Sensor Network Protocols Announcements 2nd paper summary due March 7 Reschedule Wed lecture: 11-12:15? 12-1:15?

Medium Access Control in Sensor Nets

Important attributes of MAC protocols

1. Collision avoidance

2. Energy efficiency

3. Scalability in node density

4. Latency

5. Fairness

6. Throughput

7. Bandwidth utilization

Page 6: EE360: Lecture 15 Outline Sensor Network ProtocolsEE360: Lecture 15 Outline Sensor Network Protocols Announcements 2nd paper summary due March 7 Reschedule Wed lecture: 11-12:15? 12-1:15?

IV-6

• Major sources of energy waste

• Idle listening when no sensing

events, Collisions, Control

overhead, Overhearing

MAC Impact on Sensor Networks (Intanago et al, 2000)

0

0.02

0.04

0.06

0.08

0.1

0.12

0.14

0 50 100 150 200 250 300

Av

era

ge

Dis

sip

ate

d E

ner

gy

(Jou

les/

Nod

e/R

ecei

ved

Even

t)

Network Size

Diffusion

Omniscient Multicast Flooding

0

0.002

0.004

0.006

0.008

0.01

0.012

0.014

0.016

0.018

0 50 100 150 200 250 300

Aver

age

Dis

sip

ate

d E

ner

gy

(Jou

les/

Nod

e/R

ecei

ved

Even

t)

Network Size

Diffusion

Omniscient Multicast

Flooding

Over 802.11-like MAC Over energy-aware MAC

Page 7: EE360: Lecture 15 Outline Sensor Network ProtocolsEE360: Lecture 15 Outline Sensor Network Protocols Announcements 2nd paper summary due March 7 Reschedule Wed lecture: 11-12:15? 12-1:15?

IV-7

Identifying the Energy

Consumers

Need to shutdown the radio

SENSORS

Power consumption of node subsystems

0

5

10

15

20

Po

wer

(mW

)

CPU TX RX IDLE SLEEP

RADIO

SLEEPIDLERXTX EEEE

Page 8: EE360: Lecture 15 Outline Sensor Network ProtocolsEE360: Lecture 15 Outline Sensor Network Protocols Announcements 2nd paper summary due March 7 Reschedule Wed lecture: 11-12:15? 12-1:15?

• Major sources of energy waste

– Idle listening

• Long idle time when no sensing event

happens

• Collisions

• Control overhead

• Overhearing

• Try to reduce energy consumption from all above

sources

• TDMA requires slot allocation and time

synchronization

• Combine benefits of TDMA + contention protocols

Energy Efficiency in MAC

Common to all wireless

networks

Page 9: EE360: Lecture 15 Outline Sensor Network ProtocolsEE360: Lecture 15 Outline Sensor Network Protocols Announcements 2nd paper summary due March 7 Reschedule Wed lecture: 11-12:15? 12-1:15?

IV-9

Periodic Listen and Sleep

Schedule maintenance

Remember neighbors’ schedules — to know when to send to them

Each node broadcasts its schedule every few periods

Refresh on neighbor’s schedule when receiving an update

Schedule packets also serve as beacons for new nodes to join a neighborhood

Page 10: EE360: Lecture 15 Outline Sensor Network ProtocolsEE360: Lecture 15 Outline Sensor Network Protocols Announcements 2nd paper summary due March 7 Reschedule Wed lecture: 11-12:15? 12-1:15?

IV-10

Collision Avoidance

Problem: Multiple senders want to talk

Options: Contention vs. TDMA

Possible Solution: Similar to IEEE 802.11

ad hoc mode (DCF)

Physical and virtual carrier sense

Randomized backoff time

RTS/CTS for hidden terminal problem

RTS/CTS/DATA/ACK sequence

Page 11: EE360: Lecture 15 Outline Sensor Network ProtocolsEE360: Lecture 15 Outline Sensor Network Protocols Announcements 2nd paper summary due March 7 Reschedule Wed lecture: 11-12:15? 12-1:15?

Overhearing Avoidance

Problem: Receive packets destined to others

Solution: Sleep when neighbors talk

Basic idea from PAMAS (Singh 1998)

But we only use in-channel signaling

Who should sleep? • All immediate neighbors of sender and receiver

• How long to sleep?

• The duration field in each packet informs other nodes the sleep interval

Page 12: EE360: Lecture 15 Outline Sensor Network ProtocolsEE360: Lecture 15 Outline Sensor Network Protocols Announcements 2nd paper summary due March 7 Reschedule Wed lecture: 11-12:15? 12-1:15?

IV-12

Message Passing

Problem: In-network processing requires entire message

Solution: Don’t interleave different messages

Long message is fragmented & sent in burst

RTS/CTS reserve medium for entire message

Fragment-level error recovery

— extend Tx time and re-transmit immediately

Other nodes sleep for whole message time

Page 13: EE360: Lecture 15 Outline Sensor Network ProtocolsEE360: Lecture 15 Outline Sensor Network Protocols Announcements 2nd paper summary due March 7 Reschedule Wed lecture: 11-12:15? 12-1:15?

IV-13

Routing

Given a topology, how to route data?

MANET: Reactive[DSR], proactive[AODV],

TORA, GPSR[KarpKung00]

Location-aided routing: Geocast[Navas97],

Cartesian-LAR, [KOVaidya98]

Energy-budget routing

Geographical Routing (GRAB, curve routing)

Data-directed routing

Page 14: EE360: Lecture 15 Outline Sensor Network ProtocolsEE360: Lecture 15 Outline Sensor Network Protocols Announcements 2nd paper summary due March 7 Reschedule Wed lecture: 11-12:15? 12-1:15?

IV-14

GRAB: Field Based Minimum Cost Forwarding (Lu et al 2002)

Each node broadcasts only once

Cost Function is a measure of how expensive it is to get a message back to the sink.

Could be based on Energy needed in radio communication, hop count, or other considerations

Node Cost

Each node keeps best estimate on its minimum cost.

Estimate updated upon receipt of every ADV message.

ADV message forwarding deferred for time proportional to nodes cost estimate.

Page 15: EE360: Lecture 15 Outline Sensor Network ProtocolsEE360: Lecture 15 Outline Sensor Network Protocols Announcements 2nd paper summary due March 7 Reschedule Wed lecture: 11-12:15? 12-1:15?

IV-15

Energy-Budget Routing

A node with interesting data broadcasts two things (besides data)

Total budget to get back to sink.

Amount of budget used in initial broadcast.

A node receiving a data message will only forward a data message if

Total Budget Budget Spent So Far + My Cost

If the inequality holds then Budget Spent So Far is updated.

Otherwise the message is dropped.

Page 16: EE360: Lecture 15 Outline Sensor Network ProtocolsEE360: Lecture 15 Outline Sensor Network Protocols Announcements 2nd paper summary due March 7 Reschedule Wed lecture: 11-12:15? 12-1:15?

IV-16

Routing on a Curve (Nath et al 2002)

Route trajectories based on network structure

By definition, network structure mimics physical

structure that is instrumented Stress along a column

Flooding along a river

Pollution along a road

Trajectories come from application domain

Page 17: EE360: Lecture 15 Outline Sensor Network ProtocolsEE360: Lecture 15 Outline Sensor Network Protocols Announcements 2nd paper summary due March 7 Reschedule Wed lecture: 11-12:15? 12-1:15?

Minimum-Energy Routing Optimization Model

The cost function f0(.) is energy consumption.

The design variables (x1,x2,…) are parameters that affect energy consumption, e.g. transmission time.

fi(x1,x2,…)0 and gj(x1,x2,…)=0 are system constraints,

such as a delay or rate constraints.

If not convex, relaxation methods can be used.

Focus on TD systems

Min ,...),( 210 xxf

s.t. ,0,...),( 21 xxfi Mi ,,1

Kj ,,1,0,...),( 21 xxg j

Page 18: EE360: Lecture 15 Outline Sensor Network ProtocolsEE360: Lecture 15 Outline Sensor Network Protocols Announcements 2nd paper summary due March 7 Reschedule Wed lecture: 11-12:15? 12-1:15?

Minimum Energy Routing

Transmission and Circuit Energy

4 3 2 1

0.3

(0,0) (5,0) (10,0) (15,0)

Multihop routing may not be optimal when circuit energy consumption is considered

bits

RR

ppsR

100

0

60

32

1

Red: hub node Blue: relay only Green: source

Page 19: EE360: Lecture 15 Outline Sensor Network ProtocolsEE360: Lecture 15 Outline Sensor Network Protocols Announcements 2nd paper summary due March 7 Reschedule Wed lecture: 11-12:15? 12-1:15?

Relay Nodes with Data to Send

Transmission energy only

4 3 2 1 0.115

0.515

0.185

0.085

0.1

Red: hub node Green: relay/source

ppsR

ppsR

ppsR

20

80

60

3

2

1

(0,0) (5,0) (10,0) (15,0)

• Optimal routing uses single and multiple hops

• Link adaptation yields additional 70% energy savings

Page 20: EE360: Lecture 15 Outline Sensor Network ProtocolsEE360: Lecture 15 Outline Sensor Network Protocols Announcements 2nd paper summary due March 7 Reschedule Wed lecture: 11-12:15? 12-1:15?

Cooperative MIMO for Sensors

Nodes close together can cooperatively transmit Form a multiple-antenna transmitter

Nodes close together can cooperatively receive

Form a multiple-antenna receiver

Node cooperation can increase capacity, save energy, and reduce delay.

Page 21: EE360: Lecture 15 Outline Sensor Network ProtocolsEE360: Lecture 15 Outline Sensor Network Protocols Announcements 2nd paper summary due March 7 Reschedule Wed lecture: 11-12:15? 12-1:15?

Summary

Protocol designs must take into account energy constraints

Efficient protocols tailored to the application

For large sensor networks, in-network processing and cooperation is essential

Cross-layer design critical

Page 22: EE360: Lecture 15 Outline Sensor Network ProtocolsEE360: Lecture 15 Outline Sensor Network Protocols Announcements 2nd paper summary due March 7 Reschedule Wed lecture: 11-12:15? 12-1:15?

Presentation

“Energy-efficiency of MIMO and

cooperative MIMO techniques in sensor

networks”

S. Cui, A.J. Goldsmith, and A. Bahai

Presented by Yizheng Liao