1. Introduction
With the development of wireless communication technology, wireless sensor networks (WSNs) have been widely used in many fields of social life because of its advantages of low-power consumption, low cost, wide coverage and diversified integration functions [
1]. WSNs is an intelligent self-organizing network composed of multiple sensor nodes with limited computing, storage and wireless communication capabilities. In order to achieve full coverage of the monitoring area, a large number of nodes are usually deployed, which is not only costly but also can lead to communication conflicts. Therefore, how to optimize the deployment of nodes, that is, to cover a larger area with fewer nodes, has become a hotspot in the research of WSNs [
2,
3].
In general, there are two types of network coverage optimization methods. Firstly, there is coverage optimization based on geometric methods. For example, the geometric coverage scheme based on arc area algorithm (GCAS) proposed in Wang et al. [
4] is optimized by combining genetic algorithms with geometric relationships between nodes; although the GCAS strategy has high coverage and high robustness, it still cannot achieve 100% coverage. Mu et al. [
5] proposed a bee colony algorithm optimized with Voronoi (VABC) to guide the deployment of mobile nodes, which improves the coverage ratio of the network and achieves the optimal coverage of the network. However, VABC has a “premature” problem. Secondly, there is the application of the intelligent optimization algorithm to complete dynamic coverage optimization of node deployment. In recent years, some researchers have used swarm intelligence algorithms to solve the problem of WSN coverage, for example, particle swarm optimization algorithm (PSO), whale optimization algorithm (WOA), gray wolf optimization algorithm (GWO), artificial fish swarm algorithm (AFSA), etc. Due to the advantages of few parameter settings, simple calculation and easy-to-parallel processing, they are applied in WSN coverage optimization [
6,
7,
8,
9]. Among them, the ant lion algorithm (ALO) is applied in WSN coverage optimization in [
10], which acquires good results, but is prone to fall into local optimum problems. In [
11], the improved strategy of the fruit fly optimization algorithm (FOA) is introduced, which greatly improves the network coverage. However, it has the problem of unwanted rapid convergence that results in low coverage accuracy. One paper [
12] proposed an invasive weed algorithm with Gauss mutation (IIWO) for WSN coverage optimization. Compared with the original weed algorithm, this algorithm can enhance the diversity of population and improve network coverage but easily fall in the “early-maturing phenomenon”. An improved grey wolf optimization algorithm is presented in [
13], which has improved WSN coverage optimization application and network coverage. However, the improved algorithm converges slowly in the early stage that leads to unstable coverage. In [
14], by introducing hyperbolic sine regulatory factor, dynamic cosine wave weight coefficient and mutation strategy based on Laplacian and Gaussian distribution, a higher network coverage is obtained. Moreover, the problem of WSN coverage can be solved by also using Cluster-Heads (CHs) that relocate themselves inside clusters in such a way that the total energy consumption in the network is reduced and the network lifetime is extended, (e.g., [
15]). In this paper, the problem of WSN coverage refers to analyzing the deployment location of the optimized nodes through simulation before deploying the nodes, and finally deploying each node manually or by using robots. Therefore, this paper does not consider the energy consumption of the nodes.
The invasive weed optimization algorithm (IWO) is a new meta-heuristic optimization algorithm proposed by Mehrabian AR, which is widely used in multi-objective optimization problems [
16], but rarely applied in WSN node deployment optimization. Like other algorithms, the basic IWO algorithm is prone to premature convergence and low convergence accuracy. One paper [
12] has achieved good results in optimizing WSN coverage. Therefore, inspired by [
12], this paper proposes an improved weed algorithm based on a hybrid strategy (LRDE_IWO), to solve the problem of slow convergence speed of the IWO algorithm and to ensure it easily falls into the local optimum, it can significantly improve the coverage rate of WSN. The contributions of this paper are mainly reflected in the following three aspects:
A standard deviation of the tangent function is designed to replace the original standard deviation. The value in the early iteration changes relatively quickly, which is conductive to a global search. In the latter part of the iteration, the value changes relatively slowly and the step size of the weed movement is small, which is beneficial to a local search. Obviously, this strategy can balance the global search and local development ability of the algorithm, and the convergence speed of the algorithm is improved.
In this paper, the diversity of the population is increased by adding the disturbance mechanism of enhanced Levy flight and the adaptive random walk strategy.
In order to further improve the convergence ability of the algorithm and avoid local optimization, this paper introduces the differential evolution strategy. Selecting a certain number of excellent weed seeds for differential evolution can save more elite individual weeds and improve the coverage rate of WSN.
The standard deviation of the tangent function strategy is utilized to improve the convergence speed of the algorithm, the disturbance strategy of enhanced Levy flight and the adaptive random walk strategy is used to expand the diversity of the weeds and the differential evolution strategy is used to enhance the ability of the algorithm to jump out of the local optimum.
The rest of this paper is organized as follows. The section “WSN Node Coverage Model” builds the WSN coverage model. The sections “Standard Invasive Weed Algorithm” and “Improved Weed Algorithm Based on Hybrid Strategy” describe the improved weed algorithm in detail. In the section “WSN Coverage Optimization”, the steps and algorithm flow of how the improved weed algorithm is applied to WSN node deployment optimization are described in detail. The “Simulation and Analysis” section discusses the experimental results of the coverage optimization method (LRDE_IWO) compared with other algorithms. The work of this paper is summarized in the “Conclusion” section.
2. WSN Coverage Model
There are mainly two types of WSN coverage models [
17]: the Boolean coverage model and the Probability coverage model. In this paper, we use the same probabilistic coverage model as [
18].
Assume that sensor nodes randomly deployed in WSN are isomorphic, and the sensing radius and communication radius are and , respectively. To ensure the connectivity of the WSN, the communication radius of the node is set to be greater or equal to twice the sensing radius of the node. Suppose that the set of wireless sensor nodes is , the coordinates of vi is . For the convenience of calculation, the rectangular area is discretized as grid points to be covered, while the set of grid points is .
If the distance between the grid point
and one of the nodes is less than or equal to the sensing radius
, the grid point is considered completely covered by WSN. The distance between node
and grid point
is defined as Formula (1):
The probability
that the grid point
is monitored by the node
is defined as Formula (2):
where
,
is the sensing error radius and
is the sensing attenuation coefficient.
Then, the joint sensing probability of all sensor nodes to grid point
is described as Formula (3):
where
is the set of all sensor nodes within the monitoring region. The rate of coverage is defined as the ratio that the total perceived probability of grid points covered by the node set
to the total number of grid points in the area. The coverage rate
can be expressed as Formula (4):
From Formula (4), we can see that the problem of coverage is transformed into finding the optimal solution of . In our coverage optimization method, we applied the improved weed algorithm to obtain the optimal value of .
Notes:
1. In the Boolean covering model, when the grid points are covered, otherwise ; in the probability coverage model, when the grid points are covered, otherwise is a value between 0 and 1 or 0, which depends on the formula of the probability model.
2. The reason why the area coverage is calculated by dividing the grid points is that it is difficult to implement in MATLAB directly according to the ratio of the area covered to the total area of the monitoring region. Thus, this strategy is adopted in this paper, i.e., dividing the grid points and calculating the distance between each node and the grid point. If the distance is less than the perceived radius, the grid point is covered, otherwise, coverage probability is calculated according to the formula for probability coverage model. Finally, the area coverage is the ratio of the sum of coverage probabilities of all grid points of the total number of grid points.
3. Standard Invasive Weed Algorithm
The invasive weed algorithm simulates the basic process of weed diffusion, growth, reproduction and competitive extinction in the natural environment. The algorithm mainly consists of five steps, namely population initialization, growth and reproduction, spatial diffusion, competitive survival and stop criteria [
19]. In the coverage optimization method, Formula (4) acts as an objective function value. Each individual weed is as an objective function value, namely the coverage of WSN. The specific steps are as follows.
(1) Initialize the population. The position of the
i-th weed is randomly generated by the following Formula (5):
where
,
D is the dimension of the solution vector,
is the initial population size and
and
are the upper and lower bounds of the value of
, respectively.
(2) Growth and reproduction. Calculate the fitness value
for each individual weed, that is, the coverage of WSNs. Each individual generates more seeds based on the maximum and minimum fitness values
and
in the population, and the individuals with the better population (i.e., the better fitness values) produce more seeds. The number of seeds produced by each individual can be calculated by Formula (6):
where
and
are the minimum and maximum number of seeds, respectively, and
shows rounding down.
(3) Spatial diffusion. Seeds produced by weeds are randomly distributed in the neighborhood of parental individual in the form of normal distribution
. In the evolution of the algorithm, the standard deviation is calculated by Formula (7):
where
is the standard deviation for the
t-th iteration,
and
is the initial and final standard deviation for sowing seeds, respectively,
is a non-linear regulatory factor with a general value of
and
is the maximum number of iterations. With the number of iterations increasing, seeds are gradually distributed around the paternal individuals, which makes the transition from global exploration to local development to improve the algorithm’s search speed.
R-selection means “live fast, reproduce quick, die young” and K-selection means “live slow, reproduce slow, die old” [
20]. Formula 6 is the stage of weed growth and reproduction, focusing on R-selection; Formula 7 is the seed diffusion stage, focusing on K-selection. The physical meaning of Formula 6 and Formula 7 reflects the transformation of weeds from R-selection to K-selection.
(4) Competitive survival. After several iterations, when the number of populations exceeds the maximum population size , all individuals are sorted according to the fitness values, excluding those with poor fitness and retaining the rest; that is, the algorithm first reproduces rapidly through the weeds, occupying the living space, and then keeps the more competitive weeds to continue the spatial search.
(5) Stop criteria. Repeat steps (2) to (4) to record the individuals with the best fitness value in each generation until the maximum number of iterations is reached, the algorithm stops and the global optimal solution is output.
4. Improved Invasive Weed Algorithm Based on the Hybrid Strategy
4.1. Standard Deviation Strategy of Normal Distribution Based on the Tangent Function
In the weed algorithm’s diffusion stage, the algorithm’s convergence speed and solution accuracy are closely related to the size of the non-linear adjustment factor
. When
is larger, the algorithm converges quickly but the solution accuracy is low, and when
is smaller, the solution accuracy is high but convergence is slow, and it is easy to fall into the local optimum. Therefore, inspired by [
21], the original standard deviation formula is transformed by the tangent function. The following Formula (8) is derived from the features of the tangent function:
In
Figure 1,
is nonlinearly decreasing from 0.6 to 0. The value of
in the early iteration changes relatively quickly, which is conductive to global search. In the latter part of the iteration, the value of changes relatively slowly and the step size of weed movement is small, which is beneficial to local search. Obviously, this strategy can balance the global search and local development ability of the algorithm, and the convergence speed of the algorithm is improved.
4.2. Enhanced Levy Flight and the Adaptive Random Walk Strategy
In the stage of seed breeding, in order to avoid the algorithm falling into the local optimum, all individual weeds are selected after step (3), and the enhanced Levy flight or adaptive random walk strategy is used to mutate them with a certain probability. Then, the individuals with better fitness values are greedily selected as the current individual weeds. The Levy flight strategy is used for global exploration, so that individuals are widely distributed in the search space to improve the ability of global optimization. The random walk strategy is used to optimize the individual weeds in a concentrated area to improve the local search ability [
22].
Although the basic Levy flight mechanism increases the global search ability of the algorithm in the optimization process, it also has the problem of falling into the local optimum. An enhanced Levy flight strategy with adaptive step factor
is proposed, which changes step
from a fixed value to a dynamic step factor that changes with the number of iterations. The formula for calculating the dynamic step factor
is as follows:
where
is the current number of iterations,
is the maximum number of iterations and
is the tune parameter. After several experiments, the tune parameter
can meet the
condition and enhance Levy flight to find the optimal value [
23].
Figure 2 shows a change rate of factor
with iterations.
Levy flight [
24] obeys the Levy distribution. The mathematical model of the mutated Levy flight mechanism is shown in Formulas (11) and (12), and Formula (10) is the position updating formula:
where
denotes the current position of individual weeds,
denotes the position of the next generation of individual weeds,
denotes point-to-point multiplication,
represents the weight of the control step and
, where
is the current optimal location, and
represents a function that obeys the Levy distribution and satisfies
.
can be calculated by Formula (11):
can be calculated with Formula (12):
where
and
follow normal distribution,
is 1.5. The formulas are as follows:
As shown in
Figure 2, the Levy global search from subspace to global solution space is achieved by introducing a dynamic adjustment of the search step so that the change of the step factor is proportional to the number of iterations in the first half of the algorithm. At the later stage of the algorithm, the change of step factor gradually decreases, which leads to the weakening of global search and the enhancement of local development capability. This method strengthens Levy flight mechanism’s search for solution space and effectively balances the ability of global search and local development.
The random walk algorithm uses mixed variation and crossover to produce new solutions, which can enhance the diversity of the population, avoid the attraction of local optimum to some extent and improve the local search ability of the algorithm. Based on the improvement of random walk, an adaptive step size random walk strategy is proposed. The specific calculation is shown by Formula (15):
where
and
are the positions of two random individuals in the
t-th iteration and
is a random number uniformly distributed among
.
Figure 3 shows the comparison of the simulation experiments of enhanced Levy flight and adaptive random walk strategy with 1000 iterations. It can be seen that enhanced Levy flight has a larger search range because of the special walking mode, which is more conducive to the global search of the optimization algorithm; the adaptive random walk strategy has a relatively concentrated search range, which is more conductive to local optimization in the development stage.
Although the above disturbance strategy can update the position, it cannot guarantee that the new solution is better than the original solution. Therefore, the greedy selection mechanism is used to compare the fitness of the original solution and the new solution to retain the better solution:
4.3. Differential Revolution Strategy
Differential evolution algorithm (DE) is a swarm intelligence optimization algorithm proposed by Storn and Price in 1995 [
25]. It uses the differential information among individuals to disturb the individual vector, and evolves better offspring through mutation, crossover and selection [
26]. In the stage of seed competitive survival, the differential evolution strategy is introduced to mutate individuals, and then the greedy selection principle is used to update the current individual position. In order to speed up the operation time of the algorithm, the first 40% of the optimal individuals are selected for differential evolution, and the process is described below.
(1) Differential mutation operation. Randomly select three different individuals
from the parent (
t iteration) and generate a new mutant individual based on the following Formula (17):
where
is the current generation and the scaling factor
is a constant between [0,2],
.
(2) Crossover operation. Crossover is a binomial hybridization between the mutant
and the parent
in the differential mutation operation to produce the test individual
, in order to enhance the diversity of the population. The process is calculated as Formula (18):
where
,
is the dimension of the individual vector,
is a random integer between
and
is the crossover probability.
(3) Selection operation. The selection operation of DE algorithm is a sort of elite screening mechanism. By using the greedy principle and calculating the fitness values of the target vector and the test vector, the individuals with better fitness values are selected as the individuals of the next generation population:
4.4. LRDE_IWO Algorithm Pseudo Code
In this paper, the weed algorithm’s initial population size is equal to the maximum population size, that is
. The specific process is shown in Algorithm 1.
Algorithm 1 LRDE_IWO algorithm |
Input: Population size , the maximum number of iterations , the exploration iteration ratio and other parameters. Output: Global optimal solution . |
1. for t = 1 to T do |
2. Calculate the maximum fitness value of the population
|
and minimum fitness value |
3. The standard deviation of this iteration is calculated |
according to Equation (8) |
4. for each individual weed do |
5. Determine the number of seeds produced by each |
weed according to Equation (6) |
6. Seeds produced by random allocation |
7. The fitness of seeds was calculated |
8. |
9. Update the individual position according to |
Equation (10) |
10. else |
11. Update the individual position according to |
Equation (15) |
12. end if |
13. Greedily select the current optimal individual |
according to the fitness value |
14. end for |
15. The populations were merged and sorted by fitness |
value |
16. The top 40% of the excellent individuals were selected |
for differential evolution according to Formulas (16)–(18) |
17. Greedy selection of the above individuals according to |
fitness values |
18. Update global optimal solution |
end for |
4.5. Algorithm Complexity Analysis
Suppose m is the maximum number of iterations of the algorithm, n is the population size, d is the dimension of the optimization problem and fmin and fmax are the minimum and maximum number of the seeds, respectively. The LRDE_IWO algorithm first initializes the population, and its time complexity is O(nd). Firstly, the fitness is calculated according to the position of the weed and disturbance strategy, while the time complexity is O(n). Then, the seeds are created. The time complexity is O(n(fmax − fmin)). Secondly, the weeds are sorted in ascending order according to the value of the fitness. The time complexity is O(nlogn). Finally, the position of the weed population is updated and selected according to the differential revolution strategy, and the time complexity is O(n). Thus, the total time complexity is O(m(nd + n + n(fmax − fmin) + nlogn + n)), that is O(mn). Compared to IWO, LRDE_IWO adds mutation steps, but still belongs to the operation of weed update location, without adding additional time complexity. Thus, the total time complexity of LRDE_IWO is the same as that of IWO.
5. WSN Coverage Optimization
The target of WSN coverage optimization based on the LRDE_IWO algorithm is as follows. A certain number of sensor nodes are used to optimize the location where they will be deployed, in order to maximize the coverage of the target monitoring area. In other words, the optimal locations of these nodes are obtained to maximize . The coverage optimization problem is abstracted as a high-dimensional vector optimization problem with as the objective function. The process of node location optimization in coverage optimization problem is abstracted as the behaviours of weed cloning, occupation, growth and reproduction, and the optimal solution is to deploy the target location of each node. In the algorithm, each individual weed represents a coverage distribution. If the nodes’ number is , the individual dimension is , in which 2i-1-th and 2i-th dimension values represent the abscissa and ordinate of the node, respectively. The specific algorithm steps are as follows.
Step 1: Input nodes’ number , sensing radius Rs, area side length , etc., and the population size of the algorithm is set to 30 and the maximum iteration number is 300.
Step 2: Random initialization of the population position of LRDE_IWO.
Step 3: Using coverage as the objective function to calculate individual fitness values and record global optimal solution .
Step 4: Calculate the improved standard deviation based on Equation (8) and the number of seeds produced based on Equation (6) by each individual.
Step 5: Select either enhanced Levy flight or the adaptive random walk strategy to mutate each individual according to Equation (10) or Equation (15). Then, greedily select an individual with higher fitness values than the current individual.
Step 6: Disturbance updates using the differential evolution of Equations (16)–(18) for the position of the first 40% of the best individuals. Compared with the original position, the better position is retained; otherwise, the disturbed position is discarded.
Step 7: Update global solution .
Step 8: Determine whether the algorithm has reached the maximum number of iterations, and if so, outputs the global optimal solution, that is, the optimal coverage and the location coordinates of the corresponding node deployment. Otherwise, skip to Step 3 for the next iteration.
The flowchart of the LRDE_IWO algorithm applied to the coverage optimization of WSN is shown in
Chart 1 below.
6. Simulation Experiments and Analysis
6.1. Algorithmic Performance Indicators
We assume that the boundary is outside the middle square area of , where L is the side length of the monitoring area. The boundary coverage and area coverage are calculated in the same way, the main difference being that the area in which the grid points are divided is different, the area coverage is divided into grid points within the entire monitoring area and the boundary coverage is divided into grid points within the boundary area.
Notes:
1. The area coverage is the coverage of all nodes within the monitoring range; the boundary coverage is the coverage of all nodes in the boundary range.
2. Because the coverage hole often occurs at the edge of the region, this paper proposes the concept of boundary coverage, that is, assuming that the small area outside the square area of is defined as the boundary range, and the boundary coverage is calculated according to the probability model within this range, so as to quantify the coverage effect of the regional boundary.
6.2. Experimental Environment and Parameter Setting
In order to verify the performance of WSN coverage optimization method with the LRDE_IWO algorithm, two experiments were performed. Experiment 1 compares the LRDE_IWO algorithm with DE_IWO [
27] and the original IWO algorithm. Experiment 2 compares the coverage effect of LRDE_IWO with ALO, FOA and IIWO. In the experiments, the parameters are set as the same as [
10,
11,
12]. The experiment is carried out using a computer with an Intel core i7 dual-core CPU, clocked at 3.6 GHz, 8 GB of memory, with Windows 10 environment and using the experimental simulation software in MATLAB 2018a.
In this paper, the parameters values are as follows. In the WSN coverage model, . In the LRDE_IWO algorithm, the minimum and maximum number of seeds and , the initial and final standard deviation and and the exploration iteration ratio .
6.3. Experimental Results
6.3.1. Compared with the Other Algorithms Based on IWO
The IWO algorithm, DE_IWO algorithm and LRDE_IWO algorithm are simulated. The algorithms were run 20 times independently, with 300 iterations each time. The experimental parameter setting (unit: m) is shown in
Table 1.
The experimental data are shown in
Table 2,
Table 3 and
Table 4. The “cr” in all the following tables represent the coverage rate.
From
Table 2,
Table 3 and
Table 4, it can be seen that the optimized coverage rate of the LRDE_IWO algorithm is better than that of DE_IWO and IWO, and the standard deviation is smaller, which indicates that the optimized result of LRDE_IWO algorithm can be stably maintained near the average coverage rate. Taking the setting in
Table 2 as an example,
Figure 4 shows the optimization iteration curve of the three algorithms. From this figure, it can be concluded that the coverage rate of each generation of LRDE_IWO algorithm is higher than the other two algorithms. When other algorithms converge, LRDE_IWO can continue to search for optimization. It indicates that LRDE_IWO algorithm can jump out of the local optimal solution and improve the coverage accuracy.
In order to explore the influence of the number of sensor nodes on the coverage rate, a two-dimensional plane with 50 m × 50 m monitoring area is set, and its sensing radius is
m.
Figure 5 shows the tendency of coverage with the number of nodes under different algorithms, in which (a) shows that the bar chart of coverage with nodes’ number, and (b) shows that the line chart of coverage with nodes’ number.
As shown from
Figure 5, when the number of nodes is determined, the coverage rate of the LRDE_IWO algorithm is always better than other algorithms, and reaches 100% when there are 50 nodes. The other two algorithms barely approach or reach 100% coverage when there are 60 nodes. That shows that the LRDE_IWO algorithm can effectively coordinate the global exploration and local development ability of the algorithm, and thus, improve the effective coverage rate of the WSN nodes.
Taking the setting in
Table 2 as an example, the average boundary coverage of LRDE_IWO, DE_IWO and IWO are 95.64%, 93.67% and 93.16%, respectively. This is because the three strategies of LRDE_IWO can effectively balance the ability of global search and local development and improve the probability of jumping out of local optimum to reduce the coverage blind area quickly.
6.3.2. Compared with the Coverage Optimization Algorithms Based on ALO, FOA and IIWO
(1) Compared with the Coverage Optimization Algorithm Based on ALO
The experimental parameters are set as follows: the monitoring area is a two-dimensional plane of 50 m × 50 m, which is discretized into 51 × 51 grid points, the number of sensor nodes is
N = 40, the sensing radius is
m and the communication radius is
m, and it runs 20 times independently with 300 iterations each time.
Figure 6 shows the iteration curve of the ALO algorithm and LRDE_IWO algorithm in coverage optimization,
Figure 7 shows the node deployment diagram after optimization and
Table 5 shows the comparison of the ALO and LRDE_IWO optimization coverage results.
It can be seen from
Table 5 that after node deployment optimizations for 20 times in this area, the average, best and worst coverage rate obtained by LRDE_IWO has increased by 4.10%, 2.51% and 4.50%, respectively, compared with the ALO algorithm. Moreover, the standard deviation of the coverage is relatively smaller, which indicates that the optimized coverage rate can be maintained at more than 96.43%. It can be seen from
Figure 6 that the algorithm has faster convergence speed and higher coverage accuracy than the ALO algorithm. It can be seen from
Figure 7 that the LRDE_IWO algorithm achieves approximately complete coverage of the area.
It is obvious from
Figure 7 that (b) covers the boundary more closely than (a). The simulation results show that the boundary average coverage of (b) is 96.73%, while that of (a) is 85.07%. This is because the improved algorithm can balance the global search and local search well, and can jump out of the local optimum.
(2) Compared with the Coverage Optimization Algorithm Based on FOA
The experimental parameters are set as follows: the monitored area is a two-dimensional plane of 100 m × 100 m, which is discretized into 101 × 101 grid points, a number of sensor nodes of
, a sensing radius of
m, a communication radius of
m and a maximum iteration of 300.
Figure 8 shows the iteration curve and
Figure 9 shows that the optimized node deployment diagram.
Table 6 shows the comparison of the FOA and LRDE_IWO optimal coverage results.
As shown in
Table 6, the optimization results of LRDE_IWO are 2.73% higher than the FOA algorithm. From
Figure 8, it can be seen that the algorithm converges faster and has a higher coverage accuracy than the FOA algorithm.
Figure 9 shows that LRDE_IWO effectively reduces the coverage blind area. Experiments show on average 35 nodes are required for the FOA algorithm, if coverage rate reaches 90.82%, while
Table 6 shows that when 35 nodes are deployed, the coverage rate of LRDE_IWO can reach 93.55%. The optimal distribution of the corresponding nodes is shown in
Figure 9b.
Through many experiments, LRDE_IWO can achieve 90.82% coverage rate by deploying only 32 nodes in this area. It saves 8.5% sensor nodes compared with the FOA algorithm and makes the optimal distribution of nodes more even.
The simulation results show that the boundary coverage of LRDE_IWO is 91.64%, and that of FOA is 86.25% with 35 nodes deployed. This shows that the coverage of LRDE_IWO is wider than that of FOA, which can effectively reduce the impact of the coverage blind area.
(3) Compared with the Coverage Optimization Algorithm Based on IIWO
The experimental parameters are set as follows: the monitored area is a two-dimensional plane of 20 m × 20 m, which is discretized into 21 × 21 grid points, a number of sensor nodes of
, a sensing radius of
m, a communication radius of
m and run independently 20 times with 300 iterations each.
Figure 10 shows the iteration curve of the IIWO and LRDE_IWO algorithms.
Figure 11 shows the optimized node deployment, and
Table 7 shows the comparison of the optimal coverage results of IIWO and LRDE_IWO.
As can be seen from
Table 7, after 20 node deployment optimizations by LRDE_IWO in this area, the average, best and worst coverage values obtained by LRDE_IWO are 1.19%, 1.36% and 1.81% higher than IIWO algorithm, respectively, and the standard deviation of the coverage is relatively smaller. This indicates that the optimum coverage of the LRDE_IWO algorithm can be more stable than 94.33%.
The experiments show that the LRDE_IWO can achieve a 94.79% coverage rate by deploying 23 sensor nodes in the area. It saves 4.1% sensor nodes compared with the IIWO algorithm.
The simulation results show that the average boundary coverage of LRDE_IWO is 94.01% and that of IIWO is 91.84%. This shows that the coverage effect of LRDE_IWO is better and more stable than that of IIWO, which is the key to reduce the coverage blind area.
7. Conclusions
Node deployment is an important issue in the research field of wireless sensor network. A hybrid strategy-based improved weed algorithm (LRDE_IWO) is proposed to optimize the coverage of sensor nodes based on the invading weed algorithm. The algorithm uses the normal distribution standard deviation of the tangent function as a new step search method for seeds. It effectively balances the global exploration and local development capabilities of the algorithm. Then, for enhancing population diversity, Levy flight or adaptive random walk strategies are introduced. Finally, differential evolution is applied to improve the problem that the algorithm is prone to fall into the local optimum.
The LRDE_IWO algorithm is applied to WSN node deployment optimization. The simulation results show that its coverage is higher than that of IWO, DE_IWO, ALO, FOA and IIWO algorithms. Moreover, it improves the coverage, convergence speed and convergence accuracy to a large extent compared with other algorithms.