A multi-clock domain reliability-aware fusion multi-hop clock synchronization method
By processing link quality and confidence, and combining multi-reference master clock information fusion with information parameterization, the synchronization accuracy and stability issues in multi-clock domain networks are solved, achieving smooth reference source transfer and high-precision synchronization under link degradation and failure conditions.
Patent Information
- Application Number
- CN202611561860.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-10-09
- Publication Date
- 2026-11-27
AI Technical Summary
Existing multi-clock domain redundancy strategies cannot simultaneously guarantee synchronization accuracy and smooth reference source switching when the link deteriorates, there is intermittent packet loss, or there is a sudden failure, resulting in abrupt changes in synchronization state and loss of accuracy.
By employing link quality processing and link confidence processing, the current quality and freshness of synchronization messages of each synchronization link are dynamically adjusted. Through the fusion of multi-reference master clock information with information parameterization, the smooth transition of clock state and the improvement of accuracy are achieved.
Under conditions of link degradation, packet loss, and failure, the clock synchronization accuracy, stability, and fault robustness of multi-hop networks are improved, frequency estimation fluctuations and phase errors are reduced, and the continuity of synchronization services is guaranteed.
Smart Images

Figure CN123184777A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of clock synchronization, and more particularly to a multi-hop clock synchronization method that integrates reliability awareness across multiple clock domains. Background Technology
[0002] Time-Sensitive Networking (TSN) provides deterministic communication capabilities for scenarios such as industrial automation, automotive networks, and avionics through the IEEE 802.1 series of standards. Its core mechanisms, such as time-aware scheduling, traffic shaping, and clock synchronization, all rely on a unified time base shared by network nodes. Therefore, clock synchronization is a fundamental supporting technology for TSN to achieve deterministic communication. IEEE 802.1AS (General Precise Time Protocol, gPTP) defines the clock synchronization process in TSN, achieving clock synchronization through the exchange of timestamped messages between the Grandmaster (GM) and other network nodes. However, in real industrial environments, factors such as electromagnetic interference, cable aging, abnormal connector contact, and changes in network load can lead to degradation of synchronization link quality, sudden packet loss, or even communication interruption, thus affecting the continuity and accuracy of clock synchronization services. To improve the availability and fault tolerance of clock synchronization, IEEE 802.1ASdm introduces a hot standby mechanism for the master reference clock, providing redundant synchronization references through two independent gPTP clock domains; IEEE P802.1ASed utilizes multiple gPTP clock domains to distribute timing references in parallel, achieving fault-tolerant timing. Existing multi-clock domain redundancy strategies mainly employ fixed fusion or discrete selection methods, making it difficult to continuously adjust the fusion contribution of each input according to the real-time status of the synchronization link. This can lead to abrupt changes in synchronization state and loss of synchronization accuracy during gradual link degradation, intermittent packet loss, or sudden failures. Therefore, a multi-hop clock synchronization method with multi-clock domain reliability-aware fusion is urgently needed.
[0003] Existing technologies improve the availability of redundant clock synchronization through multi-source weighting or master clock source switching. However, they mainly adopt preset weights or discrete selection methods, without simultaneously considering the real-time quality of each synchronization link and the freshness of synchronization messages. This makes it difficult to balance synchronization accuracy and the smoothness of reference source switching in the case of gradual link degradation, intermittent packet loss, and sudden failure.
[0004] Existing technologies share the following shortcomings: each node primarily utilizes local measurements from adjacent nodes or a single master clock source, failing to continuously assess the reliability of links with multi-clock domain inputs; inconsistent path hop counts between different master clocks lead to cumulative phase shifts, which are difficult to eliminate using fixed fusion or hard selection; when synchronization messages are lost, immediately removing historical messages causes abrupt changes in fusion contributions, while continuing to use historical messages allows outdated information to affect current estimations. Therefore, existing methods struggle to simultaneously guarantee synchronization accuracy, smooth reference source transitions, and continuity of synchronization services under conditions of link degradation, packet loss, and failure.
[0005] Therefore, those skilled in the art are dedicated to developing a multi-hop clock synchronization method that integrates reliability awareness across multiple clock domains. This method involves online processing of the current quality of each synchronization link and the freshness of synchronization messages, dynamically adjusting the effective fusion contribution of each synchronization input, and smoothly transferring the synchronization reference when links progressively deteriorate or synchronization messages are missing. This reduces the impact of low-reliability links and outdated synchronization information on clock state estimation, thereby improving the clock synchronization accuracy, stability, and fault robustness of multi-hop time-sensitive networks. Summary of the Invention
[0006] In view of the above-mentioned deficiencies of the prior art, the technical problem to be solved by the present invention is to improve the accuracy, stability and fault robustness of clock synchronization in multi-hop time-sensitive networks with multi-clock domain redundancy.
[0007] To achieve the above objectives, this invention provides a multi-hop clock synchronization method that integrates multi-clock domain reliability awareness fusion, which integrates link quality processing, link confidence processing, and multi-reference master clock information to dynamically process the current quality of each synchronization link and the validity of synchronization messages.
[0008] Furthermore, reliability processing is performed on the synchronization messages input to each clock domain: link quality processing adjusts the effective precision of the message based on the innovation residual statistics between the synchronization message and the local prediction; link confidence processing gradually reduces the effective precision based on the age of the most recent effective message; and then the processed multiple clock domain messages are fused with the local oscillator prediction prior in information form to obtain the local clock state estimate at the current moment.
[0009] Furthermore, the link quality processing establishes a link quality index that is updated over time for each synchronization link, and adjusts the effective accuracy of the corresponding synchronization messages.
[0010] Furthermore, the link quality processing calculates the innovative residual between the message mean and the local oscillator prediction mean of the received link messages; updates the residual mean and the central second moment of the residual using an exponential weighting method to characterize the degree of residual fluctuation; calculates the link quality scaling factor based on the residual statistics and the message nominal precision, and applies the scaling factor to the message information parameters and precision parameters so that the message mean remains unchanged while the effective precision changes with the link quality.
[0011] Furthermore, the link confidence processing involves setting a cache of the most recent valid synchronization message for each synchronization link, and attenuating the effective accuracy of the cached messages based on the message missing time.
[0012] Furthermore, in the link confidence processing, when a valid synchronization message is received in the current period, the message after link quality processing is saved and the message age is set to zero; when no valid message is received in the current period, the mean of the most recent valid message is retained, and the equivalent variance is increased according to the message age, so that the equivalent accuracy is gradually reduced.
[0013] Furthermore, by employing information parameterization for multi-reference master clock information fusion, the clock domain messages that have undergone reliability processing are fused with the local oscillator prediction prior of the fusion node in the same information domain, and the local prediction prior is only counted once during the fusion process.
[0014] Furthermore, the clock state distribution is represented by information parameters, and the fusion of multiple input messages is completed by adding information parameters and precision parameters. The forward synchronization messages of each clock domain do not contain the local prediction prior of the fusion node. The fusion node adds each reliability-processed input message to the local prediction prior to obtain the posterior information parameters, posterior precision, posterior mean, and posterior variance. The posterior results are used for local clock correction and prediction of the next cycle.
[0015] Furthermore, within each synchronization cycle, the forward belief propagation messages input from each clock domain are processed for link quality and link confidence, respectively. The processed messages are then fused with the local oscillator prediction prior in information form to obtain the posterior estimate of the clock state for the current cycle. The local clock is then corrected, and the updated clock information is forwarded to the downstream nodes.
[0016] Furthermore, it includes the following steps: Step 1: State modeling and information parameterization. Establish a state space model of the clock frequency deviation state of each node and define the information parameterization representation of the clock state estimation distribution. Step 2: Forward belief propagation message generation. Forward belief propagation messages are generated hop by hop along each clock domain link to obtain the input messages reaching each port of the fusion node. Step 3: Link quality processing. Based on the consistency between each input synchronization message and the local prediction of the fusion node, the current quality of each synchronization link is evaluated online, and the effective accuracy of the corresponding synchronization message is adjusted. Step 4: Link confidence processing. In the event of sudden loss of synchronization messages or failure of the synchronization path, the confidence of the most recent valid synchronization message is reduced as the message age increases. Step 5: Multi-reference master clock information fusion. The clock domain messages that have undergone reliability processing are fused with the prediction prior of the current period of the fusion node in information form to obtain the posterior estimate of the clock state of the fusion node in the current period. Step 6: Local clock correction and synchronization. Correct the local clock of the fusion node according to the fusion post-hoc and generate downstream forwarding messages.
[0017] When multi-hop time-sensitive networks (MTNs) use multiple master clocks or multiple clock domains to provide redundant synchronization references, existing methods typically employ equal-weight fusion, fixed-weight fusion, or hard selection. When links gradually deteriorate, experience sudden packet loss, or path failure, fixed weights cannot reflect changes in link state, while hard selection can cause abrupt changes in synchronization references across different links, leading to frequency estimation fluctuations, increased phase errors, and discontinuous synchronization services. This invention proposes a multi-hop clock synchronization method with multi-clock domain reliability-aware fusion, combining link quality processing, link confidence processing, and multi-master clock information fusion to dynamically process the current quality of each synchronization link and the validity of synchronization messages. This invention performs reliability processing on the synchronization messages input from each clock domain: link quality processing adjusts the effective precision of the message based on the innovation residual statistics between the synchronization message and the local prediction; link confidence processing gradually reduces the effective precision based on the age of the most recent effective message; then, the processed messages from multiple clock domains are fused with the local oscillator prediction prior to obtain the local clock state estimate for the current moment.
[0018] Existing fixed-precision or fixed-weight fusion methods typically determine input weights based on the nominal measurement model of the synchronization link. When the link gradually deteriorates due to interference, time delay asymmetry, or changes in measurement noise, the nominal precision cannot reflect the actual reliability of the link at present, and low-quality synchronization messages can still significantly impact the fusion results. This invention proposes a Link Quality Processing (LQP) method, which establishes a time-updated link quality index for each synchronization link and adjusts the effective precision of the corresponding synchronization messages accordingly. This invention calculates an innovative residual between the message mean and the local oscillator prediction mean of the received link messages; it updates the residual mean and the central second moment of the residual using an exponential weighting method to characterize the degree of residual fluctuation; and it calculates a link quality scaling factor based on the residual statistics and the message nominal precision, applying this scaling factor simultaneously to the message's information parameters and precision parameters, ensuring that the message mean remains constant while the effective precision changes with link quality.
[0019] When synchronization messages are suddenly lost or the synchronization path fails, existing methods that immediately delete unusable inputs will cause a step change in the fusion contribution of that input between adjacent synchronization cycles. If the most recent valid message is used with the original accuracy, outdated synchronization information will continue to affect the current estimate, resulting in an uneven reference source switch. This invention proposes a Link Confidence Processing (LCP) method, which sets up a cache of the most recent valid synchronization message for each synchronization link and decays the effective accuracy of the cached message according to the message loss time. When a valid synchronization message is received in the current period, this invention saves the message after link quality processing and sets the message age to zero. When no valid message is received in the current period, the mean of the most recent valid message is retained, and its equivalent variance is increased according to the message age, so that its equivalent accuracy gradually decreases. The cached message comes from the synchronization path of the external reference master clock. If the prediction transition is performed again according to the Ornstein-Uhlenbeck (OU) model of the local oscillator of the fusion node, the local oscillation dynamics will be introduced into the information generated by the external clock path. Therefore, only its mean is kept and the equivalent variance is age-inflated. When a new valid message arrives, the cache is updated with the new message and the message age is reset.
[0020] Synchronization messages from multiple clock domains have different path hop counts, measurement accuracy, and state information at the fusion node. Traditional covariance-based multi-source fusion requires covariance inversion. Furthermore, repeatedly including the fusion node's local prediction prior in each input message can lead to duplicate prior information, affecting the fusion result. This invention employs an information parameterized multi-reference master clock information fusion method. It fuses the reliability-processed clock domain messages with the fusion node's local oscillator prediction prior within the same information domain, ensuring the local prediction prior is only counted once during the fusion process. This invention uses information parameters to represent the clock state distribution and completes the fusion of multiple input messages through the addition of information parameters and accuracy parameters. The forward synchronization messages of each clock domain do not contain the fusion node's local prediction prior. The fusion node adds each reliability-processed input message to its local prediction prior to obtain posterior information parameters, posterior accuracy, posterior mean, and posterior variance. The posterior results are used for local clock correction and prediction for the next cycle.
[0021] Compared with the prior art, the present invention has the following obvious substantive features and significant advantages: 1. This invention, without relying on a single synchronization link, can continuously adjust the contribution of different synchronization references as the link state changes, reduce the impact of low reliability or stale messages during gradual link degradation and sudden failure, reduce transient fluctuations during reference source transfer, and improve the clock synchronization accuracy, stability and fault robustness of multi-hop networks.
[0022] 2. This invention can identify the gradual degradation and recovery process of the synchronization link online, and reduce the impact of increased measurement noise, time delay asymmetry or model mismatch links on clock state estimation. Compared with directly eliminating links, the link contribution adjustment is more continuous, which can reduce frequency estimation fluctuations and phase error accumulation.
[0023] 3. During a temporary interruption or permanent failure of a synchronization link, this invention enables the fusion contribution of the failed link to be gradually transferred to other available links, avoiding sudden changes in clock state caused by immediate switching, while suppressing the continued impact of stale messages on the current estimate, thereby reducing frequency transients and phase errors after a fault.
[0024] 4. This invention transforms the multi-source fusion process into an addition operation of information parameters and precision parameters, simplifying the calculation process and engineering implementation of fusion nodes; avoiding repeated local prior calculations, improving the calculation accuracy of multi-clock domain fusion results, and facilitating deployment in boundary clocks, embedded nodes, and resource-constrained devices.
[0025] 5. Under conditions of link degradation, packet loss, and failure, the present invention can simultaneously guarantee synchronization accuracy, smooth transfer of reference source, and continuity of synchronization service.
[0026] The following will further explain the concept, specific structure, and technical effects of the present invention in conjunction with the accompanying drawings, so as to fully understand the purpose, features, and effects of the present invention. Attached Figure Description
[0027] Figure 1 This is a diagram of a multi-clock domain reliability-aware fusion mechanism architecture according to a preferred embodiment of the present invention. Detailed Implementation
[0028] The following description, with reference to the accompanying drawings, illustrates several preferred embodiments of the present invention to make its technical content clearer and easier to understand. The present invention can be embodied in many different forms, and the scope of protection of the present invention is not limited to the embodiments mentioned herein.
[0029] In the accompanying drawings, components with the same structure are indicated by the same numerical designation, and components with similar structures or functions are indicated by similar numerical designations. The dimensions and thicknesses of each component shown in the drawings are arbitrary, and the present invention does not limit the dimensions and thicknesses of each component. To make the illustrations clearer, the thickness of some components has been appropriately exaggerated in the drawings.
[0030] This invention provides a multi-hop clock synchronization method with multi-clock domain reliability-aware fusion, aiming to improve the accuracy, stability, and fault robustness of clock synchronization in multi-hop time-sensitive networks with multi-clock domain redundancy. This method is applied to multi-hop time-sensitive networks containing multiple clock domains, each served by an independent Grandmaster (GM). The fusion node (i.e., the boundary clock node that simultaneously receives synchronization messages from multiple clock domains) performs link quality processing and link confidence processing on the forward belief propagation (FBP) messages input from each clock domain within each synchronization cycle. The processed messages are then fused with the local oscillator prediction prior to obtain a posterior estimate of the clock state for the current cycle. Based on this estimate, the local clock is corrected, and the updated clock information is forwarded to downstream nodes.
[0031] The overall architecture of the present invention is as follows Figure 1 As shown. Using fusion nodes Taking simultaneous access to two clock domains (served by the reference master clocks GM1 and GM2 respectively) as an example: synchronization messages from GM1 travel along link 1 via hop k, and synchronization messages from GM2 travel along link 2 via hop j to reach the fusion node. During each synchronization cycle, ports 1 and 2 of the fusion node respectively complete the forward belief propagation update of their corresponding links, obtaining input messages about the fusion node's state. and Link quality processing adjusts the effective accuracy of each input message based on its consistency with the local prediction; link confidence processing retains the most recent valid message when the current message is missing and gradually reduces its effective accuracy as the message ages; multi-reference master clock information fusion fuses the reliability-processed synchronization messages from each clock domain with the local prediction prior obtained at the fusion node based on the Ornstein–Uhlenbeck (OU) model to obtain the posterior of the current period. It is used for local clock correction; the posterior is used to generate the next cycle OU prediction, and its mean is fed back to the link quality processing.
[0032] (I) State Modeling and Information Parameterization
[0033] This is used to establish a state-space model of the clock frequency deviation state of each node, and to define the parameterized representation of the clock state estimation distribution, providing a unified mathematical foundation for subsequent forward belief propagation, link reliability processing and information fusion.
[0034] 1. Clock state variable definition: Define the frequency deviation state of the i-th node in the t-th synchronization cycle as... Using the OU model of random oscillator frequency drift in a grouped network, its temporal correlation and random variation between adjacent weeks are expressed as:
[0035] In the formula, The degree to which the characterization state is preserved between adjacent cycles. This is a process disturbance.
[0036] 2. State recursion and prediction: Based on the posterior mean of the (t-1)th period With posterior variance The predicted mean and predicted variance for period t are obtained as follows:
[0037] 3. Observation Model: Let the skip indexes of the two links be respectively and The frequency difference between adjacent nodes is observed as follows:
[0038] In the formula, The variances are respectively and The ingress status of the two links is The terminal state meets the requirements. .
[0039] 4. Information parameterization: For a mean of A scalar Gaussian message with variance P, defining its precision. With information parameters The message is then represented as .
[0040] When multiple messages in the same state are merged, their information parameters are added according to the following rules:
[0041] This parameterization integrates state prediction, forward belief propagation messages, link quality processing, link confidence processing, and multi-reference master clock information into a unified information format, while scaling by the same factor. and The mean of the messages can be kept constant, while fusion only requires summing the information parameters. The local OU prediction prior of the fusion node is represented in information form as: .
[0042] (ii) Forward Belief Propagation Message Generation
[0043] Used to generate forward belief propagation messages hop-by-hop along each clock domain link, obtaining input messages reaching each port of the fusion node.
[0044] In the h-th jump, let To enter the upstream forward message of this hop, OU prediction prior for upstream nodes The current jump observations and their accuracy. Forward belief propagation updates are as follows:
[0045] This update is executed independently along each link. After k forward belief propagation updates along the GM1 link, the merged node... Received information:
[0046] After j updates of the GM2 link, we get It should be noted that neither of the two link messages contains a fusion node. The local OU prediction prior.
[0047] (iii) Link Quality Processing (LQP)
[0048] It is used to evaluate the current quality of each synchronization link online based on the consistency between each input synchronization message and the local prediction of the fusion node, and adjust the effective accuracy of the corresponding synchronization message accordingly.
[0049] For each input link The mean of the messages and the innovation residuals are respectively and When a valid message is received in period t, the residual mean is updated using the following exponentially weighted method. With the central second moment of the residual : .
[0050] Based on the above residual statistics, the link quality index for each link is defined as follows: , In the formula, This serves as the scaling factor for the corresponding synchronization message. Given message precision... In this case, the greater the residual fluctuation, The smaller the value, the less the impact of inconsistent link messages on the fusion result. (Link quality processing output) That is, simultaneously applying information parameters and precision parameters according to... Scaling keeps the message mean constant while only changing its effective precision. Initial value is... and In the formula It is obtained from the nominal data of each link. When the current period message is missing, the residual statistics are not updated.
[0051] (iv) Link Confidence Processing (LCP)
[0052] This is used to reduce the confidence level of the most recent valid synchronization message as the message age occurs when synchronization messages are suddenly lost or the synchronization path fails, thereby achieving a smooth transfer of the reference source.
[0053] Link confidence represents the reliability of the most recent valid message in the current period. Each input link independently maintains a cache of the most recent valid messages. For each input link... ,set up Define the message age as the period from the last valid message received. When a valid message exists in the current period, it will... Store in cache, set and output When a message is missing in the current period, retain the average of the most recent valid messages:
[0054] Simultaneously, its equivalent variance is expanded according to the message age:
[0055] Accordingly:
[0056] Here, only the equivalent variance is age-dilated while the mean remains constant. This is because the evolution of the local clock over time is already characterized by the OU prediction prior of the local oscillator. If the OU transition of the local oscillator is applied again to cached messages from external clock paths, the local oscillation dynamics will be introduced into the information generated by the external clock path, causing information aliasing. Therefore, this method characterizes the staleness of messages by age-dependent variance dilation. Among these, the pruning boundary... and Used to limit extreme scaling in link quality processing The main control is the rate at which fusion contribution transfer occurs during periods of message loss. With... Increase Enlarge The weight of a cached message is gradually reduced without altering its average message value. When a new valid message arrives, the cache is replaced with the new message, and the message age is reset to zero. If no valid message is found in the current period or in the cache, the entire link is removed from this fusion process.
[0057] (v) Fusion of multi-reference master clock information
[0058] This is used to fuse the reliability-processed clock domain messages with the OU prediction prior of the fusion node in information form to obtain the posterior estimate of the clock state of the fusion node in the current period.
[0059] Taking two links, k-hop and j-hop, as an example, the fusion node The posterior precision and posterior information parameters are as follows:
[0060] This formula can be directly extended to any number of reference master clock input links. Let... For the t-th period at the fusion node If a set of links contains either currently valid messages or cached valid messages, then the aggregation precision and aggregation information parameters of the above fusion are respectively... and This involves summing the information parameters and precision of all available links separately. The data is then fused at the fusion node. Completed locally, this node is an existing boundary clock that simultaneously receives messages from multiple clock domains, requiring neither additional network hops nor an additional coordination layer; in multi-link scenarios, the same per-link processing and state maintenance are executed independently in each cycle.
[0061] The mean and variance of the fusion posterior are as follows: , Because the input message does not contain the local prior of the fusion node, this local prior is counted only once, regardless of the number of links participating in the fusion; when When the set is empty, the posterior degenerates into the local OU predicted prior.
[0062] (vi) Local clock correction and synchronization
[0063] Used to correct the local clock of the fusion node based on the fusion post-hoc, and to generate downstream forwarding messages.
[0064] Fusion posterior mean The optimal estimate of the local clock frequency deviation of the fusion node for the current cycle is used to correct the local clock, gradually converging the local clock frequency to the reference master clock frequency. In one specific implementation, a proportional-integral (PI) controller can be used to convert the frequency deviation estimate into a local clock frequency correction amount, which is then applied to the local clock. The fusion posterior is simultaneously used as input for the OU prediction in the next cycle, generating the prediction mean and prediction variance for the next cycle.
[0065] For downstream forwarding, the fusion node combines each reliable message with the local OU prediction prior and forwards it to the downstream node via port 3, while retaining the reference master clock domain identifier to which each message belongs, for the downstream node to select or fuse.
[0066] The above embodiment is illustrated using a dual-link (two clock domains) example. This method can be naturally extended to any number of reference master clocks and clock domains: the fusion node only needs to perform link quality processing and link confidence processing independently for each input link, and then sum the information parameters in the above form with all available links and the local prior.
[0067] In one specific implementation, the exponential weighting coefficient in link quality processing is taken as... cropping boundary Confidence attenuation coefficient in link confidence processing Initial values for link quality processing The synchronization period is 125ms, determined based on the nominal data of each link.
[0068] It should be noted that this method only involves clock fusion mechanisms across multiple clock domains; it does not modify standard gPTP message interactions or define standardized protocol functions. Forward belief propagation messages can be transmitted through extended fields of synchronization messages or internal node interfaces, retaining the existing clock domain identifiers in standard synchronization messages while only adding information parameters. and accuracy parameters Two scalars with minimal additional bandwidth overhead make them easy to deploy on existing boundary clocks and embedded nodes without replacing physical hardware.
[0069] Beneficial Results: Validation on a dual-link topology with 30 nodes and 29 hops per end-to-end route shows that, compared to existing equal-fuse and hard-select methods, this method reduces the steady-state phase error (RMS) by up to 67.3% and 84.1% at the near-end fusion location (10 hops from the reference master clock) and the far-end fusion location (27 hops), respectively, under the scenario of progressive degradation of link 1 accompanied by 15% burst packet loss (Scenario 1); and by up to 72.2% and 82.9%, respectively, under the scenario of burst failure of link 1 (Scenario 2). Furthermore, this method achieves the lowest fractional frequency error (RMSE) and the smallest single-cycle fusion contribution step change at both fusion locations, indicating that this method can simultaneously guarantee synchronization accuracy, smooth reference source transfer, and continuity of synchronization service under conditions of link degradation, packet loss, and failure.
[0070] The preferred embodiments of the present invention have been described in detail above. It should be understood that those skilled in the art can make numerous modifications and variations based on the concept of the present invention without creative effort. Therefore, all technical solutions that can be obtained by those skilled in the art based on the concept of the present invention through logical analysis, reasoning, or limited experimentation on the basis of existing technology should be within the scope of protection defined by the claims.
Claims
1. A multi-hop clock synchronization method based on multi-clock domain reliability-aware fusion, characterized in that, By integrating link quality processing, link confidence processing, and multi-reference master clock information, the current quality of each synchronization link and the validity of synchronization messages are dynamically processed.
2. The multi-hop clock synchronization method with multi-clock domain reliability-aware fusion as described in claim 1 performs reliability processing on the synchronization messages input from each clock domain: link quality processing adjusts the effective precision of the message based on the innovative residual statistics between the synchronization message and the local prediction; link confidence processing gradually reduces the effective precision based on the age of the most recent effective message; and then the processed multiple clock domain messages are fused with the local oscillator prediction prior in information form to obtain the local clock state estimate at the current moment.
3. In the multi-hop clock synchronization method of multi-clock domain reliability awareness fusion as described in claim 1, the link quality processing establishes a link quality index that is updated over time for each synchronization link and adjusts the effective accuracy of the corresponding synchronization message.
4. The multi-hop clock synchronization method for multi-clock domain reliability-aware fusion as described in claim 1, wherein the link quality processing calculates the innovative residual between the message mean and the local oscillator prediction mean of the received link messages; updates the residual mean and the central second moment of the residual using an exponential weighting method to characterize the degree of residual fluctuation; calculates the link quality scaling factor based on the residual statistics and the message nominal accuracy, and applies the scaling factor to the message information parameters and accuracy parameters so that the message mean remains unchanged while the effective accuracy changes with the link quality.
5. The multi-hop clock synchronization method with multi-clock domain reliability awareness fusion as described in claim 1, wherein the link confidence processing sets up a cache of the most recent valid synchronization message for each synchronization link, and attenuates the effective accuracy of the cached message according to the message missing time.
6. In the multi-hop clock synchronization method of multi-clock domain reliability awareness fusion as described in claim 1, the link confidence processing, when a valid synchronization message is received in the current period, saves the message after link quality processing and sets the message age to zero; when no valid message is received in the current period, retains the mean of the most recent valid message and increases the equivalent variance according to the message age, so that the equivalent accuracy gradually decreases.
7. The multi-hop clock synchronization method for multi-clock domain reliability-aware fusion as described in claim 1 adopts information parameterization of multi-reference master clock information fusion, integrates the reliability-processed clock domain messages with the local oscillator prediction prior of the fusion node in the same information domain, and ensures that the local prediction prior is only counted once in the fusion process.
8. The multi-hop clock synchronization method for multi-clock domain reliability-aware fusion as described in claim 1 uses information parameters to represent the clock state distribution, and completes the fusion of multiple input messages by adding information parameters and precision parameters; the forward synchronization messages of each clock domain do not contain the local prediction prior of the fusion node, and the fusion node adds each reliability-processed input message to the local prediction prior to obtain the posterior information parameters, posterior precision, posterior mean, and posterior variance; the posterior results are used for local clock correction and prediction of the next cycle.
9. The multi-hop clock synchronization method of multi-clock domain reliability awareness fusion as described in claim 1, wherein in each synchronization cycle, the forward belief propagation messages input from each clock domain are subjected to link quality processing and link confidence processing respectively, and the processed messages are then fused with the local oscillator prediction prior in information form to obtain the clock state posterior estimate for the current cycle, the local clock is corrected, and the updated clock information is forwarded to the downstream node.
10. The multi-hop clock synchronization method for multi-clock domain reliability-aware fusion as described in claim 1, comprising the following steps: Step 1: State modeling and information parameterization. Establish a state space model of the clock frequency deviation state of each node and define the information parameterization representation of the clock state estimation distribution. Step 2: Forward belief propagation message generation. Forward belief propagation messages are generated hop by hop along each clock domain link to obtain the input messages reaching each port of the fusion node. Step 3: Link quality processing. Based on the consistency between each input synchronization message and the local prediction of the fusion node, the current quality of each synchronization link is evaluated online, and the effective accuracy of the corresponding synchronization message is adjusted. Step 4: Link confidence processing. In the event of sudden loss of synchronization messages or failure of the synchronization path, the confidence of the most recent valid synchronization message is reduced as the message age increases. Step 5: Multi-reference master clock information fusion. The clock domain messages that have undergone reliability processing are fused with the prediction prior of the current period of the fusion node in information form to obtain the posterior estimate of the clock state of the fusion node in the current period. Step 6: Local clock correction and synchronization. Correct the local clock of the fusion node according to the fusion post-hoc and generate downstream forwarding messages.
