Research Article  Open Access
Mounib Khanafer, Irfan AlAnbagi, Hussein T. Mouftah, "An Optimized WSN Design for LatencyCritical Smart Grid Applications", Journal of Sensors, vol. 2017, Article ID 5274715, 8 pages, 2017. https://doi.org/10.1155/2017/5274715
An Optimized WSN Design for LatencyCritical Smart Grid Applications
Abstract
The growing popularity of the Internet of Things (IoT) systems such as the smart grid, Body Area Networks (BANs), and the Intelligent Transportation System (ITS) is driving Wireless Sensor Network (WSN) systems to the limit in terms of abilities and performance. WSNs were initially designed for low power, low data rate, and latencytolerant applications. However, this paradigm is changing because of the nature of the new applications. Therefore, instead of only focusing on powerefficient WSN design, researchers and industries are now developing Quality of Service (QoS) protocols for WSNs. In addition to that, latency and reliabilitycritical protocol designs are also becoming significantly important in WSNs. In this paper, we present an overview of some important smart grid latencycritical applications and highlight WSNs implementation challenges for these smart grid applications. Furthermore, we develop and evaluate two novel optimization models that solve for the optimum values of the endtoend latency and power consumption in a clustered WSN given lower bounds on reliability and other network parameters.
1. Introduction
Internet of Things (IoT) systems significantly rely on sensors and sensor networks for their successful operation. Examples of IoT applications include, but are not limited to, the smart grid, Body Area Networks (BANs), Intelligent Transportation Systems (ITSs), battlefield surveillance, object movement detection, disaster discovery, and security systems. So far, there has not been a published standard that governs and regulates the IoT framework. The IEEE Standards Association (IEEESA) is developing a number of standards and projects that are associated with creating the environment needed for a dynamic IoT framework. On the other hand, the IEEE 802.15.4 (or 802.15.4 hereafter) standard [1] outlines the features and the operating conditions of the physical layer (PHY) and the Medium Access Control (MAC) sublayer of the LowRate Wireless Personal Area Networks (LRWPAN). It is the main standard used in Wireless Sensor Networks (WSNs). WSNs are popular because of the wide range of IoT applications they can be used in. In effect, WSNs are being implemented in almost all IoT applications due to their effectiveness in transmitting many monitoring many events. Therefore, we can rely on the 802.15.4 standard for developing an IoT framework using WSNs. WSNs are built from small, sensor nodes that can monitor and collect data (temperature, vibration, motion, etc.), process that data, and communicate it wirelessly to a sink node or a Base Station (BS).
WSNs are plentiful and go more than a decade back. In the literature, there are numerous studies that examined different areas of WSN technologies and their applications [2–5]. Sensor nodes are batterypowered and usually deployed in environments that have least human supervision (like forests, battlefields, etc.). As such, replacing or recharging the sensor nodes batteries is not practical. In order to avoid any disruption in the services of the WSN due to battery drainage, two approaches are followed. From one side, sensor nodes are deployed in abundance (WSNs can be constituted by thousands of sensor nodes) in order to guarantee redundancy in the data reported by the sensor nodes. That is, if certain sensor nodes deplete their batteries, other nodes are already covering for them and serious disruption in services is mitigated. On the other side, any communication protocol or algorithm to be ported on the sensor node platform should not pose any processing burden. The early phases of design, development, and deployment of WSNs focused on conserving the power resources of the sensor nodes (see [3, 5] for details). There are a number of studies that consider optimizing the power consumption of WSNs or optimizing certain parameters of the 802.15.4 standard, under power consumption constraints [6–9]. With the development of high efficiency energy harvesting mechanisms, sensor nodes can harvest enough power to continue with their operation. As an example, [10] presents a comprehensive review of energy harvesting systems. Therefore, the design approaches of WSNs can relax the constraints on power consumption, or assume that an energy harvesting is implemented. Furthermore, because many IoT applications [5] have certain requirements on reliability and latency, WSNs are required to focus on not only minimizing the power consumption, but also minimizing the latency and maximizing the reliability levels. These requirements change how we formulate optimization problems in the context of 802.15.4based WSNs. The nature of the application and the available power sources make the constraint on power consumption less stringent compared to latency and reliability. Minimizing the delay and maximizing the reliability enabled new applications to benefit from the unique features of WSNs. This is more important in latency and reliabilitycritical environments that need strict Quality of Service (QoS) requirements. In this paper, we choose the smart grid environment as an example of a latencycritical IoT application to design our WSN.
In this paper, we present an overview of some important smart grid latencycritical applications and highlight WSNs implementation challenges for these applications. Furthermore, we present and evaluate two novel optimization models that find the optimum values of the endtoend latency and power consumption in a clustered WSN given certain bounds on reliability and other network parameters. We formulate two optimization problems that focus on the two parameters as follows:(1)Minimizing the endtoend latency with constraints on the reliability and cluster size (while relaxing the power consumption constraint).(2)Minimizing the power consumption with constraints on the reliability and cluster size.
The first problem is important in latencycritical smart grid applications. According to [11], Utility operations require that timely actions be taken in controlling the grid elements when faults or other anomalous behaviors are observed based on grid measurements. This means that different smart grid applications can tolerate different endtoend latencies. This requirement significantly impacts the network performance. As an example, teleprotection applications can only allow a few milliseconds, between the time a transmission line fault is detected and the tripping of a circuit breaker [11]. On the other hand, other applications, like recloser systems, Phasor Measurement Units (PMUs), and synchrophasors, can accept latencies between 20 ms and 100 ms. Based on that, to solve the first optimization problem (the latency requirement), we develop an optimization problem to achieve the minimum endtoend latency while keeping certain levels of reliability, power consumption, number of nodes, and other MAC parameters defined in the 802.15.4 standard [1].
The interest in the second problem stems from the fact that given the selforganizing nature of the WSN, and in the absence of energy harvesting technologies, it is interesting to see the bounds on power consumption given a certain minimum reliability to achieve.
The rest of this paper is organized as follows. In Section 2, we highlight related works that tackled the problem of optimizing the performance of WSNs. In Section 3, we present an overview of smart grid latencycritical applications and some implementation challenges. In Section 4, we provide full details on the formulation of the aforementioned optimization problems. In Section 5, we present the results generated from solving the optimization problems along with discussions and comments. Finally, Section 6 concludes this paper.
2. Related Work
In the literature, there have been a number of models that attempted to optimize the endtoend latency, energy efficiency, or the reliability in WSNs for certain latency and reliabilitycritical applications [12–17]. In the past, the majority of the work focused on minimizing the energy consumption in WSNs while setting either the latency or the reliability as a constraint. The introduction of WSNs for certain applications such as devicetodevice communication, smart grid monitoring, and other industrial monitoring applications calls for high reliability and strict realtime requirements.
Mohrehkesh and Weigle [12] have developed a model that finds the optimum combination of WSNs parameters to minimize energy consumption while satisfying the latency and reliability requirements. Their method uses packet size and code weight for optimization and considers the energy consumption for transmitter and receiver. Ammari [13] has developed a data forwarding protocol that minimizes the energy consumption and the latency via slicing the communication range of the sensors into coordinated circular bands. The author presented a weighted scaleuniformunit sum approach used by the source sensors to solve his multiobjective optimization problem.
Suto et al. [14] have proposed an energyefficient and latencyaware wireless computing system. Their proposed system controls the sleep schedule and the number of links to minimize the power consumption while satisfying an acceptable latency constraint. He et al. [15] have proposed a WSN planning method using threedimensional ray tracing method to model the radio link and sensing signal. They have developed a multiobjective optimization algorithm to meet basic characteristics of WSNs.
Zonouz et al. [16] have developed a model to find the optimal locations for a specific number of energy harvesting sensor nodes in the hybrid WSN to provide the optimum combination of average path reliability, path cost, and average energy consumption. Dong et al. [17] have presented a data gathering protocol based on the requirements of a sensing application. They have done this through tradeoffs between the energy consumption and sourcetosink transport latency under reliability constraint. Their protocol achieves energy and latency efficiency during the data gathering process both in intracluster and intercluster.
In our proposed model, we consider two scenarios. In the first scenario, an appropriate energy harvesting technique is assumed to be used and thus power consumption is not specified as a constraint in the optimization problem. The objective is to minimize the endtoend latency given a minimum reliability and other MAC parameter constraints. In the second scenario, we study the minimum possible power consumption given a minimum reliability.
3. Overview of Smart Grid LatencyCritical Applications
3.1. Smart Grid LatencyCritical Applications
The use of WSNs in a smart grid environment is governed by the latency and the reliability requirements of different applications. Most of these applications require very high reliability, but they significantly vary in terms of their latency and priority requirements. For example, teleprotection systems, emergency power restoration, and substation monitoring require different delay requirements compared to Advanced Metering Infrastructure (AMI) and protection operations. On the other hand, the priority or QoS requirements also vary depending on the criticality of the monitored power grid component. In previous work, we focused on guaranteeing the QoS in WSNs [18]. In this paper, we focus on optimizing the latency for given network and traffic conditions.
Table 1 shows typical delay and QoS requirements of selected smart grid applications [11]. The delay requirements shown in the paper represent endtoend delays (one way). These delay requirements are specified in different standards that govern the grid operations. A closer look at Table 1 shows that ZigBeebased WSNs can not satisfy certain smart applications (e.g., Teleprotection (for 60 Hz, 50 Hz)). This is because ZigBee or even ZigBee Pro.based sensor networks are limited in bandwidth. However, with careful sensor design and by using optimization algorithms WSNs can support many of the applications listed in Table 1.

There are several factors that impact the delay of data transmission in a smart grid environment, such as the size of the network, the packet arrival rate, and the packet size. Denser WSNs suffer from excessive collisions and higher delays. Transmission at a high packet rate will also cause collisions in the network. Packet sizes also impact the delay behavior in the network because the packets need to be stored in the buffers of intermediate nodes. Transmitting data in smaller packet sizes results in lower delays. However, this increases transmission rates and that may cause higher delays due to collisions. The tradeoff between packet size and transmission rate has been discussed in the literature. In addition to the above factors the implementation of network security algorithms may cause additional delays. In many cases smart grid applications dictate the network size, packet transmission rate, and the necessity to implement a security mechanism. Hence, we are left with a few options to minimize the delay using the above factors. Therefore, it is important to focus on the internal architecture of WSN protocols to achieve the delay requirements without impacting the above factors. In any case, smart grid applications are not concerned with how the protocols work as long as the requirements are met. Based on that, the focus turn to optimizing (minimizing) the delay given certain constraints and tuning parameters that are within the scope of the 802.15.4 standard.
3.2. WSNs Smart Grid Implementation Challenges
There are a number of challenges that need to be overcome to implement WSNs in latencycritical smart grid applications. Some of these challenges can be seen in some other applications. As mentioned above, smart grid environments pose unique challenges due to the criticality of the application. We present some of the challenges related to implementing delay minimization approaches in smart grid applications. These challenges can be summarized as follows:(1)The limitations on sensor nodes’ resources including the available energy, computational power, and bandwidth are the main challenging issues for implementing WSNs for latencycritical smart grid applications. A balance between energy efficiency and delay minimization in smart grid applications is an interesting problem where WSN protocols are required to identify the architecture for minimizing the endtoend delay.(2)The use of different WSNs data dissemination techniques may impact the endtoend delay in a delayconstrained smart grid application. The use of a realtime data dissemination is another challenge.(3)The impact of high traffic intensities generated by sensor devices on the endtoend delay is also a challenge that needs to be overcome for latencycritical smart grid applications.(4)Maintaining consistent performance throughout the network life while considering optimizing the energy consumption and the endtoend delay.(5)Achieving a feasible solution for a minimum endtoend delay problem with multiple constraints such as energy, memory, processing capability, adaptively balancing between the amount of transmitted traffic, application requirement, and the available resources.(6)WSN scalability and the endtoend delay limits are major challenges in achieving the delay requirement for latencycritical smart grid application. These challenges are more significant when deploying the WSN in wide area scenarios.(7)Another challenge is that the implementation of a reliable security algorithm may impact the endtoend delay performance because of the additional computational cycles imposed on a resource constrained sensor node.
4. EndtoEnd Delay Optimization Problem Formulation
The Markovbased mathematical model of the IEEE 802.11 MAC protocol that was proposed by Bianchi [19] motivated a massive number of proposals to devise similar models for the 802.15.4 MAC protocol. This is because both standards have major commonalities. An interesting work was introduced by Park et al. [20]. In the rest of this paper, we discuss how we benefit from the formulation that was developed in that work in developing two optimization problems. In particular, we depend on the formulae of the endtoend latency, reliability, and the total power consumption that were derived in [20] (the details of the derivations are omitted and the interested reader can find all the details in [20]). All parameters used in the following discussion are listed in Table 2. The time () needed for communication between a cluster member and its Cluster Head (CH) is composed of three time durations, namely, the backoff time (), the time needed to successfully transmit a packet (), and the time lost due to having collisions (). The following formulae reflect all these time durations:where is expressed as follows:where .

The value of and can be obtained from the following relations:where is given bywhere , and are given by
The reliability () of communication is defined as the probability that the CH receives the packet successfully. The formula for the reliability is
Finally, we compute the total power consumption () using the following formulawhere , and are the average power consumption in idlelisten, channel sensing, transmit, and receiving states, respectively, and is the probability of collision and is given byBased on (2), (9), and (10) our aim is to solve two important optimization problems for each member of a WSN cluster:
In Problem (12), the objective function minimizes the overall latency seen by every node , in a cluster of nodes, given a minimum reliability (). In developing Problem (12), we assumed that an energy harvesting technique is used (see [10] for examples on such a technique). Thus, no constraints on power constraints are assumed. In Problem (13), however, the objective function minimizes the total power consumed by every node , in a cluster of nodes, given the minimum reliability .
5. Results and Discussions
We use LINGO 15.0 software [21] to solve Problems (12) and (13) that were developed in Section 4. The parameters that we used in solving both of the optimization problems are listed in Table 3. Figure 1 illustrates the results of solving Problem (12) with set to 80%, 85%, and 90%, respectively. At = 80%, we can see that a cluster of 20 nodes guarantees a minimum endtoend latency of almost 36.81 ms. At = 85%, for the same cluster size, the minimum latency becomes almost 42.37. Finally, the minimum latency becomes 50.66 ms at = 90%. These results can benefit several smart grid applications that can tolerate up to 250 ms of latency (See Section 1). Based on Table 4, we can see that Problem (12) does have feasible solutions if the cluster size is increased to 30 nodes. With the latter size, the minimum latency is 53.34 ms at and 61.94 ms at = 85%. Evidently, we can still support the aforementioned smart grid applications by increasing the size of the cluster to 30 nodes. Table 4 also shows that we will hit infeasible solutions () for Problem (12) in case we set = 90% () or we set = 90% (, 30, or 35). All these findings that relate the size of the cluster, the minimum reliability, and the expected minimum latency can help WSN designers to properly cluster the network.


The results of solving Problem (13) are depicted in Figure 2. Again, the results are generated under being 80%, 85%, or 90%. The figure clearly shows that as increases the consumption of power at any node decreases. This can be explained by noticing that as the number of nodes in a cluster increases, the nodes will suffer from more packet collisions (11). As a result, nodes will back off, after repeated collisions, for extended periods of time. This means that transmission and reception activities (which are the main contributors to power consumption) will be lower, and that leads to lower overall power consumption in the cluster. To support this observation, we can see that as increased LINGO started to pick the value 8 for the macMinBE parameter, which is the maximum allowed value for macMinBE (see Table 2). In other words, as the size of the cluster increased, the optimization technique used by LINGO kicks in to try to minimize the objective function. It is noteworthy that at = 90% and the power consumption is so low (4.2 mW). As in Table 4, Table 5 highlights the situations where we can hit infeasible solutions for Problem (13).

6. Conclusions
In this paper we tackled two important optimization problems in clustered WSNs. In the first problem we worked on minimizing the endtoend latency under constraints on communication reliability. Under the same constraints, the second problem aimed at minimizing the total power consumption. Important applications, like latencycritical monitoring applications in the smart grid, can benefit from such a study. By solving these optimization problems we found that a WSN with clusters of sizes up to 30 nodes can achieve the latency requirements of important smart grid applications. We also found that a WSN of clusters of 20 nodes can operate at low power consumption while obeying a minimum reliability of 90%. With the widespread usage of smart grids deployments (at the global scale) to improve power distribution to consumers, our findings in this paper support the case of deploying WSNs in the context of the smart grid. The WSNs can bring the smart grid a richness of features while obeying the latter’s constraints and requirements.
Conflicts of Interest
The authors declare that there are no conflicts of interest regarding the publication of this paper.
References
 IEEE std 802.15.42006 (revision of IEEE std 802.15.42003) , https://standards.ieee.org/findstds/standard/802.15.42006.html.
 I. F. Akyildiz, T. Melodia, and K. R. Chowdury, “Wireless multimedia sensor networks: a survey,” IEEE Wireless Communications, vol. 14, no. 6, pp. 32–39, 2007. View at: Publisher Site  Google Scholar
 M. Khanafer, M. Guennoun, and H. T. Mouftah, “A survey of beaconenabled IEEE 802.15.4 MAC protocols in wireless sensor networks,” IEEE Communications Surveys & Tutorials, vol. 16, no. 2, pp. 856–876, 2014. View at: Publisher Site  Google Scholar
 L. M. Borges, F. J. Velez, and A. S. Lebres, “Survey on the characterization and classification of wireless sensor network applications,” IEEE Communications Surveys and Tutorials, vol. 16, no. 4, pp. 1860–1890, 2014. View at: Publisher Site  Google Scholar
 I. AlAnbagi, M. ErolKantarci, and H. T. Mouftah, “A survey on crosslayer qualityofservice approaches in WSNs for delay and reliabilityaware applications,” IEEE Communications Surveys and Tutorials, vol. 18, no. 1, pp. 525–552, 2016. View at: Publisher Site  Google Scholar
 P. Park, P. Di Marco, C. Fischione, and K. H. Johansson, “Modeling and optimization of the IEEE 802.15.4 protocol for reliable and timely communications,” IEEE Transactions on Parallel and Distributed Systems, vol. 24, no. 3, pp. 550–564, 2013. View at: Publisher Site  Google Scholar
 P. Park, S. C. Ergen, C. Fischione, and A. SangiovanniVincentelli, “Dutycycle optimization for IEEE 802.15.4 wireless sensor networks,” ACM Transactions on Sensor Networks, vol. 10, no. 1, article 12, 2013. View at: Publisher Site  Google Scholar
 J. H. Ortiz, “Telecommunications Networks  Current Status and Future Trends,” InTech, 2012. View at: Publisher Site  Google Scholar
 D. Incebacak, R. Zilan, B. Tavli, J. M. BarceloOrdinas, and J. GarciaVidal, “Optimal data compression for lifetime maximization in wireless sensor networks operating in stealth mode,” Ad Hoc Networks, vol. 24, pp. 134–147, 2015. View at: Publisher Site  Google Scholar
 F. K. Shaikh and S. Zeadally, “Energy harvesting in wireless sensor networks: a comprehensive review,” Renewable and Sustainable Energy Reviews, vol. 55, pp. 1041–1054, 2016. View at: Publisher Site  Google Scholar
 K. C. Budka, J. G. Deshpande, M. Thottan et al., “Communication networks for smart grids,” in Computer Communications and Networks, Computer Communications and Networks, Springer, 2014. View at: Publisher Site  Google Scholar
 S. Mohrehkesh and M. C. Weigle, “Optimizing communication energy consumption in perpetual wireless nanosensor networks,” in Proceedings of the 2013 IEEE Global Communications Conference, GLOBECOM 2013, pp. 545–550, USA, December 2013. View at: Publisher Site  Google Scholar
 H. M. Ammari, “On the energydelay tradeoff in geographic forwarding in alwayson wireless sensor networks: a multiobjective optimization problem,” Computer Networks, vol. 57, no. 9, pp. 1913–1935, 2013. View at: Publisher Site  Google Scholar
 K. Suto, H. Nishiyama, N. Kato, and CW. Huang, “An energyefficient and delayaware wireless computing system for industrial wireless sensor networks,” IEEE Access, vol. 3, pp. 1026–1035, 2015. View at: Publisher Site  Google Scholar
 D. He, G. Mujica, J. Portilla, and T. Riesgo, “Modelling and planning reliable wireless sensor networks based on multiobjective optimization genetic algorithm with changeable length,” Journal of Heuristics, vol. 21, no. 2, pp. 257–300, 2015. View at: Publisher Site  Google Scholar
 A. E. Zonouz, L. Xing, V. M. Vokkarane, and Y. L. Sun, “Reliability based optimization in hybrid wireless sensor networks,” in Proceedings of the 61st Annual Reliability and Maintainability Symposium, RAMS 2015, pp. 1–7, USA, January 2015. View at: Publisher Site  Google Scholar
 M. Dong, K. Ota, A. Liu, and M. Guo, “Joint optimization of lifetime and transport delay under reliability constraint wireless sensor networks,” IEEE Transactions on Parallel and Distributed Systems, vol. 27, no. 1, pp. 225–236, 2016. View at: Publisher Site  Google Scholar
 I. AlAnbagi, M. ErolKantarci, and H. T. Mouftah, “Priority and delayaware medium access for wireless sensor networks in the smart grid,” IEEE Systems Journal, vol. 8, no. 2, pp. 608–618, 2013. View at: Publisher Site  Google Scholar
 G. Bianchi, “Performance analysis of the IEEE 802.11 distributed coordination function,” IEEE Journal on Selected Areas in Communications, vol. 18, no. 3, pp. 535–547, 2000. View at: Publisher Site  Google Scholar
 P. Park, P. Di Marco, P. Soldati, C. Fischione, and K. H. Johansson, “A generalized Markov chain model for effective analysis of slotted IEEE 802.15.4,” in Proceedings of the IEEE 6th International Conference on Mobile Adhoc and Sensor Systems (MASS '09), pp. 130–139, Macau, China, October 2009. View at: Publisher Site  Google Scholar
 E. Goodarzi, M. Ziaei, and E. Z. Hosseinipour, “Optimization analysis using LINGO and MATLAB,” in Introduction to Optimization Analysis in Hydrosystem Engineering, vol. 25, pp. 149–193, Springer, 2014. View at: Publisher Site  Google Scholar
Copyright
Copyright © 2017 Mounib Khanafer et al. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.