Peripheral Timebase Synchronization Across Clock Domains

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Maintaining accurate time synchronization across multiple clock domains in computer systems is challenging due to latency and frequency differences, which can lead to drift and synchronization issues between local and global timebases.

Innovation Solution

The implementation of a peripheral interface circuit that receives information from a host circuit to maintain a local timebase correlated with a global timebase, using a peripheral control circuit to adjust and synchronize the local timebase across different clock domains, accounting for phase and frequency differences, and incorporating increment adjustment circuitry to smooth transitions and prevent pauses or jumps.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If a global timebase is sent across the system to peripheral devices, then time synchronization is improved, but latency and drift issues occur due to frequency differences between clock domains

Engineering Contradiction:
Improvetime synchronization accuracyVSAvoidlatency and drift
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent divides the single global timebase into multiple local timebases, each maintained in different clock domains. Each peripheral device maintains its own local timebase correlated to the global timebase, eliminating the need to transport the global timebase across clock domain boundaries and thus reducing latency and drift.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces phase and frequency detection mechanisms as intermediaries between the global timebase and local timebases. These intermediaries measure the phase and frequency differences and use this information to adjust the local timebases, ensuring synchronization without direct global timebase transmission.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Adaptability or versatility

If local timebases are maintained in different clock domains, then time management flexibility is improved, but phase and frequency differences cause synchronization issues

Engineering Contradiction:
Improvetime management flexibilityVSAvoidsynchronization accuracy
Core Design Contradiction:
Adaptability or versatilityVSReliability

Solution Approach 1:

The patent implements feedback mechanisms where phase and frequency detectors continuously monitor the relationship between clock signals in different domains. This feedback information is used to dynamically adjust the local timebases, maintaining synchronization accuracy while allowing each clock domain to operate independently with its own frequency.

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The patent changes the parameters of local timebases based on measured phase and frequency differences. By adjusting the increment values and timing of local timebases according to the detected parameters, the system maintains synchronization despite operating in multiple independent clock domains with different frequencies.

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS11687115B2Precise time management for peripheral device using local time base
Publication Date: 2023.06.27 APPLE INC
  • US11687115B2 patent drawing
  • US11687115B2 patent drawing
  • US11687115B2 patent drawing

AI summary

An apparatus for time management of a peripheral device is disclosed. A peripheral interface circuit receives information from a host circuit over a peripheral bus, the host circuit maintaining a global timebase in accordance with a first clock signal within a first clock domain. The peripheral interface circuit maintains, based om a second clock signal within a second clock domain, a first local timebase correlated to the global timebase. A peripheral control circuit operates in a third clock domain and maintains a second local timebase based on the first. The peripheral interface circuit determines phase and frequency differences between the second and third clock signals in determining a correlation between the second and first local timebases. A peripheral logic circuit in the third clock domain performs, operations that utilize a timestamp from the second local timebase, which accounts for correlation with the first local timebase.