# US 2022/0286141 A1 · Loop Gain Auto Calibration Using Loop Gain Detector

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

- Number: US 2022/0286141 A1
- Document ID: US20220286141A1
- Status: Published application
- Kind: A1
- Application number: 17/752,385
- Filed: 2022-05-24
- Published: 2022-09-08
- Earliest claimed: 2020-02-10
- Assignees: Taiwan Semiconductor Manufacturing Company, Ltd.
- Applicants: Taiwan Semiconductor Manufacturing Company Limited
- Inventors: Mao-Hsuan Chou; Ya-Tin Chang; Ruey-Bin Sheen; Chih-Hsien Chang
- Web page: https://patentgrep.com/patent/US20220286141A1

## CPC

- H03M 3/382: {at one point of the transfer characteristic, i.e. by adjusting a single reference value, e.g. bias or gain error}
- G04F 10/005: {Time-to-digital converters [TDC] (analog-to-digital converters with intermediate conversion to time or phase H03M1/50, H03M1/60)}
- H03L 7/0805: {the loop being adapted to provide an additional control signal for use outside the loop}
- H03L 7/0812: {and where no voltage or current controlled oscillator is used}
- H03L 7/087: using at least two phase detectors or a frequency and phase detector in the loop
- H03M 3/458: {Analogue/digital converters using delta-sigma modulation as an intermediate step}
- H03M: CODING; DECODING; CODE CONVERSION IN GENERAL (using fluidic means F15C4/00; optical analogue/digital converters G02F7/00; coding, decoding or code conversion, specially adapted for particular applications, see the relevant subclasses, e.g. G01D, G01R, G06F, G06T, G09G, G10L, G11B, G11C, H04B, H04L, H04M, H04N; ciphering or deciphering for cryptography or other purposes involving the need for secrecy G09C)
- G04F: TIME-INTERVAL MEASURING (measuring pulse characteristics G01R, e.g. G01R29/02; in radar or like systems G01S)
- H03L: AUTOMATIC CONTROL, STARTING, SYNCHRONISATION OR STABILISATION OF GENERATORS OF ELECTRONIC OSCILLATIONS OR PULSES (generation of oscillations H03B)

## Abstract

A device includes a phase detector circuit, a charge pump circuit, a sample and hold circuit, a comparator, and a controller. The phase detector circuit detects a clock skew between a reference signal and an input signal. The charge pump circuit translates the clock skew into a voltage. A sample and hold circuit samples the voltage, at a first time, and maintain the sampled voltage until a second time. The comparator (i) detects a loop gain associated with the input signal based on the sampled voltage and the voltage at the second time and (ii) outputs a loop gain signal for adjustment of the input signal. The controller is coupled to the phase detector, the comparator, and the sample and hold circuit. The controller generates a plurality of control signals for automatically controlling operation of the phase detector, the comparator, and the sample and hold circuit.

## Claims

### Claim 1

A device comprising:
a first phase detector circuit configured to detect a clock skew between a reference signal and an input signal;
a charge pump circuit configured to translate the clock skew into a voltage; and
a comparator configured to detect a loop gain associated with the input signal based on the voltage and output a loop gain signal for adjustment of the input signal.

### Claim 2 (depends on 1)

The device of claim 1, further comprising:
a sample and hold circuit configured to sample the voltage and maintain the sampled voltage, wherein the comparator is further configured to detect the loop gain based on the sampled voltage; and
a controller coupled to the first phase detector, the comparator, and the sample and hold circuit, the controller configured to generate a plurality of control signals for automatically controlling operation of the phase detector, the comparator, and the sample and hold circuit, wherein the reference signal comprises a plurality of cycles and the plurality of control signals comprise:
a sample and hold circuit control signal configured to operate the sample and hold circuit during a first cycle of the plurality of cycles;
a first phase detector control signal configured to operate the first phase detector during a second cycle and a third cycle of the plurality of cycles;
a second phase detector control signal configured to operate a second phase detector during a fourth cycle of the plurality of cycles; and
a comparator control signal configured to operate the comparator during a fifth cycle of the plurality of cycle.

### Claim 3 (depends on 2)

The device of claim 2, wherein the controller is further configured to automatically adjust one or more control signals of the plurality of control signals based on the loop gain.

### Claim 4 (depends on 2)

The device of claim 2, further comprising a capacitor coupled between the sample and hold circuit and the charge pump circuit, wherein the voltage is across the capacitor.

### Claim 5 (depends on 4)

The device of claim 4, wherein the charge pump circuit comprises:
a first switch configured to close based on detection of the clock skew; and
a second switch configured to close based on detection of a constant clock skew.

### Claim 6 (depends on 5)

The device of claim 5, wherein (i) closing of the first switch charges the capacitor and increases the voltage, (ii) closing of the second switch discharges the capacitor and decreases the voltage, and (iii) closing of both the first switch and the second switch simultaneously maintains a charge of the capacitor and maintains the voltage.

### Claim 7 (depends on 5)

The device of claim 5, further comprising the second phase detector configured to detect the constant clock skew, the controller being coupled to the second phase detector.

### Claim 8 (depends on 1)

The device of claim 1, wherein the clock skew indicates that either (i) the reference signal leads the input signal or (ii) the reference signal lags the input signal.

### Claim 9

A system comprising:
a first delta sigma time-to-digital converter (ΔΣ TDC) configured to receive a reference signal; and
a loop gain detector coupled to the first ΔΣ TDC configured to detect a loop gain of the first ΔΣ TDC, the loop gain detector comprising:
a first phase detector circuit configured to detect a clock skew between the reference signal and a timing delay signal generated by the first ΔΣ TDC;
a charge pump circuit configured to translate the clock skew into a voltage; and
a comparator configured to detect the loop gain of the first ΔΣ TDC based on the voltage and provide a loop gain signal to the first ΔΣ TDC for adjustment of the timing delay signal.

### Claim 10 (depends on 9)

The system of claim 9, wherein the first ΔΣ TDC and the loop gain detector are coupled together and form a first-order negative feedback loop.

### Claim 11 (depends on 9)

The system of claim 9, further comprising:
a sample and hold circuit configured to sample the voltage and maintain the sampled voltage, wherein the comparator is further configured to detect the loop gain based on the sampled voltage; and
a controller coupled to the first phase detector, the comparator, and the sample and hold circuit, the controller configured to generate a plurality of control signals for automatically controlling operation of the first phase detector, the comparator, and the sample and hold circuit, wherein the reference signal comprises a plurality of cycles and the plurality of control signals comprise:
a sample and hold circuit control signal configured to operate the sample and hold circuit during a first cycle of the plurality of cycles;
a first phase detector control signal configured to operate the first phase detector during a second cycle and a third cycle of the plurality of cycles;
a second phase detector control signal configured to operate a second phase detector during a fourth cycle of the plurality of cycles; and
a comparator control signal configured to operate the comparator during a fifth cycle of the plurality of cycle.

### Claim 12 (depends on 11)

The system of claim 11, wherein the controller is further configured to automatically adjust one or more control signals of the plurality of control signals based on the loop gain.

### Claim 13 (depends on 11)

The system of claim 11, wherein the loop gain detector further comprises a capacitor coupled between the sample and hold circuit and the charge pump circuit, wherein the voltage is across the capacitor.

### Claim 14 (depends on 13)

The system of claim 13, wherein the charge pump circuit comprises:
a first switch configured to close based on detection of the clock skew; and
a second switch configured to close based on detection of a constant clock skew.

### Claim 15 (depends on 14)

The system of claim 14, wherein (i) closing of the first switch charges the capacitor and increases the voltage, (ii) closing of the second switch discharges the capacitor and decreases the voltage, and (iii) closing of both the first switch and the second switch simultaneously maintains a charge of the capacitor and maintains the voltage.

### Claim 16 (depends on 14)

The system of claim 14, wherein the loop gain detector further comprises a second phase detector configured to detect the constant clock skew, the controller being coupled to the second phase detector.

### Claim 17 (depends on 9)

The system of claim 9, wherein the clock skew indicates that either (i) the reference signal leads the input signal or (ii) the reference signal lags the input signal.

### Claim 18 (depends on 11)

The system of claim 11, further comprising a second ΔΣ TDC comprising the first phase detector, the charge pump circuit, the sample and hold circuit, and the comparator.

### Claim 19 (depends on 9)

The system of claim 9, further comprising a calibration circuit coupled between the loop gain detector and the first ΔΣ TDC, wherein the calibration circuit is configured to provide at least one of (i) coarse tuning of a current of the charge pump circuit or (ii) fine tuning of a capacitor of the first ΔΣ TDC.

### Claim 20

A method comprising:
detecting, by a phase detector circuit, a clock skew between a reference signal and an input signal;
translating, by a charge pump circuit, the clock skew into a voltage;
detecting, by a comparator, the loop gain associated with the input signal based on the voltage; and
outputting, by the comparator, a loop gain signal for adjustment of the input signal.
