PTP Clock Skew Correction via Uplink Downlink Delay Comparison

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing techniques for clock synchronization in communication networks, particularly using Precision Time Protocol (PTP), fail to accurately detect and correct instantaneous clock skew due to network variations, leading to inaccuracies in time adjustments at slave devices.

Innovation Solution

A method and system that determine uplink and downlink delays based on multiple packet transactions within a defined time window, calculate changes in these delays relative to reference values, and correct clock skew only when changes in both delays are of similar magnitude and opposite direction, thereby isolating network variations.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If PTP synchronization is used to correct clock skew at slave device, then time synchronization accuracy is improved, but network variations cause packet delay variations that corrupt RTT/PD measurement

Engineering Contradiction:
Improveclock skew detection accuracyVSAvoidRTT/PD measurement reliability
Core Design Contradiction:
Measurement precisionVSReliability

Solution Approach 1:

The patent extracts and isolates the clock deviation component from the total RTT/PD measurement by comparing uplink and downlink path delays. By taking the difference between these two measurements, the method separates clock skew from network-induced delays, allowing accurate clock correction even in varying network conditions.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent introduces an intermediary mechanism that uses multiple RTT/PD measurements (uplink and downlink) as mediators to indirectly determine clock skew. Instead of directly measuring clock deviation, the method uses path delay comparisons as an intermediary to infer the clock skew value.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Ease of operation

If instantaneous clock deviation detection is performed using RTT/PD variations, then clock skew correction is achieved, but network congestion and disruptions cause false corrections

Engineering Contradiction:
Improveclock correction operationVSAvoidclock deviation measurement accuracy
Core Design Contradiction:
Ease of operationVSMeasurement precision

Solution Approach 1:

The patent implements a feedback mechanism where the slave device continuously monitors both uplink and downlink path delays, compares their variations, and adjusts clock correction decisions based on this feedback. When uplink and downlink delay variations are consistent, clock correction is applied; when they differ significantly (indicating network issues), correction is withheld.

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The patent converts the potentially harmful effect of network variations into a beneficial diagnostic tool. By monitoring how uplink and downlink delays respond to network conditions, the method uses these variations to identify when network issues are present, thereby preventing false clock corrections while still allowing corrections when appropriate.

Inventive Principle:
Principle #22Blessing in disguise (Convert harm into benefit)

3Device complexity

If existing techniques detect clock skew using single-path delay variations, then detection simplicity is maintained, but detection accuracy deteriorates due to network variations

Engineering Contradiction:
Improvedetection mechanism complexityVSAvoidclock skew detection precision
Core Design Contradiction:
Device complexityVSMeasurement precision

Solution Approach 1:

The patent merges multiple measurement approaches (uplink path delay and downlink path delay) into a unified clock skew detection mechanism. By combining these two complementary measurements and comparing their variations, the method achieves more accurate and reliable clock skew detection than single-path approaches while maintaining reasonable system complexity.

Inventive Principle:
Principle #5Merging (Combining)

Data Source

PatentUS11509411B2Method and system for correcting clock skew using precision time protocol
Publication Date: 2022.11.22 WIPRO LTD
  • US11509411B2 patent drawing
  • US11509411B2 patent drawing
  • US11509411B2 patent drawing

AI summary

The disclosure relates to method and system for correcting a clock skew in a slave device using a precision time protocol (PTP). The method includes determining an uplink delay and a downlink delay, based on at least two packet transactions in the PTP protocol and conducted between the slave device and a master device within a pre-defined accumulator time window. The method further includes determining a change in the uplink/downlink delay with respect to a reference uplink/downlink delay. The reference uplink/downlink delay correspond to a first pre-defined accumulator time window at a start of the slave device, or to a last pre-defined accumulator time window during a previous correction of the clock skew. The method further includes correcting the clock skew upon determining the change in the uplink delay to be about same in magnitude as and to be in opposite direction to the change in the downlink delay.