a component based architecture for power efficient media
play

A Component-Based Architecture for Power-Efficient Media Access - PowerPoint PPT Presentation

A Component-Based Architecture for Power-Efficient Media Access Control in WSNs Kevin Klues , Greg Hackmann, Octav Chipara, Chenyang Lu Department of Computer Science and Engineering Problem ! Conflicting application requirements " Energy


  1. A Component-Based Architecture for Power-Efficient Media Access Control in WSNs Kevin Klues , Greg Hackmann, Octav Chipara, Chenyang Lu Department of Computer Science and Engineering

  2. Problem ! Conflicting application requirements " Energy " Latency " Throughput Habitat Monitoring Tracking Structural Health Health Care 2

  3. Problem ! Conflicting application requirements " Energy " Latency " Throughput Need different low-level protocols to meet demands of each requirement Habitat Monitoring Tracking Structural Health Health Care 3

  4. Current Solution Design a new MAC protocol ! Backoff Control S-MAC Send/Receive Interfaces Duty Cycling Interfaces " Interfaces BMAC " ZMAC " XMAC " MAC Protocol WiseMAC Send/Receive " Logic T-MAC " SCP " Funnel-MAC " Crankshaft " 802.15.4 " DRAND " …………… " 4

  5. Problem with Current Solution Design a new MAC protocol ! Backoff Control S-MAC Send/Receive Interfaces Sleep Scheduling Interfaces " Interfaces BMAC " ZMAC " Sleep Scheduling Protocol XMAC " WiseMAC Send/Receive Clear " Logic Channel Radio Assessment T-MAC " State Machine SCP Backoff Controller " Funnel-MAC " Crankshaft " 802.15.4 " DRAND " …………… " 5

  6. Problem with Current Solution Design a new MAC protocol ! Backoff Control S-MAC Send/Receive Interfaces Sleep Scheduling Interfaces " Interfaces BMAC " ZMAC " Sleep Scheduling Protocol XMAC " WiseMAC Send/Receive Clear " Logic Channel Radio Assessment T-MAC " State Machine SCP Backoff Controller " Funnel-MAC " Crankshaft " 802.15.4 " DRAND " …………… " 6

  7. Problem with Current Solution Design a new MAC protocol ! Backoff Control S-MAC Send/Receive Interfaces Sleep Scheduling Interfaces " Interfaces BMAC " ZMAC " Duty Cycling Protocol XMAC " Backoff Controller Radio Clear State WiseMAC Channel Send/Receive " Machine Assessment Logic T-MAC " SCP " Funnel-MAC " Crankshaft " 802.15.4 All functionality jumbled into one big " DRAND monolithic implementation " …………… " 7

  8. Problem with Current Solution What’s wrong with a monolithic radio stack? ! Hard to develop new MAC protocols " • No clear separation of concerns • Need intimate knowledge of entire stack Protocols not reusable across radio platforms " 8

  9. Problem with Current Solution What’s wrong with a monolithic radio stack? ! Hard to develop new MAC protocols " • No clear separation of concerns • Need intimate knowledge of entire stack Protocols not reusable across radio platforms " Sleep Scheduling Protocol Radio Core Link Layer Support for Flexible Radio Power Management in Wireless Sensor Networks Kevin Klues, Guoliang Xing, and Chenyang Lu. In proceedings for The Fifth International Conference on Information Processing in Sensor Networks (IPSN 2007). 9

  10. Our Contributions Extend previous work to componentize sleep ! scheduling protocols Enables fast development of new protocols " Reduces porting effort " Introduce definition of low-level components enabling ! more sophisticated protocol development Timers Radio Core 10

  11. Outline ! MLA: MAC Layer Architecture ! Example B-MAC Implementation ! Evaluation ! Conclusions 11

  12. MLA: MAC Layer Architecture Component-based architecture for MAC protocol development ! Defines two types of components ! Hardware-independent (portable across platforms) " Hardware-dependent (portable interfaces, platform specific implementations) " Components implement common features of MAC protocols ! Previous work focused on " supporting duty cycling for CSMA protocols Now provide support for " TDMA and time-sync through multiple hardware-dependent components Timers Radio Core 12

  13. Component Library Hardware Independent Hardware Dependent Preamble Sender Radio Core LPL Listener Local Time Channel Poller Alarm Slot Handlers (TDMA/CSMA) Time Synchronization Low Level Dispatcher Async I/O Adapter 13

  14. Component Library CSMA Protocols (including RTS/CTS above) Hardware Independent Hardware Dependent Preamble Sender Preamble Sender Radio Core adio Core LPL Listener LPL Listener Local Time Channel Channel Poller oller Alarm larm Slot Handlers (TDMA/CSMA) Time Synchronization Low Level Dispatcher Async I/O Adapter sync I/O Adapter 14

  15. Component Library TDMA Protocols Hardware Independent Hardware Dependent Preamble Sender Radio Core Local Time ocal Time LPL Listener Channel Poller Alarm larm Slot Handlers Slot Handlers (TDMA/CSMA) (TDMA/CSMA) Time Synchronization Time Synchronization Low Level Dispatcher Low Level Dispatcher Async I/O Adapter 15

  16. Component Library Hybrid Protocols Hardware Independent Hardware Dependent Preamble Sender Preamble Sender Radio Core adio Core LPL Listener LPL Listener Local Time ocal Time Channel Poller Channel oller Alarm larm Slot Handlers Slot Handlers (TDMA/CSMA) (TDMA/CSMA) Time Synchronization Time Synchronization Low Level Dispatcher Low Level Dispatcher Async I/O Adapter sync I/O Adapter 16

  17. MLA: MAC Layer Architecture ! Allows swappable MAC implementations for differing application requirements ! Enables fast development of new MAC protocols ! Simplifies porting to a new platform Reimplement hardware-dependent components " Hardware independent components stay the same " ! Comparable to monolithic implementations Memory Footprint " Performance " Energy efficiency " 17

  18. B-MAC Sender: Preamble Data Sleep Receiver: Data Sleep Check the Check the Check the Channel Channel Channel and receive 18

  19. B-MAC Sender: Receiver performs Preamble Data periodic CCA check Sleep Receiver: Data Sleep Check the Check the Check the Channel Channel Channel and receive 19

  20. B-MAC Sender sends preambles equal to CCA check period Sender: Receiver performs Preamble Data periodic CCA check Sleep Receiver: Data Sleep Check the Check the Check the Channel Channel Channel and receive 20

  21. B-MAC Sender sends preambles equal to CCA check period Sender: Receiver receives Receiver performs Preamble Data data if channel periodic CCA check busy when performing Sleep check Receiver: Data Sleep Check the Check the Check the Channel Channel Channel and receive 21

  22. Breakdown of B-MAC What does it need? ! Method of turning the radio on and off " Method of checking the channel for radio activity (CCA) " Periodic Timer to listen for radio activity " A way of sending / receiving preambles " A way of sending / receiving data " Sleep Data Sleep Check the Check the Check the Channel Channel and receive Channel 22

  23. Breakdown of B-MAC What does it need? ! Method of turning the radio on and off " Method of checking the channel for radio activity (CCA) " Radio Core 23

  24. Breakdown of B-MAC What does it need? ! Method of turning the radio on and off " Method of checking the channel for radio activity (CCA) " Periodic Timer to listen for radio activity " Channel Poller Timers Radio Core 24

  25. Breakdown of B-MAC What does it need? ! Method of turning the radio on and off " Method of checking the channel for radio activity (CCA) " Periodic Timer to listen for radio activity " A way of sending preambles and data " Bmac Sender Preamble Sender Channel Poller Timers Radio Core 25

  26. Breakdown of B-MAC What does it need? ! Method of turning the radio on and off " Method of checking the channel for radio activity (CCA) " Periodic Timer to listen for radio activity " A way of sending preambles and data " A way of receiving data and filtering out preambles " Bmac Sender Bmac Preamble Filter Preamble Sender Channel Poller LPL Listener Timers Radio Core 26

  27. Other Topics Worth Mentioning ! Customizable CCA checks Uses LocalTime component to control duration of CCA check " Larger memory footprint " More energy consumption " ! Fixed Sleep vs. Periodic LPL Listener 27

  28. Evaluation All evaluations performed on TelosB motes in TinyOS 2.0.1 ! Implemented 5 MAC protocols ! B-MAC, X-MAC, SCP-Wustl, Pure TDMA, SS-TDMA " Measure ! Reusability of components among protocols " Memory footprint compared to monolithic implementations " Throughput " Latency " Energy Consumption " 28

  29. Reusability of Components B-MAC X-MAC SCP-Wustl Pure-TDMA SS-TDMA Channel Poller LPL Listener Preamble Sender Time Synchronization TDMA Slot Handler CSMA Slot Handler Low Level Dispatcher Async I/O Adapter Alarm Local Time Radio Core Other Components 3 3 4 2 2 Reused Components 6 6 8 7 8 29

  30. Code Reuse 30

  31. Memory Footprint (TelosB) ROM Overhead RAM Overhead 31

  32. Throughput 32

  33. Throughput 33

  34. Throughput 34

  35. Message Latency 35

  36. Energy Consumption 36

  37. Energy Consumption 84.5% 37

  38. Energy Consumption 85.4% 38

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend