You are currently viewing a new version of our website. To view the old version click .
Journal of Marine Science and Engineering
  • Feature Paper
  • Article
  • Open Access

11 March 2025

An Underwater Localization Algorithm Based on the Internet of Vessels

,
,
,
and
College of Information Science and Technology, Qingdao University of Science and Technology, Qingdao 266061, China
*
Author to whom correspondence should be addressed.
This article belongs to the Special Issue Advances in Underwater Positioning and Navigation Technology

Abstract

Localization is vital and fundamental for underwater sensor networks. However, the field still faces several challenges, such as the difficulty of accurately deploying beacon nodes, high deployment costs, imprecise underwater ranging, and limited node energy. To overcome these challenges, we propose a crowdsensing-based underwater localization algorithm (CSUL) by leveraging the computational and localization resources of vessels. The algorithm is composed of three stages: crowdsensing, denoising, and aggregation-based optimization. In the crowdsensing stage, nodes transmit localization requests, which are received by vessels and broadcasted to nearby vessels. Using concentric circle calculations, the localization problem is transformed from a three-dimensional space to a two-dimensional plane. An initial set of potential node locations, termed the concentric circle center set, is derived based on a time threshold. The denoising stage employs a Density-Based Noise Removal (DBNR) algorithm to eliminate noise caused by vessel mobility, environmental complexity, and the time threshold, thereby improving localization accuracy. Finally, in the aggregation-based optimization stage, the denoised node location set is refined using a centroid-based approximate triangulation (CBAT) algorithm to determine the final node location. Simulation results indicate that the proposed method achieves high localization coverage without requiring anchor nodes and significantly improves localization accuracy. Additionally, since all localization computations are carried out by vessels, node energy consumption is greatly reduced, effectively extending the network’s lifetime.

1. Introduction

The development of Underwater Wireless Sensor Networks (UWSNs) has significantly advanced marine research, which serve as an extension of Wireless Sensor Networks (WSNs). UWSNs have drawn considerable attention in both military and civilian domains, with applications including anti-submarine intrusion detection, underwater cooperative combat systems, marine environment monitoring, ocean exploration, underwater target tracking, and navigation assistance [1,2]. Precise localization of underwater sensor nodes is fundamental to the UWSN applications and remains a central focus of current research [3]. These nodes, deployed across diverse oceanic regions, collect essential environmental data such as temperature, salinity, and pressure. However, the utility of these data is contingent upon precise node localization, underscoring the critical need for high-accuracy localization algorithms [4,5].
Most Wireless Sensor Networks can directly utilize the Global Positioning System (GPS) for node localization. However, the underwater environment presents unique challenges, as GPS signals undergo significant attenuation and scattering underwater. In comparison, acoustic signals offer superior propagation characteristics in aquatic settings and are thus widely used for data transmission in current UWSNs [6]. Additionally, ocean currents lead to the positional drift of UWSN nodes, making traditional terrestrial localization methods ineffective in underwater scenarios [7]. UWSNs typically employ a three-dimensional architecture comprising beacon nodes and ordinary or to-be-localized nodes. Beacon nodes are equipped with advanced computational and localization capabilities, while ordinary nodes rely on the support of beacon nodes.
UWSN localization algorithms are generally classified into range-based and range-free approaches [8]. Range-based methods utilize metrics such as Received Signal Strength Indicator (RSSI), Time of Arrival (TOA), Time Difference of Arrival (TDOA), and Angle of Arrival (AOA) to determine node positions [9]. Range-free methods depend on network connectivity, with common algorithms including the centroid algorithm, Approximate Point-In-Triangulation (APIT), and DV-Hop [10]. Range-based localization algorithms achieve high accuracy but entail significant computational overhead and elevated energy consumption. In contrast, range-free algorithms are more energy-efficient and computationally simpler, albeit with lower accuracy. Both methods rely on beacon nodes to assist ordinary nodes in position determination. Effective localization requires a sufficient proportion of nodes in the UWSN to serve as beacons. However, the high cost of underwater beacon nodes, coupled with the complexities of the marine environment, poses significant challenges to their precise deployment. Additionally, underwater distance measurements are often imprecise. Given the limited energy resources of deployed nodes, it is critical for localization algorithms to optimize energy consumption to extend the operational lifetime of the network [11].
Numerous vessels operate on the sea surface, most of which are equipped with advanced capabilities such as positioning, communication, and computation. These capabilities enable vessels to acquire precise location data and establish effective communication with underwater nodes [12]. To address the significant challenges posed by underwater beacon nodes—such as the difficulty of precise deployment, high costs, inaccurate ranging, and limited energy resources—this study introduces a crowdsensing-based approach that harnesses the extensive participation of vessels in underwater node localization.
The main contributions of this paper are summarized as follows:
  • We developed a crowdsensing-based underwater node localization algorithm (CSUL) leveraging the Internet of Vessels (IoV) to enable large-scale participation of vessels in node localization. This method eliminates the need for ranging by allowing nodes to initiate localization requests and utilizing the positioning, computational, and energy resources of vessels. As a result, the cost of deploying beacon nodes is significantly reduced. Furthermore, the algorithm employs concentric circle calculations to project the three-dimensional localization problem onto a two-dimensional plane, substantially reducing both the computational complexity and the energy consumption of the nodes.
  • A density-based noise reduction algorithm (DBNR) was designed to address localization noise caused by vessel mobility, environmental complexity, and time threshold limitations during the crowdsensing process. By effectively filtering out these noise points, this algorithm significantly enhances localization accuracy.
  • We proposed a centroid-based approximate triangulation (CBAT) aggregation optimization algorithm to further refine the localization process. By applying triangulation principles, this algorithm processes the denoised set of concentric circle centers obtained through crowdsensing, narrowing the aggregation area, enhancing localization precision, and completing the final localization step.
The structure of this paper is as follows: Section 2 reviews the latest advancements in UWSN node localization algorithms. Section 3 provides an in-depth description of the crowdsensing-based underwater node localization algorithm, which leverages the Internet of Vessels. Section 4 presents a comparative analysis of the proposed algorithm, supported by experimental results. Finally, Section 5 concludes the paper.

3. Models and CSUL

3.1. Localization Model

In the scenario of this algorithm, localization involves underwater sensor nodes and vessels. As shown in Figure 1a, the sensors are randomly distributed at various depths underwater to monitor different regions. These battery-powered sensors are equipped with pressure sensors for depth measurement and have a communication range of up to 1.5 km. Their primary function is to monitor the underwater environment and send localization requests, as they lack built-in localization capabilities. On the sea surface, the vessels are equipped with GPS modules, as well as communication and computational resources. They can receive signals from the sensor nodes and communicate with other vessels, with a communication range of up to 30 km.
Figure 1. Network model and localization model. (a) Network model. (b) Underwater node surface projection model.
During the localization process, underwater nodes transmit localization request messages containing their node I D and timestamp ( I D , T s ) . Upon receiving these messages, surface vessels record their current position P and the message arrival time T D , then compute the propagation time as T = T D T S . The vessels subsequently broadcast the node ID, their recorded position, and the calculated propagation time ( I D , P , T ) . As shown in Figure 1b, vessels A and B receive the localization message from the underwater node N, record their respective positions at the time of reception, calculate the propagation times T A and T B , and broadcast this information to other vessels.
For computational simplicity, underwater nodes are projected onto the sea surface, where the vessels are located, effectively reducing the three-dimensional problem to a two-dimensional one. As shown in Figure 1b, the underwater node N is vertically projected onto the sea surface, with the projection point labeled as M. Equipped with pressure sensors, the underwater nodes can measure water depth. By calculating the X-coordinates and Y-coordinates of point M, the precise position of the underwater node can be accurately determined.
As shown in Figure 1b, the geometric relationships of distances among A, B, N and M are defined as
D M N 2 + D A M 2 = D A N 2 D M N 2 + D B M 2 = D B N 2
Thus, it can be obtained that
D A N 2 D B N 2 = D A M 2 D B M 2
The speed of sound underwater depends on factors such as temperature, salinity, and depth. In this study, the localization area is in the same sea area, and vessels A and B are located on the same horizontal plane. Therefore, we can assume the sound velocities c are the same. Substituting this assumption into Equation (2) yields the following result:
( c × T A N ) 2 ( c × T B N ) 2 = ( c × T A M ) 2 ( c × T B M ) 2
T A N 2 T B N 2 = T A M 2 T B M 2
It can be concluded that when the condition T A N = T B N is satisfied, T A M = T B M is also true. This implies that vessels A and B are located on the same circle with point M as its center. By calculating the coordinates of the circle’s center, the precise position of point M can be determined, which represents the position of the node.

3.2. Crowdsensing-Based Circle Center Calculation

Vessels employ a crowdsensing approach to collaboratively calculate localization upon receiving a request. Vessels with identical message transmission times are located on the same circle, centered at the sea surface projection of the underwater node. Varying transmission times result in the formation of multiple concentric circles. However, the spatiotemporal variability of real-world environments makes it challenging to identify vessels with perfectly identical transmission times. To mitigate this limitation, a threshold time difference Δ t is introduced. If the transmission time difference between two vessels is less than Δ t , they are deemed to be positioned on the same circle.
As shown in Figure 2, vessels A through L receive localization messages from the underwater node, calculate the message propagation time, and broadcast the results. Each vessel identifies other vessels from the received messages whose propagation time difference is smaller than a predefined threshold Δ t , forming a “same-circle set”—a group of vessels considered to lie on the same circle centered at the underwater node’s projection on the sea surface. According to the concentric circle center theorem, the perpendicular bisectors of any two points on different concentric circles intersect at the circle’s center. Thus, if the same-circle set includes at least two vessels, they can collectively participate in the calculation of the circle’s center. The size of the same-circle set can be controlled by adjusting Δ t . A smaller Δ t reduces localization errors, enhancing accuracy, but also decreases the number of vessels in the set, potentially limiting the localization coverage. Therefore, selecting an appropriate Δ t is critical to achieving a balance between localization accuracy and coverage.
Figure 2. Distributed circle center calculation.
As illustrated in Figure 3a, when the number of vessels in the circular region A B is three or more, vessel A identifies vessels B and C whose propagation time differences relative to A are less than Δ t . The perpendicular bisectors of A B and A C , denoted as M B - M 1 and M C - M 1 , respectively, are constructed, with M B and M C serving as their respective bases. The intersection point of these bisectors, labeled as M 1 , represents the center of the circle that encompasses A, B, and C. Accordingly, the following formula is derived:
y M 1 y A + y B 2 = x B x A y B y A × ( x M 1 x A + x B 2 ) y M 1 y A + y C 2 = x C x A y C y A × ( x M 1 x A + x C 2 )
Figure 3. Circle center calculation process: (a) when the number of vessels in the concentric circle set is greater than or equal to 3; (b) when the number of vessels in the concentric circle set is less than 3.
To overcome the limitation imposed by a minimum vessel count in the same-circle set, which prevents circle center calculation and results in localization failure when fewer than three vessels are present, we propose an optimized algorithm. As shown in Figure 3b, if the number of vessels in the same-circle set A B falls below three, vessel A identifies vessel B, whose message propagation time difference with A is less than Δ t . Similarly, vessel E in the same-circle set E F selects vessel F based on the same criterion. Perpendicular bisectors are then drawn for the line segments A B and E F , denoted as M B - M 2 and E F - M 2 , with their respective feet marked as M B and M E . The intersection of these bisectors determines the circle center, referred to as M 2 . This optimized approach allows the circle center to be calculated using the following formula:
y M 2 y A + y B 2 = x B x A y B y A × ( x M 2 x A + x B 2 ) y M 2 y E + y F 2 = x E x F y E y F × ( x M 2 x E + x F 2 )
In a similar manner, vessel B-L identifies the concentric circle set to which it belongs and selects pairs of vessels (excluding itself) within the set to construct perpendicular bisectors. The intersections of these bisectors are used to estimate the centers of the circles. However, due to uncertainties such as propagation delays and the Δ t parameter, deviations exist between the estimated and actual positions of the circle centers, resulting in a set of estimated centers, as illustrated in Figure 2. To enhance localization accuracy, a clustering-based optimization algorithm is then employed to refine the results.

3.3. Density-Based Noise Removal Algorithm

The circle center set is determined by calculating the intersection points of perpendicular bisectors formed by connecting pairs of vessels within multiple concentric circle sets. However, some intersection points may deviate significantly from the true circle center due to uncertainties in the process. As shown in Figure 4, point O represents the true circle center, while [ S I , S 2 , S 3 , , S 8 ] denote the eight vessels in the set, and [ A 1 , A 2 , A 3 , A 4 , A 5 ] indicate the calculated centers. Propagation delays and the Δ t parameter introduce positional deviations, resulting in vessels being slightly offset from the circle. For example, S 1 and S 2 , as well as S 5 and S 6 , are relatively far apart, whereas S 3 and S 4 , along with S 7 and S 8 , are closer together. When two vessels are very close—one inside the circle and the other outside (e.g., S 3 and S 4 , or S 7 and S 8 )—their bisectors’ intersection points with those of other vessels can deviate drastically from the true center, producing outliers such as A 1 , A 2 , A 3 , A 4 . These outliers substantially impact localization accuracy during clustering-based optimization. Therefore, it is essential to eliminate these anomalies before proceeding with the optimization process.
Figure 4. Outlier generation.
As shown in Figure 4, the outliers are sparsely distributed, while the normal calculated circle centers are densely clustered around the true circle center O. To address this issue, a Density-Based Noise Removal (DBNR) algorithm is introduced to efficiently eliminate these outliers. The DBNR algorithm consists of the following three steps:
  • Determining whether neighboring points fall within the neighborhood range: First, calculate the distance from point m to other points using Equation (6). Then, substitute these results into Equation (7) to determine whether the points surrounding point m are within the neighborhood defined by the radius e p s . If the elements in the matrix D m _ I n d e x are greater than zero, the corresponding point is considered to be within the neighborhood of m; otherwise, it is not.
    D m = x 1 m x 2 m x n m = x 1 x 2 x n x m 2 + y 1 y 2 y n y m 2 m ( 1 , 2 , , n )
    D m I n d e x = I n d e x 1 m I n d e x 2 m I n d e x n m = s g n ( e p s D m ) m ( 1 , 2 , , n )
  • Neighbor count calculation: Determine the neighbor count N u m for point m within the e p s -neighborhood based on the elements of the matrix D m _ I n d e x .
  • Outlier Detection: Identify a point as normal if N u m > m i n P t s (the minimum threshold for neighborhood points); otherwise, classified it as an outlier.
By utilizing the DBNR denoising algorithm, outliers in the set of centroids generated by crowdsourced sensing can be effectively removed, thereby enhancing localization accuracy. The denoising process of the DBNR algorithm is shown in Algorithm 1.
Algorithm 1 Density-based noise removal
Input:  P o i n t s , ϵ , m i n P T s
Output:  P o i n t s clean
  1: for  i = 1 to N do
  2:      N e i g h b o r s Find_Neighbors( P o i n t s , i, ϵ )
  3:     if length( N e i g h b o r s ) < m i n P T S  then
  4:          P o i n t index ( i ) 1
  5:         continue
  6:     else
  7:          P o i n t index ( i ) 1
  8:     end if
  9:      P o i n t s clean Data( P o i n t s ( i ) , P o i n t index ( i ) )
  10: end for

3.4. Aggregation Optimization Algorithm

To calculate the coordinates of the circle center, a clustering optimization algorithm is employed. The DBNR algorithm is first applied to preprocess the circle center set. Subsequently, the centroid-based approximate triangulation (CBAT) clustering optimization algorithm is used to refine the circle center set, enabling precise localization.
Directly clustering all points in the circle center set would result in an excessively large clustering area. Therefore, it is crucial to narrow the clustering region. The CBAT algorithm achieves this by applying a triangulation-based approach to the points in the circle center set, effectively improving localization accuracy. Specifically, the algorithm selects any three points from the set to form a triangle and uses centroid-based point-in-triangle testing (CBPIT) to check whether an unknown node lies within the triangle. This process is repeated, forming new triangles and conducting point-in-triangle tests until all circle center points have been considered. Finally, the centroid of the overlapping region among the triangles passing the CBPIT test is computed to estimate the position of the unknown node.
The CBAT algorithm comprises two main steps: (1) Centroid-Based point-in test (2) CBAT clustering. These calculations are executed by the participating vessels involved in the localization process. The process of the CBAT algorithm is shown in Algorithm 2, with detailed steps to be elaborated in subsequent sections.
Algorithm 2 Centroid-based approximate triangulation
Input:  P o i n t s c l e a n
Output:  E s t i m a t i n g _ P o s i t i o n
  1: P o i n t _ N = Calculate_Centroid( P o i n t s )
  2: for i 1 to size( P o i n t s ) do
  3:     Triangle(i) = Triangulate( P o i n t s ( i ) )
  4:     if CBPIT(Triangle(i), P o i n t _ N ) == True then
  5:          T r i a n g l e i n S e t = Add(Triangle(i))
  6:         continue
  7:     end if
  8: end for
  9: O v e r l a p _ r e g i o n = CBAT( T r i a n g l e i n S e t )
  10: E s t i m a t i n g _ P o s i t i o n = Centroid( O v e r l a p _ r e g i o n )

3.4.1. Centroid-Based Point-In Test

To determine whether a point M lies inside a triangle with vertices A, B, and C, the traditional point-in test is based on a set of geometric conditions. If these conditions are satisfied, point M is considered to be inside the triangle.
  • Theory 1: If point M moves in any direction d from its initial position while satisfying the conditions of Equation (8), it can be determined that M lies within the triangle, as illustrated in the left panel of Figure 5.
    d , i { 1 , 2 , 3 } , d ( M + v d ) , A i d t 0
    Figure 5. Traditional PIT.
    A 1 , A 2 , A 3 denote the vectors corresponding to the vertices A, B, and C, respectively. d ( ( M + v d ) , A i ) represents the distance between point M and vertex A i along the direction of d as M moves, t represents the parameter of the distance that point M moves along the direction d. The derivative d ( ( M + v d ) , A i ) d t describes the rate at which the distance changes with respect to t.
  • Theory 2: If there exists a direction d such that, when point M moves along this direction, Equation (9) is satisfied, then point M is located outside the triangle, as illustrated in the right panel of Figure 5.
    d , i { 1 , 2 , 3 } , i = 1 3 d ( ( M + v d ) , A i ) d t = 3 V i = 1 3 d ( ( M + v d ) , A i ) d t = 3
    A 1 , A 2 , A 3 denote the vectors corresponding to the vertices A, B, and C, respectively. d ( ( M + v d ) , A i ) represents the distance between point M and vertex A i along the direction of d as M moves, t represents the parameter of the distance that point M moves along the direction d. The derivative d ( ( M + v d ) , A i ) d t describes the rate at which the distance changes with respect to t.
Based on the above theories, point M can be determined to be either inside or outside the triangle if it satisfies either Theory 1 or Theory 2. However, exploring all possible directions from point M is computationally impractical. To address this limitation, we propose the following theory.
Theory 3: If there exists a point N sufficiently close to point M and N is inside the triangle, then M can also be considered to be inside the triangle.
According to Theory 3, determining whether M lies inside the triangle requires only finding a point N near point M that meets the conditions. The points in the circle center set are essentially estimates of the unknown node’s position. These estimates, though surrounding the actual position, exhibit some errors. To aggregate these points into a single representative localization point, a centroid algorithm is applied. By calculating the centroid N of the circle center set, N serves as the aggregated point that represents all circle centers or estimated positions. The computation of N is defined in Equation (10). The error between point N and the actual position is minimal, making N a reliable reference for determining whether M is inside the triangle. This approach constitutes an improved version of the traditional PIT test tailored to the current scenario, referred to as the CBPIT test.
( N x , N y ) = 1 n i = 1 n x i , 1 n i = 1 n y i

3.4.2. CBAT Clustering

Although the error between point N and the actual position is minimal, N is only the result of a preliminary clustering operation, providing sufficient accuracy to assist in determining whether point M lies within the triangle. To achieve higher localization accuracy, a more precise clustering method, known as CBAT clustering, is required.
The approximate triangulation method involves combining multiple points to form triangles and calculating the centroid of their overlapping regions. Points from the circle center set are iteratively combined to construct triangles, which are subjected to CBPIT testing. Triangles passing the test are then processed using the approximate triangulation method. As illustrated in Figure 6, the process of CBPIT testing and approximate triangulation is repeated until all possible triangle combinations from the circle center set are exhausted. The centroid of the final overlapping shaded region is then computed to determine the final estimated position of the localization point. In Figure 6, the blue point represents the centroid of all points in the circle center set (referred to as the “N” point in Theory 3). The shaded region corresponds to the overlapping area of triangle combinations that pass the CBPIT test, and the black point indicates the final estimated position.
Figure 6. CBAT.

3.5. Analysis

This section provides a detailed explanation of the designed algorithm. First, the overall network model is introduced, and the positioning model is elaborated. By projecting node positioning from three-dimensional space to a two-dimensional plane, the node positioning process is simplified. Then, the crowdsensing-based center calculation algorithm is explained in detail. The center calculation model utilizes the concentric circle principle to determine whether ships are on the same concentric circle by analyzing the time difference in receiving node positioning requests from the ships, thereby calculating a set of centers, i.e., the initial node position set. Next, the density-based denoising algorithm is introduced in detail. During the crowdsensing process, positioning noise points may arise due to ship dynamics, environmental complexity, and time thresholds, which affect the positioning results. However, since anomaly points are generally sparsely distributed, a density-based denoising algorithm is employed to remove these noise points. Finally, the aggregation optimization algorithm is explained in detail. After processing the center set with the denoising algorithm, the CBPIT (Circumcircle-Based Point Inclusion Test) is first used to determine whether a point lies within a triangle. Then, the triangles that pass the test are reduced in the aggregation area using an approximate triangulation approach, and CBAT (Convex Boundary Approximation Technique) aggregation is performed to calculate the final node position; the overall process of CSUL is shown in Algorithm 3.
The node positioning algorithm designed in this paper has the following advantages: (1) no need to deploy beacon nodes separately in underwater sensor networks; (2) no ranging is required; (3) underwater nodes only send a single message during the positioning process, saving energy. However, the current algorithm is only suitable for scenarios with a large number of ships, as it imposes certain requirements on the number of ships around the node. If the number of ships is too small, it may lead to increased computational errors.
Additionally, the current algorithm is suitable not only for static node positioning but also for dynamic node positioning. During the positioning process, underwater nodes only send a single positioning request message and do not require information exchange with ships. The node position calculated by the algorithm corresponds to the time when the node sends the positioning request message. Even if the node moves, it will not affect the positioning process. If the underwater node moves quickly, the node only needs to send multiple positioning requests to update its position multiple times.
Algorithm 3 Crowdsensing-based underwater localization
Input:  P o i n t s , ϵ , m i n P T s
Output:  E s t i m a t i n g _ P o s i t i o n
  1: for i = 1 to N do
  2:      N e i g h b o r s Find_Neighbors( P o i n t s , i, ϵ )
  3:     if length( N e i g h b o r s ) < m i n P T S then
  4:          P o i n t index ( i ) 1
  5:         continue
  6:     else
  7:          P o i n t index ( i ) 1
  8:     end if
  9:      P o i n t s clean Data( P o i n t s ( i ) , P o i n t index ( i ) )
  10: end for
  11: P o i n t _ N = Calculate_Centroid( P o i n t s c l e a n )
  12: for  i 1 to size( P o i n t s c l e a n ) do
  13:     Triangle(i) = Triangulate( P o i n t s c l e a n ( i ) )
  14:     if CBPIT(Triangle(i), P o i n t _ N ) == True then
  15:          T r i a n g l e i n S e t = Add(Triangle(i))
  16:         continue
  17:     end if
  18: end for
  19: O v e r l a p _ r e g i o n = CBAT( T r i a n g l e i n S e t )
  20: E s t i m a t i n g _ P o s i t i o n = Centroid( O v e r l a p _ r e g i o n )

4. Experimental Results and Analysis

To evaluate the proposed localization algorithm, MATLAB R2019b simulations were conducted to compare the performance of four approaches: DV-Hop, CBAT clustering, CBAT_without_DBNR clustering, and Cen-Agg clustering. To mitigate the impact of random errors, each simulation was repeated 50 times, and the average results were used as the final outcomes. The performance of the four algorithms was evaluated based on three key metrics: localization coverage, localization error, and average energy consumption. The vessel location data used in the simulations were sourced from the http://www.ships66.com/ website, as shown in Figure 7. Specifically, the positions of 50 vessels were selected within the longitude range of 122 . 1827 E– 122 . 2118 E and the latitude range of 29 . 9329 N– 29 . 9506 N. A cubic region measuring 500 m × 500 m × 500 m was defined within this area, where 200 sensor nodes were randomly deployed. All nodes in the network were assumed to be stationary. The simulations were conducted by varying the communication range of the nodes and the Δ t parameter used in circle center calculations. The detailed simulation parameters are presented in Table 1.
Figure 7. Vessel location diagram.
Table 1. Experimental parameters.

4.1. Localization Coverage

Localization coverage refers to the ratio of successfully localized nodes to the total number of nodes in the sensor network, as shown in Equation (11). Here, C represents the localization coverage, N s u c represents the number of successfully localized nodes, and N t o t a l represents the total number of nodes in the sensor network.
C = N s u c N t o t a l
As shown in Figure 8, the node communication range increases incrementally from 900 m to 1400 m. The experimental results indicate that, with the same time error Δ t , for the CBAT algorithm, as the communication range increases, the number of vessels receiving localization requests gradually increases, and the node localization coverage also grows, initially rising and then stabilizing at a peak value. For the DV-Hop algorithm, as the communication range expands, the number of vessels it can receive and the number of nodes it can interact with both increase, leading to a gradual rise in its localization coverage. When the communication range is 900 m, since DV-Hop is a multi-hop algorithm, it can communicate with more nodes through node connectivity when the communication range is sufficient. Therefore, its localization coverage is higher than the CBAT algorithm. When the communication range is greater than or equal to 1000 m, and the time error Δ t is 0.005 s or 0.006 s, the number of vessels that nodes can communicate with increases in the CBAT algorithm. As a result, the localization coverage of the CBAT algorithm is higher than that of the DV-Hop algorithm, with the coverage reaching 98% when Δ t is 0.006 s.
Figure 8. Node localization coverage under different communication ranges.
As shown in Figure 9, the time error Δ t increases incrementally from 0.001 s to 0.006 s. The experimental results indicate that, under the same communication range, as the time error Δ t increases, the number of vessels participating in localization within the same region also gradually increases. As a result, the node localization coverage of the CBAT algorithm increases, initially rising and then stabilizing at the peak value. When the time error Δ t is 0.006 s and the communication range is 900 m or 1000 m, the localization coverage of the CBAT algorithm exceeds 90%, with the highest coverage approaching 100% when the communication range is 1000 m.
Figure 9. Node localization coverage under different time errors.

4.2. Localization Error

Localization error refers to the difference between the estimated position calculated by the algorithm and the true position. The chosen localization error metric in this paper is the root mean square error (RMSE), and its calculation method is given in Equation (12). In the formula, N represents the total number of nodes in the network, X t i and Y t i represent the true x and y coordinates of the node, and X e i and Y e i represent the estimated x and y coordinates of the node calculated by the algorithm.
R M S E = 1 N i = 1 n X t i X e i 2 + Y t i Y e i 2
Figure 10 illustrates the root mean square error (RMSE) of node localization under varying time errors ( Δ t ) for CBAT clustering, CBAT_without_DBNR clustering, and Cen-Agg clustering, as a function of communication range. The results demonstrate that, for a given time error ( Δ t ), the CBAT algorithm consistently achieves the lowest localization error. As the communication range increases, the number of vessels participating in the localization process grows, leading to a gradual reduction in localization error, which eventually stabilizes. When the node localization coverage reaches its maximum (i.e., communication range R = 100 m and time error Δ t = 0.006 s), the localization error of CBAT stabilizes at approximately 5 m. By contrast, CBAT_without_DBNR clustering and Cen-Agg clustering yield higher localization errors under the same conditions. Among the three methods, CBAT_without_DBNR clustering exhibits the largest localization error, with a difference of approximately 15 m compared to CBAT clustering when the localization coverage is maximized. This finding underscores the significant impact of noise points on localization accuracy, as detailed in Section 3. The DBNR denoising algorithm proposed in Section 3 effectively addresses this issue by mitigating the influence of noise points. Furthermore, Cen-Agg clustering achieves a localization accuracy that is better than CBAT_without_DBNR clustering but inferior to CBAT clustering. While Cen-Agg clustering provides sufficient accuracy for the CBPIT testing of circle centers, it does not meet the precision requirements for final localization. Therefore, CBAT clustering is essential to achieve more accurate and reliable localization results.
Figure 10. Node localization error with communication range under different time errors. (a) t = 0.001 s, (b) t = 0.002 s, (c) t = 0.003 s, (d) t = 0.004 s, (e) t = 0.005 s, (f) t = 0.006 s.
As the DV-Hop algorithm’s localization error is unaffected by time errors and depends solely on the communication range, Figure 11 compares the localization errors of CBAT clustering, CBAT_without_DBNR clustering, and Cen-Agg clustering under maximum localization coverage ( Δ t = 0.006 s) with that of the DV-Hop algorithm across varying communication ranges. Figure 11 demonstrates that the localization errors of CBAT, CBAT_without_DBNR, and Cen-Agg clustering are significantly lower than those of the DV-Hop algorithm. Among these methods, the CBAT algorithm achieves the highest localization accuracy, with its error stabilizing at approximately 5 m. In contrast, the DV-Hop algorithm exhibits a decrease in localization error as the communication range increases, eventually stabilizing at around 70 m. This trend is attributed to the fact that a larger communication range allows more nodes to participate in the DV-Hop algorithm’s multi-hop process, thereby reducing localization errors. In summary, under the same communication range, the CBAT algorithm consistently demonstrates the highest localization accuracy.
Figure 11. Node localization error with communication range.
Figure 12 compares the root mean square error (RMSE) of node localization for CBAT clustering, CBAT_without_DBNR clustering, and Cen-Agg clustering under varying communication ranges and time errors. Previous analyses suggest that increasing the time error leads to more vessels participating in localization within the concentric circle set. However, these vessels are farther from the circle’s circumference, which increases calculation errors in the estimated circle centers. As shown in Figure 12, for the same communication range, the localization errors of all three algorithms increase as the time error grows. Among these, the CBAT algorithm consistently achieves the smallest localization error. As the time error increases, the number of participating vessels also rises, which gradually reduces the node localization error and eventually stabilizes. At maximum localization coverage (i.e., communication range R = 1000 m and time error Δ t = 0.006 s), the localization error of the CBAT algorithm stabilizes at approximately 5 m. In contrast, CBAT_without_DBNR clustering and Cen-Agg clustering exhibit significantly higher localization errors under the same conditions. The experimental results validate that the CBAT algorithm delivers the best performance, achieving the smallest localization error among the three approaches. Table 2 provides a detailed comparison of the RMSE for the three algorithms in Figure 12 at Δ t = 0.006 s.
Figure 12. Localization error with time error under different communication ranges. (a) R = 500 m, (b) R = 600 m, (c) R = 700 m, (d) R = 800 m, (e) R = 900 m, (f) R = 1000 m.
Table 2. Comparison of Figure 12 results.

4.3. Energy Consumption

Energy consumption refers to the energy expended by sensor nodes during the localization process. In underwater environments, where energy resources are nearly impossible to replenish or replace, minimizing energy consumption is essential to prolong the lifetime of individual nodes and, by extension, the entire sensor network. The energy consumption of underwater sensor nodes consists of two primary components: data processing and data transmission. Data processing energy is primarily determined by the size of the data packet, whereas data transmission energy depends on the communication environment, transmission distance, and data packet size. Accordingly, the energy required to transmit a data packet from one node to another in underwater environments is described by Equation (13).
E = l ε e l e c + l a ( f ) d d 2
l o g a ( f ) = 0.011 f 2 1 + f 2 + 4.4 f 2 4100 + f 2 + 2.75 × 10 5 f 2 + 0.0003
In this context, l represents the size of the transmitted data packet, d denotes the transmission distance, and a ( f ) d refers to the transmission amplification coefficient derived from the free-space and multipath models during signal propagation. Due to the unique characteristics of acoustic signals compared to electromagnetic signals, the absorption coefficients for underwater signal propagation in both models are expressed as a ( f ) , where f represents the frequency of the acoustic signal. The absorption coefficient a ( f ) is calculated using Thorp’s empirical formula [35,36], as shown in Equation (14). The experimental parameter settings are detailed in Table 3.
Table 3. Energy consumption experimental parameters.
Figure 13 compares the energy consumption of the CBAT localization algorithm and the DV-Hop algorithm under varying communication ranges. As detailed in this study, energy consumption primarily depends on the size of transmitted data packets and the communication range. Consequently, both algorithms show increased energy consumption with the expansion of the communication range, as illustrated in Figure 13. Under the same communication range, the CBAT algorithm demonstrates significantly higher energy efficiency than the DV-Hop algorithm. This efficiency stems from CBAT requiring only a single signal broadcast with a data packet size of 10 bytes, compared to the multi-hop broadcasting required by DV-Hop, which involves a data packet size of 13 bytes. Therefore, the CBAT algorithm consistently consumes considerably less energy than the DV-Hop algorithm. Specifically, under optimal conditions—when localization error is minimized and localization coverage is maximized (i.e., at a communication range of 1000 m)—the energy consumption of the CBAT algorithm remains below 10 J, substantially outperforming the DV-Hop algorithm. Table 4 compares the energy consumption of the two algorithms in Figure 13 under different communication ranges. In summary, the CBAT algorithm offers superior energy efficiency, making it a more effective choice compared to the DV-Hop algorithm. Table 5 provides a detailed comparison of the four algorithms mentioned in the simulation experiments. It can be seen that the CBAT algorithm outperforms the other algorithms in all metrics.
Figure 13. Energy consumption comparison of algorithms under different communication ranges.
Table 4. Comparison of Figure 13 results.
Table 5. Algorithm comparison.

5. Conclusions

This paper presents a crowdsensing-based underwater node localization algorithm tailored for the Internet of Vessels. In this approach, vessels collaboratively perform node localization through crowdsensing. The process begins with the node transmitting a localization request. Upon receiving the request, vessels broadcast it to nearby vessels, enabling the crowdsensing process. The localization problem is subsequently projected from a three-dimensional to a two-dimensional plane using concentric circle calculations, generating an initial set of potential node locations, referred to as the concentric circle center set. To improve localization accuracy and mitigate errors caused by vessel mobility, environmental complexity, and time thresholds, a DBNR denoising algorithm is introduced to remove noisy data points. Then, the CBAT clustering optimization algorithm is employed to aggregate the center set, completing the final node localization.
Experimental results indicate that the proposed algorithm achieves a localization coverage rate of up to 98% and significantly reduces localization errors compared to traditional algorithms such as DV-Hop and Cen-Agg. Furthermore, by leveraging vessels for computation and localization, the algorithm eliminates the computational and energy burdens on sensor nodes, substantially reducing communication energy consumption and effectively prolonging the network’s lifetime.

Author Contributions

Conceptualization, Z.W. and Y.G.; methodology, Z.W. and Y.G.; software, Z.W.; validation, Z.W. and F.L.; formal analysis, Z.W.; investigation, Y.G.; resources, Z.W.; data curation, Z.W. and F.L.; writing—original draft preparation, Z.W. and Y.G.; writing—review and editing, Z.W., Y.G., F.L., Y.C. and J.W.; visualization, Z.W.; supervision, Z.W.; project administration, Y.G.; funding acquisition, Y.G. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported by National Key Research and Development Program of China, grant number 2024YFB3311800.

Institutional Review Board Statement

Not applicable.

Data Availability Statement

The data presented in this study are available on request from the corresponding author.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Su, Y.; Guo, L.; Jin, Z.; Fu, X. A Mobile-Beacon-Based Iterative Localization Mechanism in Large-Scale Underwater Acoustic Sensor Networks. IEEE Internet Things J. 2021, 8, 3653–3664. [Google Scholar] [CrossRef]
  2. Zhang, W.; Han, G.; Wang, X.; Guizani, M.; Fan, K.; Shu, L. A Node Location Algorithm Based on Node Movement Prediction in Underwater Acoustic Sensor Networks. IEEE Trans. Veh. Technol. 2020, 69, 3166–3178. [Google Scholar] [CrossRef]
  3. Luo, J.; Yang, Y.; Wang, Z.; Chen, Y. Localization Algorithm for Underwater Sensor Network: A Review. IEEE Internet Things J. 2021, 8, 13126–13144. [Google Scholar] [CrossRef]
  4. Pu, W.; Zhu, W.; Qiu, Y. A Hybrid Localization Algorithm for Underwater Nodes Based on Neural Network and Mobility Prediction. IEEE Sens. J. 2024, 24, 26731–26742. [Google Scholar] [CrossRef]
  5. Sun, S.; Guo, H.; Wan, G.; Dong, C.; Zheng, C.; Wang, Y. High-Precision Underwater Acoustic Localization of the Black Box Utilizing an Autonomous Underwater Vehicle Based on the Improved Artificial Potential Field. IEEE Trans. Geosci. Remote Sens. 2023, 61, 1–10. [Google Scholar] [CrossRef]
  6. Zhuo, X.; Liu, M.; Wei, Y.; Yu, G.; Qu, F.; Sun, R. AUV-Aided Energy-Efficient Data Collection in Underwater Acoustic Sensor Networks. IEEE Internet Things J. 2020, 7, 10010–10022. [Google Scholar] [CrossRef]
  7. Rani, S.; Anju; Sangwan, A.; Kumar, K.; Nisar, K.; Rahim Soomro, T.; Asri Ag. Ibrahim, A.; Gupta, M.; Chand, L.; Ali Khan, S. A Review and Analysis of Localization Techniques in Underwater Wireless Sensor Networks. Comput. Mater. Contin. 2023, 75, 5697–5715. [Google Scholar] [CrossRef]
  8. Toky, A.; Singh, R.P.; Das, S. Localization Schemes for Underwater Acoustic Sensor Networks—A Review. Comput. Sci. Rev. 2020, 37, 100241. [Google Scholar] [CrossRef]
  9. Lin, Y.; Tao, H.; Tu, Y.; Liu, T. A Node Self-Localization Algorithm With a Mobile Anchor Node in Underwater Acoustic Sensor Networks. IEEE Access 2019, 7, 43773–43780. [Google Scholar] [CrossRef]
  10. Hao, K.; Xue, Q.; Li, C.; Yu, K. A Hybrid Localization Algorithm Based on Doppler Shift and AOA for an Underwater Mobile Node. IEEE Access 2020, 8, 181662–181673. [Google Scholar] [CrossRef]
  11. Liu, H.; Xu, B.; Liu, B. A Novel Predictive Localization Algorithm for Underwater Wireless Sensor Networks. Wirel. Netw. 2023, 29, 303–319. [Google Scholar] [CrossRef]
  12. Cao, H.; Guo, Y.; Li, F.; Zhang, K. Distributed Spatial Crowdsourcing Based Task Allocation in Ocean Internet of Things. Earth Sci. Inform. 2023, 16, 1195–1205. [Google Scholar] [CrossRef]
  13. Han, Y.; Sun, D.; Zheng, C.; Zhang, J. Centralized Underwater Node Localization Using Range Based Multilateral Accumulation Method (RBMAM). Appl. Acoust. 2018, 138, 115–120. [Google Scholar] [CrossRef]
  14. Saeed, N.; Celik, A.; Alouini, M.S.; Al-Naffouri, T.Y. Analysis of 3D Localization in Underwater Optical Wireless Networks with Uncertain Anchor Positions. Sci. China Inf. Sci. 2020, 63, 202305. [Google Scholar] [CrossRef]
  15. Kavoosi, V.; Dehghani, M.J.; Javidan, R. Underwater Acoustic Source Positioning by Isotropic and Vector Hydrophone Combination. J. Sound Vib. 2021, 501, 116031. [Google Scholar] [CrossRef]
  16. Yan, J.; Yi, M.; Yang, X.; Luo, X.; Guan, X. Broad-Learning-Based Localization for Underwater Sensor Networks With Stratification Compensation. IEEE Internet Things J. 2023, 10, 13123–13137. [Google Scholar] [CrossRef]
  17. Liu, F.; Chen, H.; Zhang, L.; Xie, L. Time-Difference-of-Arrival-Based Localization Methods of Underwater Mobile Nodes Using Multiple Surface Beacons. IEEE Access 2021, 9, 31712–31725. [Google Scholar] [CrossRef]
  18. Wang, C.; Du, P.; Wang, Z.; Wang, Z. An Underwater Acoustic Network Positioning Method Based on Spatial-Temporal Self-Calibration. Sensors 2022, 22, 5571. [Google Scholar] [CrossRef]
  19. Russo, P.; Di Ciaccio, F.; Troisi, S. DANAE++: A smart approach for denoising underwater attitude estimation. Sensors 2021, 21, 1526. [Google Scholar] [CrossRef]
  20. Russo, P.; Troisi, S.; Russo, P.; Di Ciaccio, F.; Troisi, S. DANAE: A denoising autoencoder for underwater attitude estimation. In Proceedings of the MetroSea 2020-TC19 International Workshop on Metrology for the Sea, Naples, Italy, 5–7 October 2020; IMEKO-International Measurement Federation Secretariat: Budapest, Hungary, 2020. [Google Scholar]
  21. Ge, X.; Zhou, H.; Zhao, J.; Li, X.; Liu, X.; Li, J.; Luo, C. Robust Positioning Estimation for Underwater Acoustics Targets with Use of Multi-Particle Swarm Optimization. J. Mar. Sci. Eng. 2024, 12, 185. [Google Scholar] [CrossRef]
  22. Jeyaseelan, W.S.; Kumar, K.V.; Jayasankar, T.; Ponni, R. Improved Grey Wolf Optimization Based Node Localization Approach in Underwater Wireless Sensor Networks. Meas. Sci. Rev. 2024, 24, 95–99. [Google Scholar] [CrossRef]
  23. Shi, L.; Yao, S.; Ning, N.; Zhou, Y. Barycentric Coordinate-Based Distributed Localization Over 3-D Underwater Wireless Sensor Networks. IEEE Trans. Signal Inf. Process Netw. 2024, 10, 640–649. [Google Scholar] [CrossRef]
  24. Wang, Y.; Song, S.; Liu, J.; Guo, X.; Cui, J. Efficient AUV-Aided Localization for Large-Scale Underwater Acoustic Sensor Networks. IEEE Internet Things J. 2024, 11, 31776–31790. [Google Scholar] [CrossRef]
  25. Ponni, R.; Jayasankar, T.; ASHOKKUMAR, V.; MALATHI, N. Enhanced Dwarf Mongoose Optimization Based Node Localization Scheme for Underwater Wireless Sensor Networks. Teh. Vjesn. 2024, 31, 1192–1198. [Google Scholar] [CrossRef]
  26. Joshi, B.; Modasshir, M.; Manderson, T.; Damron, H.; Xanthidis, M.; Li, A.Q.; Rekleitis, I.; Dudek, G. Deepurl: Deep pose estimation framework for underwater relative localization. In Proceedings of the 2020 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS), Las Vegas, NV, USA, 25–29 October 2020; pp. 1777–1784. [Google Scholar]
  27. Zhu, X.; Dong, H.; Salvo Rossi, P.; Landrø, M. Feature selection based on principal component regression for underwater source localization by deep learning. Remote Sens. 2021, 13, 1486. [Google Scholar] [CrossRef]
  28. Yan, J.; Meng, Y.; Yang, X.; Luo, X.; Guan, X. Privacy-preserving localization for underwater sensor networks via deep reinforcement learning. IEEE Trans. Inf. Forensics Secur. 2020, 16, 1880–1895. [Google Scholar] [CrossRef]
  29. Parras, J.; Zazo, S.; Pérez-Álvarez, I.A.; Sanz Gonzalez, J.L. Model free localization with deep neural architectures by means of an underwater WSN. Sensors 2019, 19, 3530. [Google Scholar] [CrossRef]
  30. Yu, X.; Li, D.; Liu, Y.; Zhang, K.; Liu, Y. Prediction and Positioning of UWSN Mobile Nodes Based on Tidal Motion Model. Sci. Rep. 2024, 14, 15185. [Google Scholar] [CrossRef]
  31. Dong, M.; Li, H.; Yin, R.; Qin, Y.; Hu, Y. Scalable Asynchronous Localization Algorithm with Mobility Prediction for Underwater Wireless Sensor Networks. Chaos Solitons Fractals 2021, 143, 110588. [Google Scholar] [CrossRef]
  32. Liu, H.; Xu, B.; Liu, B. An Automatic Search and Energy-Saving Continuous Tracking Algorithm for Underwater Targets Based on Prediction and Neural Network. J. Mar. Sci. Eng. 2022, 10, 283. [Google Scholar] [CrossRef]
  33. Wang, S.; Du, X.; Deng, T. A Zeroing Neurodynamics-based Location Method for Nodes in Underwater Acoustic Sensor Network. CAAI Trans. Intell. Technol. 2023, 8, 661–669. [Google Scholar] [CrossRef]
  34. Wang, M.; Xu, C.; Zhou, C.; Gong, Y.; Qiu, B. Study on Underwater Target Tracking Technology Based on an LSTM–Kalman Filtering Method. Appl. Sci. 2022, 12, 5233. [Google Scholar] [CrossRef]
  35. Han, G.; Du, J.; Lin, C.; Wu, H.; Guizani, M. An Energy-Balanced Trust Cloud Migration Scheme for Underwater Acoustic Sensor Networks. IEEE Trans. Wirel. Commun. 2020, 19, 1636–1649. [Google Scholar] [CrossRef]
  36. Song, S.; Liu, J.; Guo, J.; Lin, B.; Ye, Q.; Cui, J. Efficient Data Collection Scheme for Multi-Modal Underwater Sensor Networks Based on Deep Reinforcement Learning. IEEE Trans. Veh. Technol. 2023, 72, 6558–6570. [Google Scholar] [CrossRef]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.