Abstract
We discuss the problem of maximizing the sensor field coverage for a specific number of sensors while minimizing the distance traveled by the sensor nodes. Thus, we define the movement task as an optimization problem that involves the adjustment of sensor node positions in a coverage optimization mission. We propose a coverage optimization algorithm based on sampling to enhance the coverage of 3D underwater sensor networks. The proposed coverage optimization algorithm is inspired by the simple random sampling in probability theory. The main objective of this study is to lessen computation complexity by dimension reduction, which is composed of two detailed steps. First, the coverage problem in 3D space is converted into a 2D plane for heterogeneous networks via sampling plane in the target 3D space. Second, the optimization in the 2D plane is converted into an optimization in a line segment by using the line sampling method in the sample plane. We establish a quadratic programming mathematical model to optimize the line segment coverage according to the intersection between sensing circles and line segments while minimizing the moving distance of the nodes. The intersection among sensors is decreased to increase the coverage rate, while the effective sensor positions are identified. Simulation results show the effectiveness of the proposed approach.
1. Introduction
A wireless sensor network (WSN) consists of a large number of resource-limited (such as CPU, storage, battery power, and communication bandwidth) tiny devices, which are called sensors. These sensor nodes can sense task specific environmental phenomenon, perform in network processing on the on the sensing field and communicate wirelessly with other sensor nodes or with a sink (also called data gathering node), usually via multihop communications [1]. Water will be the material basis of human sustainable development for affording food, raw materials, and living space for the survival of mankind in the future [2]. However, people cannot easily monitor and develop resources in a large scale because underwater environment is still more serious to human being. Therefore a lot of science and technology communities in different countries have focused on monitoring and exploring underwater resources reasonably by various technologies [3]. Underwater sensor networks are envisioned to enable applications for oceanographic data collection, pollution monitoring, offshore exploration, disaster prevention, assisted navigation, and tactical surveillance applications [4], so it will play an important role in monitoring and developing water resource. The coverage and connectivity are fundamental issues in WSNs, which can determine the scope of services provided by the network, and have a great influence on the network cost and performance of specific applications. The coverage can be considered as a measure of the service quality of WSNs [5, 6].
We analyze the coverage issues in 3D underwater sensor networks (USNs), where sensors are randomly deployed in a 3D field (Figure 1). Underwater sensor nodes are placed in 3D space, and the computational complexity of the coverage optimization algorithm in 3D space is higher than the coverage optimization algorithm in a 2D plane. Therefore, some applications cannot be effectively modeled in 3D space. We propose a 3D coverage optimization algorithm based on sampling (COS) that combines the concepts of simple random sampling in statistics [7] and optimization algorithms [8]. First, we transfer the coverage in 3D space into a 2D plane for heterogeneous networks by plane sampling in a target 3D space. Second, we convert the plane coverage to line segment coverage by the sampling line in the sample plane. Finally, we establish a quadratic programming mathematical model to optimize the line segment coverage according to the intersection between sensing circles and the line segment while minimizing the moving distance of the nodes. The plane coverage should be optimized to enhance the line segment coverage. We summarize the main contributions of our study as follows.
Sample random sampling is applied to the coverage problem in 3D space for dimension reduction.
A quadratic programming mathematical model is established according to the intersection position of the sensing circles and sample line, position of the sensing circles, and radii of the sensing circles.
We conclude that the sum of the node traveling distance for the unchanging node sequence is less than the sum of the changing node sequence. This conclusion is mathematically proven in this study.
A nonlinear quadratic optimization problem is converted into a linear quadratic optimization problem by tightening constraints to obtain the suboptimum solution.

Underwater sensor networks.
The remainder of this paper is organized as follows: Section 2 reviews prior studies on sensor network coverage and discusses related works. Section 3 provides some assumptions and key definitions and describes the system model for underwater wireless sensor networks. Section 4 discusses the development of the mathematical model for sensor network coverage and presents the COS algorithm in detail. Section 5 presents the simulation results of the COS algorithm. Finally, Section 6 concludes and outlines the direction of future works.
2. Related Works
The sensor coverage problem has been extensively studied in the field of multirobot systems and computational geometry the Art Gallery Problem (AGP) and the circumference coverage are related to the coverage of WSNs closely [9]. k-Coverage of sensor networks is one of research focuses in WSNs [1, 10–14]. Huang et al. present a polynomial time algorithm formulating circumference k coverage to a decision problem, whose goal is to determine whether every point in the service area of the sensor network is covered by at least k sensors [10] the optimal deployment density bound for two-coverage deployment patterns is derived in [11] where Voronoi polygons generated by sensor nodes are congruent. The authors design a set of optimal patterns that achieve two-coverage and one-, two-, and three-connectivity thought extending these patterns by considering the connectivity requirement. Ammari and Das focus on coverage and connectivity in 3D WSNs using a continuum percolation theory based approach [13]. The network exhibits a coverage percolation (resp., connectivity percolation) when a giant covered region (resp., giant connected component) almost surely spans the entire network for the first time. It proposes an integrated-concentric-sphere model to address coverage and connectivity in 3D WSNs in an integrated way. Ammari uses Helly's Theorem and the Reuleaux tetrahedron model for characterizing k-coverage of a 3D deployment field and develops a placement strategy of sensors to fully k-cover a 3D field [12, 13].
Coverage algorithm based on virtual force is one of research hotspots currently [15–19]. For a given number of sensors, the VFA algorithm attempts to maximize the sensor field coverage. The sensor nodes are assumed to be deployed in virtual force field; moreover, a judicious combination of attractive and repulsive forces is used to determine virtual motion paths and the rate of movement for the randomly placed sensors. Once the effective sensor positions are identified, a one-time movement with energy consideration incorporated is carried out; that is, the sensors are redeployed to these positions. In [18], Delaunay triangulation is formed with these nodes, and adjacent relationship is defined if two nodes are connected in the Delaunay diagram. Force can only be exerted from those adjacent nodes within the communication range.
The application of linear programming in coverage problem focuses on point (or target) coverage, where the objective is to cover a set of points (targets) [6, 8, 20–22]. Zhao and Gurusamy consider the connected target coverage (CTC) problem with the objective of maximizing the network lifetime by scheduling sensors into multiple sets, each of which can maintain both target coverage and connectivity. The authors determine an upper bound and a lower bound on the network lifetime for the MCT problem and then develops an approximation algorithm to solve it [20]. In [21], the sensing task of covering maximum number of targets while minimizing the energy consumption of the sensing operation is defined as an optimization problem of adjusting the sensing range parameter jointly with selection of nodes in a target coverage mission. A distributed greedy-based heuristic is proposed that nodes with less priority reduce their sensing range before their neighbors and optimal adjustment of sensing range of active nodes is done via a dual-based algorithm. Cardei et al. model the solution as the maximum set covers problem and design two heuristics that efficiently compute the sets, using linear programming and a greedy approach [8]. In [22] the sensor node deployment task has been formulated as a constrained multiobjective optimization problem where the aim is to find a deployed sensor node arrangement to maximize the area of coverage, minimize the net energy consumption, maximize the network lifetime, and minimize the number of deployed sensor nodes while maintaining connectivity between each sensor node and the sink node for proper data transmission.
As described earlier, almost all of coverage strategies in 3D space are based on a premise that sensor nodes are deployed in a specified location and stay there so that the maximum coverage of 3D space is achieved. However, sensor nodes are usually deployed at random and are impossible suspended at specified location without any connection in water. Most of the researches on coverage and connectivity in WSNs are not suitable for underwater because of two-dimensional application only. We propose a 3D coverage optimization algorithm for underwater 3D sensor networks (USNs) in which sensor nodes are randomly deployed and are fixed by cables, in which quadratic programming is applied to coverage optimization problem in 2D plane and 3D space.
3. Assumptions and Definitions
3.1. Assumptions
We assume that a large number of underwater sensors are distributed in an area of interest. A 3D USN model is described as follows [23, 24].
A 3D USN contains two types of sensor nodes: one is used for communications and is deployed on the water surface; the other is used for sensing and is deployed underwater.
All sensor nodes that are deployed underwater have homogeneous models; that is, all sensors have binary sensing coverage models. Thus, the sensing model is a sphere, and all sensors adopt the radius R of the sensing sphere model.
The underwater sensor node communicates with the surface node via a cable that connects the two sensors.
Sensor node position and depth can be acquired via the sensor nodes deployed on the water surface and cables.
The sensor nodes on the water surface are fixed in place with an anchor. However, the underwater nodes can move to a specified location vertically.
Sensor nodes have enough residual energy to move the specified location because coverage algorithm is executed during network initialization.
We assume that sensor nodes are randomly deployed in a 3D cuboid space and denote the distance between two spots as a Euclidean distance.
3.2. Definitions
Definition 1 (binary sensor model).
Suppose that the distance between sensor node
Definition 2 (sensing sphere).
Sensor node
Definition 3 (sensing circle).
The distance of underwater sensor node
Definition 4 (sample plane).
An arbritrary plane in 3D space intersect the boundary of 3D monitoring space to form polygon MNOP, as shown in Figure 2. The plane area which is contained by polygon MNOP is defined as sample plane.

Coverage model in underwater 3D space.
Definition 5 (sample line).
Choose a line at random in sample plane and denote it as “c”, line c, and the boundary of sample plane intersect at points A and B, as illustrated in Figure 3. Line

Sampling line.
Definition 6 (coverage rate).
Coverage rate η is determined by the ratio between the volume of coverage space P and the volume of deployed space S, which is given by the following equation:
3.3. Problem Definition
The proposed algorithm attempts to maximize the coverage of USNs while striving to minimize the movement distance of the nodes. This problem can be defined as follows: given that n sensors are randomly and uniformly deployed on the surface of the ocean/sea, we devise an algorithm that maximizes the total 3D coverage of the nodes and minimizes the message and travel distance complexity. As mentioned in the Introduction, we seek a fully distributed algorithm that will enable the sensor nodes to self-organize before data collection commences. Our proposed algorithm has five phases: (1) sample plane in a target 3D space, (2) sample line in the sample plane, (3) establishment of a quadratic programming mathematical model to optimize line segment coverage, (4) depth assignment, and (5) additional rounds.
4. Coverage Optimization Algorithm Based on Sampling
The sample planes intersect with the sensing spheres. The distance of the center of the sensing spheres to the sample planes is less than R. The intersection of the sensing spheres and sample planes are a set of sensing circles with different radii (Figure 4). We analyze the influence of the position of coverage circles on the coverage rate of sample planes in the

Sensing circle.
4.1. Coverage Optimization Analysis Based on the Horizontal Sample Plane

Sensing circles in a horizontal sample plane.
The radii of the sensing circles increase as the underwater sensor node moves closer to plane
Suppose that the center of the ith sensing circle is at
For
4.2. Coverage Optimization Analysis Based on the Vertical Sample Plane
In this section, we derive the optimization coverage in a vertical sample plane (Figures 6 and 7).

Vertical sample plane in underwater 3D space.

Vertical sample plane.
Definition 7 (upper and lower intersections).
Coverage circle

Upper and lower intersection points.
The sensing circles and line segments intersect at
The sensing line segments move with the corresponding underwater sensor nodes moving in z-axis, but the length of sensing line segment is unchanged. We suppose that the movement distance of n sensing circles is
Constraint conditions are shown as
It is difficult to find the optimal solution because the previous problem is nonlinear. Therefore we seek the feasible solution by tightening constraints. First, we analyze the affection of the sensing circles’ position on optimization algorithm.
Theorem 8.
The sum of the traveled distance of the nodes is small when the order of the nodes remains the same compared with other nodes.
Proof.
We assume that only two sensing circles
Both
The complete coverage of line segment
We then derive the following equation:
The minimum moving distance of the sensing circles is computed as follows:
We obtain
Equations (18) denote the following:
Thus, the minimum moving distance of the sensing circles is computed as follows:
that is,
According to the nature of the circle, we derive the following equation:
Thus,

Position of two sensing circles.
On the basis of the previous analysis, we assume that the relative order of the sensing circles after optimization is the same before optimization. We propose different constraint conditions depending on the length of the sensing line segments. The length of the sensing line segment is
For
The upper intersection of circle
For
The new positions of the sensing circles are


We find a feasible solution after limiting the constraints of the optimization algorithm in vertical planes. Moreover, the 2D plane coverage optimization in the y-z direction is similar to the x-z direction. Thus, we only sample the vertical plane in underwater 3D space (Figure 6).
4.3. Complete Algorithm
The pseudocode of the COS algorithm and the single sample plane coverage function are presented in Algorithms 1 and 2, and the flowchart of the single sample line coverage function is presented in Figure 12. The following parameters are defined for the mathematical modeling process:
Sensor_set: the set of sensor node position,
circle_set: the set of sensing circle position and radius,
circle_N_set: the set of sensing circle position and radius after optimization,
d_step_plane: the step size of plane sampling,
d_step_line: the step size of line sampling,
(l, w, h): the length, width, and height of the 3D space, respectively,
x_int, y_int: the initial position of the sample line in the x and y directions, respectively,
x_line, y_line: the position of the sample line in the x and y directions, respectively,
R: the sensing radius of the sensor node.
COS algorithm %Input: Sensor_set, d_step_plane, d_step_line, l, w, h, x_int, y_int, R %Output: Sensor_set. Main procedure: (1) (2) While (3) For (4) If (the sensing sphere and sample plane intersect) (5) calculate the radius of the sensing circle according to (7), and save the position to circle_set. (6) End (7) end (8) circle_N_set = plane_cover(circle_set, x_int, w, h, d_step_line); % the single sample plane coverage optimization function and its procedure are shown in Figure 11. (9) Update the position set Sensor_set according to circle_N_set. (10) (11) Empty the set circle_set, circle_N_set; (12) End (13) (14) While (15) For (16) If (the sensing sphere and sample plane intersect) (17) calculate the radius of the sensing circle according to (7), and save the position circle to circle_set. (18) End (19) end (20) circle_N_set = plane_cover(circle_set,y_int, l, h, d_step_line); (21) Update the position set Sensor_set according to circle_N_set; (22) (23) Empty the set circle_set, circle_N_set; (24) End
Plane coverage function circle_N_set = plane_cover(circle_set, x_int, (1) x_line = x_int; (2) while x_line < w (3) circle_N_set = line_cover(circle_set, x_line, h); % the sample line coverage optimization function and its flowchart is shown in Figure 12; (4) x_line = x_line + d; (5) circle_set = circle_N_set; (6) end

Straight line coverage flowchart.
The COS algorithm is performed by the sink node on land. First, a plane that is parallel to the x-z plane is sampled in interval (0,
Given the sampling plane function, the position of the initial sampling line, boundary of the plane, step length of the sampling, and positions and radii of the sensing circles, the subprogress can be used to optimize the coverage of the sampling plane. Line 1 is the line function of the initial sampling line. Line 3 performs the line coverage optimization function and calculates the new positions of the sensing circles. Additional optimization sequences are conducted until the sampling line is beyond the boundary of the sampling plane.
We describe the single-line coverage optimization function in a flowchart (Figure 12). The following equation is the expression of single-line coverage optimization function:
5. Simulation
In this section, we describe the simulation setup, performance metrics, and performance results of the study. We assume that all messages can be transmitted/received without any errors and that the sensor nodes are uniformly distributed in a 100 m × 100 m × 100 m 3D space. The sensing radius of the underwater sensor node is 20 m, and the communication nodes that are deployed on the water surface can communicate with each other. A coordinator node is attached to the server and acts as a gateway to the USNs. The server implements the COS algorithm presented in Section 4 and conveys the new position of the underwater sensor nodes to the coordinator. The location of an underwater sensor node is adjusted by its corresponding buoy via the cable after receiving the information.
Figure 13 shows the initial position of the sensing circles in one of the vertical sample planes after random distribution. Figure 14 shows the final position of the sensing circles of the COS algorithm in the same vertical sample planes. We observe that the overlap area in Figure 14 is less than the overlap area in Figure 13.

Initial position of the sensing circles after random distribution.

Position of the sensing circles after execution of the COS algorithm.
Figure 15 shows the coverage rate comparison between the random placement and COS algorithm in the sample vertical planes. The simulation is conducted with 60 sensor nodes, and the sensing range is set to 20 m. The sampling plane coverage rate of the COS algorithm outperforms the random approach by approximately 10%. This improvement is insignificant and is caused by the limited movement direction of the nodes (i.e., vertical movement only).

Coverage rate of sample planes for different distributions.
We have conducted experiments with different node quantities. The results shown in Figure 16 clearly reveal that our algorithm is valid for various node quantities. The simulation is implemented twice, and the sensing range is set to 20 m. The COS algorithm outperforms the random approach by approximately 10% in terms of coverage. The performance of the COS algorithm is superior when the number of nodes is relatively few. Considering that the 3D space coverage and node deployment on the surface have a close relationship, the optimal coverage in 3D space will be achieved by the COS algorithm if the nodes on the surface are distributed well.

Coverage rate for the number of nodes.
Figure 17 presents the simulation results in different sampling steps for 40 to 80 underwater sensor nodes. The algorithm performance is weak when additional iterations are implemented because the optimization in the second plane will have a negative effect on the first plane if two adjacent planes intersect at the same sensing sphere.

Coverage rate for iterations.
Similarly, when sensing range is increased while the number of nodes is fixed as 60 and 80, respectively, coverage increases as seen in Figures 18 and 19. The patterns show that the coverage can be effectively enhanced by the COS algorithm. We consider the influence of node quantity, iteration, and sensing range in the experiments and find that the proposed algorithm works effectively under extreme surroundings.

Coverage versus the sensing radius for 60 nodes.

Coverage versus sensing radius for 80 nodes.
6. Conclusion
This study proposes a 3D COS to enhance the coverage of USNs. We convert a 3D space coverage into a 2D plane coverage for heterogeneous networks by a sampling plane in the target 3D space. The positions of the sensing circles in the sample plane are calculated by the COS algorithm to enhance coverage. Thereafter, the sensor nodes that correspond to the sensing circles are redeployed. The simulation results show that the COS algorithm can improve the coverage provided by an initial random placement. To a certain degree, the coverage in the 3D space improves when the iterations increase. However, the coverage will remain unchanged or decrease when the number of iterations surpasses a certain value for the adjacent sample planes. The performance of the COS algorithm is affected by two aspects:
for the limitation of the network model, the coverage cannot be significantly improved when the wireless sensor nodes are nonuniformly distributed,
the COS algorithm is performed on each sample plane alone because we do not consider the relativity between the adjacent sample planes.
In the future, we will consider the relativity of the sample planes to ensure the flexibility of the COS algorithm as well as adjust the positions of the wireless sensor nodes on the water surface to distribute uniformly the sensor nodes and enhance their coverage in 3D space.
Footnotes
Acknowledgments
The subject is sponsored by the National Natural Science Foundation of China under Grant nos. 61373139, 61300239 and 61171053; the Doctoral Fund of Ministry of Education of China under Grant no. 20113223110002; Science & Technology Innovation Fund for higher education institutions of Jiangsu Province (CXZZ12_0481).
