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

Authors: Muhammad Sajjad  Akbar; Hongnian  Yu; Shuang  Cang
Journal: Journal of Sensors
 (2016)

---

## Abstract

Recently, increasing demand for remote healthcare monitoring systems poses a specific set of Quality of Services (QoS) requirements to the MAC layer protocols and standards (IEEE 802.15.6, IEEE 802.15.4, etc.) of Wireless Body Area Sensor Networks (WBASNs). They mainly include time bounded services (latency), reliable data transmission, fair channel distribution, and specified data rates. The existing MAC protocols of WBASNs are lack of a specific set of QoS. To address this, the paper proposes a QoS 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 done which are standardized for WBASNs, that is, 420 MHz, 868 MHz, 2.4 GHz, 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.


---

## Body

## 1. 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–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–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 ultra-low 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. Table 1(a) highlights those requirements for different medical applications. Table 1(b) describes different WBASN projects.Table 1
(a) Requirements of medical applications [1–3]. (b) Projects under WBASNs.
(a)
Medical applications
Description of data
Data rate
Delay
Power consumption
Accelerometer
Measure body movements, for example, the velocity of the body
35 kbps
<250 ms
Low
Temperature
Provide the temperature of a body
120 bps
<250 ms
Low
Electromyogram (EMG)
Measure the electric activity of skeletal muscles
320 kbps
<250 ms
Low
Electroencephalogram (EEG)
Measure electrical spontaneous brain activity, the sensed information of brain electrodes forwarded to an amplifier to produce tracing patterns
90 kbps
<250 ms
Low
Magnetometer
Measure magnetic induction intensity
Up to 50 kbps
<250 ms
Medium
Heart rate
Measure the heart rate
Few kbps
<250 ms
Medium
Barometer
Measure the relative height of an object
45–100 kbps
<250 ms
Low
Gyroscope
Measure the angular velocity
35 kbps
<250 ms
Medium
(b)
Projects
Institution
Application
Communication scope
Sensors
LiveNet [19]
MIT
Epilepsy seizures detection
Wire, wireless 2.4 GHz radio
ECG, BP, EMG, SaO2
AMON [22]
EU IST FP5 Program
Cardiac and respiratory
GSM-based
ECG, BP, SaO2
WEALTHY [23]
EU IST FP5 Program
Rehabilitation for elderly people through monitoring
Bluetooth, GPRS
ECG, EMG respiratory, activity and temperature sensors
LifeGuard [24]
Stanford University, NASA
Monitoring in space and terrestrial
Serial cables, Bluetooth
ECG, BP, SaO2
MagIC [25]
University of Milan, Italy
Cardiology,  respiratory and motion signal
Bluetooth
ECG, respiratory and temperature sensors
CodeBlue [26]
Harvard University
Activity monitoring system
ZigBee
ECG, SaO2, and activity recognition (motion sensors)
Body area networks [27]
Valencia, Spain, and Malta Universities
Recognition of physiological state (stress and fatigue)
WiFi, ZigBee and GPRS
ECG, BP, and respiratory
Human++ [28]
IMEC
Wearable sensor system for health monitoring
ZigBee
ECG, EEG, EMG
HealthGear [29]
Microsoft
Detection of sleep apnea events
Bluetooth
ECG, SaO2
Personal Health Monitor [30]
University of Technology Sydney, Australia
Heart-attacks
Bluetooth, GPRS
ECG, BP, and activity sensors
MobiHealth [31]
University of Geneva
Ambulatory patient monitoring
ZigBee, Bluetooth, GPRS
ECG, BP
CareNet [32]
Institute for Computer Sciences, Social-Informatics and Telecommunications Engineering
Remote health monitoring
ZigBee
Gyroscope, accelerometer
ASNET [33]
King Fahd University of Petroleum and Minerals, Dhahran, Saudi Arabia
Remote health monitoring
WiFi, Ethernet
BP and temperature sensors
WiMoCA [34]
University of Bologna, Italy
Sports/gesture detection system
Bluetooth
Accelerometer
UbiMon [35]
University of South Florida
Healthcare
ZigBee, WiFi, GPRS
ECG, SaO2IEEE 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. Section2 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.


## 2. 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.Table2 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.Table 2
Comparison of CSMA/CA and TDMA.
Comparative parameters
CSMA/CA
TDMA
Synchronization
Not essential
Essential
Packet failure
Cause less delay
Cause more delay
Dynamic
Work well to handle network changes
Perform poorly in a dynamic environment
Bandwidth utilization
Medium
High
Power consumption
Medium
Low-mediumIn the last few years, various research works related to WBASNs protocols have been conducted. Figure1 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.Figure 1
IEEE 802.15.4 and IEEE 802.15.6 based WBASN MAC protocols [2, 23, 46–52].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 23 and 25. 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 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.Table3 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.Table 3
Existing optimization mechanisms of the MAC layer CSMA/CA WBASN.
Paper
Considered MAC parameters
Contribution
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 [39]
BE
Provide priority-based QoS by assigning different BE values to different applications
Priority-based delay mitigation for event monitoring [40]
MAC frame modification, CCA
Collision avoidance-based priority mechanism by using one time CCA
Priority-based service differentiation scheme [41]
CW
Contention Windows Differentiation (CWD) mechanism is proposed
MAC protocol implementation [42]
Superframe order (SO)
Conduct a study by applying different values of superframe order (SO); results show that high values of SO provide high throughput, whereas low SO values result in less delay
Performance evaluation  with backoff  [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 wellThe 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. Table4 gives the default profile values.Table 4
Default MAC parameters setting [1].
Parameters
Default values
macMinBE
3
macMaxBE
5
macMaxCSMABackoff
4
macMaxFrameRetries
2Table3 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.


## 3. Investigation of IEEE 802.15.4 and IEEE 802.15.6

### 3.1. IEEE 802.15.4

Figure2 shows the frame structure which mainly contains a MAC protocol data unit (MPDU) and a physical service data unit (PSDU). The PSDU consists of four fields: (a) preamble (32-bit length for symbol synchronization); (b) packet delimiter (8 bits long) for frame synchronization; (c) physical header (8 bits, defining the PSDU length); (d) PSDU containing the payload of length 0 to 127 bytes. The MPDU carries three fields, that is, a three-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).Figure 2
Frame structure of IEEE 802.15.4.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.Figure3 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 2BE-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.Figure 3
Data transmission flow chart of beaconless mode of IEEE 802.15.4.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.Figure4 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).Figure 4
Beacon frame format of IEEE 802.15.4 [2, 3].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:(1)BI=abasesuperframeduration∗2BOsymbolsfor0≤BO≤14.The active period follows the following formula:(2)SD=abasesuperframeduration∗2SOsymbolsfor0≤SO≤BO≤14.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).Figure5 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.Figure 5
Data transmission flow chart for beacon mode of IEEE 802.15.4.


### 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.


#### 3.2.1. 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. Figure6 shows the frame structure for IEEE 802.15.6 [21].Figure 6
Frame structure of IEEE 802.15.6.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.Figure7 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 CWmin) belongs to CWmin and CWmax 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 CWmax [1, 3, 21].Figure 7
Data transmission flow chart for CSMA/CA in IEEE 802.15.6.


#### 3.2.2. Nonbeacon Mode with Superframe Boundaries

In this channel access mode, beacons are not transmitted and channel is assigned by using polling mechanism.


#### 3.2.3. 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).


## 3.1. IEEE 802.15.4

Figure2 shows the frame structure which mainly contains a MAC protocol data unit (MPDU) and a physical service data unit (PSDU). The PSDU consists of four fields: (a) preamble (32-bit length for symbol synchronization); (b) packet delimiter (8 bits long) for frame synchronization; (c) physical header (8 bits, defining the PSDU length); (d) PSDU containing the payload of length 0 to 127 bytes. The MPDU carries three fields, that is, a three-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).Figure 2
Frame structure of IEEE 802.15.4.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.Figure3 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 2BE-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.Figure 3
Data transmission flow chart of beaconless mode of IEEE 802.15.4.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.Figure4 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).Figure 4
Beacon frame format of IEEE 802.15.4 [2, 3].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:(1)BI=abasesuperframeduration∗2BOsymbolsfor0≤BO≤14.The active period follows the following formula:(2)SD=abasesuperframeduration∗2SOsymbolsfor0≤SO≤BO≤14.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).Figure5 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.Figure 5
Data transmission flow chart for beacon mode of IEEE 802.15.4.


## 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.


### 3.2.1. 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. Figure6 shows the frame structure for IEEE 802.15.6 [21].Figure 6
Frame structure of IEEE 802.15.6.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.Figure7 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 CWmin) belongs to CWmin and CWmax 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 CWmax [1, 3, 21].Figure 7
Data transmission flow chart for CSMA/CA in IEEE 802.15.6.


### 3.2.2. Nonbeacon Mode with Superframe Boundaries

In this channel access mode, beacons are not transmitted and channel is assigned by using polling mechanism.


### 3.2.3. 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).


## 3.2.1. 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. Figure6 shows the frame structure for IEEE 802.15.6 [21].Figure 6
Frame structure of IEEE 802.15.6.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.Figure7 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 CWmin) belongs to CWmin and CWmax 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 CWmax [1, 3, 21].Figure 7
Data transmission flow chart for CSMA/CA in IEEE 802.15.6.


## 3.2.2. Nonbeacon Mode with Superframe Boundaries

In this channel access mode, beacons are not transmitted and channel is assigned by using polling mechanism.


## 3.2.3. 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).


## 4. 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. The end-to-end delay model of IEEE 802.15.4 and IEEE 802.15.6 is used. Here, we will only consider the most significant values of the DRT profile which provides maximum reliability of data transmission within an acceptable latency and data rates. The word profile is used because it refers to a combination set of QoS parameters. The traditional profile of IEEE 802.15.4 imposes restrictions by giving default values for these MAC layer parameters as discussed in the previous section. The DRT focuses on CSMA/CA mechanisms of IEEE 802.15.4 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 refermacCSMABackoff 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-to-end 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.Tframe is tansmission time for a frame with payload length.TτT is turnaround time that is the time between a data frame.TAck is  transmission  time  of  an  acknowledgment.TSIFS is  time  for  Short  Interframe  Space.NBO is  number  of  backoffs  in  one  slot.TBOslot is  time  for  backoff  slot.TCW is  backoff  period  for  contention  window.EDBC213 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:(3)ED=macFrameRetries∗BPC+Tframe+TτA+TAck+TSIFS,(4)BPC=macCSMABackoff∗NBO∗TBOslot+CCA.NBO is a random value of time: (5)NBO=2macMinBE-1,TBOslot=20∗Tsymbol=20∗1Bitrate,CCA=8∗Tsymbol=0.000390sec=0.390ms,Tframe=PHYHeaderinbits+MACheaderinbitsDatarate.For example, if we send a maximum payload size then Tframeis(6)Tframe=133∗820∗1024=51.95ms,TτA=12∗Tsymbol,TAck=31∗820∗1024=12.1ms,TSIFS=12∗Tsymbol.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. NBO represents the number of backoffs (a specific time period) in one slot. TBOslot represents the time for a backoff slot. For analysis, we consider the bit rate of 20 kbps and 250 kbps (868.0–868.6 MHz 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).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.
(a)
Few DRT-combinations of reliability and delay sensitive applications for 868 MHz and 20 kbps for the nonbeacon mode
Parameter combination
ED delay (ms)
E
D
253
222.072
E
D
352
168.7
E
D
333
237.8
E
D
314
258
E
D
442
235
E
D
413
217
E
D
423
262
E
D
522
237
E
D
557
1474
(b)
DRT-combination of reliability and delay sensitive applications for 2.4 GHz and 250 kbps for the nonbeacon mode IEEE 802.15.4
Parameter combination
ED delay (ms)
E
D
212
13
E
D
375
108
E
D
473
117
E
D
475
195
E
D
545
223
E
D
573
222
E
D
625
225
E
D
643
250
E
D
662
248From a series of experiments, several significant values for the DRT profile are selected and recommended for WBASNs in medical applications. Tables5(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 TCW 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 values which shows latency within 250 ms) statistical experiment results of the beacon mode. Consider(7)ED=macFrameRetries∗BPC+Tframe+Tτr+TAck+TSIFS+TCW,where TCW=7.8125ms.Table 6
DRT profile values for the IEEE 802.15.4 beacon-enabled mode.
Suitable combination for reliability and delay sensitive applications (with retransmission) for 2.4 GHz and 250 kbps for the beacon mode
Parameter combination
ED delay (ms)
E
D
212
29
E
D
272
42
E
D
473
141
E
D
475
235
E
D
535
213
E
D
572
164
E
D
573
246
E
D
652
224
E
D
633
218Similarly, (8) represents the end-to-end delay for IEEE 802.15.6 with different priority values. In (9), to compute the value of TCW, we consider the average values ofCWmin,CWmax. Consider(8)ED=macMaxFrameRetries∗TCW+Tframe+Tτr+TAck,(9)TCW=AvgCWmin,CWmax∗TCCA+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(10)TCCA=63Rs.In (10), we consider two different values for TCCA, that is, 0.329 ms for 420–450 MHz frequency band and 0.102 ms for 2.4 GHz frequency band. TτA 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:(11)TτA=pSIFS+pExtraIFS=85μs=0.085msTAck=9∗8+31Datarate=10375.9∗1024=1.32ms.Table7 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.Table 7
Significant DRT profile values for IEEE 802.15.6.
User priority
CW
min
⁡
CW
max
⁡
T
CW (ms)
ED (ms)
ED values with different retransmission values
2
3
4
5
6
7
0
16
64
10.92
21
42
63
84
105
126
147
1
16
32
6.552
16.6
33.2
49.8
66.4
83
99.6
116.2
2
8
32
5.46
15.5
31
46.5
66
77.5
93
108.5
3
8
16
3.27
13.8
27.6
41.4
55.2
69
83
96.6
4
4
16
2.73
12.74
25.4
38.1
51
64
77
88.9
5
4
8
1.638
11.67
23.34
35.01
46.68
58.35
70.2
81.6
6
2
8
1.365
11.37
22.7
34
45.3
56.5
67.8
80.2
7
1
4
0.81
10.81
21.6
32.5
45
49
64
75.6


## 5. 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). Table8 shows the simulation parameters. This section contains three steps below:(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.Table 8
Simulation setup.
Parameters
Value
Number of nodes
6–20
MAC
IEEE 802.15.4, IEEE 802.15.6
Channel mode
Log shadowing wireless model
Path loss exponent
2.4
Simulation time
5–20 minutes
Seed value
11
Frequencies band
420 MHz, 868 MHz, 2.4 GHz
Data rates
20 kbps, 75.9 kbps, 242.9 kbps, 250 kbps
Evaluation parameters
Delay, packet delivery ratio (PDR), throughput
Considered variations
Packet sizes, number of nodes


### 5.1. 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 sizex (bytes) to the total transmission delay for specific payload size x: (12)MaximumthroughputMT=8∗xEDx.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.(iii)
Zero bit error rate (BER).(iv)
One sender and one receiver.Figures8, 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).Figure 8
MT numerical and theoretical comparison of the IEEE 802.15.4 beaconless (unslotted) modes.Figure 9
MT numerical and theoretical comparison of the IEEE 802.15.4 beacon-enabled modes.Figure 10
MT numerical and theoretical comparison of IEEE 802.15.6.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, 17 kbps for 868 MHz and 235 kbps for 2.4 GHz. Figure9 demonstrates the result in the same pattern as described in Figure 8. In Figure 10, we consider two frequency bands 420 MHz (for implanted body sensors) with 75.9 kbps and 2.4 GHz with 242.9 kbps depending on the used modulation scheme. N.A analysis values are close to actual theoretical values, that is, 60 kbps and 225 kbps. The results of the 1st step validate the proposed numerical model and in the 2nd step extensive simulation is conducted by considering different aspects of WBASNs.


### 5.2. Comparison in terms of Packet Delivery Ratio (PDR) of the Proposed DRT Profile with the Existing Profile (Standard Values of CSMA/CA Used by Simulators and Standards)

Figures11 and 12 show the PDR values comparison between the default standard profile and the different DRT profiles values for IEEE 802.15.4 and IEEE 802.15.6.Figure 11
Packet delivery ratio (PDR) comparison between the default profile and the DRT profile for IEEE 802.15.4.Figure 12
Packet delivery ratio (PDR) comparison between the default profile and the DRT profile for IEEE 802.15.6.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. Figure11 shows the PDR values comparison among the default standard profile and the different DRT profiles values for IEEE 802.15.6. IEEE 802.15.6 provides seven priority classes where seven is the highest and zero is the lowest priority class. Figure 12 shows the comparison result of priority 3 class and priority 7 class with their default and DRT values. It is observed that priority classes with the DRT profile provide better PDR values; that is, for priority 3 with the default MAC parameter settings the PDR is 67%, whereas for the DRT profile the PDR is 84%. Similarly, for the default profile with priority 7 the PDR is 77%, whereas with the DRT profile the PDR is 90%. The difference between the PDR values is due to improved reliability values under the DRT profile.


### 5.3. Delay Computation of the DRT Profile with Different Packet Sizes to Check the Performance and Usability of DRT for Different Medical Applications

After proving that the DRT profile performs better in terms of packet reception, we evaluate and validate the DRT profile values for latency (we compare statistical results with simulation results) in real environments by considering the different packet size of 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.Table1 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.(ii)
Normal channel conditions (not ideal).(iii)
Multiple senders and one receiver.Figures13 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.Figure 13
Delay comparison of different MAC layer combinations for IEEE 802.15.4 (beacon-enabled, 20 kbps).Figure 14
Delay comparison of different combinations of IEEE 802.15.4 (beacon-enabled, 250 kbps).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.Figures15 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). 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.Figure 15
Delay comparison of different MAC layer combinations (beaconless, 20 kbps).Figure 16
Delay comparison of different combinations of IEEE 802.15.4 (beaconless, 250 kbps).Figures17 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.Figure 17
Delay comparison of different priority classes of IEEE 802.15.6 (75.9 kbps).Figure 18
Delay comparison of different priority classes of IEEE 802.15.6 (242.9 kbps).


## 5.1. 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 sizex (bytes) to the total transmission delay for specific payload size x: (12)MaximumthroughputMT=8∗xEDx.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.(iii)
Zero bit error rate (BER).(iv)
One sender and one receiver.Figures8, 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).Figure 8
MT numerical and theoretical comparison of the IEEE 802.15.4 beaconless (unslotted) modes.Figure 9
MT numerical and theoretical comparison of the IEEE 802.15.4 beacon-enabled modes.Figure 10
MT numerical and theoretical comparison of IEEE 802.15.6.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, 17 kbps for 868 MHz and 235 kbps for 2.4 GHz. Figure9 demonstrates the result in the same pattern as described in Figure 8. In Figure 10, we consider two frequency bands 420 MHz (for implanted body sensors) with 75.9 kbps and 2.4 GHz with 242.9 kbps depending on the used modulation scheme. N.A analysis values are close to actual theoretical values, that is, 60 kbps and 225 kbps. The results of the 1st step validate the proposed numerical model and in the 2nd step extensive simulation is conducted by considering different aspects of WBASNs.


## 5.2. Comparison in terms of Packet Delivery Ratio (PDR) of the Proposed DRT Profile with the Existing Profile (Standard Values of CSMA/CA Used by Simulators and Standards)

Figures11 and 12 show the PDR values comparison between the default standard profile and the different DRT profiles values for IEEE 802.15.4 and IEEE 802.15.6.Figure 11
Packet delivery ratio (PDR) comparison between the default profile and the DRT profile for IEEE 802.15.4.Figure 12
Packet delivery ratio (PDR) comparison between the default profile and the DRT profile for IEEE 802.15.6.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. Figure11 shows the PDR values comparison among the default standard profile and the different DRT profiles values for IEEE 802.15.6. IEEE 802.15.6 provides seven priority classes where seven is the highest and zero is the lowest priority class. Figure 12 shows the comparison result of priority 3 class and priority 7 class with their default and DRT values. It is observed that priority classes with the DRT profile provide better PDR values; that is, for priority 3 with the default MAC parameter settings the PDR is 67%, whereas for the DRT profile the PDR is 84%. Similarly, for the default profile with priority 7 the PDR is 77%, whereas with the DRT profile the PDR is 90%. The difference between the PDR values is due to improved reliability values under the DRT profile.


## 5.3. Delay Computation of the DRT Profile with Different Packet Sizes to Check the Performance and Usability of DRT for Different Medical Applications

After proving that the DRT profile performs better in terms of packet reception, we evaluate and validate the DRT profile values for latency (we compare statistical results with simulation results) in real environments by considering the different packet size of 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.Table1 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.(ii)
Normal channel conditions (not ideal).(iii)
Multiple senders and one receiver.Figures13 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.Figure 13
Delay comparison of different MAC layer combinations for IEEE 802.15.4 (beacon-enabled, 20 kbps).Figure 14
Delay comparison of different combinations of IEEE 802.15.4 (beacon-enabled, 250 kbps).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.Figures15 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). 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.Figure 15
Delay comparison of different MAC layer combinations (beaconless, 20 kbps).Figure 16
Delay comparison of different combinations of IEEE 802.15.4 (beaconless, 250 kbps).Figures17 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.Figure 17
Delay comparison of different priority classes of IEEE 802.15.6 (75.9 kbps).Figure 18
Delay comparison of different priority classes of IEEE 802.15.6 (242.9 kbps).


## 6. 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.



---

*Source: 7170943-2016-01-06.xml*