USB based synchronization and timing system
AssigneeChronologic Pty. Ltd.
InventorPeter Graham Foster
Life of this patent
Estimating the term…
Abstract
A synchronization apparatus, comprising: a USB device having a USB microcontroller, circuitry for observing USB traffic, and circuitry for decoding from a USB data stream a periodic data structure (such as a clock carrier signal) containing information about a distributed clock frequency and phase and outputting a decoded carrier signal; and circuitry for receiving the decoded carrier signal, for generating a software interrupt upon receipt of a predefined data packet (such as a SOF packet) and for passing the software interrupt to the USB microcontroller; wherein the USB microcontroller is configured to respond to the software interrupt (such as with an interrupt service routine provided therein) by generating an output signal adapted to be used as a synchronization reference signal.
Claims10
A method for synchronizing a local clock of a USB device, comprising:
- observing a USB data stream;
- decoding a plurality of periodic data structures from the USB data stream;
- using a free running oscillator clock with multiple outputs, each with a respective phase;
- upon receipt of each of the plurality of decoded periodic data structures selecting an output of the free running clock that is most in phase with the respective decoded periodic data structure;
- and
- using the selected output as a local clock signal to compensate for the frequency of the free running clock being incorrect or the free running clock being unsynchronized.
A method for synchronising a free running local clock of a device with a plurality of selectable phase shifted outputs, the method comprising:
- (i) said device receiving a periodic reference signal;
- (ii) on receipt of said periodic reference signal, said device detecting which of said plurality of selectable phase shifted outputs is most in phase with said periodic reference signal;
- and
- (iii) employing said most in phase of said phase shifted outputs as a local clock signal.
Synchronization circuitry for a USB device comprising:
- an input port for receiving a USB data stream;
- an output port for outputting a local clock signal;
- a matched filter for decoding a plurality of periodic data structures from the USB data stream;
- a free running oscillator clock with multiple outputs, each with a respective phase;
- and
- a clock selector for selecting, upon receipt of each of the plurality of decoded periodic data structures, an output of the free running oscillator clock that is most in phase with the respective decoded periodic data structure and routing the selected output to the output port, thereby providing a local clock signal that is synchronized in frequency and phase with the periodic data structures in the USB data stream.
Dependencies are inferred from the claim text.