PTP Timestamp Error Minimization via 1PPS Clock Alignment

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Precise Time Protocol (PTP) systems face challenges in achieving better synchronization due to large timestamp errors, particularly in network systems where precise timing is critical, such as robotic automation, power generation, and telecommunications, where existing methods struggle to maintain alignment within sub-nanosecond accuracy.

Innovation Solution

A method that involves receiving a one-pulse-per-second (1PPS) signal and a clock signal, adjusting the clock signal to align the output 1PPS signal within a half clock period, and applying further corrections to minimize timestamp errors, utilizing techniques like Time to Digital Conversion (TDC) modules to measure phase offsets and adjust the timestamp counter accordingly.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If standard PTP timestamping is used, then basic time synchronization is achieved, but timestamp errors exceed sub-nanosecond accuracy requirements

Engineering Contradiction:
Improvetimestamp accuracyVSAvoidsynchronization reliability
Core Design Contradiction:
Measurement precisionVSReliability

Solution Approach 1:

The system performs preliminary alignment of the 1PPS signal with the clock signal by adjusting the offset before final timestamp generation. This preliminary action reduces the initial error margin, allowing subsequent measurements to achieve sub-nanosecond accuracy that would not be possible with unaligned signals.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system changes the offset parameter of the clock signal to optimize the alignment between the 1PPS signal and the clock edges. By dynamically adjusting this parameter, the system minimizes timestamp errors and achieves the required sub-nanosecond synchronization accuracy.

Inventive Principle:
Principle #35Parameter changes

2Measurement precision

If clock signal adjustment is performed to align 1PPS signal, then timestamp precision improves, but system complexity increases

Engineering Contradiction:
Improvetimestamp precisionVSAvoidsignal adjustment complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The system replaces complex mechanical or hardware-based signal alignment mechanisms with a software-based offset adjustment method. By modifying the timestamp calculation through parameter adjustment rather than physical signal manipulation, the system achieves high precision while maintaining relative simplicity.

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

Solution Approach 2:

Instead of adjusting the temporal characteristics of the signals directly, the system introduces a new dimension of control through offset parameters in the timestamp calculation. This dimensional shift allows precision improvement without complicating the signal paths.

Inventive Principle:
Principle #17Another dimension (Dimensionality change)

3Measurement precision

If offset adjustment is applied to minimize timestamp error, then synchronization accuracy reaches sub-nanosecond level, but initial setup time increases

Engineering Contradiction:
Improvesynchronization accuracyVSAvoidsetup time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The system uses feedback from the measured offset between the 1PPS signal and clock signal to automatically adjust the timestamp calculation parameters. This closed-loop approach minimizes manual setup time while achieving sub-nanosecond accuracy, as the system self-calibrates based on observed signal relationships.

Inventive Principle:
Principle #23Feedback

Data Source

PatentUS10868664B2Minimizing timestamp error in PTP systems
Publication Date: 2020.12.15 SITIME CORP
  • US10868664B2 patent drawing
  • US10868664B2 patent drawing
  • US10868664B2 patent drawing

AI summary

In accordance with some embodiments of the present invention, a method of minimizing timing error in a precise timing protocol system includes receiving an input 1PPS signal and a clock signal; outputting an output 1PPS signal a number of clock edges after receipt of the input 1PPS signal; adjusting the clock signal until the output 1PPS signal as jumped a clock cycle; and adjusting an offset to bring the output 1PPS signal to within a half clock period. In some embodiments, further adjustments can be made to the timestamp.