IP Library Granted Patent US 12,546,821
Granted Patent B2
US 12,546,821 · App. 18/788,187 · Granted Feb 10, 2026

Electronic circuit and method of error correction

Inventors: Chia-Chun Liao (Taipei, TW); Chao Chieh Li (Hsinchu, TW); Yu-Tso Lin (New Taipei, TW); Min-Shueh Yuan (Taipei, TW)
Assignee: TAIWAN SEMICONDUCTOR MANUFACTURING COMPANY LTD.
G01R31/31727G01R31/318525
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,546,821
App. No.
18/788,187
Granted
Feb 10, 2026
Kind
B2
Abstract

An electronic circuit and a method of error correction are provided. The electronic circuit includes a time-to-digital converter (TDC) and an error cancelation circuit. The TDC is configured to generate a first signal. The error cancelation circuit is configured to evaluate a majority of bit values of at least a portion of the first signal to generate a second signal. The number of transitions within the second signal is less than the number of transitions within the first signal.

Claims (141)

1 . An electronic circuit, comprising:

a time-to-digital converter (TDC), configured to generate a first signal;

an error cancelation circuit, configured to evaluate a majority of bit values of at least a portion of the first signal to generate a second signal, wherein a first fractional phase error value determined by the first signal is greater than a second fractional phase error value determined by the second signal;

an adder, connected to the error cancelation circuit and configured to receive the second fractional phase error value;

a digital filter, connected to the adder and configured to generate a filtered phase error value based on the second fractional phase error value; and

a multiplier, connected to the digital filter and configured to multiply the filtered phase error value with a normalization factor.

2 . The electronic circuit of claim 1 , wherein the number of transitions within the second signal is less than the number of transitions within the first signal.

3 . The electronic circuit of claim 1 , wherein the N th bit of the second signal is determined based on odd number of bits of the first signal, and the odd number of bits comprise the N th bit of the first signal and the even number of bits of the first signal adjacent to the N th bit of the first signal.

4 . The electronic circuit of claim 3 , wherein the N th bit of the second signal is determined by the bit that appears most often among the (N−1) th bit, N th bit, and (N+1) th bit of the first signal.

5 . The electronic circuit of claim 4 , wherein when the (N−1) th bit of the first signal has a value of X, the N th bit of the first signal has a value of Y, and the (N+1) th bit of the first signal has a value of Z, the N th bit of the second signal, F, is determined by:

F

=

X

·

Y

+

X

·

Z

+

Y

·

Z

.

6 . The electronic circuit of claim 2 , wherein the N th bit of the second signal is determined by the bit that appears most often among the (N−2) th bit, (N−1) th bit, N th bit, (N+1) th bit, and (N+2) th bit of the first signal.

7 . The electronic circuit of claim 6 , wherein when the (N−2)th bit of the first signal has a value of A, the (N−1)th bit of the first signal has a value of B, the Nth bit of the first signal has a value of C, the (N+1)th bit of the first signal has a value of D, and the (N+2)th bit of the first signal has a value of E, the Nth bit of the second signal, F, is determined by:

F

=

(

A

·

B

·

C

)

+

(

B

·

C

·

D

)

+

(

C

·

D

·

E

)

+

(

A

·

B

·

D

)

+

(

A

·

B

·

E

)

+

(

B

·

C

·

E

)

+

(

A

·

C

·

D

)

+

(

A

·

D

·

E

)

+

(

B

·

D

·

E

)

+

(

A

·

C

·

E

)

.

8 . The electronic circuit of claim 1 , wherein the first bit of the second signal is equal to the first bit of the first signal, and the last bit of the second signal is equal to the last bit of the first signal.

9 . The electronic circuit of claim 1 , wherein the TDC further comprises

a set of inverters connected in series; and

a set of flip-flops, each flip-flop connected with the corresponding inverter,

wherein an input of the first one of the set of inverters receives a first clock signal, and each of the set of flip-flops receives a second clock signal.

10 . A method of error correction for an electronic circuit, comprising:

receiving a first set of bits;

evaluating a first rising edge and a first falling edge, wherein the first rising edge corresponds to the most recent transition from a low bit value to a high bit value, and the first falling edge corresponds to the most recent transition from a high bit value to a low bit value; and

if a first difference between the first rising edge and the first falling edge is smaller than or equal to a first threshold value, evaluating a second rising edge and a second falling edge, wherein the second rising edge corresponds to the second most recent transition from low bit value to high bit value, and the second falling edge corresponds to the second most recent transition from high bit value to low bit value.

11 . The method of claim 10 , further comprising:

if a first difference between the first rising edge and the first falling edge is greater than a first threshold value, assigning twice of the first difference as a period of the first set of bits when the first difference is not smaller than or equal to the first threshold value.

12 . The method of claim 10 , further comprising:

determining a maximum of twice of a second difference between the second rising edge and the first falling edge and twice of a third difference between the first rising edge and the second falling edge; and

assigning the maximum as the period when the first difference is smaller than or equal to the first threshold value.

13 . The method of claim 10 , wherein the first rising edge is the rising time of the first set of bits.

14 . The method of claim 12 , further comprising:

determining whether a fourth difference between the second rising edge and the first rising edge is smaller than or equal to a second threshold value; and

assigning twice of the third difference as the period when a first condition is met, wherein the first condition comprises the first difference being smaller than or equal to the first threshold value and the fourth difference is smaller than or equal to the second threshold value.

15 . The method of claim 14 , further comprising:

determining whether a fifth difference between the second falling edge and the first falling edge is smaller than or equal to a third threshold value when the first condition is not met; and

assigning twice of the second difference as the period when a second condition is met, wherein the second condition comprises the first difference being smaller than or equal to the first threshold value and the fifth difference is smaller than or equal to the third threshold value.

16 . The method of claim 15 , wherein the second threshold value is equal to the first threshold value, and the third threshold value is equal to the first threshold value.

17 . The method of claim 15 , further comprising:

assigning twice of the first difference as the period when the second condition is not met.

18 . A method of error correction for an electronic circuit, comprising:

generating a first signal by a time-to-digital converter (TDC);

evaluating a majority of bit values of at least a portion of the first signal to generate a second signal by an error cancelation circuit, wherein a first fractional phase error value determined by the first signal is greater than a second fractional phase error value determined by the second signal;

receiving the second fractional phase error value by an adder;

generating a filtered phase error value based on the second fractional phase error value by a digital filter connected to the adder; and

multiplying the filtered phase error value with a normalization factor.

19 . The method of claim 18 , wherein a first fractional phase error value determined by the first signal is greater than a second fractional phase error value determined by the second signal.

20 . The method of claim 19 , further comprising:

determining the Nth bit of the second signal based on odd number of bits of the first signal, wherein the odd number of bits comprise the Nth bit of the first signal and the even number of bits of the first signal adjacent to the Nth bit of the first signal.

Continuity (2)
Continuation 17827834 · May 30, 2022
Related Publication 20240385242A1 · Nov 21, 2024
References Cited (20)
US 5703838A · Gorbics · 1997 [cited by examiner]
US 7746178B1 · Humphreys · 2010 [cited by examiner]
US 8432304B2 · Dutton · 2013 [cited by examiner]
US 8558728B1 · Lemkin · 2013 [cited by examiner]
US 8570082B1 · Kuo · 2013 [cited by examiner]
US 8604840B2 · Ahmadi · 2013 [cited by examiner]
US 10057051B2 · Huang · 2018 [cited by examiner]
US 10108148B1 · Testi · 2018 [cited by examiner]
US 10171089B2 · Kuo · 2019 [cited by examiner]
US 10503122B2 · Testi · 2019 [cited by examiner]
US 10615953B2 · Perlmutter · 2020 [cited by examiner]
US 10680622B2 · Monk · 2020 [cited by examiner]
US 10819353B1 · Monk · 2020 [cited by examiner]
US 11218153B1 · Moehlmann · 2022 [cited by examiner]
US 20020131538A1 · Staszewski · 2002 [cited by examiner]
US 20100182060A1 · Fujino · 2010 [cited by examiner]
US 20110022890A1 · Jeong · 2011 [cited by examiner]
US 20190393881A1 · Monk · 2019 [cited by examiner]
US 20200186162A1 · Bal · 2020 [cited by examiner]
US 20230384373A1 · Liao · 2023 [cited by examiner]