Quadrature Lock Detector for Programmable Clock Offset Tolerance

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Synchronous digital circuits face challenges in maintaining stable, high-frequency clock signals, particularly in complex systems where matching clock phases and frequencies is difficult, leading to phase misalignment and frequency mismatches.

Innovation Solution

A lock-detection circuit with a quadrature clock generator, di-bit sampler, synchronizer, delay element, finite state machine, and counter is used to evaluate the lock condition between clock signals, allowing for programmable frequency-offset tolerances to accurately detect lock acquisition and loss, and includes a register to set the maximum count for frequency adjustment.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Stability of the object's composition

If phase-locked loop is used to synchronize clock signals, then clock signal stability is improved, but frequency matching accuracy deteriorates due to difficulty in maintaining precise phase and frequency matching

Engineering Contradiction:
Improveclock signal stabilityVSAvoidfrequency matching accuracy
Core Design Contradiction:
Stability of the object's compositionVSMeasurement precision

Solution Approach 1:

The patent implements a feedback mechanism where the lock detection circuit continuously monitors the phase difference between reference and feedback clock signals. The detector uses sampled signals from both clock domains to generate a lock detection signal that feeds back to indicate whether frequency matching is achieved, enabling dynamic adjustment and maintenance of synchronization accuracy

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The patent replaces traditional analog phase detection mechanisms with a digital sampling-based detection system. By using flip-flops to sample clock edges and digital logic to detect phase relationships, the system achieves more precise and stable frequency matching compared to conventional analog approaches

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

2Device complexity

If traditional lock detection circuit is used, then circuit structure is simple, but detection speed and accuracy deteriorate

Engineering Contradiction:
Improvecircuit structure simplicityVSAvoiddetection speed
Core Design Contradiction:
Device complexityVSProductivity

Solution Approach 1:

The lock detection circuit is segmented into distinct functional modules: edge detection flip-flops for each clock domain, a sampler for simultaneous signal capture, and a detection logic unit. This modular segmentation enables parallel operation of multiple detection paths, significantly improving detection speed while maintaining circuit clarity and manageability

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The circuit performs preliminary sampling of both clock signals simultaneously using synchronized flip-flops before actual lock detection. This preliminary action prepares the signals in advance, allowing the detection logic to quickly determine lock status without processing delays, thereby enhancing detection speed

Inventive Principle:
Principle #10Preliminary action

3Measurement precision

If strict phase matching is enforced, then synchronization accuracy is improved, but adaptability to frequency offsets deteriorates

Engineering Contradiction:
Improvesynchronization accuracyVSAvoidfrequency offset tolerance
Core Design Contradiction:
Measurement precisionVSAdaptability or versatility

Solution Approach 1:

The patent implements dynamic frequency offset tolerance by making the lock detection threshold programmable. The circuit can adapt its detection criteria based on operating conditions, allowing it to maintain accurate synchronization when frequency offsets are present while still detecting true lock conditions. This dynamic adjustment enables the system to handle varying frequency scenarios without sacrificing synchronization precision

Inventive Principle:
Principle #15Dynamics

Data Source

PatentUS12489598B2Phase-based lock detector with programmable frequency offset tolerance
Publication Date: 2025.12.02 RAMBUS INC
  • US12489598B2 patent drawing
  • US12489598B2 patent drawing

AI summary

A lock-detection circuit detects whether a first clock signal is frequency locked to a second clock signal. A lock-detection scheme that continuously evaluates the lock condition between the clock signals and as programmable frequency-offset tolerances for reporting lock acquisition and loss. A quadrature clock generator produces two periodic signals from the first clock signal. The periodic signals are in quadrature, which is to say they are misaligned with one another by ninety degrees. These quadrature signals are sampled on edges of the second clock signal to produce a sequence of states that exhibit a Gray-code progression if first and second clock signals are locked. Errors in the Gray-code progression indicate whether edges of the first clock signal are early or late with respect to the second clock signal. The lock-detection circuit is adjustable to indicate loss of lock under in dependence upon the temporal spacing of errors.