Next Article in Journal
Capacity of a Radio Vortex Communication System Using a Partial Angular Aperture Receiving Scheme under the Horizontal Non-Kolmogorov Model
Previous Article in Journal
An Intra-Subject Approach Based on the Application of HMM to Predict Concentration in Educational Contexts from Nonintrusive Physiological Signals in Real-World Situations
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Centralized Multi-Hop Routing Based on Multi-Start Minimum Spanning Forest Algorithm in the Wireless Sensor Networks

Key Laboratory for Micro/Nano Technology and System of Liaoning Province, Dalian University of Technology, Dalian 116024, Liaoning, China
*
Author to whom correspondence should be addressed.
Sensors 2021, 21(5), 1775; https://doi.org/10.3390/s21051775
Submission received: 4 February 2021 / Revised: 18 February 2021 / Accepted: 27 February 2021 / Published: 4 March 2021
(This article belongs to the Section Sensor Networks)

Abstract

:
Wireless sensor networks (WSNs) are widely applied in environmental monitoring, target tracking, military, and industrial fields. However, the battery energy of sensor nodes in WSNs is limited, which limits its development. Previous studies have shown that clustering protocols and multi-hop communication are beneficial to reduce nodes energy consumption. The multi-hop protocol based on low energy adaptive clustering hierarchy (LEACH) has been proven to significantly reduce energy dissipation. However, LEACH-based multi-hop protocols generally have the problem of unbalanced energy dissipation and data conflicts. In this paper, we propose a centralized multi-hop routing based on multi-start minimum spanning forest (LEACH-CMF) to optimize LEACH. In order to realize multi-hop communication, we introduced a multi-start minimum spanning tree algorithm to select relay nodes with the minimum relay cost and generate appropriate multi-hop paths. To avoid data collision in multi-hop communication and make nodes including the cluster heads sleep as much as possible in the non-working state, we design a bottom-up continuous time slot allocation method to improve the time division multiple access (TDMA) cycle. We performed simulation in NS2. The simulation results show that the network lifetime is approximately doubled compared to LEACH and centralized low energy adaptive clustering hierarchy (LEACH-C). The simulation results show that the proposed protocol can effectively balance the energy dissipation of nodes and prolong network lifetime.

1. Introduction

Wireless sensor networks (WSNs) are composed of large numbers of nodes (few tens to thousands), which have characteristics of self-organizing, low cost, and random deployment [1]. Sensor nodes are randomly distributed in the monitoring area and sense signals in the surrounding environment through built-in sensors, then send the collected data to base station (BS). They have been widely applied in environmental monitoring [2], forest fire detection [3], military [4], precision agriculture [5], industry, etc., and thus have attracted the interest of researchers in recent years [6,7]. However, an important factor affecting the application of WSNs is limited energy. Sensor nodes usually carry small batteries and it is hard to recharge or replace batteries in complex environments [8]. Therefore, in practical applications, each node in the WSNs is required to consume energy as little as possible for data collection and transmission to prolong network lifetime. In order to save energy and maximize network lifetime as much as possible, routing protocols should be more energy efficient. Therefore, reducing node energy consumption has become the main goal of routing protocols.
In WSNs routing protocols, the clustering routing protocol has a great improvement in energy consumption compared to other routing protocols. In clustering routing, WSNs is divided into several clusters, each cluster is composed of a cluster head and some common nodes. Cluster heads can form a higher level network until the highest-level BS. Low energy adaptive clustering hierarchy (LEACH) [9] is a typical clustering routing. LEACH uses a cluster election algorithm to divide the WSNs into several clusters. Common nodes in the cluster send the collected data to the cluster head, then the cluster head sends data to BS after data aggregation. LEACH uses a threshold formula to select cluster heads in each round, which effectively avoids the excessive energy consumption of cluster heads. In addition, data aggregation can reduce the amount of communication, thus prolong network lifetime. Centralized low energy adaptive clustering hierarchy (LEACH-C) [10] is an improved centralized routing protocol based on LEACH. The difference from the LEACH is that the cluster heads selection is the responsibility of the BS, which selects a group of nodes with higher density as optimized cluster heads by simulated annealing algorithm. There are other clustering routing protocols, such as PEGASIS [11], HEED [12], and other optimized protocols [13,14,15]. However, in the clustering routing, the cluster heads need to be responsible for data collection, data aggregation, and transmission, which consume more energy than common nodes, resulting in unbalanced energy dissipation.
Another primary technique is multi-hop routing, which is a very efficient way to relay packets in the network. In the multi-hop routing protocol, an algorithm is introduced to construct a tree topology, with BS as the root node. Multi-hop routing reduces energy consumption in WSNs [16]. Common nodes send data to intermediate nodes, and intermediate nodes perform data aggregation and then send data to the next intermediate node until the data is sent to BS. LEACH-based multi-hop protocols include inter-cluster multi-hop protocols, intracluster multi-hop protocols, and combination of intra- and intercluster protocols. There are some multi-hop protocols based on LEACH, such as M-LEFCA [17], DMH-LEACH [18], EM-LEACH [19], LEACH-WM [20], and more [21,22,23]. However LEACH-based multi-hop protocols generally have the problem of unbalanced energy dissipation and data conflicts.
In this paper, a centralized multi-hop routing protocol LEACH-CMF is proposed, which is based on the multi-start minimum spanning forest algorithm to realize multi-hop communication. The multi-start minimum spanning forest algorithm can select relay nodes with the minimum relay cost and generate appropriate multi-hop paths. We use multi-hop communication to shorten the communication distance between most nodes. In order to solve the problem of data conflicts that may be caused by multi-hop communication, we design a bottom-up continuous slot time allocation strategy. Each node sends data in the assigned time slot and sleeps as soon as possible. The proposed method balances the load of the network, has lower energy dissipation and better energy dissipation stability, and thus prolongs network lifetime.
The rest of this paper is organized as follows. Section 2 introduces related works and analyzes the exiting problems. Section 3 explains the network system model. Section 4 introduces our proposed method in detail, including multi-start minimum spanning tree algorithm and the improvement of time division multiple access (TDMA). In Section 5, we conducted simulation experiments for the protocol we proposed and compared the simulation results. Finally, we made a conclusion based on the experimental results.

2. Related Works

The LEACH protocol is completely a clustering routing protocol. Clustering is the most common technique to balance energy consumption among nodes, while minimizing traffic and overhead during the data transmission phases [24]. The lifetime of LEACH consists of many rounds, and each round consists of a set-up phase and steady-state phase. During the set-up phase, all nodes select a random number between 0 and 1. If the random number is less than a threshold T ( n ) , the node becomes a cluster head. The cluster head broadcasts cluster head message, and other nodes choose the nearest cluster head and become a member of the cluster. The threshold T ( n ) is set as:
T ( n ) = p 1 p ( r mod 1 / p ) n G 0 o t h e r w i s e
where p is the desired cluster head ratio, r is the current number of rounds, and G is the set of nodes that have not served as a cluster head in the recent 1/p round. In the steady-state phase, TDMA is used in the cluster to avoid data conflicts, and CDMA is used between clusters to avoid transmission conflicts between clusters [25]. The cluster heads create a TDMA schedule and allocate time slots to each common node. Common nodes transmit data to cluster heads in their allocated transmission time slot. Cluster heads collect and fuse the data from common nodes and send the fused data to BS. In this way, LEACH can reduce network energy dissipation and prolong network lifetime. Figure 1 shows the steps of LEACH. LEACH-C [10] uses a centralized clustering algorithm and the same steady-state protocol as LEACH. During the set-up phase, each node sends information about its location and residual energy to BS. BS calculates the average energy of the nodes, and the node whose remaining energy is lower than the average energy cannot be selected as a cluster head. BS runs the simulated annealing algorithm to determine the cluster heads in each round. The simulated annealing algorithm minimizes the total sum of squared distances between common nodes and the cluster heads to reduce energy dissipation.
LEACH reduces energy consumption through clustering, but the cluster heads are responsible for data aggregation and transmission, which lead to accelerated death of cluster heads and cause unbalanced network load. In recent years, many researchers have combined multi-hop communication with LEACH. Most of the multi-hop protocols improved for LEACH mainly focus on intercluster multi-hop. Barzin et al. [24] proposed a multiobjective nature-inspired algorithm based on the shuffled frog-leaping algorithm and firefly algorithm (MOSFA) as an adaptive application-specific clustering-based multi-hop routing protocol. MOSFA’s multiobjective function regards different criteria (inter- and intracluster distances, the residual energy of nodes, distances from the sink, overlap, and load of clusters) to select appropriate cluster heads at each round. A backward-directed backbone (BDB) is used to route the gathered data from the selected clustering heads (CHs) to the sink by multi-hop routing. CHs select the most appropriate node as its forwarder relay node using the multiobjective function. The lower-level cluster head sends data to the higher-level cluster heads. Toor et al. [26] proposed an energy aware cluster based multi-hop (EACBM) protocol. Sensor nodes in the network are heterogeneous nodes, which have three different types (normal, intermediate, and advance SNs) of energy level. A new probabilistic equation is used to select cluster heads. There are always some sensor nodes that have not joined any clusters, because they are far away from the cluster head range. In order to cover those sensor nodes a subcluster and a subcluster head is created. A multi-hop intercluster can reduce the transmission distance, reduce the energy consumption of cluster heads, and effectively prolong network lifetime.
The introduction of multi-hop intracluster can easily cause data conflicts and most protocols did not consider how to solve this problem. Zhang et al. [20] proposed a new energy-efficient algorithm (LEACH-WM) based on the weight and intracluster multi-hop mechanism. In the steady phase of LEACH-WM, weight relay nodes are selected in the cluster according to common nodes’ residual energy and their distances away from BS. Common nodes send data to the cluster head in the cluster. Cluster head sends aggregation data to its weight relay, which sends data to the BS. This protocol decreases energy dissipation of the cluster heads and distributes energy dissipation more uniformly in the network and further prolongs network lifetime. Kirsan et al. [27] propose a multi-hop simulated annealing (MhSA-LEACH) algorithm based on intracluster multi-hop communication. The selection of the cluster head adopts the simulated annealing algorithm, which takes into account the remaining energy of the nodes. Relay nodes in multi-hop path are selected using the simulated annealing (SA) algorithm for the traveling salesman problem (TSP), which can find the optimal path for data transmission. The intracluster multi-hop data transmission path is chained, and the cluster head is also the chain head. This protocol reduces the communication distance of nodes within the cluster through multi-hop to reduce energy consumption.
Introducing inter- and intracluster multi-hop communication in large-scale networks can shorten the communication distance and effectively improve energy efficiency. However, there are not so many protocols that simultaneously introduce inter- and intracluster multi-hop routing. The protocol proposed by Siavoshi et al. [28] introduces a geographical multilayered clustering where the network is divided into three layers. The size of clusters increases or decreases with the distance from the BS. In each cluster, using the remaining energy of the parent node and the number of neighboring parent nodes as input parameters, one or two parent nodes are selected using fuzzy logic algorithm. A subtree topology is formed to balance energy consumption in the whole network. Parent nodes as relay nodes are responsible for collecting and compressing the data from the child nodes. This protocol also improves cluster heads election formula used in LEACH and takes into account the remaining energy of the nodes, which prevents nodes with lower energy from being selected as the cluster head and decreases the packet loss rate. This protocol decreases inter- and intracluster communication energy costs. Ammar et al. [29] proposed a novel multi-hop clustering cross layer protocol. This protocol proposed an algorithm to determine whether the source nodes need to send its data directly to the BS or use a relay node. The algorithm takes into account the remaining energy of nodes, link quality and physical distance between nodes when creating multi-hop routing path. The introduction of multi-hops communications has considerably improved LEACH by finding the best path between the source cluster heads and the destination.
The introduction of multi-hop communication in the clustering protocol can shorten the communication distance of nodes, reduce the energy consumption and effectively prolong network lifetime. However, most LEACH-based multi-hop routing protocols use simplified protocol models and simulation methods, ignoring several practical issues:
(1)
Studies focus on cluster head selection and intercluster multi-hop transmission are popular. Rarely, network load is balanced by optimizing intracluster data transmission. Cluster heads still bear a large load and are the main nodes of energy dissipation.
(2)
Direct introduction of multi-hop mechanism in the LEACH protocol will cause data conflicts. However, none of them proposed corresponding solutions to solve this problem.

3. Network Model

3.1. Model Assumptions

Our proposed protocol is based on the following model assumptions:
(1)
All nodes are randomly distributed in the monitoring area and the position coordinates are known. At the beginning of each round, a data packet with their own energy and position information is sent to the BS.
(2)
The nodes are homogeneous, with the same initial energy, and have data aggregation capability.
(3)
All nodes are static and do not move during communication.

3.2. Energy Dissipation Model

This paper used the same energy dissipation model as in [9]. When a node transmits a k-bit data packet to a location with a distance of d, the energy consumed is composed of the transmission circuit loss and the power amplification loss as:
E T X = E e l e c × k + ε f s × k × d 2 d < d 0 E e l e c × k + ε m p × k × d 4 d d 0
when the node receives a k-bit data packet, the energy consumed is the loss of the transmitting circuit as:
E R X = E e l e c × k
nodes fuse k-bit data, and the energy consumed is
E D A = E d a × k
where E e l e c is the circuit energy dissipation coefficient, ε f s is the free space amplification coefficient, ε m p is the multipath fading amplification coefficient, E d a is the data aggregation energy dissipation coefficient, d is the transmission distance, and d0 is the transmission distance threshold and is obtained by the following equation
d 0 = ε f s ε m p
Based on the above analysis, we conclude that the transmission distance should be reduced as much as possible to reduce energy consumption to send more data.

3.3. TDMA Schedule

In the set-up phase, cluster head creates a TDMA schedule based on the number of nodes in the cluster. Each node sends data in the time slot specified in the TDMA schedule to avoid data conflicts. By analyzing the MIT LEACH protocol source code in NS2 simulation software, we can find that the time of a frame is set as
T f r a m e = ( n + 5 ) × T s l o t
where T s l o t is the time of a slot, which represents the time required for data transmission. n is the number of common nodes in the cluster, and 5 is a redundant value to ensure that the cluster head can complete a data transmission to the BS. T f r a m e is a frame time, which represents the time for all nodes in the same cluster to complete a data transmission. Different clusters have different frame time. The time of a round is set as
T r o u n d = T s e t u p + x × T f r a m e
T r o u n d is the time of a round, a given priori value. T s e t u p is the time of the set-up phase, also a given value. x is the number of frames in a round, that is to say, the steady-state phase consisted of x frames. Since the size of each cluster was different, the TDMA cycle of each cluster was different, and the number of frame x was also different. The round and TDMA schedule of two clusters are shown in Figure 2.
With the introduction of multi-hop transmission, the time of data transmission between cluster heads will collide with the time of data collection by cluster heads. The time collision will lead to data loss. Since though the TDMA is used, each cluster head should listen to only one code and cannot receive different data packets with the same code in the same time. Especially, when a cluster head of a smaller cluster (cluster2) sends data to a cluster head of a larger cluster (cluster1), cluster2’s cluster head completes the data collection within the cluster2 first. Cluster2’s cluster head may send date to cluster1’s cluster head when cluster1’s cluster head is receiving data from cluster1’s member nodes. Data conflict will occur at this time. Moreover, because there is x frames for the cluster2, the cluster2 will send data to the cluster1 at a higher frequency than the cluster2 send data to the next cluster head or BS, which will easily cause network congestion and data loss, and the simulation will not continue. In addition, because the transmission frequencies of the cluster heads do not match, the cluster heads must keep awake at all times and are unable to properly sleep. Therefore, it is necessary to improve TDMA to adapt to multi-hop communication.

4. Proposed Method

4.1. Analysis of Intracluster Relay Energy

In order to realize the intracluster multi-hop relay, we first analyzed the intracluster relay cost.
As shown in Figure 3, suppose node A and R are nodes in the cluster, and the cluster head is node C. In non-relay case, node A and R send k-bit data to C respectively, the total energy dissipation is
E 1 = k × ( E e l e c + ε f s × d 0 2 ) + k × ( E e l e c + ε f s × d 2 2 ) + 2 × k × E e l e c
In the case of relay, node A sends data to node R firstly. Node R can fuse the data and then send data to node C. The total energy dissipation is
E 2 = k × ( E e l e c + ε f s × d 1 2 ) + k × ( E e l e c + ε f s × d 2 2 ) + 2 × k × E e l e c + 2 × k × E d a
when E2 < E1, the result can be simplified as
ε f s × d 1 2 + 2 × E d a < ε f s × d 0 2
According to the above analysis, the energy cost of the relay case will be smaller than the energy cost of the non-relay case when the condition of Equation (10) is satisfied. Each node in the cluster can select an appropriate node as a relay node, and each relay node can perform a data aggregation after receiving all data packets from the nodes it relays. So, the remaining energy of the relay nodes should be as much as possible. The merged data is then forwarded to the relay node’s relay node or BS. Through such a relay mechanism, the energy efficiency of the whole network will be improved.
Based on the above analysis, to select a suitable relay for a node in the cluster, the relay cost is defined as follows:
C o s t = ε f s × d 1 2 + 2 E d a ε f s × d 0 2 × E a v g E r e s t E r e s t E a v g + E r e s t < E a v g
where Erest is the residual energy of the candidate relay node and Eavg is the average residual energy of all nodes in the network and is calculated as follows:
E a v g = 1 N i = 1 N E i
According to Equation (11), when d1 decreases and d0 increases, the cost of relay will decrease. Due to a higher data pressure than the non-relay node, the relay node may die prematurely, leading to link interruption. Therefore, the Eavg/Erest is used as the energy coefficient to select nodes with high residual energy. For non-cluster head nodes in any cluster, the node with the lowest relay cost is selected as the relay node according to the relay cost Equation (11). The node with residual energy more than the average energy of the network was selected as the candidate relay node. The smaller the cost, the more likely for a node to be selected as a relay node.

4.2. Analysis of Intercluster Relay Energy

In order to realize the intercluster multi-hop relay, we first analyzed the intercluster relay cost.
As shown in Figure 3, suppose node A and R are cluster heads and node C is the BS. In non-relay case, cluster head A and R send k-bit data to C respectively, the total energy dissipation is
E 1 = k × ( E e l e c + ε f s × d 0 2 ) + k × ( E e l e c + ε f s × d 2 2 )
In the case of relay, cluster head A first sends data to cluster head R. cluster head R canfuse the data and then sends data to BS C. The total energy dissipation is
E 2 = k × ( E e l e c + ε f s × d 1 2 ) + k × ( E e l e c + ε f s × d 2 2 ) + k × E e l e c + 2 × k × E d a
when E2 < E1, the result can be simplified as
ε f s × d 1 2 + 2 × E d a + E e l e c < ε f s × d 0 2
To select a suitable relay for a cluster head, the relay cost is defined as follows:
C o s t = ε f s × d 1 2 + 2 × E d a + E e l e c ε f s × d 0 2 × E a v g E r e s t E r e s t E a v g + E r e s t < E a v g
where Erest is the residual energy of the candidate relay node and Eavg is the average residual energy of all cluster heads in the network and is calculated as Equation (12). For a cluster head, the candidate cluster head with the lowest relay cost was selected as the relay node according to the relay cost Equation (16). The smaller the cost, the more likely for a cluster head to be selected as a relay cluster head node. Multi-hop transmission between clusters can reduce the load of the cluster heads and thus balance the network load.

4.3. Multi-Start Minimum Spanning Forest Algorithm

This protocol uses the same method as LEACH-C to select a group of cluster heads. After selecting the cluster heads, the relay nodes of each non-cluster head node should be selected. In order to minimize the relay cost between each node and its relay node in the network, a multi-start minimum spanning forest algorithm is proposed. This algorithm first takes k cluster heads as k starting root nodes, and then calculates the relay cost by Equation (11) as the weight of the directed edge to generate k non-intersecting minimum spanning trees simultaneously in the network. The multi-start minimum spanning forest consists of multiple minimum spanning trees, and its root is the base station. The roots of these minimum spanning trees are the cluster heads, and each edge has the smallest weight. This is the process of generating multi-hop paths in the cluster.
Assume that the total number of nodes is N and the number of clusters is k, ch[i] (i = 1, 2, …, k) represents the ith cluster head node. The network is represented by a connected network with directed weights. According to the graph theory, the entire network can be expressed as
P = ( V , E )
where V is the set of all nodes in the network and E is the set of all directed edges in the network.
TU[i] (i = 1, 2, …, k) is the set of nodes in the ith minimum spanning tree, TE[i] (i = 1, 2, …, k) is the set of edges in the ith minimum spanning tree, and U = TU[1]∪TU[2]∪⋯∪TU[k] is the set of all nodes in the current whole k minimum spanning trees. <u, v> is a directed edge and the weight represents the relay cost when node v chooses node u as a relay.
The algorithm construction process as follows:
(1)
Initialize the TU[i] and TE[i], TU[i] = {ch[i]}, TE[i] = {}, (i = 1, 2, …, k).
(2)
Find the directed edge <u0, v0> with the smallest weight among the edges <u, v> where uU, vV−U. If u0TU[j] (1 ≤ j ≤ k), add the edge (u0, v0) to the set TE[j], and add the node v0 to the set U at the same time. Then, u0 is selected as a relay node of node v0, and u0’s cluster head ch[i] is set as the cluster head of node v0.
(3)
Repeat step 2 until U = V. Finally, each node selects a relay node and a cluster head except for the cluster head node.
The clustering process of the multi-start minimum spanning forest algorithm is shown in Figure 4. In the figure, squares represent cluster heads, hollow circles represent nodes, which have not joined a cluster, and solid circles represent nodes that have already joined a cluster. There are two starting points at the beginning as Figure 4a. By comparing the relay costs, each time a node, which has entered a cluster selects a node, which has never entered the cluster as its relay node and joins the cluster as Figure 4b–g. Six times later, all six non-cluster head nodes join the clusters and two disjoint clusters are formed as Figure 4g.
In the phase of multi-hop transmission between clusters, with the BS as the only starting point and the cost of Equation (16) as the edge weights, a tree network between the cluster heads can be generated. The overall topology of the network is shown in Figure 5.

4.4. Time Slot Division Based on TDMA

The intracluster data transmission follows the time division multiplexing (TDMA) [12] method of the LEACH protocol. The relay node must receive data in the wake state. If the node acting as a relay node remains awake at all times, it will cause additional energy dissipation. So, the relay node needs to wake up at the beginning of each relay node’s time slot of sending data, and then sleep after receiving the data. A node acting as a relay node may need to receive data from multiple nodes, which will cause the node to constantly switch between the awake state and the sleep state.
In practice, turning off and turning on the wireless transceiver takes time, and constantly turning on and off the network transceiver is not conducive to obtaining a stable signal. In order to suppress this situation, this paper designs a bottom-to-up continuous time slot allocation method, that is, to allocate time slots to each layer in a bottom-up order, and assign consecutive time slots to nodes at the same layer. As we all know, breadth-first traversal can visit all nodes in the tree structure once, and only once. This just meets the needs of time slot allocation.
As shown in Figure 6, a cluster contains five nodes, of which node 1 is the cluster head, node 3 directly sends data to the cluster head, and nodes 2 and 5 need to relay through node 4 to forward data to the cluster head.
Let {2, 5} be the first layer node and {4, 3} be the second layer node. First allocate time slots to nodes {2, 5}, and then allocate time slots to {4, 3}.
The appropriate allocation results are:
1) 2→5→3→4→1; 2) 2→5→4→3→1; 3) 5→2→3→4→1; 4) 5→2→4→3→1.
In order to implement the above allocation strategy, we first built a logical tree structure with the cluster head as the root node according to the relay relationship, and then traversed the tree to obtain a traversal list by breadth-first algorithm. Finally, we could arrange the traversal list in reverse order to get a TDMA scheduling table.
After that, we assigned data transmission wake-up time slots to each node in the order of the nodes in the TDMA scheduling list. Then, each node was also allocated a data reception wake-up time slot, which corresponds to the time slot in which the first data to be received by the node was transmitted. Each node wakes up in the data reception wake-up time slot, starts to continuously receive data, and enters sleep after receiving all data. In the data transmission wake-up time slot, the node wakes up again, performs data aggregation, sends the fused data to the next relay node, and then sleeps again.
In order to match the sending frequency between different cluster heads at the lowest delay, avoid the data collision, and allow the cluster heads to sleep properly in the non-working phase, this paper further improved the TDMA cycle based on the TDMA division above.
A TDMA cycle was divided into two stages: the stage of data collection within cluster and the stage of data transmission between cluster heads. During the data collection stage, the nodes in the cluster wake up to accept data from nodes they relay and send data to the selected relay node at the allocated time slot. During the data transmission phase between cluster heads, the cluster head also receives the data of the previous cluster heads and sends the data to the next-hop relay node in the assigned time slots. Since the cluster heads and the BS also form a tree-like topology structure, this paper also divided the time slots for data transmission between cluster heads according to the bottom-up continuous time slot allocation method. The time slots distribution of a frame is shown in Figure 7 and Equations (18) to (21).
m = max ( n i ) i = 1 ,   2 ,   ,   k
T m e m b e r = m × T s l o t
T c h s = c × T s l o t
T f r a m e = T m e m b e r + T c h s
where ni is the number of nodes of cluster i, m is the max cluster size or the number of nodes in the cluster with the most nodes, c is the total number of cluster heads, Tmember is time of the stage of data collection within cluster, and Tchs is the time of the data transmission stage between cluster heads.

4.5. Overall Protocol Flow

The specific protocol flow is shown in Figure 8 and described as follows:
Step 1: Node broadcast. Each node sends an INFO message with its own information to the BS, which contains the coordinates of the node and the residual energy of the node.
Step 2: After receiving all broadcast information, the BS first selects a group of optimized cluster heads according to the simulated annealing algorithm, then selects the cluster head node and the relay node for each node according to the multi-start minimum spanning forest algorithm, and finally broadcasts the BS_SCH message, which consists of the cluster head id of each node, the relay node id of each node and the max cluster size. Relay nodes of common nodes in the cluster are other common nodes or cluster heads in the cluster, and the relay nodes of the cluster head are other cluster heads or the BS.
Step 3: Each node receives the BS_SCH message from the BS and creates an intracluster TDMA scheduling sequence. For each non-cluster head node, it will calculate the intracluster data reception wake-up time slot TRIN and the intracluster data transmission wake-up time slot TSIN. For each cluster head, it will also create an intercluster TDMA scheduling sequence, calculate the intracluster data reception wake-up time slot TRIN, the intercluster data reception wake-up time slot TROUT, and the intercluster data transmission time slot TSOUT.
Step 4: In the data collection phase within the cluster, each node wakes up at its TRIN, starts to receive data and enters sleep after completing all data reception. Each non-cluster head node wakes up again at its TSIN, performs data aggregation, sends data to the next relay node or the cluster head, and then goes to sleep again.
Step 5: During the data transmission phase between cluster heads, each cluster head wakes up at its TROUT, starts to receive data from other cluster heads and enters sleep after completing all data reception. Each cluster head wakes up again at its TSOUT, performs data aggregation and sends fused data to the next relay cluster head or the BS, and then goes to sleep again.
Step 6: The BS receives data from cluster heads.
Step 7: Each node cyclically performs data reception and data transmission according to its TDMA scheduling order until the end of the current round, and then the process is restarted from step 1.
Figure 8. The protocol flow.
Figure 8. The protocol flow.
Sensors 21 01775 g008

5. Performance Evaluation

5.1. Basic Description of Simulation

The simulation tool NS2 is applied to analyze and evaluate network performance and the energy dissipation of the proposed LEACH-CMF protocol. In addition, we compared the routing protocols LEACH-C and LEACH. The simulation parameters are shown in Table 1.
To measure the network performance, we used the first node death time (TFND), half the node death time (THND), and all node death time (TAND) as the evaluation indicators of network life.

5.2. Simulation and Results Analysis

The network lifetime of the three protocols is shown in Figure 9. It can be seen from the figure that the network lifetime was greatly extended by LEACH-CMF. TFND was extended by 110% and 160% compared with LEACH and LEACH-C, respectively. Compared with LEACH and LEACH-C, THND was extended by 110% and 100%, respectively. The network lifetime was more than twice of LEACH-C. This is because LEACH-CMF shortens communication distance between nodes and cluster heads through intracluster multi-hop communication, and intercluster multi-hop shortens the communication distance between cluster heads and BS, thus slows down the death of the cluster heads to balance the network load.
Figure 10 shows the change of the total residual energy. From this figure, it can be observed obviously that LEACH-CMF had better performance. The residual energy of LEACH and LEACH-C dropped significantly more sharply, which means that the two protocols consumed more energy in the routing process. The energy dissipation of LEACH-CMF occurred more slowly than the other two methods. LEACH-CMF greatly shortened the communication distance and achieved the purpose of reducing energy consumption.
Figure 11 shows the change of average node energy dissipation for each round. As can be seen from the figure, LEACH and LEACH-C consumed more energy each round and the increase was obvious at the later stage, reflecting the unstable network performance. LEACH-CMF maintained long-term low energy dissipation and the overall change was small, reflecting stable network performance. Obviously, LEACH-CMF balanced network load efficiently.
Figure 12 shows the difference of the average energy dissipation per round of cluster heads and the average energy dissipation per round of all nodes. The proposed method had relatively small energy difference, which well balanced the energy dissipation between cluster heads and non-cluster head nodes. That is because the proposed method balanced the load of the cluster heads, which can also perform appropriate hibernation.

6. Conclusions

In WSNs, the multi-hop-based transmission and fusion are effective in reducing redundant data communications, saving the energy of sensor nodes, and enhancing network lifetime. This paper analyzed the energy dissipation of relay transmission and non-relay transmission and proposed an optimized relay cost model to select the optimal relay nodes. In order to reduce the energy dissipation in the relay transmission as much as possible, a multi-start minimum spanning forest algorithm was used to select relay nodes and simultaneously generate the network. In order to realize multi-hop transmission with data aggregation, reducing data collision and make nodes sleep as much as possible in the non-working state, we designed a bottom-up continuous time slot allocation method and modified the TDMA cycle. The data sending frequency of different cluster heads at the intercluster transmission stage were matched at the lowest delay, and the cluster heads could also sleep properly in the non-working time.
The simulation results show that the proposed clustering scheme performed better as compared with the other two methods. It prolonged network lifetime and maintained a long-term, small-scale energy dissipation fluctuations, which reflected stable network performance.

Author Contributions

Conceptualization, R.J. and X.F.; methodology, R.J., X.F. and T.S.; software, X.F.; validation, X.F.; formal analysis, X.F. and T.S.; investigation, R.J., X.F. and T.S.; resources, R.J., X.F. and T.S.; data curation, X.F.; writing—original draft preparation, X.F.; writing—review and editing, T.S.; visualization, R.J.; supervision, R.J.; project administration, R.J.; funding acquisition, R.J. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the Fundamental Research Funds for the Central Universities, grant number DUT16TD20 and Science Fund for Creative Research Groups of NSFC, grant number 51621064.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

No new data were created or analyzed in this study. Data sharing is not applicable to this article.

Acknowledgments

The authors would like to thank all members of the team and the reviewers who have contributed to improving the quality of this paper.

Conflicts of Interest

The authors declare no conflict of interest. The funders had no role in the design of the study; in the collection, analyses, or interpretation of data; in the writing of the manuscript, or in the decision to publish the results.

References

  1. Yick, J.; Mukherjee, B.; Ghosal, D. Wireless sensor network survey. Comput. Netw. 2008, 52, 2292–2330. [Google Scholar] [CrossRef]
  2. Kanagaraj, E.; Kamarudin, L.M.; Zakaria, A.; Gunasagaran, R.; Shakaff, A.Y.M. Cloud-based remote environmental monitoring system with distributed WSN weather stations. In Proceedings of the 2015 IEEE SENSORS, Busan, Korea, 1–4 November 2015; pp. 1–4. [Google Scholar]
  3. Xu, Y.; Sun, Q.; Xiao, Y. An Environmentally Aware Scheme of Wireless Sensor Networks for Forest Fire Monitoring and Detection. Future Internet 2018, 10, 102. [Google Scholar] [CrossRef] [Green Version]
  4. Hussain, M.A.; Khan, P.; Sup, K.K. WSN research activities for military application. In Proceedings of the 2009 11th International Conference on Advanced Communication Technology, Gangwon, Korea, 15–18 February 2009; pp. 271–274. [Google Scholar]
  5. Zheng, B.G.; Wang, H. Application Research of Wireless Sensor Network in the Fine Production of Agriculture. Appl. Mech. Mater. 2014, 513–517, 3695–3698. [Google Scholar] [CrossRef]
  6. Mouapi, A.; Hakem, N. A New Approach to Design Autonomous Wireless Sensor Node Based on RF Energy Harvesting System. Sensors 2018, 18, 133. [Google Scholar] [CrossRef] [Green Version]
  7. Sobrinho, J.L. Correctness of Routing Vector Protocols as a Property of Network Cycles. IEEE/ACM Trans. Netw. 2017, 25, 150–163. [Google Scholar] [CrossRef]
  8. Rault, T.; Bouabdallah, A.; Challal, Y. Energy efficiency in wireless sensor networks: A top-down survey. Comput. Netw. 2014, 67, 104–122. [Google Scholar] [CrossRef] [Green Version]
  9. Heinzelman, W.B.; Chandrakasan, A.P.; Balakrishnan, H. An application-specific protocol architecture for wireless microsensor networks. IEEE Trans. Wirel. Commun. 2002, 1, 660–670. [Google Scholar] [CrossRef] [Green Version]
  10. Heinzelman, W.B. Application-Specific Protocol Architectures for Wireless Networks. Ph.D. Thesis, Massachusetts Institute of Technology, Cambridge, MA, USA, 2000. [Google Scholar]
  11. Lindsey, S.; Raghavendra, C.; Sivalingam, K.M. Data gathering algorithms in sensor networks using energy metrics. IEEE Trans. Parall. Distr. 2002, 13, 924–935. [Google Scholar] [CrossRef] [Green Version]
  12. Younis, O.; Fahmy, S. HEED: A Hybrid, Energy-Efficient, Distributed Clustering Approach for Ad Hoc Sensor Networks. IEEE Trans. Mob. Comput. 2004, 3, 366–379. [Google Scholar] [CrossRef] [Green Version]
  13. Mehta, D.; Saxena, S. Hierarchical WSN protocol with fuzzy multi-criteria clustering and bio-inspired energy-efficient routing (FMCB-ER). Multimed. Tools Appl. 2020, 1–34. [Google Scholar] [CrossRef]
  14. Kumaresan, K.; Kalyani, S.N. Energy Efficient Cluster based Multilevel Hierarchical Routing for multi-hop Wireless Sensor Network. J. Amb. Intell. Hum. Comp. 2020, 1–10. [Google Scholar] [CrossRef]
  15. Liao, Y.; Qi, H.; Li, W. Load-Balanced Clustering Algorithm with Distributed Self-Organization for Wireless Sensor Networks. IEEE Sens. J 2013, 13, 1498–1506. [Google Scholar] [CrossRef]
  16. Lima Pinheiro, D.; Lima Garca, J.; Alcantara De Lima, O.; Gomes Furtado, C., Jr. Analysis of Multi-hop Strategies in LEACH Protocol. In Proceedings of the IX Brazilian Symposium on Computing Systems Engineering (SBESC), Natal, Brazil, 19–22 November 2019; pp. 1–8. [Google Scholar]
  17. Cengiz, K.; Dag, T. Multi-hop low energy fixed clustering algorithm (M-LEFCA) for WSNs. In Proceedings of the 2016 IEEE 3rd International Symposium on Telecommunication Technologies (ISTT), Kuala Lumpur, Malaysia, 28–30 November 2016; pp. 31–34. [Google Scholar]
  18. Elmonser, M.; Ben Chikha, H.; Attia, R. Mobile routing algorithm with dynamic clustering for energy large-scale wireless sensor networks. IET Wirel. Sens. Syst. 2020, 10, 208–213. [Google Scholar] [CrossRef]
  19. Al-Sodairi, S.; Ouni, R. Reliable and energy-efficient multi-hop LEACH-based clustering protocol for wireless sensor networks. Sustain. Comput. Inform. Syst. 2018, 20, 1–13. [Google Scholar] [CrossRef]
  20. Zhang, J.; Chen, J.; Xu, Z.; Liu, Y. LEACH-WM: Weighted and intra-cluster multi-hop energy-efficient algorithm for wireless sensor networks. In Proceedings of the 35th Chinese Control Conference, Chengdu, China, 27–29 July 2016; pp. 8325–8329. [Google Scholar]
  21. Sudha, L.; Thangaraj, P. Improving energy utilization using multi hop data aggregation with node switching in wireless sensor network. Clust. Comput. 2019, 22, 12749–12757. [Google Scholar] [CrossRef]
  22. Yang, L.; Lu, Y.; Zhong, Y.; Wu, X.; Yang, S. A Multi-Hop Energy Neutral Clustering Algorithm for Maximizing Network Information Gathering in Energy Harvesting Wireless Sensor Networks. Sensors 2016, 16, 26. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  23. Yektaparast, A.; Nabavi, F.; Sarmast, A. An improvement on LEACH protocol (Cell-LEACH). In Proceedings of the 2012 14th International Conference on Advanced Communication Technology (ICACT), PyeongChang, Korea, 19–22 February 2012; pp. 992–996. [Google Scholar]
  24. Barzin, A.; Sadegheih, A.; Zare, H.K.; Honarvar, M. A Hybrid Swarm Intelligence Algorithm for Clustering-Based Routing in Wireless Sensor Networks. J. Circuits Syst. Comput. 2020, 29, 2050163. [Google Scholar] [CrossRef]
  25. Kumar, S.; Chaurasiya, V.K. A multisensor data fusion strategy for path selection in Internet-of-Things oriented wireless sensor network (WSN). Concurr. Comput. Pract. Exp. 2018, 30, e4477. [Google Scholar] [CrossRef]
  26. Toor, A.S.; Jain, A.K. Performance Evaluation of new Energy Aware Cluster Based Multi-hop (EACBM) Routing Protocol in Wireless Sensor Networks. Int. J. Grid Distrib. Comput. 2018, 11, 81–96. [Google Scholar] [CrossRef]
  27. Kirsan, A.S.; Rasyid, M.U.H.A.; Syarif, I.; Purnamasari, D.N. Energy Efficiency Optimization for Intermediate Node Selection Using MhSA-LEACH: Multi-hop Simulated Annealing in Wireless Sensor Network. Emit. Int. J. Eng. Technol. 2020, 8, 1–18. [Google Scholar]
  28. Siavoshi, S.; Kavian, Y.S.; Tarhani, M.; Rashvand, H.F. Geographical multi-layered energy-efficient clustering scheme for ad hoc distributed wireless sensor networks. IET Wirel. Sens. Syst. 2016, 6, 1–9. [Google Scholar] [CrossRef]
  29. Ben Ammar, A.; Dziri, A.; Terre, M.; Youssef, H. Multi-Hop LEACH based Cross-layer Design for Large Scale Wireless Sensor Networks. In Proceedings of the International Wireless Communications and Mobile Computing Conference, Paphos, Cyprus, 5–9 September 2016; pp. 763–768. [Google Scholar]
Figure 1. The step of low energy adaptive clustering hierarchy (LEACH).
Figure 1. The step of low energy adaptive clustering hierarchy (LEACH).
Sensors 21 01775 g001
Figure 2. The TDMA schedule of two clusters. Cluster1 is a larger cluster with more nodes than cluster2. The gray grids represent the set-up phase, and the black grids represent the steady-state phase.
Figure 2. The TDMA schedule of two clusters. Cluster1 is a larger cluster with more nodes than cluster2. The gray grids represent the set-up phase, and the black grids represent the steady-state phase.
Sensors 21 01775 g002
Figure 3. Node relays in a cluster.
Figure 3. Node relays in a cluster.
Sensors 21 01775 g003
Figure 4. (ag) Process of multi-start minimum spanning forest algorithm with two clusters.
Figure 4. (ag) Process of multi-start minimum spanning forest algorithm with two clusters.
Sensors 21 01775 g004
Figure 5. The topology of the network.
Figure 5. The topology of the network.
Sensors 21 01775 g005
Figure 6. A simple cluster.
Figure 6. A simple cluster.
Sensors 21 01775 g006
Figure 7. The improved TDMA schedule. The gray grids represent the set-up phase, and the black grids represent the steady-state phase. The green grids indicate the time slots of the member nodes in the cluster, and the red grids indicate the time slots of other cluster heads.
Figure 7. The improved TDMA schedule. The gray grids represent the set-up phase, and the black grids represent the steady-state phase. The green grids indicate the time slots of the member nodes in the cluster, and the red grids indicate the time slots of other cluster heads.
Sensors 21 01775 g007
Figure 9. Changes in the number of dead nodes over time.
Figure 9. Changes in the number of dead nodes over time.
Sensors 21 01775 g009
Figure 10. Change of total residual energy over time.
Figure 10. Change of total residual energy over time.
Sensors 21 01775 g010
Figure 11. The average node energy dissipation of each round.
Figure 11. The average node energy dissipation of each round.
Sensors 21 01775 g011
Figure 12. The difference of average energy dissipation per round between cluster heads and non-cluster nodes.
Figure 12. The difference of average energy dissipation per round between cluster heads and non-cluster nodes.
Sensors 21 01775 g012
Table 1. Simulation Parameters.
Table 1. Simulation Parameters.
ParametersValue
Free space amplification factor ε f s 10 pJ/bit/m2
Multipath attenuation amplification factor0.0013 pJ/bit/m4
Data fusion energy dissipation coefficient E d a 5 nJ/bit
Circuit transmit and receive energy E e l e c 50 nJ/bit
Transmission bandwidth1 Mbps
Transmission data per frame500 bytes
The time of a round20 s
Simulation area of the network S100 m × 100 m
Node initial energy E02 J
Total number of nodes N100
Cluster head ratio p5%
Base station location(50, 50) m
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Jin, R.; Fan, X.; Sun, T. Centralized Multi-Hop Routing Based on Multi-Start Minimum Spanning Forest Algorithm in the Wireless Sensor Networks. Sensors 2021, 21, 1775. https://doi.org/10.3390/s21051775

AMA Style

Jin R, Fan X, Sun T. Centralized Multi-Hop Routing Based on Multi-Start Minimum Spanning Forest Algorithm in the Wireless Sensor Networks. Sensors. 2021; 21(5):1775. https://doi.org/10.3390/s21051775

Chicago/Turabian Style

Jin, Rencheng, Xiaolei Fan, and Ting Sun. 2021. "Centralized Multi-Hop Routing Based on Multi-Start Minimum Spanning Forest Algorithm in the Wireless Sensor Networks" Sensors 21, no. 5: 1775. https://doi.org/10.3390/s21051775

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop