Skip to main content
Sensors (Basel, Switzerland) logoLink to Sensors (Basel, Switzerland)
. 2019 Apr 16;19(8):1817. doi: 10.3390/s19081817

An Optimized Node Deployment Solution Based on a Virtual Spring Force Algorithm for Wireless Sensor Network Applications

Xiaohua Deng 1, Zhiyong Yu 1, Rongxin Tang 1,2,*, Xin Qian 3, Kai Yuan 1, Shiyun Liu 4
PMCID: PMC6515534  PMID: 30995778

Abstract

How to effectively deploy all wireless sensors and save a system’s energy consumption is a key issue in current wireless sensor network (WSN) applications. Theoretical analysis has proven that a hexagonal structure is the best topology in the two-dimensional network, which can provide the maximum coverage area with the minimum number of sensor nodes and minimum energy consumption. Recently, many scientists presented their self-deployment strategies based on different virtual forces and discussed the corresponding efficiency via several case studies. However, according to our statistical analysis, some virtual force algorithms, e.g., virtual spring force, can still cause holes or twisted structure in a small region of the final network distribution, which cannot achieve the ideal network topology and will waste the system energy in real applications. In this paper, we first statistically analyzed the convergence and deployment effect of the virtual spring force algorithm to derive our question. Then we presented an optimized strategy that sensor deployment begins from the center of the target region by adding an external central force. At the early stage, the external force will be added to the most peripheral nodes to promote the formation of hexagonal topology and avoid covering holes or unusual structure. Finally, a series of independent simulation experiments and corresponding statistical results proved that our optimized deployment solution is very stable and effective, which can improve the energy consumption of the whole sensor network and be used in the application of a large scale WSN.

Keywords: wireless sensor network, virtual spring force, hexagonal topology, pair correlation diversion, energy consumption

1. Introduction

With the rapid development of 5G and IoT technologies, wireless sensor networks get much more attention in our life and have real applications in many fields, such as industrial robot, environmental exploration, military monitoring and human health etc. [1,2,3,4]. However, in some dangerous or inconvenient environments, like underwater or disaster areas, it is very necessary for self-deployment solution to satisfy the requirement of precise measurement. As for a wireless sensor network, how to effectively readjust sensor locations via self-deployment strategy to achieve an ideal coverage with minimum sensor nodes has already become a hot topic in recent years [5]. Many scientists focused on it in two-dimensional plane or three-dimensional space environment applications [6,7].

Generally, the well-accepted optimal topology of a two-dimensional sensor network is regular hexagonal topology but the best topology of a three-dimensional network is still under discussion. Here we mainly focus on the two-dimensional sensor network deployment. Previous researches on 2D self-deployment can be classified into three categories: the methods based on virtual physics model, the methods based on computational geometry and the methods based on biogeography. In terms of the virtual physics model strategy [8,9], it looks the sensor node as an electron or molecule so that all nodes move toward to each other by their virtual forces or potential fields. However, the topology of their overall network is relatively dense in the center and is sparse in the edge due to some physical reasons. According to the computational geometry-based approach [10,11,12,13], nodes readjust their positions by virtual force generated from adjacent nodes which satisfy a certain geometric condition. As for the method based on biogeography [14,15,16], nodes readjust their positions by simulating biological habits. It is also hard to achieve ideal hexagonal network.

However, in previous virtual force algorithm papers, most of the simulations verifying their deployment methods have been single and not universal [8,9,10,11,16,17]. For example, based on our retests in virtual exchange force [10,11], spring force [17], Van der Waals forces [8], and dusty plasma crystallization [9] algorithms, the experiments may have different deployment effects due to different initial sensor network even using the same simulation parameters. Therefore, in this paper, this is the first time to use a large number of experiments to statistically study the validation and stability of virtual force algorithm.

Here, we choose a virtual spring force algorithm which belongs to the above second category to obtain the optimization strategy since it has low complexity and fast convergence rate. Most of the previous self-deployment works based on the virtual force algorithm have a little bit imperfect region that includes coverage redundancy or omission [9,11,17]. This is a common case in many deployment solutions [8,10]. It is not difficult to understand that all sensor nodes are moving at the same time, which may cause the sensors in the outer region to reach a stable topology first. However, the number of sensor nodes in the inner region is not exactly the same with the hexagonal topology and has to form some twisted structure or leave a hole there. Our statistical analysis clearly demonstrates this disadvantage and instability.

In order to solve the above problem, we adopt an optimization solution that node deployment begins from a center region by adding an external force to the most peripheral nodes of the network. Other sensor nodes are gradually involved to promote the perfect formation of hexagonal topology. It turns out that the shift from global computation and deployment to centrally preferred deployment is very stable and effective. Further statistical analysis also showed that all the wireless sensor networks, no matter what the initial distribution is, finally yield perfect hexagonal topology. The optimized redeployment can work for non-standard deployment cases. In addition, the calculated moving distance indicates that this new optimization algorithm yields lower energy consumption than the original virtual spring force algorithm.

Node location will affect the calculations of node velocity and acceleration so that location accuracy is important in common virtual force algorithms. Our optimized method is a valid algorithm which presents a possible node deployment strategy in WSN applications, which theoretically provides a hexagonal structure in the two-dimensional network with the maximum coverage area and the minimum number of sensor nodes. As the rapid development of unmanned aerial vehicle (UAV) in environment monitoring or space exploration, such us desert, deep space or deep sea applications etc., the high accuracy of node location may become important in the near future since a large-scale WSN can save many resources based on the precise node deployment. Furthermore, our algorithm can provide a perfect hexagonal topology which can be used to improve other self-deployment methods and achieve a hybrid optimization.

The rest of this paper is organized as follows. Section 2 describes the fundamental theory of virtual spring force algorithm. Section 3 gives the system performance evaluation based on pair correlation diversion method, the simulation environment and scenarios. Then it presents main numerical parameters, detailed simulation results, statistical analysis of 100 independent experiments to prove the validation of VFA-SF and to demonstrate its disadvantage and instability. Furthermore, our optimization strategy (VFA-SF-OPT) is shown in Section 4. We retested all 100 experiments and the final node distributions are perfect hexagonal network topology. In addition, the comparison of system energy consumption also indicates that VFA-SF-OPT is better than the original VFA-SF. Conclusions are summarized in Section 5.

2. Virtual Force Algorithm Inspired by Spring Force

Virtual force algorithm is one of the most popular mechanisms for node deployment in wireless sensor network applications, in which sensors move by the virtual force determined by the relative position of neighboring nodes and the presence of an event. In this section, we present an algorithm inspired by virtual spring force (VFA-SF).

It is assumed that all sensors have identical capabilities of sensing, communication, computation and mobility. A sensor can communicate with any other sensors within the communication range Rc. And they can monitor the region and collect data within the sensing range Rs. If the sensor network have been deployed to the perfect hexagon topology, the distance between two neighbor nodes becomes Dm=3Rs. In order to communicate with the neighbor nodes, the communication range of every sensor must be greater than 3Rs. Furthermore, each sensor is capable of moving by itself and detecting its own location by some method (e.g., the GPS, or iterative multilateration [18]).

Then, at the beginning, all N nodes in a wireless sensor network were randomly deployed in the target region whose area is S and the center is located at (0,0). The location of each sensor ni(i=0,1,...,N-1) is given by a vector xi(t) (xi(t) also indicates the position of node i at time t). The vector dij(t) indicates the distance between node i and node j at time t.

The spring force was chosen as the core of the “virtual force” [18]. The force on node i at time t is driven by the Newton motion law:

md2xi(t)dt2=Fi(t) (1)

where m is the mass of a sensor node and Fi(t) is the resultant force. Fi(t) can be defined as the sum of three components:

Fi(t)=Fie(t)+Fif(t)+Fice(t) (2)

where Fie(t) is the virtual spring force, Fif(t) is the friction force (also call it damping force), and Fice(t) is the centripetal force.

Generally, spring forces are established between pairs of sensor nodes if one node has no any other nodes in the upper and lower 60 degree sectors with another node and their distance is smaller than Rc. Here, we use xij(t)=(xj(t)-xi(t))/dij(t) to calculate the normalized vector from node i to j. If the set of possible node j acting with virtual forces on node i (dij(t)<Rc) is expressed by Φi(t), the corresponding total spring force of node i is

Fie(t)=jΦi(t)κ(dij(t)-Dm)xij(t) (3)

where κ is a spring coefficient.

The damping force Fif(t) is defined as

Fif(t)=-min(γ0x0(t),Fie(t)+Fieυ(t)),whendx0(t)/dt=0-γdxi(t)/dt,otherwise. (4)

This damping force is to reduce the elastic potential energy of the whole network and accelerate the convergence of the node deployment so that the damping parameter γ has great influence on the deployment solution. Once the damping of spring oscillator is absent, the oscillator should work in a simple harmonic vibration state, and ω0 is the natural vibration frequency. However, in order to deploy a WSN system quickly to an equilibrium state with small systematic energy consumption, a suitable damping parameter must be found.

Let κ/m=ω02 and γ/m=2β where β is the real vibration frequency and related to the damping effect. Usually, larger β corresponds to a larger damping force. A new quantity ε is defined as ε=γ/(2κm). Figure 1 shows the vibration of the spring movement under different damping conditions. If the spring oscillator has no damping, it would work in a simple harmonic vibration state (dashed blue). The red dotted line and the dashed green line present the spring oscillator under damping and over damping, respectively. When ε=1 and β=ω0, the sensor network operates in critical damping condition (solid black). The elastic potential energy is decreasing by the damping force and the system would converge quickly to an equilibrium state without unnecessary vibration or energy consumption. Under this circumstance, the value of parameter γ is theoretically optimal and γ=2κm.

Figure 1.

Figure 1

Spring vibration under different damping.

The centripetal forces is defined as

Fice(t)=-Fcentri×xi(t) (5)

which is only an external auxiliary force added on each sensor node. With the centripetal force, sensors will move closer to the region center and always return to the sensor networks. It has an inward transition effect, which means one inner sensor node is subject to the sum of its own centripetal force and the centripetal force of the sensor nodes outside the sensor network. Therefore, the Fcentri constant must be much smaller than the spring force so that it will not affect the main virtual algorithm. Once a wireless sensor networks has been deployed to the final hexagon topology, this force would be released in the algorithm.

3. Simulations and Statistical Analysis for VFA-SF

3.1. Performance Evaluation of the VFA-SF

In the present study, a novel performance metric based on the pair correlation function within the crystalline structure was introduced to evaluate the topology of the sensor network. The pair correlation function g(r)=(N(r,Δ)S)/(2πrΔN) within the network structure represents the probability of finding two nodes separated by a distance r where S is the area of coverage, N is the number of sensor nodes contained in S, and N(r,Δ) indicates the number of nodes located between r-Δ/2 and r+Δ/2. Therefore, the pair correlation diversion is

δ(Ω,ΩH)=0rTgΩ(r)-gΩH(r)2dr0rTgΩH(r)2dr, (6)

where Ω is the network topology to be analyzed, ΩH is the perfect hexagonal topology, and rT is the bound of the radial distance.

The pair correlation diversion (PCD) provides an objective metric for evaluating virtual-force algorithms. It quantitatively analyzes the proximity from any network topology to a perfect hexagonal configuration [9,11]. This metric can indicates the uniformity of the sensor network. Moreover, it can also be used to characterize the convergence rate of any virtual-force algorithm. The slope of the pair correlation function curve, as a function of the simulation steps, indicates how fast the virtual force algorithm converges.

For a wireless sensor network, when the value of δ(Ω,ΩH) is small, the network coverage topology approximates a hexagonal structure. Generally, a perfect deployment solution will have a PCD value of 0. In addition, the convergence rate can be obtained according to the decrease of PCD curve. When a network reaches its steady state, the PCD value should also become stable.

3.2. Simulation Descriptions of the VFA-SF

We set the number of sensor nodes N=500 in the target region. Therefore, the coverage area by each sensor as a hexagon cell is Shexagon=(33)/2Rs2 and the total coverage area of the perfect hexagon topology is Sperf=N×(33)/2Rs2.

The mass of each sensor is normalized to m=1 since the sensor can be seen as a particle without considering the hardware design and mechanical parts in this algorithm. The sensing radius Rs=1 which is a normalized radius depending on different wireless sensor. If the real sensing radius of one sensor node is greater, the final coverage of the whole wireless sensor network is larger. We set spring coefficient κ=15 and Fcentr=0.005, which corresponds to Dm=3, γ=4κm=7.75.

The communication radius Rc is also a normalized value. Generally, the communication range of one sensor is limited, but it is necessary to ensure that the adjacent sensor nodes can communicate with each other. Based on the topology of a perfect hexagonal network, the distance between two adjacent nodes is 3Rs. Rc must be larger than 3Rs. Furthermore, the communication radius can be used to shield the nodes with a longer distance in the virtual force algorithm. Only the nodes inside the Rc will be involved in the VFA-SF algorithm. In this paper, we set Rc=3Rs=3 which means only the spring forces from closest neighbor nodes are calculated for the total force, acceleration, velocity, etc. We think this a reasonable ratio which reader can find the appropriate wireless sensor for real field test.

Here are the detailed process of the VFA-SF:

  • (1)

    Initially, the 500 sensor nodes were randomly scattered in a circular area;

  • (2)

    By selecting adjacent nodes through hexagonal relation and shielding distance Rc=3, virtual spring force will be generated between neighboring nodes.

  • (3)

    Perform the following steps for all nodes in a loop: (a) calculate the sum of all virtual spring forces of node i; add resistance and centripetal force, and calculate the acceleration ai of node i at time t according to the Newton’s motion equation; (b) The velocity vi and position coordinate ri of node i at t+dt are obtained.

  • (4)

    Repeat (2) and (3), and update the coordinate, speed and acceleration information of each node every dt time step until the whole network is relatively stable.

In this paper, we used a computer with i7-6700@3.4GHz CPU and 8G memory and run our code in Microsoft Visual C++ 2012 to achieve the virtual force calculation. Corresponding time step in the simulation tools is dt=0.08 s. Then the PCD performance in a circular area with a radius of 19 was evaluated every 5 time steps. It includes almost all sensor nodes and is very convincing to evaluate the overall network topology. The total calculation time (5000 time steps) for a 500 nodes network only needs about 45 s.

3.3. Statistical Analysis for VFA-SF

Figure 2 presents one perfect deployment case by using VFA-SF. At the beginning, all sensors are randomly deployed around the center of a target area, and the initial distribution area Sinit=0.7Sperf [11], as illustrated in Figure 2a. The red dot represents the sensor node, and the blue circle represents the sensing radius. Once the computation based on the algorithm completed, the randomly deployed sensors became organized, which yields good network and coverage, as shown in Figure 2b. Figure 2c shows the corresponding variation of pair correlation diversion in this case. The PCD value drops from 0.91 quickly and finally decrease to 0, which means that the VFA-SF has very good convergence rate and the final distribution should be a perfect hexagon structure. In order to visually compare the difference between the final deployment and the perfect hexagon topology, the Voronoi diagram [19,20] and the Delaunay triangulation [21,22] for the final network configuration were employed, which are illustrated in Figure 2d. The green lines clear show the triangular tessellation generated by Delaunay triangulation, and the blue lines generated by Voronoi diagram present the network structure. The similarity with regular hexagon topology is obvious (more intuitively). In summary, Figure 2 demonstrates the validation of the original virtual spring force algorithm.

Figure 2.

Figure 2

(a) Initial node distribution; (b) Final node distribution; (c) corresponding variation of pair correlation diversion as a function of time; (d) final network topology represented by using Delaunay triangulation method and Voronoi diagram.

In order to evaluate the detailed effect of this VFA-SF algorithm, ten random cases with different initial distributions are independently checked, and the corresponding variations of PCD values as a function of time are shown in Figure 3. It is very clear that different initial sensor distribution can cause different final deployment results despite all the parameters involved in the simulation being identical. Their convergence time also depends on the initial distributions. It appears that the final deployments are still unstable and the PCD value somehow varies depending on the computation time.

Figure 3.

Figure 3

The pair correlation diversion as a function of time from ten independent initial distributions.

Based on our experiments, the deployment effect of the final sensor network could be classified into three categories, as illustrated in Figure 4. When the final deployment is perfect to regular hexagonal topology, like Figure 4a, the PCD value converges quickly and is below 0.05; when the final deployment with a hole or node missing, like Figure 4b, the the PCD value converges but still varies between 0.05 and 0.2; when the final deployment with some twisted balance, like Figure 4c, the PCD value is above 0.2.

Figure 4.

Figure 4

Three typical deployment results for final sensor network topology from VFA-SF: (a) perfect network to regular hexagon topology; (b) final network with hole marked by red circles; (c) final network with some twist balance marked by red ellipse; (d) corresponding PCD value of these three simulations experiments.

Furthermore, in order to statistically test the stability of the original VFA-SF algorithm, 100 simulation experiments have been carried out. The 2D contour plot of the PCD values of these 100 cases is shown in Figure 5. Clearly, the original VFA-SF has poor stability after deploying all sensors to a final configuration. Most of the cases can converge quickly but some of them still have fluctuating PCD value above 0.1. The detailed network topology during the VFA-SF process for every case is analyzed. The numbers of cases for different range of PCD value at the 5000th time step are listed in Table 1.

Figure 5.

Figure 5

2D contour plot of PCD values as a function of time step for 100 independent simulation experiments of VFA-SF.

Table 1.

The statistical analysis of final PCD value from 100 independent experiments.

PCD Value 0∼0.05 0.05∼0.1 0.1∼0.15 0.15∼0.2 0.2∼0.25 025∼0.3 0.3∼0.35 >0.35
Number of cases 40 5 5 14 6 18 6 6

There are 40 cases with final PCD values between 0–0.05. 20 experiments have been deployed to perfect hexagonal network and the PCD values are 0. Another 20 experiments with the PCD value close to 0.05 can obtain very good hexagonal deployment in most central area of the target region (within the radius =19) but only had somewhat lacking at the edge of the sensor network. That means VFA-SF has nearly 40% possibility to achieve the perfect hexagonal topology.

As for another 60% possibility with PCD value above 0.05, the sensor network topology always has some holes or twisted balance during the deployment process. A noticeable issue is that the PCD value is related to the location of non-regular hexagon topology. If the imperfect hexagonal structure (hole or twisted cell) is closer to the center of the target region, the PCD value will be larger. Instead, if the imperfect deployment is closer to the edge of the whole sensor network, the PCD value will be smaller.

4. Further Optimization and Simulation Results

In this section, the VFA-SF algorithm is further optimized to achieve stable node deployment into perfect hexagonal topology, which is denoted as VFA-SF-OPT. The detailed simulation results are shown as verifications.

4.1. Optimization Strategy

In the original VFA-SF, the self-deployment process calculates the spring forces, positions and movements for all nodes at each time step. It may lead to the prior formation of a stable hexagonal structure in some subregions, but these subregion can still connect with sensors without exact number as a hexagon so that the deployment results in a hollow or distorted balance. It is difficult to avoid such situation while the algorithm is applied in a large spatial scale.

Since the node deployment in central region is more important than that near the edge, an optimized VFA-SF strategy is proposed here, in which the process begins from the central region. Other sensor nodes in the external region are gradually added to the deployment calculation. At the early stage of deployment, we add an external force Fextern, whose direction points to the center (0,0), to the most peripheral nodes of the wireless sensor network. It will promote the formation of perfect hexagon topology and effectively avoid holes or twisted balance.

The external force should have the following characteristics: (1) it is always applied to the outermost node of the sensors participating in the deployment algorithm; (2) due to the spring effect, the external forces acting on the most marginal node will be transmitted to the internal network; (3) similar to the centripetal force, external forces should be released when the network deployment is to be completed.

As shown in Figure 6, because of the shielding rule within the communication radius Rc, sensors A, B, C, D, E, F will reach a hexagonal structure only under the effect of VFA-SF. In order to calculate the critical value of external force for node A to break this equilibrium state, it is assumed that node A is the farthest node from the center region and other nodes are fixed. Because the external force only acts on the marginal nodes, the maximum spring resistance of node A comes from nodes A, B, H, and G. The parameters are consistent with the previous section: Dm=3, κ=15. An external force is added to make node A move along the line AM so that node A obtains a total spring forces affected by the length of AM, as illustrator in Figure 6.

Figure 6.

Figure 6

Spring force of sensor node A affected by the length of AM.

While the length of AM is 0.477, the spring resultant force of the node A is the largest and the spring force is 2.873 N. In fact, the direction of AM may not point to the center of the network, nevertheless, this external force always points to the center. Therefore, the critical value of external force which is able to break this balance should be larger than that of 2.873. In this section, we set the external force Fextern=3.5 N. It should be realized that it is a theoretical value, which could help to avoid holes without affecting the formation of regular hexagonal topology.

4.2. Simulation Results of Optimized VFA-SF-OPT Algorithm

According to the statistical analysis of basic VFA-SF, the PCD value can generally decrease to ∼0.4 around the 800th time step and corresponding sensor network is going to form an approximate hexagonal topology. So the distribution from VFA-SF at the 800th time step was chosen as the initial distribution of VFA-SF-OPT to go further optimization.

Figure 7 shows the detailed deployment results during the VFA-SF-OPT process. Figure 7a is the initial distribution at the 800th result of VFA-SF, which is already approximate to a hexagonal structure. Therefore, in the early stage of VFA-SF-OPT, only those sensors close to the center, like the pink circle region in Figure 7b, were involved in the optimized algorithm and successfully archived a perfect hexagonal topology. However, the network formed by other sensors outside of the pink circle is still twisted and has a clear gap with the sensors in the pink circle. As the calculation moves on, more and more sensor nodes are involved in this VFA-SF-OPT algorithm, as shown in Figure 7c. Finally, all sensors are self-deployed into a perfect hexagonal network, as illustrated in Figure 7d.

Figure 7.

Figure 7

The node distribution in VFA-SF-OPT process: (a) initial distribution from VFA-SF at the 800th time step; (b) the distribution from VFA-SF-OPT at the 600th time step where only the nodes in the pink circle participated in this optimization algorithm, as time goes on, more and more sensor nodes are involved in the deployment algorithm until they are all involved. (c) the distribution from VFA-SF-OPT at the 1200th step; (d) final distribution from VFA-SF-OPT.

In addition, Figure 8 presents the variation of pair correlation diversion corresponding to the case in Figure 7, while the dashed line indicates the 800th time step of VFA-SF. The left region clearly demonstrates that VFA-SF can self-deploy the whole sensor network into a good topology as discussed in Section 2. And then, the VFA-SF-OPT takes charge of the main process. At the early stage, the PCD value goes higher since we calculate PCD by using all sensors’ information but only those nodes close to the center region are perfectly deployed into a small hexagonal topology. There is still a gap between the sensors involved in VFA-SF-OPT calculation and those not involved. Usually, those sensors outside of the gap have coverage holes or twisted structure. Once all sensors are participating in the VFA-SF-OPT, the corresponding PCD value sharply decreases to 0.1 and finally becomes 0, which denotes a perfect hexagonal network. Figure 8 shows ten independent experiments with different initial distribution. All PCD values successfully decrease to 0 and the final results are very stable.

Figure 8.

Figure 8

The variation of pair correlation diversion corresponding to the case in Figure 7. The dashed line indicates the 800th time step of VFA-SF.

In order to further verify the effectiveness of the optimization algorithm, the previous 100 simulation experiments as the basic database were retested by the VFA-SF-OPT to start optimization from the 800th time step. Figure 9 shows the 2D contour plot for the PCD variation only from VFA-SF-OPT as a function of time step. All the PCD of those 100 optimization experiments successfully reached the values below 0.05. It verifies that our optimized algorithm is very effective. In other words, the sensor network is capable to be self-deployed into a nearly perfect hexagonal topology regardless of its initial distribution.

Figure 9.

Figure 9

The 2D contour plot for the PCD variation only from VFA-SF-OPT as a function of time step, for 100 cases used in Figure 5.

In addition, Figure 10 presents another two cases with 1000 nodes and 2000 nodes, respectively. Both VFA-SF and VFA-SF-OPT can work for node deployment in a larger WSN. Furthermore, the VFA-SF-OPT clearly has better hexagonal topology in final distribution after zooming in the panels.

Figure 10.

Figure 10

The final network distributions for 1000 sensor nodes (top) and 2000 nodes (bottom) from VFA-SF (left) and VFA-SF-OPT (right), respectively.

4.3. Energy Consumption

The comparison of system energy consumption between VFA-SF and VFA-SF-OPT is also an important index in real WSN applications. Here, the average moving distance from all nodes depending on the time step is calculated. The variations of two algorithms as a function of time step are shown in Figure 11. Table 2 lists the detailed maximum distance, minimum distance, average distance and mean square error of one sensor node in VFA-SF and VFA-SF-OPT for different time steps. All sensors move more distance at the early stage of both two algorithms since they need adjust their locations from random places to the appropriate positions. The VFA-SF algorithm always calculates the spring force and drives the node movement for all sensors at each time step so that its moving distance accumulates quickly and will cost more systematic energy consumption. On the contrary, the VFA-SF-OPT only calculates the spring force from the selected sensors in the central region so that the total movement distance gradually increases when more and more sensors involved in this optimization process. It is very clear that VFA-SF-OPT has much better effect in energy consumption since its maximum, minimum and average moving distance are smaller than VFA-SF’s estimations. Based on the comparison in Figure 11 and Table 2, it could be concluded that the VFA-SF-OPT save more system energy than the VFA-SF.

Figure 11.

Figure 11

Moving distance from VFA-SF (left) and VFA-SF-OPT (right).

Table 2.

The maximum distance, minimum distance, average distance and mean square error of one sensor node in VFA-SF and VFA-SF-OPT for different time steps.

Algorithm Time Steps Max. Dist. Min. Dist. Ave. Dist. Mean Error
VFA-SF 0–5000 10.6086 5.0186 7.0081 1.1784
VFA-SF 0–800 8.6336 2.9020 5.4846 1.1939
VFA-SF 800–1600 1.6464 0.1735 0.4947 0.1707
VFA-SF 1600–2400 0.9941 0.1747 0.4104 0.1373
VFA-SF 2400–3200 1.0669 0.1637 0.4703 0.1370
VFA-SF 3200–4000 1.0382 0.1418 0.5533 0.1818
VFA-SF-OPT 0–4200 5.4899 1.4948 2.6038 0.5719
VFA-SF + VFA-SF-OPT 800 + 4200 11.7351 5.0064 8.0883 1.3212
VFA-SF-OPT 0–5000 5.5319 1.5424 2.6454 0.5740
VFA-SF + VFA-SF-OPT 800 + 5000 11.7858 5.0172 8.1300 1.3226

5. Conclusions

In this paper, a virtual force algorithm inspired by spring force and a corresponding performance evaluation method for sensor node deployment strategy in a large-scale WSN application is proposed. The simulation experiments clearly demonstrate its validation. However, the statistical analysis still shows that only 40% of cases can lead to a perfect hexagonal network topology. For some initial node distributions, there are still holes or twisted structures in the final sensor network. The VFA-SF lacks stability.

Therefore, we introduced an external force to the VFA-SF and optimize the calculation process of virtual spring force to obtain the VFA-SF-OPT. The node deployment at the 800th time step from VFA-SF was chosen as an initial distribution of the VFA-SF-OPT, which begins to deploy sensors from the center of the target region while other sensor nodes are gradually involved in this optimization strategy. It turns out that the shift from global computation and deployment to centrally preferred deployment is very effective.

Further statistical analysis also showed that all the wireless sensor networks, no matter what the initial distribution is, could achieve a PCD below 0.05, which finally yields perfect hexagonal topology. The optimized algorithm is very stable and effective. In addition, the analysis indicates that the VFA-SF-OPT yields lower energy consumption than the original VFA-SF.

Our two algorithms only concentrates on the deployment strategy for WSN so that the sensor communication and data transmission have not been considered. The VFA-SF formula are simple to be achieved in software and repeated in the experiments after the sensor collects the positions. The algorithms can quickly obtain the coordinates, speed and acceleration information of all nodes. Then, the PCD performance evaluation is carried out every 5 time steps. As for the VFA-SF-OPT, it still has simple formula which only bring in an external central force with respect to VFA-SF. Generally, our algorithms have relatively low complexity.

Moreover, the simulation experiments revealed the potential that the VFA-SF-OPT redeployment can work for non-standard deployment cases. For example, it can start from the 100th or 500th time step of VFA-SF. This means the users can combine this optimization strategy with another kinds of virtual force algorithms to merge the advantages of two different virtual force algorithms. In some real applications, the experiment does not need to calculate 5000 time steps and the PCD performance can be estimated every 20 or 40 time steps. How to further reduce the algorithm complexity or avoid obstacles is definitely a potential interesting topic for our future work.

Our strategy gives a concept of node deployment solution for a large scale WSN. The sensor communication will affect the performance and reduce the effect of the final hexagonal topology. Therefore, in real filed tests, each sensor needs to have a high precision GPS to detect its location. After one sensor approaches its estimated position, it also should wait for a while to receive the updating information from the neighbor nodes. This may cause some time delay for the whole process. Besides, our optimized method is a theoretical analysis which provides a hexagonal sensor network with the maximum coverage area and the minimum number of sensor nodes in the target area. Therefore, the accuracy of node location is important to avoid the possible coverage hole from a sensor’s location error and save system consumption (node number or energy cost) as much as we can. If the high location accuracy can not be satisfied, it can also be solved by slightly decreasing the fixed distance 3Rs (for a perfect hexagonal topology). However, it will reduce the whole coverage area and cause some redundancy. We believe that, by choosing suitable algorithm parameters depending on the different environment requirements or application scenarios, users can further reduce the computation complexity and cut down the energy consumption for the whole system. It will probably help engineers to effectively deploy a large number of wireless sensors in the coming future.

Author Contributions

X.D. and R.T. gave the basic idea of the paper. X.D., R.T. and X.Q. designed the algorithms, experiments and analysis tools; Z.Y. performed the experiments and analyzed the data; K.Y. and S.L. participated in discussion and interpretation of the data. R.T. wrote the paper.

Funding

This research was funded by the National Natural Science Foundation of China grant number 41674144, 41727804, 41464007, the Open Projects Funding of Lunar and Planetary Science Laboratory at Must grant number 119/2017/A3 and the Educational Foundation of Jiangxi Province grant number GJJ160075.

Conflicts of Interest

The authors declare no conflict of interest.

References

  • 1.Cao B., Zhao J., Yang P., Lv Z., Liu X., Min G. 3D Multi-Objective Deployment of an Industrial Wireless Sensor Network for Maritime Applications Utilizing a Distributed Parallel Algorithm. IEEE Trans. Ind. Inform. 2018;12:5487–5495. doi: 10.1109/TII.2018.2803758. [DOI] [Google Scholar]
  • 2.Cao B., Kang X., Zhao J., Yang P., Lv Z., Liu X. Differential evolution-based 3D directional wireless sensor Network deployment optimization. IEEE Internet Things J. 2018;5:3594–3605. doi: 10.1109/JIOT.2018.2801623. [DOI] [Google Scholar]
  • 3.Luna F., Valenzuela-Valdes J.F., Sendra S., Padilla P. Intelligent wireless sensor network deployment for smart communities. IEEE Commun. Mag. 2018;56:176–182. doi: 10.1109/MCOM.2018.1700553. [DOI] [Google Scholar]
  • 4.Patil M.S.A., Mishra M.P. Improved mobicast routing protocol to minimize energy consumption for underwater sensor networks. Int. J. Res. Sci. Eng. 2017;3:197–204. [Google Scholar]
  • 5.Khoufi I., Minet P., Laouiti A., Mahfoudh S. Survey of deployment algorithms in wireless sensor networks: coverage and connectivity issues and challenges. Int. J. Auton. Adapt. Commun. Syst. 2017;10:341–390. doi: 10.1504/IJAACS.2017.088774. [DOI] [Google Scholar]
  • 6.Miao C., Dai G., Zhao X.M., Tang Z., Chen Q. 3D self-deployment algorithm in mobile wireless sensor networks. Int. J. Distrib. Sens. Netw. 2015;11:721921. doi: 10.1155/2015/721921. [DOI] [Google Scholar]
  • 7.Ng C.K., Wu C.H., Ip W.H., Yung K.L. A smart bat algorithm for wireless sensor network deployment in 3D environment. IEEE Commun. Lett. 2018;22:2120–2123. doi: 10.1109/LCOMM.2018.2861766. [DOI] [Google Scholar]
  • 8.Yu X., Liu N., Huang W., Qian X., Zhang T. A node deployment algorithm based on Van der Waals force in wireless sensor networks. Int. J. Distrib. Sens. Netw. 2013;9:505710. doi: 10.1155/2013/505710. [DOI] [Google Scholar]
  • 9.Tang R., Chen Z., Liu Z., Qian X., Yu X., Liu Z., Nie C. Investigation of the shielding length on yukawa system crystallization in mobile sensor network applications. IEEE Trans. Plasma Sci. 2016;44:1025–1031. doi: 10.1109/TPS.2016.2556688. [DOI] [Google Scholar]
  • 10.Garetto M., Gribaudo M., Chiasserini C.F., Leonardi E. A distributed sensor relocatlon scheme for environmental control; Proceedings of the Mobile Adhoc and Sensor Systems; Pisa, Italy. 8–11 October 2007; pp. 1–10. [Google Scholar]
  • 11.Tang R., Nie C., Qian X., Deng X., Chen Z., Liu Z., Zhou M., Pang Y., Xu X. Optimized node deployment algorithm and parameter investigation in a mobile sensor network for robotic systems. Int. J. Adv. Robot. Syst. 2015;12:152. doi: 10.5772/61443. [DOI] [Google Scholar]
  • 12.Mahboubi H., Aghdam A.G. Distributed deployment algorithms for coverage improvement in a network of wireless mobile sensors: Relocation by virtual force. IEEE Trans. Control Netw. Syst. 2017;4:736–748. doi: 10.1109/TCNS.2016.2547579. [DOI] [Google Scholar]
  • 13.Nguyen T.G. Distributed deployment algorithm for barrier coverage in mobile sensor networks. IEEE Access. 2018;6:21042–21052. doi: 10.1109/ACCESS.2018.2822263. [DOI] [Google Scholar]
  • 14.Celal O., Dervis K., Beyza G. Probabilistic dynamic deployment of wireless sensor networks by artificial bee colony algorithm. Sensors. 2011;11:6056–6065. doi: 10.3390/s110606056. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 15.Wang G., Guo L., Duan H., Liu L., Wang H. Dynamic deployment of wireless sensor networks by biogeography based optimization algorithm. J. Sens. Actuator Netw. 2012;1:86–96. doi: 10.3390/jsan1020086. [DOI] [Google Scholar]
  • 16.Yu X., Zhang J., Fan J., Zhang T. A faster convergence artificial bee colony algorithm in sensor deployment for wireless sensor networks. Int. J. Distrib. Sens. Netw. 2013;9:497264. doi: 10.1155/2013/497264. [DOI] [Google Scholar]
  • 17.Yu X., Liu N., Qian X., Zhang T. A deployment method based on spring force in wireless robot sensor networks. Int. J. Adv. Robot. Syst. 2014;11:79. doi: 10.5772/58427. [DOI] [Google Scholar]
  • 18.Zhang X., Wang T., Fang J. A node localisation approach based on mobile beacon using particle swarm optimization in wireless sensor networks. Int. J. Embedded Syst. 2017;9:112–118. doi: 10.1504/IJES.2017.083731. [DOI] [Google Scholar]
  • 19.Ab Aziz N.A.B., Mohemmed A.W., Alias M.Y. A wireless sensor network coverage optimization algorithm based on particle swarm optimization and Voronoi diagram; Proceedings of the IEEE International Conference on Networking, Sensing and Control; Okayama, Japan. 26–29 March 2009; pp. 602–607. [Google Scholar]
  • 20.Kumar M., Gupta V. Benefits of using particle swarm optimization and Voronoi diagram for coverage in wireless sensor networks; Proceedings of the IEEE International Conference on Emerging Trends in Computing and Communication Technologies; Dehradun, India. 17–18 November 2017; pp. 1–7. [Google Scholar]
  • 21.Wu C.H., Lee K.C., Chung Y.C. A Delaunay triangulation based method for wireless sensor network deployment. Comput. Commun. 2007;30:2744–2752. doi: 10.1016/j.comcom.2007.05.017. [DOI] [Google Scholar]
  • 22.Guan Z., Zhang B., Zhang Y., Zhang S., Wang F. Delaunay triangulation based localization scheme; Proceedings of the29th Chinese Control And Decision Conference (CCDC); Chongqing, China. 28–30 May 2017; pp. 2627–2631. [Google Scholar]

Articles from Sensors (Basel, Switzerland) are provided here courtesy of Multidisciplinary Digital Publishing Institute (MDPI)

RESOURCES