Abstract

Achieving maximum network coverage with a limited number of sensor nodes is key to node deployment of wireless sensor network (WSN). This paper proposes an improved marine predator algorithm (IMPA) for 3D surface wireless sensor network deployment. A population evolution strategy based on random opposition-based learning and differential evolution operator is proposed to enrich the population diversity and improve the global search capability of the algorithm. The grouping idea of the Shuffled Frog Leaping Algorithm (SFLA) is then introduced. A local search strategy based on the SFLA is proposed to replace the FADs effect of MPA and enhance the ability of the algorithm to escape from the local optimum. A quasireflected opposition-based learning strategy is also presented to improve the optimization accuracy, accelerate the convergence speed of the algorithm, and improve the quality of the solution. Fifteen benchmark functions are selected for testing. The results are compared with seven different algorithms. The results show that the improved algorithm has excellent optimization performances. Finally, the IMPA is applied to optimize WSN coverage on 3D surfaces. The experimental results show that the proposed IMPA has good terrain adaptation and optimal deployment capabilities. It can improve the coverage of the network, reduce the deployment cost, and extend the network life cycle.

1. Introduction

Wireless sensor network (WSN) is a type of network composed of sensor nodes deployed in the monitoring area through self-organization and multihop, which can sense, process, and transmit the information of the perceived region in real-time. WSN has been widely applied to military action, space exploration, environmental science, smart home, fine agriculture, emergency rescue, and other fields [15]. The coverage problem is the first fundamental issue faced by WSN configuration. The sensor nodes may be arbitrarily distributed in the configuration area, which reflects the status of a certain area of the WSN being monitored and tracked. And it involves communication quality, network life, and other issues. So, it directly affects the service quality of the entire network [6]. The sensor has a very limited battery due to the size of the sensor itself. Especially in the harsh deployment area, it is not feasible to replenish the energy of the sensors by manual means. Under certain coverage conditions, it is necessary to reasonably utilize the energy of the nodes to extend the network life cycle. As a result, achieving maximum network coverage with a limited number of sensor nodes becomes a key within the sensor node deployment.

At present, the coverage optimization algorithms for traditional 2D planes are very well developed. However, they cannot meet realistic and complex environments [712]. Compared with the 2D deployment environment, the 3D sensor node deployment is more complex and the network maintenance is more difficult. In addition, the existing 2D coverage methods cannot be directly applied in the 3D environment, otherwise a large number of coverage holes will be generated. Thus, the problem of WSN node deployment based on the 3D environments has become a vital research [1315]. WSN node deployment for 3D environments can be divided into two categories. One category is node deployment in 3D space, such as smart cities [16], smart factories [17], and underwater wireless networks [18]. The other category is node deployment of WSNs on 3D surfaces, such as node deployment on mountains [19]. The WSN coverage of 3D surfaces as a particular coverage scenario for the 3D environments has been little studied in this aspect. However, there are still many scholars who have proposed appropriate coverage methods.

Swarm intelligence algorithm is an effective method for solving many practical problems [2022], and it has been used by many scholars to solve the 3D surface coverage optimization problem. The marine predator algorithm (MPA) as a swarm intelligence algorithm was proposed by Faramarzi et al. [23] in 2020. The MPA was proposed to simulate the predatory behavior of marine organisms. Their research was inspired by the different hunting methods of ocean life and the speed of movement between predator and prey. Although the MPA has significant advantages in optimization problems and engineering applications, it still has some disadvantages such as the low solution accuracy, the slow convergence, and the poor local exploitation capability. In order to maximize the 3D surface WSN coverage and prolong the network life cycle, aiming at the defects of the MPA, this paper proposes a multistrategy integrated improved marine predator algorithm called IMPA. In the case of fewer sensor nodes, it can effectively improve the network coverage and extend the network life cycle.

This algorithm introduces a random opposition-based learning strategy and differential evolution operator to enrich the population diversity and expand the population search range. A grouping idea of the Shuffled Frog Leaping Algorithm (SFLA) is proposed to improve the exploitation ability of the algorithm. The global information and local search within the group are employed to guide the worst individual to approach the optimal individual. It can accelerate the convergence of the algorithm and reduce the risk of falling into the local optimum issues. To further speed up the convergence of the algorithm, a quasireflected opposition-based learning (QOBL) mechanism is proposed. And the boundary strategy is improved to enhance the quality of the solution. The algorithm is compared with the MSIMPA [24], the MPA, the Enhanced Sparrow Search Algorithm (ESSA) [25], the Improved Grey Wolf Optimizer (IGWO) [26], the Whale Optimization Algorithm (WOA) [27], the Particle Swarm Optimization (PSO) [28], and the Differential Evolution Algorithm (DE) [29] on 15 benchmark functions. The comparisons verify a strong optimization performance of the proposed algorithm. Finally, the proposed algorithm is applied to the WSN coverage optimization of two 3D terrains. The simulation results show that the IMPA can effectively improve the coverage of nodes, save the deployment cost of the network, and improve the network life cycle, which further verifies the practicability and effectiveness of the algorithm. In this study, the main contributions can be summarized as follows: (1)Most researchers calculate coverage using a 0-1 perception model, which is overly idealized in 3D environment. Therefore, this paper proposes a probabilistic coverage model suitable for 3D surfaces(2)A population evolution strategy based on random opposition-based learning and differential evolution operator is proposed to enrich the population diversity while improving the global search ability of the algorithm(3)A local search strategy based on SFLA is proposed to replace the local search mechanism of the MPA to enhance the algorithm’s local exploitation capability and the ability to jump out of the local optimum(4)A novel 3D surface WSN coverage optimization technique based on multistrategy integrated improved marine predator algorithm is presented. Simulation experiments are conducted in two 3D terrains and the method has higher coverage and longer life cycle compared to other four algorithms

The rest of the paper is organized as follows. Section 2 presents the current research status and related work on 3D surface coverage and MPA algorithms. Section 3 introduces the relevant models for WSN node deployment on 3D surfaces. Section 4 describes the proposed IMPA algorithm in detail. Section 5 compares and analyzes the algorithms on the benchmark test functions. Section 6 presents the application of IMPA for WSN coverage in two 3D terrains. Finally, Section 7 concludes and proposes future research.

At present, the research on WSN coverage control in 3D environment is a hot topic. For the WSN coverage optimization problem on 3D surfaces, some scholars use traditional techniques to improve coverage and ensure network service quality. For example, Anand et al. proposed a node coverage method applicable to 3D surfaces based on the terrain segmentation method of the Voronoi diagram [30]. Their simulation results demonstrated improvement in the algorithm’s efficacy. A 3D deployment method based on the virtual force algorithm was proposed [31]. The simulation results show that the algorithm can be adapted to all types of surfaces and achieve full coverage while maintaining network connectivity. Kim [32] introduced a mobile sensor network for the coverage problem in mountainous terrain and proposed a 3D coverage method by considering the physical characteristics such as slopes in mountainous terrain. Simulation experimental results show that the method is significantly improved in terms of network coverage and coverage time. Full coverage of the monitoring area can be achieved by deploying an appropriate number of sensors. However, the method is not applicable in large-scale node deployment scenarios. These traditional techniques have provided important solutions and valuable research results for solving the coverage optimization problems of WSN, but there are some shortcomings. For example, the structure of some algorithms is too complex, which makes it difficult to meet the service requirements of users in practical deployment.

Since the swarm intelligence optimization algorithm has shown excellent results in various optimization problems and engineering applications, it opens up a new path for the research of coverage optimization of WSN, many researchers have utilized the swarm intelligence algorithm to optimize the WSN coverage of 3D surfaces [3335]. For example, Li et al. [34] proposed a Modified Parallel Tunicate Swarm Algorithm (MPTSA) based on the improved traditional parallel strategy and applied it to the 3D surface coverage optimization. Their simulations and experimental results show the MPTSA can effectively improve the coverage. However, this method does not consider the lifetime of the network. Literature [36] proposed an innovative method for determining the 3D surface perception blind area for the 3D spatial target coverage problem. A differential evolution algorithm was employed to solve the 3D surface nodes deployment problem to realize full coverage of the monitoring area with the least number of nodes. However, the proposed method for judging the 3D perception blind area ignored the limitations where both sensing nodes and monitoring points are located on the terrain surface. Wang and Xie [37] proposed a more comprehensive method for determining the 3D surface perception blind area based on the mentioned limitations of perceptual blind area determination. They also innovatively enhanced the grid method commonly used in 2D WSN coverage to make it applicable to the coverage calculation of 3D surfaces. Moreover, an Enhanced Grey Wolf Optimizer (EGWO) using a hybrid inner and outer layer location update strategy was proposed and employed to the deployment optimization of 3D surfaces. The experimental results show that the EGWO has excellent deployment ability. However, the coverage perception model of this work is a binary perception model, which is too ideal in complex 3D terrain.

Currently, the research on MPA focuses on improving and applying the algorithm itself. Houssein et al. [38] proposed a MPAOBL-GWO algorithm incorporating the opposition-based learning and the Grey Wolf Optimizer (GWO). The GWO was applied as the local search method of MPA. It improved the exploitation capability of the algorithm and avoided falling into the local optimum issues. However, the convergence speed of the algorithm still needs to be improved. Abdel-Basset et al. [39] proposed an improved marine predator algorithm (IMPA) by using the improved population strategy based on the population’s average fitness. This strategy enhanced the performance and convergence speed of the algorithm. However, the risk of falling into the local optimum searching for individuals while reducing the population diversity was increased. Literature [40] introduced a differential evolution operator into the MPA. It proposed an enhanced marine predator algorithm (EMPA) for identifying static and dynamic photovoltaic model parameters. The EMPA maintained the diversity of the population in the search process and increased the probability of the algorithm away from the local optimum. However, the enhancement of the optimization accuracy of the improved algorithm was very limited. In literature [24], a multistrategy improved marine predator algorithm (MSIMPA) was proposed. It employed the chaotic mapping and opposition-based learning strategy to improve the population’s generation quality within the initial stage. Moreover, a grouping learning strategy to crossover the population operations was proposed to improve the algorithm’s optimization accuracy and convergence speed. The simulation results show that the algorithm could effectively improve the deployment coverage of the 2D WSN.

Based on the above related works, some achievements have been achieved in the study of WSN coverage optimization for 3D surfaces and the improvement of the MPA algorithm. However, there are some shortcomings in these studies. For example, the coverage perception model is a binary model, which is too idealized in practical applications. In addition, since the 3D surface is more complex compared to the 2D plane, the coverage of some algorithms still needs to be further improved. Therefore, a lot of research is still needed for coverage optimization of 3D surface WSN to achieve higher coverage while obtaining a longer network life cycle using fewer sensor nodes. To address the above issues, this paper proposes a coverage optimization method based on multistrategy integrated improved marine predator algorithm.

3. 3D Surface WSN Coverage Model Description

3.1. Perceptual Model of Sensor Nodes

In WSN, suppose that the nodes of a wireless sensor are a set where the 3D coordinate of is denoted by that . The set of the monitored nodes within the monitoring area is where the 3D coordinate of is denoted by that . The sensing and communication radiuses of each node are and , respectively. The Euclidean distance between node and node can be defined by

The common 0-1 perception model is mainly used in the WSN coverage of the 2D environment. In the 3D surface environment, it is necessary to establish a coverage model that is closer to the real world. Therefore, this paper adopts the probabilistic perception model. The probability of the monitoring node can be perceived by the node in the following: where and are type parameters related to the physical characteristics of the sensor. Usually, the value of is from 1 to 4 and is an adjustable parameter.

Therefore, the joint perception probability of all nodes in the set to monitor node can be evaluated by where denotes all the nodes of the sensor within the monitoring range.

3.2. Judgment of 3D Perception Blind Area

There are often many obstacles in the deployment of sensor nodes in the real world. These obstacles will block the sensing signals of the sensor nodes, causing a substantial reduction in the effective monitoring area of the nodes.

As shown in Figure 1, even though nodes , , and are all located in the perception range of node , the monitoring points and are not sensed by the node because the node signals are blocked by the obstacle (the shaded area in Figure 1). The lack of sensing causes the formation of a particular area for the 3D surface node deployment, which is called the 3D perception blind area [41].

For instance, the general method of the 3D perception blind area which is monitored from point can be determined by the following procedure. Assuming that the coordinate of node is , the coordinate of point is , the spatial surface equation is , and point is in the sensing range of node . The line segment is obtained by connecting both points and , and then the equation of the straight spatial line can be created. As shown in Equation (4), the simultaneous equations of the spatial line and the spatial surface . It can obtain the number of solutions to Equation (4) under conditions and .

The determination of the 3D perception blind area between node and point depends on the value of , which can be divided into the following two situations.

If , there is no perception blind area between node and point . It defines that the surface does not intersect with the line segment SB, which means the point is covered by the node .

If , there is a perception blind area between node and point , which means that the point is not covered by the node . Figure 1 intuitively shows that the surface intersects with the line , so the node cannot monitor the point .

The procedure mentioned above is an effective method to determine the existence of blind areas. However, there are some limitations. For instance, Figure 1 shows that the line segment has no intersection with the surface, but there is an obstacle between the point and the node . Therefore, the node cannot cover the point . For this situation, a determination rule is added in the following.

Suppose the midpoint of the line segment is . If the value for the z-axis of the point is smaller than the value of the function corresponding to the surface equation , then there would be a perceptual blind area between both points, which means node cannot monitor the point . The condition of the method is presented in the following:

It summarizes that a monitoring point should be perceived by the node when the following three conditions are satisfied. First, the evaluated value of Equation (2) not equal to 0; second, Equation (4) has no solution, and finally, the evaluated value of Equation (5) becomes 1.

3.3. Coverage Description

It is not easy to divide the monitoring region into small regions of equal areas when solving the problem of 3D WSN coverage. Besides, it is not also necessary to do this division. A surface division based on the grid method was proposed [37]. The method gave a reasonable error condition for the number of grid divisions. The basic idea is to project the surface vertically into a two-dimensional plane. Then, the projection region is divided into several small grids with equal areas. The area of the small surface corresponding to each small grid can be calculated by the calculus idea and usage of the surface with the integral surface formula. The summation of the areas of the small surfaces corresponding to all small grids would be the total area of the whole surface. The calculation method of the surface area is shown in where denotes the area of the surface and is the integration region consisting of and .

In this paper, the grid method is employed to calculate the coverage of the 3D surface. First, the projection area of the surface mapped to the 2D plane is divided into grids, where represents the number of grids in the x-axis direction, and represents the number of grids in the y-axis direction. That is to say, the target area is divided into several cube grids of equal size. Consider the set represents the area of the small surface, where . The projection region is divided into several small grids of equal area and locates the monitoring point at the center of the small surface corresponding to the small grid. If the monitoring point can be perceived by the node , it means that the node could cover the small surface where the monitoring point is located. The final coverage area can be obtained by accumulating the areas of all the small surfaces which can be monitored. Therefore, the coverage of the 3D surface can be described as follows: where denotes all the sensors deployed in the target area, the subscript is used to calculate the index of the grid, that is, the index of the monitoring point. Equation (7) is the proposed objective function which is optimized by the algorithm presented in this research.

4. Improved Marine Predator Algorithm

4.1. Marine Predator Algorithm

The marine predator algorithm [23] is a novel metaheuristic algorithm that simulates the foraging strategy of marine organisms. It updates the position of predator and prey by switching between the Lévy flight and the Brownian motion. Both predator and prey are solution candidates, since each prey in the ecosystem is a potential predator. Like most metaheuristic algorithms, MPA generates the initial population randomly in the search space. The mathematical model is described as follows: where is a random number that obeys a uniform distribution of and and denote the lower and upper limits of the search space, respectively.

In MPA, the location of the prey can be represented by a matrix. The corresponding mathematical expression is described as follows: where denotes the number of populations and is the dimension of the search space. denotes the current position of the -th prey in the -th dimension. The individual with the best fitness value is called the top predator. It is used to construct the matrix, whose size is the same as the matrix. The mathematical expression of the matrix is presented in the following: where represents the top predator vector. The matrix is obtained by replicating this vector times. The searching procedure of the MPA algorithm can be separated into three stages in accordance with the speed variation of marine biological predation, which is described as follows.

4.1.1. High-Speed Ratio Phase

This phase occurs in the first third of the number of iterations, when the population is in the exploration phase. At this time, the speed of the predator is greater than that of the prey, and the mathematical model of prey position update is described as follows: where and denote the current and the maximum number of iterations, respectively. is a vector of random numbers obeying the normal distribution used to represent the Brownian motion. The symbol denotes the entry-wise multiplication, is a random number between 0 and 1, and is a constant.

4.1.2. Unit-Speed Ratio Phase

This phase occurs between one-third and two-thirds of the number of iterations and gradually indicates the population’s transition from exploration to exploitation. At this phase, the predator and the prey movement speed are equal. In this stage, the first half of the population is used for the exploration, and the movement strategy of the prey is the Lévy motion. The remaining half of the population would then be used for the exploitation where the movement strategy of the predator would be the Brownian motion. The mathematical model of this phase is described as follows: where is a vector of random numbers based on the Lévy distribution and is an adaptive parameter that controls the movement step of the predator.

4.1.3. Low-Speed Ratio Phase

A late iteration phase occurs in the last remaining third of the whole iteration. At this phase, the predator moves slower than the prey within a Lévy’s motion, which adopts the population into a local exploitation strategy. The mathematical model of this phase is described as follows:

4.1.4. Eddy Formation and FADs Effect

The formation of eddies or Fish Aggregation Devices (FADs) affects the foraging behavior of the marine predators. This strategy mainly improves searching for individuals to escape the local optimal solutions. Its mathematical model is described as follows: where is a binary vector containing 0 and 1 and represents the probability of influence on the optimization process. is a random number in the range , and the subscripts and represent the random index values of the prey matrix. In addition, the MPA algorithm has memory storage to remember the history of the best-reached position, which is similar to an essential greedy strategy. During the algorithm iteration, the fitness value of each individual in the current iteration is compared with the optimal solution of the previous iteration. The previous solution will then be replaced if the current’s fitness is better.

4.2. Population Evolution Strategy Based on the Random Opposition-Based Learning and Differential Evolution Operator

The optimization process in each phase of MPA is highly depends on the prey matrix (described in section 4.1). The MPA algorithm randomly initializes the population and then relies only on the Brownian or Lévy motion strategies to update the individual positions. The late iteration of the algorithm will reduce population diversity, narrow search range, reduce exploration ability, and tends to stagnate in the local optimum. Usually, in the optimization process of swarm intelligence algorithms, when the searched individual is close to the optimal solution, the population will quickly approach the direction of the optimal solution and accelerate the convergence of the algorithm. On the contrary, the convergence rate becomes slower.

To solve this problem, opposition-based learning [42] (OBL) provides a search strategy that considers both the current solution and its corresponding inverse solution, expanding the search range and avoiding stagnation of the current solution. The research shows that the probability of the opposite solution of the population close to the global optimal solution is greater than that of the random solution. Therefore, many researchers have attempted to use OBL to improve both the quality of the population and the performance of the algorithm [4348].

To enhance the diversity of the population further, Long et al. [49] proposed a random opposition-based learning (ROL) strategy based on OBL, which could effectively improve the ability of the algorithm to jump out of the local optimum. Suppose a feasible solution of a d-dimensional space is , where and . The random opposite solution of would be and its calculation formula can be presented as follows: where is a random number.

Given the effectiveness of the ROL strategy for the improvement of algorithm performance and inspired by the mutation, crossover, and selection operators in the differential evolution algorithm (DE), this paper proposes a population evolution strategy based on ROL and differential evolution operator (RDES) to generate a higher quality population.

First, the ROL population of the initial population is evaluated by Equation (25). Because the positions of all individuals in the ROL population may not be better than those of the initial individuals, both the initial and ROL populations are merged to expand the population searching range. Then, the differential evolution operator is considered based on the merged population to enrich the population’s diversity further. The specific operations are as follows: (1)Mutation Operation. Since the mutation operator in the DE has a significant influence on the algorithm, it is essential to choose an effective individual mutation method. This paper used the DE/current-to-best/1 mutation operator [29] to perform mutation operation on the merged population, as shown in the following formula: where is scaling factor, denotes the -th individual of the current generation, denotes the optimal individual of the current population. , , and denote three different individuals randomly selected except the current individual, where the are not equal to each other, and represents the population size. Equation (26) reveals that the mutation operator uses the individuals’ local information and the population’s global optimal information to lead the population to find an optimal solution. It expands the diversity of the population and accelerates the searching speed of the algorithm simultaneously(2)Crossover Operation. The original individual and the new generated individual are cross-operated after the differential mutation according to where represents the value of the -th gene of the current -th individual, is a random number uniformly distributed in , and represents the crossover probability. The algorithm would keep the gene value of if , otherwise, it replaces the corresponding gene value with (3)Selection of Operation. If the crossover operation results in a new individual with a better fitness value than the original individual, the original individual would be substituted. This process can be described as follows:

Finally, the fitness values of all individuals in the merged population are calculated and sorted. The top individuals with the best fitness value are selected to construct the prey matrix using the greedy strategy.

Based on the above descriptions, the mainframe of the RDES is given in Algorithm 1.

1:    Initialize the population with individuals
2:    Fordo
3:     Using Eq. (25) to generate the ROL population
4:    End for
5:    Merge initialization population and ROL population
6:    Fordo
7:     Execute the mutation operation by Eq. (26)
8:     Ifthen
9:      Execute the crossover operation by Eq. (27)
10:       End if
11:    Using Eq. (28) to execute the selection operation
12:    End for
13:    Select the top fitness individuals from the merged
     Population as the initial Prey matrix
4.3. Local Search Strategy Based on Improved SFLA

SFLA is a swarm intelligence algorithm proposed by Eusuff et al. [50]. They simulated the population’s mechanism of information sharing and communication during the frog foraging. The algorithm combines the advantages of the Memetic Algorithm (MA) [51] and the PSO [28]. Moreover, it benefits few control parameters, is an easy implementation, and has a strong global searching ability. Therefore, some researchers have hybridized SFLA with other algorithms to improve the optimization performance of the algorithm. For instance, in [52], an improved ant colony algorithm was combined with SFLA for solving the path planning problem, which accelerated the convergence of the algorithm. In [53], in order to improve the local search capability of the PSO, SFLA was integrated with PSO and used for the detection of sonar images.

The MPA uses the FADs effect (Equation (24)) to support individuals’ searching for escape from the local optimum trap. This method lacks the guidance of population information to update the individuals’ position and limited the local development capability. Finding a more optimal solution becomes complicated once the population falls into the local optimum. The SFLA divides the whole population into several groups based on its unique grouping operator. The evolution of the individual is guided by the local optimal solution in the group and the global optimal solution of the population. It realizes the information sharing and communication between individuals. Therefore, the algorithm would not easily fall into the local optimum and would be more conducive to find the global optimal solution [22]. In this paper, by considering the grouping idea of SFLA, both MPA and SFLA algorithms are combined, and a local search algorithm based on the improved SFLA is proposed. The proposed local search algorithm replaces the FADs effect to improve the local development ability of MPA.

The main idea of the SFLA is described in the following. First, all the population individuals are arranged in descending order according to their fitness values and divided into groups. The first individual is assigned to the first group, the second to the second group, until the -th to the -th group. The-th individual is then assigned to the first group, the -th to the second group, and so on, until assigning the last one. Then, the positions of the worst individual are updated according to Equations (29)–(31). The specific update method is as follows: where denotes the updated position of the worst individual, and denotes the best and worst individuals in the group, is a random number between , represents the position of the globally optimal individual for the entire population, is a constant representing the step size factor and that its value can be adjusted according to the problems, and and are the upper and lower bounds of the search space, respectively.

Since the third location update method (as shown in Equation (31)) of the basic SFLA algorithm is relatively random, it lacks the guidance of population information, and consequently, the searching speed is slow. Therefore, this paper considers the usage of the local information of the group and the global information of the population to guide the algorithm for strengthening the ability of further search. A new location update method is proposed, as shown in

The mainframe of the improved local search strategy is shown in Algorithm 2. First, the prey population is divided into groups according to the grouping strategy which was introduced above. After the completion of grouping, the worst position of an individual would be updated using Equation (29). The original position is then replaced if the new position includes a better fitness value. Otherwise, the new position would be evaluated by Equation (30). If neither of the above two methods can generate a better position, the position of the worst individual in the group would be updated by Equation (32).

Figure 2 depicts the three updating methods for the position of the worst individual in each group. As it can be seen in Figure 2, Equation (29) means the best individual in the group guides the worst individual to move towards it. Equation (30) indicates that the worst individual approaches the global optimal individual, and Equation (32) represents that the population approaches the middle position between the global optimal and the intragroup optimal.

The improved local search method transmits the information according to the population grouping. It effectively combines the global information of the population and the local search. It also improves the exploitation ability of the population. In addition, the position of the worst individuals in the group is only updated each time after grouping, which reduces the computation time and increases the convergence rate of the algorithm. The fitness value of the population is inevitably improved accordingly when the individuals of all groups are remixed into the population. Therefore, it leads the population towards the optimal solution.

1:  Initialization parameters: The number of groups ; the number of iterations within the group ;
2:  Fordo
3:   Fordo
4:     Record ,,
5:     Update the worst Prey using Eq. (29)
6:     Ifthen
7:       
8:      Else
9:        Update the worst Prey using Eq. (30)
10:        then
11:         
12:       Else
13:         Update the worst Prey using Eq. (32)
14:       End if
15:     End if
16:   End for
17: End for
4.4. Dynamic Learning Mechanism

Ergezer et al. proposed a variant of OBL called quasireflected opposition-based learning (QOBL) [54]. They proved that the probability of the QOBL solution is closer to the optimal solution than the general OBL solution is . This paper proposes a QOBL strategy for the prey population to improve the optimization accuracy and accelerate the convergence speed of the algorithm further. The QOBL position () of the prey in the generation can be described as follows: where represents the position of the -th prey and represents the midpoint of the dynamic boundary. Unlike the fixed boundary, the dynamic search boundary adjusts the maximum and minimum values in all dimensions of the current -th individual as the upper and lower bounds of the search space. This method can further reduce the possibility of stagnating the population in the local optima, enhance the exploitation capability of the algorithm, and increase the convergence speed [55].

Finally, the elite strategy is employed to retain the individuals who carry better fitness value. If the fitness value of the QOBL position’s fitness value is superior to the current individual, the new position would be assigned to the current individual. The strategy is modeled as follows:

Figure 3 shows the process of applying the dynamic learning mechanism based on QOBL to the MPA algorithm. First, the QOBL population of the prey population is evaluated. Then, the fitness values of both initial prey and the QOBL populations would be calculated separately. Finally, the individuals with better fitness values are retained for constructing new prey populations according to the Equation (35).

4.5. IMPA Algorithm

In this paper, a multistrategy integrated improved marine predator algorithm (IMPA) is proposed to increase both accuracy of solution and convergence speed and prevent falling into the local optimum of MPA. The pseudocode of IMPA is given in Algorithm 3, and the main framework of the algorithm is demonstrated in Figure 4.

Input: Number of population , the maximum number of iterations , the crossover probability , the number of groups , the number of iterations within the group , the dimensions of each individual , and search range
Output: Optimal fitness
1:  Initialize the population of Preys with individuals
2:  Whiledo
3:     Execute RDES to generate a high-quality population (Algorithm 1)
4:     Calculate the fitness and build the Elite matrix
5:     Ifthen
6:      Update Prey using Eq. (13)
7:     Else if
8:        For the first half of the population ()
9:        Update Prey using Eq. (16)
10:        For the remained half of the population ()
11:        Update Prey using Eq. (20)
12:     Else if
13:        Update Prey using Eq. (23)
14:     End if
15:     Complete memory saving and Elite update
16:     Execute the local search strategy (Algorithm 2)
17:     Fordo
18:       Calculate the QOBL position according to Eq. (33)
19:       Select the better individual according to Eq. (35)
20:     End for
21:  Complete memory saving and Elite updating
22:  Next iteration
25:  End while
4.6. Algorithm Validity Test

In this section, the Schwefel2.26 Function is selected to test the validity of the three improved strategies. The population distribution maps of IMPA and MPA algorithms are drawn. The initial and final distributions of both algorithms are shown in Figures 5 and 6 while the population size and the maximum number of iterations are 50 and 20, respectively.

Figures 5(b) and 6(b) show that the population distribution of MPA is relatively scattered after 20 iterations and the convergence speed is low. Moreover, most individuals gather near the local optimum, which means that the MPA would not easily jump out of the local optimum when dealing with multidimensional complex functions. In contrast, all individuals in the IMPA converge to the global optimum quickly, proving the effectiveness of the proposed strategies.

4.7. Time Complexity Analysis

Time complexity is an essential indicator for predicting the performance of an algorithm. Suppose that is the size of populations, is the dimension of individuals, and is the maximum number of iterations. The time complexity of the MPA is evaluated . The proposed IMPA algorithm would not change the structure of individual position updates in the three phases of the basic MPA algorithm. The analysis of the time complexity is explained in the following.

The increased complexity of the ROL population while performing the RDES (Algorithm 1) is , where this evaluation becomes while performing the DE evolution operation. While executing the local search strategy (Algorithm 2), the evaluated complexity is related to the number of the groups and the number of iterations , where . Therefore, in the worst case, the increased complexity of this part would be . The increased complexity while computing the QOBL population would be . Finally, the evaluated time complexity of IMPA would be , which results in . It concluded that the improved strategies proposed in this study would not increase the time complexity of the proposed IMPA.

4.8. Global Convergence Analysis of IMPA

The convergence analysis of the three phases within the optimization process for the basic MPA algorithm has been extensively discussed [23]. It approved that the MPA is a convergent algorithm. The conclusion of the mentioned study is reviewed in the following.

Assuming that is a random sampling sequence of MPA, the MPA eventually converges to an Elite matrix (globally optimal position) consisting of the top predators, which is .

The global convergence of the hybrid optimization algorithm was analyzed, and several sufficient conditions for the global convergence of the hybrid optimization algorithm were approved [56]. The approved relevant theorems of the mentioned research are represented below.

Lemma 1. is a monotonically nonincreasing sequence with a lower limited bound in which [56].

Lemma 2. If an algorithm satisfies both following conditions (properties), the optimal sequence will converge globally according to a probability equal to 1 [56].

Condition 3. The greedy strategy is used to retain the elite while comparing with the historical optimal solution during the iteration. The mentioned strategy is represented in the following: where is the optimal fitness value found after times of comparisons which retained to the moment , and is the solution used for -th comparison with.

Condition 4. The probability of transitioning from any nonglobal optimal point (might be set to ) to the corresponding level set is not 0, where represents the entire search space.

Theorem 5. The proposed IMPA algorithm converges globally according to the probability equal to 1.
Assume that the objective function of the IMPA algorithm optimization is set to find the minimum value, is the random sampling sequence, is the optimal sequence of sampling points, and is the global optimal solution. As shown below, Theorem 5 can be proved by Lemma 1 and Lemma 2.

Proof. Because the three proposed improved strategies and the marine memory storage procedure in the IMPA algorithm all use the greedy strategy to retain the optimal solution of the population, the IMPA algorithm would satisfy Condition 3.

According to Lemma 1, the limit of the optimal sequence exists. Let , and . Because is the global optimal solution, therefore . Since , it follows that for , . Let be the sampling point corresponding to , so, . is obviously a nonglobal optimal solution. Because the IMPA uses the same update operation as well as the MPA algorithm in the high-, unit-, and low-speed ratio phases, the convergence of the population sequence of IMPA would be consistent with that of the MPA and will eventually converge to the Elite matrix, . That is, the nonglobal optimal point can converge to the Elite matrix (global optimal point). Therefore, when the assigns value to a sufficiently small neighborhood around the elite matrix, , the Condition 4 is satisfied.

In summary, the IMPA algorithm satisfies both conditions of Lemma 2. Therefore, the IMPA algorithm converges globally according to the probability equal to 1.

5. Function Test and Result Analysis

In this study, 15 benchmark functions are selected for testing to verify the performance of the proposed IMPA algorithm. The results are compared with the seven algorithms of MSIMPA, MPA, ESSA, IGWO, WOA, PSO, and DE. The information of all the 15 test functions are shown in Table 1, where F1-F5 are complex unimodal functions, F6-F10 are multidimensional multimodal functions, and F11-F15 are fixed-dimensional multimodal functions. The population size of all algorithms and the maximum number of iterations are set to 30 and 500, respectively. The multidimensional functions (F1-F10) are tested in 30 and 100 dimensions, respectively. The main parameters of each algorithm are set as shown in Table 2. Each of the six algorithms is run 30 times independently. The best fitness value (Best), the average best fitness value (Ave), the standard deviation of the best fitness value (Std) results, and the average running time are recorded. To intuitively observe the performance difference of each algorithm, the algorithms are ranked according to the average best fitness value. If the average best fitness values are equal, the algorithms would then be ranked according to the best standard deviation value.

5.1. Numerical Analysis

Tables 3 and 4 revealed that the IMPA algorithm has a significant advantage over other algorithms in the average best fitness and standard deviation values within the operation of both 30 and 100 dimensions. The IMPA algorithm ranks the best optimization performance over the other seven algorithms. Table 3 revealed that the IMPA algorithm could evaluate the theoretical optimum for F1-F2, F4-F5, F7, and F11-F14, the algorithm shows a strong global search capability. Although the IMPA could not assess the theoretical optimum for the F6, F8, F9-F10, and F15, it achieves the highest optimization accuracy over the other seven algorithms. None of the six algorithms in F3 could evaluate the optimal value, but the ESSA achieves the highest optimization accuracy, exceeding five orders of magnitude. The optimization accuracy and stability of the MSIMPA algorithm, as well as the IMPA, show good optimization performance on the multiple functions. The optimization performance of the MPA in F13 ranks the best with good optimization ability and stability. However, the IMPA and MPA show a slight difference in the terms of standard deviation value. It indicates that the IMPA could not reduce the optimization capability of the algorithm. The IMPA can still maintain a high solution accuracy in the 100-dimensional test. For instance, all the six algorithms fall into the local optimum in F10. However, the average optimization accuracy of the IMPA is at least 24 times greater than the magnitude of other algorithms. It shows a stronger capability to escape the local optimal. Moreover, it proves the effectiveness of the local search strategy based on the improved SFLA.

5.2. Convergence Analysis

In this paper, the average convergence curves of the algorithms are selected to evaluate the convergence ability of the optimization algorithms. Figure 7 shows each algorithm’s 30-dimensional average convergence curves on the 15 benchmark test functions. The IMPA has excellent convergence speed and convergence accuracy on the remaining 14 test functions except for the F3. In F1, F2, F5, and F7, both IMPA and MSIMPA converge to the theoretical optimum quickly. In F12 and F13, the optimization precision and convergence speed of the IMPA improved a little over the other seven algorithms. It is worth mentioning that the DE can quickly converge to the global optimal value in F11, F14 and F15, which shows excellent optimization ability. In addition, it can be seen from Tables 3 and 4 that the running time of the proposed IMPA algorithm on most test functions is about twice that of MPA, but the optimization accuracy of IMPA has been greatly improved. Therefore, it is worth sacrificing a little time to obtain a higher quality of the solution. IMPA can solve the issues of low optimization accuracy and low convergence rate of MPA and shows significant improvements in the convergence speed and solution accuracy. These improvements are due to the implementation of the population evolution strategy and the dynamic learning mechanism, which effectively enhance the algorithm’s ability for the global searching while enriching the diversity of the population.

5.3. The Wilcoxon Rank Sum Test

Only relying on the comparison of mean and standard deviation values, the superiority of the IMPA cannot be approved entirely [57]. Therefore, it needs to be tested at the statistical level. In this paper, to distinguish the significant differences in the optimization performance of the IMPA over the other seven algorithms, Wilcoxon statistical tests are performed. Test results of 30-dimension and fixed-dimension on the benchmark functions at the significant level of are obtained. The test results are shown in Table 5. When , the zero hypothesis considers a rejection, indicating that there is a significant difference between both algorithms. When , it indicates that the difference between both algorithms is not substantial. Since the best algorithm on a benchmark function cannot be compared with itself, the best algorithm on each benchmark function is marked as N/A, indicating that the performance is comparable and optimal between the two. “S” represents the saliency judgment result, and the symbols “+”, “-”, and “=,” respectively, indicate that the performance of IMPA is better than, worse than, and equivalent to the comparison algorithm. As shown in Table 5, most of the values are less than , indicating that the IMPA algorithm is significantly different in most of the test functions among the other seven algorithms. For F1, F2, F5-F7, F11, and F15, the performance of IMPA and MSIMPA are comparable, and all can obtain the best value. In general, the IMPA algorithm shows significant advantages over the other seven algorithms.

6. Application of 3D Surface WSN Coverage Based on IMPA

In this section, simulation of the performed experiments is conducted under two kinds of 3D terrains named undulating and rugged terrains. The flow chart of the proposed IMPA algorithm applied to 3D surface WSN coverage optimization is shown in Figure 8. The three-dimensional maps of both terrains are shown in Figure 9. In this research, to simplify the problem model, both terrains are simulated using the surface equation of the function. And the simulation results for IMPA, MSIMPA, MPA, ESSA, and WOA are compared.

6.1. Undulating Terrain Simulation Experiment

The surface equation of the simulated undulating terrain is . The length and width of the mapped surface into the 2D plane are set to  m. The sensing radius of the sensor nodes ism. The population size and iterations set to 30 and 1000, respectively. The experiments are independently run 20 times for each group to obtain the average result. The surface is divided into 400 sections using the grid division method, and deployed with nodes. The simulation results are as shown in Table 6.

Table 6 revealed that the average coverage increases with the increase of sensor nodes. Under the same conditions, the network coverage of sensor nodes optimally deployed by the IMPA algorithm proposed in this paper is the largest. The coverage optimization ability of WOA and ESSA is poor, and there is a big gap compared with the other three algorithms. When the number of nodes is 50, the average coverage of the IMPA algorithm is 3.44% greater than that of the MPA and 12.47% higher than the WOA. When the number of nodes is 80, the average coverage of the IMPA reaches to 96.81%. The average coverage of the IMPA does not increase significantly after 70 nodes. It is mainly due to the redundancy of nodes in the network, weakening the algorithm’s performance.

Figures 10 and 11 show the optimized deployment results of the MPA and IMPA at 50 nodes, respectively. As shown in Figure 10(b), in order to understand the distribution location and coverage areas of the nodes, we map the 3D coverage results into a 2D plane. The red dots indicate the deployment locations of the sensor nodes and the blue areas indicate the coverage areas. Figure 12 shows the coverage iteration curves of the five algorithms.

Figures 10(b) and 11(b)show that the sensor nodes deployed by the IMPA are more uniform, and the coverage area is larger. Figure 12 shows that the convergence rate of the IMPA is more rapid compared to the MPA. At about the -th generation, the coverage rate of the IMPA reaches to 88%, while the MPA algorithm is only about 72%, a difference of about 16% between the two. This shows that the proposed improved strategy can speed up the optimization speed of the algorithm.

6.2. Rugged Terrain Simulation Experiment

Simulations using more complex rugged terrain are conducted to further validate the deployment capabilities of the IMPA algorithm. The simulated surface equation of the rugged terrain is . The length and width of the mapped surface into the 2D plane are adjusted to  m. The sensing radius of the sensor nodes is 1 m. The population size and iterations are set to 50 and 300, respectively. The simulations are independently run 20 times for each group to obtain the average value. In this simulation, the number of sensor nodes is adjusted to 100 because the rugged terrain is complex, and the 3D perception blind area is larger. The surface is also divided into 400 sections. The results of the optimized deployment of the IMPA are shown in Figure 13.

Figure 13 shows that the optimized nodes by the IMPA are uniformly deployed on the surface. The coverage area significantly becomes greater while comparing to the initial deployment. However, deploying nodes in the convex region of the 3D surface due to the existence of the 3D perception blind area would be difficult. It results in a relatively concentrated coverage hole which is shown in the blank area of Figure 13(b). Figure 14 illustrates the coverage convergence curves of both algorithms in rugged terrain. It shows that the convergence rate of the IMPA is very high within the early stages. Around the -th generation, the coverage quickly reaches to 87.5% where its final coverage rate is optimized to 92.57%. The results indicate that the final coverage for the IMPA is 6.82% greater than the MPA (85.75%). It shows that the IMPA algorithm integrating the three proposed improved strategies of this research could maintain good deployment performance within the complex rugged terrain. Moreover, the IMPA algorithm shows good terrain adaptability.

In summary, by comparing both simulation results for the different terrains, the IMPA could effectively improve the coverage while solving the coverage problem for the complex 3D surface WSN. The nodes could be deployed more uniformly and have more robust adaptability to the different terrains. Finally, it verifies the improvement and effectiveness of the proposed strategies.

6.3. Network Life Cycle Comparison

The control of energy consumption is very important to the network life of WSN and is directly related to the life cycle of the entire network. Under the same conditions, the smaller the energy consumption of WSN, the longer the life cycle of the network. The LEACH protocol is a low-energy routing algorithm commonly used in WSN. The basic idea is to distribute the energy load of the entire network evenly to each sensor node by randomly and cyclically selecting the cluster head node, thereby reducing the energy consumption of the network and improving the overall survival time of the network. In this paper, the LEACH protocol is used for data transmission, and the specific energy consumption model is shown in the literature [58]. Reference [59] uses the death time of the last node to represent the life cycle of the network. Therefore, this paper also uses the death time of the last node to test the network life cycle.

The comparison of different algorithms in undulating terrain is shown in Figure 15. It can be seen from the figure that the network lifetime increases as the number of deployed sensor nodes increases and the proposed IMPA algorithms all obtain the highest network life cycle. Interestingly, the MSIMPA is able to achieve a higher coverage than the MPA, but his network life cycle is shorter than MPA. The comparison of the network life cycle of rugged terrain is shown in Figure 16. It can be seen that the network life cycle optimized by IMPA is the highest, reaching 4333 rounds, followed by the WOA algorithm, but the network coverage rate optimized by WOA is not ideal. Overall, the WSN optimized by the proposed IMPA algorithm can achieve higher network coverage and longer life cycle.

7. Conclusion and Future Work

This study proposed a multistrategy integrated improved marine predator algorithm (IMPA) for coverage optimization of WSN on the 3D surfaces. The fusion of the random opposition-based learning strategy and the differential evolution operator was employed to expand the search range and improve the diversity of the population to enhance the global search ability. Furthermore, the improved SFLA strategy, as a local search algorithm, was employed to replace the original FADs effect of MPA, reducing the blind search of individuals and improving the algorithm’s local exploitation ability. Moreover, a dynamic learning mechanism based on quasireflected opposition-based learning was proposed to improve the algorithm’s convergence speed and optimization search accuracy. The IMPA algorithm is compared with the other seven algorithms in 15 benchmark test functions. The results show that IMPA has significant advantages in solution accuracy and convergence speed in both 30 and 100 dimensions. Finally, IMPA is applied to the node deployment of WSN on two 3D surfaces. The simulation results show that the nodes optimized by IMPA are more uniform, have higher coverage, longer network life cycle, and have faster convergence speed. It also shows that the IMPA has strong adaptability to the two 3D simulated terrains and has certain practicability and effectiveness.

Because of the complexity of the 3D surfaces and the existence of 3D perception blind area, it is difficult to ensure the connectivity of the deployed networks. In the future, we will study appropriate methods to ensure the connectivity of WSN deployed on 3D surfaces.

Data Availability

The data used to support the findings of this study are available from the corresponding author upon request.

Conflicts of Interest

The authors declare that they have no conflict of interest with respect to the research, authorship and/or publication of this article.

Acknowledgments

This work is supported by the Natural Science Foundation of China (62062037, 61562037) and the Natural Science Foundation of Jiangxi Province (20212BAB202014, 20171BAB202026).