Ethernet PHY Timestamping in the MDI Clock Domain for Precise PTP Sync

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing Ethernet clock synchronization techniques, such as IEEE 1588 (PTP), face inaccuracies in timestamping due to reliance on predetermined offsets for processing delays, which are not precise enough for high-speed Ethernet communications, leading to uncertainties in clock synchronization.

Innovation Solution

Timestamping Ethernet PHY frames by generating timestamps based on the timing of PHY frames exchanged between the physical coding sublayer (PCS) and the physical medium attachment sublayer (PMA) within the same clock domain as the media-dependent interface (MDI), adjusting for processing delays associated with these layers.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Device complexity

If predetermined offsets are used to adjust timestamps for processing delays, then the timestamping process is simple, but the precision of timing information deteriorates

Engineering Contradiction:
Improvetimestamping process complexityVSAvoidtiming information precision
Core Design Contradiction:
Device complexityVSMeasurement precision

Solution Approach 1:

The patent extracts and measures the actual processing delay between MII and MDI interfaces by capturing timestamps at both ends during packet transmission. Instead of using a predetermined offset, the system measures the real delay experienced by each packet and uses this measured value to adjust the timestamp, thereby achieving high precision timing information.

Inventive Principle:
Principle #2Taking out (Extraction)

2Adaptability or versatility

If timestamps are captured in different clock domains, then the timestamping can be performed at different layers, but uncertainties from clock domain crossings increase

Engineering Contradiction:
Improvetimestamping location flexibilityVSAvoidtimestamp accuracy
Core Design Contradiction:
Adaptability or versatilityVSMeasurement precision

Solution Approach 1:

The patent applies equipotentiality by ensuring that timestamp capture and adjustment operations occur within the same clock domain (MDI clock domain). By translating timestamps from MII clock domain to MDI clock domain using measured delay values, the system eliminates clock domain crossing uncertainties and maintains consistent timing reference throughout the process.

Inventive Principle:
Principle #12Equipotentiality

3Speed

If high-speed Ethernet communications are supported, then the data rate increases, but the precision requirements for clock synchronization become more stringent

Engineering Contradiction:
ImproveEthernet data rateVSAvoidclock synchronization precision
Core Design Contradiction:
SpeedVSMeasurement precision

Solution Approach 1:

The patent implements feedback by continuously measuring the actual processing delay between interfaces using packet timestamps and using this measured feedback to adjust subsequent timestamp calculations. This closed-loop approach ensures that even at high Ethernet speeds, the clock synchronization precision is maintained by compensating for variations in processing delay.

Inventive Principle:
Principle #23Feedback

Data Source

PatentUS12470313B2Timestamping ethernet physical layer (PHY) frames
Publication Date: 2025.11.11 AEONSEMI INC
  • US12470313B2 patent drawing
  • US12470313B2 patent drawing
  • US12470313B2 patent drawing

AI summary

This disclosure provides methods, devices, and systems for timestamping Ethernet packets. The present implementations more specifically relate to capturing timestamps in the same clock domain as a media-dependent interface (MDI). In some aspects, a physical layer (PHY) transceiver may generate a receive (RX) timestamp for a precision time protocol (PTP) packet based on a time at which a physical medium attachment (PMA) sublayer outputs, to a physical coding sublayer (PCS), one or more PHY frames carrying the PTP packet. In some other aspects, a PHY transceiver may generate a transmit (TX) timestamp for a PTP packet based on a time at which a PCS outputs a reference frame to a PMA sublayer, where the reference frame precedes one or more PHY frames carrying the PTP packet.