1 Ultra-Low Duty Cycle MAC with Scheduled Channel Polling Wei Ye Fabio Silva John Heidemann...

36
1 Ultra-Low Duty Cycle Ultra-Low Duty Cycle MAC with Scheduled MAC with Scheduled Channel Polling Channel Polling Wei Ye Wei Ye Fabio Silva Fabio Silva John Heidemann John Heidemann Presented by: Ronak Bhuta Date: 4 th December 2007
  • date post

    21-Dec-2015
  • Category

    Documents

  • view

    216
  • download

    1

Transcript of 1 Ultra-Low Duty Cycle MAC with Scheduled Channel Polling Wei Ye Fabio Silva John Heidemann...

Page 1: 1 Ultra-Low Duty Cycle MAC with Scheduled Channel Polling Wei Ye Fabio Silva John Heidemann Presented by: Ronak Bhuta Date: 4 th December 2007.

11

Ultra-Low Duty Cycle Ultra-Low Duty Cycle MAC with Scheduled MAC with Scheduled

Channel PollingChannel Polling

Wei YeWei Ye

Fabio SilvaFabio Silva

John HeidemannJohn Heidemann

Presented by: Ronak BhutaDate: 4th December 2007

Page 2: 1 Ultra-Low Duty Cycle MAC with Scheduled Channel Polling Wei Ye Fabio Silva John Heidemann Presented by: Ronak Bhuta Date: 4 th December 2007.

2

OutlineOutline

►IntroductionIntroduction►SCP-MAC DesignSCP-MAC Design►Analysis and Lower bounds for LPL and Analysis and Lower bounds for LPL and

SCPSCP►Protocol ImplementationProtocol Implementation►Experimental evaluationExperimental evaluation►Effects on new radiosEffects on new radios►ConclusionsConclusions

Page 3: 1 Ultra-Low Duty Cycle MAC with Scheduled Channel Polling Wei Ye Fabio Silva John Heidemann Presented by: Ronak Bhuta Date: 4 th December 2007.

3

Saving EnergySaving Energy

►Various protocols have been Various protocols have been implemented to solve the problem of implemented to solve the problem of energy in Sensor networksenergy in Sensor networks

►CSMA- Periodic Listen and Sleep; CSMA- Periodic Listen and Sleep; Contention during listeningContention during listening

►Low-Power Listening (LPL)- Low-Power Listening (LPL)- Asynchronous ListeningAsynchronous Listening

►Scheduled Listening (S-MAC)- Scheduled Listening (S-MAC)- Maintaining SynchronizationMaintaining Synchronization

Page 4: 1 Ultra-Low Duty Cycle MAC with Scheduled Channel Polling Wei Ye Fabio Silva John Heidemann Presented by: Ronak Bhuta Date: 4 th December 2007.

4

Low-Power Listening (LPL)Low-Power Listening (LPL)

Reference:http://www.cse.wustl.edu/~lu/cs537s/Slides/scp.pdf

Page 5: 1 Ultra-Low Duty Cycle MAC with Scheduled Channel Polling Wei Ye Fabio Silva John Heidemann Presented by: Ronak Bhuta Date: 4 th December 2007.

5

Scheduled ListeningScheduled Listening

Reference:http://www.cse.wustl.edu/~lu/cs537s/Slides/scp.pdf

Page 6: 1 Ultra-Low Duty Cycle MAC with Scheduled Channel Polling Wei Ye Fabio Silva John Heidemann Presented by: Ronak Bhuta Date: 4 th December 2007.

6

Scheduled Listening and LPLScheduled Listening and LPL

► Scheduled listeningScheduled listening Advantage – efficient Advantage – efficient

transmissiontransmission Disadvantages-Disadvantages-

►Synchronization Synchronization overheadoverhead

►Listen interval is too Listen interval is too long in existing long in existing protocolsprotocols

► Low-Power ListeningLow-Power Listening Advantage – Advantage –

minimizes listen cost minimizes listen cost when no trafficwhen no traffic

Disadvantage – high Disadvantage – high costs on costs on transmissiontransmission

Page 7: 1 Ultra-Low Duty Cycle MAC with Scheduled Channel Polling Wei Ye Fabio Silva John Heidemann Presented by: Ronak Bhuta Date: 4 th December 2007.

7

The need for a new ProtocolThe need for a new Protocol

► Idle Listening is a major issue when Idle Listening is a major issue when light trafficlight traffic

►Duty cycle should be lowDuty cycle should be low►Sensor networks have varying traffic Sensor networks have varying traffic

loads loads ►So there is a need to adapt to the So there is a need to adapt to the

traffic with consistent performancetraffic with consistent performance

Page 8: 1 Ultra-Low Duty Cycle MAC with Scheduled Channel Polling Wei Ye Fabio Silva John Heidemann Presented by: Ronak Bhuta Date: 4 th December 2007.

8

Highlights of the paperHighlights of the paper

►Finding lower bounds of energy Finding lower bounds of energy consumption for LPL and Scheduled consumption for LPL and Scheduled Channel Polling (SCP)Channel Polling (SCP)

►Design SCP-MAC to achieve ultra-low Design SCP-MAC to achieve ultra-low duty cycle; very less than 1duty cycle; very less than 1

►Also adjusting duty cycles to variable Also adjusting duty cycles to variable traffictraffic

►Evaluating design options on different Evaluating design options on different radiosradios

Page 9: 1 Ultra-Low Duty Cycle MAC with Scheduled Channel Polling Wei Ye Fabio Silva John Heidemann Presented by: Ronak Bhuta Date: 4 th December 2007.

9

OutlineOutline

► IntroductionIntroduction

►SCP-MAC DesignSCP-MAC Design►Analysis and Lower bounds for LPL and Analysis and Lower bounds for LPL and

SCPSCP►Protocol ImplementationProtocol Implementation►Experimental evaluationExperimental evaluation►Effects on new radiosEffects on new radios►ConclusionsConclusions

Page 10: 1 Ultra-Low Duty Cycle MAC with Scheduled Channel Polling Wei Ye Fabio Silva John Heidemann Presented by: Ronak Bhuta Date: 4 th December 2007.

10

Design OverviewDesign Overview

►GoalsGoals Ultra Low Duty cycle-1/10Ultra Low Duty cycle-1/10thth of current MAC of current MAC Adapt to variable trafficAdapt to variable traffic

►ApproachApproach Combining strengths of scheduling and LPLCombining strengths of scheduling and LPL

►Finding optimal parameters under periodic trafficFinding optimal parameters under periodic traffic Adaptive channel polling and multi-hop Adaptive channel polling and multi-hop

streamingstreaming Other optimizationsOther optimizations

Page 11: 1 Ultra-Low Duty Cycle MAC with Scheduled Channel Polling Wei Ye Fabio Silva John Heidemann Presented by: Ronak Bhuta Date: 4 th December 2007.

11

Scheduled Channel Polling Scheduled Channel Polling (SCP)(SCP)

►SCP synchronizes neighbor’s channel SCP synchronizes neighbor’s channel polling time polling time A short wake up tone wakes up receiverA short wake up tone wakes up receiver It is efficient for both unicast and It is efficient for both unicast and

broadcast packetsbroadcast packets

Page 12: 1 Ultra-Low Duty Cycle MAC with Scheduled Channel Polling Wei Ye Fabio Silva John Heidemann Presented by: Ronak Bhuta Date: 4 th December 2007.

12

Adaptive Channel PollingAdaptive Channel Polling

Page 13: 1 Ultra-Low Duty Cycle MAC with Scheduled Channel Polling Wei Ye Fabio Silva John Heidemann Presented by: Ronak Bhuta Date: 4 th December 2007.

13

Adaptive Channel PollingAdaptive Channel Polling

► Increased duty cycle at heavy trafficIncreased duty cycle at heavy traffic►No explicit signaling is requiredNo explicit signaling is required►Multi-hop wake up and streaming can Multi-hop wake up and streaming can

be achievedbe achieved

Page 14: 1 Ultra-Low Duty Cycle MAC with Scheduled Channel Polling Wei Ye Fabio Silva John Heidemann Presented by: Ronak Bhuta Date: 4 th December 2007.

14

Other OptimizationsOther Optimizations

►Two-Phase ContentionTwo-Phase Contention

•Lower collision probability compared to a single contention window with the same length•Alternatively use shorter window to save energy

Page 15: 1 Ultra-Low Duty Cycle MAC with Scheduled Channel Polling Wei Ye Fabio Silva John Heidemann Presented by: Ronak Bhuta Date: 4 th December 2007.

15

Other Optimizations (contd..)Other Optimizations (contd..)

►Overhearing Avoidance Overhearing Avoidance SCP-MAC performs overhearing avoidance SCP-MAC performs overhearing avoidance

from MAC headersfrom MAC headers Receiver examines destination address of Receiver examines destination address of

a packet immediately after receiving its a packet immediately after receiving its MAC headerMAC header

If destined to another node, it If destined to another node, it immediately stops reception and radio immediately stops reception and radio goes to sleepgoes to sleep

Page 16: 1 Ultra-Low Duty Cycle MAC with Scheduled Channel Polling Wei Ye Fabio Silva John Heidemann Presented by: Ronak Bhuta Date: 4 th December 2007.

16

OutlineOutline

► IntroductionIntroduction►SCP-MAC DesignSCP-MAC Design►Analysis and Lower bounds for Analysis and Lower bounds for

LPL and SCPLPL and SCP►Protocol ImplementationProtocol Implementation►Experimental evaluationExperimental evaluation►Effects on new radiosEffects on new radios►ConclusionsConclusions

Page 17: 1 Ultra-Low Duty Cycle MAC with Scheduled Channel Polling Wei Ye Fabio Silva John Heidemann Presented by: Ronak Bhuta Date: 4 th December 2007.

17

Models and MetricsModels and Metrics

►Network: single hop with n+1 nodesNetwork: single hop with n+1 nodes► Traffics is periodic from each node at a Traffics is periodic from each node at a

known rate known rate ► Energy modelEnergy model

Four stable states: PFour stable states: Prx rx , P, Prxrx, P, Plistenlisten, P, Psleepsleep

Radio during transition state during polling: PRadio during transition state during polling: Ppollpoll (average)(average)

Expected energy: sum of energy in each state Expected energy: sum of energy in each state E=PE=Plistenlistenttcscs + P + Ptxtxtttxtx + P + Prxrxttrxrx + P + Ppollpollttpollpoll + P + Psleepsleepttsleepsleep

► Goal: To find best possible performance of Goal: To find best possible performance of LPL and SCPLPL and SCP

Page 18: 1 Ultra-Low Duty Cycle MAC with Scheduled Channel Polling Wei Ye Fabio Silva John Heidemann Presented by: Ronak Bhuta Date: 4 th December 2007.

18

Synchronization Overheads in Synchronization Overheads in SCPSCP

► Piggyback sync info on data packets if Piggyback sync info on data packets if possiblepossible

► Send Send syncsync packets periodically if there there packets periodically if there there is no datais no data

►Optimal Optimal Sync Sync period depends on:period depends on: Clock Drift rate, node density and data rateClock Drift rate, node density and data rate Wakeup tone length includes guard time to Wakeup tone length includes guard time to

tolerate clock drift between two tolerate clock drift between two syncsync messages messages Increasing Sync period reduces cost on sending Increasing Sync period reduces cost on sending

Sync, but increases wakeup tone lengthSync, but increases wakeup tone length

Page 19: 1 Ultra-Low Duty Cycle MAC with Scheduled Channel Polling Wei Ye Fabio Silva John Heidemann Presented by: Ronak Bhuta Date: 4 th December 2007.

19

Optimal Sync PeriodOptimal Sync Period

• Synchronization cost is not as high as it is thought to be• Rather synchronization is required every tens on minutes

Page 20: 1 Ultra-Low Duty Cycle MAC with Scheduled Channel Polling Wei Ye Fabio Silva John Heidemann Presented by: Ronak Bhuta Date: 4 th December 2007.

20

Energy Performance of LPL and Energy Performance of LPL and SPC with optimal settingsSPC with optimal settings

• LPL consumes about 3-6 times more energy than SCP on CC1000- it is due to long preambles in LPL• Also due to piggybacking energy consumed is reduced to almost half when data is sent rarely

Page 21: 1 Ultra-Low Duty Cycle MAC with Scheduled Channel Polling Wei Ye Fabio Silva John Heidemann Presented by: Ronak Bhuta Date: 4 th December 2007.

21

OutlineOutline

► IntroductionIntroduction►SCP-MAC DesignSCP-MAC Design►Analysis and Lower bounds for LPL and Analysis and Lower bounds for LPL and

SCPSCP

►Protocol ImplementationProtocol Implementation►Experimental evaluationExperimental evaluation►Effects on new radiosEffects on new radios►ConclusionsConclusions

Page 22: 1 Ultra-Low Duty Cycle MAC with Scheduled Channel Polling Wei Ye Fabio Silva John Heidemann Presented by: Ronak Bhuta Date: 4 th December 2007.

22

Protocol ImplementationProtocol Implementation

►Software architeture – MAC Software architeture – MAC functionality divided into four layers:functionality divided into four layers: Physical layer – bottom on stackPhysical layer – bottom on stack CSMA layer – responsible for performing CSMA layer – responsible for performing

carrier sensingcarrier sensing LPL – implemented on top of CSMALPL – implemented on top of CSMA

►Major purpose is to poll the channel & make Major purpose is to poll the channel & make radio sleep when there’s no activityradio sleep when there’s no activity

Scheduling – this is implemented over LPL Scheduling – this is implemented over LPL in SCP modelin SCP model

Page 23: 1 Ultra-Low Duty Cycle MAC with Scheduled Channel Polling Wei Ye Fabio Silva John Heidemann Presented by: Ronak Bhuta Date: 4 th December 2007.

23

Implementation (contd..)Implementation (contd..)

►TinyOS is used for CPU power TinyOS is used for CPU power managementmanagement

►SCP-MAC adapted to run on IEEE SCP-MAC adapted to run on IEEE 802.15.4 radios found on:802.15.4 radios found on: MicaZ hardware, originally on Mica2 MicaZ hardware, originally on Mica2

platform with CC1000 radiosplatform with CC1000 radios►MicaZ implementation is still very MicaZ implementation is still very

preliminary as significant work preliminary as significant work remains to tune implementation and remains to tune implementation and improve robustnessimprove robustness

Page 24: 1 Ultra-Low Duty Cycle MAC with Scheduled Channel Polling Wei Ye Fabio Silva John Heidemann Presented by: Ronak Bhuta Date: 4 th December 2007.

24

OutlineOutline

► IntroductionIntroduction►SCP-MAC DesignSCP-MAC Design►Analysis and Lower bounds for LPL and Analysis and Lower bounds for LPL and

SCPSCP►Protocol ImplementationProtocol Implementation

►Experimental evaluationExperimental evaluation►Effects on new radiosEffects on new radios►ConclusionsConclusions

Page 25: 1 Ultra-Low Duty Cycle MAC with Scheduled Channel Polling Wei Ye Fabio Silva John Heidemann Presented by: Ronak Bhuta Date: 4 th December 2007.

25

Experimental EvaluationExperimental Evaluation

►Verified the analysis and did a few Verified the analysis and did a few more experiments more experiments

►Used Mica2 Motes for experiments Used Mica2 Motes for experiments ►Having TinyOS Having TinyOS

Page 26: 1 Ultra-Low Duty Cycle MAC with Scheduled Channel Polling Wei Ye Fabio Silva John Heidemann Presented by: Ronak Bhuta Date: 4 th December 2007.

26

Optimal Setup with Periodic Optimal Setup with Periodic TrafficTraffic

Page 27: 1 Ultra-Low Duty Cycle MAC with Scheduled Channel Polling Wei Ye Fabio Silva John Heidemann Presented by: Ronak Bhuta Date: 4 th December 2007.

27

Performance with Unanticipated Performance with Unanticipated TrafficTraffic

►Comparing MAC’s Performance when Comparing MAC’s Performance when traffic load changestraffic load changes

►Settings:Settings: Configured as low duty cycle (0.3%)Configured as low duty cycle (0.3%) Heavy traffic occurs suddenly on a few Heavy traffic occurs suddenly on a few

nodesnodes

Page 28: 1 Ultra-Low Duty Cycle MAC with Scheduled Channel Polling Wei Ye Fabio Silva John Heidemann Presented by: Ronak Bhuta Date: 4 th December 2007.

28

Performance with Unanticipated Performance with Unanticipated TrafficTraffic

• LPL consumes 8 time more energy than SCP –•Short wakeup tone is Robust to variable traffic

Page 29: 1 Ultra-Low Duty Cycle MAC with Scheduled Channel Polling Wei Ye Fabio Silva John Heidemann Presented by: Ronak Bhuta Date: 4 th December 2007.

29

Energy consumption in Multi-Energy consumption in Multi-hop Networkhop Network

►Multi-hope network settings:Multi-hope network settings: Unicast over a 9-hop linear networkUnicast over a 9-hop linear network No clear optimal configurationNo clear optimal configuration Configure according to delay requirement Configure according to delay requirement

(1s polling period , 0.3% duty cycle)(1s polling period , 0.3% duty cycle)

Page 30: 1 Ultra-Low Duty Cycle MAC with Scheduled Channel Polling Wei Ye Fabio Silva John Heidemann Presented by: Ronak Bhuta Date: 4 th December 2007.

30

Energy consumption in Multi-Energy consumption in Multi-hop Networkhop Network

• LPL uses 20-40 times more energy than SCP•LPL costs due to overhearing and false wakeups

Page 31: 1 Ultra-Low Duty Cycle MAC with Scheduled Channel Polling Wei Ye Fabio Silva John Heidemann Presented by: Ronak Bhuta Date: 4 th December 2007.

31

Latency in Multi-hop NetworkLatency in Multi-hop Network

►This shows how adaptive polling helps This shows how adaptive polling helps with heavy trafficwith heavy traffic 9- hop network9- hop network Source generates 20 msgs at faster rate Source generates 20 msgs at faster rate Measure time for passing all msgs, Measure time for passing all msgs,

normalized to the number of msgsnormalized to the number of msgs

Page 32: 1 Ultra-Low Duty Cycle MAC with Scheduled Channel Polling Wei Ye Fabio Silva John Heidemann Presented by: Ronak Bhuta Date: 4 th December 2007.

32

Latency in Multi-hop NetworkLatency in Multi-hop Network

• Adaptive channel polling is 7 times faster than LPL and basic SC

Page 33: 1 Ultra-Low Duty Cycle MAC with Scheduled Channel Polling Wei Ye Fabio Silva John Heidemann Presented by: Ronak Bhuta Date: 4 th December 2007.

33

ConclusionsConclusions

►Better understanding of MAC Better understanding of MAC performance limitsperformance limits Find optimal performance under periodic Find optimal performance under periodic

traffictraffic Demonstrate low cost of synchronization Demonstrate low cost of synchronization

►SCP achieves duty cycles of < 0.1%SCP achieves duty cycles of < 0.1%►SCP adapts well to variable trafficSCP adapts well to variable traffic►Long preamble cost more on faster Long preamble cost more on faster

radiosradios

Page 34: 1 Ultra-Low Duty Cycle MAC with Scheduled Channel Polling Wei Ye Fabio Silva John Heidemann Presented by: Ronak Bhuta Date: 4 th December 2007.

34

CommentsComments

►Hidden terminals problem not Hidden terminals problem not discusseddiscussed

►How does SCP compare to S-MAC?How does SCP compare to S-MAC?

Page 35: 1 Ultra-Low Duty Cycle MAC with Scheduled Channel Polling Wei Ye Fabio Silva John Heidemann Presented by: Ronak Bhuta Date: 4 th December 2007.

35

ReferencesReferences

►http://www.isi.edu/~weiye/pub/Ye06_Shttp://www.isi.edu/~weiye/pub/Ye06_SenSys.pdfenSys.pdf

►http://www.cse.wustl.edu/~lu/cs537s/Shttp://www.cse.wustl.edu/~lu/cs537s/Slides/scp.pdflides/scp.pdf

►http://www.isi.edu/~weiye/talk/http://www.isi.edu/~weiye/talk/SenSys06_SCP.pdfSenSys06_SCP.pdf

Page 36: 1 Ultra-Low Duty Cycle MAC with Scheduled Channel Polling Wei Ye Fabio Silva John Heidemann Presented by: Ronak Bhuta Date: 4 th December 2007.

36

Thank YouThank You

Questions?Questions?