Abstract

The traditional wireless sensor network coverage control optimization algorithm has the problems of long completion time, high energy consumption, and low coverage. A new algorithm based on combinational mathematics for wireless sensor network coverage control is proposed. The particle swarm optimization (PSO) algorithm is used to optimize the coverage control process of wireless sensor networks. Then, the combined mathematics method is used to detect the local convergence problem. Finally, the quasi-physical forces of quasi-gravity and Coulomb force are used to integrate the quasi-physical force into the particle. In the process of velocity evolution, the speed correction process of particle swarm optimization is optimized, which can effectively avoid the local convergence problem of the particle swarm optimization algorithm, reduce the repeated coverage, and expand the coverage. The experimental results show that compared with the traditional algorithm, the proposed algorithm has short completion time, low energy consumption, and high coverage.

1. Introduction

Due to the large-scale and high-density deployment of wireless sensor network nodes in the target area, a large number of nodes overlap in the coverage area of the network. This overlap of coverage will lead to redundancy of data acquisition and transmission and channel interference, which wastes limited energy resources. On the premise of guaranteeing certain coverage, appropriate coverage control algorithm and node scheduling algorithm should be adopted to make the sensor modules of some nodes strategically dormant, which is of great significance to prolong the network lifetime.

At present, there are two strategies for the initial deployment of sensor networks. One is large-scale random deployment; the other is planned deployment for specific purposes. When the working environment of sensors is physically unreachable, nodes can only be deployed by random seeding, which is called random deployment [1]. On the contrary, when sensors can be accurately deployed to designated locations in the work area, it is called planned deployment. At present, this method is more common in practical applications and is suitable for scenarios where the number of network nodes is small [2, 3]. Because sensor networks usually need large-scale, high-density deployment of nodes, most of them adopt random deployment. However, this large-scale random placement method is difficult to place a large number of sensor nodes in a suitable location at one time, and it is easy to cause the distribution of sensor nodes to be too dense or sparse, thus forming overlapping areas and blind areas of coverage. Therefore, after the initial deployment of sensor networks, coverage control strategy is needed to achieve ideal network coverage performance.

The coverage problem reflects the monitoring degree of sensor network nodes to designated areas, and it is a basic index to measure the quality of service in wireless sensor networks [4]. In sensor networks, different perception and communication ranges will have a greater impact on the deployment of nodes. The traditional multiobjective evolutionary algorithm studies the relationship between connectivity and coverage of sensor networks. For different application scenarios, researchers have proposed a large number of coverage mechanisms [5, 6]. According to the mobility of nodes, coverage problems are divided into static coverage and mobile coverage.

At present, the coverage optimization method of particle swarm optimization [7] is easy to fall into local convergence. Therefore, a coverage optimization method for wireless sensor networks based on improved particle swarm optimization is proposed. The novelty of this method lies in integrating quasi-physical forces into the evolution process of particle velocity using quasi-gravity and Coulomb forces and optimizing the speed correction process of particle swarm optimization in order to achieve effective deployment of sensor nodes and maximize transmission. The overall framework of this method is as follows:(1)Firstly, the concept and characteristics of wireless sensor networks are described, and the applications of wireless sensor networks in military, environmental monitoring, medical and health, smart home, industry, and so on, are explained. It illustrates the research significance of coverage control in wireless sensor networks.(2)The particle swarm optimization (PSO) algorithm is used to optimize the coverage control process of wireless sensor networks.(3)Combinatorial mathematics is used to detect local convergence. Two quasi-physical schemes, quasi-gravity and Coulomb force, are used to integrate quasi-physical forces into the particle velocity evolution process. The speed correction process of particle swarm optimization is optimized, which avoids the local convergence problem of particle swarm optimization, reduces the repetitive coverage, and optimizes the coverage area.(4)Experiments verify the completion time, energy consumption, and coverage of different methods.(5)The experimental results are further discussed.(6)Conclusion: summarize the full text and look forward to the future.

In the application of wireless sensor networks, coverage reflects the network’s ability to monitor the physical world. It is often used as a standard to describe the quality of service (QoS) of wireless sensor networks and is the basis of the application of wireless sensor networks.

In recent years, there are many research works proposing theories and algorithms for the wireless sensor networks’ coverage problem. Chakrabarty et al. [8] considered the grid coverage algorithms using integer linear programming to improve the surveillance area and localization accuracy. In addition, researchers also tried different coverage strategies, including Voronoi and Delaunay triangle, square, and hexagon [9, 10]. At the same time, there are many challenges in using WSNs because of their properties. For example, each sensor needs to communicate with each other. Thus, they have a limited communication range and battery lifetime. The sensors need to be connected with each other to commute [11]. The coverage problem mainly focuses on monitoring a region of interest. Therefore, with a large number of sensors, they need a reasonable deployment for a better coverage. Meanwhile, the deployment algorithm should have an appropriate convergence rate.

To solve this problem, there are many heuristic algorithms proposed, including particle swarm optimization algorithm [12], simulated annealing algorithm [13], and ant colony optimization algorithm [14]. Particle swarm optimization algorithm (PSO) is a population-based stochastic search technique introduced by Kennedy and Eberhart in 1995 [15]. It is similar with the behavior of some animal groups, such as bird flocking. In this process, each bird can find food through social collaboration of neighboring birds, and the birds which have found food can guide other birds around them to fly to the food location. The sensors follow this social behavior to move to the own local optimum solution and the global optimum solution.

Based on the traditional particle swarm optimization algorithms, there are many works which proposed the novel algorithms to improve the performance. To improve the self-adaptive ability of sensors, Wu et al. [16] proposed an adaptive particle swarm optimization algorithm to add the degree of aggregation and evolution of the particle swarm to the inertia coefficient, which can reduce the overlap area in the search process. Liang and Suganthan [17] provided a dynamic multiswarm PSO by regrouping the swarms during the process to achieve a higher diversity. In addition, there are many research works about the distributed setting [1820] to ensure a high parallelism and good performance. Zhao et al. [21] improved the dynamic multiswarm PSO by hybridizing it with harmony search and developed a new optimizer. In our work, we use combinatorial mathematics to discover the properties of the wireless sensor networks. Two quasi-physical schemes are integrated into the algorithm, which is different from the previous works. With these two quasi-physical forces, the convergence speed and coverage area can be improved.

In this paper, coverage is the main line, and coverage control technology of wireless sensor networks is studied. In combination with the practical application environment, coverage in wireless sensor networks is considered from a new perspective. Through the coverage control of wireless sensor networks, the deployment and energy saving of wireless sensor networks are studied in order to improve the reliability of deployment and the effectiveness of energy. It is of great significance to provide strong monitoring support for the practical application of wireless sensor networks.

3. Algorithm Design

In this section, we propose an algorithm for the wireless sensor networks’ coverage problem. Our algorithm is based on the particle swarm algorithm [7]. However, it is prone to the local optimal solution problem in the iterative convergence process. Thus, we add the quasi-physical force algorithm to pursue the global optimal solution. Some adjustment and optimization methods are applied in our algorithm to improve the coverage efficiency, balance the distance of sensing nodes, and reduce overlapped coverage.

In the following part, we will introduce the particle swarm optimization algorithm in Section 3.1. To improve the coverage area and the convergence speed, we apply the quasi-physical force into it. In Section 3.2, the detailed definition and formula of the quasi-physical force are discussed. The improved particle swarm optimization algorithm integrated with the quasi-physical force is proposed in Section 3.3.

3.1. Particle Swarm Optimization Algorithm

Particle swarm optimization (PSO) is an optimization algorithm, in which each particle corresponds to a solution in the same solution region. Particles modify the current position and velocity according to the retrieval experience of their peers and their own. If there are particles in the particle swarm, particle will modify its position and velocity according to the following equation:where and are used to describe the position and velocity of the th particle; is used to describe the past optimum position of particle ; is used to describe the past optimum position of all particles; takes a random value in [0, 1]; and is used to describe the inertia weight, which is the learning factor. This value is set to 1.

Particle coding is to encode the position and velocity of the particle. If the points in the wireless sensor network include and coordinates and the network coverage is used as the optimization target, the dimension space of the optimal location of the wireless sensor network node is , and the particle encoding is also considered to be a vector with a capacity of . The components within the vector are used to describe the position of the sensor node in the direction of or . The coding of each particle position is as follows:

The particle velocities are coded as follows:

The position and velocity codes of all particles in the particle swarm are consistent, and the position and velocity vectors of each particle are calculated independently.

To optimize the coverage of wireless sensor networks, the network coverage optimization objective functions and moving distance are comprehensively analyzed; that is, the fitness function iswhere is used to describe the coverage; is used to describe the moving distance of the sensor node; is used to describe the number of sensor nodes in the target range; is used to describe the length of the rectangular area whose target range is ; and and are used to describe the weights occupied by coverage and moving distance, respectively. Formula (4) comprehensively analyzes the changes in the coverage area of wireless sensor networks and the number of sensor nodes.

The flowchart of the particle swarm optimization algorithm is as follows:(1)Initialization of the algorithm parameters and sensor node attributes.(2)Initializing the particle swarm, in the target region, random numbers are used to form the initial position of the sensor nodes, and based on the vector composed of the positions, the position vectors of all the particles in the total particle group are initialized; then, the position vector of all particles in the particle group is . Set the initial velocity of the particle to be 0, and the velocity vector of all particles in the particle group is .(3)The fitness function of formula (4) is used to run the fitness value of particles.(4)Iterative adjustment is performed on the velocity and position of the particle. If the algorithm performs the th iteration acquisition, the global optimal position is replaced by the best position by , when all the particles search for the historical best position. When the algorithm performs the th iteration, the upper and lower limits of the velocity of the particles are set to be, respectively, and , and the upper and lower limits of the position of the particles are and , respectively.(5)Cyclic iteration to analyze whether it meets the termination criteria. If it does, the algorithm ends and outputs the global optimum position; otherwise, the iteration cycle runs Step 3.

3.2. Quasi-Physical Force Algorithm

For the coverage problem of wireless sensor networks, it is important that the sensors are distributed evenly in the space, instead of gathering in parts of space. Thus, the quasi-physical force algorithm is to apply some force to keep the distance between sensors in an appropriate threshold. There are two schemes, quasi-universal gravitation and Coulomb force, which are proposed.

Quasi-gravitational model: the target range is equally divided into pixels by a grid method. Each pixel is used as a mass point to constitute mn mass points, and each sensor node is regarded as a circle whose perceptual radius is . If the uncovered particle in the wireless sensor network is valuable to the adjacent circle, then the quasi-universal gravitational function of the th particle to the th circle based on the gravitational model is

In the formula, is used to describe the distance from a particle to the center of a circle. is used to describe the mass of a circle. is used to describe the gravitation of an uncovered particle to a circle; restricts the region of action of gravity.

The Coulomb force model is constructed. Each sensor node acts as a Coulomb force between circles with a perceived radius of . When the particle is not completely covered, there is no Coulomb force. When all the particles are covered, the existence of Coulomb force ensures that the sensor nodes in the circle are deployed in a balanced manner, reducing the problem of repeated coverage and obtaining the best coverage results. Set the Coulomb force function that is mutually exclusive between circles to be

In the formula, and are the quantity of electricity by the circle; is used to describe the distance between the centers of two circles; can limit the area of action of the repulsive force between neighboring nodes.

Quasi-physical force algorithm can regulate the dispersion process of mobile sensor nodes. Quasi-gravitational force and Coulomb force can effectively regulate the distance of sensor nodes and reduce the repetitive coverage.

3.3. Improved Particle Swarm Optimization

A particle swarm optimization scheme guided by quasi-physical force is proposed by combining quasi-physical force algorithm and particle swarm optimization. The analysis of formula (1) shows that the evolution of particle velocity in particle swarm optimization is related to the optimal position of the particle and the optimal position of the particle swarm. The original position and velocity of the particle are generated randomly. If the number of particles is low, the optimization effect is poor, and some particles will produce regression deviating from the optimal solution. Therefore, in order to improve the convergence efficiency of particle swarm optimization and control the evolution of particles to the global optimal solution, the particle swarm optimization method guided by quasi-physical force integrates quasi-physical force into the evolution process of particle velocity, which can be described as

In the formula, is the velocity of particle ; is the historical best position of particle ; is the acceleration weight coefficient of the particle itself; is the global acceleration weight coefficient; is the inertia coefficient; and are the acceleration factors of quasi-gravitational force and Coulombic force, respectively; is the value force factor of quasi-gravitational force, which uses formula (5) to calculate the value of the gravitational function of a pixel for sensor nodes in particles. Formula (8) is used to calculate the sum value of the gravitational function of pixels:

is the value force factor of Coulomb force. Formula (6) is used to calculate the Coulomb force function of one sensor node to other sensor nodes. Formula (9) is used to calculate the sum of the Coulomb force function of the sensor node to other nodes:

The running process of particle swarm optimization guided by quasi-physical force is as follows.

Integrating universal gravitation and Coulomb force into the particle swarm algorithm can reduce the repeated coverage problem of wireless sensor networks and improve the convergence efficiency. The specific process is as follows:(1)Initialize the particle population number to arbitrarily form original solutions and original velocities, and calculate the original coverage of each particle(2)Modify the velocity and position of each particle, and calculate the coverage of each particle’s new position(3)If the particle coverage is higher than the historical optimum value, the historical optimum value is set to the immediate fitness(4)Retrieve the global optimum value based on the historical optimum solution of the particle(5)Analyze whether the surrounding area is completely covered, and incorporate quasi-universal gravity and Coulomb force(6)Repeatedly operate Steps (2) to (5) until the termination criteria are met

4. Simulation

In order to verify the comprehensive effectiveness of the proposed coverage control optimization algorithm for wireless sensor networks based on combinatorial mathematics, an experiment is needed. We implemented our algorithm using Python. We run the simulations on an Ubuntu 18.04.03 machine equipped with Intel(R) Core(TM) i7-8559U @2.70 GHz (4C8T) and 32 GB of RAM.

In this part, we will compare our improved particle swarm optimization algorithm (PSO) with other coverage control optimization algorithms. Owing to that our proposed improved particle swarm optimization algorithm performs better than the basic particle swarm optimization algorithm, we do not list their comparison in the simulation. There are two heuristic algorithms we mainly focus:(1)Algorithm based on time synchronization [22] (TSA): in the algorithm, nodes exchange information with neighbors and work through the energy of running nodes. The other nodes make adjustments according to the distance and the working status.(2)Genetic-based algorithm [23] (GA): it tries to optimize the coverage area and minimize the moving distance based on the initial locations of sensors. Each sensor can be regarded as a random generated individual. The fitness function is a combination of the coverage area and the moving distance. In each iteration, the new generation of solutions is determined to achieve a final result.

As the description mentioned above, we first compare their coverage area and the convergence speed. In Figure 1, it shows the coverage area with different induction radii of sensors. With the increased induction radius, the coverage area is increased. When the radius is large enough, the whole region can be covered. At the same time, we can see that our proposed algorithm performs better than the other two heuristic algorithms. The reason is that the quasi-physical force can reduce the overlapping area, and the sensors can collaborate with each other better.

The number of convergence iterations is shown in Figure 2. The number of iterations is inversely proportional to the induction radius. Actually, when the radius is large, the most area can be covered. In this way, the locations among all the sensors can be adjusted in a short time. While the radius is small, the moving speed is also slow and trying to find the optimal solution. In addition, we can also see that our proposed algorithm needs less number of iterations because the quasi-physical force mainly tries to solve the local optimum and the convergence issue.

In addition, we also compare our algorithm with the other two algorithms in the completion time and the energy consumption.

Analysis of Figure 3 shows that the coverage control optimization algorithm based on time synchronization for wireless sensor networks has the highest completion time, followed by the coverage control optimization algorithm based on genetic algorithm for wireless sensor networks. The proposed algorithm has a significantly shorter completion time than the coverage control optimization algorithm based on time synchronization for wireless sensor networks and the coverage control optimization algorithm based on genetic algorithm for wireless sensor networks. The network coverage control completion time of the optimization algorithm for coverage control of wireless sensor networks has higher network coverage control efficiency. The proposed algorithm is compared with the coverage control optimization algorithm based on time synchronization and the coverage control optimization algorithm based on genetic algorithm for wireless sensor networks in energy consumption of network coverage control. The experimental results are shown in Table 1.

Analysis of Table 1 shows that the proposed algorithm has the lowest energy consumption of network coverage control among the three algorithms, followed by the coverage control optimization algorithm based on time synchronization for wireless sensor networks, and the coverage control optimization algorithm based on the genetic algorithm for wireless sensor networks has the highest energy consumption of network coverage control.

From the above simulation results, we have the following observations:(1)Through Figures 1 and 2, the coverage rate of the proposed algorithm is higher, and the number of iterations is lower than that of the coverage control optimization algorithm based on time synchronization for wireless sensor networks, which shows that the proposed algorithm has better optimization performance and coverage performance.(2)Comparing the completion time of different network coverage control algorithms, the proposed algorithm has the shortest completion time, followed by the genetic algorithm-based coverage control optimization algorithm for wireless sensor networks. The coverage control optimization algorithm based on time synchronization for wireless sensor networks has the longest completion time, and the proposed algorithm has higher network coverage control efficiency.(3)By comparing the energy consumption of different network coverage control algorithms, it can be seen that the energy consumption of the proposed algorithm is significantly lower than that of the other two algorithms, which has certain application performance.

5. Conclusions

Based on the particle swarm optimization (PSO) algorithm, this paper proposes a coverage control optimization algorithm-oriented quasi-physical force for wireless sensor networks. The quasi-physical force is used to improve the speed updating process of the PSO algorithm, guide the direction of particle evolution, accelerate the convergence of the algorithm, rationally adjust the distance of sensor nodes, and reduce repetitive coverage. The experimental results show that the proposed algorithm has shorter completion time, lower energy consumption, and higher coverage. The proposed method effectively solves the problems existing in traditional methods, lays a foundation for the progress of research in this field, reduces the waste of energy resources, and has great significance for prolonging network life. Outlook: due to time constraints, this paper only makes some attempts to improve the particle swarm optimization (PSO) algorithm in the study of coverage optimization in wireless sensor networks, but does not study other possibly better algorithms. If coverage optimization algorithm is to be applied to the real physical world, there are still many problems to be solved, which can be summarized as follows:(1)Because sensor nodes are greatly limited in energy, computing power, and storage capacity, energy-saving issues must be fully considered in the design so that the whole network can use as little energy as possible to complete the tasks that need to be completed.(2)The current binary perception model and exponential perception model tend to be idealized. In the real physical world, the perception range of sensor nodes is irregular and changes with time. Therefore, the current perception model cannot well reflect the differences and time characteristics between sensor nodes, so more practical perception models should be used to design coverage control algorithm. We can consider introducing field theory to improve the model, which can make the model closer to the actual situation.(3)When sensor nodes are used in battlefield or space exploration, coverage control in the three-dimensional space should be considered, which is still a complex problem.(4)Currently, sensor nodes are generally considered to be incapable of mobility, but in most cases, sensor nodes are randomly distributed, and some areas monitored may be missing. In this case, we require the node to have the ability to move directly to the destination, so as to make up for the initial network coverage vulnerabilities.

Data Availability

All the data are generated by our simulation. It does not have any relation with other privacy and property issues.

Conflicts of Interest

The authors declare that they have no conflicts of interest.