Next Article in Journal
Underwater Image Enhancement Methods Using Biovision and Type-II Fuzzy Set
Previous Article in Journal
Optimal Control of Nonlinear, Nonautonomous, Energy Harvesting Systems Applied to Point Absorber Wave Energy Converters
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Underwater Network Time Synchronization Method Based on Probabilistic Graphical Models

by
Yujie Ouyang
1,2,3,
Yunfeng Han
1,2,3,*,
Zeyu Wang
1,2,3 and
Yifei He
1,2,3
1
National Key Laboratory of Underwater Acoustic Technology, Harbin Engineering University, Harbin 150001, China
2
Key Laboratory of Marine Information Acquisition and Security (Harbin Engineering University), Ministry of Industry and Information Technology, Harbin 150001, China
3
College of Underwater Acoustic Engineering, Harbin Engineering University, Harbin 150001, China
*
Author to whom correspondence should be addressed.
J. Mar. Sci. Eng. 2024, 12(11), 2079; https://doi.org/10.3390/jmse12112079
Submission received: 8 October 2024 / Revised: 7 November 2024 / Accepted: 11 November 2024 / Published: 18 November 2024
(This article belongs to the Special Issue Advances in Underwater Positioning and Navigation Technology)

Abstract

:
In underwater clustering and benchmark networks, nodes need to reduce the rate and energy consumption of acoustic communication while ensuring synchronization accuracy. In large-scale networks, the improvement in the efficiency of existing network time synchronization often relies on the optimization of topological structures, and the improvement in efficiency within local areas is limited. This paper proposes a method to synchronize underwater time using the probability graph model. The method utilizes the positional and motion status information of sensor networks to construct a factor graph model for distributed network synchronization. By simplifying the marginal probability density function of the system clock difference, it can quickly calculate the clock difference parameters of nodes, thereby effectively improve the synchronization efficiency. The experimental results show that the method can complete global time synchronization within a cycle while achieving a clock difference correction accuracy higher than seconds, which significantly optimized the synchronization cycle and efficiency, and reduced the energy consumption of the acoustic communication.

Graphical Abstract

1. Introduction

Network time synchronization refers to the process of synchronizing time across nodes in a network using network protocols. For surface time synchronization, it usually combines the standard time reference provided by a GNSS and propagates time information through the network. Network time synchronization is widely used in data centers, distributed systems, communication networks, and other scenarios requiring time synchronization. It focuses on achieving time synchronization through network protocols in distributed computing environments and involves a clock hierarchical architecture and adaptation to different network topologies.
The Network Time Protocol (NTP) is the most widely used network time protocol. It uses a hierarchical structure to organize time servers. Research in recent years has focused mainly on improving NTP security and resilience to interference, such as the work of Burbank et al. [1]. The Precision Time Protocol (PTP) is a typical centralized network protocol in which one device in the network is selected as the master clock and other devices act as slave clocks, obtaining their time from the master clock. Researchers have been working to improve the accuracy of PTP synchronization using hardware timestamps and clock filtering algorithms [2].
Network time synchronization methods are also widely applied in cloud computing and distributed databases. Research has focused on achieving reliable time synchronization in high-latency and unstable network environments [3]. It includes FTSP [4], RBS [5], and DMTS [6] for wireless sensor networks. The emergence of Time-Sensitive Networking (TSN) [7,8,9] further demonstrates that the future direction of sensor network data lies in reliable and real-time communication, emphasizing efficient and reliable data transmission. A key feature of TSN is the design of redundant paths, which ensures that network traffic can continue smoothly even if one path fails, a capability that is often challenging for most centralized networks to achieve.
The network structures of these protocols can be referenced for underwater time synchronization, but the synchronization process is not applicable due to the large propagation delay underwater. Compared with surface applications, underwater sensor nodes are usually powered by batteries, and the limited power supply severely restricts the computational and communication capabilities of the sensor nodes. Therefore, the structure of underwater networks is relatively simple and can generally be divided into three types based on network methods: centralized, distributed, and multi-hop, as shown in Figure 1.
In 2003, Ganeriwal et al. [10] proposed the Time Synchronization Protocol for Sensor Networks (TPSN) based on centralized network structures. Similarly to the NTP protocol, it classifies network nodes hierarchically and assigns each node a level number. The root node, which serves as the clock source for the entire network, is designated level 0, while other nodes synchronize with a node from the previous level, ultimately synchronizing all nodes with the root node. However, this method cannot prevent network paralysis caused by root node failure and is not suitable for networks with highly mobile nodes.
In 2017, Wang Shuo et al. [11] proposed an energy-optimal clustering method for underwater sensor networks, dividing time synchronization into inter- and intra-cluster synchronization [12] and calculating the optimal number of clusters by solving mathematical expectations. This method is not suitable for highly mobile networks, as significant changes in network topology require recalculation of the optimal number of clusters and re-clustering.
In 2020, Kong Weiquan et al. [13] proposed a dual-cluster head-time synchronization algorithm for underwater sensor networks based on clustering. By selecting two nodes as primary and secondary cluster heads, it improved the network robustness and improved the accuracy and efficiency of the time synchronization. It also considered the impact of node mobility on the synchronization accuracy, reducing estimation errors to some extent by introducing advanced node mobility models. However, given the complexity of the mobility of the underwater network, this method is difficult to implement.
For time synchronization in mobile networks, the accuracy of synchronization can be improved by providing the assistance of dynamic nodes [14,15,16] or by employing more accurate models of network node mobility [17,18,19,20]. However, despite the benefits of clustering nodes in reducing the messaging overhead for time synchronization in underwater sensor networks and improving the overall network synchronization accuracy, there are still deficiencies when it comes to dealing with mobile nodes. Furthermore, in small areas, the efficiency gains from centralized networking synchronization are not significant.
Multi-hop networking offers higher robustness compared with clustering models. For example, Sun C et al. [21] proposed Multi-Hop Time Synchronization for Underwater Acoustic Networks (MSUAN) in 2012, emphasizing the reduction in synchronization errors through multilevel timestamp exchanges. Wen J et al. [22] proposed an Improved Multi-Hop Time Synchronization for Underwater Acoustic Networks (IMSUAN) in 2013, improving synchronization accuracy by establishing a time synchronization tree, optimizing the node-listening mechanisms, and using global bias thresholds to filter out inaccurate timestamps. In 2021, Shams R et al. [23] proposed an algorithm that simultaneously performs node localization and time synchronization in multi-hop underwater sensor networks using a single anchor node. The algorithm employs gradient techniques to solve unconstrained optimization problems and optimizes node localization and time synchronization through calculations of angle information and propagation delays.
However, both clustering models and multi-hop network models are more suitable for large-scale network nodes, i.e., when node communication distances cannot cover the entire network. In small-scale networks (where node communication distances can cover the network), both models are not different from centralized networks and are limited by central nodes. Moreover, the actual synchronization algorithms do not differ from the time synchronization algorithms between two points (such as DE-Sync [24]) and do not fully utilize the network information. In most cases, underwater sensor nodes, whether mobile submersibles or stationary underwater beacons, have some ability to acquire location information. Integrating location information with sound velocity information can greatly simplify the time synchronization process. Higher location information accuracy can lead to higher time synchronization accuracy. However, the computational complexity brought about by multi-information fusion and the communication pressure from distributed network structures increases the energy consumption burden of underwater networks. How to achieve rapid time synchronization in underwater networks while maintaining a certain level of energy consumption was the research objective of this study.
To address these issues, this paper proposes a time synchronization method based on a probability graph model for underwater networks. This method solves the marginal probability density function of the system clock offset parameters and performs binary simplification to quickly calculate the clock offset parameters of various sensors within the local network, achieving dynamic time synchronization in distributed networks. Compared with conventional network time synchronization methods, the probability-graph-model-based time synchronization method employs distributed networking, reducing the dependence on central nodes and improving network robustness. This method improves multi-user protocols, integrates location and sound velocity information, significantly enhances the synchronization efficiency, and reduces the computational requirements for nodes through binary simplification of the algorithm.
This paper briefly introduces the application scenarios and the necessary measurement parameters of the proposed method in Section 2. Section 3 provides a detailed overview of the topologies and limitations of distributed networks suitable for probabilistic graphs, the advantages of the message-passing scheme compared with other underwater network time synchronization methods, the mathematical and physical models when the probabilistic graph method processes single-cycle and multicycle data, the binary simplification method to reduce the model complexity and improve the computational efficiency, the impacts of different parameter errors on the clock offset estimation, and the pseudocode for the calculations of the single-cycle and multi-cycle single-node models. Section 4 presents real field experiment validations that compared the improvements in multicycle data against single-cycle data, as well as performance comparisons with traditional underwater time synchronization methods under multi-cycle data conditions.

2. Application Scenarios

The underwater network time synchronization methods discussed in this document are applied in a scenario, as shown in Figure 2, where the sensor networks periodically synchronize their time reference. As shown in Table 1, when node A receives a signal from node B, it records the reception time T AB and its own position P A . Similarly, each round of synchronization can obtain the time values T AB , T BA , T BC , T CB , T AC , and T CA , and node positions P A , P B , and P C , which constitute one cycle of time synchronization for the sensor network. In addition, the network must measure the average sound velocity C in the water layer where it is located. The above describes a section of this research paper.

3. Principles of Underwater Network Time Synchronization Methods

To simplify the existing network time synchronization protocol and increase synchronization efficiency, additional information is clearly needed as a support. Information fusion would increase the computational burden on nodes while reducing the central node’s constraints on the network. Adopting a distributed network would require further network communication resources. This paper attempts to utilize factor graph models to simplify the entire network time synchronization process, thereby reducing the communication and computational demands of the network synchronization.

3.1. Network Topology

The probabilistic graph method adopts a distributed hierarchical network approach. Taking the underwater network in Figure 3 as an example (it is generally assumed that the communication range of the cluster head nodes is greater than that of the ordinary nodes), the network can be divided into six networks based on the communication ranges of the nodes. Each network forms its own distributed network, while the five cluster head nodes form a larger distributed network. In this case, each node is not a central node for its local network, and the cluster head nodes only serve as time reference standards for the local network rather than initiators of all synchronization activities. When a cluster head node fails, the distributed network can use the time of any node within the network as a reference, achieving unification of the local network.
The scope of hierarchical distributed networking is limited by the communication range of the cluster head nodes. For larger-scale networking, the communication distance of the cluster head nodes cannot cover the entire underwater acoustic network, which requires multi-hop-assisted networking. As shown in Figure 4, distributed networking is used within clusters, while multi-hop communication is employed between clusters.

3.2. Message-Passing Scheme

Cluster-based networking and multi-hop networking can significantly improve the synchronization efficiency in large-scale networks. However, these improvements are primarily based on optimizations in a topological structure and offer no enhancement in local areas (within the communication coverage of a single node) compared with inter-platform time synchronization methods.
The intra-cluster information transmission scheme (multiuser protocol) is shown in Figure 5. It is evident that existing network time synchronization methods, while needing to consider information differentiation between multiple users, are fundamentally not different from one-way or two-way time synchronization methods. They do not fully utilize the additional information available in sensor networks, thus missing the opportunity to simplify the time synchronization process in underwater sensor networks.
The probability graph method for time synchronization, as illustrated in Figure 6, differs from methods previously used that require multiple interaction cycles to complete a single time synchronization. In contrast, the probability graph method can complete a time synchronization in each interaction cycle ( Δ T ). In addition, multiple sets of interactions can further improve the accuracy of the synchronization.

3.3. Factor Graph Models

Underwater network time synchronization methods based on probabilistic graphical models are generally applied to underwater sensor networks (clusters, reference networks, etc.) that require high refresh rates. In this scenario, the reference points have certain initial position values and the unification of the time reference can be achieved through relative ranging. The mathematical model for the clock source of this method is
T = a × t + Φ .
where T is the local time axis, t is the standard reference time axis, a is the clock drift (clock frequency error), and Φ is the clock offset (clock phase error). Due to the ability to achieve a real-time reference alignment of time, in most cases, the model does not require a correction for clock drift a.
The fusion parameters include reference position information, reference clock offset, relative ranging information, time delay difference measurement information, and relative ranging signal reception moments. At this point, the global function is represented as
p ( Φ , T , τ , D , P ) = p ( Φ , T , τ ) p ( τ , D ) p ( D , P ) .
In Equation (2), Φ represents the set of clock offsets for each reference beacon, T denotes the set of all reception times of the measurement signal, τ represents the set of measurements of the time delay difference, D is the set of range measurements, and P is the set of underwater reference positions.

3.3.1. Single-Group Interaction Time Synchronization Model

Taking the range between three beacons A, B, and C (with A as the reference beacon, Φ A = 0 ) as an example, the single-cycle factor graph model as shown in Figure 7:
f 1 represents the reference for the signal reception time, time delay, and reference clock offset. f 2 represents the functional relationship between the information from the range and the time delay difference. f 3 represents the functional relationship between the information from the range and the reference position.
Let
f a Φ i Φ j = Φ i f 1 Φ i , Φ j , T i j , T j i , τ i j f b τ i j = τ i j f 2 τ i j , D i j f c D i j = D i j f 3 P i , P j , D i j i , j { A , B , C } i j ,
and the expression of the edge function is
p Φ B = f a Φ B Φ A f b τ AB f c D AB f a Φ B Φ C f a Φ C Φ A f b τ AC f c D AC f b τ BC f c D BC .
The relationship between the clock offset Φ , reception time T, and measured delay τ is
Φ i = T i j + T j i + 2 ε T τ i j Φ j .
ε T represents the measurement error of time, which follows ε T N 0 , σ T 2 . The function f 1 can be expressed as
f 1 Φ i Φ j = 1 2 2 π σ T exp 1 8 σ T 2 T i j + T j i 2 τ i j Φ i + Φ j 2 .
The relationship between the range information D and the time delay τ is
τ i j = D i j c + ε c .
ε c represents the measurement error of the sound velocity; it follows that ε c N 0 , σ c 2 . Therefore, the function f 2 can be expressed as [25]
f 2 τ i j = D i j 2 π σ c τ i j 2 exp 1 2 D i j τ i j c 2 / σ c 2 .
The relationship between the reference position information P and the range information D is
D i j = P i P j + 2 ε p .
ε p = ε p x ε p y T represents the positional error, which can represent the distributions ε p x N 0 , σ p 2 and ε p y N 0 , σ p 2 . Then, Δ x N P i x P j x , σ p 2 and Δ y N P i j P j y , σ p 2 . P i x and P i j denote the horizontal and vertical coordinates of the reference points i, respectively, while Δ x and Δ y represent the horizontal and vertical components of the distance D i j , respectively.
Let u = ( Δ x ) 2 + ( Δ y ) 2 and λ = P i x P j x 2 + P i j P i j 2 ; then u follows a non-central chi-square distribution with two degrees of freedom [26]:
p ( u ) = 1 2 σ p 2 u λ n 4 1 2 exp 1 2 u 1 2 λ 1 2 σ p 2 I n 2 1 u λ σ p 2 ,
D i j = u , and the function f c can be expressed as
f 3 D i j = D i j σ p 2 exp D i j 2 + λ 2 σ p 2 I 0 D i j λ σ p 2 .
By analogy with the derivation of the reference B, the marginal probability density function for the clock offset of reference C can be obtained similarly.

3.3.2. Comprehensive Time Synchronization Model for Multiple Group Interactions

Compared with single-cycle interactions, a factor graph model that integrates information from multiple interactions can achieve a higher accuracy of clock offset estimation. Taking multiple interactions between reference A and mobile platform B as an example, the single-node time synchronization factor graph model is shown in Figure 8.
f 4 expresses the functional relationship between the clock offset in the adjacent time interval. The multi-cycle interaction model, as shown in Figure 9, is a combination of the single-cycle model and the single-node model.
Let
f d Φ B i = Φ B f 1 Φ B i , T i , τ i f e τ i = τ i f 2 τ i , D i f f D i = D i f 3 P A , P Bi , D i f g Φ B i Φ Bj j = Φ B f 4 Φ B i , Φ B j i , j { 1 , 2 , 3 n } i j ,
n is the maximum number of interactions. Taking ‘ Φ B 2 ’ as an example, the expression for its marginal function is
p Φ B 2 = f g Φ B 2 Φ B 1 f g Φ B 2 Φ B 3 i = 1 3 f d Φ B i f e τ i f f D i .
The relationship between the clock offset at time i (denoted as Φ Bi ) and the clock offset at time j (denoted as Φ B j is
Φ B i = Φ B j + ( i j ) a B + ε ϕ .
Here, a B represents the clock drift and ε ϕ represents the jitter error in the clock phase, which follows ε ϕ N 0 , σ ϕ 2 .
f 4 ( Φ B i | Φ B j ) = 1 2 π σ ϕ exp 1 2 σ ϕ Φ B j + ( i j ) a B Φ B i 2

3.4. Binary Simplification

Under normal circumstances, the position, distance, delay, clock offset Φ i , and other information about the target to be estimated are distributed continuously, and the correlation functions between variables are also distributed continuously. Directly estimating the clock offset by calculating the expectation of the continuous distribution function has a high computational complexity. Therefore, the sampling concept is introduced to discretize the continuous distribution function. The most probable result of the clock offset distribution is divided into grids, with each grid representing an estimated clock offset value. The final estimated result of the clock offset is obtained by the weighted averaging of the estimated values for each grid. The main steps for calculating the weights are as follows. If the measured data set ϱ is known, fixed-interval scattered points can be used to represent the grid area ( X = x , Y = y ) . The weight w = f ( X = x , Y = y Q ) of this grid area is represented by the value of the probability density function at the position x , y . The calculation of the factor graph mainly focuses on the transmission and updating of messages. To reduce the complexity, we adopted a binary mode for the message transmission. The binary mode transforms the sum operations in the message transmission process into logical OR operations and product operations into logical AND operations, greatly reducing the computational load.
Based on the binary mode, the probability density function of the distance information can be simplified to
f 3 ( D ) 1 , ε D < D λ 1 2 < ε D 0 , else .
The probability density function of the delay information can be simplified to
f 2 ( τ ) 1 , ε τ < D τ c < ε τ 0 , else .
Under a single-group interaction, the probability density function of the node clock offset can be simplified to
f 1 ( Φ i | Φ j ) 1 , ε ϕ < T i j + T j i 2 τ i j Φ i + Φ j < ε ϕ 0 , else .
The probability density function of the clock offset between nodes under multiple interactions can be separately simplified to
f 1 ( Φ B i ) 1 , ε ϕ < T i τ i Φ B i < ε ϕ 0 , else ,
f 4 ( Φ B i | Φ B j ) 1 , ε ϕ < Φ B i Φ B j ( i j ) a B < ε ϕ 0 , else .
ε D , ε τ , and ε ϕ represent the standard deviations of the respective probability density functions. The binary representation of the message transmission is
u x f ( x ) = AND h n ( x ) { f } [ u h x ( x ) ] u f x ( x ) = OR { } x [ f ( X ) AND y n ( f ) { x } [ u y f ( y ) ] ] .

3.5. Error Analysis

3.5.1. Impact of Time Measurement Error on Synchronization Accuracy

From Equations (5) and (6), it can be seen that under the condition that the time measurement values follow a normal distribution ε T N 0 , σ T 2 , the synchronization accuracy also follows a normal distribution ε ϕ N 0 , 4 σ T 2 . If a standard deviation is used as the accuracy of the estimation, then ε ϕ = 2 σ T .

3.5.2. Impact of Sound Speed Measurement Error on Synchronization Accuracy

The sound speed measurement error is introduced in Equation (7). Similarly, using one standard deviation as the accuracy of the measurement of the sound speed ε c , we have ε c = σ c , ε c c , given that
ε τ = D × ε c c 2 .
Substituting into Equation (5) yields
ε ϕ = D × ε c c 2 .

3.5.3. Impact of Position Measurement Error on Synchronization Accuracy

From Equation (10), it can be seen that u follows a noncentral chi-square distribution with two degrees of freedom; thus,
var ( u ) = 2 n σ p 4 .
Let σ p represent the accuracy of position measurement D i j = u . The error of D i j is a standard deviation. We have
ε D = std ( D ) = 2 n 4 σ p = 2 σ p .
Given τ = D c , we can express
ε τ = ε D c = 2 ε p c .
Substituting into Equation (5) gives
σ ϕ = 2 σ p c .

3.5.4. Comprehensive Impact

When considering the input parameter errors ε p , ε c , and ε T simultaneously, substituting ε p and ε c into τ = D c yields
ε τ = D + 2 ε p c + ε c D c = 2 ε p τ × ε c c + ε c .
Now, substituting ε τ and ε T into Equation (5) gives
ε ϕ = ε τ + 2 ε T = 2 ε p τ × ε c c + ε c + 2 ε T .
It can be seen that the main source of error in the estimation of the clock deviation arises from the time measurement error.

3.5.5. Impact of Resolution on Synchronization Precision

The resolution mentioned in this article refers to the minimum unit of clock deviation after binary simplification, which can be expressed as
ε ϕ Binary Simplification max η , ε ϕ .
When η > ε ϕ , the simplified deviation estimation error ε ϕ Binary Simplification is greater than η j ; when η < ε ϕ , the simplified deviation estimation error ε ϕ Binary Simplification is greater than or equal to the clock deviation estimation error ε ϕ . Therefore, the resolution should ideally be less than the accuracy of the time measurement.

3.6. Algorithm Process

This section focuses on the time synchronization scenario between underwater benchmarks. After establishing a factor graph model, the sum–product algorithm was employed to calculate the marginal probability function. Finally, to simplify the computational process, discretization and binary representation were adopted for the calculations.
The flow of the simplified algorithm is given in Algorithm 1.
Algorithm 1: Single-cycle probability graph time synchronization algorithm.
   Procedure-estimated clock offset (
    p A , p 1 , , p n / / Reference node A and n nodes to be synchronized
    c , T ( n + 1 ) × n / / Sound velocity and reciprocal range observations
    σ p , σ c , σ T / / Position, speed of sound, time-instant-observed value accuracy
   )
       1 p i , p j Select any two points p 1 , , p 2
    / /  Calculate the clock offset of node i at Φ A = 0 , path 1.1
       2 σ d f c D A i D A i 2 d D A i f c D A i D A i d D A i
       3 σ τ , σ Similarly
      4         For all p A , p i , there exists a D A i that satisfies (16)
      5         For all D A i , there exists a τ A i that satisfies (17)
      6         For all τ A i , there exists a Φ i A that satisfies (18)
    / /  Calculating the clock offset at node id when Φ A = 0 , path 1.2
       7 Φ j A Same as steps 2 6
    / /  Calculate the clock offset of node i in set Φ j A , path 1.3
       8 For φ k , j A , φ k , j A Φ j A
       9 Φ k , i j Same as steps 2 6
    / /  Calculate the final clock offset of node i
       10 Φ i = AND k = 1 lengh h Φ j Φ i A , Φ k , i j
   Output  Φ i
Repeating for N cycles, the clock offset Φ i , 1 , Φ i , 2 , , Φ i , N can be obtained for a single node, and by combining the single-node factor graph model, the estimated value of the comprehensive multicycle clock offset can be obtained by Algorithm 2.
Algorithm 2: Comprehensive multi-cycle probability graph time synchronization algorithm.
   Procedure Estimated clock offset (
    Φ i , 1 , Φ i , 2 , , Φ i , N / / Multiple clock offset measurements for node i
    σ ϕ //Single-cycle clock offset estimation accuracy
   )
       1 Φ i , j Select the clock offset at time j for node i  Φ i , Φ i , 2 , , Φ i , N
    / /  Calculate the clock offset at time j for node i, following path 2.1 to end
       2 For   n   =   1   to   N
      3           For all Φ l , n , there exists Φ l , j | m that satisfies 20
       4 End for
    / / Calculate the final clock offset at time j
       5 Φ i , j = AND n = 1 N Φ i , j N Φ i , j N
   Output  Φ i , j

4. Field Experiments

4.1. Overview of the Experiment

On 3 April 2023, at 10:58 a.m., an underwater cluster time synchronization experiment was conducted in the South China Sea at a depth of 3400 m. The experiment involved the deployment and calibration of four seafloor beacon transponders, with a total duration of 3 h.
The device deployment process is illustrated in Figure 10, with the complete anchor system structure highlighted by a red box. During the deployment process, it was necessary to periodically collect the sound speed profile of the deployment area and record the coordinates of the experimental vessel as the initial values for the beacons.
The frequency band of the communication signal ranged from 2 to 4 kHz. The relative positions of the deployed beacons are shown in Figure 11 (beacon J3 was excluded from subsequent data processing due to battery depletion and incomplete data collection). The point [0, 0] was the midpoint of the line that connects the coordinates of J1 and J4.
The sound velocity profile was collected on 3 April 2023, at 19:10:09. The results of the acquisition of the sound velocity are shown in Figure 12.
The benchmark interaction cycle was 20 s, with J1, J2, and J4 having forwarding delays of 0 s, 0.8 s, and 2.4 s, respectively. The beacon clock source was an SA.45s [27] (a chip−scale atomic clock) rubidium clock model, with a cumulative drift of less than 1 s over 135 h. Therefore, it can be assumed that the clock offset remained constant during the experiment. Assuming that each beacon used its transmission moment as the local clock’s 0 moment, the clock offset Φ for each beacon was 0 s, 0.8 s, and 2.4 s, respectively.
The experiment collected 206 cycles of intermeasurement signals with a 10 s cycle. Each beacon recorded the arrival times of the signals from other beacons, using its own transmission moment as a reference, as shown in Figure 13, Figure 14 and Figure 15. It can be seen that the fluctuation amplitude of the delay measurements was consistently below 1 × 10 4 s. This error was primarily due to variations in the velocity of the sound. This amplitude represented the upper limit of the accuracy of clock-offset measurement and served as the main basis for setting the resolution in discrete calculations. An excessively high resolution would affect the computation speed, while a too low resolution would reduce the synchronization accuracy. For these experimental data, the clock offset resolution was set to 1 × 10 5 s.

4.2. Trial Conditions and Efficiency Assessment

(1) Trial conditions
The source level of the underwater transducer during sea trials was 185 dB, with f 1 = 2 kHz and f 2 = 4 kHz, and the noise level within the bandwidth was approximately 83 dB, the signal length was 1 s, the propagation loss was approximately 70 dB, the relative positioning accuracy underwater was approximately 0.1 m, and the average sound speed in water was approximately 1500 m/s.
(2) Efficiency assessment
The time synchronization technology based on probability graphs was of the type of one-way interaction, with a propagation distance of not less than 3000 m , an equivalent sound speed of not less than 1500 m / s , a forward delay T r = 1 s , a maximum clock difference β = Φ 54 = 2.4 s , and the number of nodes to be synchronized Y. The synchronization efficiency Δ T is given by
Δ T = T d T s + β 3.4 s
The synchronization efficiency Δ T of the DE-Sync method under the same scenario is
Δ T = Y × 2 D c ˜ + T r Y × 5 s

4.3. Experimental Results

Comparison Between the Single-Cycle Interaction Model and the Multi-Cycle Interaction Model

The experiment collected data from 206 cycles, although data from a single cycle were sufficient to solve the offset of the beacon clock, as shown in Figure 16 and Figure 17. With increasing redundancy of the messages, the width of the peak gradually decreased and the precision of synchronization progressively improved and approached the 1 × 10 5 s resolution. The measurement accuracy of J2 was higher than 8 × 10 4 s (see the yellow bar annotations in Figure 16), while the measurement accuracy of J4 exceeded 3 × 10 5 s (see the yellow bar annotations in Figure 17).

4.4. Comparison of Probability Graph Method and Conventional Time Synchronization Under a Single Node with Multiple Cycles

The comparison of the estimation results between the probabilistic graphical method and the conventional synchronization methods (taking DE-Sync as an example) at different interaction frequencies is shown in Figure 18 and Figure 19. For the J2 beacon, the accuracy of the probabilistic graphical method was higher than 2.3 × 10 4 s, while the accuracy of the DE-Sync method approached 2.59 × 10 4 s. For the J4 beacon, the accuracy of the probabilistic graphical method was higher than 3 × 10 5 s, while the accuracy of the DE-Sync method approached 6.93 × 10 5 s. The clock offset estimation precision of both methods was of the same order of magnitude. However, the minimum synchronization cycle for a single beacon using the probabilistic graphical method was 3.4 s, whereas the DE method required 5 s and its cycle was limited by the propagation delay, which resulted in a lower synchronization efficiency.

5. Discussion

This paper innovatively proposes an underwater network time synchronization method suitable for cluster targets, making full use of the known physical information between underwater sensor networks and greatly improving the synchronization efficiency while maintaining synchronization accuracy. This method solves the problem of low efficiency in existing underwater time synchronization algorithms when synchronizing the time for multiple targets. After the completion of the construction of the factor graph model for the known physical information between underwater sensor networks, the edge probability density function of the clock difference was quickly calculated to solve the clock difference parameters between units in the underwater sensor network. The experimental results show that on the premise that its time synchronization accuracy was higher than 8 × 10 4 s, its synchronization cycle was only limited by the maximum clock difference in the cluster and could complete the timing of the entire network within a cycle. When the accuracy of the arrival time measurement was not higher than 1 × 10 4 s and the resolution was 1 × 10 5 s, the estimation of the time synchronization reached the submillisecond order and the network synchronization efficiency was better than 5 s, meeting the general requirements of underwater sensor networks.

Author Contributions

Conceptualization, Y.O. and Y.H. (Yunfeng Han); methodology, Y.O.; software, Y.O.; validation, Y.O., Z.W. and Y.H. (Yifei He); formal analysis, Y.O.; investigation, Y.O.; resources, Y.H. (Yunfeng Han); data curation, Y.O.; writing original draft preparation, Y.O.; writing review and editing, Y.O., Z.W. and Y.H. (Yifei He); visualization, Y.O.; supervision, Y.H. (Yunfeng Han); project administration, Y.H. (Yunfeng Han); funding acquisition, Y.H. (Yunfeng Han). All authors have read and agreed to the published version of the manuscript.

Funding

This research was supported by National Key R & D Program of China (2023QYXX). This research was supported by the Taishan Scholars Program.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Written informed consent was obtained from the patient(s) to publish this paper.

Data Availability Statement

Data cannot be made publicly available due to privacy restrictions. Data are available from Harbin Engineering University for researchers who meet the criteria for access to confidential data.

Acknowledgments

I would like to sincerely thank National Key R & D Program of China (2023QYXX) and Taishan Scholars Program for their funding and support of this research project, which has allowed our research to proceed smoothly.

Conflicts of Interest

The authors declare no conflicts of interest.

Abbreviations

The following abbreviations are used in this manuscript:
GNSSGlobal Navigation Satellite System
NTPNetwork Time Protocol
PTPPrecision Time Protocol
FTSPFlooding Time Synchronization Protocol
RBSReference Broadcast Synchronization
DMTSDelay Measurement Time Synchronization for Wireless Sensor Networks
TPSNTime Synchronization Protocol for Sensor Networks
DE-SyncDoppler-Enhanced Time Synchronization

References

  1. Network Time Protocol Version 4: Protocol and Algorithms Specification. Available online: https://www.rfc-editor.org/info/rfc5905 (accessed on 10 November 2024).
  2. Lee, K.; Eidson, J. IEEE 1588 standard for a precision clock synchronization protocol for networked measurement and control systems. In Proceedings of the 34th Annual Precise Time and Time Interval Systems and Applications Meeting, Reston, VA, USA, 3–5 December 2002; pp. 243–254. [Google Scholar]
  3. Sivrikaya, F.; Yener, B. Time synchronization in sensor networks: A survey. IEEE Netw. 2004, 18, 45–50. [Google Scholar] [CrossRef]
  4. Elson, J. Fine-grained Network Time Synchronization using Reference Broadcasts. In Proceedings of the 5th Symposium on Operating Systems Design and Implementation, USENIX Association, Boston, MA, USA, 9–11 December 2002; pp. 147–163. [Google Scholar]
  5. Maroti, M.; Kusy, B.; Simon, G.; Lédeczi, A. The flooding time synchronization protocol. In Proceedings of the 2nd International Conference on Embedded Networked Sensor Systems (SenSys ’04), Baltimore, MD, USA, 3–5 November 2004; Association for Computing Machinery: New York, NY, USA, 2004; pp. 39–49. [Google Scholar]
  6. Ping, S. Delay Measurement Time Synchronization for Wireless Sensor Networks. Intel Res. Berkeley Lab 2003, 6, 1–10. [Google Scholar]
  7. 802.1AS-2011; IEEE Standard for Local and Metropolitan Area Networks–Timing and Synchronization for Time-Sensitive Applications in Bridged Local Area Networks–Corrigendum 2: Technical and Editorial Corrections. IEEE: Piscataway, NJ, USA, 2011. [CrossRef]
  8. Fedullo, T.; Morato, A.; Tramarin, F. A comprehensive review on time sensitive networks with a special focus on its applicability to industrial smart and distributed measurement systems. Sensors 2022, 22, 1638. [Google Scholar] [CrossRef] [PubMed]
  9. Seol, Y.; Hyeon, D.; Min, J.; Kim, M. Timely Survey of Time-Sensitive Networking: Past and Future Directions. IEEE Access 2021, 9, 2506–2527. [Google Scholar] [CrossRef]
  10. Xu, M.; Liu, G. Research on Cluster-Based Time Synchronization Technology in Underwater Acoustic Sensor Networks. Comput. Appl. 2013, 30, 4–10. [Google Scholar]
  11. Ganeriwal, S.; Kumar, R.; Srivastava, M.B. Timing sync protocol for sensor networks. In Proceedings of the International Conference on Embedded Networked Sensor Systems, Los Angeles, CA, USA, 5–7 November 2003; pp. 139–150. [Google Scholar]
  12. Wang, S.; Gao, M.; Xu, N. Research on Energy-Optimal Clustering Time Synchronization for Underwater Acoustic Sensor Networks. Comput. Sci. Technol. Dev. 2017, 27, 5–10. [Google Scholar]
  13. Kong, W.; Liu, G. Cluster-Based Dual-Cluster Head Time Synchronization Algorithm for Underwater Sensor Networks. Comput. Eng. 2020, 46, 8–14. [Google Scholar]
  14. Chang, S.; Li, J.; Gao, H.; Chen, J. AUV-Assisted Time Synchronization Algorithm for Underwater Sensor Networks. Sens. Microsyst. 2015, 10, 137–140. [Google Scholar]
  15. Guo, Y.; Zhang, Z. Research on Time Synchronization for Large-Scale Underwater Sensor Networks. Electron. Inf. Sci. 2014, 36, 6–12. [Google Scholar]
  16. Feng, X.; Wang, Z.; Zhu, X.; Zhang, W. Research on Doppler-Assisted Time Synchronization Mechanism for Underwater Sensor Networks. J. Commun. 2017, 38, 7–16. [Google Scholar]
  17. Wang, H. Research on Time Synchronization Algorithm for Underwater Sensor Networks Based on Mobile Models. J. Commun. 2016, 37, 9–16. [Google Scholar]
  18. Huang, H.Q. Research on Passive Clock Synchronization Technology for Underwater Hidden Nodes. Ph.D. Thesis, Xiamen University, Xiamen, China, 2018. [Google Scholar]
  19. Zennaro, D.; Tomasi, B.; Vangelista, L.; Zorzi, M. Light-Sync: A Low Overhead Synchronization Algorithm for Underwater Acoustic Networks. In Proceedings of the OCEANS 2012, Yeosu, Republic of Korea, 21–24 May 2012. [Google Scholar]
  20. Rhee, I.K.; Lee, J.; Kim, J.; Serpedin, E.; Wu, Y.C. Clock Synchronization in Wireless Sensor Networks: An Overview. Sensors 2009, 9, 56–85. [Google Scholar] [CrossRef] [PubMed]
  21. Sun, C.; Yang, F.; Ding, L.; Qian, L.; Zhi, C. Multi-hop Time Synchronization for Underwater Acoustic Networks. In Proceedings of the OCEANS 2012, Hamburg, Germany, 14–19 October 2012. [Google Scholar]
  22. Wen, J.; Ding, L.; Yang, F.; Qian, L.; Sun, C. Improved Multi-hop Time Synchronization for Underwater Acoustic Networks. In Proceedings of the International Conference on Wireless Communications & Signal Processing, Hangzhou, China, 24–26 October 2013; pp. 1–6. [Google Scholar]
  23. Shams, R.; Otero, P.; Aamir, M.; Khan, F.H. Joint Algorithm for Multi-Hop Localization and Time Synchronization in Underwater Sensor Networks Using a Single Anchor. IEEE Access 2021, 9, 27945–27958. [Google Scholar] [CrossRef]
  24. Zhou, F.; Wang, Q.; Nie, D.H.; Qiao, G. DE-Sync: A Doppler-Enhanced Time Synchronization for Mobile Underwater Sensor Networks. Sensors 2018, 18, 10. [Google Scholar] [CrossRef] [PubMed]
  25. Schiller, J. Schaum’s Outline Of Probability and Statistics, 4th ed.; McGraw-Hill: New York, NY, USA, 1994; Volume 18, pp. 10–17. [Google Scholar]
  26. Johnson, N.L.; Kotz, S.; Balakrishnan, N. Continuous Univariate Distributions, Volume 1, 2nd ed.; A Wiley-Interscience Publication: New York, NY, USA, 1994; Volume 18, pp. 10–17. Available online: https://www.gbv.de/dms/ilmenau/toc/172421373.PDF (accessed on 10 November 2024).
  27. Liu, Y.; Li, W.; Wu, T.; Li, X. Research progress of chip-scale atomic clocks. Meas. Technol. 2021, 41, 7–12. [Google Scholar]
Figure 1. Underwater sensor network topologies. The black dot represents the central node, and the red dot represents the node to be synchronized. The black dashed line represents the process of time synchronization between the central node and the nodes to be synchronized, while the red dashed line represents the time synchronization between the nodes to be synchronized.
Figure 1. Underwater sensor network topologies. The black dot represents the central node, and the red dot represents the node to be synchronized. The black dashed line represents the process of time synchronization between the central node and the nodes to be synchronized, while the red dashed line represents the time synchronization between the nodes to be synchronized.
Jmse 12 02079 g001
Figure 2. Schematic diagram of underwater network time synchronization scenario. The white dashed line represents communication between mobile nodes, while the black curve represents the motion trajectory of the mobile nodes.
Figure 2. Schematic diagram of underwater network time synchronization scenario. The white dashed line represents communication between mobile nodes, while the black curve represents the motion trajectory of the mobile nodes.
Jmse 12 02079 g002
Figure 3. Network topology structure of time synchronization methods based on probabilistic graphical models. The solid line in the figure represents sea level, the white square represents the water surface reference nodeand the red and black dashed lines have the same meaning as in Figure 1.
Figure 3. Network topology structure of time synchronization methods based on probabilistic graphical models. The solid line in the figure represents sea level, the white square represents the water surface reference nodeand the red and black dashed lines have the same meaning as in Figure 1.
Jmse 12 02079 g003
Figure 4. Cluster-assisted probabilistic graphical model network topology structure. The unmarked curve is consistent with Figure 3.
Figure 4. Cluster-assisted probabilistic graphical model network topology structure. The unmarked curve is consistent with Figure 3.
Jmse 12 02079 g004
Figure 5. Schematic diagram of intra-cluster time synchronization. The red arrow indicates the time synchronization request initiated by the cluster head node.
Figure 5. Schematic diagram of intra-cluster time synchronization. The red arrow indicates the time synchronization request initiated by the cluster head node.
Jmse 12 02079 g005
Figure 6. Schematic diagram of intra-cluster time synchronization techniques using probabilistic graph methods. The red arrow represents the time synchronization information of cluster head node A, yellow represents node B, and blue represents node C.
Figure 6. Schematic diagram of intra-cluster time synchronization techniques using probabilistic graph methods. The red arrow represents the time synchronization information of cluster head node A, yellow represents node B, and blue represents node C.
Jmse 12 02079 g006
Figure 7. Factorgraph model for single-cycle underwater network time synchronization. The circle represents the corresponding variable node in the factor graph.
Figure 7. Factorgraph model for single-cycle underwater network time synchronization. The circle represents the corresponding variable node in the factor graph.
Jmse 12 02079 g007
Figure 8. Factor graph model for single-node underwater network time synchronization. The circle represents the corresponding variable node in the factor graph.
Figure 8. Factor graph model for single-node underwater network time synchronization. The circle represents the corresponding variable node in the factor graph.
Jmse 12 02079 g008
Figure 9. Factor graph model for multi-cycle underwater network time synchronization. The circle represents the corresponding variable node in the factor graph.
Figure 9. Factor graph model for multi-cycle underwater network time synchronization. The circle represents the corresponding variable node in the factor graph.
Jmse 12 02079 g009
Figure 10. Experimental site. (a) The red box in the middle indicates the complete anchor structure, while the red box in (b) indicates the recovered beacon.
Figure 10. Experimental site. (a) The red box in the middle indicates the complete anchor structure, while the red box in (b) indicates the recovered beacon.
Jmse 12 02079 g010
Figure 11. Schematic diagram of sea trial beacon positions.
Figure 11. Schematic diagram of sea trial beacon positions.
Jmse 12 02079 g011
Figure 12. Acoustic velocity profile.
Figure 12. Acoustic velocity profile.
Jmse 12 02079 g012
Figure 13. Measurement timestamps of J1.
Figure 13. Measurement timestamps of J1.
Jmse 12 02079 g013
Figure 14. Measurement timestamps of J2.
Figure 14. Measurement timestamps of J2.
Jmse 12 02079 g014
Figure 15. Measurement timestamps of J4.
Figure 15. Measurement timestamps of J4.
Jmse 12 02079 g015
Figure 16. Clock offset estimation of J2.
Figure 16. Clock offset estimation of J2.
Jmse 12 02079 g016
Figure 17. Clock offset estimation of J4.
Figure 17. Clock offset estimation of J4.
Jmse 12 02079 g017
Figure 18. Comparison of clock offset estimation errors for J2.
Figure 18. Comparison of clock offset estimation errors for J2.
Jmse 12 02079 g018
Figure 19. Comparison of clock offset estimation errors for J4.
Figure 19. Comparison of clock offset estimation errors for J4.
Jmse 12 02079 g019
Table 1. Measurement parameters table for network time synchronization methods.
Table 1. Measurement parameters table for network time synchronization methods.
ParametersExplanations
T i j [ k ] The timestamp at which node i receives the synchronization message from node j during the kth interaction
P i [ k ] The position of the node at the kth interaction
CThe average sound velocity in the water layer where the network is located
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.

Share and Cite

MDPI and ACS Style

Ouyang, Y.; Han, Y.; Wang, Z.; He, Y. Underwater Network Time Synchronization Method Based on Probabilistic Graphical Models. J. Mar. Sci. Eng. 2024, 12, 2079. https://doi.org/10.3390/jmse12112079

AMA Style

Ouyang Y, Han Y, Wang Z, He Y. Underwater Network Time Synchronization Method Based on Probabilistic Graphical Models. Journal of Marine Science and Engineering. 2024; 12(11):2079. https://doi.org/10.3390/jmse12112079

Chicago/Turabian Style

Ouyang, Yujie, Yunfeng Han, Zeyu Wang, and Yifei He. 2024. "Underwater Network Time Synchronization Method Based on Probabilistic Graphical Models" Journal of Marine Science and Engineering 12, no. 11: 2079. https://doi.org/10.3390/jmse12112079

APA Style

Ouyang, Y., Han, Y., Wang, Z., & He, Y. (2024). Underwater Network Time Synchronization Method Based on Probabilistic Graphical Models. Journal of Marine Science and Engineering, 12(11), 2079. https://doi.org/10.3390/jmse12112079

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop