Abstract
In order to effectively improve the data transmission efficiency of wireless sensor networks (WSN), a new wireless sensor network chain routing algorithm is proposed based on adaptive backoff-adjusted medium access control. At first, the optimal transmission back-off time of undetermined frames is estimated by the number of active nodes in this algorithm, and the performance evaluation index of WSN is presented with area coverage, transmission distance and residual energy. At the same time, the number of collisions and transmission attempt rate are given with adaptive backoff-adjusted medium access control, and the chain routing algorithm is build. Finally, the key factors influencing the algorithm are deeply studied through experimental platform and numerical simulation with MATLAB. The results show that, compared with the traditional chain routing algorithm and progressive best backoff algorithm, the algorithm has great advantages in terms of chaining efficiency, node life cycle and delay.
Introduction
Wireless sensor networks (WSN) are sophisticated systems combining data collection, data processing, data transmission. For practical applications of WSN, power source energy and the monitoring environment are key factors for the nodes. Extension of WSN life cycles based on synergy of multiple nodes and balanced energy consumption is a key topic in this field.
The WSN routing can be categorized as flat routing protocols (density-based routing and chain routing) and hierarchical routing protocols based on their topological structures [1–4]. The flat routing protocols are limited by low efficiency and high energy consumption (node interactions during routing, including data sending and acceptance). The RPB (rotation and PEGASIS-based protocol) WSN chain routing protocol exhibits reduced node energy consumption and homogeneous node distribution even at failures of over half sensor nodes [5]. The density-based routing (DBR) algorithm describes available energy in local areas based on the energy dependence of adjacent nodes and investigates routing energy reduction based on potential energy [6]. The D-S evidence theory based chain routing algorithm consists of chaining, selection of firs-in-chain node, and data transmission [7]. As topological reconstructions occur only in cases of node failures, unbalanced loads in clustered structures are relieved. Additionally, the structure is relatively simple and the probabilities of information channel competitions and collisions are relatively low.
The high energy consumptions in hierarchical routing protocols can be attributed to communications between cluster heads and base stations. Hierarchical WSN can achieve balanced allocations of resources and exhibits advantages in topological structure management, energy utilization, and data fusion. Nevertheless, hierarchical WSN is limited by its dynamic maintenance after topology construction. Therefore, the node address allocation mechanism in current hierarchical routing mechanisms was adjusted [8]. Specifically, a prime dynamic routing protocol was proposed. Owing to the uniqueness of primes, node locations can be clearly labeled and dynamically modified. Based on the ring based multi-hop clustered routing algorithm RB-MC, a MCBMC algorithm was proposed. The MCBMC algorithm can effectively reduce average node energy consumption and increases short life cycles of WSN [9]. Hierarchical routing protocols (EBCLQ) based on efficiency and energy consumption of communications between nodes was proposed [10]. The efficiency and energy consumption of communications between nodes are affected by the quality of chain routes and optimization of this protocol was achieved in network initialization, clustering, and data transmission. Simulations demonstrated good effectiveness and homogeneity. Based on the LEACH protocol, a cluster-chain based low energy consumption hierarchical routing protocol was proposed [11]. In this protocol, loads on the cluster head are reduced as the quantity of active nodes in the cluster is reduced, and chain communications are introduced to the cluster head. Aimed at 3D hole issues in WSN routing algorithms, a 3D cellular space system and 3D-CSR algorithm were proposed [12]. Mechanisms of cell routing were increased to exclude 3D holes and enhance efficiency and applicability of routing algorithms. GSA-based routing algorithms and life cycle based clustered algorithms were proposed [13]. The differences in cluster head node energy consumption were optimized using GSA algorithms to relieve non-uniform energy consumptions in heterogeneous WSN. In another case, the RSSI mechanism was introduced during the establishment of routing mechanism to provide node location information and achieves separation of the re-transmission authority and the decision-making authority of nodes on data packets, thus simplifying the routing process and reducing energy consumption [14]. To eliminate drawbacks of LEPS such as poor hierarchy, complicated chain evaluation, and exclusion of node energy, a novel routing algorithm EALB based on energy awareness and corresponding energy saving mechanisms was proposed [15]. This algorithm achieved reduced energy consumption and extended network life cycle.
In this study, a novel chain routing algorithm of wireless sensor for data transmission efficiency of WSN is proposed. In this algorithm, WSN performance indices are proposed and a chain routing algorithm is established based on adaptive back-off adjusted medium access control [16, 17]. Additionally, key factors affecting the proposed algorithm were investigated using numerical simulations.
This article consists of five sections: the first section introduces background, previous studies, and the proposed study, the second section discusses key performance indices of WSN routing, the third section proposes the chain routing algorithm, the fourth section describes simulations, and the fifth section gives a conclusion.
Performance indices
The chain routing protocol (PEGASIS) consists of chaining, selection of firs-in-chain node, and data transmission. The network was initialized at the chaining stage: the node closest to the sink was selected as the tip node, identify the node closest to the tip node (denoted as Node a), identify the chain node closest to Node a (denoted as Node b) and defined as the precursor node of Node a. Node a and b are connected and Node a was added into the chain. If all nodes have been added into the chain, chaining is completed; otherwise repeat the procedures above.
Selection of first-in-chain node: the first-in-chain node was determined based on the
residual energy of nodes and the distance from node to base station. Herein, the multi-route
decay information channel model was employed. The energy consumed for the transmission of
data of K bit over a distance of d can be obtained by:
According to the model in Equation (1),
define Q of a node as:
The node with maximum Q value was selected as the first-in-chain node.
According to the energy model in Equation (1), the energy consumed is related to the square/fourth power of the transmission distance. In Equation (3), w1 and w2 were weighed values and w1 + w2 = 1; either w1 or w2 can be selected and w1 > w2. E i refers to residual energy of the node and d BS (i) refers to the distance from Node I to base station.
At the data transmission stage, the transmission power of each node was adjusted so that only the closest node receives the signal sent by this node. Owing to the small size of Token, energy consumption in the data transmission process was low. Hence, the Token mechanism was employed at the data transmission stage and the procedures are summarized in Fig. 1.

Data transmission process.
The first-in-chain node (N6) generates a Token and sends it to the tip node N1, which transmit data to Node N2 along the data chain. Then, the data collected by Node N2 and sent by Node N1 was fused and sent to tip node N3, which sends the Token to Node N5. Likewise, the data collected by Node N3 was fused with data sent by Node N4 and Node N5 and sent to Node N6. Finally, the data collected by Node N6 was fused with data sent by previous nodes and sent to base station. Until then, one data transmission round was completed.
In the presence of a network model with coverage = k, if nodes are homogeneously distributed with in the sensing area density =λ, the node quantity (X) probability follows Poisson distribution [1].
The probability density function is:
The feature function is:
Set S = 1:
If nodes follow Poisson distribution, it is maximized at
k = |λ|. The node quantity in an area of
S at coverage of f
a
is
defined N(S). As the node quantity is a random variable that follows
Poisson distribution withλ as the parameter, then:
Define the sensing radius as r, the probability of a random point
(W) in the sensing area (S) not being covered can be
calculated by:
Therefore, the coverage in S is can be calculated by:
The collisions, repeated transmissions, and data loss in wireless information channels lead to increased broadband loss. To enhance the network throughput, prescribed transmission attempt rates were employed at the data transmission stage. However, prescribed transmission attempt rates may not be applicable to all WSN and over-high transmission attempt rates result in undesired collision rates [18–20]. To enhance the routing performances of WSN, dynamic transmission attempt rates were employed: each node in the chain sends slot applications to the node first-in-chain according to its specific conditions, the node first-in-chain releases decision and adjust the time frame length, and the optimal transmission back-off time of undetermined frames according to the quantity of active nodes.
Assume that i refers to the node quantity, M refers to
the quantity of active nodes, K = 1 is a constant,
Define the current back-off value of Node i as
B
i
(t), the transmission
attempt rate (λ) can be calculated by:
With the average collisions between two consecutive successful transmissions being denoted
by a random variable (N
c
), the average back-off
time
According to Equation (12), the average
collisions
At the chaining stage, the node density was taken into consideration and a threshold
distance was designed to control the addition of nodes. Define the chain node quantity as
n, then the distance from the first-in-chain node to the
nth node is d
n
, the overall
quantity of nodes in this area is N
node
, the
length of this area is d:
The procedures of the proposed adaptive back-off adjusted medium access control based chain routing algorithm of wireless sensor are as follows:
Estimate M and calculate the average back-off time
Calculate the information channel access probability in t
(p
t
) and size of contention window
(E(CW)); Set the minimum size of contention window as Determine the data frames that have been successfully transmitted based on
CWmin and CWmax.
Simulations of the proposed algorithm and conventional algorithms were executed and compared with each other. The typical energy model mentioned in Section 2 was employed for simulations. 100∼300 nodes are randomly distributed in an area of 100 m×100 m. Assume M = 110, initial energy of all nodes is 1 J, α= 1.5, the data distribution follows Poisson distribution, the document size is 1000 Byte, the data transmission rate is 1 Mb/s, and the communication rate of information channel is 1 Mb/s. Ranging from 100 s to 3000 s, the file request time is homogeneously distributed and was repeated for three times. Each slot is 2.5 Byte and the overall simulation time was 1 h.
As mentioned in Section 2, chaining in conventional chain routing algorithms is achieved by the greedy method and the chain length is reduced by secondary local
optimization. However, node distribution in WSN is random and communications between one specific node and multiple nodes may be observed if the distances between nodes is the only criterion. As a result, energy consumptions of precursor nodes are accelerated and unexpected failures of precursor nodes may be observed, resulting in increased node energy consumption. The proposed algorithm solved the issue of data concentration by combining average distance between nodes and node density in the area.
Figure 2 shows chaining of the proposed algorithm and conventional chain routing algorithms. As shown in Fig. 2(a), Node 1, 2, 6, 8, 9, and 2 were added into the chain consecutively. According to conventional chain routing algorithms, Node 4 is the node closest to Node 2. The distances from Node 4 to nodes in the chain were calculated consecutively and Node 9, which is closest to Node 4, was selected as the precursor node. Similarly, Node 9 was selected as the precursor node of Node 10. This chaining mechanism can guarantee shorted routes for all nodes in the chain. Nevertheless, Node 9 needs to process data from Nodes 2, 4, and 10 and it may lead to over-concentration of data at Node 9 and unexpected failure of Node 9. As a result of unexpected failure of Node 9, a new precursor node needs to be determined for Nodes 2, 4, and 10, resulting in topological reconstruction of chain leads and increased node energy consumption. As shown in Fig. 2(b), the proposed algorithm achieves network energy consumption reduction and extension of node life cycles.

Chaining of (a) conventional chain routing algorithm and (b) the proposed algorithm.
Figure 3 shows life cycles of WSN under different threshold distances. At low node densities, the node density has negligible effect on the optimization effectiveness; at high node densities, the threshold distance designed without node density taken into consideration may not lead to appropriate chain structures, resulting in data transmissions between multiple nodes and one specific node and increased frequency of node relocation. As a result, the communication energy consumptions are increased. The threshold distance for long chains is determined based on average distance and node density to minimize data concentration and ratio of long chains.

Life cycles of WSN under different threshold distances.
Figure 4 summarizes life cycles of WSN in cases of different node distributions created by different algorithms. As observed, the number of transmission cycles in the proposed algorithm before the presence of the first dead node is significantly larger than that in conventional chain routing algorithms and asymptotically optimal back-off algorithm. As the node number increases, average life cycle of WSN in the proposed algorithm was 10% larger than that in conventional chain routing algorithms, indicating that the chaining mechanism of the proposed algorithm reduces probability of long chains and balances size of data processed by each node, thus balancing residual energy of each node. Therefore, it can be concluded that the proposed algorithm can extend life cycle of WSN.

Life cycles of different algorithms.
Figure 5 shows the effects of the quantity of active nodes on the collision probability. As observed, the collision probabilities in all three algorithms increased with the quantity of active nodes. At quantity of active nodes below 15, the of conventional chain routing algorithm exhibits minimum collision probability; At quantity of active nodes above 23, the proposed algorithm exhibits minimum collision probability and the collision probability in the proposed algorithm increased at a negligible rate as the quantity of active nodes increased, while the collision probabilities of the other two algorithms increased drastically. This indicated that the proposed algorithm can effectively reduce the collision probability.

Effects of quantity of active nodes on collision probability.
Figure 6 shows the effects of the quantity of active nodes on the access delay. As observed, the increasing rate of access delay in conventional chain routing algorithm was higher than those of asymptotically optimal back-off algorithm and the proposed algorithm. The access delay of the proposed algorithm increased at a relatively low rate as the size of back-off window can be dynamically adjusted in the proposed algorithm, thus reducing network slots.

Effects of quantity of active nodes on access delay.
A novel chain routing algorithm of wireless sensor based on adaptive back-off adjusted medium access control is proposed to improve routing performances of WSN. Herein, dynamic transmission attempt rates were employed: each node in the chain sends slot applications to the node first-in-chain according to its specific conditions, the node first-in-chain releases decision and adjust the time frame length, and the optimal transmission back-off time of undetermined frames according to the quantity of active nodes. In this algorithm, WSN performance indices were proposed by combining area coverage, transmission distance, and residual energy, quantity of collision events and transmission attempt rates were calculated using the adaptive back-off adjusted medium access control, and a chain routing algorithm was established. Additionally, key factors affecting the proposed algorithm were investigated using experimental tests and numerical simulations. The results indicated significant advantages of the proposed algorithm in chaining efficiency, life cycle of nodes, and delay.
Footnotes
Acknowledgments
This work is supported by Special Funds of Applied Science & Technology Research and Development of Guangdong Province, China (Grant:2015B010128015), and Natural Science Foundation of Guangdong Province, China(Grant:2017A030307027).
