Wednesday, October 5, 2011

SMAC : Sensor MAC

SMAC stands for Sensor MAC . This protocol tries to reduce energy consumption due to overhearing, idle listening and collision. In this protocol also every node has two states, sleep state and active state. Unlike STEM, SMAC does not use two channels. A node can receive and transmit data during its listen period.

SMAC adopts a periodic wake up scheme. SMAC tries to synchronize the listen periods of neighboring nodes. The listen period of a node is divided into three phases as shown below. The listen period is the time during which a node is awake, rest of the time node is sleeping. The listen and sleep periods in the S-MAC are fixed intervals.



Three phases of listen period

In sync phase the neighboring synchronize their listen periods, a table is maintained regarding neighbors schedules, in RTS phase all nodes wishing to communicate to a particular node send RTS in CSMA mode with additional back off and in CTS the node acknowledges a particular RTS and communication between the two nodes starts and proceeds even in their sleep periods. The neighbors synchronize periodically.
SYNC packet is used to synchronize periodically. The SYNC packet contains senders address and time of its next sleep. The next sleep time is according to the sender, the receiver will adjust its timers after it receives the SYNC packet and updates the neighbor’s schedule.
In SMAC long data messages are fragmented and sent form transmitter to receiver. The receiver has to acknowledge for every fragment, else it is retransmitted. A series of fragments are sent with only one CTS and RTS message. This method is called as message passing. A protocol called T-MAC is proposed which is similar to S-MAC but with variable Listen and Sleep periods, this will help to suit the listen and sleep periods according to the load in the network.
The main concept in SMAC is that, all the neighboring nodes form virtual clusters and synchronize their sleep and listen periods. They communicate during their listen periods and sleep rest of the time. The immediate neighbors of nodes, which are transmitting and receiving, sleep until the communication is completed. A long message is divided into many fragments and all the fragments are sent as burst.
S-MAC contributes in these ways; reduction of idle listening(as nodes sleep and not stay in idle state),collision and overhearing avoidance by using RTS and CTS, and saving energy and time, by sending a series of fragments of a long message together, rather than going for contention after sending every fragment.

16 comments:

  1. Hi
    How often S-MAC synchronize?
    Once in lifetime or After every transmission or some thing else?

    ReplyDelete
  2. any MATLAB code for this protocol?

    ReplyDelete
  3. ns2 source code for this protocol please ?

    ReplyDelete
  4. nice,short and sweet explanation!!

    ReplyDelete
  5. This comment has been removed by the author.

    ReplyDelete
  6. can i get s-mac code for NetSim?

    ReplyDelete
  7. Where can i get a full length video tutorial or course on WSN

    ReplyDelete
  8. Really useful and information is compact indeed

    ReplyDelete
  9. We live in a world, which connects many machines to each other. The group of connected machines is network or computer network. Communication to each other, protocols are used among machines. These protocols networking are computer networking protocols. There are mainly two types of networks which are very popular, telecom network and internet network. Both have connected machines , but uses different protocols.

    ReplyDelete
  10. can you give detail working of cross layer communication . how information is accessed by data link layer from physical layer. Ex. remaining energy, SNR

    ReplyDelete
  11. THANKS FOR SHARING SUCH A GREAT WORK
    GOOD CONTENT!!
    data network in dubai

    ReplyDelete
  12. Its an amazing blog post where I get knowledge about technology the best quality of Mobile & Tablet Security Display Stands for your any purpose.

    ReplyDelete