Abstract

Routing in wireless sensor networks (WSNs) is an extremely challenging issue due to the features of WSNs. Inspired by the large and single-celled amoeboid organism, slime mold Physarum polycephalum, we establish a novel selecting next hop model (SNH). Based on this model, we present a novel Physarum-based routing scheme (P-bRS) for WSNs to balance routing efficiency and energy equilibrium. In P-bRS, a sensor node can choose the proper next hop by using SNH which comprehensively considers the distance, energy residue, and location of the next hop. The simulation results show how P-bRS can achieve the effective trade-off between routing efficiency and energy equilibrium compared to two famous algorithms.

1. Introduction

Wireless sensor networks (WSNs) are a class of wireless ad hoc networks which consist of a set of sensor nodes and aim at several applications, such as industrial sensing and control and environment monitoring [1]. Each sensor node is a low-cost, short range wireless transceiver typically equipped with a low-computation processor and a battery operated power supply. Under many cases, sensors need to work without battery replacement for several years. Thus, there are two questions needing to be considered. One is how to achieve the energy balance of sensor nodes to avoid the emergence of energy hole which commonly occurs around the , since the data traffic follows a many-to-one communication pattern and nodes nearer the have to take heavier traffic load. The other is how to obtain high routing efficiency under multihop transmission circumstance, since WSNs can contain hundreds of such low-cost sensor nodes. Therefore, designing such networks should primarily focus on both routing efficiency and energy equilibrium in terms of trade-off.

Location-aware routing protocols seem to possess high routing efficiency. However, there are two extremes in location-aware routing, the greedy strategy and the robust strategy. Greedy strategies may suffer failures to route packets to destination, while robust strategies need very high flooding rates to ensure reliability and rapid delivery of data. Thus, many location-aware routing protocols are mostly to propose methods to overcome the mentioned drawbacks. GPSR [2] is a famous greedy routing protocol, which makes greedy forwarding decisions using only information about a router's immediate neighbors. Sivrikaya et al. [3] propose randomized routing based on Markov chains to balance the load and routing performance. Kuhn et al. [4] utilize face (or perimeter) routing to go around voids in the topology. Bai et al. [5] present a routing algorithm which routes the connections in a manner that link failure does not shut down the entire stream but allows a continuing flow for a significant portion of the traffic along multiple paths to address the issues of reliability and energy efficiency. Trajcevski et al. [6] present heuristic approaches to relieve some of the routing load of the boundary nodes of energy holes in location-aware WSNs. Wang and Syue [7] propose a relay selection protocol based on geographical information, in which multihop transmission is realized by concatenation of single cluster-to-cluster hops.

The energy-aware routing attracts more attention of researcher than location-aware routing for the significance of energy. For maximizing the network lifetime, Rao and Fapojuwo [8] present a battery-aware distributed clustering and routing protocol which incorporates the state of the battery’s remaining charge and health parameters in computing the charge utility metric at each cluster formation round. Trajcevski et al. [9] construct a data aggregation tree that minimizes the total energy cost of data transmission. By allowing the battery to rest for certain duration, without being subjected to heavy loads, Chau et al. [10] consider that a portion of the lost charge can be recovered due to the battery's recovery effect and present a battery model. A battery-aware power allocation model was studied in [11] for a single-hop transmission scheme to balance the network energy consumption based on the nonlinear battery parameters proposed in [12].

In recent years, bio-inspired technology has been concerned by researchers [1315]. We draw the inspiration from the slime mold Physarum polycephalum which is a large and single-celled amoeboid organism. Nakagaki et al. [16] validate physarum which is apparently able to solve shortest path problems by constructing a maze. Tero et al. [17] use physarum forms of a network with comparable efficiency, fault tolerance, and cost to those of Tokyo rail system. Tero et al. [18] propose a mathematical model for the behavior of physarum and argue extensively that the model is perfect. We migrate the physarum foraging model to wireless networks to develop physarum-based routing algorithms through dimensionless analogy analysis [19, 20].

Based on our prior works [1923], this paper focuses on how to choose the proper next hops to transmit data to the in thinking of both routing efficiency and energy equilibrium, which is partially same to GEAR [24], other than only depending on the remaining energy [25]. The rest of this paper is organized as follows. Section 2 formulates the bio-inspired model. Section 3 proposes the P-bRS routing scheme. Section 4 evaluates our P-bRS by simulations. Finally, the conclusion is presented.

2. System Models

2.1. Typical WSNs Scenario

This paper considers large multihop WSNs which consist of static sensor nodes and a mobile node, and the sensor nodes are distributed uniformly in a two-dimensional space. We assume that (1) all sensor nodes are aware of their locations, which may be achieved through GPS receivers or other methods; (2) each sensor node is aware of its energy residue; and (3) the node moves along a certain orbit in the field and broadcasts periodically its current positions.

In WSNs, each node has a fixed circular transmission range which determines the set of sensors in which each node can communicate with node in one hop. We abstract such WSNs using a graph , where each node represents a sensor and each edge represents the existence of one-hop wireless link between two sensors. An example of WSNs' topology is shown in Figure 1.

The transmission range of is drawn as a dashed circle whose radius is and center is . We call the angle to be the angle of deviation, which represents a measurement of the next hop deviating from the . The Euclidean distance of any two nodes and the angle can be calculated following (1) and (2), respectively. Consider where and are the coordinates of nodes and , respectively.

If the node needs to transmit data to the , it will select its next hop in the dashed circle. However, the nodes in semicircle far from the are apparently inappropriate to be chosen as the next hop. Usually, we choose the next hop in the semicircle nearer to the . Obviously, the smaller the angle is, the closer the next hop is to the . Therefore, we are apt to choose the node whose is smaller as the next hop. In order to simplify discussion, we define the , , and as the sets of neighbors (the nodes in the dash circle in Figure 1), far neighbors (the nodes in the left dash circle in Figure 1), and near neighbors (the nodes in the right dash circle in Figure 1), of node , respectively, where , , and satisfy and .

In addition, acquiring energy residues of neighbors is important for choosing next hop to balance the energy of sensor's nodes. We think of the basic theory of wireless transmission combing with Figure 1. If node transmits a group of data to , all of the nodes in would receive the wireless radio and check the packet header. The node matches the field and receives the packet. Other nodes mismatch the field , then ignore the packet, and go on sleeping.

In order to acquire the energy residue of neighbors, we add a new field to the packet header. When node transmits a group of data to , all of the nodes in extract the fields of and from the packet header and save in local memory according to field . Then, the node matches the field and receives the packet. Other nodes mismatch the , then ignore the packet, and go on sleeping. Since each node needs to listen in real time to every packet and try to match its field , only adding an operation of saving would not add a considerable effect on energy consumption. Therefore, we neglect the cost of acquiring energy residue of neighbors.

When the moves along the certain orbit, it broadcasts periodically its current positions, as shown in Figure 2. Thus, the sensor nodes can achieve the current position of the in real time. When a sensor node needs to send data to the , it can calculate the following by the mode in Figure 1.

2.2. Selecting Next Hop Model Based on Physarum

In this section, we draw a selecting next hop model (SNH) based on physarum foraging mechanism. From paper [18], the flux through each plasmodial tube is as follows: where is the difference of pressures, is the viscosity of the fluid, and is a measure of the conductivity of the tube.

Physarum forages for distributed food sources through adapting the adaptive behavior of the plasmodium. Consider where is a decay rate of the tube and is a monotonically increasing continuous function satisfying . Since (3) and (4) come from fluid dynamics and cannot be directly used in WSNs, we should discuss how to migrate (3) and (4) to WSNs.

Firstly, we discuss the replacement of physical quantities in (3). Because the is an inherent characteristic of the tube, we replace the by an inherent physical quantity of wireless link-link quality . Since the meaning of is the same as that in fluid dynamics, its meaning remains in our model. The replacement of is rather complex. If flux (e.g., fluid or data packet) wishes migrate from source to destination passing by two other nodes, the fluid tends to flow through the node with lower pressure in fluid dynamics, while data packet should be relayed by the node with higher energy residue and lower angle of deviation. Therefore, we replace the of node by , so does of node . Since is the base pressure, we replace by through omitting . Using (3), we have where is the virtual flux of communication through the wireless link ; is the link quality; is the energy residue of node ; is the Euclidean distance of nodes and ; is the angle of deviation and its range is ; is a proportional coefficient which is used to adjust the weight of and .

Because of the same characteristic of each node, we suppose that the of each link is the same and ignore it to simplify discussion. Thus, we have

Secondly, we analyze the adaptive behavior of plasmodium referring to Figure 3(b), where two food sources are connected by two tubes. Because and , the flux will be greater than from (3). Note that and are kept constant throughout the adaptation process in contrast to . Therefore, the adaptive behavior of plasmodium is fulfilled by the evolution of . In WSNs, node chooses the next hop form candidates as shown in Figure 3(a). Because    and are kept constant, and    and are different and time-varying, we can achieve the adaptation by the evolution of . Supposing that , we have where is a decay rate of and is a constant satisfying . We call (7) SNH and use it to determine the next hop in our P-bRS; namely, we choose the node with the largest as the next hop.

3. P-bRS Routing Scheme

3.1. Data Structure in P-bRS

In this section, we introduce the data which should be conserved in each node. Each node needs to conserve the following information: , , , , and , where node is the previous hop of node , represents the stored in node , and represents the stored in node . As our WSNs are location-aware, the , , and are easily acquired following (1) and (2). Note that the nodes in our WSNs are fixed, and we only need to calculate the once at WSNs deployment time. For the difference between and , we normalize to . Therefore, we obtain

3.2. Routing Scheme Algorithm

If node needs to send data to the , it searches for a routing in the following method.

Step 1. Receive the positioning information of the node, and then calculate each and .

Step 2. Divide each node into or based on the positioning information of the node.

Step 3. Calculate each following from (9), where , , and are acquired by node beforehand.

Step 4. Each node is saved into a temporary array variable in descending order by .

Step 5. The first node in is picked as the next hop of the routing.

Step 6. If the next hop of node satisfies , namely, there is an energy hole in WSNs, the node will not send to . Then, the node will trigger a specific processing routine.

Step 7. If , node will choose the node as the next hop. Then, the regular processing routine is going on.

Step 8. Otherwise, each is calculated following (10) and the nodes are saved into the in ascending order by . Then, the first node in is chosen as the next hop of the routing and the regular processing routine is going on. Consider where is the angle of line and line . Equation (10) indicates that it tends to choose a node which sharply deviates from the node as the next hop to avoid entering the energy hole again.

Step 9. The process is repeated, like a rolling wheel, until the is found.

3.3. Algorithm Analysis

In this section, we analyze the feasibility of SNH by mathematical theoretical analysis. We study cases in which two nodes connected to the same node compete to be the next hop, as shown in Figure 3(a).

There are four nodes , , , and . For simplicity, we hereafter replace , , , , , and by , , , , , and , respectively. In multipath routing, the virtual fluxes along each path are calculated as follows:

Since and are nonnegative, adaptation equation (7) becomes

Setting , , and , we have

From (13), we obtain

From (13) and (14), we obtain

Similarly,

Namely, equilibrium point is given by . We perform the simulation by setting the parameters , , , and following from (13), and the visualization of the solutions is shown in Figure 4, where point is the equilibrium point of two curves. Therefore, the routing of WSNs will reach equilibrium with our SNH, which is very important to a routing strategy.

4. Simulation Results

We design a simulation platform using C++ to validate P-bRS. In the simulation, 400 sensors are relatively regularly deployed in the field of 200 m × 200 m, and the node is deployed the right of the field, as shown in Figure 5. The sensing radius of each sensor is 30 m, the original energy of each node is 100, and the energy of the node is inexhaustible. We suppose that the energy consumption of one transmission is 1, if the transmission distance is 20 m. Therefore, the energy consumption of one transmission of two nodes and is .

In order to validate the energy equilibrium, we only choose the nodes in the center or peripheral simulation field (enclosed by red dashed circle or two red dashed rectangles in Figure 5) to transmit data to the . If a chosen node transmits a group of data to the , the P-bRS is used to choose next hops until the is found, which is called a . This iterative process will halt after rounds until WSNs break down. We run GPSR, GEAR (, where we use to replace which is used in [24] to bring into correspondence with P-BRS) and P-bRS () 10 times, respectively, to acquire their average value and compare them. If the distance between the nodes and the is less than 30 m, we set the nodes to directly transmit data to the to quicken convergence of P-bRS, and the energy consumption is set to 1.

4.1. Energy Equilibrium of P-bRS

Figure 6 illustrates the lifetime of WSNs. In GPSR, the first dead node emerges in round of 406, and the WSNs break down in round of 1857. In GEAR (), the first dead node emerges in round of 1955, and the WSNs break down in round of 3042. In P-bRS (), the first dead node emerges in round of 2284, and the WSNs break down in round of 3351. In GEAR (), the first dead node emerges in round of 3462, and the WSNs break down in round of 4043. In P-bRS (), the first dead node emerges in round of 3524, and the WSNs break down in round of 4108. Therefore, the lifetime of GEAR () is 63.8% longer than that of GPSR; the lifetime of P-bRS () is 10.2% longer than that of GEAR (); and the lifetime of P-bRS () is 1.6% longer than that of GEAR (). From Figure 6, we can differ that whether considering energy residue of next hops or not will impact on the lifetime of WSNs greatly; in energy balanced WSNs, the time period is very short from emerging dead nodes to networks breaking down, because all nodes reach exhausted status of energy in same time period.

Figure 7 illustrates the dead nodes distributions of GEAR () and P-bRS () in the rounds of 2750. The results show that P-bRS () has much less dead nodes than GEAR (). We can also differ that the dead nodes of both algorithms are converged on a specific field but not spread around the entire range of WSNs, which is useful in deploying such WSNs to prolong the lifetime through rationally deploying the specific field.

4.2. Efficiency of P-bRS

Figure 8 illustrates the number of hops that the different algorithms need in different rounds of transmission. By calculating, the average hops of GPSR, GEAR (), P-bRS (), GEAR (), and P-bRS (), are 9.7, 12.2, 11.1, 14.8, and 13.3, respectively.

In the case of , the average hop of P-bRS is 14.4% more than that of GPSR, and the hop of GEAR is 25.8% more than that of GPSR. Combing with Figure 8, the increment of average hops of 14.4% will lead to the increment of lifetime of more than 70% from GPSR to P-bRS, while the increment of average hops of 25.8% will only lead to the increment of lifetime of more than 60% from GPSR to GEAR. Therefore, the P-bRS is more efficient in balance of routing efficiency and energy equilibrium than GEAR.

In the case of , the average hop of P-bRS is 37.1% more than that of GPSR, and the hop of GEAR is 52.6% more than that of GPSR. Combing with Figure 6, the increment of 14.4% of average hops will lead to the increment of about 70% of lifetime from GPSR to P-bRS (), while the increment of 19.8% of average hops will only cause the increment of 22.6% of lifetime from P-bRS () to P-bRS (). That is to say, the larger is, the smaller the increment of impacts on lifetime of WSNs. Therefore, it is improper to set a larger , so does GEAR.

5. Conclusion

The physarum forages for patchily distributed food sources through accommodating its body to form networks with comparable efficiency, fault tolerance, and cost. We draw inspiration from the physarum model and improve it to suit the routing choice for WSNs. The P-bRS algorithm can deal with the trade-off between routing efficiency and energy equilibrium in WSNs, which greatly reduces the processing delay and saves the energy of sensors. Based on the simulation results, we discuss the P-bRS's performance. In future work, we consider introducing actual mobility model of nodes into P-bRS to make it fit in with mobile WSNs. Moreover, we consider the model may also provide a useful help to develop the routing protocols in other networks, which will be our future focus.

Conflict of Interests

The authors declare that there is no conflict of interests regarding the publication of this paper.

Acknowledgments

This work is partially supported by the National Natural Science Foundation of China (NSFC), under Grant nos. U1204614, 61142002, 61003035, and 61370221, and by the key project of the Education Department Henan Province under Grant no. 14B520031, and by Key Project of Science and Technology Department of Henan Province under Grant no. 112102210187, and by the Plan for Scientific Innovation Talent of Henan Province under Grant no. 124100510006.