Docsity

Energy-efficient MAC Protocol for Wireless Sensor Networks: Understanding S-MAC, Slides of Computer Networks

Partial preview of the text

Download Energy-efficient MAC Protocol for Wireless Sensor Networks: Understanding S-MAC and more Slides Computer Networks in PDF only on Docsity!

An Energy-efficient MAC protocol

for Wireless Sensor Networks

Outline

  • Introduction to WSN
  • Design considerations
  • Energy inefficiency Sources
  • Existing MAC protocol design
  • S-MAC
  • Testbed and Implementation
  • Result and Analysis
  • Conclusion and future work

Design Considerations

  • Level 1 issues
    • Collision avoidance-a basic task of MAC protocols
    • Good scalability
    • Energy efficiency -Often difficult recharge batteries or replace them -Prolonging the life-time is important
  • Level 2 issues
    • Latency, fairness, throughput, bandwidth

Energy Inefficiency Sources

  • Collision
    • Corrupted packets must be retransmitted and it increases energy consumption
  • Overhearing
    • Receive packets destined to others

Existing MAC protocol design

  • Contention based protocols
    • IEEE 802.11 distributed coordination function (DCF) - Each nodes contends for the medium as necessary and wastes a lot of energy in idle listening
    • PAMAS
      • Asking separate radio channel for RTS/CTS
      • Does not address the issue of reduce idle listening
  • TDMA based protocols
    • Advantages
      • lower energy conservation when compared to contention based as the duty cycle of the radio is reduced and no contention overhead
    • Problems
      • Requires nodes to form real communication clusters and managing inter-cluster communication is difficult
      • It is not easy to change the slot assignment dynamically, hence scalability is not as good as contention based

Trade offs between energy efficiency and performance (1)

  • Trade-offs of per-hop fairness and latency
  • This does not necessarily result in lower end- to-end fairness and latency

Trade offs between energy efficiency and performance (2)

  • It is important in wireless voice or data networks as each user desires equal opportunity and time to access the network
  • Is it important for sensor networks?
    • In sensor networks all nodes co-operate and work together for a single application
    • So per-hop fairness is not important as long as application level performance is not degraded.

Network assumptions (2)

  • Dedicated to a single application or a few collaborative applications
  • Involves in-network processing to reduce traffic and thereby increase the life-time
  • This implies that data will be processed as whole messages at a time in store-and-forward fashion
  • Hence packet or fragment-level interleaving from multiple sources only delays overall latency
  • Applications will have long idle periods and can tolerate some latency

Periodic listen and Sleep (1)

  • Problem: Idle listing wastes a lot of energy
  • Solution: Periodic listen and sleep

 Turn off radio when sleeping  Reduce duty cycle to ~ 10% (200ms on/2s off)

Periodic listen and Sleep (3)

  • If a node A wants to talk to node B, it just waits until B is listening
  • If multiple neighbors want to talk to a node, they need to contend for the medium
  • Contention mechanism is the same as that in IEEE802.11 (using RTS and CTS)
  • After they start data transmission, they do not go to periodic sleep until they finish transmission

Periodic listen and Sleep (4)-choosing and maintaining schedules

  • Each node maintains a schedule table that stores schedules of all its known neighbors.
  • To establish the initial schedule (at the startup) following steps are followed: - A node first listens for a certain amount of time. - If it does not hear a schedule from another node, it randomly chooses a schedule andbroadcast its schedule immediately. - This node is called a SYNCHRONIZER. - If a node receives a schedule from a neighbor before choosing its own schedule, it just followsthis neighbor’s schedule. - This node is called a FOLLOWER and it waits for a random delay and broadcasts its schedule. - If a node receives a neighborschedules and broadcasts its own schedule before going to sleep.’s schedule after it selects its own schedule, it adopts to both
  • Time of next sleep is relative to the moment that the sender finishes transmitting the SYNC packet
  • Receivers will adjust their timer counters immediately after they receive the SYNC packet
  • Listen interval is divided into two parts: one for receiving SYNC and other for receiving RTS

Periodic listen and Sleep (6)- Timing Relationship of Possible Situations