Precise time management using local time base

US12028437B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-12028437-B2
Application numberUS-202318311129-A
CountryUS
Kind codeB2
Filing dateMay 2, 2023
Priority dateSep 11, 2020
Publication dateJul 2, 2024
Grant dateJul 2, 2024

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

A method and apparatus for synchronizing a timebase is disclosed. A timebase management circuit includes limit circuitry, in a first clock domain, which generates, based on a global timebase, an initial timebase limit. The timebase management circuit includes, in a second clock domain, adjustment circuitry that generates an adjusted timebase limit based on the initial timebase limit. A storage circuit in the second clock domain stores a local timebase. Update circuitry, coupled to an output of the storage circuit, generates an updated local timebase using a clock signal in the second clock domain, wherein the updated local timebase is subject to the adjusted timebase limit.

First claim

Opening claim text (preview).

What is claimed is: 1. An apparatus comprising: a limit circuit configured to generate an initial timebase limit based on a global timebase, wherein the limit circuit is configured to operate according to a first clock signal having a first frequency; an adjustment circuit configured to, using a second clock signal operating having a second frequency, generate an adjusted timebase limit based on the initial timebase limit; and an update circuit configured to update a value of a first local timebase, using the second clock signal and the adjusted timebase limit, wherein, in updating the value of the first local timebase, the update circuit is configured to increment the first local timebase by an increment size dependent upon a relationship between a value of the first local timebase and the global timebase at a synchronization event. 2. The apparatus of claim 1 , wherein the update circuit, in updating the value of the first local timebase, is configured to: increment the first local timebase by an increment size smaller than a standard increment size for a first number of periods of the second clock signal in response to saturating the first local timebase prior to a first instance of the synchronization event; and increment the first local timebase by an increment size greater than the standard increment size for a second number of periods of the second clock signal in response to the first local timebase lagging the global timebase at a second instance of the synchronization event. 3. The apparatus of claim 2 , wherein the update circuit, in updating the value of the first local timebase, is configured to increment the first local timebase at the standard increment size in response to determining, at a third instance of the synchronization event, that the first local timebase is not saturated and is not lagging the global timebase by more than a limit value. 4. The apparatus of claim 2 , wherein the update circuit further includes: a maximum limit circuit configured to determine if the first local timebase is leading the global timebase by at least the adjusted timebase limit prior to the first instance of the synchronization event; and a minimum limit circuit configured to determine if the first local timebase is lagging the global timebase by the adjusted timebase limit prior to the second instance of the synchronization event. 5. The apparatus of claim 1 , wherein the limit circuit includes a divider circuit configured to generate the initial timebase limit by: calculating a sum of the global timebase and an adjustment factor; and dividing the sum by a ratio of the first frequency to the second frequency, wherein the ratio of the first frequency to the second frequency is a non-integer value. 6. The apparatus of claim 5 , wherein the adjustment factor corresponds to a latency for synchronizing the initial timebase limit to the adjusted timebase limit across a boundary between a first clock domain that operates according to the first clock signal and a second clock domain that operates according to the second clock signal, wherein the latency is measured in a number of periods of the first clock signal. 7. The apparatus of claim 1 , further comprising a synchronization circuit coupled to receive the first and second clock signals, wherein the synchronization circuit is configured to, once every N cycles of the first clock signal, output a control signal synchronized to the second clock signal to cause an instance of the synchronization event. 8. The apparatus of claim 1 , wherein the update circuit is implemented on a first integrated circuit, and wherein the apparatus further comprises a second integrated circuit including: a peripheral interface circuit configured to receive and store the first local timebase from the first integrated circuit, wherein the peripheral interface circuit is configured to operate according to a third clock signal; a peripheral control circuit configured to operate according to a fourth clock signal and further configured to maintain, based on the first local timebase, a second local timebase, wherein maintaining the second local timebase comprises the peripheral control circuit determining phase and frequency differences of the third and fourth clock signals; and a peripheral logic circuit configured to perform, operating in accordance with the fourth clock signal, operations that utilize a timestamp from the second local timebase, wherein the timestamp from the second local timebase accounts for correlation with the first local timebase. 9. The apparatus of claim 8 , wherein the peripheral control circuit is configured to cause the peripheral interface circuit to conduct one or more exchanges with the first integrated circuit in order to correlate the first local timebase to the global timebase, and further configured to determine the correlation between the second local timebase to the first local timebase in response to completing the correlation between the first local timebase and the global timebase. 10. A method comprising: generating, using a limit circuit operating according to a first clock signal, an initial timebase limit based on a global timebase, wherein the first clock signal has a first frequency; generating, using an adjustment circuit operating according to a second clock signal, an adjusted timebase limit based on the initial timebase limit, wherein the second clock signal has a second frequency; and updating, using an update circuit operating according to the second clock signal, a value of a first local timebase based on the adjusted timebase limit, wherein the updating comprises the update circuit incrementing the first local timebase by an increment size that is dependent upon a relationship between a value of the first local timebase and the global timebase at a synchronization event. 11. The method of claim 10 , further comprising: incrementing the first local timebase by an increment size smaller than a standard increment size for a first number of periods of the second clock signal in response to saturating the first local timebase prior to a first instance of the synchronization event; and incrementing the first local timebase by an increment size greater than the standard increment size for a second number of periods of the second clock signal in response to the first local timebase lagging the global timebase at a second instance of the synchronization event. 12. The method of claim 11 , further comprising incrementing the first local timebase at the standard increment size in response to determining, at a third instance of the synchronization event, that the first local timebase is not saturated and is not lagging the global timebase by more than a limit value. 13. The method of claim 11 , further comprising: determining, using a maximum limit circuit, if the first local timebase is leading the global timebase by at least the adjusted timebase limit prior to the first instance of the synchronization event; and determining, using a minimum limit circuit, if the first local timebase is lagging the global timebase by the adjusted timebase limit prior to the second instance of the synchronization event. 14. The method of claim 10 , wherein generating the initial timebase limit includes: calculating a sum of the global timebase and an adjustment factor; and dividing the sum by a ratio of the first frequency to the second frequency, wherein the ratio is a non-integer value. 15. The method of claim 14 , wherein the adjustment factor corresponds to a latency for synchronizing the initial timebase limit to the adjusted timebase limit acros

Assignees

Inventors

Classifications

  • Synchronisation of different clock signals {provided by a plurality of clock generators} · CPC title

  • Synchronisation information channels, e.g. clock distribution lines · CPC title

  • Adapt frequency, i.e. clock frequency at one side is adapted to clock frequency, or average clock frequency, at the other side; Not pulse stuffing only · CPC title

  • H04L7/0016Primary

    correction of synchronization errors · CPC title

  • G06F5/06Primary

    for changing the speed of data flow, i.e. speed regularising {or timing, e.g. delay lines, FIFO buffers; over- or underrun control therefor (G06F7/78 takes precedence)} · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US12028437B2 cover?
A method and apparatus for synchronizing a timebase is disclosed. A timebase management circuit includes limit circuitry, in a first clock domain, which generates, based on a global timebase, an initial timebase limit. The timebase management circuit includes, in a second clock domain, adjustment circuitry that generates an adjusted timebase limit based on the initial timebase limit. A storage …
Who is the assignee on this patent?
Apple Inc
What technology area does this patent fall under?
Primary CPC classification H04L7/0016. Mapped technology areas include Electricity.
When was this patent published?
Publication date Tue Jul 02 2024 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 10 related publications on this page (citations in our corpus or others sharing the same primary CPC).