1. Introduction
Wireless sensor networks (WSNs) will play a crucial role in the growth of smart building systems over the next decade. Smart building systems are becoming popular and significant due to the improvement they provide to the quality of life. One of the key components of a smart building system is a sensor network, which provides the necessary information to the smart building system, allowing it to control and monitor the physical environment. Fig. 1 shows a basic architecture of WSN in a smart building and its functioning.
Fig. 1.Wireless sensor network in smart building.
WSNs consist of at least one sink node (or base station) and a (large) number of tiny sensor nodes deployed in the network field. Sensor nodes in the field sense and collect raw data from the environment to do some local processing [1] [2]. If necessary, they also communicate with each other to perform aggregation, and then route the aggregated data to a sink. A sink or base station serves as a destination node for the sensors. Users can access the data from the sink by internet or satellite. The sensor nodes are physically small or tiny devices and are operated by removable battery attached to it. Hence, the sensors have limited capabilities in terms of memory, information sensing, data processing, computation and communication capabilities, and most importantly, they have limited power supply [3].
Due to these limitations of sensor nodes, it is paramount to design energy efficient protocols to prolong the lifetime of the sensor nodes and ultimately the sensor networks. Node clustering and data aggregation are popular techniques to reduce energy consumption in large WSNs [4]. Clustering is the process of dividing the nodes of the sensor network intro groups, where each group has a special node called cluster head (CH). Cluster heads are responsible for gathering the sensory data from all the group members, aggregating it and sending the aggregated data to the base station (BS). Clusters are created using efficient cluster selection algorithms.
In WSNs, data transmission can either be single hop or multi hop [5]. In either case, data collected by the sensor nodes are sent to the BS to further processing. Thus, routing becomes critical in WSNs. LEACH [6] is one of the most popular routing protocols with cluster-based and hierarchical topology control characters. LEACH can balance the network load, save the energy consumption of communication between nodes and prolong the network life cycle. Several studies have done to enhance LEACH for better network lifetime. S. K. Soni and et.al [24] proposed an enhanced deterministic energy-efficient clustering protocol (EDEC) that determines cluster head election based on the residual energy of each node in WSN and which can significantly prolong the network lifetime. However, these are routing protocols for homogeneous sensor networks and both are not applicable to the real building ambient where heterogeneous sensors are used to obtain building environmental data. According to the characteristics of energy constrained wireless sensor networks, it is more significant to design an energy efficient protocols in practical application. Thus, in this paper, we propose an energy efficient cluster-based routing protocol (EECBRP) to prolong the lifetime of heterogeneous sensor networks in smart building environment.
The rest of the paper is organized as follows. Section 2 introduces the related works. Section 3 briefly presents the proposed energy efficient cluster-based routing protocol. Simulation results and discussions are given in Section 4. Finally, Section 5 concludes the paper.
2. Related Works
As stated earlier, in WSNs, energy consumption is one of the most important issues and in order to address this issue, a number of routing methods have been proposed in recent years [7-9]. Based on network structure, routing protocols in WSNs can be generally classified into two categories:
In the flat routing topology, all the sensor nodes in the network have the same functionalities and perform the same tasks. Data transmission is mostally performed hop-by-hop in the form of flooding. SPIN [10], TBF [11] and GPSR [12] are some of the well-known flat routing protocols for WSNs. Though, the flat routing protocols are relatively effective in small-scale networks, they are undesirable in large-scale networks. The main reason behind this is the large amount of data generated by the sensor nodes which requires large processing power and bandwidth for communication in an already resource-constrained WSNs.
On the other hand, in the hierarchical routing topology, the network is organized into clusters and sensor nodes perform different tasks according to their specific roles. Some best known typical hierarchical clustering routing protocols include LEACH [6], HEED [13] and PEGASIS [14].
Low-Energy Adaptive Clustering Hierarchy (LEACH) is one of the pioneering clustering routing approaches for WSNs. It is a hierarchical protocol in which sensor nodes transmit the sensed data to the CHs, and then the CHs aggregate and compress the data and directly forward it to the BS as shown in Fig. 2. The main idea of LEACH is to utilize a randomized rotation of local CH to evenly distribute the energy load among the sensors in the network. And, each node uses a stochastic algorithm at each round to determine whether it can become a CH in that round. It is assumed that each node has a transmitter radio powerful enough to directly reach the BS. This assumption of direct data transmission to BS requires the full power of the radio and causes energy wastages especially when CHs are far from the BS.
Fig. 2.Architecture of LEACH protocol.
A number of hierarchical protocols based on the principles of LEACH has been proposed in literature such as LEACH-M [15], LEACH-C [16] and so on. The LEACH-M protocol improves the communication mode from single hop to multi-hop between CH and BS. The LEACH-C uses a centralized algorithm to form clusters. A non-autonomous cluster-head selection is again the main disadvantage of this algorithm.
The proposed routing protocol in this paper falls into the second routing category since hierarchical routing is becoming an active branch of routing technology in WSNs on account of a variety of advantages, such as scalability, data aggregation/fusion, less load, less energy consumption, more robustness, and so on.
3. Energy Efficient Cluster-based Routing Protocol (EECBRP)
In this section, we propose the Energy-Efficient Cluster-Based Routing Protocol (EECBRP) and illustrate the network model of our study. We aim at a smart building automation which not only can help to improve the daily life of the occupants but also can reduce the energy consumption of the building itself. In the building management system as in Fig. 1, a large number of heterogeneous sensor nodes are deployed in various locations to gather the building environmental information and those sensory data are sent to the building automation system to perform the necessary control to the building. The network is divided into a number of clusters and in each cluster a node is selected as a head to perform data collection and aggregation processes inside their respective cluster.
The network architecture of our proposed scheme, EECBRP, for multi-story and single-story buildings are depicted in Fig. 3 (a) and (b) respectively. Fig. 3 (a) depicts multi-story building scenario where each building level is considered to have a separate wireless sensor network and sink node. All the collected sensor readings are first sent to its associated sink via CHs and then the sink will forward the data to the BS. The sink node typically has unlimited power supply and can simply perform the task to forward the data to the BS. Generally, we can consider the data flow in the multi-story building is comparable with the one in single-story building where BS is literally called sink, as in Fig. 3 (b). Here, we logically consider the network as a 2-level network. In level-1, the whole network is broken into set of clusters and member nodes send data to associated CH. In level-2, data communication is carried out only among CHs in order to forward data to BS (sink).
Fig. 3.Architecture of EECBRP protocol for (a) multi-story (b) single-story building.
3.1 Network Model Assumption
For the sake of simplicity, we adopt a few reasonable assumptions as follows:
3.2 Proposed Scheme
Similar with other clustering approaches, the operation of the proposed system is broken up into different rounds. Each round consists of two phases:
In order to rotate the role of cluster head among the network nodes to balance the whole network energy level, the next round to reselect the new CHs will start according to the energy status of the CHs of the current round. The next round will start when the energy of any current CH becomes less than a certain percentage of its residual energy in the beginning of the round.
1) Cluster Forming Phase
The main task of this cluster forming phase is to choose a CH and form clusters. The detail algorithm can be seen in Fig. 4.
Fig. 4.Clustering algorithm.
In the beginning of the cluster forming phase, each node is assigned a unique ID. In literature, there are several mechanisms to assign unique ID to each sensor node in a large-scale sensor networks. The field-wide unique ID schemes, such as GREENWIS and SIDA [17-19], guarantee that there is no ID conflict within the whole application field. Each node is allowed to be uniquely identified and monitored without ambiguity. After assigning node ID, each node broadcasts message which contains its own ID number. In order to decide whether or not to become a CH, each node compares its own ID with the IDs of all receiving messages. If a node finds its ID is greater than the IDs of all receiving messages and its residual energy, NRE, is higher than the threshold value, θ, it advertises to be a CH by broadcasting CH-advertise message. Those nodes who received this CH-advertise message will join its cluster by replying CH-associate message. For a node which receives more than one CH-advertise messages, this node will choose the head with the highest received signal strength indicator (RSSI). In cases where the nodes did not receive any CH-advertise messages in a certain period, they declare themselves as CHs and become isolated clusters. After this phase, the sensor nodes which are having the lowest IDs among the neighbouring nodes are designated as CHs for the current round and the clusters are organized accordingly.
2) Data Routing Phase
In our approach, in order to avoid loop-back routing, each CH maintains a neighbour table which contains information about nodes IDs and hop-to-BS count of neighbouring CHs as shown in Fig. 5. BS initiates the route query message to find out the route in the beginning of the data routing phase. Upon receiving the route query message, each CH updates the neighbour table with neighbour ID (NID) and hop-to-BS entries. Neighbour tables are constructed in the beginning of the data routing phase and no further update is required in the current round since the network topology remains the same. From this neighbour table, each CH is able to know its own hop-count information from BS and updates its own hop-to-BS value as well. For example, in Fig. 5, CH:4 can receive data from its three neighbour CHs; CH:1, CH:3, and CH:5, where the corresponding hop-to-BS are 2, 3, and 4 respectively. In addition, it can be known that CH:4 is 2 hop away from BS, which is obtain as the minimum hop-to-BS number in the neighbour table. With the help of this table, each CH can avoid loop-back data routing by discarding the packets received from lower hop-to-BS nodes. For example, CH:4 will always discard the packets received from CH:1 in order to avoid data loop-back.
Fig. 5.Neighbour table format.
After constructing neighbour tables, data routing can be carried out. In our proposed approach, we consider heterogeneous radio transmission range for members and CHs. Since member nodes need only inter-cluster communication, they are assigned the transmission range of 15m which is also the radius of the cluster. However, CHs need to communicate with neighbouring CHs for data dissemination; their transmission range is double the transmission range of member nodes. The proposed multi-hop routing works as follow. Each member node sends its sensory data to the associated CH. A simple linear network coding (LNC) [20] is applied in CH in order to further reduce the energy consumption in data dissemination process. CH performs LNC upon receiving packets from its member nodes and broadcasts the encoded packets. CH also performs as a relay node in order to forward the data to the next CH and the same process is repeated until the data is finally reached to BS. The detail multi-hop routing algorithm can be seen in Fig. 6.
Fig. 6.Multi-hop routing algorithm.
3.3 Energy Consumption Model
We use a simplified power model discussed in a number of previous studies [21] [22] [23] [24] for energy dissipation in radio communication. Radio hardware energy dissipation model is shown in Fig. 7. For the sake of simplicity, we first define some parameters used in our model as follows:
Fig. 7.Radio energy dissipation model.
Both the free space (d2 power loss) and the multi-path fading (d4 power loss) channel models are used in the model, depending on the distance between the transmitter and receiver. In order to transmit L-bit data over distance, d, with an acceptable SNR, the amplification energy, ε, is expended to overcome either the free space, fs, or multi-path, mp, loss, depending on the transmission distance between the two nodes. Therefore, the transmission cost (ETX) and receiving cost (ERX) are calculated as follows:
where,
Therefore, the energy consuming of CHi with n members for a round can be calculated as:
In this equation, n is the number of member nodes of CHi; ENC(L) is energy consuming for data encoding with L-bits data. ES and EI are the energy consumption in sensing and idle state, respectively.
Hence, the energy consuming of a Non-CH node m in cluster ith for a round is:
Although actual equipment consumes energy not only when sending and receiving but also while listening, we assume in our model that the listen operation is energy free, since all the evaluated ad-hoc routing protocols will have similar energy consumption due to the node idle time. We further assume a symmetric radio channel; i.e. the same amount of energy is required to transmit a L-bit data from node A to B and vice versa.
4. Performance Evaluation
In our simulation, we have compared the performance of our proposed algorithm, EECBRP, with the standard hierarchical routing protocol, LEACH, and enhanced deterministic energy-efficient clustering protocol, EDEC. The algorithms are compared with the performance matrices of packet delivery ratio (PDR), end-to-end delay, residual energy, energy dissipation of cluster forming and total number of alive nodes at different round of iterations.
4.1 Simulation Setting
We perform computer simulation using network simulator-2 (NS-2), a standard tool in sensor network simulation. In our simulation, 100 sensor nodes are randomly distributed within a region of 100m x 100m square and BS lies at the corner of this square area. Ignoring the impact of some random factors such as the signal collision and the wireless channel interference, the detail parameter setting for the simulations is shown in Table 1.
Table 1.Simulation parameters.
4.2 Simulation Results
In order to evaluate the performance of our proposed protocol, we computed the residual energy, packet delivery ratio and end-to-end delay under the proposed protocol and compared our proposed scheme, EECBRP, with the standard hierarchical routing protocol, LEACH and energy-efficient clustered protocol, EDEC.
Fig. 8 shows the total residual energy within the system against number of rounds, and compares the result of EECBRP with the LEACH and EDEC algorithm. From the figure, it is clear that EECBRP has better energy utilization as compared to LEACH and EDEC algorithms.
Fig. 8.Residual energy vs. number of rounds.
Similarly, Fig. 9 shows the number of alive nodes against the number of rounds, and compares the result of EECBRP with the LEACH and EDEC algorithms. It is concluded from the results that EECBRP performs better than both LEACH and EDEC.
Fig. 9.Number of alive ndoes vs. number of rounds.
Fig. 10 shows the comparison between the packet delivery ratio and the number of source nodes. From the figure, it is very obvious that the total numbers of packets received by the BS in EECBRP are much greater than the LEACH and EDEC algorithms especially when the number of source nodes are high.
Fig. 10.Packet delivery ratio vs. number of source nodes.
Fig. 11 shows the end-to-end delay in terms of different number of source nodes. It is clear that the delay of packet delivery from source to sink in case of EECBRP is not much different with the existing LEACH and EDEC algorithms. LEACH slightly outperforms than EECBRP in case of high number of source nodes which is due to the fact that network coding in our algorithm requires some processing time in order to retrieve the original packets. However, this is negligible compare with the energy gain in return.
Fig. 11.End-to-end delay vs. number of source nodes.
For the implementation complexity, we finally compare the energy dissipation of cluster forming phase in different approaches. Table. 2 shows the average energy consumptions in cluster forming phase of distributed clustering approaches. Simulation results show our proposed approach, EECBRP, requires less energy than EDEC but slightly more energy than LEACH to setup the clusters. As it can be seen in the table that both EDEC and EECBRP consume slightly more energy than LEACH in setup phase, however, both offer less energy consumption during data routing phase in return.
Table 2.Energy dissipation of cluster forming phase.
5. Conclusion
In this paper, we have proposed an energy efficient cluster-based routing protocol, EECBRP, for sensor networks. We have performed rigorous tests on the proposed algorithm and experimental results show that the proposed algorithm, EECBRP, is much more efficient than LEACH and EDEC in terms of network lifetime, energy consumption and packet delivery ratio.
References
-
C. Ambekar, G. Lakhani, K. Sha and K. Bhanushali, "Energy efficient Data Aggregation in M-SPIN," in
Proc. of IEEE 9th International Conference in Intelligent Systems and Control (ISCO) , pp.1-5, 9-10 January. 2015. Article(CrossRef Link) -
S. Jamil, S. Jamil, S. Ahmed, M. Zubair and F. Sikandar, "COPE: Cooperative Power and Energy-efficient routing protocol for Wireless Sensor Networks," in
Proc. of IEEE/ACIS 14th International Conference on Computer and Information Science (ICIS) , pp.47-52, June 28-July 1 2015. Article (CrossRef Link) -
M. Haenggi, “Opportunities and Challenges in Wireless Sensor Networks,” in
Proc. of Handbook of Sensor Networks: Compact Wireless and Wired Sensing Systems , CRC Press, Florida, pp. 1.1–1.14, 2004. Article (CrossRef Link) -
M. Kuorilehto, M. Hannikainen and T.D. Hamalainen, “A Survey of Application Distribution in Wireless Sensor Networks,”
EURASIP Transaction on Wireless Communications Networking , vol. 5, no. 5, pp. 774–788, October 2005. Article (CrossRef Link) -
L. S. Shan, Z.P. Dong, L.X. Ke, C.W. Fang and P.S. Liang, “Energy Efficient Multipath Routing Using Network Coding in Wireless Sensor Networks,” in
Proc. of ADHOC-NOW, LNCS 4104 , pp. 114-127, 2006. Article (CrossRef Link) -
W. B. Heinzelman, A. P. Chandrakasan, and H. Balakrishnan, “Energy-Efficient Communication Protocol for Wireless Microsensor Networks,” in
Proc. of the 33rd Hawaii International Conference on System Sciences , January, 2000. Article (CrossRef Link) -
P. Maidamwar and N. A. Chvhan, “A Survey on Routing Techniques for Wireless Sensor Networks,” in
Proc. of National Conference on Innovative Research Trends in Computer Science Engineering Technology , 2012. Article (CrossRef Link) -
A. Modirkhazeni, N. Ithnin and M. Abbasi, “Secure Hierarchical Routing Protocols in Wireless Sensor Networks: Security Survey Analysis,” in
Proc. of IJCCN International Journal of Computer Communications and Networks , vol. 2, Issue 1, February 2012. -
K. Guan and L. M. He, “A Novel Energy-Efficient Multipath Routing Protocol for Wireless Sensor Networks,” in
Proc. of International Conference on Communication and Mobile Computing , pp. 214-218, April 2010. Article (CrossRef Link) -
J. Kulik, W. R. Heinzelman and H. Balakrishnan, “Negotiation based protocols for disseminating information in wireless sensor networks,”
Wireless Network , vol. 8, pp. 169-185, 2002. Article (CrossRef Link) https://doi.org/10.1023/A:1013715909417 -
D. Niculescu, B. Nath, “Trajectory Based Forwarding and Its Applications,” in
Proc. of the 9th Annual International Conference on Mobile Computing and Networking (MOBICOM) , vol. 8, pp. 169-185, 2002. Article (CrossRef Link) -
B. Karp, H. Kung, “GPSR: Greedy Perimeter Stateless Routing for Wireless Networks,” in
Proc. of the 6th Annual International Conference on Mobile Computing and Networking (MOBICOM) , Boston, MA, USA, vol. 8, pp. 243-254, August, 2000. Article (CrossRef Link) -
O. Younis and S. Fahmy, “HEED: A Hybrid, Energy-Efficient, Distributed Clustering Approach for Adhoc Sensor Networks,” in
Proc. of IEEE Transactions on Mobile Computations , vol. 3, pp. 366-379, 2004. Article (CrossRef Link) https://doi.org/10.1109/TMC.2004.41 -
S. Lindsey, C. Raghavendra and K. M. Sivalingam, “Data Gathering Algorithms in Sensor Networks using Energy Metrics,” in
Proc. of IEEE Transactions on Parallel Distribution Systems , vol. 13, pp. 924-935, 2002. Article (CrossRef Link) https://doi.org/10.1109/TPDS.2002.1036066 -
X. N. Fan and Y. L. Song, “Improvement on LEACH Protocol of Wireless Sensor Networks,” in
Proc. of the International Conference on Sensor Technologies and Applications , Valencia, pp. 260-264, 2007. Article (CrossRef Link) -
W. B. Heinzelman, A. P. Chandrakasan, and H. Balakrishnan, “An Application-specific Protocol Architecture for Wireless Microsensor Networks,” in
Proc. of IEEE Transactions on Wireless Communications , vol. 1, Issue 4, pp. 660-670, 2002. Article (CrossRef Link) https://doi.org/10.1109/TWC.2002.804190 -
E. Ould-Ahmed-Vall, D. M. Blough, B. S. Heck, and G. F. Riley, “Distributed Unique Global ID Assignment for Sensor Networks,”
Mobile Adhoc and Sensor Systems (MASS) , pp. 580-588, 2005. Article (CrossRef Link) -
Y. Liu and L. M. Ni, “Location-aware ID Assignment in Wireless Sensor Networks,”
Mobile Adhoc and Sensor Systems (MASS) , pp. 525-529, 2006. Article (CrossRef Link) -
J. Lin, Y. Liu and L. M. Ni, “SIDA: Self-organized ID Assignment in Wireless Sensor Networks,”
Mobile Adhoc and Sensor Systems (MASS) , pp. 1-8, 2007. Article (CrossRef Link) -
R. Ahlswede, N. Cai, S.Y.R. Li and R.W. Yeung, “Network Information Flow,”
IEEE Trans. On Info. Theory , vol. 46, pp. 1204-1216, July, 2000. Article (CrossRef Link) https://doi.org/10.1109/18.850663 -
J. G. Jia, Z. W. He, J. M. Kuang and Y. H. Mu, “An Energy Consumption Balanced Clustering Algorithm for Wireless Sensor Network,” in
Proc. of International Conference on Computational Intelligence and Software Engineering , pp. 1-4, 2010. Article (CrossRef Link) -
F. Shang and Y. Lei, “An Energy-Balanced Clustering Routing Algorithm for Wireless Sensor Network,”
Wireless Sensor Network , vol. 2, pp. 777-783, October, 2010. Article (CrossRef Link) https://doi.org/10.4236/wsn.2010.210093 -
F. A. Aderohunmu, J D. Deng and M K. Purvis, “A Deterministic Energy-Efficient Clustering Protocol for Wireless Sensor Networks,” in
Proc. of Intelligent Sensors, Sensor Networks and Information Processing (ISSNIP) , pp. 341-346, 2011. Article (CrossRef Link) -
S. K. Soni and G. Kaur, “Performance Analysis of Four Layer Clustering Network Using Enhanced Deterministic Energy-Efficient Clustering Protocol in Wireless Sensor Network,”
Advanced Computing & Communication Technologies (ACCT) , pp. 679-685, 2015. Article (CrossRef Link)