• No results found

A New Reliable and Energy Efficient MAC Protocol for Wireless Sensor Networks

N/A
N/A
Protected

Academic year: 2022

Share "A New Reliable and Energy Efficient MAC Protocol for Wireless Sensor Networks"

Copied!
6
0
0

Loading.... (view fulltext now)

Full text

(1)

A New Reliable and Energy Efficient MAC Protocol for Wireless Sensor Networks

Yogita Devi

1

Ravi Kant Sharma

2

Amita Verma

3

1,2,3

Department of Electronics and Communication Engineering

1,2,3

Green Hills Engineering College, Kumarhatti, Solan (HP), India.

Abstract— In wireless sensor networks (WSN) the important parameter which is used to measure the performance of protocols is the energy efficiency. As the applications of WSN are in remote areas it will almost be impossible to recharge or replace the batteries of sensor nodes. Also the number of sensor nodes in a network may be very large.

Therefore the aim of this research paper is focused upon an energy efficiency in medium access control (MAC) protocols for improved lifetime of sensor nodes.This research paper tries to focus on design and development of an energy efficient and reliable MAC protocol based on the TDMA, IEEE 802.15.4 wireless-MAC and physical layer provisions for WSN. MAC protocols for WSN have problems of consuming high energy in communication algorithms and processing techniques. MAC protocol proposed in this paper will achieve good energy efficient performance in terms of reducing unnecessary execution and optimizing transmission algorithm. MATLAB simulation has been used to test the performance of proposed MAC protocol. Simulation results shows the comparison of proposed approach with existing approaches and depict that proposed approach have good performance

Key words: Sensor, WSN, MAC, Protocol, energy efficiency I. INTRODUCTION

Basically, the WSN operation is dependent mainly upon three types of operations carried out by the sensor nodes. These are:

sensing, transmission and reception of data, data aggregation.

Most of the energy of the network is consumed while transmission and reception of data. Transmission and reception of data can be controlled by two types of protocols:

Medium Access Control (MAC) protocols and routing protocols [1]. The MAC layer is a sub-layer of the data-link layer. It provides efficient usage of the communication channel so that nodes can access the channel without collision. It helps the node to access the channel for data transmission. The MAC protocol plays an important role in energy saving, throughput, QoS and minimum delay [2].

The collection of rules that governs when which node can communicate is collectively known as a Medium Access Control (MAC) protocol. The MAC protocol is responsible for effective and efficient communication. To accomplish these sometimes conflicting responsibilities, many techniques can be used. For example, Collision Avoidance (CA), time synchronization, and Low Power Listening (LPL) to name just a few [3]. For WSN special MAC protocols are required because these networks are energy constrained networks. It is impossible to replace or recharge power source in a sensor node. An important factor in the energy consumption is the number of messages that a node sends or has to receive. Although the management of the radio must be tuned to the expected network

communications, it is not the responsibility of the MAC protocol to limit the traffic.

In this paper we have presented a new energy efficient MAC protocol for WSNs. The remainder of this paper is as follows. Section 2 presents a state of the art on the MAC protocols in sensor networks. Section 3, describes the problem statement of the deployment in sensor networks.

Section 4 proposes a new TDMA based energy efficient MAC protocol for WSN. Section 5 discusses the results of the experimentations based on the proposed approach with comparative analysis. Finally, section 6 discusses and concludes the paper and proposes future work.

II. RELATED WORK

In all type of networks MAC protocols are classified into three categories: Protocols based on CSMA [2], Protocols based on TDMA and Hybrid protocols. In protocols based on CSMA, sensor nodes works on a sleep wake-up process. It means the nodes periodically wake up, listen to the channel and go to sleep state again. CSMA based MAC protocols have lesser delays and good throughput at lower loads of traffic.

Authors in recent years have proposed many CSMA based protocols and try to resolve the issues by taking all the WSN constraints into consideration. In [13], the authors has developed a new CSMA based MAC protocol and name it as PAMAS. It tries to overcome the problem of overhearing, but it fails to manage number of collisions. Working on CSMA based protocols [16] proposed a MAC protocol, S-MAC which had some improvement over PAMAS. It makes idle nodes to shut down and save energy to increase lifetime of the network. But it also fails in reducing number of collisions, which increase the number of retransmissions and reduce lifetime of the network. In T-MAC [15] authors solve the problem of S-MAC by using small-sleeping time interval when the channel is idle.

In TDMA based protocols, to avoid collisions, time slots are assigned for every sensor node and these nodes wake-up and listen to the communication channel only in their own time slot. After gathering or transmitting data over the channel the nodes will go to sleep again. The advantage of TDMA protocols are that these have lesser number of collisions than CSMA based protocols. As there is collision free medium, it will increase the throughput of WSN at high traffic loads also. But, in case of low traffic loads there is a decrease in throughput of the network because of increase in number of idle time intervals. TRAMA [10] and Y-MAC [6]

are the TDMA based protocol for WSN. In TRAMA traffic based scheduling algorithm was used to avoid wasting the time intervals.

Some other protocols have been proposed for WSN like WXMAC [3], which is a hybrid MAC protocol and is efficient in terms of reliable data delivery. EE-MAC [9]

(2)

proposed recently for WSN and it is also a hybridization of TDMA and FDMA. It is energy efficient and reliable MAC protocol. CH-MAC [17] was also proposed as a hybrid MAC protocol. This protocol improves network lifetime and throughput of WSN. This protocol works well with the clustering based wireless sensor network. After studying all of these protocols the problem definition has been formulated as in the next section.

III. PROBLEM DEFINITION

Because energy is such a limited resource in wireless sensor networks, the primary concern in wireless sensor network MAC protocols is energy efficiency. To design a MAC protocol that is as energy efficient as possible, one first has to identify the sources of wasteful energy consumption in wireless MAC protocols. Ye et. al. [16] identify the energy wastage sources as idle listening, collisions, overhearing and control packet overhead. In these sources collisions are on top in terms of wastage of energy. Hence, a MAC protocol must avoid collisions in WSN. Other factors must also be looked out, but of course in a single MAC algorithm we cannot overcome all of these factors simultaneously. Hence in the proposed approach we are focusing on collision avoidance mainly.

IV. PROPOSED MAC PROTOCOL

Proposed MAC protocol utilizes the listen and sleep scheme by using energy consumption and location coordinates of the node. The radio of the a sensor node, which do not have the time slot to transmit of have nothing to transmit, will be switched off and again switched on when it have to transmit data in its time slot. Also every node has the data about its neighbor’s time slots hence the radio will be switched on whenever its neighbor have to transmit data. This is because the node has to receive data and forward it further towards base station.

Each sensor node maintain a neighbor table which records the receiving information from its neighbors.

Neighbor table is having four columns (Source_ID, Time_slot, Energy, Location). By using this table the sensor node will be able to inform other neighbors that when to turn on the radio to receive the packet. An energy threshold has been defined in the algorithm. If any of the sensor node having energy below this threshold the node will be considered as dead node and will be removed from the neighbor list of all other nodes.

A. Protocol Description:

In the starting of the network the nodes are deployed in the application area. The nodes will communicate to themselves with hello packets to make the network working. After deployment process completion each sensor node has been assigned with a TDMA slot for transmission of data. Again, by using hello packets each sensor node request its neighbors to share their time slots. After the completion of this process each sensor node knows the time slots of its neighbors. Sensor nodes periodically exchange the information about time slots and energy level. Initially the energy of each sensor node is high and all nodes are capable of performing network operations.

B. Algorithm:

Step 1: Initialize the protocol by defining packet types

 Hello Packet (Node_ID, Energy, Location, No_of_neighbors, Time_slot)

 Control Packet (Node_ID, Energy, Current_time_slot, Exchange_information)

 Data Packet (Node_ID, Location, Forwarder_node, DATA)

Step 2: Define initial energy for each node as En=10 Joules and Eth=0.2Joules

Step 3: Set all nodes to Active State.

Step 4: For each node in the network repeat from step 5 to step 9

Step 5: Broadcast Hello Packet

Step 6: If any node in the network receive hello packet repeat following steps

 Extract sender node ID, location, energy level and TDMA slot

 Add this node to the Neighbor table.

 Construct reply message as acknowledgement for the sender node

 Send reply

Step 7: Sort the neighbor table according to energy level of nodes.

Step 8: If node having TDMA slot at present then

 Activate its radio

 Active state: Ready to transmit and receive data Step 9: Else

 Switch off radio

 Activate sleep state

Step 9: If a node has data to be sent towards base station

 Select the first neighbor ng from the sorted neighbor list

 If TDMA slot present for ng and Eng > Eth

 Send control packet to activate the radio of ng

 Send data packet toward ng

 Else

 If Eng < Eth

 Assign dead state to ng by sending a control packet

 Remove ng from neighbor table

 Else wait for the TDMA slot of neighbors to be activated Step 10: Calculate energy for each neighbor again

𝐸𝑛𝑔= 𝐸𝑛𝑔− (𝐸𝑇𝑟𝑎𝑛𝑠𝑚𝑖𝑠𝑠𝑖𝑜𝑛+ 𝐸𝑅𝑒𝑐𝑒𝑝𝑡𝑖𝑜𝑛+ 𝐸𝐶𝑎𝑙𝑐𝑢𝑙𝑎𝑡𝑖𝑜𝑛

+ 𝐸𝑖𝑑𝑙𝑒)

Step 11: Stop algorithm if Packet reached Base station.

C. Flowchart of Proposed MAC Protocol:

The protocol operation will be completed in the following phases. The flowchart of the protocol operation has been shown below in figure 1 below.

(3)

Fig. 1: Flowchart for the protocol operation V. RESULTS AND ANALYSIS

MATLAB is used to simulate the results of proposed MAC protocol. This section discusses the results obtained after simulating the scenario of wireless sensor network. The simulation results have been compared with the results of the EE-MAC [9] and CH-MAC [17] protocols. Table 1 shows the parameter setting of the network.

Simulation Parameter Value

Area 500 x500 m

Number of Nodes 50, 100, 200 Initial Energy of Each

node 0.5 Joule

Electronic Energy (Eelec) 50 nJ (50*0.000000001 Joule) Amplification Energy

(Eamp)

100 pJ (10*0.000000000001 Joule)

Packet Size 50 bits

Number of Simulation

Rounds 300

Threshold Energy Eth 0.2 Joules Table 1: Simulation Parameters A. Deployment of Sensor nodes:

The nodes are randomly deployed in 500 x 500 m field. The nodes are deployed in such a way that these can approximately cover the whole application area. The base station position is 250 x 250 m in the field. The field area has been considered physical world environment. The proposed MAC protocol starts working immediately after the deployment process is complete. Figure 2 below represents the random deployment of the nodes in the area of consideration.

Fig. 2: Sensor Deployment 1) Energy Efficiency:

Energy efficiency of wireless sensor network is measured as the total energy consumption which has been recorded for each algorithm after each round. To record energy efficiency firstly total energy has been computed by adding the energies of each node in the network. When the network starts functioning each node will decay in its energy due to network operations like setting up the network, transmitting and receiving packets and also sending and receiving acknowledgements. As the nodes are decaying their energy the consumption of energy will go on increasing per round as we can see in figure 3 below. It can be seen in the figure that energy consumption for proposed MAC protocol is less as compared to other two algorithms. This is because the proposed MAC protocol distribute energy consumption equally to all nodes so that every node can survive up to their maximum lifetime. Hence, the proposed MAC protocol is more energy efficient than CH-MAC and EE-MAC.

Fig. 3(a): Total energy consumption

Fig. 3(b): Average Energy consumption

(4)

2) Path Loss due to Collisions:

In wireless sensor networks each node broadcasts packets toward base station. But on the same time if more than one node are transmitting packets than there will be chances of collisions. The path loss occur due to these collisions. The packet loses its energy and also there can be a need of retransmission of packets. These retransmissions cause energy loss in the network. Collisions can be avoided by appropriate MAC protocol.

Fig. 4(a): Path loss

Fig. 4(b): Average Path loss

The proposed approach discussed in this paper avoid collisions by using TDMA slots for transmissions and reception of packets. Figure 4 represents the results obtained in terms of path loss for all three MAC protocols. Path loss has been calculated in the simulation and recorded for each round. It can be seen from figure that proposed approach shows better results as compared to CH-MAC and EE-MAC.

3) Latency (End-to-end Delay):

Latency can be measured as the time elapsed between sending the packet and receiving the same at the base station. This is also called as end-to-end delay for the packets to be reached at destination.

Fig. 5(a): End-to-end delay

Fig. 5(b): Average End-to-end delay

In wireless sensor networks all the nodes send packets toward the base station. But, some nodes can directly communicate with the base and some nodes will communicate with the help of other sensor nodes in the network by using them as relay nodes. Hence, in some cases the network delay can be very low and in the some cases it can be high. Hence in figure 5 average values of end-to-end delay has been plotted for each round of simulation. It can be seen that the proposed MAC protocol has a good latency as compared to other two protocols.

4) Throughput:

Throughput of a network can be measured in different ways.

In this paper, throughput has been calculated as the average number of packets received successfully at base station per second in each round.

Fig. 6(a): Packet to BS per Second

(5)

Fig. 6(b): Average Packet to BS per Second

Figure 6 represents the throughput for each round.

The proposed approach presents good throughput as compared to the other two. Because, proposed MAC protocol is highly efficient in energy and that’s why the sensor nodes are able to survive and communicate for a long time in the network. As long as the communication goes on the base station will continue to receive the packets.

5) Network Lifetime:

Network lifetime for wireless sensor network is dependent upon the energy consumption in the network. When the energy of the network is 100 percent the network lifetime will also be 100 percent. But as the nodes starts operating in the network the network lifetime will be reduced. Figure 7 represents the percentage of lifetime remaining after each round of simulation. Proposed MAC protocol has a good network lifetime because of the less energy consumption in the network.

Fig. 7(a): Network Lifetime

Fig. 7(b): Average Network Lifetime

VI. CONCLUSION AND FUTURE SCOPE

In this paper we have proposed a TDMA based energy efficient MAC protocol for Wireless Sensor Networks. From the results it can be seen that proposed MAC showed better performance than other algorithms as it less processing power and less end-to-end delay for sending packets successfully.

The proposed MAC do not consume much energy in computation and MAC operations of dividing time slots, creating neighbor table and deciding the actual forwarder for the node. Proposed MAC improves the network lifetime, stability and throughput of sensor network. For increasing the network energy efficiency it uses equal energy distribution scheme. Proposed MAC ensures that sensor nodes which are far away from base station will transmit or receive packets only when they have sufficient energy for performing these operations.

In the future the MAC protocol community needs to be sure that the simulators used approach reality to within several percent. The work in this paper provides a first step in that direction, but a lot more needs to be done to validate not just the physical layer effects, but also the effect of physical layer modelling on the MAC layer. Furthermore, these physical layer models should be accompanied by a readily available collection of parameter settings for the different physical layer parameters that represent different WSN scenarios.

REFERENCES

[1] Attiah, A., Akbaay, M. A., Chatterjee, M., & Turgut, D.

(2013). EE-MAC: Energy efficient sensor MAC layer protocol. Paper presented at the 38th Annual IEEE Conference on Local Computer Networks - Workshops.

[2] Colvin, A. (1983). CSMA with collision avoidance.

Computer Communications, 6(5), 227-235.

[3] Dinh, T., Kim, Y., Gu, T., & Vasilakos, A. V. (2016). L- MAC: A wake-up time self-learning MAC protocol for wireless sensor networks. Computer Networks, 105, 33- 46.

[4] Han, X., Shu, L., Chen, Y., & Zhou, H. (2013). WX- MAC: an energy efficient MAC protocol for wireless sensor networks. Paper presented at the Mobile Ad-Hoc and Sensor Systems (MASS), 2013 IEEE 10th International Conference on.

[5] Jolly, G., & Younis, M. (2005). An energy efficient, scalable and collision free MAC layer protocol for wireless sensor networks. Wireless Communications and Mobile Computing, 5(3), 285-304.

[6] Kim, Y., Shin, H., & Cha, H. (2008). Y-mac: An energy- efficient multi-channel mac protocol for dense wireless sensor networks. Paper presented at the Proceedings of the 7th international conference on Information processing in sensor networks.

[7] Mukherjee, S., & Biswas, G. P. (2014). Design of Hybrid MAC Protocol for Wireless Sensor Network Recent Advances in Information Technology. 11-18.

[8] Nguyen, V.-T., Gautier, M., & Berder, O. (2016). FTA- MAC: Fast traffic adaptive energy efficient mac protocol for wireless sensor networks. Paper presented at the International Conference on Cognitive Radio Oriented Wireless Networks.

(6)

[9] Priya, B., & Manohar, S. S. (2013). EE-MAC: Energy Efficient Hybrid MAC for WSN. International Journal of Distributed Sensor Networks, 9(12), 526383.

doi:doi:10.1155/2013/526383.

[10] Rajendran, V., Obraczka, K., & Garcia-Luna-Aceves.

(2006). Energy-efficient collision-free medium access control for wireless sensor networks. Wireless Networks 12(1), 63-78.

[11] Sahoo, A., & Baronia, P. (2007). An energy efficient MAC in wireless sensor networks to provide delay guarantee. Paper presented at the Local & Metropolitan Area Networks, 2007. LANMAN 2007. 15th IEEE Workshop on.

[12] Savita, V. J. (2016). Energy Efficient MAC Algorithm for WSN by varying Transmitting and Receiving Power.

International Journal of Engineering Science, 6(6), 8043- 8046.

[13] Singh, Suresh, and Cauligi S. Raghavendra. (1998).

PAMAS—power aware multi-access protocol with signalling for ad hoc networks. ACM SIGCOMM Computer Communication Review 28(3), 5-26.

[14] Tang, L., Sun, Y., Gurewitz, O., & Johnson, D. B.

(2011). EM-MAC: a dynamic multichannel energy- efficient MAC protocol for wireless sensor networks.

Paper presented at the Proceedings of the Twelfth ACM International Symposium on Mobile Ad Hoc Networking and Computing.

[15] Van Dam, T., & Langendoen, K. (2003). An adaptive energy-efficient MAC protocol for wireless sensor networks. Paper presented at the Proceedings of the 1st international conference on Embedded networked sensor systems.

[16] Ye, W., Heidemann, J., &Estrin, D. (2002). An energy- efficient MAC protocol for wireless sensor networks. In INFOCOM 2002. Twenty-First Annual Joint Conference of the IEEE Computer and Communications Societies.

Proceedings. IEEE. 3, 1567-1576.

[17] Zhe-tao, L., Qian, C., Geng-ming, Z., Young-june, C., &

Hiroo, S. (2015). A Low Latency, Energy Efficient MAC Protocol for Wireless Sensor Networks. International Journal of Distributed Sensor Networks, 11(8), 946587.

doi:doi:10.1155/2015/946587.

References

Related documents

Purpose: In this research, the radioprotective effect of SS was investigated against genotoxicity and lipid peroxidation induced by ionizing radiation in the human blood

Post hoc analysis of the subgroup of patients car- rying a TPMT variant (*2, *3A, or *3C) , which included only those patients who started treatment at the study start, showed that

The aims of this descriptive study were to determine causes of spontaneous deaths and euthanasia in sows in a convenience sample of Finnish herds and to describe pathological

line to study the response of mammalian cells to EMFs of 18 GHz, a type of EMF radiation known to induce membrane permeabilization with minimal detriment to cell

Through path ISI, for example, a mother with obesity and lower insulin sensitivity (i.e. insulin resistance) would probably have an associated lower fetal HRV and therefore

Examples of services for which you must contact your case manager to verify coverage are home health aide, personal emergency response system, chore, home adaptation, assisted

shooting day, Sunday, March 20 th , 2011 we dedicated to all of the high school classroom scenes.. When I requested to use the Liberal Arts building room 129, I found out that due

In young female hamsters Exemestane administration causes to significantly increase in cortisol content by 2.2 times compared to the control and by 1.6 times compared to DIMetS;