A method and system for improving time stamp accuracy

A technology of time stamping and precision, applied in time division multiplexing systems, electrical components, multiplexing communications, etc., can solve problems such as large errors, unsatisfactory effects, difficult and precise control of clock and data routing, and achieve The effect of simple implementation, low timing requirements and high clock frequency

CN112953669BActive Publication Date: 2022-04-29FENGHUO COMM SCI & TECH CO LTD
7 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Publication Date
2022-04-29

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The invention discloses a method and system for improving the accuracy of time stamps, and relates to the field of time synchronization. The method includes sending a second pulse signal or a frame positioning identification signal output by an OTN service processing chip to an LVDS SERDES interface of FPGA; through the LVDS SERDES interface Get the rising edge position of the frame positioning identification signal, and generate a real-time time sampling indication signal at the same time, and take the current real-time time as the initial time stamp T; based on the non-zero sampling value corresponding to the real-time time sampling indication signal, generate a sampling error compensation value △ t1; the current oversampling state is obtained based on the statistical results, and different oversampling states correspond to different oversampling error compensation values ​​△t2, then the final timestamp is equal to the initial timestamp T, sampling error compensation value △t1 and oversampling error The sum of the compensation value △t2. The invention is simple to implement and has lower requirements on the timing sequence of the FPGA device.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The invention relates to the field of time synchronization, in particular to a method and system for improving the accuracy of time stamps. Background technique

[0002] Time stamp is one of the key elements of time synchronization. The 1588 protocol stipulates the method and requirements of time stamping. For event messages, time stamping is required when receiving and sending, which is convenient for calculating line delay. The jitter that causes the line delay is large, which will affect the performance index of time synchronization. With the advent of the 5G (5th generation mobile networks, fifth-generation mobile communication technology) communication era, 5G communication poses new requirements and challenges for time synchronization technology, and improving the accuracy of time stamps is the key to meeting new requirements. When maintaining real-time time or processing time stamps, a 125MHz clock is usually used to sample the second pulse sig...

Examples

Embodiment Construction

[0053] The embodiment of the present invention provides a method for improving the accuracy of the time stamp, through the serial-to-parallel conversion function of the LVDS SERDES interface of the FPGA, an oversampled frame alignment identification signal is generated for the time stamp, and the sampling error compensation value is obtained based on the frame alignment identification signal, and finally Get high-precision timestamps. The embodiment of the present invention also correspondingly provides a system for improving the precision of the time stamp. The scenario used in the embodiment of the present invention is to process the pulse-per-second signal and generate sending and receiving time stamps when an OTN (Optical Transport Network, Optical Transport Network) service board supports the 1588 function through an overhead channel.

[0054] see figure 1 As shown, a method for improving the accuracy of the time stamp provided by the embodiment of the present invention ...