Design Energy Efficient SMAC Protocol For Wireless Sensor Networks Using Neighbour Discovery Scheduling Algorithm
Design Energy Efficient SMAC Protocol For Wireless Sensor Networks Using Neighbour Discovery Scheduling Algorithm
ABSTRACT
Wireless sensor networks have recently attracted their design can contribute significantly to the overall
much attention from research. This project reviews energy requirements of the sensor
ensor node. The MAC [1]
the medium access control (MAC), which is a capable protocol in WSN, the nodes do not always need to
technology in wireless sensor networks called SMAC activate. They allow medium periodic access to the
(Sensor-MAC).
MAC). MAC protocols control how sensors transmission of data and put their radio in low-power
low
reach a shared communication channel to sleep mode between periodic transmissions. The
communicate with neighbors
ighbors in small area coverage. amount of device spent in active
activ mode is called duty
SMAC sets the protocol nodes to sleep during the cycle.
transmission of other nodes. During this large amount
of time waste in the data communication process, the Sensor Medium Access Control (SMAC) is an
neighbor node has to wait till the nodes get started. important technique that enables the successful
Also, many packets
kets are lost when all the nodes send operation of the network. One fundamental task of
the data packet simultaneously to a single node and SMAC protocol is to avoid collision so that two
this leads to data loss or corrupt data. In wireless interfering nodes are not transmitted at the same time.
sensor network the efficient use of energy leads to If higher energy efficiency demands are also
enhance the network lifetime. Idle listening, collision, considered, then it becomes clear that the design of
control
rol overhead and over hearing are the main MAC protocol for WSN is a daunting task [2]. The
reasons of energy waste in SMAC protocols. Thus, to following features are considered for preparing a good
conserve energy and enhance network lifetime we SMAC protocol for wireless sensor networks.
ne The
propose a new contention-based Energy Efficient first throughput is then the packet is delayed and
SMAC protocol called EE-SMACSMAC for wireless sensor finally the end is delayed. As the sensor nodes are
networks. likely to operate before the battery, and it is often
difficult to replace or recharge the batteries for these
Keywords: Wireless Sensor Network (WSN), Media nodes [10]. In fact, someday it i will be expected that
Access Control (MAC), Sensor-MAC
MAC (SMAC), Energy some nodes will be so cheap that they will be
Efficient SMAC (EE-SMAC),
SMAC), Idle Listening, Collision, abandoned rather than recharge.Long-term
recharge.Long network
Overhearing. lifetime for these nodes is an important issue. Another
important feature is scalability and adaptive for
1. INTRODUCTION network size change, i.e. the number
n of nodes in the
WSN [6, 10] is related to energy consumption and network. Some nodes may die over time; some new
sensing applications in sensorr nodes. Sensor nodes nodes may join later; some nodes can go to different
should operate using limited energy sources places. A good MAC protocol should adjust the
(batteries) due to their small size. Since the MAC changes in this kind of network behavior [4].
protocol has full control over the wireless radio, so
@ IJTSRD | Available Online @ www.ijtsrd.com | Volume – 2 | Issue – 4 | May-Jun 2018 Page: 2216
International Journal of Trend in Scientific Research and Development (IJTSRD) ISSN: 2456-6470
Algorithm: as SINK_NODE on start of simulation. The Sink node
1. Define the Initial node Si and Destination Node Di acts as the network coordinator and performs the
2. Find the Min Distance and Min Distance Path entire task such as scheduling synchronizing of the
between Si and Di nodes etc. if any node wants to transmit the packet it
3. Find All N Neighbour Nodes of Si called first becomes active and sends RTS signal to receiver
4. Neighbour i<Distance Vector for I=1 to N nodes. The receiver nodes in turn send the CTS signal
5. Find Min Distance, Min Energy, and Node for all and the data transmission begins between the two
the Neighbours nodes nodes.
6. If (Energy (Neighbour)) =Min Energy&&
7. Node (Neighbour) <=Threshold && Distance During this data transmission if any other node wants
(Neighbour) =Min Distance to transmit the data to the node that is already in
8. Set Neighbour node as Next node process of communication, it will send the request to
9. Else if Distance (Neighbour) =Min Distance the Sink Node and goes to sleep state. The Sink Node
10. Set Neighbour node as Next node will perform scheduling after the first communication
11. Else (Energy (Neighbour)) =Min Energy of receiver nodes gets complete and the requested
12. Set Neighbour node as Next node node will then wake up. Thus, the time for which the
13. Else if (Energy (Neighbour)) =Min Energy and node remains active gets minimized since the duty
Distance (Neighbour) =Min Distance cycle is reduced.
14. Set Neighbour node as Next node
15. If Node (Neighbour) has data to send For transmitting the data to the sink node from the
16. Set Node as Active node that is too far, the neighbour node is calculated
17. If Node is Active and Receiver wants to send by finding the minimum distance between the two
18. Send RTS to receiver using the GPS system and the nearest node is chosen
19. Send CTS by receiver for forwarding the data packet. Thus, all the nodes get
20. Data transmission begins active for short interval of time and the energy of all
21. No packet Collision the nodes remain almost equal which results in load
22. Else If Node is Active and Receiver is not ready to balancing. The rest of all the nodes are sensor nodes
receive with no any marking so as to present clarity in the
23. Data loss animation. The energy of the entire node is set as EM
24. Else If Node is Active and Receiver do not wants variable using Energy Model.
to send
25. Energy Loss Finally, the Perl script is used to plot the graph of the
26. Else proposed algorithm (i.e. EE-SMAC). And these
27. Collision occurred, retransmit and reschedule graphs are compared with the SMAC protocol on
28. Else various parameters given below. It has been found
29. Set Node as Sleep that the network lifetime and throughput of the WSN
30. No energy loss is better when we use the proposed algorithm than
5. Simulation Methodology that of using SMAC protocol. Also, more nodes are
This section illustrates, the work which has been alive in case of using proposed algorithm for data
performed using NS-2 simulator and compare the transmission. The different simulation parameters that
result of EE-SMAC protocol with SMAC protocol have been set up are given below:
with respect to different parameters like residual TABLE: Parameters used for simulation
energy consumption, throughput, packet delay ratio DESCRIPTION PARAMETER
and end-to-end packet delay by varying the inter Traffic type CBR
arrival time of data packets or message. Channel type Wireless/Phy
MAC layer Sensor MAC
Table shows the important simulation parameters used No. of nodes 25
in the simulation process. The simulation is done in a
Propagation model Two rayground
5 x 5 flat grid star topology having 25 nodes one node
Queue length 50
is the Sink node also can be called as Access Point. It
is the node which acts as the destination node for all Interface type Drop Tail/PriQueue
other 24 nodes in the network. Sink Node is marked Antenna type Omni Antenna
@ IJTSRD | Available Online @ www.ijtsrd.com | Volume – 2 | Issue – 4 | May-Jun 2018 Page: 2217
International Journal of Trend in Scientific Research and Development (IJTSRD) ISSN: 2456-6470
2456
6. Parameters for Comparison b. Remaining Energy/Residual Energy
a. End-to-end delay Consumption
Average End-to-EndEnd delay is a metrics used to Residual Energy = Total Energy Consumed – (Total
measure the performance with time taken by a packet no. of packets sent + Total no. of packets received+
to travel across a network from a source node to the Total time spend by the devices in sleep mode)
destination node. The average end to end delay of a c. Throughput
data packet is calculated by subtracting time at whic
which Throughput of a network can be defined as the
first packet was transmitted by source from time at number of successfully delivered packet.
which first data packet arrived to destination. d. Packet Deliver Ratio
End-to-End Delay=Σ (arrive time – send time) / The packet delivery ratio is the ratio of number of
Number of connections packet received to the number of packets sent in
network.
7. Results& Discussion
In this paper we compared SMAC and EE
EE-SMAC
SMAC under varying traffic load. The snapshots below show the th
NAM output of 25 nodes. Fig.1 shows when energy model is configured for the nodes the color of the node
n
automatically sets to green
Fig.7. Throughput
@ IJTSRD | Available Online @ www.ijtsrd.com | Volume – 2 | Issue – 4 | May-Jun 2018 Page: 2220
International Journal of Trend in Scientific Research and Development (IJTSRD) ISSN: 2456-6470
2456
7. Conclusion and Future Scope adaptive sleeping for wireless sensor networks”.
Several MAC layer protocols have been developed for IEEE/ACM Transactions on Networking, Jun.
WSN. One of them is SMAC in which there are some 2004, 12(3): 493-506.
issues. This project proposes the EE-SMMC
SMMC protocol
7. Yadav Rajesh, Varma Shirshu, Malaviya N. “A
for the WSN and examines it with SMAC protocol for
survey of MAC protocols for Wireless Sensor
WSN in relation to various performance metrics such
Networks”. UbiCC Journal, Volume 4, Number 3,
as delays, residual energy and throughput and packet
August 2009
distribution ratio at thee end of the NS2. The proposed
algorithm shows significantly better results by 8. KAZEM SOHRABY, DANIEL MINOLI and
reducing the duty cycle of nodes, more and more TAIEB ZNATI. “WIRELESS
“WIRELES SENSOR
nodes are active for long periods of time period when NETWORKS Technology Protocols and
neighboring nodes are used for long periods of data Applications”. A JOHN WILEY & SONS, INC,
transmission. Thus, the use of EE-SMAC SMAC protocol PUBLICATION
throughput of the network increases. Delay in 9. Dave Ankur P, Singh Shweta. “Comparative
transmitting packets is also minimal and using a pre
pre- Analysis between IEEE 802.11 and SMAC”. 978-
978
SMAC protocol, a large number of packets are 1-4799-6272-3/15/$31.00(c)2015
3/15/$31.00(c)2015 IEEE
distributed, indicating that the minimum packet is
collision. Duty cycle adjustment and variations in 10. Wei Ye, John Heidemann and Deborah Estrin.
Est
other network parameters can be done in future in so “An Energy-Efficient
Efficient MAC Protocol for Wireless
as to improve the network performance. Also, effect Sensor Networks”
of varying duration of duty cycle and node 11. Fayez Alfayeza, Mohammad Hammoudeha,
synchronization can be addressed as a partfuture Abdelrahman Abuarqoubb 2015. “A survey on
work. MAC protocols for duty cycled wireless sensor
networks”. Procedia Computer Science 73 (2015)
REFERENCES 482 – 489
1. Bao-Mao Pang, Hao-Shan Shi, YanYan-Xiao Li. “An 12. Ravi T. I Matani and Tejas M. Vasavada 2015.” A
Energy-Efficient
Efficient MAC Protocol for Wireless Survey on MAC Protocols for Data Collection in
Sensor Network”. springerlink.com Wireless Sensor Networks”. International Journal
2. Ilker Demirkol, Cem Ersoy, and Fatih Alagöz, of Computer Applications (0975 – 8887) Volume
“MAC Protocols for Wireless Sensor Networks: a 114 – No. 6, March 2015
Survey”, Communications Magazine, IEEE, April 13. WOOCHUL LEE, YUTAE LEE, SOONGHEE
2006, Volume: 44 , Issue: 4 Page(s): 115 - 121 LEE and DONGIL L KIM 2006. “Analysis of
3. Dave P. Ankur, Singh Shweta. “Comparative SMAC/T-MACMAC Protocols for Wireless Sensor
Analysis between IEEE 802.11 and SMAC”2015 Networks”. Proceedings of the 10th WSEAS
International Conference on Pervasive Computing International Conference on
(ICPC) COMMUNICATIONS, Vouliagmeni, Athens,
Greece, July 10-12,
12, 2006 (pp260-265)
(pp260
4. Varghese Jobin, Rao S. Viswanatha.
“Performance Analysis of Synchronous and 14. W. Ye, J. Heidemann, and D. Estrin,
Estrin “An energy-
Receiver
er Initiated MAC Protocols under Varying efficient MAC protocol for wireless sensor
Traffic Density over Wireless Sensor Networks” networks”. Proc. IEEE INFOCOM, New York,
978-1-4799-4190-2/14/$31.00
2/14/$31.00 ©2014 IEEE NY, June 2002, pp. 1567–
–1576.
5. WOOCHUL LEE, YUTAE LEE, SOONGHEE 15. Lu G., KrishnaMAChari B., Raghavendra C.S.,
LEE, DONGIL KIM. “Analysis
Analysis of SMAC/T
SMAC/T- “An Adaptive Energy-Efficient
Efficient and Low-Latency”
Low
MAC Protocols for Wireless Sensor Networks
Networks”. MAC for Data Gathering in Wireless Sensor
Proceedings of the 10th WSEAS International Networks”. Proc. 18th Int’l. Parallel and Distrib.
Conference on COMMUNICATIONS, Processing Symp., p. 224, Apr.2004.
Vouliagmeni, Athens, Greece, July 10
10-12, 2006 16. Kabara Joseph, Calle Maria 2012. “MAC
(pp260-265) Protocols Used by Wireless Sensor Networks
N and
6. Wei Ye, John Heidemann, Deboriah Estrin. a General Method of Performance Evaluation”.
“Medium access control with coordinated Hindawi Publishing Corporation International
@ IJTSRD | Available Online @ www.ijtsrd.com | Volume – 2 | Issue – 4 | May-Jun 2018 Page: 2222