Keywords

1 Introduction

The Internet of Things (IoT) consists of smart, uniquely identifiable and connected objects that construct a network of things suitable for wireless industrial-type of scenarios. Nowadays, industry is considering IoT technologies to accelerate the fourth industrial revolution, also called the Industry 4.0 [22]. It consists of applying the IoT automations to reduce the operational and management cost, to simplify the production chains, to ease the deployments and to allow for adaptability in the factories [13]. Applications such as e-health, cargo transportation, smart buildings, automotive industry or airport logistics, all share hard performance requirements, such as ultra-low energy consumption, latency and jitter, as well as high network reliability. Yet, the currently available IoT technologies straggle to provide such services, since they are extremely costly in terms of energy consumption. Therefore, in order to realise the vision of the IoT, the current standards must consider energy-efficient algorithms and solutions within the functionality of the wireless infrastructure to provide stable and predictable performance. This study focuses on reducing the energy consumption, without compromising the Packet Delivery Ratio (PDR).

The IEEE 802.15.4-2015 standard [2], published in 2016, aims to offer a certain quality of service for applications with an industrial-level of performance requirements. Among the Medium Access Control (MAC) protocols defined in this standard, Time Slotted Channel Hopping (TSCH) is designed for low-power and reliable networking in Low-power Lossy Networks (LLNs). In TSCH, the nodes in the network must remain synchronised throughout the deployment lifetime. Indeed, the nodes maintain a level of synchronisation by periodically compensating for the clock drifts. To avoid the loss of synchronisation between the synchronisation events, a TSCH receiver wakes up before the scheduled transmission by a fixed period of time. This period of time is called guard time and is responsible for significant energy wastage in idle listening. In previous work [15, 17, 18], we highlighted the effect of guard time on a TSCH network and identified that, when employing the 6TiSCH minimal schedule, most of the energy consumed is wasted in idle listening.

Unlike other types of synchronous sensor networks [3], in TSCH the guard time is typically configured statically and, therefore, needs to account for the worst case scenario, not only in terms of clock drift, but also in terms of network size. Instead, this work demonstrates that TSCH could operate more energy-efficiently by adapting the guard time in a decentralised manner. To this aim, this paper first proposes a decentralised heuristic algorithm for guard time adaptation in multi-hop TSCH networks, implemented for Contiki OS. The performance evaluation, which includes simulations and test-bed experiments, demonstrates that adapting the guard time on each node can significantly improve the energy consumption of TSCH networks (i.e., by up to 50%) without compromising their reliability.

To summarise, this paper extends our earlier works [15, 17, 18] with the following contributions. Firstly, different to our preliminary works, we evaluate and quantify the benefits of guard time adaptation in multi-hop line topologies and random multi-hop topologies and under various application-layer traffic conditions via a series of COOJA (a simulator for Contiki OS) simulations. Secondly, we implement and experimentally evaluate the proposed algorithm in test-bed experiments, conducted in the SPHERE house test-bed [8], a deployment of CC2650-based sensor nodes [10] in a real residential environment in the city of Bristol, UK. The test-bed experiments also consider multi-hop topologies. Lastly, this paper evaluates the robustness of the proposed scheme on temperature differences that severely affect the clock drifts [7]. In particular, adaptive guard time is experimentally evaluated in the SPHERE house test-bed [8] in links with temperature difference (indoors-to-outdoors). Overall, this paper extends our preliminary works with extensive experimentation, and hence, strengthens and generalises our findings in a wide range of realistic scenarios.

2 Background and Related Work

TSCH is among the MAC protocols defined in the IEEE 802.15.4-2015 standard, and promises performance levels that are competitive to industrial standards, such as ISA [11], WirelessHART [1]. This section provides the necessary background information about the mechanics of TSCH and reviews the related work.

2.1 IEEE 802.15.4-2015 TSCH

TSCH achieves high level of network reliability and low-power operation by combining channel hopping and time synchronisation. Packet transmissions are organised by a deterministic scheduling scheme and the continuous time is divided into timeslots of equal size, while a set of timeslots form a slotframe which continuously repeats over time. At each timeslot, a node may transmit a packet and receive an acknowledgement. The timeslots are either contention-free (i.e., dedicated) or contention-based (i.e., shared). Finally, each timeslot comes with Absolute Slot Number (ASN) variable which indicates the number of timeslots since the beginning of the TSCH network.

Typically the clocks of the devices drift relatively their neighbours’ due to production spread, as well as temperature changes. In TSCH, a node may re-synchronise to its time source neighbour according to either a frame-based or acknowledgement-based scheme [20]. To re-synchronise, the receiver node computes the offset, i.e. the relative de-synchronisation time. Then, under frame-based synchronisation, the offset is handled at the receiver side, while in ACK-based, it is applied to the transmitter’s timing. The nodes regularly transmit Enhanced Beacon (EB) packets to re-synchronise their clocks and, consequently, to remain time-synchronised during the network’s lifetime. In addition, data packets may also be employed to calculate the clock drifts [5]. EB packets contain the channel hopping sequence, the current ASN and information related to the initial link and slotframe. Finally, by receiving the EB packets, new nodes may join an existing TSCH network.

Each TSCH receiver activates its radio before the scheduled transmission by a fixed amount of time to avoid the loss of synchronisation between the synchronisation events. This guard time controls a performance trade-off. A longer guard time yields better resilience to loss of synchronisation, and therefore higher PDR. Yet, this comes at the cost of higher energy consumption, as more energy is lost in idle listening.

2.2 Related Work

Previous works improve the energy efficiency of TSCH networks either by improving the scheduler [14, 16] or the synchronisation process. In this section, we briefly discuss the latter.

In [19], the authors present an adaptive synchronisation technique, and suggest that in a TSCH network the resynchronisation frequency should be reduced while the nodes are synchronised. In order to keep synchronisation, the nodes measure their clock drift rates relative to their time source neighbours. Later, the nodes periodically perform a time correction based on the previously calculated offset. As a result, this frequency reduction technique allows for lower duty cycle and longer network lifetime. In [4], the authors propose an adaptive compensation method that enables synchronisation between nodes, without exchanging any control or data packet. To this aim, the proposed algorithm compensates the clock drift error by regularly adjusting the interval of resynchronisation (i.e., local clock) of each node to improve the accuracy of the clock drift.

In [5], the authors propose an adaptive synchronisation scheme which allows the nodes to learn and predict how their clocks are drifting relative to their neighbours. Later, they coordinate the instants at which the nodes will re-synchronize. To this aim, an additional field in the EB and ACK packets is introduced to inform the neighbour node about the synchronised time. The authors evaluated the proposed technique in a TSCH multi-hop topology. In [9], the authors improve the level of synchronisation of TSCH networks by one order of magnitude in comparison to [5]. This is achieved by improving the resolution of measurement of the drift via keeping the high- and low-frequency clocks of a sensor node synchronised. This high level of synchronisation allows the reduction of the guard time and, therefore, the reduction of the energy consumption. In [7], the authors extend this algorithm with temperature calibration and provide an solution for temperature-resilient time synchronisation. In [12], the authors present a detailed analysis of the main factors contributing to the energy-consumption of Wireless HART standard, a Time Division Multiple Access (TDMA)-based and frequency hopping protocol [1]. Similar to TSCH protocol, under Wireless HART, the nodes listen the medium for certain time before the reception of control or data packets. The authors demonstrated that in addition to the radio transmission and reception states, the listening state in data and control timeslots has a significant impact of the energy consumption of a node.

Directly or indirectly, the above works improve the energy efficiency of TSCH by enhancing the process of synchronisation. Indeed, these works demonstrate that significant energy savings can be achieved through tighter time synchronisation. Yet, all the above works keep the guard time static throughout the network. Different to the related work, this paper proposes the adaptation of the guard time at a node level in a fully distributed fashion. This technique exploits the individual properties of each node, such as the distance to the sink. Indeed, adaptive guard times can be used together with adaptive synchronisation techniques for combined benefits.

3 Guard Time Adaptation

As the number of hops increases, the aggregated relative clock drift increases as well [9]. Therefore, multi-hop TSCH networks require longer guard times to maintain their synchronous operation. By employing the default version of TSCH in a multi-hop network, all nodes homogeneously operate with a static guard time configuration (i.e., \(2200~\upmu \hbox {s}\) for CC2420, \(1800~\upmu \hbox {s}\) CC2650) [6]. Indeed, the nodes that are closer to the sink forward more packets and, thus, synchronise more frequently than leaf nodes. Therefore, the nodes that are closer to the sink require shorter guard times to maintain synchronisation.

This paper proposes a fully-distributed guard time adaptation algorithm for improving the energy efficiency of TSCH without compromising its reliability. Following a heuristic approach, each node adapts its guard time according to its runtime hop-distance to the time source (sink node). The runtime hop-distance is defined as the number of hops required to reach the sink node, according to the respective topology of the routing layer. In particular, the proposed scheme operates as follows. During an off-line calibration phase, the scheme constructs an empirical look-up table of optimum guard times, according to the number of hops from the root. At the end of the calibration process, shown in Algorithm 1, the look-up table contains the minimum guard times that do not break time synchronisation. At runtime, once the RPL [21] Direction-Oriented Directed Acyclic Graph (DODAG) is successfully constructed and, thus, each node in the network obtain all the necessary information related with its rank, each node adjusts its guard time according to the look-up table, as shown in Algorithm 2. It is straightforward that the nodes closer to the DODAG root will maintain shorter guard times, since they frequently participate in the routing procedure and, thus, they constantly re-synchronise their clocks, while the leaf nodes will have longer guard times. Finally, the nodes reconfigure their guard time in a decentralised and local manner, and the runtime overhead is minimal, i.e., O(1).

In this paper, we propose guard time adaptation according to the hop-distance to the sink. This technique can be combined with other guard time adaptation techniques that are based on other parameters that affect synchronisation, such as the temperature [7].

4 Performance Evaluation

In order to evaluate the benefits of guard time adaptation, as well as the impact of the guard time in the energy consumption of a TSCH network, a series of simulations are conducted in COOJA, the network simulator distributed as part of the Contiki OS, emulating the CC2420-based Z1 motes. In addition, a series of test-bed experiments are executed in the SPHERE house test-bed [8], a deployment of CC2650-based sensor nodes [10] in a real residential environment in the city of Bristol, UK. This section presents a thorough performance evaluation for both statically configured guard times and the proposed adaptive guard time scheme. The details of the simulation and test-bed setup are given in Table 1, unless explicitly stated otherwise.

4.1 Simulation: Multi-hop Line Topologies

The next series of simulations evaluate guard time adaptation in a 9-hop multi-hop chain topology, shown in Fig. 1. The traffic rate of each node is set to one packet per minute. The simulations focus on a worst case scenario for time synchronisation: odd nodes have positive clock drift and even nodes have negative clock drift. Moreover, the nodes use the 6TiSCH minimal schedule. Finally, the duration of each simulation is \(60~\hbox {m}\).

figure a
figure b
Table 1. Simulation & Experimental Setup

The goal of the first set of simulations is to identify the minimum guard time that yields \(100\%\) PDR in each layer of the network. The empirically-derived minimum guard time for each hop is illustrated in Fig. 1 and used as a look-up table for the implementation of guard time adaptation in Contiki. The results verify that nodes closer to the sink require a smaller guard time as opposed to the leaf nodes. The empirically-derived network-wide optimum guard time is \(1200\,\upmu \)s. Therefore, this static configuration is used as a benchmark for the evaluation of the proposed adaptive guard time scheme.

The following simulations quantify the benefits of adapting the guard time according to the hop-distance to the sink. A set of simulations evaluates the proposed scheme in various application-layer traffic rates, focusing on the 9-hop line topology. Figure 2 shows that the adaptation of the guard time improves the energy efficiency of the TSCH network, by reducing the radio duty cycle. This reduction is more significant (i.e., up to \(50\%\)) for TSCH networks that run low-throughput applications and drops as the traffic increases. This happens because in high traffic scenarios the radio is primarily used for transmissions.

4.2 Simulation: Multi-hop Random Topologies

The following simulations evaluate the proposed algorithm in multi-hop random topologies of 15 nodes to further validate its efficiency in realistic TSCH networks. Similarly to the previous simulations the clock drift is fixed to \(\pm 20\) ppm, while 1 data packet was transmitted per minute. The simulations demonstrate that the guard time of the receiver nodes can be reduced without compromising the reliability of the network (\(100\%\) PDR). Indeed, as depicted in Fig. 3, the average radio duty cycle is reduced by approximately \(20\%\). Moreover, the consistency of the results in 10 random networks demonstrate the robustness of the proposed algorithm to the network topology.

Fig. 1.
figure 1

The simulated line topology. The number above each node corresponds to the minimum configuration that maintains \(100\%\) network reliability (in \(\upmu \hbox {s}\)).

Fig. 2.
figure 2

Average radio duty cycle for various application-layer traffic rates.

4.3 Experiment: Multi-hop Line Topology

Next, guard time adaptation is evaluated in experiments, conducted in the SPHERE house test-bed [8]. The SPHERE house test-bed is a wireless sensor network deployed in a 2-storey residential environment in the city of Bristol, UK, shown in Fig. 4. In particular, the house is deployed with TI CC2650-based sensor nodes [10] (Fig. 5); a platform that is supported by the Contiki OS. All of the deployed nodes are equipped with the FC-135 low-frequency crystal, using it to schedule the wake-up events. This crystal has a frequency error \(e_f \in [-20,20]\) ppm and a parabolic dependence on temperature (parabolic coefficient value \(B=0.04\) ppm/\(^\mathrm{o}\)C\(^2\)). The channel conditions in the SPHERE house are typical for an urban residential neighbourhood, with occasional 2.4 GHz interference from the neighbouring houses. The nodes are sufficiently close to form a single-hop star topology. Yet, for the purposes of this experiment, the nodes use a static schedule that enforces a 9-hop line topology, similar to Fig. 1.

Fig. 3.
figure 3

Guard time adaptation evaluated in 10 random multi-hop topologies of 15 nodes

In this setting, the proposed adaptive guard time scheme is compared against the Contiki default fixed guard time in two 1-hour experiments. Figure 7 summarises the experimental results, which show the reduction of the radio duty cycle in each of the 10 nodes in the test-bed. The experiments verify the simulations presented in Sect. 4.1, indicating an average 15% reduction in the radio duty cycle without sacrificing the reliability (100% PDR). The experiments show that nodes that are closer to the sink (i.e., shorter hop-distance) relay more traffic, and hence, synchronise with their parent node more frequently. Thus, a smaller guard time is sufficient and energy can be saved by adapting it.

4.4 Experiment: Indoors-to-Outdoors

Clock drifts are also dependent on temperature [7]. This section presents an experiment that considers a link with temperature differences, i.e., the sender is indoors (\(22~^\mathrm{o}\hbox {C}\) room temperature) while the receiver is outdoors and, therefore, exposed to outdoor temperatures. The proposed adaptive guard time algorithm is, again, compared against the default configuration in 24-hour experiments. Figure 6 summarises the results of the experiment. In particular, Fig. 6(a) plots the radio duty cycle over the course of the 24-hour experiment. Both approaches demonstrate a fairly constant duty cycle, yet present a periodicity that is attributed to the temperature variations, shown in Fig. 6(b). Despite these temperature variations, both configurations operate robustly in this 24-hour experiment, yielding 100% PDR. Yet adaptive guard time reduces the radio duty cycle, and thus, the energy consumption of the radio by approximately 25%.

Fig. 4.
figure 4

The SPHERE house test-bed is a deployment of C2650-based nodes in a two-storey residential environment in Bristol, UK [8].

Fig. 5.
figure 5

Experiments were conducted on the SPES-2 [10] sensing platform; a environmental sensor that is equipped with the TI CC2650 radio.

Fig. 6.
figure 6

Adaptive guard times reduce the average radio duty cycle without compromising the reliability (a) despite the temperature differences (b). In this 24-hour experiment, the sender is indoors (room temperature) whilst the receiver is exposed to various outdoor temperatures.

Fig. 7.
figure 7

The practical benefits of guard time adaptation in the SPHERE house test-bed (9-hop line topology). The PDR is \(100\%\) in all the experiments.

5 Conclusions

This paper investigates the impact of guard time on IEEE 802.15.4 TSCH networks and proposes a decentralised guard time adaptation algorithm for reducing the energy consumption of TSCH-based multi-hop networks. The proposed technique follows the formation of the network topology and allows each node to assign its own guard time according to its distance in hops from the sink node. This dynamic procedure allows the network nodes to reduce the time they spend in idle listening; therefore, the energy consumption is significantly reduced. The proposed algorithm is implemented in Contiki OS and evaluated with an extensive set of simulations, which include several types of topologies, such as multi-hop line and random topologies. In addition, the proposed algorithm is also evaluated on the SPHERE test-bed. The results of the simulations and test-bed experiments demonstrate the advantage of adapting the guard time instead of using a static configuration.