Abstract

Carrier sense multiple access mechanism with collision avoidance (CSMA/CA) in IEEE 802.15.4-based wireless body area networks (WBANs) may impair the transmission reliability of emergency traffic under high traffic loads, which may result in loss of high valued medical information. Majority of the recent proposals recommend an early retransmission of failed frame while ignoring the history of past failed transmissions. More importantly, these proposals do not consider the number of failed transmissions experienced by each sensor node, thereby affecting the reliability of retransmissions. In this paper, we propose a dynamic retransmission adaptive intelligent MAC (RAI-MAC) scheme. In our proposed scheme retransmission class of each sensor node is decided by the coordinator according to the number of failed transmissions of each node as observed by the coordinator during the last superframe. Based on the retransmission class received from the coordinator, each node adjusts its next backoff value. The proposed scheme increases the probability of successful frame retransmissions without incurring extra overhead. The simulation results prove that the proposed scheme based on its adaptive retransmission mechanism achieves higher average throughput and average end-to-end delay, while not compromising on energy efficiency as compared to the IEEE 802.15.4 and Block Acknowledgment (Block Ack). Moreover, our scheme appears more stable in terms of average throughput, end-to-end delay, and energy efficiency under different values of beacon order (BO) and superframe order (SO).

1. Introduction

Recently, WBAN has emerged as a subcategory of wireless sensor networks (WSNs), which primarily aims to monitor physiological and ambient conditions of human beings and animals and report them to a coordinator [1]. These cost-effective and low-duty cycle WBANs aim to provide reliable operation with low data rates, mobility support, and security with minimal effect on energy consumption.

The IEEE 802.15.4 standard [2] is considered as the most mature standard for WBANs with wide range of applications in health care [3]. It reasonably meets the application requirements of short range WBANs. Further, in order to deal with limited memory, energy, and processing power of sensor nodes, this standard supports appropriate physical and MAC layers. A WBAN is typically based on three types of topologies including star, peer-to-peer, and mesh [4]. Star topologies are suitable for limited range and small networks and rely on a coordinator to coordinate sensor nodes. These topologies are generally useful for networks, where energy efficiency is the prime concern. Peer-to-peer topology also requires a WBAN coordinator, where devices can communicate with each other, if they are within the communication range of each other. Cluster tree topology is similar to peer-to-peer topology; however it is relatively complex to implement. In this topology, root acts as a coordinator while remaining nodes act as the tree leaves. In this topology, sensors nodes within the transmission range of each other are able to communicate.

In WBANs, different factors for failed frame transmissions include distance, transmission range, channel conditions, interference, and medium access mechanisms. Due to critical nature of patient’s data, many WBAN applications require significant reliability of transmissions. For example, a typical medical application requires above delivery ratio [5]. In order to achieve that high level of reliability, an efficient retransmission scheme needs to be employed. However, an efficient retransmission scheme which is able to schedule retransmissions is a nontrivial issue; to be effective it must consider the number of failed transmission attempts by each node; otherwise it may further deteriorate the performance of a WBAN. A naive and poorly designed retransmission scheme may further result in collisions and delays and may result in waste of energy.

The CSMA/CA mechanism used by IEEE 802.15.4 is considered suitable to conserve energy by sensing the channel prior to transmission and therefore avoids large number of collisions. In CSMA/CA, a node always makes sure that the channel is idle before initiating the transmission. It is controlled by backoff periods, where an initial backoff period is selected from the contention window. Each node performs clear channel assessment (CCA) once its backoff period is expired. However, if two or more sensor nodes try to transmit during the same time slot, it may result in a collision, triggering a retransmission retry. If maximum number of retransmission retries exceeds a predefined retransmission limit, the packet is dropped. However, if retransmission attempts from different sensor nodes are not appropriately prioritized, it may further result in more collisions. These collisions can lead to loss of vital information, which can be fatal to a patient [6]. Although CSMA/CA is a simple subtle multiple access technique to avoid collisions and works efficiently when channel conditions are favorable, however, it provides no time guarantee for retransmission of a failed packet [7]. In the worst case, a failed frame may be discarded after maximum number of retransmission attempts and therefore incurs extra overhead. There are studies, which evaluate the efficiency of CSMA/CA in IEEE 802.15.6 in terms of energy efficiency, delay, and throughput under saturated traffic conditions [811]. These studies reveal that the reliability of CSMA/CA is adversely affected under high traffic loads, thus affecting average network throughput, latency, and energy consumption.

Majority of the MAC protocols designed for WBANs either do not consider retransmissions at all [3, 5, 12] or just favor an early retransmission attempt for each of the failed packets [13]. The work proposed in [14] employs a time division multiple access- (TDMA-) based approach to use the spare slots for retransmissions. However, this scheme does not consider the number of failed transmissions by each node and rely on spare slots. Under high traffic, the number of spare slots is not sufficient to accommodate retransmissions, which may further deteriorate the performance of a WBAN. Several other recently proposed retransmissions schemes which consider improving the reliability of WBANs include Block Ack [15], Flipping [16], Master/Slave [15], LReAck [17], Split Decision [18], and ASA [19].

Block Ack scheme modifies TDMA frame to schedule retransmissions with the help of negative acknowledgment (NAck), whereas ASA utilizes spare slots to schedule them. Master/Slave technique is based on polling and rely on a coordinator to schedule retransmissions. In split decision, retransmissions are scheduled by partitioning the payload into different partitions, and appending CRC-8 in each of them. In flipping strategy, regular transmission slots and slots for retransmission are clumped to increase the probability of successful transmissions. Another approach R-TDMA exploits the use of temporal diversity and achieves reliability by transmitting the same packet twice. Although these retransmission schemes target improving reliability of a WBAN, however they are not adaptive to each node’s individual failed transmissions, which greatly influences the effectiveness of these frame retransmission schemes at the expense of increased retransmission cost.

To tackle the aforementioned problems with the retransmission mechanism of CSMA/CA and with other retransmission schemes, we propose a retransmission adaptive intelligent MAC (RAI-MAC) protocol for fair retransmissions in a WBAN. The proposed retransmission adaptive MAC exploits the number of failed transmission attempts by each of the sensor nodes. This information enables the coordinator to decide about the retransmission class of each sensor node in the WBAN. This retransmission class controls the next backoff interval of all current transmitting sensors in a WBAN, thus affecting the retransmission priority of each node. Due to adaptive adjustment of backoff interval, RAI-MAC is able to reduce the probability of collisions, and delay as experienced by the CSMA/CA, and other retransmission schemes. The simulation results show that the proposed scheme can effectively use the number of failed transmissions for efficient MAC retransmissions. Our scheme significantly improves the average network throughput and average transmission delay with reasonable energy consumption.

The remaining part of the paper is structured as follows: Section 2 is devoted to some of the retransmissions related studies in WBAN available in literature. Section 3 briefly describes the IEEE 802.15.4 standard. Section 4 provides a detailed insight into the operation of IEEE 802.15.4 CSMA/CA mechanism. Section 5 provides the motivation to our work. Section 6 presents the adaptive retransmission mechanism, i.e., RAI-MAC protocol based on IEEE 802.15.4. Section 7 verifies the performance of RAI-MAC and compares it with the CSMA/CA mechanism used by IEEE 802.15.4 and Block Ack. Finally, concluding remarks are given in Section 8.

Reliability of medical applications is considered highly critical compared to nonmedical applications. In order to achieve high reliability, appropriate retransmission mechanisms need to be employed. Recently, in IEEE 802.15.6 standard proposals [13] an early retransmission of failed frame is recommended; however no appropriate retransmission mechanism has been explained.

Several MAC based retransmission schemes have been proposed in literature. These schemes aim to improve the reliability of IEEE 802.15.4-based WBANs. One of the most naive approaches is TDMA-based fixed slot allocation [20]. In this approach, nodes access the channel in their allocated time slots in the next superframe and therefore experience no contention. TDMA performs well as it is subject to no collisions for channel access. In this scheme, a retransmission is more likely required due to a change in gesture or shadowing effect. However, no retransmission mechanism is employed in this scheme to tackle failed transmissions affecting its throughput. Authors in [21] propose a variable TDMA allocation scheme to mitigate error rate in WBAN. The same authors [16] extend the idea of variable TDMA allocation by using a flipping scheduling strategy. The flipping strategy schedules the transmissions in two rounds. The successful transmissions observed in the previous superframe are scheduled in the first round, whereas, in the second round, regular transmissions and retransmission are clumped to increase the probability of successful transmissions. The authors in [14] propose an efficient TDMA-based retransmission mechanism by using spare slots. The experiments conducted by the authors reveal that the proposed scheme improves network reliability while achieving energy efficiency in scheduled access mode.

The Block Ack scheme is based on TDMA approach where TDMA frame is divided into two parts. From the first part each node is assigned a time slot to send data to the coordinator. Coordinator broadcasts a special frame called a Block Ack frame, which carries one bit per node. This bit is set to 1 to mark acknowledgment (Ack) for successful packet reception and to 0 to denote negative acknowledgment (NAck). The second part of the TDMA frame is exclusively used by the coordinator to schedule retransmissions of nodes with NAck. Upon receiving the Block Ack, a node retries to transmit packet in its allocated time slot in the TDMA frame. A node receives a Block Ack frame message based on its position during the cycle. If no message is lost during the first part of the TDMA frame, the frame continues with one slot allocation per sensor node, plus one. However, in case of a failed transmission, the period of a second chance is equivalent to the TDMA cycle, and therefore the frame doubles the number of slots, plus one. The Block Ack scheme performs well in terms of energy efficiency and channel contention as compared to the individual acknowledgments by exploiting temporal diversity. It is the fastest way to distribute acknowledgments, which are used for fast retransmissions. However, unlike TDMA, Block Ack may increases the average jitter experienced by the network. Further, a lost Block Ack may severely impair the reliability of a WBAN [15].

In Master/Slave technique also called polling technique, coordinator explicitly sends requests to sensor nodes to transmit their data. Upon receiving this request, nodes send the data to the coordinator. If coordinator does not receive the data packet from the sensor node within the specified time, it requests the sensor node to retransmit it [15]. In Redundant TDMA (R-TDMA) nodes exploit the use of temporal diversity and transmit a data packet twice. In this scheme, a frame is divided into two TDMA blocks and each node is allocated one slot from each of the blocks. Unlike Block Ack, R-TDMA does not rely on any acknowledgments for retransmissions; if packet is received within two allocated time slots, communication is considered successful [15].

In adaptive scheduling algorithm (ASA) [19], nodes are allocated spare time slots for immediate retransmissions in order to reduce average transmission latency as compared to the Master/Slave technique. Similar to R-TDMA, this scheme does not use beacon frames for synchronization and association control. Rather, it inserts retransmission slots information in the acknowledgment of request. Coordinator checks and if the number of requested slots by a node is less than of the total slots in the superframe, coordinator allocates the requested time slot and spare slot, both one to one ratio. If the number of requested slots is greater than and less than , coordinator allocates both the requested and spare time slots, two to one ratio. If the number of requested slots is greater than , coordinator allocates the requested slots only.

Authors in [22] propose a windowless block acknowledgment scheme, which guarantees continuous packet retransmissions irrespective of the underlying link unreliability. This scheme is based on a bursty convergecast scheme. Sender node organizes its packet queue in form of a linked list. Most recent packets with smaller retransmissions count receive higher transmission priority. If a node does not have any new packets to transmit, it immediately retransmits the unacknowledged packets. Similar to Block Ack, successfully received group of packets are acknowledged by using a block acknowledgment.

Authors in [23] introduce a polling-based approach similar to Master/Slave scheme. However, compared to the Master/Slave which has no limit on the number of retransmissions, this scheme limits number of retransmissions. Further, compared to the Master/Slave approach, this approach is based on earliest deadline first (EDF) scheduling to schedule real-time retransmissions. Other polling-based techniques include queued retransmissions (QR) and adaptive QR (AQR) [24]. In QR, a coordinator schedules transmissions in two rounds. In the first round, coordinator transmits data, whereas in the second round it schedules any pending retransmissions. In QR scheme, a node with successful transmission favors other nodes with higher number of pending retransmissions. Compared to QR, AQR uses a longer history of successful transmissions of a node.

In [25], a retransmission scheme based on network coding and time diversity has been proposed. In this scheme, if a packet is not received by a node within the specified time, it immediately transmits a negative acknowledgment to source node. Sender uses an encoded maximal set of lost packets to retransmit to multiple destinations simultaneously. Receiving nodes decode their message from the received encoded set in order to retrieve the lost packet.

Further to CSMA/CA contention problem, recently two approaches called CSMA/CA algorithm adaptation [2628] and CSMA/CA algorithm with retransmission adaptation [5] have been proposed in literature. In CSMA/CA with adaptation [26], a collision-aware backoff algorithm has been introduced to update the value of backoff dynamically according to collision rate in order to reduce energy consumption and transmission latency. A memorized backoff scheme (MBS) based on exponential weighted moving average has been proposed in [28]. The scheme adjusts the contention window dynamically based on the current traffic load and therefore shows significant throughput improvement. The authors in [27] improve successful transmissions probability by sensing the channel. In their scheme, nodes sense channel according to the order assigned by the coordinator, where channel is partitioned into time slots. Further, authors use a modified backoff algorithm to reduce the number of collisions. However, their backoff algorithm does not take into account dynamic network conditions. Further, this scheme does not provide any guaranteed retransmission mechanism to reduce the number of collisions. In retransmission adaptive approach to CSMA/CA, authors consider the retransmission of critical messages. In a similar technique in [5], authors consider the use of retry transmit (RT) field in the MAC control field. A failed transmission sets this field to one. In the next superframe, nodes with the RT field set to one are allocated GTS by the coordinator to guarantee retransmissions.

In another retransmission approach called split decision [18], authors propose the idea to split the payload into 3 partitions and insert a CRC-8 error check code at the end of each partition. In the first cycle, sender transmits partitioned data. If an error is detected in any of the partitions, receiver replies back with a NAck along with the partition information. Second cycle is dedicated to the recovery of partitions by using CRC-16 for which sender has received a NAck. If receiver detects no error in the recovery partitions, it performs partial recovery without CRC-8 after Ack transmission.

Although all the schemes reviewed above try to achieve reliability by retransmitting failed packets, however these schemes do not use any adaptive coordinator-controlled strategy to schedule the retransmissions. Majority of the schemes either schedule their retransmissions at their earliest, like EDF [23], or use spare slots to schedule any pending retransmissions, e.g., ASA [19]. These schemes do not consider any retransmission classification and prioritization to schedule the retransmissions and may result in collisions, thereby degrading the reliability of the network. Further, a nonprioritized backoff algorithm used by the IEEE 802.15.4 may incur longer delay and higher energy consumption. There are some retransmission schemes like QR, which consider the number of pending retransmissions to retransmit; however these schemes lack any appropriate coordinator-based classification and prioritization, affecting their performance. Hence, in this paper, we propose an adaptive retransmission scheme based on IEEE 802.15.4 to prioritize the retransmissions dynamically by the WBAN coordinator. Depending on the traffic conditions, this coordinator-assisted priority-based retransmission strategy allows the nodes to fine-tune to the most appropriate backoff period in order to prioritize their next retransmission attempt.

3. An Overview of IEEE 802.15.4

IEEE 802.15.4 can operate in beacon-enabled and beaconless modes. In the beaconless mode, no beacon is used between the coordinator and sensor nodes for synchronization. In this mode, access to channel is based on unslotted CSMA/CA mechanism. Mostly, this mode is used by the infrastructureless mesh topologies, where no synchronization is required for communication between the coordinator and sensor nodes [29]. On the other hand, in the beacon-enabled mode, coordinator transmits a superframe consisting of active and inactive periods, which are bounded by the beacons. The active part of the superframe is further subdivided into CAP and contention-free period (CFP) [30, 31]. During the inactive period, nodes tend to sleep to conserve energy. Access to the CAP period is controlled through slotted CSMA/CA mechanism [32], whereas access to the CFP period is guaranteed by the coordinator through guaranteed time slots (GTS) allocation. Both the star and cluster tree topologies operate in the beacon-enabled mode, where tight synchronization is required for communication between the coordinator and sensor nodes. The non-beacon-enabled mode of IEEE 802.15.4 uses no superframe structure. All devices in this mode are always active and ready to transmit by using unslotted CSMA/CA. Therefore, this mode experiences higher number of collisions as compared to the beacon-enabled mode.

The superframe structure is illustrated in Figure 1 [33]. As it can be observed from Figure 1, an IEEE 802.15.4 superframe is bounded by special synchronization packets, called beacons. A beacon interval (BI) denotes the interval between two consecutive beacons and is calculated as follows: symbols, where denotes the beacon order. Further, it is clear from Figure 1 that each superframe consists of active period and inactive period. The active period of the superframe also referred to as superframe duration (SD) is controlled by the superframe order (SO) and is calculated as symbols. WBAN sensor nodes tune to low power modes during the inactive period to conserve energy. The SD is further divided into two periods consisting of 16 slots: CAP and CFP. During the CAP, nodes contend for medium access by using slotted CSMA/CA, whereas CFP ensures contention-free channel access through GTS based on TDMA.

4. CSMA/CA Operation in IEEE 802.15.4-Based WBANs

IEEE 802.15.4-based WBANs use CSMA/CA to access medium during the CAP period. CSMA/CA supports WBANs based on different topologies including cluster tree topology, star topology, and peer-to-peer topology. It can be used both in the beacon-enabled and in the non-beacon-enabled modes. The first mode uses the slotted CSMA/CA while the second mode is based on the unslotted version of CSMA/CA. In the beacon-enabled mode, in order to contend the channel during the CAP, a node maintains three variables: binary exponent (s), contention window (CW), and a number of backoff stages (NB). A node selects its backoff period called BP randomly from before initiating a transmission. The value of is selected as follows: (macMinBE, macMaxBE) with an initial value of macMinBE. Once BP expires, a node performs two CCA checks to sense the channel. If channel is idle, node transmits the packet and waits for an acknowledgment from the coordinator. Conversely, if channel is busy, node increments the values of NB and . In the IEEE 802.15.4 standard, the values of macMinBE and macMaxBE are set to 3 and 5, respectively. If the values of and NB exceed their maximum limit, i.e., aMaxBEs and macMaxCSMABackoffs, respectively, the packet is dropped without further transmission attempts. In the standard the value of macMaxCSMABackoffs is defined as 4 [35].

5. Motivation

Although CSMA/CA is the most popular and widely used medium access mechanism with low complexity, however, it may experience serious consequences under emergency situations where nodes may fail to transmit critical information to the coordinator, thereby impairing the network efficiency. The CSMA/CA used by IEEE 802.15.4 is based on a very limited range of values, i.e., =macMinBE-aMaxBE, where macMinBE = 3 and the aMaxBE = 5. Due to this limited number of values, nodes in a WBAN may select the similar BP resulting in higher number of collisions. Under emergency situations, a collided packet may contain critical information about a patient’s condition, e.g., stroke or heart rate information, which can be very fatal for the patient.

The main factors which can affect the performance of CSMA/CA algorithm are values of , i.e., BEmin and BEmax, the number of CCA attempts prior to transmission, the strategy to adjust for each subsequent collision or successful transmission, and the maximum number of retransmission retries. The existing CSMA/CA mechanism uses a backoff mechanism which strictly depends on BEmin and BEmax and is controlled by each node individually with no control from the coordinator. WBAN nodes may experience different retransmission delays depending on the traffic conditions. Under high traffic loads, a node experiencing more collisions has to back off longer to retransmit the lost packet as compared to the nodes with better medium access. Further, WBAN nodes based on CSMA/CA use no prioritized backoff algorithm to attempt for retransmissions which may severely impair the average network throughput, energy efficiency, and delay.

In this work, we plan to fine-tune the backoff value of each node according to its priority class during the CAP access. Node priority classes in our proposed scheme are defined and controlled by the coordinator. Depending on the number of failed transmissions, coordinator dynamically decides about the priority class of each node, whenever either number of nodes or traffic load in the network changes. Therefore, unlike existing CSMA/CA mechanism and other retransmission strategies, coordinator has full control over the retransmission priority of each node. Each sensor node tunes its BEmin value for any early medium access for retransmissions as dictated by its retransmission priority class.

6. Retransmission Adaptive Intelligent MAC (RAI-MAC)

In RAI-MAC, coordinator decides the retransmission class of a node depending on the number of unsuccessful transmission attempts. Once retransmission class is decided by the coordinator, a RAI-MAC-enabled node dynamically adjusts its backoff time according to the class. The design of RAI-MAC is explained under retransmission classification, retransmission map, and beacon modification and is illustrated below.

6.1. RAI-MAC Design

Traffic Estimation and Retransmission Classification. In RAI-MAC, the coordinator estimates the number of failed transmissions of each sensor node observed during the last superframe. A sensor node adds an extra bit in the header of a data frame denoted as to indicate data as retransmission; i.e., a bit set to 1 indicates a data frame transmission as retransmission, whereas a bit 0 shows it as a transmission. Coordinator calculates the number of failed retransmissions by counting the data frames with for each node.

After traffic estimation, it assigns different retransmission classes, denoted as to sensor nodes according to the number of failed transmissions, denoted as , which are observed in the last superframe. The criteria used by the coordinator for retransmission classification for the next superframe is based on Table 1. Table 1 classifies a node according to the number of . If of a node exceeds a predefined maximum threshold, i.e., MaxThreshold, the node is assigned ; if is more than a predefined threshold, called MidThreshold, and less than MaxThreshold, node is placed in ; and if exceeds MinThreshold and is still less than MidThreshold, it is classified as .

Retransmission Map (R-MAP). In RAI-MAC, the coordinator maintains a list for retransmission classifications, we call it retransmission map (R-MAP). R-MAP structure is illustrated in Table 2. R-MAP carries information about the priority identification field (PID), node id, and priority class. The PID is set to either 1 or 0; field 1 indicates that R-MAP carries information about the priority class; field 0 indicates that R-MAP contains no information about any of the priority classes. Further, R-MAP also contains information about the node id along with its priority class, which coordinator has decided during the last superframe according to Table 1.

RAI-MAC Beacon. Once the coordinator has computed the R-MAP list similar to Table 1, it appends it with the beacon payload and therefore incurs no extra overhead to transmit R-MAP. The modified beacon used by RAI-MAC is shown in Figure 2 [34]. It consists of three fields: MAC header (MHR), MAC payload, and MAC footer (MFR). MHR is further subdivided into frame control, sequence number, and an addressing field. MAC payload consists of superframe specification, GTS fields, pending address fields, and R-MAP payload. MFR of the beacon contains only one field, i.e., frame check sequence (FCS). The frame control field specifies the type of MAC frame, which is being transferred by the coordinator. The frame sequence number of the MHR is used to reassemble frames, which are received out of sequence, and it is also used to match the acknowledgment with the previous transmission. Addressing field in MHR consists of source and destination addresses, and it may vary from 0 to 20 bytes. The superframe specification field of the MAC payload specifies the superframe information including superframe duration, CAP, CFP, and coordinator identification, whereas its GTS field contains information about the GTS slot allocation. Pending address field in MAC payload is used by the coordinator to transfer pending data. The R-MAP payload in the RAI-MAC beacon carries R-MAP list, appended by the coordinator which is used by the sensor nodes to adjust their retransmission priorities. The only field in FHR, i.e., FCS, consists of 16-bit CRC, which helps to verify the integrity of the received MAC frame by the receiver.

6.2. RAI-MAC Operation

In RAI-MAC, retransmissions are adaptively controlled by the coordinator and nodes. The coordinator decides the retransmission class of a sensor node depending on the number of failed transmissions observed during the last superframe as illustrated in Algorithm 1. A node dynamically adjusts the backoff behavior of CSMA according to the retransmission class decided by the coordinator and it is illustrated in Algorithms 2 and 3.

Data:  set
Result:  R-MAP with node and information
R-MAP
if  changePkt == 1   == 1  then
while    do
 Let denotes the number of packets dropped by node in the last superframe
if    MaxThreshold  then
 R-MAP R-MAP
end
if    MidThreshold  &    MaxThreshold  then
 R-MAP R-MAP
end
if    MinThreshold  &    MidThreshold  then
 R-MAP R-MAP
end
end
 Insert R-MAP into the Beacon
end
Broadcast Beacon
Data:  R-MAP with node and information
Result:   of
while  forever  do
 scan the channel until receive the beacon
 Extract R-MAP from the beacon
if  PID==1  then
foreach   R-MAP  do
if   ==   then
= of
end
end
end
=
end
call Algorithm 3 ()
Data:  
Result:   BEmin
BEmin current BEmin
if  ==  then
if  BEmin   then
 BEmin= BEmin+
end
end
if  ==  then
if  BEmin   then
 BEmin= BEmin+
end
end
if  ==  then
if  BEmin   then
 BEmin= BEmin+
end
end
if  ==  then
 BEmin= BEmin of CSMA
end
BEmin of CSMA= BEmin

RAI-MAC Coordinator Algorithm. Algorithm 1 illustrates the RAI-MAC behavior on a coordinator. Whenever coordinator detects the traffic load changes due to change in number of either nodes or packets, it calculates the number of failed transmissions, denoted as , experienced by each node. The coordinator computes the R-MAP by using information and according to retransmission classes criteria defined in Table 1. Each entry of R-MAP consists of along with its retransmission class, i.e., . An example of R-MAP structure computed by Algorithm 1 is shown in Table 2. After computing the R-MAP, coordinator broadcasts it by inserting it into the beacon.

RAI-MAC Node Algorithm. Algorithms 2 and 3 illustrate the behavior of RAI-MAC on each sensor node. All sensor nodes in a WBAN synchronize with the coordinator by using the information received through the beacon. Upon receiving the beacon, the node extracts the PID field. The PID field confirms if the R-MAP carries any information about the retransmission classes of the nodes. If this field is set to 0, it means R-MAP carries no information about the retransmission classes; however, if it is 1, it indicates that R-MAP has information about the retransmission classes. Further, if value of PID is set to 0, it helps the node to skip processing the R-MAP any further. If a node retrieves the PID field as 1, it processes the R-MAP and extracts its retransmission class if specified by the coordinator in the R-MAP. If node finds no retransmission class in the R-MAP, it specifies its retransmission class as . The retransmission class specifies the same backoff behavior as dictated by the default CSMA/CA mechanism.

Once a node has information about its retransmission class either extracted from the R-MP or specified as , it invokes Algorithm 3. Algorithm 3 prioritizes the channel access of each sensor node by adjusting the value of BE according to the priority class of a node as decided by Algorithm 2. In the IEEE 802.15.4 standard, priority to the channel access is controlled by adjusting BEmin and BEmax. However, at the earlier stage, priority access to the channel depends only on the value of BEmin, whereas BEmax controls the channel access at the final stage. Contemplating to this, Algorithm 3 adjusts only the value of BEmin to control the access priority at the earlier stage of retransmission only.

In order to prioritize , Algorithm 3 increases the value of BEmin by . The increments the value of BEmin by to prioritize over . The increases BEmin by to suppress its priority over and . Algorithm 3 decrements the value of BEmin for all the three classes, i.e., , , and only if the value of BEmin is greater than the , as specified by RAI-MAC, where denotes the maximum possible value for BEmin.

7. Performance Evaluation

It is possible to evaluate RAI-MAC by using IEEE 802.15.4 compliant MicaZ nodes equipped with OpenZB microkernel [36]. However, in this paper we evaluate the performance of RAI-MAC by using ns-2.34 and compare it with the retransmission mechanism used by IEEE 802.15.4, i.e., slotted CSMA/CA and a most recent retransmission scheme, Block Ack [15]. We have performed two major sets of experiments; the first one evaluates and compares RAI-MAC with IEEE 802.15.4 with different BEmin and BEmax values; and the second one evaluates and compares RAI-MAC with the Block Ack. The details of these experiments are illustrated in the sections below.

In all simulation scenarios, the wireless body area network used for performance evaluations is based on star topology in the beacon-enabled mode. The WBAN consists of a coordinator connected with the sensor nodes within a range of . The coordinator broadcasts beacons at regular intervals to synchronize with the sensor nodes. In our network, sensor nodes are active during the active period of superframe and they turn their radio off to conserve energy during the inactive period. All the sensor nodes generate constant bit rate (CBR) traffic where each data packet has size of 70 bytes.

If not stated otherwise, for all the experiments we have used ATMEL energy model [37] to simulate realistic results for energy consumption. We assume that the coordinator has information about the contents and reporting time of each packet. Further, we assume that the coordinator is able to detect a change in the number of nodes and a change in data rate of each sensor node. For all the experiments, the maximum number of retransmission retries is set as 5. Each simulation run lasts for 500 seconds. Table 3 summarizes the parameters of the simulation, if not stated otherwise.

7.1. RAI-MAC and IEEE 802.15.4

In the first set of experiments, we evaluate and compare the performance of RAI-MAC with the IEEE 802.15.4. We simulate three different scenarios with continuous data reporting, varying number of nodes, and variable data rate. We evaluate the performance of both RAI-MAC and IEEE 802.15.4 in terms of average end-to-end delay, average throughput, and average energy consumption.

Scenario 1. In this scenario, we investigate the performance of RAI-MAC and CSMA/CA with different BEmin and BEmax values. The other simulation parameters used for this scenario are listed in Table 3. The settings of the energy model used for this scenario are the same as ATMEL Mote and are listed in Table 4. In this scenario, we consider a WBAN consisting of 15 nodes and a coordinator. The simulated network has 8 active CBR traffic flows, each with traffic load of 3 packets/s. Each data packet has payload of 70 bytes. We compare the average goodput, average end-to-end delay, and energy efficiency with a 95% confident level under saturation conditions, where each node always has a packet to transmit.
Figure 3 compares the average throughput of RAI-MAC and CSMA/CA with different BEmin and BEmax values. Figure 3 confirms that the average goodput observed by RAI-MAC is better than CSMA/CA observed at different time intervals. This improvement is due to adaptive adjustment to BEmin as compared to CSMA/CA with different BEmin and BEmax values. This dynamic adjustment decreases the probability of two nodes to select the same backoff value resulting in fewer collisions as compared to CSMA/CA.
Figure 4 shows the average end-to-end delay of RAI-MAC and CSMA/CA with different BEmin and BEmax values. As can be observed, for smaller simulation time RAI-MAC has higher end-to-end delay as compared to CSMA/CA due to its dynamic adaptation procedure. However, as the simulation time increases, more contention is in the network. In this case, the end-to-end delay experienced by RAI-MAC is competitive to CSMA/CA for its BEmin=2 and BEmac=7, which is mainly due to optimal backoff experienced by the sensor nodes.
Figure 5 presents energy consumption of both RAI-MAC and CSMA/CA. It is clear from the figure that RAI-MAC is competitive to CSMA/CA in terms of energy consumption for BEmin=2 and BEmax=7. As compared to the static BEmin and BEmax values as used by CSMA/CA, RAI-MAC adjusts BEmin dynamically according to the retransmission class as specified by the coordinator. This dynamic adaptation has lower number of collisions than CSMA/CA, thereby incurring less energy.

Scenario 2. In second scenario, we evaluate the performance of RAI-MAC and CSMA/CA by simulating 15 sensor nodes with 8 active CBR flows. We set the simulation parameters according to the table as shown in Table 3. The power consumption behavior of each sensor node is presented in Table 4.
Figure 6 presents average goodput for both the RAI-MAC and CSMA/CA, when traffic load varies from 0 to 3 packets/s. Other simulation parameters are the same as Table 3. It is clear from the figure that traffic load has significant effect on the achieved average network goodput. For higher traffic loads, RAI-MAC shows a clear improvement in average network goodput over CSMA/CA for all of its BEmin and BEmax values. This behavior is mainly attributed to the RAI-MAC ’s dynamic adaptation to failed transmissions, thus avoiding collisions, therefore improving the goodput. An end-to-end delay sensitivity plot of RAI-MAC and CSMA/CA for varying traffic load is shown in Figure 7. Figure shows that the traffic load has a direct influence on average end-to-end delay. The average end-to-end delay tends to increase for both the RAI-MAC and CSMA/CA (for all of its BEmin and BEmax values) as the traffic load increases. However, as can be observed, RAI-MAC has significantly less average end-to-end delay as compared to CSMA/CA for all of its BEmin and BEmax values, when the traffic load exceeds 1 packet/s. This is due to the fact that RAI-MAC suffers in fewer collisions due to its adaptive backoff mechanism controlled by the coordinator.
Figure 8 illustrates the energy consumption for varying traffic loads. As can be seen, the average energy consumption experienced by a node increases with an increase in traffic load. The higher energy consumption of both the RAI-MAC and CSMA/CA is due to an increase in contention level. It can be observed that RAI-MAC has almost similar energy consumption performance as of CSMA/CA under varying traffic loads.

Scenario 3. In this scenario, we analyze the performance of IEEE 802.15.4 and RAI-MAC under different number of nodes. We vary the number of nodes from 5 to 30, where each node generates 3 packets/s. The scenario is simulated by using the star topology in the beacon-enabled mode. Other simulation parameters are the same as listed in Table 3. Each node dissipates the energy according to Table 4.
Figure 9 shows the average goodput of RAI-MAC and CSMA/CA versus the number of nodes. When number of nodes is less than 10, the average goodput performance of RAI-MAC and CSMA/CA is the same. However, as the number of nodes increases, the average goodput performance gap tends to increase due to high traffic volume. In RAI-MAC, nodes with higher number of failed transmissions are able to access the channel frequently due to dynamic backoff adjustment, resulting in better average goodput performance. All the nodes using CSMA/CA backoff mechanism try to access the channel by using the same BEmin. Hence, number of collisions tends to increase degrading the average goodput. Figure 10 shows the average end-to-end delay experienced by both the RAI-MAC and CSMA/CA, as a function of number of nodes. From figure, it is obvious that the proposed RAI-MAC shows a reasonable delay performance improvement over the CSMA/CA and for all of its BEmax and BEmin values. This is due to the fact that RAI-MAC adjusts the BEmin value according to the level of collisions, while larger values of BEmin and BEmax may cause higher average backoff delay.
Figure 11 depicts the energy consumption performance of both the RAI-MAC and CSMA/CA as a function of varying number of nodes. It is clear from the figure that RAI-MAC has competitive energy consumption as of CSMA/CA for all of its BEmin and BEmax values. The adaptive backoff procedure of RAI-MAC reduces the probability of the same backoff interval by different nodes, and therefore most of the packets are successfully delivered. As a consequence, a lower number of retransmissions are required, which improves average energy consumption.

7.2. RAI-MAC and Block Ack

In this section, we present performance evaluation of RAI-MAC and compare it with Block Ack and IEEE 802.15.4 in terms of average end-to-end delay, average goodput, and average energy consumption. In this scenario, we simulate a network of 15 sensor nodes, where each node can generate packets from 3 packets/s. Other relevant simulation parameters along with their values are listed in Table 3. Energy consumption of each node is derived from the ATMEL Mote and is the same as listed in Table 4.

Figure 12 portrays the average goodput as a function of simulation time. It can be observed from this figure that average goodput of RAI-MAC is better than Block Ack for all of the simulation time values. This difference becomes more significant for the longer simulation time as the network gets more saturated, thereby affecting the goodput of all of the medium access techniques. This means that, under saturation conditions, packets transmitted by RAI-MAC are mostly likely able to reach their destination due to lower number of collisions. In Figure 13, end-to-end delay experienced by Block Ack is higher than RAI-MAC and CSMA (BEmin=2, BEmin=7). The Block Ack is based on TDMA in which any pending retransmissions are scheduled in the second phase of TDMA, thus incurring higher delay as compared to RAI-MAC and CSMA (BEmin=2, BEmin=7).

Figure 14 shows the energy consumption comparison of RAI-MAC, CSMA (BEmin=2, BEmin=7), and Block Ack according to the ATMEL Mote transceiver. The results in this figure confirm that RAI-MAC scheme is as efficient in energy conservation as compared to the other two schemes. Our proposed scheme has almost similar energy performance trend as of CSMA (BEmin=2, BEmin=7). However, the Block Ack seems to have less energy consumption due to its well scheduled retransmission mechanism as compared to CSMA (BEmin=2, BEmin=7) and RAI-MAC.

7.3. Analysis of SO on RAI-MAC

The selection of an optimal BO and SO is one of the important tasks of the coordinator. In this section, we evaluate the performance of RAI-MAC under different BO and SO. We run the simulations for a number of 15 sensor nodes with a coordinator and vary the traffic load from 0 to 3 packets/s assuming a packet size of 70 bytes. Other simulation parameters are the same as listed in Table 3.

As can be observed from Figure 15, lower SO values lead to lower average goodput. For lower values of SO, frequent beacon frames result in higher beacon overhead. Further, a lower value of SO requires frequent CCA attempts, resulting in higher collisions at the start of each superframe. As can be observed from the figure, this effect is more significant under high traffic loads.

Figure 16 shows that the end-to-end delay experienced by RAI-MAC increases significantly with an increase in traffic load. For the lower SO values, the probability of CCA deference by sensor nodes increases significantly resulting in lower end-to-end delay. However, for higher SO values, the RAI-MAC incurs higher backoff delays due to a decrease in CCA deference. It can be observed from Figure 17 that, for smaller SO values, RAI-MAC consumes more energy as compared to the larger values. This difference is more prominent for higher traffic loads.

8. Conclusion

In a WBAN, the exchange of information between sensor nodes and coordinator must be carried out in a reliable way to avoid loss of any important information. Although traditional CSMA/CA-based mechanism used by IEEE 802.15.4 is simple to provide access to the medium, however it lacks any retransmission ability which can increase the reliability of communication between sensor nodes and coordinator. There are several retransmission schemes which try to address the issues with the CSMA/CA; however these schemes do not offer any well-defined mechanism at the coordinator end, which can facilitate retransmissions according to the prevailing network conditions. This paper proposes a retransmission scheme, called RAI-MAC, which aims to improve the reliability of communication and to speed up the probability of successful transmissions in WBANs. When compared to CSMA/CA and other retransmission schemes, one of the most robust features of RAI-MAC is its dynamic adaptability to backoff time according to the number of failed transmissions as observed by the coordinator. One of the prime advantages of RAI-MAC is that coordinators classify, prioritize, and control the retransmissions compared to other schemes, thereby improving the network performance.

Experimental assessments of RAI-MAC demonstrate that it has significant improved reliability behavior with low end-to-end delay, while not compromising on energy efficiency when compared with the CSMA/CA and a popular TDMA-based retransmission scheme, i.e., Block Ack. Our proposed scheme improves the transmission reliability by considering the number of failed transmissions, however it does not consider the energy budget of each sensor node, independently. An important extension to our work can be based on retransmission classification and the remaining energy budget of each node. Further, it remains to be seen whether coordinator can make a better retransmission decision by using Q-learning approach [38].

Data Availability

Data sharing is not applicable to this article as no datasets were generated or analyzed during the current study.

Conflicts of Interest

The authors declare no conflicts of interest.

Acknowledgments

This work was supported by the Office of Research, Innovation and Commercialization (ORIC) at Bahria University, Islamabad.