# US 2022/0294460 A1 · Compensation circuit and method for frequency divider circuit

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

- Number: US 2022/0294460 A1
- Document ID: US20220294460A1
- Status: Published application
- Kind: A1
- Application number: 17/829,044
- Filed: 2022-05-31
- Published: 2022-09-15
- Earliest claimed: 2018-10-23
- Assignees: Taiwan Semiconductor Manufacturing Company, Ltd.
- Applicants: Taiwan Semiconductor Manufacturing Company, Ltd.
- Inventors: Mao-Hsuan CHOU; Chih-Hsien CHANG; Ruey-Bin SHEEN
- Web page: https://patentgrep.com/patent/US20220294460A1

## CPC

- H03L 7/0992: {comprising a counter or a frequency divider}
- H03L 7/183: a time difference being used for locking the loop, the counter counting between fixed numbers or the frequency divider dividing by a fixed number {(H03L7/1806 takes precedence)}
- H03K 21/406: {Synchronisation of counters}
- H03K 23/667: {by switching the base during a counting cycle}
- 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 counter signal counting at a frequency of a clock signal is generated. Among a plurality of different numeric ranges corresponding to a plurality of different thresholds, a threshold corresponding to a numeric range containing a frequency ratio is selected. In response to the counter signal reaching the selected threshold, a logic level of an output signal is switched.

## Claims

### Claim 1

A method, comprising:
generating a counter signal counting at a frequency of a clock signal;
selecting, among a plurality of different numeric ranges corresponding to a plurality of different thresholds, a threshold corresponding to a numeric range containing a frequency ratio; and
in response to the counter signal reaching the selected threshold, switching a logic level of an output signal.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
generating a plurality of comparator output signals responsive to the counter signal, the plurality of comparator output signals corresponding to the plurality of different numeric ranges.

### Claim 3 (depends on 2)

The method of claim 2, wherein
said selecting comprises selecting, among the plurality of comparator output signals, the comparator output signal corresponding to the numeric range containing the frequency ratio.

### Claim 4 (depends on 3)

The method of claim 3, further comprising:
switching a logic level of each of the plurality of comparator output signals responsive to the counter signal reaching a corresponding threshold among the plurality of different thresholds,
wherein said switching the logic level of the output signal is responsive to the switching the low level of the selected comparator output signal.

### Claim 5 (depends on 3)

The method of claim 3, further comprising:
synchronizing the selected comparator output signal with the clock signal to generate the output signal having
a frequency equal to the frequency of the clock signal divided by the frequency ratio, and
a duty cycle equal to the threshold corresponding to the numeric range containing the frequency ratio divided by the frequency ratio.

### Claim 6 (depends on 1)

The method of claim 1, wherein
each of the plurality of different thresholds is Z, where j is an integer.

### Claim 7 (depends on 1)

The method of claim 1, wherein
each of the plurality of different numeric ranges is from 2k to (2k+1−1), where k is an integer.

### Claim 8

A compensation circuit for a frequency divider circuit, the compensation circuit comprising:
a plurality of comparator circuits each coupled to receive a different set of bits of a counter signal corresponding to a frequency of a clock signal and a frequency ratio;
a comparator selector circuit coupled to outputs of the plurality of comparator circuits, and configured to select, from the plurality of comparator circuits, a comparator circuit corresponding to the frequency ratio; and
a retime circuit coupled to an output of the comparator selector circuit, and configured to
receive the clock signal, and
generate an output signal responsive to the frequency of the clock signal and a comparator output signal of the selected comparator circuit.

### Claim 9 (depends on 8)

The compensation circuit of claim 8, wherein
the comparator selector circuit has a plurality of different numeric ranges corresponding to the plurality of comparator circuits, and
the comparator selector circuit is configured to, responsive to the frequency ratio falling in a numeric range among the plurality of different numeric ranges, select the corresponding comparator circuit and output the comparator output signal of the selected comparator circuit.

### Claim 10 (depends on 9)

The compensation circuit of claim 9, wherein
each of the plurality of different numeric ranges is from 2k to (2k+1−1), where k is an integer.

### Claim 11 (depends on 8)

The compensation circuit of claim 8, wherein
the retime circuit comprises
a first input terminal configured to receive the clock signal,
a second input terminal coupled to the output of the comparator selector circuit to receive the selected comparator output signal, and
an output terminal configured to output the output signal being the selected comparator output signal synchronized with the clock signal.

### Claim 12 (depends on 8)

The compensation circuit of claim 8, wherein at least one of
the plurality of comparator circuits comprises OR gates,
the comparator selector circuit comprises a multiplexer, or
the retime circuit comprises a flip-flop.

### Claim 13

A method, comprising:
counting r pulses of a clock signal, where r is a frequency ratio;
upon a start of said counting, setting an output signal to a first logic level; and
in response to said counting reaching a threshold,
switching the output signal to a second logic level different from the first logic level, and
maintaining the output signal at the second logic level until said counting ends, wherein said threshold is variable in accordance with the frequency ratio.

### Claim 14 (depends on 13)

The method of claim 13, further comprising:
selecting, based on the frequency ratio, the threshold from among a plurality of different thresholds.

### Claim 15 (depends on 14)

The method of claim 14, wherein
each of the plurality of different thresholds is Z, where j is an integer.

### Claim 16 (depends on 14)

The method of claim 14, wherein
said selecting comprises,
among a plurality of different numeric ranges corresponding to the plurality of different thresholds,
selecting the threshold corresponding to a numeric range containing the frequency ratio.

### Claim 17 (depends on 16)

The method of claim 16, wherein
the plurality of different numeric ranges comprise non-overlapping numeric ranges.

### Claim 18 (depends on 16)

The method of claim 16, wherein
each of the plurality of different numeric ranges is from 2k to (2k+1−1), where k is an integer.

### Claim 19 (depends on 13)

The method of claim 13, further comprising:
synchronizing the output signal with the clock signal, the output signal having a frequency equal to a frequency of the clock signal divided by the frequency ratio, and
a duty cycle equal to the threshold divided by the frequency ratio.

### Claim 20 (depends on 19)

The method of claim 19, wherein
the duty cycle of the output signal is equal to or greater than 25%, and lower than 50%.
