# Energy-Efficient Asynchronous QoS MAC Protocol for Wireless Sensor Networks

Authors: Sohail Sarang; Goran M. Stojanović; Stevan Stankovski; Željen Trpovski; Micheal Drieberg
Journal: Wireless Communications and Mobile Computing
 (2020)

---

## Abstract

In recent years, wireless sensor networks (WSNs) have gained significant attention in both industry and academia. In WSNs, each sensor node is normally equipped with a small-size battery with finite capacity. Hence, energy-efficient communication is considered a key factor for the extension of network lifetime. Formerly, a large number of medium access control (MAC) protocols have been proposed to improve energy efficiency to prolong the network lifetime. There are applications that generate different types of data packets and require quality of service (QoS) without any disruption in network operation. Therefore, these applications need an energy-efficient QoS MAC protocol that can support QoS by considering energy efficiency as the primary goal to avoid any failure in the network. This article proposes an energy-efficient asynchronous QoS (AQSen) MAC protocol, called AQSen-MAC. The AQSen-MAC considers different types of data packets and uses two novel techniques: self-adaptation and scheduling to enhance energy efficiency, packet delivery ratio, and network throughput. Furthermore, in the protocol, the receiver adjusts its duty cycle according to the remaining energy to prolong the network operation. Finally, the performance of the AQSen-MAC protocol has been evaluated through detailed simulation using Castalia and compared with MPQ-MAC, PMME-MAC, and QAEE-MAC protocols. The simulation results indicate that the AQSen-MAC protocol significantly reduces the energy consumption at the receiver of up to 13.4%, consumption per bit of up to 3% and improves the packet delivery ratio and network throughput of up to 12% in the network.


---

## Body

## 1. Introduction

Internet of things (IoT) is a fast-growing technology and is playing a vital role in many applications such as smart home infrastructure [1], wearable devices [2], and building automation [3]. The wireless sensor network (WSN) is a key component for the IoT [4–7]. A WSN consists of low-power, low-cost, and small-in-size sensor nodes, which have the ability to sense, measure, gather, and process information (i.e., conductivity, temperature, and pressure) gathered from the sensor coverage area [8, 9]. The sensor nodes can communicate wirelessly with each other. WSNs have a wide range of advantages in terms of scalability, deployment, simplicity, self-organizing capabilities, and others [10] and have many applications including smart cities, food quality, and environment monitoring, industrial process monitoring, and health-care [11–13].In WSNs, sensor nodes are traditionally powered by small batteries with limited capacity [14–17]. Hence, energy efficiency plays an essential role in the lifetime extension [18–20]. This is due to some scenarios, for instance, volcano monitoring [21], where it is difficult to replace the battery; hence, it requires a longer operational time [22]. This has motivated the researchers to introduce energy-efficient schemes to prolong the network lifetime [7, 17]. The network lifetime is defined as the time elapsed until the failure of the first node due to energy depletion in the network [23]. For example, the wake-up radio approach helps the node to save energy by putting its main radio in the deep sleep mode [7, 24, 25]. The packet aggregation routing scheme proposed that reduces the transmission delay, amount of redundant data, and energy consumption by adjusting the forwarder nodes and duty cycle in body sensor networks [22]. Recently, energy harvesting technology allows nodes to harvest energy from the surrounding environment and use the harvested energy to improve network performance [26–29]. For instance, QPPD-MAC [28], CEH-MAC [30], and PEH–QoS [31] schemes optimize the use of available energy to achieve better QoS in the network. Furthermore, QPPD-MAC [28] is developed for solar-based EH-WSNs, where each node harvests energy from the surrounding using a solar cell. The duty cycle management mechanism proposed in QPPD-MAC uses the harvest-store-consume design alternative and adjusts the receiver duty cycle based on three different ranges of the available energy. For example, if the node’s energy is above 85%, the highest duty cycle of 1 is assigned to the node to improve the performance. However, when employed in battery-powered WSNs, it can lead to power outage rapidly due to the limited capacity, resulting in overall degradation in the network performance. In some applications such as battlefield [7] and mine monitoring [32], it is difficult to replace the battery; hence, energy efficiency is still the prime consideration. In the past, considerable research work has been conducted to conserve energy, which mainly focused on medium control access (MAC) optimization [33], routing algorithms [7, 20, 34], cross-layer optimization methods [35], and data fusion [36]. However, the major sources of energy consumption occur at the MAC layer in channel sensing, packet reception, and transmission, packet overhearing, idle listening, and collision [37].The MAC protocol regulates the access of a common medium between sensor nodes [38]. In the literature, a large number of MAC protocols have been developed that focus on different applications and scenarios. TCH-MAC [39] and CTh-MAC [40] achieve better energy efficiency and throughput in the network. The protocol in [41] uses intracluster communication to save energy; RI-MAC [42] maintains energy efficiency while achieving good packet delivery ratio and packet delay. In [43], QTSAC is proposed to achieve better energy efficiency. However, many existing MAC protocols for battery-powered WSNs have limited support for QoS while considering energy efficiency and network lifetime as primary goals. The QoS is a set of services required by the application [28, 44]. For example, forest surveillance application generates different types of packets such as fire detection (high priority) vs wildlife monitoring (low priority). Thus, a fire detection data packet cannot tolerate a higher delay and needs to be delivered with 1 second [45, 46]. Moreover, the application also requires a longer network lifetime. Hence, such applications need QoS MAC protocol with the prime requirement of energy efficiency to avoid any disruption in the network. Furthermore, the protocol performance evaluation should also consider other QoS parameters such as the packet delivery ratio, network throughput, and delay in the network [47].Hence, significant improvements were made to the MPQ-MAC protocol [48] to improve energy efficiency while supporting the priority of packets in the network. Therefore, this paper proposes an energy-efficient QoS MAC protocol for WSNs (AQSen-MAC), where the receiver node shares its wake-up time information with senders that helps in finding a rendezvous point for data transmission. The protocol uses the self-adaptation technique and considers the remaining energy of the receiver node to improve performance and avoid any network failure due to energy depletion, respectively. The results show that the AQSen-MAC protocol achieves better performance than other protocols.The contributions of this work are as follows:(i)
An energy-efficient QoS MAC protocol is proposed to support the priority of packets in the network(ii)
The protocol uses the self-adaptation technique by which the sender node holding a data packet avoids transmitting the packet when its remaining listening time is less than the minimum listening time required for successful packet transmission. It reduces packet loss and energy consumption of both the sender and receiver nodes(iii)
The receiver in the AQSen-MAC protocol shares its next wake-up time with sender nodes to improve coordination between nodes for priority data transmission(iv)
The mechanism by which the receiver node adjusts its duty cycle according to the remaining energy helps to extend the network operation(v)
The performance of the protocol is evaluated in the Castalia simulator for 10 hours of simulation time using the CC2420 radio module and TelosB sensor node. A comprehensive performance evaluation is conducted by considering all QoS parameters in terms of the average energy consumption at the receiver, energy consumption per bit, energy consumption per sender node, packet delivery ratio, network throughput, and the average delay for a priority data packet and all packets(vi)
Performance comparison is conducted with MPQ-MAC, PMME-MAC, and QAEE-MAC, which are well-known receiver-initiated QoS protocols for WSNs. The simulation results show that the proposed AQSen-MAC achieves better performance in terms of energy consumption at the receiver, energy consumption per bit, packet delivery ratio, and network throughputThe remainder of the paper is organized as follows: in Section2, the related works are reviewed. The development of the AQSen-MAC protocol is discussed in Section 3. In Section 4, the performance evaluation of AQSen-MAC protocol is described, and the results are presented and explained in detail. Finally, the conclusion and future work are discussed in Section 5.


## 2. Related Work

In WSNs, MAC protocols can be categorized into three classes, namely, contention-free, contention-based, and hybrid protocols as in Figure1 [49–51]. The contention-free protocols assign variable or fixed time slots to each sensor node for data transmission [52]. This allows nodes to access the channel in the allocated time slots, and as a result, collisions in the network are reduced. ETPS-MAC [53] uses a scheduling algorithm that considers energy and traffic load factors while assigning priority to the node. However, nodes are required to exchange their time slots information frequently with each other which incurs additional packet overhead. Furthermore, nodes waste the channel bandwidth when they do not have any packet to transmit in their time slots.Figure 1
Categorization of MAC protocols [49–51].The contention-based protocols avoid time slot overhead for packet transmission among nodes and allow them to access the medium randomly. Thus, the risk of collision may increase, which can be avoided by employing different mechanisms, i.e., carrier sense multiple access (CSMA). The contention-based protocols can be further classified into synchronous and asynchronous [54]. In synchronous such as S-MAC [55], T-MAC [56], DW-MAC [57], DSMAC [58], SMACS [59], and PQMAC [60], nodes are required to follow a common listening time in a virtual cluster, where nodes can exchange the data packets. EEQ-MAC [61] and DQTSM [62] support QoS and also achieve better energy efficiency in the network. However, the tight synchronization requires additional overhead that leads to limitations in terms of adaptability, scalability, robustness, and others.In the asynchronous approach, nodes do not require synchronization and consequently, each node can wake up and sleep independently [42]. Thus, nodes require a rendezvous point for data communication. Comparisons suggest that asynchronous schemes are more energy-efficient than synchronous [63, 64]. The asynchronous protocols are further divided as either sender-initiated or receiver-initiated protocols [65]. In the sender-initiated protocols such as B-MAC [63], X-MAC [66] uses preamble sampling or low power listening (LPL) technique to establish a communication link between the receiver and sender nodes. These protocols shift the burden at the sender side to initiate the communication, where the node with a data packet transmits a preamble before sending its actual data packet.The receiver upon waking up detects the preamble and waits for the data packet. In this scheme, the preamble transmission requires a longer time and thus, the sender node holding a data packet is required to wait until the channel becomes free which causes an increase in packet delay and a decrease in network throughput [42]. On the other hand, in receiver-initiated schemes such as RI-MAC [42], RICER [67] and AW-RB-PS-MAC [68], the receiver starts communication by broadcasting a wake-up beacon to inform all senders that it is available to receive the data packets. The sender node with a data packet turns on its radio and listens for the wake-up beacon. Upon receiving the beacon, the sender sends the packet and then, it waits for the acknowledgment packet. The receiver-initiated protocols perform better in terms of energy efficiency than sender-initiated protocols [42, 69].Formerly, several receiver-initiated QoS MAC protocols have been proposed that consider the priority of data packets such as QAEE-MAC [70], MPQ-MAC, [48] and PMME-MAC [71]. QAEE-MAC proposed to support the priority of packets by reducing the delay for the higher priority packets. The receiver initiates communication by broadcasting a wake beacon that is defined by its duty cycle and then initiates a waiting timer Tw, to receive Tx beacons from senders. On the other side, the sender node with a data packet waits for the receiver wake-up beacon. After receiving the beacon, it transmits the Tx beacon that contains the packet priority and source address. The receiver collects Tx beacons from sender nodes and waits for the completion of the waiting timer. Then, it selects the highest packet priority node and sends the Rx beacon to all senders that include the address of the selected node. After receiving the Rx beacon, the selected node sends the packet to the receiver and waits for the acknowledgment packet while other nodes go to sleep. However, it supports only two priority levels and the receiver needs to wait until the waiting timer expires. As a result, the node with the highest priority packet experiences a higher delay and it also consumes extra energy in idle listening.Hence, MPQ-MAC [48] and PMME-MAC [71] have been developed to support the multipriority of packets. MPQ-MAC is aimed at reducing the delay for the highest priority packet and improving energy efficiency in the network. The protocol follows the receiver-initiated approach and assigns four types of priority levels based on a number (R) generated between 0 and 1. It uses a novel technique by which the receiver controls the waiting timer Tw, according to the packet priority. Hence, the receiver after receiving the highest priority Tx beacon cancels the waiting timer to reduce the delay for the highest priority packet. Similarly, PMME-MAC proposed to support the multipriority of the packets and assigns the channel access probability according to the packet priority level. It provides a higher value of access probability to the highest priority packet and vice versa. As a result, the sender node with the highest priority packet gets to access the medium earlier when compared to other priority packets. Moreover, it cancels the waiting time when it receives the first Tx beacon from the sender node to reduce the packet delay.However, these QoS protocols have the following limitations. First, sender nodes holding data packets do not have any information related to the wake-up schedule of the receiver. Thus, nodes wait for a longer time for the wake-up beacon, which increases delay and energy consumption. Second, once wake-up beacon is received, the node with data packet goes directly for channel sensing without checking its remaining listening time, which can lead to packet loss and energy consumption at both receiver and sender sides. Third, the receiver operates on a fixed duty cycle that uses a significant amount of energy, so, this may cause a failure in the network operation. Finally, their performance evaluations have not included all QoS metrics such as energy efficiency, packet delivery ratio, network throughput, and packet delay. For instance, the performance of QAEE-MAC has not been evaluated in terms of the packet delivery ratio and network throughput and also has not been compared with any other protocol. Similarly, energy efficiency and network throughput parameters have not been included in the performance evaluation of PMME-MAC. Table1 shows some prominent QoS MAC protocols for WSNs.Table 1
Comparative analysis of different priority MAC protocols.
ProtocolClock synchronizationPacket priorityAdaptive duty cycleIdle listeningMPQ-MAC [48]NoYesNoHighPQMAC [61]YesYesNoLowEEQ-MAC [62]YesYesYesLowQAEE-MAC [70]NoYesNoHighPMME-MAC [71]NoYesNoHighThe hybrid protocols [39, 40, 72] use the features of both contention-free and contention-based protocols for better network performance. For example, TCH-MAC [39] combines TDMA and CSMA schemes to provide better energy efficiency in a network. However, the use of TDMA structure increases protocol overhead and complexity, which limits the scalability of the protocol [73].Thus, there is a requirement to propose an energy-efficient MAC protocol for WSNs that can use techniques to find a rendezvous point for priority data transmission between nodes and improve energy efficiency to prolong the network lifetime.


## 3. Development of AQSen-MAC Protocol

This section focuses on the design of the AQSen-MAC protocol. The main goal is to improve energy efficiency while considering the priority of data packets. To achieve the goal, the protocol design consists of three major components; basic communication overview, data transmission, and energy-aware duty cycle management.


### 3.1. Basic Communication Overview

The AQSen-MAC protocol follows the receiver-initiated approach as given in Figure2. The receiver node wakes up and broadcasts a beacon, named wake-up beacon (WB). Then, it starts the waiting timer Tw to collect the incoming Tx beacon (TxB) from senders. The receiver node includes the source address (SA) and its next duty cycle dc in the wake-up beacon, as shown in Figure 3(a). The sender nodes holding different types of data packets, urgent (emergency alarm), most important (real time), on-demand (important), and periodic (normal), wait for the receiver beacon to start the communication. The highest P4 priority is assigned to the urgent data as it cannot tolerate much delay as shown in Table 2.Figure 2
Communication overview of AQSen-MAC protocol.Figure 3
(a) Wake-up beacon (WB). FC and FCS represent frame control and frame check sequence fields, respectively. (b) Tx beacon (TxB). (c) Rx beacon (RxB).
(a)(b)(c)Table 2
Priority levels.
Data typePriorityMax. Delay limitExampleUrgentP41Emergency alarmMost importantP32Real timeImportantP23On-demandNormalP14PeriodicAfter receiving the wake-up beacon, the sender checks if the remaining listening timeTRL is greater than the minimum listening time required for successful packet transmission TTx. Then, it performs a clear channel assessment (CCA) to check the channel. If the channel is free, it transmits the Tx beacon using the p-persistent CSMA scheme. The Tx beacon has four fields: priority (P), SA, destination address (DA), and NAV (network allocation), as shown in Figure 3(b). Otherwise, it goes to sleep and saves energy. The time required to switch the radio state and process a data packet is called short interframe space (SIFS).On the other side, the receiver node collects Tx beacon from the sender and checks its priority field. IfP4 priority appears, then it cancels the Tw timer to reduce the delay for the highest priority packet and it transmits the Rx beacon to all senders which contains the address of the selected sender (SS), as given in Figure 3(c). Once Rx beacon is received, the selected sender transmits the packet and waits for the acknowledgment (ACK packet), which indicates successful packet transmission. Meanwhile, the nonselected senders go to sleep and will wait for the next cycle.


### 3.2. Data Transmission

The receiver and sender nodes wake up and sleep independently. Therefore, the node holding a data packet spends a significant amount of energy in the idle listening for the wake-up beacon. To address the challenge, the protocol uses self-adaptation and scheduling techniques.In the former, after receiving the wake-up beacon, sender nodes check their remaining listening time,TRL. If TRL>TTx, they sense the medium for Tx beacon transmission using the p-persistent CSMA mechanism. Else, the sender node avoids channel sensing and goes to sleep to minimize energy consumption and packet retransmission. Consider a scenario for data transmission as shown in Figure 2, where Sender 1S1 and Sender 2S2 transmit Tx beacons with P1 and P4, respectively. However, Sender 3 goes to sleep and waits for the next cycle. The receiver after receiving both Tx beacons from S1 and S2 checks the priority. It selects the sender node that has P4 priority and cancels the Tw timer to reduce the delay. Then, it broadcasts Rx beacon which includes the address of S2. After receiving the Rx beacon, S2 sends the actual data packet while other nonselected nodes go to sleep and wait for wake-up beacon in the next cycle. In case when more than one Tx beacons are received with the same priority, then the receiver selects the node based on the first received Tx beacon. In case when P4 does not appear, then the receiver waits until Tw timer expires. Once Tw expires, it selects the sender node that has the highest priority among all received Tx beacons. In the worst scenario, a sender node with P1 priority may contend with several new nodes that have P4 priority. In this case, unfortunately, it will only get the opportunity to send its data packet after all the nodes with P4 priority. However, this occurs rarely and its occurrence probability decreases with the number of nodes with P4 priority. This is a tradeoff in the AQSen-MAC protocol as it ensures that the P4 priority node is able to send its packet faster than normal packets.In the latter, the receiver node includes its next duty cycle in the wake-up beacon which allows the sender nodes to adjust their sleeping time accordingly and wake up slightly before the receiver for data transmission. This technique helps in coordination between the receiver and sender nodes for successful data transmission and also reduces energy consumption in idle listening.


### 3.3. Energy-Aware Duty Cycle Management

The receiver node is equipped with a small-size battery with limited capacity, and its energy level decreases with time. Thus, the node can only operate for a longer period of time if it uses its energy more effectively. Therefore, the receiver in the AQSen-MAC protocol wakes up periodically to receive data packets and adjusts its duty cycle,dc, according to the remaining energy in order to extend the network lifetime. The sleep duration is related to dc; thus, the receiver node in AQSen-MAC decreases the duty cycle by increasing its sleep duration Tsleep in order to conserve energy. As a result, it sustains its operation for a longer period of time. dc can be calculated using the following formula:(1)dc=EL−Eth100%−Ethwhere EL represents the remaining energy in percentage (%) and Eth (10%) is the threshold energy level, which is used to ensure that the node does not exhaust completely. When the receiver has a lower remaining energy level, it reduces its dc to save energy. The remaining energy EL is shown as follows:(2)EL=ErEmax×100%,where Er and Emax denote the remaining energy and maximum battery capacity in joules, respectively. The calculated dc value can be used to determine the sleep duration Tsleep as shown in the following equation:(3)Tsleep=Tlisten×1−dcdc,where Tlisten denotes the listening time when the radio is turned On. Both Tsleep and Tlisten parameters, and their relationship through dc represents radio deactivation (OFF) and activation (ON), respectively. When the dc is low, Equation (3) ensures that the Tsleep will be high in order to save energy.


## 3.1. Basic Communication Overview

The AQSen-MAC protocol follows the receiver-initiated approach as given in Figure2. The receiver node wakes up and broadcasts a beacon, named wake-up beacon (WB). Then, it starts the waiting timer Tw to collect the incoming Tx beacon (TxB) from senders. The receiver node includes the source address (SA) and its next duty cycle dc in the wake-up beacon, as shown in Figure 3(a). The sender nodes holding different types of data packets, urgent (emergency alarm), most important (real time), on-demand (important), and periodic (normal), wait for the receiver beacon to start the communication. The highest P4 priority is assigned to the urgent data as it cannot tolerate much delay as shown in Table 2.Figure 2
Communication overview of AQSen-MAC protocol.Figure 3
(a) Wake-up beacon (WB). FC and FCS represent frame control and frame check sequence fields, respectively. (b) Tx beacon (TxB). (c) Rx beacon (RxB).
(a)(b)(c)Table 2
Priority levels.
Data typePriorityMax. Delay limitExampleUrgentP41Emergency alarmMost importantP32Real timeImportantP23On-demandNormalP14PeriodicAfter receiving the wake-up beacon, the sender checks if the remaining listening timeTRL is greater than the minimum listening time required for successful packet transmission TTx. Then, it performs a clear channel assessment (CCA) to check the channel. If the channel is free, it transmits the Tx beacon using the p-persistent CSMA scheme. The Tx beacon has four fields: priority (P), SA, destination address (DA), and NAV (network allocation), as shown in Figure 3(b). Otherwise, it goes to sleep and saves energy. The time required to switch the radio state and process a data packet is called short interframe space (SIFS).On the other side, the receiver node collects Tx beacon from the sender and checks its priority field. IfP4 priority appears, then it cancels the Tw timer to reduce the delay for the highest priority packet and it transmits the Rx beacon to all senders which contains the address of the selected sender (SS), as given in Figure 3(c). Once Rx beacon is received, the selected sender transmits the packet and waits for the acknowledgment (ACK packet), which indicates successful packet transmission. Meanwhile, the nonselected senders go to sleep and will wait for the next cycle.


## 3.2. Data Transmission

The receiver and sender nodes wake up and sleep independently. Therefore, the node holding a data packet spends a significant amount of energy in the idle listening for the wake-up beacon. To address the challenge, the protocol uses self-adaptation and scheduling techniques.In the former, after receiving the wake-up beacon, sender nodes check their remaining listening time,TRL. If TRL>TTx, they sense the medium for Tx beacon transmission using the p-persistent CSMA mechanism. Else, the sender node avoids channel sensing and goes to sleep to minimize energy consumption and packet retransmission. Consider a scenario for data transmission as shown in Figure 2, where Sender 1S1 and Sender 2S2 transmit Tx beacons with P1 and P4, respectively. However, Sender 3 goes to sleep and waits for the next cycle. The receiver after receiving both Tx beacons from S1 and S2 checks the priority. It selects the sender node that has P4 priority and cancels the Tw timer to reduce the delay. Then, it broadcasts Rx beacon which includes the address of S2. After receiving the Rx beacon, S2 sends the actual data packet while other nonselected nodes go to sleep and wait for wake-up beacon in the next cycle. In case when more than one Tx beacons are received with the same priority, then the receiver selects the node based on the first received Tx beacon. In case when P4 does not appear, then the receiver waits until Tw timer expires. Once Tw expires, it selects the sender node that has the highest priority among all received Tx beacons. In the worst scenario, a sender node with P1 priority may contend with several new nodes that have P4 priority. In this case, unfortunately, it will only get the opportunity to send its data packet after all the nodes with P4 priority. However, this occurs rarely and its occurrence probability decreases with the number of nodes with P4 priority. This is a tradeoff in the AQSen-MAC protocol as it ensures that the P4 priority node is able to send its packet faster than normal packets.In the latter, the receiver node includes its next duty cycle in the wake-up beacon which allows the sender nodes to adjust their sleeping time accordingly and wake up slightly before the receiver for data transmission. This technique helps in coordination between the receiver and sender nodes for successful data transmission and also reduces energy consumption in idle listening.


## 3.3. Energy-Aware Duty Cycle Management

The receiver node is equipped with a small-size battery with limited capacity, and its energy level decreases with time. Thus, the node can only operate for a longer period of time if it uses its energy more effectively. Therefore, the receiver in the AQSen-MAC protocol wakes up periodically to receive data packets and adjusts its duty cycle,dc, according to the remaining energy in order to extend the network lifetime. The sleep duration is related to dc; thus, the receiver node in AQSen-MAC decreases the duty cycle by increasing its sleep duration Tsleep in order to conserve energy. As a result, it sustains its operation for a longer period of time. dc can be calculated using the following formula:(1)dc=EL−Eth100%−Ethwhere EL represents the remaining energy in percentage (%) and Eth (10%) is the threshold energy level, which is used to ensure that the node does not exhaust completely. When the receiver has a lower remaining energy level, it reduces its dc to save energy. The remaining energy EL is shown as follows:(2)EL=ErEmax×100%,where Er and Emax denote the remaining energy and maximum battery capacity in joules, respectively. The calculated dc value can be used to determine the sleep duration Tsleep as shown in the following equation:(3)Tsleep=Tlisten×1−dcdc,where Tlisten denotes the listening time when the radio is turned On. Both Tsleep and Tlisten parameters, and their relationship through dc represents radio deactivation (OFF) and activation (ON), respectively. When the dc is low, Equation (3) ensures that the Tsleep will be high in order to save energy.


## 4. Performance Evaluation of AQSen-MAC

### 4.1. Simulation Setup

The performance of the AQSen-MAC protocol is evaluated through Castalia 3.3 [74] simulator. Castalia simulates sensor applications using CC2420 radio module parameters [23], including sensor node TelosB [75]. The CC2420 radio is extensively used in sensor applications and has four operational states: sleep, reception, transmission, and idle listening. Table 3 shows the power consumption of CC2420 in each state. It can be noticed that both receive and idle states consume the same power [49]. In the AQSen-MAC protocol, when the number of sending nodes is higher per receiver, then the waiting time Tw will also increase, resulting in higher energy consumption. Hence, it is resolved by considering a network that consists of several smaller sized clusters where the number of sender nodes per receiver is small. Therefore, a star network is implemented to demonstrate the features of the AQSen-MAC protocols as shown in Figure 4. The clustering in a large network helps to improve energy efficiency and scalability [17, 76]. In addition, it is also widely used in modelling of effective solutions to minimize the suppression of malware actions in WSNs [77, 78]. In the network topology, the receiver node is located at the center while other nodes are randomly positioned in a square area of 30m×30m. Each sender node generates a total of 36,000 packets with a rate of 1 packet per second, where the size of the data packet is 28 bytes. The performance of the AQSen-MAC is evaluated for all QoS parameters in terms of average energy consumption at receiver, energy consumption per bit, energy consumption per sender node, packet delivery ratio, average network throughput, and delay for priority and all data packets. Moreover, the protocol performance is also compared with MPQ-MAC, PMME-MAC, and QAEE-MAC, which are well-known receiver-initiated QoS protocols. The receiver’s initial energy is set to a fixed value of 75% in all protocols and the receiver adjusts its duty cycle according to the remaining energy level. The receiver in MPQ-MAC, PMME-MAC, and QAEE-MAC operates on a fixed duty cycle of 0.72. All protocols use the p-persistent CSMA mechanism for the Tx beacon transmission, and the p value is set as 1/ns, where ns represents the total number senders. In addition, they assign the packet priority randomly based on a number R generated between 0 and 1. In PMME-MAC, the p value is set according to the packet priority level, as given in Table 4. The simulation parameters are given in Table 5. For comparison, the linear priority assignment type of PMME-MAC is implemented.Table 3
Power consumption in CC2420 [23].
Radio statePower consumption (mW)Transmission57.42Reception62.04Idle listening62.04Sleep1.4Figure 4
Studied network topology.Table 4
Packet priority assignment.
PriorityRP (linear type)P40<R≤0.250.4P30.25<R≤0.50.3P20.5<R≤0.750.2P10.75<R≤10.1Table 5
Parameters used for the performance analysis of AQSen-MAC protocol.
ParameterValueSimulation time10 hSender nodes1 to 10Area30m×30mSensor nodeTelos Rev BOperating voltage2.1 VSize of data packet28 bytesSize of Tx beacon14 bytesSize of Rx beacon13 bytesACK packet size11 bytesWake-up beacon size9 bytesData rate250 kbpsSlot time0.32 msCCA check delay0.128 msSIFS0.192 msTw5 msPacket rate1 packet/sListen time17 msRetransmission limit10Buffer size32Frequency2.4 GHzEmax810 JoulesEth10%


### 4.2. Results and Discussion

The receiver energy consumptionET in all protocols with the varying number of senders is shown in Figure 5. The formula to calculate the energy consumption of a node is as follows:(4)ET=∑i=0nPi×ti,where n,i,P, and t represent the number of states, radio state, power consumption rate, and the time spent in state i, respectively. The CC2420 radio is used which has four operational states: sleep, transmission, reception, and idle listening, consuming power of 1.4 mW, 57.42 mW, 62.04 mW, and 62.04 mW, respectively.Figure 5
Average receiver energy as a function of the number of sender nodes (from 1 to 10).It is observed that the AQSen-MAC provides a significant reduction in energy consumption of up to 13.4% than other protocols, which helps the receiver to operate for a longer period of time. This is due to the fact that the receiver node adjusts the duty cycle according to its remaining energy. The remaining energy decreases with time, and therefore, it also reduces the duty cycle by increasing the sleep duration to save energy. In MPQ-MAC, PMME-MAC, and QAEE-MAC, the receiver operates with a fixed duty cycle of 0.72 and therefore, its remaining energy declines rapidly. Hence, it becomes nonoperational after a few hours≈5h, when its remaining energy goes below the threshold level Eth10%, which caused an operational disruption in the network. It can also be seen that the receiver consumes more energy for the higher number of sender nodes. This is because the receiver receives more data packets when the number of sender nodes increases, which consumes more energy.Figure6 shows the remaining energy of the receiver when the number of sender nodes is 10. The receiver’s initial energy is set to 75% of total capacity in all protocols. In AQSen-MAC, the remaining energy decreases to 10.09% after 10 h, while MPQ-MAC, PMME-MAC, and QAEE-MAC used all of their energy and became nonoperational after 5.5 h, 7 h, and 5.1 h, respectively. This is because the AQSen-MAC uses its remaining energy to adjust the duty cycle. Hence, it conserves energy by increasing its sleep time and as a result, its remaining energy does not drop below the Eth level. It can also be seen that the PMME-MAC operates for a longer period of time when compared to both MPQ-MAC and QAEE-MAC. The reason is that the receiver cancels the Tw timer when it received the first Tx beacon, which helps to conserve energy and increases its operation time.Figure 6
Receiver remaining energy when the number of sender nodes is 10.The duty cycle of the receiver corresponding to the remaining energy is shown in Figure7. It can be seen that the AQSen-MAC adjusts its duty cycle based on its remaining energy. It decreases its duty cycle when it has the lower remaining energy, and therefore, it does not suffer any disruption in the network. In MPQ-MAC, PMME-MAC, and QAEE-MAC, the receiver operates with a fixed duty cycle. When its remaining energy reaches the Eth level, it turns off the radio and goes to sleep, which causes a significant impact on network performance.Figure 7
Receiver duty cycle when the number of sender nodes is 10.The packet delivery ratio (PDR) is defined as the total number of packets received by the receiver divided by the total number of packets transmitted by the sender nodes. The equation to calculate PDR is as follows:(5)PDR=NPPktRNPPktT×100%,where NPPktR and NPpktT represent the total number of data packets received and transmitted, respectively.Figure8 presents the PDR of all protocols. It is seen that the AQSen-MAC outperforms other protocols by up to 12%. The first reason is that the AQSen-MAC does not face any disruption in the network and the receiver is available to receive the packets from senders. However, in other protocols, the receiver becomes nonoperational for more than 3 h and as a result, the sender nodes drop the incoming data packets when the buffer limit is exceeded. The second reason is that the receiver broadcasts its next duty cycle which helps the sender nodes with packets to synchronize with the receiver for packet transmission. The third reason is that the sender node, after receiving the wake-up beacon, checks its remaining listening time. If it has enough time for a successful packet transmission then transmits the Tx beacon else, it goes to sleep, which also avoids the packet loss. It can also be noticed that the PDR decreases marginally for the higher number of senders, which is due to the fact that the retransmission limit is exceeded.Figure 8
Average packet delivery ratio as a function of the number of sender nodes.The average network throughputS is defined as the number of data packets received at the receiver divided by the simulation time as shown below:(6)S=NPPktR×LPktTS,where LPkt and Ts denote the size of the packet in bits and simulation time in seconds, respectively.Figure9 shows the average network throughput performance comparison between the AQSen-MAC, MPQ-MAC, PMME-MAC, and QAEE-MAC. In all protocols, the network throughput increases linearly across the various number of sender nodes. It can be noticed that AQSen-MAC shows an improvement of up to 12% when compared to others. The reason is that the receiver in AQSen-MAC is able to maintain its operation whereas in other protocols, it became nonoperational for more than 3 h. As a result, the sender nodes are unable to transmit a large number of data packets to the receiver, which causes the lower network throughput.Figure 9
Average network throughput as a function of the number of sender nodes.The average energy consumption per bitE is shown in Figure 10, which is defined as the total energy consumed divided by the total number of data packets received, as shown below:(7)E=ETNPPktR×LPktand for the calculation of ET, (4) can be used.Figure 10
Average energy consumption per bit as a function of the number of sender nodes.The AQSen-MAC gives an improved performance of up to 30.29%, 3%, and 42%, when compared to MPQ-MAC, PMME-MAC, and QAEE-MAC, respectively. The first reason is that the AQSen-MAC receives more packets than other protocols as shown in Figure8. The second reason is that sender nodes after receiving the wake-up beacon extend their sleep time for synchronization with the receiver, which also has influence on reducing energy at the sender side. It is observed that MPQ-MAC, PMME-MAC, and QAEE-MAC consume almost the same amount of energy; however, PMME-MAC transmits slightly more packets. Therefore, it shows better performance when compared to MPQ-MAC and QAEE-MAC.The energy consumption per node is shown in Figure11. It can be seen that the sender node in AQSen-MAC consumes slightly higher energy of up to 3.7%, 9%, and 1.8% when compared to MPQ-MAC, PMME-MAC, and QAEE-MAC protocols, respectively. This is because sender nodes in AQSen-MAC transmit more packets than other protocols, which consume more energy, whereas in other protocols, the receiver node became nonoperational for more than 3 h and as a result, sender nodes are unable to send a large number of packets to the receiver. It can also be noticed that the PMME-MAC consumes less energy when compared to all other protocols. The reason is that the receiver in PMME-MAC does not wait for a specific Tx beacon and it cancels the waiting timer when it receives the first Tx beacon from the sender node, which conserves energy at the sender side. However, it significantly reduces the PDR and network throughput when its receiver became nonoperational for several hours.Figure 11
Average energy consumption per node as a function of the number of sender nodes.The average packet delaydETE in all protocols is given in Figure 12. It is the time period between the generation of the packet until its reception at the receiver. The equation to calculate the average packet delay is as follows:(8)dETE=dqueu+dtrans+dprop+dproc,where dqueu, dtrans, dprop, and dproc denote queuing, transmission, propagation, and processing delays, respectively.Figure 12
Average packet delay for data packet as a function of the number of sender nodes.It can be seen that the data packet experiences delay of around 52% in AQSen-MAC when compared to other protocols; however, the delay is still within an acceptable range (less than 0.36 s). This is because of the duty cycle mechanism, where the receiver increases its sleep time to save energy. Hence, the sender node with the data packet waits longer for the receiver beacon, which increases delay. It can also be seen that the PMME-MAC achieves better delay performance than other protocols. The reason is that the receiver after receiving the first Tx beacon cancels theTw timer, which reduces the packet delay.Figure13 shows the average packet delay for the priority data packet in AQSen-MAC to that of MPQ-MAC, PMME-MAC, and QAEE-MAC. Only delays for the highest and lowest priority packets are shown for all protocols. It can be noticed that the AQSen-MAC protocol suffers up to 70% higher delay for the P4 priority packet when it is compared with other analysed protocols, as expected. The fact is that the AQSen-MAC tries to preserve energy using duty cycle adjustment, at a price of increased delay in order to avoid any failure in the network operation. Nevertheless, the AQSen-MAC still supports the highest priority packet and also provides packet delays that are within acceptable limits (less than 1 s).Figure 13
Average packet delay for priority data packet as a function of the number of sender nodes.


## 4.1. Simulation Setup

The performance of the AQSen-MAC protocol is evaluated through Castalia 3.3 [74] simulator. Castalia simulates sensor applications using CC2420 radio module parameters [23], including sensor node TelosB [75]. The CC2420 radio is extensively used in sensor applications and has four operational states: sleep, reception, transmission, and idle listening. Table 3 shows the power consumption of CC2420 in each state. It can be noticed that both receive and idle states consume the same power [49]. In the AQSen-MAC protocol, when the number of sending nodes is higher per receiver, then the waiting time Tw will also increase, resulting in higher energy consumption. Hence, it is resolved by considering a network that consists of several smaller sized clusters where the number of sender nodes per receiver is small. Therefore, a star network is implemented to demonstrate the features of the AQSen-MAC protocols as shown in Figure 4. The clustering in a large network helps to improve energy efficiency and scalability [17, 76]. In addition, it is also widely used in modelling of effective solutions to minimize the suppression of malware actions in WSNs [77, 78]. In the network topology, the receiver node is located at the center while other nodes are randomly positioned in a square area of 30m×30m. Each sender node generates a total of 36,000 packets with a rate of 1 packet per second, where the size of the data packet is 28 bytes. The performance of the AQSen-MAC is evaluated for all QoS parameters in terms of average energy consumption at receiver, energy consumption per bit, energy consumption per sender node, packet delivery ratio, average network throughput, and delay for priority and all data packets. Moreover, the protocol performance is also compared with MPQ-MAC, PMME-MAC, and QAEE-MAC, which are well-known receiver-initiated QoS protocols. The receiver’s initial energy is set to a fixed value of 75% in all protocols and the receiver adjusts its duty cycle according to the remaining energy level. The receiver in MPQ-MAC, PMME-MAC, and QAEE-MAC operates on a fixed duty cycle of 0.72. All protocols use the p-persistent CSMA mechanism for the Tx beacon transmission, and the p value is set as 1/ns, where ns represents the total number senders. In addition, they assign the packet priority randomly based on a number R generated between 0 and 1. In PMME-MAC, the p value is set according to the packet priority level, as given in Table 4. The simulation parameters are given in Table 5. For comparison, the linear priority assignment type of PMME-MAC is implemented.Table 3
Power consumption in CC2420 [23].
Radio statePower consumption (mW)Transmission57.42Reception62.04Idle listening62.04Sleep1.4Figure 4
Studied network topology.Table 4
Packet priority assignment.
PriorityRP (linear type)P40<R≤0.250.4P30.25<R≤0.50.3P20.5<R≤0.750.2P10.75<R≤10.1Table 5
Parameters used for the performance analysis of AQSen-MAC protocol.
ParameterValueSimulation time10 hSender nodes1 to 10Area30m×30mSensor nodeTelos Rev BOperating voltage2.1 VSize of data packet28 bytesSize of Tx beacon14 bytesSize of Rx beacon13 bytesACK packet size11 bytesWake-up beacon size9 bytesData rate250 kbpsSlot time0.32 msCCA check delay0.128 msSIFS0.192 msTw5 msPacket rate1 packet/sListen time17 msRetransmission limit10Buffer size32Frequency2.4 GHzEmax810 JoulesEth10%


## 4.2. Results and Discussion

The receiver energy consumptionET in all protocols with the varying number of senders is shown in Figure 5. The formula to calculate the energy consumption of a node is as follows:(4)ET=∑i=0nPi×ti,where n,i,P, and t represent the number of states, radio state, power consumption rate, and the time spent in state i, respectively. The CC2420 radio is used which has four operational states: sleep, transmission, reception, and idle listening, consuming power of 1.4 mW, 57.42 mW, 62.04 mW, and 62.04 mW, respectively.Figure 5
Average receiver energy as a function of the number of sender nodes (from 1 to 10).It is observed that the AQSen-MAC provides a significant reduction in energy consumption of up to 13.4% than other protocols, which helps the receiver to operate for a longer period of time. This is due to the fact that the receiver node adjusts the duty cycle according to its remaining energy. The remaining energy decreases with time, and therefore, it also reduces the duty cycle by increasing the sleep duration to save energy. In MPQ-MAC, PMME-MAC, and QAEE-MAC, the receiver operates with a fixed duty cycle of 0.72 and therefore, its remaining energy declines rapidly. Hence, it becomes nonoperational after a few hours≈5h, when its remaining energy goes below the threshold level Eth10%, which caused an operational disruption in the network. It can also be seen that the receiver consumes more energy for the higher number of sender nodes. This is because the receiver receives more data packets when the number of sender nodes increases, which consumes more energy.Figure6 shows the remaining energy of the receiver when the number of sender nodes is 10. The receiver’s initial energy is set to 75% of total capacity in all protocols. In AQSen-MAC, the remaining energy decreases to 10.09% after 10 h, while MPQ-MAC, PMME-MAC, and QAEE-MAC used all of their energy and became nonoperational after 5.5 h, 7 h, and 5.1 h, respectively. This is because the AQSen-MAC uses its remaining energy to adjust the duty cycle. Hence, it conserves energy by increasing its sleep time and as a result, its remaining energy does not drop below the Eth level. It can also be seen that the PMME-MAC operates for a longer period of time when compared to both MPQ-MAC and QAEE-MAC. The reason is that the receiver cancels the Tw timer when it received the first Tx beacon, which helps to conserve energy and increases its operation time.Figure 6
Receiver remaining energy when the number of sender nodes is 10.The duty cycle of the receiver corresponding to the remaining energy is shown in Figure7. It can be seen that the AQSen-MAC adjusts its duty cycle based on its remaining energy. It decreases its duty cycle when it has the lower remaining energy, and therefore, it does not suffer any disruption in the network. In MPQ-MAC, PMME-MAC, and QAEE-MAC, the receiver operates with a fixed duty cycle. When its remaining energy reaches the Eth level, it turns off the radio and goes to sleep, which causes a significant impact on network performance.Figure 7
Receiver duty cycle when the number of sender nodes is 10.The packet delivery ratio (PDR) is defined as the total number of packets received by the receiver divided by the total number of packets transmitted by the sender nodes. The equation to calculate PDR is as follows:(5)PDR=NPPktRNPPktT×100%,where NPPktR and NPpktT represent the total number of data packets received and transmitted, respectively.Figure8 presents the PDR of all protocols. It is seen that the AQSen-MAC outperforms other protocols by up to 12%. The first reason is that the AQSen-MAC does not face any disruption in the network and the receiver is available to receive the packets from senders. However, in other protocols, the receiver becomes nonoperational for more than 3 h and as a result, the sender nodes drop the incoming data packets when the buffer limit is exceeded. The second reason is that the receiver broadcasts its next duty cycle which helps the sender nodes with packets to synchronize with the receiver for packet transmission. The third reason is that the sender node, after receiving the wake-up beacon, checks its remaining listening time. If it has enough time for a successful packet transmission then transmits the Tx beacon else, it goes to sleep, which also avoids the packet loss. It can also be noticed that the PDR decreases marginally for the higher number of senders, which is due to the fact that the retransmission limit is exceeded.Figure 8
Average packet delivery ratio as a function of the number of sender nodes.The average network throughputS is defined as the number of data packets received at the receiver divided by the simulation time as shown below:(6)S=NPPktR×LPktTS,where LPkt and Ts denote the size of the packet in bits and simulation time in seconds, respectively.Figure9 shows the average network throughput performance comparison between the AQSen-MAC, MPQ-MAC, PMME-MAC, and QAEE-MAC. In all protocols, the network throughput increases linearly across the various number of sender nodes. It can be noticed that AQSen-MAC shows an improvement of up to 12% when compared to others. The reason is that the receiver in AQSen-MAC is able to maintain its operation whereas in other protocols, it became nonoperational for more than 3 h. As a result, the sender nodes are unable to transmit a large number of data packets to the receiver, which causes the lower network throughput.Figure 9
Average network throughput as a function of the number of sender nodes.The average energy consumption per bitE is shown in Figure 10, which is defined as the total energy consumed divided by the total number of data packets received, as shown below:(7)E=ETNPPktR×LPktand for the calculation of ET, (4) can be used.Figure 10
Average energy consumption per bit as a function of the number of sender nodes.The AQSen-MAC gives an improved performance of up to 30.29%, 3%, and 42%, when compared to MPQ-MAC, PMME-MAC, and QAEE-MAC, respectively. The first reason is that the AQSen-MAC receives more packets than other protocols as shown in Figure8. The second reason is that sender nodes after receiving the wake-up beacon extend their sleep time for synchronization with the receiver, which also has influence on reducing energy at the sender side. It is observed that MPQ-MAC, PMME-MAC, and QAEE-MAC consume almost the same amount of energy; however, PMME-MAC transmits slightly more packets. Therefore, it shows better performance when compared to MPQ-MAC and QAEE-MAC.The energy consumption per node is shown in Figure11. It can be seen that the sender node in AQSen-MAC consumes slightly higher energy of up to 3.7%, 9%, and 1.8% when compared to MPQ-MAC, PMME-MAC, and QAEE-MAC protocols, respectively. This is because sender nodes in AQSen-MAC transmit more packets than other protocols, which consume more energy, whereas in other protocols, the receiver node became nonoperational for more than 3 h and as a result, sender nodes are unable to send a large number of packets to the receiver. It can also be noticed that the PMME-MAC consumes less energy when compared to all other protocols. The reason is that the receiver in PMME-MAC does not wait for a specific Tx beacon and it cancels the waiting timer when it receives the first Tx beacon from the sender node, which conserves energy at the sender side. However, it significantly reduces the PDR and network throughput when its receiver became nonoperational for several hours.Figure 11
Average energy consumption per node as a function of the number of sender nodes.The average packet delaydETE in all protocols is given in Figure 12. It is the time period between the generation of the packet until its reception at the receiver. The equation to calculate the average packet delay is as follows:(8)dETE=dqueu+dtrans+dprop+dproc,where dqueu, dtrans, dprop, and dproc denote queuing, transmission, propagation, and processing delays, respectively.Figure 12
Average packet delay for data packet as a function of the number of sender nodes.It can be seen that the data packet experiences delay of around 52% in AQSen-MAC when compared to other protocols; however, the delay is still within an acceptable range (less than 0.36 s). This is because of the duty cycle mechanism, where the receiver increases its sleep time to save energy. Hence, the sender node with the data packet waits longer for the receiver beacon, which increases delay. It can also be seen that the PMME-MAC achieves better delay performance than other protocols. The reason is that the receiver after receiving the first Tx beacon cancels theTw timer, which reduces the packet delay.Figure13 shows the average packet delay for the priority data packet in AQSen-MAC to that of MPQ-MAC, PMME-MAC, and QAEE-MAC. Only delays for the highest and lowest priority packets are shown for all protocols. It can be noticed that the AQSen-MAC protocol suffers up to 70% higher delay for the P4 priority packet when it is compared with other analysed protocols, as expected. The fact is that the AQSen-MAC tries to preserve energy using duty cycle adjustment, at a price of increased delay in order to avoid any failure in the network operation. Nevertheless, the AQSen-MAC still supports the highest priority packet and also provides packet delays that are within acceptable limits (less than 1 s).Figure 13
Average packet delay for priority data packet as a function of the number of sender nodes.


## 5. Conclusion and Future Work

In this paper, an energy-efficient QoS MAC protocol has been proposed for achieving better energy efficiency while considering the priority of data packets. The AQSen-MAC protocol has used self-adaptation and scheduling techniques to improve energy efficiency and packet transmission in the network. The former helps to improve coordination between the receiver and sender nodes for packet transmission. In the latter, sender nodes avoid channel sensing to improve energy efficiency and packet delivery ratio. Furthermore, the protocol employs the energy-aware duty cycle management mechanism to prolong the network lifetime. The results show that the AQSen-MAC protocol provides a reduction in energy consumption at the receiver of up to 13.4%, consumption per bit of up to 3%, and improves the packet delivery ratio and network throughput by up to 12% in the network while maintaining its operation in the network. However, MPQ-MAC, PMME-MAC, and QAEE-MAC protocols were unable to sustain their operations and they became nonoperational after 5.5 h, 7 h, and 5.1 h, respectively. Finally, the AQSen-MAC MAC protocol can be used in applications that can tolerate a maximum delay of 1 s for the highest priority data packet and also require higher energy efficiency in the network.The future work includes the extension of the AQSen-MAC protocol for solar-based energy harvesting WSNs. The performance will be evaluated on tests beds using a mesh network under realistic energy harvesting scenarios.



---

*Source: 8860371-2020-09-24.xml*