Delay, Reliability, and Throughput Based QoS Profile: A MAC Layer Performance Optimization Mechanism for Biomedical Applications in Wireless Body Area Sensor Networks

Recently, increasing demand for remote healthcare monitoring systems poses a specific set of Quality of Services (QoS) requirements to theMAC layer protocols and standards (IEEE 802.15.6, IEEE 802.15.4, etc.) ofWireless Body Area Sensor Networks (WBASNs).Theymainly include time bounded services (latency), reliable data transmission, fair channel distribution, and specified data rates.The existingMACprotocols ofWBASNs are lack of a specific set of QoS. To address this, the paper proposes aQoS profile named delay, reliability, and throughput (DRT). The QoS values computed through DRT profile provide maximum reliability of data transmission within an acceptable latency and data rates. The DRT is based on the carrier sense multiple access with collision avoidance (CSMA/CA) channel access mechanism and considers IEEE 802.15.4 (low-rate WPAN) and IEEE 802.15.6 (WBASN). Further, a detailed performance analysis of different frequency bands is donewhich are standardized forWBASNs, that is, 420MHz, 868MHz, 2.4GHz, and so forth. Finally, a series of experiments are conducted to produce statistical results for DRT profile with respect to delay, reliability, and packet delivery ratio (PDR).The calculated results are verified through extensive simulations in the CASTALIA 3.2 framework using the OMNET++ network simulator.


Introduction
With the increasing interest of medical applications in remote healthcare, WBASN (Wireless Body Area Sensor Network) has received significant attention from both academic researchers and industry practitioners [1][2][3][4].Personal assistance [5], patient monitoring [6], environment, and military [7] are considered as a popular application area for WBASN.A WBASN is composed of sensor nodes, which possess the characteristics like low power, miniaturization, wearability, light weight, and so forth.For medical applications, electrocardiograph (ECG), electroencephalogram (EEG), electromyography (EMG), accelerometer, gyroscope, pulse oximeter, blood pressure, temperature, barometer, and heart rate monitoring sensor are used.These sensor nodes are robust and capable of continuous monitoring with a limited memory.These wearable sensor nodes continuously monitor the physiological data and send them to a coordinator node (Personal Digital Assistant (PDA) or any other suitable node) before memory fills for preprocessing using radio frequency (RF) signals.The coordinator node is placed on the body or near body.A Central Server (CS) is used to keep data records for different patients to provide them with emergency services and feedback.The overall WBASN architecture contains three tiers, including wearable sensors, on-body coordinator, and CS.In this three-tier architecture, communication is conducted at two stages, that is, from the sensor node to the coordinator and from the coordinator to the CS.One of the purposes of WBASN is to provide remote healthcare to decrease the hospitalization as the number of elderly people is increasing yearly [8].Research work regarding design, evaluation, and implementation of WBASN is conducted in [9][10][11][12][13].The wearable and implantable WBASN has two main categories for healthcare applications [14,15].The implantable WBASN is used for telecare and telemedicine, whereas the wearable WBASN is used for medical and nonmedical applications [16].In remote healthcare applications, WBASN research focuses on four main areas including ultralow power processing, signal processing, communication protocols, and lightweight sensor nodes [17,18].
WBASN is a subclass of wireless sensor networks (WSN).Various communicating protocols and mechanisms are developed for WSN but their use in WBASN is not suitable due to the different environment a human body has [19].These different characteristics are as follows: (a) there is limited bandwidth due to the fact that the available bandwidth is short-range, changing, fading, and noisy and in a limited space; (b) sensor nodes and devices used in WBASNs are heterogeneous with respect to QoS requirements; (c) sensor nodes should work on low power because high power can be harmful for a human; (d) mobility is involved with this small network as it moves with the body part movements.Wearable health monitoring systems require defined and strict medical criteria as they work under ergonomic and hardware limitations.Mainly these constraints include data rate, delay, QoS, and power consumption.ISO/IEEE 11073 defines a few classes of medical applications with their latency and data rate requirements.For latency the acceptable limit is 250 ms for the most medical applications.For data rates different applications require different data rates; for example, blood pressure, blood saturation, heart rate, and temperature demand less than 10 kbps, whereas EMG, audio, and video require more than 100 kbps.IEEE 802.15.4 standard defines the data link layer (DLL) and physical layer for low-rate wireless personal area networks (LR-WPANs).It is developed and maintained by the IEEE 802.15 working group, which provides the basis for wireless personal area networks (WPANs).IEEE 802.15.4 defines two types of devices, that is, full function device (FFD) and reduced function device (RFD).FFD supports full functionalities and can act as a network coordinator, whereas RFD supports limited functionality and usually is used by a network edge device as it consumes low power.The role of the network coordinator is to manage a network (usually deployed in a star topology) as a central controller sends and receives data through it.The IEEE 802.15.4 physical layer is capable of using three frequencies bands: (a) 2.4 to 2.4835 GHz with 16 channels; (b) 902 to 928 MHz using 10 channels; (c) 868 to 868.6 MHz with one channel.DLL consists of two sublayers, medium access control (MAC) and logical link control (LLC).The LLC is defined in IEEE 802.2 and is used in 802 with the same functionality.The MAC handles various activities including beacon management, guaranteed time slots (GTS) management, and channel access mechanism.
The task group for 802.15.6 was established by IEEE in November 2007 for standardization of WBASNs and was approved in 2012.This standard works in and around the human body and focuses on operating at lower frequencies and a short range.This standard focuses on designing a communication standard for MAC and the physical layer to support different applications, that is, medical and nonmedical applications.It defines a MAC layer that can operate with three different physical layers, that is, human body communication (HBC), ultra wideband (UWB), and narrow band (NB) [1].
For optimal performance WBASN applications demand a set of QoS combinations at a given time from the MAC layer.The current protocols and standards lack this aspect.Section 2 reviews the existing MAC layer protocols for healthcare.Section 3 presents the fundamental carrier sense multiple access with collision avoidance (CSMA/CA) mechanism for IEEE 802.15.4 and IEEE 802.15.6.Section 4 discusses the delay, reliability, and throughput (DRT) profile in detail with the help of numerical modeling.Section 5 provides simulations and validation results.

MAC Protocols for Medical Applications and Healthcare Systems
WBASNs [2] use two types of MAC mechanisms for periodic and urgent data traffic, that is, CSMA/CA and time-division multiple access (TDMA).CSMA/CA is the contention based channel access where nodes need to compete for the channel in the contention access period (CAP), whereas TDMA is a contentionless and scheduled (on time slots) channel access mechanism.
Table 2 shows that CSMA/CA is suitable for the networks where both urgent and periodic data need to be transmitted.Moreover, it is suitable in dynamic environments where a node can be added to network at any time.
In the last few years, various research works related to WBASNs protocols have been conducted.Figure 1  Performance of CSMA/CA mainly depends on four parameters, namely, minimum backoff exponent (macMinBE), maximum backoff exponent (macMaxBE), contention window (CW) value, and maximum number of backoffs (macMaxCSMAbackoffs). IEEE 802.15.4 defines a fix backoff range; that is, default value of macMinBE is 3 and macMaxBE is 5.These values clearly describe the limit of backoff interval between 2 3 and 2 5 .Changes of these values will affect the network performance [20].Decreasing the values for macMinBE and macMaxBE will reduce the waiting time of a node in the case where clear channel assessment (CCA) detects the busy channel.Ultimately, when a node tries the channel access with less waiting time, there is a chance that the node's throughput gets the increase.However, these decrements can also reduce the network performance.If there are different nodes that are trying to access the channel, the collision probability will increase as  Ynu-MAC [46] Novel-MAC [47] C-MAC [2] Wise-MAC [23] D2MAC [48] E-MAC [49] Ada-MAC [50] DTD-MAC [51] PNP-MAC [52]  every node is trying to access the channel in a short interval.Overall, all nodes will have delay and less throughput.On the other hand, if the values of BE are increased, there is more chance of the delay and less network throughput.However, higher values of BE decrease the collision probabilities and reduce the retransmission as well.
The contention window is another important parameter for slotted CSMA/CA, which creates the waiting time after the successful CCA.The standard recommends that this delay should be equal to two times of CCA attempts.The purpose of this wait is to reduce the collision probability, by protecting the acknowledgement frame of the receiver.Usually, the receiver sends the acknowledgement after the defined interval which is between 12 and 31 symbols (20 symbols = one backoff period).So the time for one CCA can cause a collision within a new transmission (newly transmitted packet and its acknowledgement).The higher values of CW reduce the chances of collision but can cause delays.However, if the device does not need an acknowledgement, then the value of CW can be chosen flexibly to reduce delays.
NB represents the number of CSMA/CA backoff attempts and is considered as one of the important channel access parameters.The default value is 4 which means after 4 times if the device under the CSMA/CA does not get the channel access the data packet will be dropped.The parameter helps to increase the packet delivery ratio.
Table 3 describes the different optimization mechanisms by manipulating these limitations of fix values of MAC parameters and applied to existing WBASNs protocols and IEEE standards, that is, IEEE 802.15.4 and IEEE 802.15.6.
The higher the number of retransmissions is, the better the reliability of the data transmission is.Retransmission occurs when a sending device does not receive acknowledgement from the receiver.There are different reasons for not receiving the acknowledgement, that is, data packet loss due to collision on receiving side, acknowledgement lost, late reception of acknowledgement, and so forth.The high number of retransmissions ensures the reliability, but at the same time it causes delay in network performance as retransmissions involve the channel access to the same packet and also it requires the bandwidth which will affect the performance of other nodes.The traditional profiles of IEEE 802.15.4 and IEEE 802.15.6 impose restrictions by giving default values for these MAC layer parameters.Table 4 gives the default profile values.
Table 3 shows that IEEE 802.15.4 and IEEE 802.15.6 standards are capable of optimized performance in terms of delay, packet delivery, and reliability of WBASN applications by adjusting the different MAC parameter values (BE, CW, superframe order (SO), and retransmissions).Most of the optimization mechanisms applied in Table 4 usually consider one of the QoS aspects of the MAC layer, whereas a WBASN demands a set of QoS parameters in a given time.In this context, research develops a DRT profile by considering different frequency bands and data rates of IEEE 802.15.4 and IEEE 802.15.6.This profile helps to increase the performance of these standards.Adaptive and real time protocols [20] Backoff exponent (BE) Analysis of macMinBE and macMaxBE values: by increasing these values the delay increases and the throughput decreases; however collision probability decreases and vice versa Analysis of CAP [36] BE For large networks, the throughput is independent of the BE initial value; however, for small networks it generates high impact A comprehensive analysis of the MAC unreliability problem [37] Contention windows (CW) Propose CW values for time critical applications; higher values of CW reduce collision chances; however, for time critical applications where ACK is disabled the CW is set to lower values for fast communications MAC unreliability problem in IEEE 802.15.4 WSN [38] Retransmissions In ideal channel conditions, when the number of retransmissions is increased from 1 to 2, a significant improvement is observed in packet delivery; however, there is no significant improvement in packet delivery if the number of retransmissions is increased from 2 to 7 Performance evaluation with different backoff ranges [ [43,44] BE Propose an Adaptive Backoff Exponent (ABE) mechanism which reduces the devices probability to reduce collisions Comprehensive simulation study for CSMA/CA [45] BE Higher values of macMinBE and macMaxBE lead towards higher packet delivery ratios; however, the delay will be increased as well Overall, the standard defines four types of frame, namely, beacon frame (mostly the coordinator is used for beacon transmission), data frame (used for transmission of data), acknowledgement frame, and MAC command frame (for all MAC peer entity control transfers).
The nonbeacon (beaconless) mode and beacon mode are two basic transmission modes of IEEE 802.15.4 [1,2].In a nonbeacon mode, when a node wants to transmit data, it will sense the channel (unslotted CSMA/CA) and if the channel is free then it will transmit data and receive acknowledgement (acknowledgement is optional).The coordinator is set in the waiting state in this mode.If the channel is busy then the device needs to wait for a random amount of time defined in the standard.This mode is suitable for those sensors which usually like to sleep for most of the time.They only send data on happening of an event.There is no need of any synchronization process from the coordinator; the coordinator is only responsible for the association and disassociation.Although this mode provides scalability, long battery life, and self-organization, it does not provide any guarantees for data transmissions.
Figure 3 shows the data flow diagram for the beaconless mode.The nonbeacon based CSMA/CA is mainly based on three variables, namely, backoff exponent (BE), backoff delays, and number of backoff (NB) attempts.BE is used for backoff delay calculation.The backoff period can be defined as the time required for sending 20 symbols (each symbol represents 4 bits).The number of backoff periods that a device   waits depends on the random value that falls between 0 and 2 BE − 1, where the value of BE is initialized with a variable of the CSMA/CA algorithm macMinBE.NB represents the number of backoffs attempts while accessing the channel.
Figure 3 shows the data flow diagram for the beaconless mode.
In the beacon mode, the coordinator sends a beacon periodically to the devices for synchronization.By receiving the beacons, the devices get knowledge of two important events, that is, superframe duration (coordinator's activity period) and when the device can do data transmission.
Figure 4 shows the superframe structure.The superframe is delimited by using beacon frames and Beacon Interval (BI) is used to define the time between two consecutive beacons.The MAC attributes beacon order (BO) and SO represent the BI length and superframe duration (SD).The superframe is divided into two portions, namely, active portion and inactive portion (optionally).
The active portion consists of 16 equally spaced slots, known as superframe time slots.For the active portion, the duration of 960 symbols (one symbol = 4 bits) is fixed by IEEE 802.15.4,which corresponds to 15.36 ms (with the assumption of 250 kbps in 2.4 GHz band).The active portion of the superframe is divided into two parts: CAP (contention access period) and CFP (contention-free period).According to IEEE 802.15.4 the BI defines the length of the superframe as follows: BI = a base superframe duration * 2 BO symbols for 0 ≤ BO ≤ 14. ( The active period follows the following formula: CAP is similar to the nonbeacon mode in access except it is bound to access the channel within the time slots (transmission can start at the start of time slot not in the middle).
Figure 5 describes the flow chart for the slotted mode.The slotted CSMA/CA algorithm mostly depends on three variables, namely, BE, CW, and NB.BE represents the value of backoff delay and every device must cater this backoff delay (waiting time period in slots) before the channel access attempt.CW defines the number of backoff periods where the channel must be sensed to be idle before the start of transmission.CW implies after successful channel access attempt.NB determines the number of channel access attempts.
3.2.IEEE 802.15.6.IEEE 802.15.6 provides specification for the MAC layer to access the channel.The coordinator divides the channel into superframe time structures to allocate resources.Superframes are bounded by equal length beacons through the coordinator.Usually beacons are sent at beacon periods except inactive superframes or limited by regulation.The standard works under the following three channel access modes.

Beacon Mode with Beacon Period Superframe Boundaries.
Beacons are sent at beacon periods by the coordinator and the superframe structure is managed by the coordinator using beacon frames.Figure 6 shows the frame structure for IEEE 802.15.6 [21].
The superframe structure consists of several phases: exclusive access phase 1 (EAP 1), random access phase 1 (RAP 1), type I/II phase, an EAP 2, RAP 2, and contention access phase (CAP).CSMA/CA or slotted Aloha is used by EAPs, RAPs, and CAPs.For emergency services and high priority data EAP 1 and EAP 2 are used, whereas CAP, RAP 1, and RAP 2 are used for regular data traffic.Types I/II are used for bilink allocation intervals, up-link and down-link allocation intervals, and delay bilink intervals.For resource allocation, the type I/II polling is used.
Figure 7 shows the CSMA/CA mechanism of this mode.A node's backoff counter value is set to a random integer number within [1,CW], where CW (the default value is CW min ) belongs to CW min and CW max which is dependent on user priority values given in Table 1.When the algorithm starts, the node begins to counter decrement by one for the idle CSMA/CA slot duration (slot duration CSMA/CA (pCSMA/CA) slot length).A node is considered as CSMA/CA slot idle if the channel is idle between the start of slot and slot duration clear channel assessment (pCCATime).When the backoff counter reaches zero, the node transmits the data frame.If the case channel is busy because of some other frame transmission, then the node locks for its backoff counter until the channel gets idle.The value of CW gets double in case of an even number of failures until it reaches CW max [1,3,21].

Nonbeacon Mode with Superframe Boundaries.
In this channel access mode, beacons are not transmitted and channel is assigned by using polling mechanism.

Nonbeacon Mode without Superframe Boundaries.
For this mode, the coordinator provides an unscheduled polled allocation and each node establishes its own schedule.Different access mechanisms are used in superframe phases: schedule access (connection oriented and contention-free access), improvised and unscheduled access (connectionless and contention-free access), and random access (CSMA/CA or slotted Aloha based).

DRT Profile
In this section, the DRT profile is computed after series of statistical experiments with the aim of performance optimization at the MAC layer for WBASN medical applications.and IEEE 802.15.6 through CSMA/CA mechanisms, that is, CSMA/CA backoffs, backoff retries, and retransmissions.The numerical formulas help to drive flexible and reliable set of combinational values which provide maximum reliability of data transmission within an acceptable latency and data rates.For IEEE 802.15.4, the DRT profile is defined for beaconless and beacon-enabled modes and it computes the value of the end-to-end delay with maximum reliability; for this case we refer macCSMABackoff and macFrameRetries as a reliability factor.The DRT provides those high reliability values that are within acceptable time boundaries for patient monitoring systems.
The following terminologies are used in the end-toend model which is modified in this research for medical applications: ED is Expected Total Delay.
BPC is backoff time period including CCA.

CCA is clear channel assessment.
frame is tansmission time for a frame with payload length.
is turnaround time that is the time between a data frame.
Ack is transmission time of an acknowledgment.
SIFS is time for Short Interf rame Space.
BO is number of backoffs in one slot.
BOslot is time for backoff slot.
CW is backoff period for contention window.ED BC213 is end to end delay, where BE is 2, macCSMABackoff is 1, and macMaxFrameRetries is 3.
Using the above notations, we propose the modified equations from [21] below: BO is a random value of time: ED in ( 3) represents an end-to-end delay in the CSMA/CA process in the beaconless/unslotted mode.macFrameRetries represents the number of retransmission attempts when the MAC layer does not receive acknowledgement.Its default value is 4 and the maximum value is 7. BPC represents the backoff time period which will be assigned to a node before going to channel access attempt.CCA is the clear channel assessment time period.We add this value with the backoff time period in (4), so every time when a node senses the channel, it must wait for two time periods, that is, backoff and CCA. BO represents the number of backoffs (a specific time period) in one slot. BOslot represents the time for a backoff slot.For analysis, we consider the bit rate of 20 kbps and 250 kbps (868.0-868.6MHz and 2.4 GHz frequency band are considered with BPSK modulation and a symbol represents 1 and 4 bits).The output of the DRT profile is represented in Tables 5(a) and 5(b).
From a series of experiments, several significant values for the DRT profile are selected and recommended for WBASNs in medical applications.Tables 5(a) and 5(b) describe suitable combination (the combinations that provide maximum reliability within 250 ms) of the DRT profile computed values after statistical experiments with different frequencies and the data rate by considering the maximum packet size, that is, 127 bytes in IEEE 802.15.4.Similarly, (7) represents the end-to-end delay for IEEE 802.15.4 beacon-enabled.The difference between the IEEE 802.15.4 beacon mode (slotted CSMA/CA) and the nonbeacon mode (unslotted CSMA/CA) is the addition of  CW which represents the part of the backoff time for the slotted CSMA/CA in the algorithm with contention window (CW).Table 6 represents significant (containing only those reliable where  CW = 7.8125 ms.Similarly, ( 8) represents the end-to-end delay for IEEE 802.15.6 with different priority values.In (9), to compute the value of  CW , we consider the average values of CW min , CW max .Consider ED = macMaxFrameRetries * ( CW +  frame +   +  Ack ) , CW = Avg (CW min, CW max ) * ( CCA + 20 s) .
We consider Data rate of 75.9 kbps and 250 kbps with symbol rate (Rs) of 187.5 kbps and 600 kbps, respectively.Consider In (10), we consider two different values for  CCA , that is, 0.329 ms for 420-450 MHz frequency band and 0.102 ms for 2.4 GHz frequency band.  represents the turnaround time, which is the elapsed time from the end of the received frame to the start of the transmitted frame.This should be between duration of short interframe spacing (pSIFS) and pSIFS+ slot duration extrainterframe spacing (pExtraIFS), the value in the worst case: Table 7 describes several suitable combinations of the DRT profile computed through statistical experiments with 420-450 MHz with data rate 75.9 kbps by considering the maximum packet size, that is, 254 bytes in IEEE 802.15.6.

Validation and Simulation
Open source Castalia 3.2 is used as the simulator in this research.Moreover at the application layer, the throughput test application is used which is integrated with the OMNeT++ simulator.In the simulated scenario, all transmitting nodes send packet to a central hub (node 0).Table 8 shows the simulation parameters.This section contains three steps below:

Validation of the Proposed DRT Profile by Comparing Statistical Results of Maximum Throughput (MT) with the MT Values Defined by IEEE 802.15.4 and IEEE 802.15.6 Standards.
The presented numerical and statistical model is validated by comparing the MT values for numerical (values through statistical equations described above) and theoretical (those values which standard document presents) values under different frequency bands and data rates of IEEE 802.15.4 and IEEE 802.15.6.MT refers to a number of MAC Layer Service Data Units (MSDUs) in a unit time.Each MSDU involves overhead at MAC and PHY layers including headers, control frames, interframe spacing, and backoff.The MT is defined as a ratio of giving payload size  (bytes) to the total transmission delay for specific payload size : The following assumptions are used while conducting simulations under step (I): (i) The node always continuously trying to send a packet.
(ii) Perfect channel conditions.
(iv) One sender and one receiver.Theoretically in ideal conditions 868 MHz provides a data rate of 20 kbps, whereas 2.4 GHz provides up to 250 kbps depending on the symbol rate of the underlying modulation scheme.The N.A values are close to T.A values, that is,  various WBASNs applications with different number of nodes in a star topology.The purpose of packet size variation is to align our research with various biomedical sensor network requirements; for example, an ECG node requires 8 kbps, a blood pressure device requires 960 bps, a temperature node requires 320 bps, and so forth.These simulations focus on analyzing the performance of different evaluating parameters like packet delivery ratio (PDR) and latency for WBASNs applications under different packet sizes (as each sensor has its own packet size requirement).
Latency is defined as arriving message time minus the message sending time, whereas PDR is defined as the ratio of the number of successful delivered packets to a node to total number of transmitting data packets to a node.Table 1 shows that most of the WBASNs applications required time bounded services in form of specific latency.250 ms is the maximum reasonable latency value which will be used as a benchmark value for evaluations.In simulations, we choose several significant DRT profile values which provide maximum reliability within 250 ms.The following assumptions are used while conducting simulations under step (II): (i) The node always continuously trying to send a packet.
(iii) Multiple senders and one receiver.It is observed that delay values of the S.A curve are higher than the N.A values.This is obvious; as the number of nodes increases, the collision probability also increases, which results in higher delay values.Different frequencies band and data rate for the same DRT profile give different values of delay.Usually, higher frequency with 250 kbps provides lesser delay values as compared with a low frequency band.This is because higher data rates offer more bandwidth to the data traffic, which produces less delay.Overall, delay increases with the increase of packet size but it remains around 250 ms for the DRT profile.The DRT profile values are different for beaconless and beacon-enabled modes.It is observed that the beaconless mode provides less delay than the beacon-enabled mode.It is also observed that delay values of the S.A curve are higher than the N.A values.The reason is that as the number of nodes increases, the channel access attempts will also increase; only one node gets the channel and others have to wait till the next channel access; this wait increases the end-to-end delay.
Figures 17 and 18 show the delay comparison between N.A and S.A of the different DRT profiles values under different user priorities for IEEE 802.15.6 (with 75.9 kbps (420 MHz) and 242.9 kbps (2.4 GHz)).The delay is computed for different packet sizes up; overall, the delay increases with the increase of packet size, but it remains around 250 ms for the DRT profile.It is observed that delay values of the S.A curve are higher than the N.A values.The difference in delay values between priority 3 and priority 7 is observed.Priority 7 provides less delay because it gets earlier and more channel opportunities than priority 3.Moreover, as the number of nodes increases, the collision probability also increases, which results in higher delay values.Different frequencies band and data rate for the same DRT profile give different values of delay.Usually, higher frequency with 250 kbps provides lesser delay values as compared with a low frequency band.This is because higher data rates offer more bandwidth to data traffic, which produces less delay.

Conclusion
WBASN provides new opportunities for the deployment of a range of medical applications including patient monitoring and activity recognition.WBASN imposes a specific set of QoS requirements which are necessary for developing WBASN MAC protocols.These QoS requirements for WBASN have been highlighted in this paper.Furthermore, we have explored IEEE 802.15.4 and IEEE 802.15.6 based WBASN MAC protocols specifically for medical applications and investigated the various optimization mechanisms on these protocols.Although these optimized solutions provide better QoS, they lack a set of QoS requirements at a given time.In this context, the DRT profile has been proposed on the basis of the end-to-end delay model with the purpose of maximum reliability of data transmission within an acceptable latency and data rates.The numerical model has been validated in OMNeT++ with the Castalia 3.2 simulation tool.Moreover, comprehensive set of simulations has been conducted in evaluating the end-to-end delay, PDR, and MT by varying the packet size, number of nodes, frequency bands, and data rates.The results have shown that optimization in delay and PDR could be achieved by applying the DRT profile instead of a standard parameter profile.We have also concluded that PHY standards with higher data rates and high frequencies could provide a less delay value at the MAC layer as compared to low frequency and low data rates.The purpose of applying different packet sizes is to provide IEEE 802.15.4 and IEEE 802.15.6 CSMA/CA MAC suitability with various WBASNs medical applications as these applications demand maximum reliability within specific delay limits.An acceptable gap, which is due to collisions and channel occupancy of different nodes, has been also observed between numerical and simulated results.We believe that the conclusions and experimental results obtained in this research can be helpful for protocol designers and researchers to establish optimized MAC protocols and standards for a variety of medical applications.

Figure 5 :Figure 6 :
Figure 5: Data transmission flow chart for beacon mode of IEEE 802.15.4.

(
I) Validation of the proposed DRT profile by comparing statistical results of maximum throughput (MT) with the MT values defined by IEEE 802.15.4 and IEEE 802.15.6 standards.(II) Comparison in terms of packet delivery ratio (PDR) of the proposed DRT profile values with the existing profile (the standard values of CSMA/CA used by simulators and standards).(III)Delay computation of the DRT profile with different packet sizes to check the performance and usability of DRT for different medical applications.

Figures 8 , 9 ,
Figures 8, 9, and 10 show the comparative MT analysis between numerical analysis (N.A) and theoretical analysis (T.A) values of IEEE 802.15.4 and IEEE 802.15.6 under different frequency bands and data rates.Figure 8 describes MT comparison of the IEEE 802.15.4 beaconless modes under frequency bands, that is, 868 MHz (European licensed band) and 2.4 GHz (ISM band).Theoretically in ideal conditions 868 MHz provides a data rate of 20 kbps, whereas 2.4 GHz provides up to 250 kbps depending on the symbol rate of the underlying modulation scheme.The N.A values are close to T.A values, that is, Figures 8, 9, and 10 show the comparative MT analysis between numerical analysis (N.A) and theoretical analysis (T.A) values of IEEE 802.15.4 and IEEE 802.15.6 under different frequency bands and data rates.Figure 8 describes MT comparison of the IEEE 802.15.4 beaconless modes under frequency bands, that is, 868 MHz (European licensed band) and 2.4 GHz (ISM band).Theoretically in ideal conditions 868 MHz provides a data rate of 20 kbps, whereas 2.4 GHz provides up to 250 kbps depending on the symbol rate of the underlying modulation scheme.The N.A values are close to T.A values, that is,

Figure 12 :
Figure 12: Packet delivery ratio (PDR) comparison between the default profile and the DRT profile for IEEE 802.15.6.

Figures 13 and 14
Figures 13 and 14  show the delay comparison between N.A and S.A of the different DRT profiles values for IEEE 802.15.4 (beacon-enabled with 20 kbps (868 MHz) and 250 kbps (2.4 GHz)).The delay is computed for different packet sizes up to the maximum packet size, that is, 127 bytes in IEEE 802.15.4.Overall, delay increases with the increase of the packet size, but it remains around 250 ms for the DRT profile.It is observed that delay values of the S.A curve are higher than the N.A values.This is obvious; as the number of nodes increases, the collision probability also increases, which results in higher delay values.Different frequencies band and data rate for the same DRT profile give different values of delay.Usually, higher frequency with 250 kbps provides lesser delay values as compared with a low frequency band.This is because higher data rates offer more bandwidth to the data traffic, which produces less delay.Figures 15 and 16 demonstrate the delay comparison between N.A and S.A of the different DRT profiles values for IEEE 802.15.4 (beaconless with 20 kbps and 250 kbps).
Figures 13 and 14  show the delay comparison between N.A and S.A of the different DRT profiles values for IEEE 802.15.4 (beacon-enabled with 20 kbps (868 MHz) and 250 kbps (2.4 GHz)).The delay is computed for different packet sizes up to the maximum packet size, that is, 127 bytes in IEEE 802.15.4.Overall, delay increases with the increase of the packet size, but it remains around 250 ms for the DRT profile.It is observed that delay values of the S.A curve are higher than the N.A values.This is obvious; as the number of nodes increases, the collision probability also increases, which results in higher delay values.Different frequencies band and data rate for the same DRT profile give different values of delay.Usually, higher frequency with 250 kbps provides lesser delay values as compared with a low frequency band.This is because higher data rates offer more bandwidth to the data traffic, which produces less delay.Figures 15 and 16 demonstrate the delay comparison between N.A and S.A of the different DRT profiles values for IEEE 802.15.4 (beaconless with 20 kbps and 250 kbps).

Table 1 (
a) highlights those requirements for different medical applications.Table 1(b) describes different WBASN projects.
shows a MAC protocol classification for healthcare applications under the existing IEEE MAC and PHY standards.It is observed that the most used protocols work under the IEEE 802.15.4 and IEEE 802.15.6 standards and perform well under the CSMA/CA channel access mechanisms.

Table 2 :
Comparison of CSMA/CA and TDMA.

Table 3 :
Existing optimization mechanisms of the MAC layer CSMA/CA WBASN.
byte MAC header (containing different information fields like frame control field (FCF), duration, sequence control information, and address field), frame body of variable length, and MAC footer (MFR).

Table 5 :
(a) End-to-end delay in the beaconless mode for 868 MHz.(b) End-to-end delay in the beaconless mode for 2.4 GHz.

Table 6 :
DRT profile values for the IEEE 802.15.4 beacon-enabled mode.

Table 8 :
Simulation setup.The significant improvement is observed for the DRT profile values as the default profile provides 65% PDR, whereas the DRT profile values provide up to 90%.The reason for the improvement is the selection of maximum reliability within a limited time period.Figure11shows the PDR values comparison among the default standard profile and the different DRT profiles values for IEEE 802.15.6.IEEE