# US 2021/0281268 A1 · Phase-locked loop monitor circuit

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2021/0281268 A1
- Document ID: US20210281268A1
- Status: Published application
- Kind: A1
- Application number: 17/330,818
- Filed: 2021-05-26
- Published: 2021-09-09
- Earliest claimed: 2016-11-29
- Assignees: Taiwan Semiconductor Manufacturing Company, Ltd.
- Applicants: Taiwan Semiconductor Manufacturing Co., Ltd.
- Inventors: Sandeep Kumar GOEL; Ji-Jan CHEN; Stanley JOHN; Yun-Han LEE; Yen-Hao HUANG
- Web page: https://patentgrep.com/patent/US20210281268A1

## CPC

- H03L 7/23: with pulse counters or frequency dividers
- H03L 7/091: the phase or frequency detector using a sampling device (H03L7/087 takes precedence)
- H03L 7/095: using a lock detector (H03L7/087 takes precedence)
- H03K 19/21: EXCLUSIVE-OR circuits, i.e. giving output if input signal exists at only one input; COINCIDENCE circuits, i.e. giving output only if all input signals are identical
- H03L: AUTOMATIC CONTROL, STARTING, SYNCHRONISATION OR STABILISATION OF GENERATORS OF ELECTRONIC OSCILLATIONS OR PULSES (generation of oscillations H03B)
- H03K: PULSE TECHNIQUE (measuring pulse characteristics G01R; modulating sinusoidal oscillations with pulses H03C; transmission of digital information H04L; discriminator circuits detecting phase difference between two signals by counting or integrating cycles of oscillation H03D3/04; automatic control, starting, synchronisation or stabilisation of generators of electronic oscillations or pulses where the type of generator is irrelevant or unspecified H03L; coding, decoding or code conversion, in general H03M)

## Abstract

A clock distribution circuit configured to output a clock signal includes a first circuit configured to use a reference clock signal to provide first and second reference signals, wherein the second reference signal indicates whether the first reference signal is locked with the reference clock signal; a second circuit configured to use the reference clock signal to provide an output signal and an indication signal indicative whether the output signal is locked with the reference clock signal; and a monitor circuit, coupled to the first and second circuits, and configured to use at least one of the first reference signal, the second reference signal, the output signal, and the indication signal to determine whether the second circuit is functioning correctly.

## Claims

### Claim 1

A clock distribution circuit configured to output a clock signal, comprising:
a first circuit configured to use a reference clock signal to provide at least one reference signal;
a second circuit configured to use the reference clock signal to provide an output signal and an indication signal indicative of whether the output signal is locked with the reference clock signal; and
at least one monitor circuit, coupled to the first and second circuits, and configured to use at least one of the at least one reference signal, the output signal, and the indication signal to determine whether the second circuit is functioning correctly, wherein the at least one monitor circuit comprises:
a first monitor circuit configured to determine whether the second circuit has exceeded a predetermined amount of time to provide the output signal that is locked with the reference signal, the first monitor circuit comprising:
a first AND gate configured to receive a first signal indicative of whether the second circuit reaches a locked status and output a second signal that mirrors the reference clock signal;
a counter circuit configured to receive the second signal and count a number of pulses the second signal includes, and output a third signal that indicates when a number of pulses included in the second signal reaches a pre-defined threshold;
a second AND gate configured to receive the third signal, perform an AND logic function on one or more bit values contained in the third signal, and output a fourth signal; and
a third AND gate configured to receive the fourth signal and the first signal, perform an AND logic function on the first and fourth signals, and output a fifth signal indicative of whether the second circuit has exceeded the predetermined amount of time to provide the output signal that is locked with the reference signal.

### Claim 2 (depends on 1)

The circuit of claim 1, wherein the at least one monitor circuit further comprises:
a second monitor circuit configured to use the at least one reference signal and the output signal to determine whether the output signal comprises a presence of a minimum pulse width violation, wherein the second monitor circuit comprises:
a first latch circuit configured to latch a heterodyned signal of the first reference signal and the output signal as a first output signal based on the output signal;
at least one gate, coupled to the first latch circuit, and configured to delay the first output signal by a pre-defined pulse width; and
a second latch circuit, coupled to the at least one gate, and configured to latch the delayed first output signal as a second output signal based on a logical inversion of the second output signal,
wherein the second monitor circuit is configured to determine whether the output signal comprises a pulse width shorter than the pre-defined pulse width based on a logical state of the second output signal.

### Claim 3 (depends on 1)

The circuit of claim 1, wherein the at least one monitor circuit further comprises a second monitor circuit, the second monitor circuit comprising:
a first latch circuit;
a second latch circuit, coupled to the first latch circuit; and
a logic gate, coupled to the second latch circuit, and configured to perform an XOR logic function on a previous logical state of an output signal that is provided by the second latch circuit, and a current logical state of an output signal that is provided by the first latch circuit to provide an XOR'ed signal,
wherein the first monitor circuit uses a logical state of the XOR'ed signal to determine whether the output signal misses a pulse, the output signal is stuck, and/or the output signal is floating.

### Claim 4 (depends on 3)

The circuit of claim 3, wherein the second monitor circuit is further configured to determine whether the first circuit loses a lock status.

### Claim 5 (depends on 1)

The circuit of claim 1, wherein the at least one monitor circuit further comprises a second monitor circuit comprising:
a latch circuit configured to latch a logical state of the indication signal in accordance with the reference clock signal; and
a logic gate, coupled to the latch circuit, and configured to perform an XOR logic function on a current logical state and a previous logical state of the indication signal so as to determine whether the first circuit loses the lock status.

### Claim 6 (depends on 1)

The circuit of claim 1, wherein the at least one monitor circuit comprises a second monitor circuit that is configured to determine whether the second circuit is experiencing at least one of the following issues: an incorrect frequency, one or more missing pulses, one or more unneeded pulses, and an amount of jitter noise that exceeds a predetermined threshold.

### Claim 7 (depends on 6)

The circuit of claim 6, wherein the second monitor circuit comprises:
a first counter circuit configured to count a number of pulses of the output signal;
a second counter circuit configured to count a number of pulses of the first reference signal; and
a comparator circuit, coupled to the first and second counter circuits, and configured to provide a difference between the numbers of pulses of the output signal and the first reference signal so as to indicate whether the second circuit is experiencing at least one of the following issues: an incorrect frequency, one or more missing pulses, one or more unneeded pulses, and an amount of jitter noise that exceeds a predetermined threshold.

### Claim 8 (depends on 1)

The circuit of claim 1, wherein the at least one reference signal comprises a first reference signal and a second reference signal, and the at least one monitor circuit is further configured to use at least one of the first reference signal and the second reference signal to determine whether the first circuit is functioning correctly.

### Claim 9 (depends on 8)

The circuit of claim 8, wherein the at least one monitor circuit further comprises first and second reference monitor circuits, and wherein the first reference monitor circuit is configured to determine whether the first reference signal misses a pulse, the output signal is stuck, and/or the output signal is floating, and the second reference monitor circuit is configured to determine whether the first circuit loses a lock status.

### Claim 10

A clock distribution circuit configured to output a clock signal, comprising:
a first phase locked loop (PLL) circuit configured to use a reference clock signal to provide first and second reference signals, wherein the second reference signal indicates whether the first reference signal is locked with the reference clock signal;
a second PLL circuit configured to use the reference clock signal to provide a PLL output signal and an indication signal indicative of whether the PLL output signal is locked with the reference clock signal; and
a PLL monitor circuit, coupled to the first and second PLL circuits, and configured to use at least one of the first reference signal, the second reference signal, the PLL output signal, and the indication signal to determine whether the second PLL circuit is functioning correctly, and use at least one of the first reference signal and the second reference signal to determine whether the first PLL circuit is functioning correctly, wherein the PLL monitor circuit comprises:
a first monitor circuit configured to determine whether the second circuit has exceeded a predetermined amount of time to provide the output signal that is locked with the reference signal, the first monitor circuit comprising:
a first AND gate configured to receive a first signal indicative of whether the second circuit reaches a locked status and output a second signal that mirrors the reference clock signal;
a counter circuit configured to receive the second signal and count a number of pulses the second signal includes, and output a third signal that indicates when a number of pulses included in the second signal reaches a pre-defined threshold;
a second AND gate configured to receive the third signal, perform an AND logic function on one or more bit values contained in the third signal, and output a fourth signal; and
a third AND gate configured to receive the fourth signal and the first signal, perform an AND logic function on the first and fourth signals, and output a fifth signal indicative of whether the second circuit has exceeded the predetermined amount of time to provide the output signal that is locked with the reference signal.

### Claim 11 (depends on 10)

The circuit of claim 10, wherein the PLL monitor circuit comprises second, third, fourth, and fifth monitor circuits that are each configured to use at least one of the first reference signal, the second reference signal, the PLL output signal, and the indication signal to output a respective signal indicative of whether the second PLL circuit is functioning properly.

### Claim 12 (depends on 11)

The circuit of claim 11, wherein the second monitor circuit is configured to detect whether the PLL output signal is stuck, floating, and/or misses one or more pulses, the third monitor circuit is configured to determine whether the second PLL circuit takes an exceeded amount of time to reach a locked status, the fourth monitor circuit is configured to detect whether the second PLL circuit loses a locked status, and the fifth monitor circuit is configured to determine whether the PLL output signal comprises at least one of the issues: an incorrect frequency, one or more missing pulses, one or more unneeded pulses, and an intolerable amount of jitter noise.

### Claim 13 (depends on 12)

The circuit of claim 12, wherein the PLL monitor circuit further comprises sixth and seventh monitor circuits, the sixth monitor circuit being configured to use the first reference signal to determine whether the first reference signal is stuck, floating, and/or misses one or more pulses, the seventh monitor circuit being configured to use the second reference signal to determine whether the first PLL circuit loses a locked status.

### Claim 14 (depends on 10)

The circuit of claim 10, wherein the at least one monitor circuit comprises a second monitor configured to determine whether the output signal misses a pulse, the output signal is stuck, and/or the output signal is floating, the second monitor circuit comprising:
a first latch circuit;
a second latch circuit, coupled to the first latch circuit;
a first logic gate, coupled to the second latch circuit, and configured to perform an XOR logic function on a previous logical state of the output signal that is provided by the second latch circuit, and a current logical state of the output signal that is provided by the first latch circuit to provide an XOR'ed signal, wherein the first monitor circuit uses a logical state of the XOR'ed signal to determine whether the output signal misses a pulse, the output signal is stuck, and/or the output signal is floating; and
one or more second logic gates and a multiplexer coupled to each other, that are configured to output the clock signal using either the PLL output signal or the first reference signal.

### Claim 15 (depends on 10)

The circuit of claim 10, wherein the at least one monitor circuit further comprises a second monitor circuit configured to use the at least one reference signal and the output signal to determine whether the output signal comprises a presence of a minimum pulse width violation, wherein the second monitor circuit comprises:
a first latch circuit configured to latch a heterodyned signal of the first reference signal and the output signal as a first output signal based on the output signal;
at least one gate, coupled to the first latch circuit, and configured to delay the first output signal by a pre-defined pulse width; and
a second latch circuit, coupled to the at least one gate, and configured to latch the delayed first output signal as a second output signal based on a logical inversion of the second output signal,
wherein the second monitor circuit is configured to determine whether the output signal comprises a pulse width shorter than the pre-defined pulse width based on a logical state of the second output signal.

### Claim 17

A method, comprising:
using a reference phase locked loop (PLL) circuit to provide a first reference signal and a second reference signal, wherein the second reference signal indicates whether the first reference signal is locked with a reference clock signal;
using a main PLL circuit to provide an indication signal and an output signal, wherein the indication signal is indicative of whether the output signal is locked with the reference clock signal; and
determining whether the main PLL circuit functions correctly using at least one of the first reference signal, the second reference signal, the output signal, and the indication signal, wherein determining whether the main PLL circuit functions correctly further comprises:
determining whether the second circuit has exceeded a predetermined amount of time to provide the output signal that is locked with the reference signal.

### Claim 18 (depends on 17)

The method of claim 17, further comprising:
selectively outputting a clock signal based on either the first reference signal or the output signal; and
based on the first reference signal and the output signal, determining whether the output signal comprises a presence of a minimum pulse width violation.

### Claim 19 (depends on 17)

The method of claim 17, further comprising:
determining whether the output signal comprises a pulse width shorter than a pre-defined pulse width.

### Claim 20 (depends on 17)

The method of claim 17, further comprising:
determining whether the second circuit is experiencing at least one of the following issues: an incorrect frequency, one or more missing pulses, one or more unneeded pulses, and an amount of jitter noise that exceeds a predetermined threshold.
