Physical Layer Timestamping for Network Synchronization

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional timestamping schemes in the MAC sublayer of network devices suffer from inaccuracies due to latency variations in the physical layer, particularly in the PCS and FEC sublayers, which affect time synchronization accuracy and introduce skew between multiple lanes in multi-lane communications devices.

Innovation Solution

Performing timestamping in the Physical Coding Sublayer (PCS) of the physical layer, where instantaneous latency is dynamically tracked, and timestamping incoming and outgoing data packets based on latency through the physical layer, including accounting for latency variations and skew between multiple lanes.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Ease of manufacture

If timestamping is performed in the MAC sublayer, then the implementation is simple, but the timestamping accuracy deteriorates due to latency variations in the physical layer

Engineering Contradiction:
Improveimplementation simplicityVSAvoidtimestamping accuracy
Core Design Contradiction:
Ease of manufactureVSMeasurement precision

Solution Approach 1:

The patent segments the timestamping function by separating MAC sublayer processing from physical layer processing. It introduces a physical layer timestamping mechanism that operates independently at the PCS/FEC sublayer, allowing accurate timestamping without being affected by MAC layer latency variations. This segmentation resolves the contradiction by moving timestamping to the layer where latency is most stable and predictable.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces an intermediary mechanism involving the insertion of timestamp fields at specific physical layer boundaries (PCS/FEC sublayer). This intermediary timestamp field serves as a reference point that is not affected by upper layer latency variations, enabling accurate residence time calculation while maintaining implementation feasibility through standardized physical layer interfaces.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Device complexity

If conventional MAC sublayer timestamping is used, then the device complexity is low, but time synchronization accuracy deteriorates due to physical layer latency variations

Engineering Contradiction:
Improvedevice complexityVSAvoidtime synchronization accuracy
Core Design Contradiction:
Device complexityVSReliability

Solution Approach 1:

The patent introduces dynamic latency compensation mechanisms that adapt to changing physical layer conditions. It implements per-lane latency tracking and skew compensation that dynamically adjust timestamp calculations based on measured latency variations, thereby maintaining high synchronization accuracy without requiring overly complex fixed compensation structures.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The patent changes the timestamping parameter from MAC layer time to physical layer time, specifically timestamping at the PCS/FEC sublayer boundaries. This parameter change fundamentally alters the reference point for time measurement, eliminating the impact of MAC layer latency variations while maintaining manageable device complexity through standardized physical layer operations.

Inventive Principle:
Principle #35Parameter changes

3Ease of manufacture

If MAC sublayer timestamping is implemented, then the implementation is straightforward, but latency variations in PCS and FEC sublayers introduce skew between multiple lanes

Engineering Contradiction:
Improveimplementation easeVSAvoidlane skew consistency
Core Design Contradiction:
Ease of manufactureVSStability of the object's composition

Solution Approach 1:

The patent segments the timestamping operation to occur at the physical layer (PCS/FEC sublayer) rather than the MAC layer. This segmentation allows each lane to be timestamped independently at a common reference point, enabling accurate measurement of lane skew while maintaining implementation ease through standardized physical layer processing.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent implements feedback mechanisms that continuously monitor and measure latency variations across multiple lanes. By measuring actual skew at the physical layer and using this feedback information for compensation, the system maintains lane skew consistency without requiring complex preventive measures, thus preserving implementation ease.

Inventive Principle:
Principle #23Feedback

Data Source

PatentUS10848257B2Apparatus and method for timestamping of data packets
Publication Date: 2020.11.24 AVAGO TECHNOLOGIES INTERNATIONAL SALES PTE LTD
  • US10848257B2 patent drawing
  • US10848257B2 patent drawing
  • US10848257B2 patent drawing

AI summary

An apparatus and method for timestamping data packets are provided. The apparatus includes an input bit counter responsive to input bits entering a physical layer (PHY) device and an output bit counter responsive to output bits transmitted by the PHY device. A timestamp for an incoming bit is calculated based on a number of bits awaiting transmission by the PHY device at the time of arrival of the incoming bit. The number of bits awaiting transmission by the PHY device is determined based on the first count and the second count.