Abstract
IEEE 802.15.4 standard is specifically designed for a low-rate and low-processing Internet of things (IoT) applications and offers guaranteed time slots. A beacon-enabled IEEE 802.15.4 consists of a superframe structure that comprises of the contention access period and contention-free period. During contention-free period, nodes transfer their data using guaranteed time slots without any collision. The coordinator node receives data transmission requests in one cycle and allocates guaranteed time slots to the nodes in the next cycle. This allocation process may cause large delay that may not be acceptable for few applications. In this work, a novel superframe structure is proposed that significantly reduces guaranteed time slots allocation delay for the nodes with data requests. The proposed superframe structure comprises of two contention access periods and one contention-free period, where contention-free period precedes both contention access periods with reduced slot size. In addition, the knapsack algorithm is modified for better guaranteed time slots allocation by allowing more guaranteed time slots requesting nodes to send their data as compared to the IEEE 802.15.4 standard. The simulation and analytical results show that the proposed superframe structure reduces the network delay by up to 80%, increases contention-free period utilization up to 50%, and allocates guaranteed time slots up to 16 nodes in a single superframe duration.
Introduction
Internet of things (IoT) is an emerging paradigm and revolutionizing the control and management of automated systems. Its capability of usage in diverse areas makes it an interesting technology in the current smart world. A survey says that by 2020, the growth in IoT connected devices will be over 20 billion.1–3 IoT is used in diverse areas of transportation, environmental monitoring, agriculture precision, health care, smart cities, smart homes, and military applications. 4 Most of these applications require guaranteed data delivery with a time-bound latency. 5
Wireless sensor networks (WSNs) is the foundation of IoT applications. WSNs is a group of dedicated specialized sensors with a communications infrastructure. Most of these applications require the remote deployment of wireless nodes where frequent human visits are impossible. WSNs comprise tiny wireless nodes with a limited battery source. Sensor nodes must be energy-efficient because most sensor nodes operate autonomously on battery. The maximum amount of energy is consumed in transmitting or receiving data. However, a significant amount of energy is wasted when a node remains in idle listening mode by keeping its radios
IEEE 802.15.4 operates in beacon as well as in non-beacon-enabled modes. During non-beacon-enabled mode, nodes communicate in an ad hoc setup by following an un-slotted carrier-sense multiple access with collision avoidance (CSMA/CA) algorithm. However, a superframe structure is introduced in a beacon-enabled mode. An interval from the commencement of the first beacon to the initiation of the next beacon is known as beacon interval (BI). BI comprises an active period and an inactive period. During the active period, in addition to the beacon frame, it also comprises of contention access period (CAP) and contention-free period (CFP). Sensor nodes in a wireless personal area network (WPAN) communicate during the active period and remain in sleep mode during the inactive period. A complete superframe structure of beacon-enabled mode is shown in Figure 1.

IEEE 802.15.4 beacon-enabled mode superframe format.
Superframe duration (SD) is an active period, that comprises of
Significant delay is observed in CFP slots allocation process and each requesting node has to wait at least one BI before transmitting its data during CFP.
There are only seven CFP slots in each BI. It means PAN coordinator can allocate GTS to maximum seven nodes.
The standard assigns CFP slots to nodes on FCFS basis, which does not allow optimal CFP utilization.
In this work, these limitations of the standard in IoT prospects are addressed. The salient features of our proposed superframe structure are as follows:
A novel superframe structure is introduced that comprises two CAPs and a CFP, where CFP precedes both CAPs and inactive periods. The proposed superframe structure reduces the delay and allows a GTS requesting node to transmit its data within a BI duration, which is not possible in the standard.
PAN coordinator scrutinizes GTS requesting nodes by applying the knapsack optimization technique instead of FCFS. This improves the GTS utilization.
Each CFP slot duration has been reduced to half during the same CFP duration. This doubles the number of CFP slots, and consequently, more nodes can be accommodated as compared to the existing standard.
These improvements are obtained without major changes in the existing parameter structures of the standard.
The rest of the article is organized as: section “Related work” describes the previous research work. Section “IEEE 802.15.4 overview” gives a brief overview of the IEEE 802.15.4 standard by focusing the GTS allocation procedure in the standard. The proposed superframe structure is discussed in section “Proposed model.” The result comparison between the proposed work and the standard is discussed in section “Performance analysis,” and section “Conclusion” concludes the article.
For better understanding of the readers, list of symbols along with their descriptions that are used in this article are given in Table 1.
List of symbols with their descriptions.
CAP: contention access period; GTS: guaranteed time slots.
Related work
Internet of things (IoT)7,8 is emerging rapidly since one decade. Multiple trends and protocols such as IEEE 802.15.4 compliant protocols, 9 future Internet,10,11 and machine-to-machine (M2M) networks 12 are the fundamental part during the development of the IoT.
Multiple European projects are focusing their research on future Internet such as EU 4WARD, 13 but they are not emphasizing on LoWPANs. However, the EU SENSEI project 14 has focused on the functionality of LoWPAN in the current and future global Internet. 15 Security is also one of the core parameters in IoT systems and is being evaluated in different prospects. 16 M2M networks are cognitive and capable to interact with each other without human interference. 17 Connectivity between LoWPAN and Internet is possible via the M2M gateway that gives confidence to both industry and research community to get involved with the IoT revolution. 18
IEEE 802.15.4 standard is mostly used by low-power and low-rate WPAN (LoWPAN) applications on their physical and MAC layers. Thereat, its performance is monitored to evaluate the performance of CAP and CFP in different prospects. In Alvi et al., 19 the performance of the slotted CSMA/CA algorithm during CAP is evaluated by calculating the node’s waiting time, failure probabilities, transmission delay, and network throughput. However, the impact of backoff period variation on slotted CSMA/CA performance is evaluated in Alvi et al. 20
Xia et al. 21 proposed an adaptive and real-time GTS allocation scheme (ART-GAS) for time-sensitive applications. The scheme is compatible with the IEEE 802.15.4 standard and also preferred for high traffic requirements that increase the bandwidth utilization as compared to IEEE 802.15.4 standard.
Multiple solutions are proposed for effectively allocating these CFP slots for delay minimization with increased throughput and assign more GTSs to nodes in comparison of the standard.22–24 However, the focus of most of the previous works alters the standard superframe structure either by extending or shrinking the GTS area to optimize the GTS utilization.
In Alvi et al.,
25
an efficient superframe structure (ESS) is introduced where CFP precedes CAP. Authors claim that
This article proposes a novel superframe structure, that minimizes the network delay for GTS requesting nodes with increased link utilization by allowing 16 GTS requesting nodes in an SD.
IEEE 802.15.4 overview
IEEE 802.15.4 standard is designed for the low data rate, low-power, and low-cost wireless personal area network (LR-WPAN), which covers the physical and MAC layer. The standard operates in three frequency bands such as 868 MHz, 915 MHz, and 2.4 GHz. The first two are unlicensed for Europe and North America only, whereas 2.4 GHz is an unlicensed band worldwide. 868 and 915 MHz offer 20 and 40 kbps data rates, respectively, using the binary phase shift keying (BPSK) modulation scheme. However, 2.4 GHz offers a 250 kbps data rate with a 62,500 symbol rate using offset quadrature phase-shift keying (O-QPSK) modulation.
Superframe structure of an LR-WPAN allows nodes to operate in star as well as in peer-to-peer topology. Devices at tail of the network are normally associated to its coordinator and send their information directly to it in star topology, whereas coordinators/PAN coordinators exchange their information using peer-to-peer pattern, as shown in Figure 2.

Star and peer-to-peer network.
A superframe structure comprises an active period also known as SD and an inactive period. SD starts with a beacon frame followed by a CAP and CFP. Beacon and CAP collectively have a minimum of nine slots and CFP contains a maximum of seven slots. The coordinator is responsible to generate beacon frames after periodic sessions. All nodes in that network are required to listen to this beacon frame not only to attain necessary information but also to synchronize themselves with the beacon frame. The time duration between two consecutive beacons is known as beacon interval (BI). SD and BI in the standard are determined as
All the member nodes in a WPAN are assigned a unique short address for further communication with the coordinator. Only those nodes are capable to send their data using GTS that has been allocated a short address. A GTS requesting node is required to send its request during CAP by following the CSMA/CA algorithm. GTS is assigned through an FCFS basis. Sometimes, it will cause wastage of time slots and also a maximum of seven nodes can be entertained in CFP.
Proposed model
This section describes our proposed novel superframe structure, which offers reduced delay with better CFP utilization by allowing more GTS requesting nodes. This superframe comprises a beacon frame, a CFP, and two CAPs (CAP-1 and CAP-2). CAP-1 similar to CAP in the standard is mandatory. However, in standard, it comes right after the beacon frame, whereas it is placed after the inactive period in the proposed superframe. CAP-2 is optional and it comprises 0–8 equal duration slots. If there is no CFP-allocated node, then it occupies all eight slots; otherwise, it has leftover slots from CFP. In this superframe, the beacon frame is followed by CFP, an optional CAP-2, inactive period, and mandatory CAP-1, respectively, as shown in Figure 3. If all the available GTS are allocated, then there will be no CAP-2 and CAP duration will comprise eight superframe slots only as shown in Figure 4. If there is no CFP, then all these slots act as CAP-2 and CAP duration increases to 16 superframe slots as shown in Figure 5.

Proposed superframe structure.

Proposed superframe structure without CAP-2.

Proposed superframe structure without CFP.
The main prospect of the relocation of different periods in our proposed superframe structure is to allow a GTS requesting node to transfer its data within a BI which is not possible in the standard. For example, when a node intends to send its data to CFP, then it sends its GTS request to the PAN coordinator either in CAP-1 or CAP-2. After sending its request, it has to wait for the beacon frame to confirm its allocated GTS and transmit its data immediately before CAP-2.
Superframe duration in the proposed scheme
The beacon frame is excluded from the superframe duration and follows after the expiry of mandatory CAP-1. This exclusion of the beacon frame will help the PAN coordinator to adjust without compromising the
Superframe duration in the proposed model
where
where
The beacon interval
Nodes determine the arrival of next beacon
In addition to that, the nodes estimate the start of the inactive period (SIP) and start of the CAP-1
To achieve the proposed superframe format, the superframe specification field of the beacon frame has been modified as shown in Figure 6.

Superframe specification field.
Bits
Similarly, GTS field comprises 2 bytes to augment 16 slots in CFP period. This helps in accommodating 16 GTS requesting nodes instead of seven in the existing standard. A GTS requesting node needs to compute the number of GTS required for transmitting its data. If
where
At the end of CAP-1, the PAN coordinator scrutinizes applies knapsack algorithm on all GTS requesting nodes. A complete GTS allocation procedure for both node and coordinator is shown in Figure 7.

GTS allocation procedure.
Knapsack optimization algorithm
The proposed scheme modifies the knapsack optimization algorithm to optimally scrutinize GTS requesting nodes with adaptive GTS requests. The knapsack algorithm picks the most valuable items up to its maximum weighing capacity. We need to improve the link utilization of the CFP by accommodating more GTS requesting nodes in a superframe duration. The analogous knapsack statement, which relates to our problem, is as follows. Suppose there are
where
If total GTS requesting slots are within the maximum capacity of 16, then all requesting nodes will be allocated GTS according to their requests by applying for the shortest job first. However, if the total GTS demand is more than the available capacity, then the knapsack allows the WPAN coordinator to scrutinizes GTS requesting nodes to fulfill the above-mentioned condition according to the algorithm as shown in Figure 8.

Knapsack algorithm for GTS allocation to nodes.
Suppose there are seven GTS available and five nodes named
Knapsack table.
GTS: guaranteed time slots.
The bold values show that these are selected as a result of the knapsack algorithm.
GTS utilization
In a superframe, GTS utilization in a superframe is calculated as the total amount of data transmitted to their total transmission capacity. The proposed superframe structure comprises maximum 16 GTS by introducing small GTS as compared to the normal slot capacity. The smaller the slot capacity, the less will be the slot wastage resulting in a better utilization. Suppose, node
The number of slots
Link utilization for
where
If total GTSs allocated to
However, GTS utilization in IEEE 802.15.4 standard
where
Network delay
The delay of a node is calculated as the amount of time when it has data to send till its successful transmission. Network delay is the accumulated delay measured by all nodes in a PAN to successfully transmit their data to their PAN coordinator.
Suppose a node
where
If
If all these nodes have GTS requests just before the start of their beacon frame then
where
If
Performance analysis
In this section, a comparative analysis of the proposed scheme with
Successful allocation of GTS to the requesting nodes.
Amount of data transmitted in a superframe.
GTS utilization in a superframe.
To evaluate the performance of the proposed scheme with the standard, three different data sets are chosen to evaluate them against different superframe order (SO) and beacon order (BO) values. The salient simulation parameters are shown in Table 3.
Simulation parameters.
GTS: guaranteed time slots.
Number of nodes assigned GTS
In the IEEE 802.15.4 standard, the PAN coordinator assigns GTS to GTS requesting nodes on their requests. If requesting nodes are less than the available limit then all nodes are allocated GTS on their desired requests. However, if the number of GTS requested by nodes is more than the available limit, then the PAN coordinator scrutinizes nodes on an FCFS basis. In

Number of nodes assigned GTS for fixed data requesting nodes.

Number of nodes assigned GTS for random data requesting nodes.
Data transmission
Data transmission during CFP in a superframe duration of a WPAN depends upon the number of GTS assigned to nodes and GTS utilization. Assignment of GTS to more number of nodes allows higher data transmission in a superframe duration and hence, better GTS utilization is achieved. The proposed superframe duration offers reduced GTS size with 16 GTSs. Reduced GTS size adjusts nodes’ request with minute wastage resulting in better GTS utilization. Also, the PAN coordinator scrutinizes more GTS requesting nodes by applying a modified knapsack optimization algorithm. That is why the proposed superframe allows better data transmission as compared to the standard and

Transmitted data for fixed data requesting nodes.

Transmitted data for random data requesting nodes.
Figure 11 shows a comparative analysis of data transmission between the proposed superframe,
GTS utilization
GTS utilization determines how efficiently slot capacity is used and it is measured in percentage. It is the ratio between the slot used to its maximum capacity. Smaller slot size allows nodes to occupy maximum slot capacity for the same data requesting nodes. The proposed scheme similar to
Figure 13 shows a comparison between different values of SO and BO, when nodes have a fixed amount of data requests that increases from 20 to 200 bytes. The results show that GTS utilization in the proposed superframe is the same as

GTS utilization versus for fixed data nodes.
Figure 14 compares data transmission of the proposed scheme with the standard and

GTS utilization for random data nodes.
Network delay
Delay is the elapsed time since a node has data request and until it successfully transmits the data. It is supposed that all GTS requesting nodes have data requests just before the start of beacon frame. Accumulated network delay is calculated for 10 beacon intervals. Network delay in each beacon interval is an average sum of delay computed for all nodes in each beacon interval. Accumulated network delay comparison of

Accumulated delay comparison for fixed data nodes.
Figure 16 shows network delay comparison when data requests of GTS requesting nodes are in the range of 25–100 bytes. The results are calculated for 10 beacon intervals for an increasing value of

Average delay comparison for varying
Conclusion
In this article, a novel superframe structure that comprises two CAPs is proposed. One of the CAPs is mandatory with a fixed duration and the second CAP is optional with varying duration. The proposed superframe structure is designed to minimize the waiting time of GTS requesting nodes. Furthermore, an efficient GTS allocation scheme that improves the GTS utilization of its CFP is proposed. The proposed scheme does not require additional parameters, without compromising existing parameters. The analytical and simulation results verify that the proposed scheme reduces network delay, offers better link utilization, and allows more GTS requesting nodes. The results verified that the proposed scheme reduced average network delay for both fixed and random data rates up to 80% also the GTS utilization is improved for both fixed and random data traffic and even 100% of GTS utilization are achieved. The proposed scheme accommodated up to 16 GTS requesting nodes, while in standard, the maximum capacity was seven nodes, thus improving the transmitting data capacity, and up to 40% more data are transmitted for both fixed and random data ranges.
Footnotes
Handling Editor: Qiang Ye
Declaration of conflicting interests
The author(s) declared no potential conflicts of interest with respect to the research, authorship, and/or publication of this article.
Funding
The author(s) received no financial support for the research, authorship, and/or publication of this article.
