2162 IEEE SYSTEMS JOURNAL, VOL. 12, NO. 3, SEPTEMBER 2018 An Adaptive Low-Power Listening Protocol for Wireless Sensor Networks in Noisy Environments Thanh Dinh, Younghan Kim, Member, IEEE,TaoGu, Senior Member, IEEE, and Athanasios V. Vasilakos, Senior Member, IEEE
Abstract—This paper investigates the energy consumption mini- rameters such as sleep interval, wakeup period, and extended mization problem for wireless sensor networks running low-power wakeup period. These temporal parameters determine how long listening (LPL) protocols in noisy environments. We observe that a node should sleep or wake up, which also affect energy con- the energy consumption by false wakeups (i.e., wakeup without re- sumption of its sender nodes. An interesting observation is that ceiving any packet) of a node in noisy environments can be a dom- energy consumption of nodes (i.e., a receiver and its sender inant factor in many cases while the false wakeup rate is spatially nodes) shows different behaviors when LPL parameters vary. and temporarily dynamic. Based on this observation, without care- I fully considering the impact of false wakeups, the energy efficient For example, if we decrease the sleep interval ( s ) of a receiver performance of LPL nodes in noisy environments may significantly node, the energy consumption of the receiver will increase be- deviate from the optimal performance. To address this problem, cause it has to wake up more frequently; however, this may po- we propose a theoretical framework incorporating LPL temporal tentially reduce its sender’s energy consumption as the senders’ parameters with the false wakeup rate and the data rate. We then required preamble transmission duration can be reduced. Note formulate an energy consumption minimization problem of LPL that the transmission energy cost of a sender node depends on in noisy environments and address the problem by a simplified the sleep interval of its receiver (i.e., Is /2 on average in case of and practical approach. Based on the theoretical framework, we Box-MAC [3]). Therefore, when determining optimal LPL pa- design an efficient adaptive protocol for LPL (APL) in noisy en- rameters for a given node to minimize its energy consumption, vironments. Through extensive experimental studies with Telosb nodes in real environments, we show that APL achieves 20%–40% we need to consider its senders’ energy consumption as well. energy efficient improvement compared to existing LPL protocols In existing LPL protocols, LPL parameters of sensors are under various network conditions. usually predetermined through empirical studies [3], [4] under certain network condition. For example, the sleep interval in Index Terms—Adaptive low power listening protocol, energy the LPL MAC used in TinyOS [8] is set to 500 ms by default. efficiency, energy optimization, noise environment, scheduling al- These predefined values may achieve optimal performance in a gorithm, wireless sensor network. certain network condition, but may work poorly in other con- ditions. Unfortunately, in real deployments, network condition I. INTRODUCTION such as noise and traffic load is highly dynamic. For example, the VER the past few years, duty cycling [1], [2] and low- noise level in an indoor space may change over time. Moreover, O power listening (LPL) [3]–[5] have been greatly explored even in the same network, network condition may be spatially for energy saving in wireless sensor networks (WSNs). Ac- nonuniform [10], [11]. This poses a big challenge to manually cording to recent extensive surveys [1], [6], [7], LPL with duty predefine the optimal LPL parameters for each sensor node at cycling is one of the most popular energy efficient techniques different locations over time. Therefore, designing an adaptive for MAC protocols in constrained WSNs. The technique is used LPL protocol that allows sensor nodes to optimize their energy widely in real WSN deployments and in the default MAC pro- consumption dynamically is crucial. tocols of TinyOS [8] and Contiki [9], the two common OS There have been some prior works [12]–[19] that support frameworks for constrained WSNs. adaptive duty cycling to improve energy efficiency. However, While LPL achieves energy efficiency to a large extent, its there is still a lack of a practical study on the impact of false energy saving performance depends much on its temporal pa- wakeups to the performance of LPL in noisy environments and to optimize LPL’s performance in such a scenario. False wake- Manuscript received May 6, 2016; revised March 15, 2017; accepted June ups happen by environmental noise being detected as a channel 18, 2017. Date of publication July 12, 2017; date of current version August 23, 2018. This work was supported by the MSIP (Ministry of Science, ICT activity, which triggers nodes spuriously wakeup in order to re- and Future Planning), Korea, under the ITRC (Information Technology Re- ceive packets. However, there are actually no incoming packets. search Center) support program (IITP-2017-2017-0-01633) supervised by the Recent studies [10], [20], [21] show that noisy environments IITP (Institute for Information & communications Technology Promotion). have become more popular, especially in indoor spaces, be- (Corresponding authors: Thanh Dinh; Younghan Kim.) cause the number of wireless devices, which coexist and share T. Dinh and Y. Kim are with the School of Electronic Engineering, Soongsil University, Seoul 06978, South Korea (e-mail: [email protected]; the same unlicensed spectrum 2.4 GHz (i.e., Wi-Fi, bluetooth, [email protected]). ZigBee, and microwave), is increasing significantly. This makes T. Gu is with the School of Computer Science, Royal Melbourne Institute the above practical issue critical to be investigated. In noisy envi- of Technology University, Melbourne, VIC 3000, Australia (e-mail: tao.gu@ ronments, energy consumption of sensor nodes can be seriously rmit.edu.au). A. V.Vasilakos is with the Department of Computer Science, Lulea University affected by false wakeups. However, existing works fail to adapt of Technology, Lulea 97187, Sweden (e-mail: [email protected]). LPL temporal parameters in such noisy environments. Our ex- Digital Object Identifier 10.1109/JSYST.2017.2720781 perimental study shows that a false wakeup costs over 17 times
1937-9234 © 2017 IEEE. Personal use is permitted, but republication/redistribution requires IEEE permission. See http://www.ieee.org/publications standards/publications/rights/index.html for more information.
Authorized licensed use limited to: RMIT University Library. Downloaded on January 09,2021 at 15:23:53 UTC from IEEE Xplore. Restrictions apply. DINH et al.: ADAPTIVE LPL PROTOCOL FOR WIRELESS SENSOR NETWORKS IN NOISY ENVIRONMENTS 2163 more energy than a normal receive check, which is similar to the Duty-cycled MAC protocols for WSNs can generally be cat- observation presented in [11]. In addition, our experiments with egorized into synchronous and asynchronous schemes. In the a real WSN network (presented in next section) indicate that the synchronous scheme [22], [23], MAC procedures work under an false wakeup rate of TinyOS-LPL in many locations may rise assumption of time synchronization among nodes. By synchro- up to 60%. We show that the energy consumption of a sensor nizing nodes’ active time together, synchronous MAC protocols node caused by false wakeups in highly noisy environments can are normally designed to optimize the packet delivery latency. In be a dominant factor compared to other sources such as trans- this scheme, a node is required to exchange timing information mitting and receiving, especially in low data rate applications. periodically with neighbor nodes for time synchronization. High Importantly, we observe that the false wakeup rate of nodes in energy consumption and synchronized precision requirement the same network is spatially dynamic, and the false wakeup are two remaining challenges for resource-constrained sensor rate of a node at the same location may change over time. Based nodes using synchronous MAC protocols. on these observations, without carefully considering the impact Asynchronous MAC protocols [1], [2], [4], [6], [24]–[26] of false wakeup, the performance of LPL may significantly de- have been proposed to address the above-mentioned limitation. viate. We argue that it is crucial to study behaviors of LPL In the asynchronous scheme, the communication among nodes performance in such a realistic and popular scenario. is enabled by LPL, thus eliminating the overhead for time syn- In this paper, we study the practical issue of false wakeup’s chronization. In particular, the sender transmits preambles to impact on the performance of LPL protocols under noisy envi- explicitly alert other nodes about its packet transmission. Other ronments. Based on the observations from our experimental nodes, including the receiver, periodically samples the channel studies, we show the limitations of existing LPL protocols, for activity detection. If any channel activity is detected, the and highlight a necessity to adapt LPL temporal parameters nodes wake up in order to receive packets. Extensive survey for to achieve energy saving under noisy environments. We then LPL-related MAC protocols can be found in [1], [6], [7], and formally address the limitations of existing LPL protocols by [27], and our previous work [28]. enabling sensor nodes to self-adapt their LPL parameters when- While LPL achieves energy efficiency to a large extent, its ever the network condition is changed significantly. More specif- energy saving performance depends much on its temporal pa- ically, a node optimizes the energy consumption of itself and its rameters. Some prior works have been proposed to improve senders by adapting its LPL parameters over time. We propose energy efficiency of LPL based on the duty cycling adaptiv- a theoretical framework to capture energy consumption of a re- ity. We categorize those prior works based on their adaptive ceiver node and its corresponding sender nodes in noisy environ- approach. For instant, IDEA [12] uses a centralized approach ments. The framework incorporates LPL temporal parameters to tune LPL parameters while GDSIC [13] uses a distributed with the false wakeup rate and the data rate. We then formulate method to achieve energy fairness. In MiX-MAC [14], Mer- an energy consumption minimization problem of a node in noisy lin and Heinzelman propose to improve energy efficiency by environments. Since our target is to design a practical protocol switching among various duty cycling protocols for different for constrained sensor nodes, we propose a simplified approach scenarios. In [15] and [16], heuristic methods are used to im- to solve the minimization problem using the extreme value the- prove energy efficiency by adapting LPL based on the number ory. Based on our theoretical framework, we design a practical of descendants and successfully received packets. ASLEEP [17] adaptive protocol for LPL (APL). In APL, a receiver node opti- focuses on adapting sleep schedules of nodes to match the net- mizes its LPL temporal parameters to minimize the total energy work demand of periodic data acquisition applications by form- consumption by itself and its senders under dynamic network ing a staggered topology. In [19], Ning and Cassandras propose conditions. Through our comprehensive experimental studies, to adapt sleep time based on objectives and constraints of the we show that APL achieves 20%–40% energy saving compared network while in [18], a desired sampling period is used as input to existing LPL protocols under various network conditions. information for adapting. Recently, several protocols [29]–[31] In summary, this paper makes the following contributions. are proposed to adjust LPL parameters based on traffic patterns. 1) We propose a theoretical framework, which incorporates In [11], although the study is not designed for tuning LPL tem- LPL temporal parameters with the false wakeup rate poral parameters, a new method is proposed to improve energy and the data rate to optimize the total energy consump- efficiency by adjusting CCA thresholds. In the literature, there tion of WSNs under dynamic network conditions (see is still a lack of a practical study on the impact of false wake- Section IV). ups to the performance of LPL in noisy environments, which is 2) We design a practical adaptive protocol for LPL based on investigated in this paper. the proposed theoretical framework, to enable a receiver node to dynamically optimize its LPL temporal parame- ters so that the total energy consumption of itself and its III. MOTIVATION sender nodes is minimized (see Section V). 3) Through our comprehensive experimental studies with A. LPL Operations real sensors, we show that APL outperforms existing LPL is a common mechanism, which has been greatly ex- LPL protocols and achieves a significant improvement plored in designing energy-efficient MAC protocols. Although in terms of energy efficiency in noisy environments (see there are several different LPL implementations, their basic de- Section VI). sign is quite similar. In LPL, a node periodically wakes up (after a sleep interval Is ) to perform receive checks (CCA), as il- II. RELATED ORK W lustrated in Fig. 1(a). If there is no channel activity detected, LPL and duty cycling are common MAC-layer techniques for the node then turns OFF its radio. If the channel is busy, the energy efficiency in WSNs, where sensors periodically wake up node wakes up fully and remains active for a wakeup period to check the wireless channel for incoming packets. Tw to listen for incoming packets, as shown in Fig. 1(b) and
Authorized licensed use limited to: RMIT University Library. Downloaded on January 09,2021 at 15:23:53 UTC from IEEE Xplore. Restrictions apply. 2164 IEEE SYSTEMS JOURNAL, VOL. 12, NO. 3, SEPTEMBER 2018
Fig. 1. LPL operations: (a) CCA checks, (b) CCA checks with false wakeup, and (c) CCA checks with received packets. Fig. 2. False wakeup rates at different locations in Student HUB [32] with the width x = 80 m and the length y = 95 m. (c). Fig. 1(b) illustrates a case of false wakeup where a node wakes up, but there are no incoming packets. This false wakeup may be triggered by noise. In Fig. 1(c), the node receives sev- eral packets (i.e., p1 ,pe1 ,pe2 ). Before transmitting a packet, senders transmit preambles until their receiver wakes up. For each packet received, a receiver extends its active time by an extended period Te [see Fig. 1(c)] because there may be more than one incoming packet or sender. However, a packet may be an extending packet or not, depending on the packet sent time. This will be further analyzed in Section III.
B. LPL Parameters and Dynamically Noisy Environments
Is :ThevalueofIs presents the frequency a node wakes up for receive checks. With a low value of Is , a receiver wakes up more frequently to check for incoming packets, which re- sults in high energy consumption, but this potentially shortens the preamble transmission duration of senders, thus reducing senders’ energy cost. With a high value of Is , the cost for re- ceive checks of receivers is reduced, but the cost for sending Fig. 3. False wakeup rate in Student HUB at different times. packets increases. For energy efficiency, the value of Is is se- lected to minimize the total energy consumption of senders and receivers [i.e., min(Ereceive−check + Ereceiving + Esending)]. In noisy environments, false wakeups (wakeup without re- ceiving any packet) of receivers may occur frequently because transmissions of other wireless devices (such as Wi-Fi, blue- tooth, and microwave) also lead to high energy on the channel. According to the previous study [11], the energy consumption of a false wakeup is higher than a normal receive check by 17.3×. In high false wakeup rate scenarios, if a low value of Is is set, a node will perform receive checks frequently, which leads to a great number of false wakeups within a time period (i.e., T). As a result, a considerable amount of energy is consumed by false wakeups. Adjusting the value of Is can reduce the number of false wakeups and energy consumption. We deploy 63 Telosb sensor nodes running with TinyOS- LPL MAC [8] at different locations at our university (e.g., the Fig. 4. False wakeup rate at different buildings and channels. central hall, Student HUB, and different buildings) to study the behaviors of the existing LPL’s false wakeup rates. Fig. 2 presents results obtained from Student HUB [32]. The results highest false wakeup rates are obtained at the time frames of 3 show that false wakeup rates at different locations of the same and 4 when Student HUB witnesses the most crowded students network may be different. who may use their wireless devices for different applications We record the false wakeup rates of sensors at ten selected and use microwave machines in the HUB during their lunch locations in Student HUB over time. We divide the time of a day time. The false wakeup rate of sensors at different buildings on into different time frames based on the similarity of obtained different channels is presented in Fig. 4. The figure indicates results, including the frame 1 (10 P.M.–7 A.M.), 2 (7–10 A.M.), that the false wakeup rate also varies over different channels. 3(10A.M.–12 P.M.), 4 (12–3 P.M.), 5 (3–6 P.M.), 6 (6–8 P.M.), and Due to the dynamic characteristics of false wakeup rate in 7 (8–10 P.M.). Results are reported in Fig. 3, which shows that the both temporal and spatial dimensions, Is should be dynamically false wakeup rates in the same location may vary over time. The adapted to optimize LPL’s energy efficiency.
Authorized licensed use limited to: RMIT University Library. Downloaded on January 09,2021 at 15:23:53 UTC from IEEE Xplore. Restrictions apply. DINH et al.: ADAPTIVE LPL PROTOCOL FOR WIRELESS SENSOR NETWORKS IN NOISY ENVIRONMENTS 2165
Tw and Te : A high value of Tw may lead to high energy in Tu is as follows: consumption of a node because the node remains active for E =(T + T )T /T a long period to listen for packets, but it potentially reduces rc radio-on rc u cycle. (1) its senders’ energy cost due to a higher chance for receiver The result shows that the energy consumption by receive checks to detect their transmissions, and vice versa. The same reason T is inversely proportional to the cycle length. applies to e . The energy consumption in this case depends on False wakeups (k = 0): A wakeup is called as a false wakeup how frequent senders send packets, or in other words, the data when a node wakes up fully, but there is no incoming packet. rate that may vary over time. Therefore, both values Tw and Te Assume Rfw and Tfw are the false wakeup ratio and the time cost need to be adaptive to optimize the energy efficiency. for a false wakeup. The average number of false wakeups of a receiver in Tu is Nfw = RfwNrc. The total time cost for false IV. THEORETICAL FRAMEWORK wakeups is as follows:
To optimize the energy consumption of LPL in dynamic net- Efw = TfwRfwTu /Tcycle. (2) work conditions, the temporal parameters need to be adapted over time. For that reason, a theoretical framework, which mod- This result also indicates that the energy consumption by false els the impact of the LPL temporal parameters incorporating wakeups is inversely proportional to the cycle length. In other with the network condition parameters (i.e., false wakeup and words, a node wakes up more frequently for receive checks data rate) to the energy consumption of sensors, is required. In likely to have more false wakeups. this section, a theoretical framework is established by analyzing Receiving packets (k>0): We first compute the expected and modeling the energy consumption of sensors (i.e., the re- receiving time cost of a receiver in a cycle. Because a node ceiver and its senders) in noisy environments as a function that dynamically extends its wakeup period when it receives a packet, incorporates false wakeup rate and data rate parameters with the the time cost of a receiver depends on the following parameters: three LPL temporal parameters Is ,Tw , and Te . The theoretical 1) the value of Tw ;2)thevalueofTe ; and 3) the number framework is then used by the parameter optimizer, presented of received packets and the interpacket interval between two in the next section, to calculate the optimal LPL temporal pa- consecutive packets. Note that not all received packets lead to rameters, which minimize the total energy consumption. an extended wakeup period of a receiver. We define the following concepts. Extending packets: Upon receiving an extending packet, the A. System Parameters receiver extends its wakeup period for a positive extended False wakeup ratio (Rfw): The ratio between the number of period. As a result, its wakeup period is greater than the case false wakeups and the total number of CCA checks in the same without receiving the packet. period of time. Data packets with preamble transmission: Packets are trans- Traffic rate (Rp ): The number of incoming data packets in a mitted with preamble when the receiver still sleeps. Those pack- unit of time (i.e., 1 s). ets can be received immediately when the receiver wakes up. Sleep interval (Is ): The sleep period in a cycle. Data packets without preamble transmission: Packets are sent Active period (Ea ): The total wakeup period in a cycle, which at the receiver’s wakeup period. depends on the following two parameters. In a general case, the number of received packets and the Periodic wakeup period (Tw ): The period a node remains interpacket interval are random variables. We thus compute the awake after waking up in every cycle if the node does not send wakeup period of a receiver based on Tw ,Te , probability of k or receive any packet. extending packets, and the expected interpacket interval. Based Extended wakeup period (Te ): The extra period a node ex- on the definition of an extending packet, we calculate the prob- tends its wakeup time after receiving a packet. ability of k extending packets in two cases. T ≥ T Cycle length (Tcycle): The period between two consecutive For w e : sleep times. Tcycle = Is + Ea . Theorem 1: An extending packet should be received after Number of received packets (k): The number of packets a t + Is +(Tw − Te ). node receives in a cycle during its active period. Proof: When a receiver wakes up and does not receive any packet, its total wakeup period is Ea = Tw from t + Is to t + Is + Tw . B. Energy Consumption Analysis If a packet p is received at time t1 before t + Is +(Tw − Te ) In this section, we compute the energy consumption of a re- (t ≤ t1 ≤ t + Is +(Tw − Te )), the receiver will extend its ceiver in a time window Tu , including energy consumed by the wakeup period until at least t1 + Te . However, t1 + Te < radio’s start-up phase, CCA checks, false wakeups, and wakeup t + Is +(Tw − Te )+Te = t + Is + Tw . As a result, receiv- period for receiving packets. We also compute the energy con- ing the packet p does not result in an increase in the wakeup sumption of senders for sending packets to the receiver. We period of the receiver. In other words, p is not an extending mainly focus on the time cost of the radio wakeup of nodes, packet. when most of energy is consumed. Based on the results com- If a packet p is received at time t2 after t + Is +(Tw − Te ), puted, the receiver will optimize the energy consumption of the receiver will extend its wakeup period until at least t2 + Te > itself and its senders. t + Is +(Tw − Te )+Te = t + Is + Tw . The extended period 1) Receiver’s Cost: is equal to t2 + Te − (t + Is + Tw ). Therefore, p is an extend- Receive checks: In the time window Tu , a receiver performs ing packet. Nrc receive checks on average (i.e., Nrc = Tu /Tcycle) in total. Denote the number of received packets in a time period from t Assume the time cost of the radio start-up phase is Tradio−on and t to t by Nt and ti is the arrival time of packet ith. Wakeup of a receive check is Trc. The total time cost for receive checks period of a receiver is extended if it receives at least one packet
Authorized licensed use limited to: RMIT University Library. Downloaded on January 09,2021 at 15:23:53 UTC from IEEE Xplore. Restrictions apply. 2166 IEEE SYSTEMS JOURNAL, VOL. 12, NO. 3, SEPTEMBER 2018
t + I +(T − T ) t + I + T t+Is during the period from s w e to s w case Nt > 0, there is data packets with preamble transmis- t+Is +Tw (Nt+I +(T −T ) > 0). sion and the first extending packet may be received when the s w e T (T ) Theorem 2: The interpacket interval between two consecu- receiver wakes up, thus ip w can be equal to 0. tive extending packets P(i+1) and Pi should not be greater than From (5) and (7), we compute the expected total wakeup Te . period of a receiver as follows: Proof: After receiving an extending packet Pi at time ti , ∞ E (k)P (k), T ≥ T k=0 a1 Tw ≥Te if w e the receiver will go to sleep if it does not receive any packet Ea = (8) ∞ E (k)P (k), during the period from ti to ti + Te . k=0 a2 Tw