A clock synchronization method and device
A clock synchronization and clock end technology, applied in synchronization devices, digital transmission systems, electrical components, etc., can solve problems such as register overflow and inability to obtain frequency difference values, and achieve the effect of improving efficiency and reducing algorithm complexity.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0048] This embodiment provides a clock step synchronization method, the principle of which is as follows figure 1 As shown, the Master Clock is the main clock, the Slave Clock is the slave clock, and both the Master Clock and the Slave Clock are nanosecond-level clocks. The frequency synchronization method based on the above-mentioned Master Clock and the Slave Clock is as follows figure 2 shown, including the following steps:
[0049] Step 2001, in the process of clock synchronization, set the time interval (exemplarily periodically) to be sent by the Master end with the sending time stamp t 0 Sync synchronization message;
[0050] Step 2002, after the Slave end receives the Sync synchronization message, record the time stamp t of the arrival of the Sync synchronization message 1 ;
[0051] Step 2003, the Slave end will receive the time stamp t corresponding to the time of the Sync synchronization message 1 Subtract the time stamp t corresponding to the sending time car...
Embodiment 2
[0075] This embodiment provides a clock synchronization device that can implement the method in Embodiment 1 above. The device includes at least a first storage unit, a computing unit, and a synchronization processing unit, wherein:
[0076] The first storage unit stores the time stamp t of the synchronization message sent by the main clock end 0 , and the delay value ΔT=t introduced by the transmission of the synchronization message to the slave clock terminal 1 -t 0 , where the t 1 is the time stamp of receiving the synchronization message from the clock terminal, the t 1 and ΔT are nanosecond timestamp data;
[0077] computing unit, according to t 1 and ΔT, use the first-order curve to fit and determine the frequency difference k, where, when determining the frequency difference K, for t 1 Do multiplication calculation with ΔT, split the multiplier in the multiplication calculation into high 16-bit content and low 16-bit content, and split the multiplicand into high 16...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


