stochastic tdc architecture with self-calibration...apccas 2010 12/9/2010 outline •introduction...

29
Stochastic TDC Architecture with Self-Calibration S. Ito , S. Nishimura, H. Kobayashi, S. Uemori, Y. Tan, N. Takai, T. J. Yamaguchi, K. Niitsu Gunma University, Japan Supported by STARC Session : Sentral Ballroom B(Hilton Kuala Lumpur) Analog Signal Processing V Paper ID : 1569325505 APCCAS 2010 12/9/2010

Upload: others

Post on 07-Oct-2020

0 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Stochastic TDC Architecture with Self-Calibration...APCCAS 2010 12/9/2010 Outline •Introduction •Time to Digital Converter (TDC) •Encoder Circuit •Self-Calibration •Stochastic

Stochastic TDC Architecture

with Self-Calibration

S. Ito, S. Nishimura, H. Kobayashi, S. Uemori,

Y. Tan, N. Takai, T. J. Yamaguchi, K. Niitsu

Gunma University, Japan

Supported by STARC

Session : Sentral Ballroom B(Hilton Kuala Lumpur)

Analog Signal Processing V

Paper ID : 1569325505

APCCAS 2010

12/9/2010

Page 2: Stochastic TDC Architecture with Self-Calibration...APCCAS 2010 12/9/2010 Outline •Introduction •Time to Digital Converter (TDC) •Encoder Circuit •Self-Calibration •Stochastic

Outline

• Introduction

• Time to Digital Converter (TDC)

• Encoder Circuit

• Self-Calibration

• Stochastic TDC Structure

• Self-Testing Function

• Conclusions

2

Page 3: Stochastic TDC Architecture with Self-Calibration...APCCAS 2010 12/9/2010 Outline •Introduction •Time to Digital Converter (TDC) •Encoder Circuit •Self-Calibration •Stochastic

Outline

• Introduction

• Time to Digital Converter (TDC)

• Encoder Circuit

• Self-Calibration

• Stochastic TDC Structure

• Self-Testing Function

• Conclusions

3

Page 4: Stochastic TDC Architecture with Self-Calibration...APCCAS 2010 12/9/2010 Outline •Introduction •Time to Digital Converter (TDC) •Encoder Circuit •Self-Calibration •Stochastic

Introduction

“Fine time resolution” and “high linearity”

TDC (Time to Digital Converter) is

essential for jitter BIST & ADPLLs

・ High linearity TDC

→Self-Calibration circuit

・ Fine time resolution TDC

→Stochastic architecture

・ High reliability TDC

→Self-testing capability4

Page 5: Stochastic TDC Architecture with Self-Calibration...APCCAS 2010 12/9/2010 Outline •Introduction •Time to Digital Converter (TDC) •Encoder Circuit •Self-Calibration •Stochastic

Outline

• Introduction

• Time to Digital Converter (TDC)

• Encoder Circuit

• Self-Calibration

• Stochastic TDC Structure

• Self-Testing Function

• Conclusions

5

Page 6: Stochastic TDC Architecture with Self-Calibration...APCCAS 2010 12/9/2010 Outline •Introduction •Time to Digital Converter (TDC) •Encoder Circuit •Self-Calibration •Stochastic

Time to Digital Converter (TDC)

T

Start

Stop

Start

StopDoutTDC

1996 1998 2000 2002 2004 2006 20080

10

20

30

40

50

Year

LS

B [

ps

]

Higher resolution with CMOS scaling

● time interval → Measurement → Digital value

● Key component of Time-

domain analog circuit

● Higher resolution can be

obtained with scaled CMOS

6

Page 7: Stochastic TDC Architecture with Self-Calibration...APCCAS 2010 12/9/2010 Outline •Introduction •Time to Digital Converter (TDC) •Encoder Circuit •Self-Calibration •Stochastic

Time to Digital Converter (TDC)

Start

Stop

D0=1

D1=1

D2=1

D3=0

D4=0

Timing chart

TStart

StopD

QD

QD

Q

Encoder

D0 D1 D2

τ τ τ τ

Dout

Start

Stop

DQ

DQ

DQ

DQ

DQ

DQ

DQ

DQ

DQ

Encoder

D0 D1 D2

τ τ τ τ

Dout

Start

Stop

Thermometer code

binary code

Encoder

7

Page 8: Stochastic TDC Architecture with Self-Calibration...APCCAS 2010 12/9/2010 Outline •Introduction •Time to Digital Converter (TDC) •Encoder Circuit •Self-Calibration •Stochastic

Outline

• Introduction

• Time to Digital Converter (TDC)

• Encoder Circuit

• Self-Calibration

• Stochastic TDC Structure

• Self-Testing Function

• Conclusions

8

Page 9: Stochastic TDC Architecture with Self-Calibration...APCCAS 2010 12/9/2010 Outline •Introduction •Time to Digital Converter (TDC) •Encoder Circuit •Self-Calibration •Stochastic

Encoder Circuit

0 0 0 0 0 0 0 0 0

1 0 0 0 0 0 0 0 1

1 1 0 0 0 0 0 0 2

1 1 1 0 0 0 0 0 3

1 1 1 1 0 0 0 0 4

1 1 1 1 1 0 0 0 5

1 1 1 1 1 1 0 0 6

1 1 1 1 1 1 1 0 7

1 1 1 1 1 1 1 1 8

DFF outputs Dout

Buffer delay

DFF offset mismatch

Bubble error

1 0 1 0 0 0 0 0 2

1 1 1 0 0 0 0 0 3

1 1 1 0 1 0 0 0 4

1 1 1 0 1 0 1 0 5

1 1 1 0 1 0 1 1 6

Encoder Circuit

STOP

START

D DQ Q D Q D Q

Dout=2

1 1 00

21 3 n

bubble

thermometer

9

Page 10: Stochastic TDC Architecture with Self-Calibration...APCCAS 2010 12/9/2010 Outline •Introduction •Time to Digital Converter (TDC) •Encoder Circuit •Self-Calibration •Stochastic

Encoder Circuit

Count the number of “1” outputs from DFFs

To ensure monotonicity of the TDC

Encoder Circuit

STOP

START

D DQ Q D Q D Q

Dout=2

1 1 00

21 3 n

10

Page 11: Stochastic TDC Architecture with Self-Calibration...APCCAS 2010 12/9/2010 Outline •Introduction •Time to Digital Converter (TDC) •Encoder Circuit •Self-Calibration •Stochastic

Encoder Circuit

# of 1’s counter

IN OUT

IN8

IN7

IN6

IN5

IN4

IN3

IN2

IN1

IN0

OUT3

OUT2

OUT1

OUT0

1

1

1

1

0

0

0

0

1

0

0

0

0

Bubble error

bubble

Bubble error effects

are suppressed.11

Page 12: Stochastic TDC Architecture with Self-Calibration...APCCAS 2010 12/9/2010 Outline •Introduction •Time to Digital Converter (TDC) •Encoder Circuit •Self-Calibration •Stochastic

Encoder Circuit

12

FA

Ci

a

b

S

Co

FA

Ci

a

b

S

Co

FA

Ci

a

b

S

Co

FA

Ci

a

b S

Co

FA

Ci

a

b S

Co

a2

a1

a0

b0

b1

3bit

Adder

1

1

1

1

0

0

0

0

0

1

0

0

0

「0100」=4

four

1

1

1

1

1

0

0

0

0

0

1

0

0

1

1

0

IN8

IN7

IN6

IN5

IN4

IN3

IN2

IN1

IN0

OUT3

OUT2

OUT1

OUT0

Designed the encoder using an array of full adders

Page 13: Stochastic TDC Architecture with Self-Calibration...APCCAS 2010 12/9/2010 Outline •Introduction •Time to Digital Converter (TDC) •Encoder Circuit •Self-Calibration •Stochastic

Outline

• Introduction

• Time to Digital Converter (TDC)

• Encoder Circuit

• Self-Calibration

• Stochastic TDC Structure

• Self-Testing Function

• Conclusions

13

Page 14: Stochastic TDC Architecture with Self-Calibration...APCCAS 2010 12/9/2010 Outline •Introduction •Time to Digital Converter (TDC) •Encoder Circuit •Self-Calibration •Stochastic

Proposed TDC Architecture

with Self-Calibration

MUXSTART

STOP

# of 1’s counter

Dout

Histogram Engine & Digital Error Correction

Test mode

1

MUX

2

1 1 1 1 1 1

2 2 2 2 2 2

D Q D Q D Q D Q D Q D Q D Q

14

Page 15: Stochastic TDC Architecture with Self-Calibration...APCCAS 2010 12/9/2010 Outline •Introduction •Time to Digital Converter (TDC) •Encoder Circuit •Self-Calibration •Stochastic

Self-Calibration Mode

Test modeMUXSTART

STOP

# of 1’s counter

Dout

Histogram Engine & Digital Error Correction

Test mode

1

MUX

2

1 1 1 1 1 1

2 2 2 2 2 2

D Q D Q D Q D Q D Q D Q D Q

NOTSynchronized

15

Page 16: Stochastic TDC Architecture with Self-Calibration...APCCAS 2010 12/9/2010 Outline •Introduction •Time to Digital Converter (TDC) •Encoder Circuit •Self-Calibration •Stochastic

Normal Operation Mode

normal modeMUXSTART

STOP

# of 1’s counter

Dout

Digital Error Correction

Test mode

1

MUX

1 1 1 1 1

D Q D Q D Q D Q D Q D Q D Q

16

Page 17: Stochastic TDC Architecture with Self-Calibration...APCCAS 2010 12/9/2010 Outline •Introduction •Time to Digital Converter (TDC) •Encoder Circuit •Self-Calibration •Stochastic

Self-Calibration

Test mode

The two oscillators are

different from each other

and not synchronized # o

f “

1” o

utp

ut

Code

2220181622201816201816

0

500

1000

1500

2000

2500

3000

The histograms in all bins will be equal,

after collection of a sufficiently large number of data,

if the TDC has perfect linearity

17

Page 18: Stochastic TDC Architecture with Self-Calibration...APCCAS 2010 12/9/2010 Outline •Introduction •Time to Digital Converter (TDC) •Encoder Circuit •Self-Calibration •Stochastic

Self-Calibration

Histogram

TDC digital output

2

3

4

5

1 2 3

4

TDC is non-linear

buffer delay

D Q D Q D Q

18

Page 19: Stochastic TDC Architecture with Self-Calibration...APCCAS 2010 12/9/2010 Outline •Introduction •Time to Digital Converter (TDC) •Encoder Circuit •Self-Calibration •Stochastic

Principle of Self-Calibration

T

n)(TfDout

Histogram

TDC digital output

Histogram of ideally

Histogram

TDC digital output

Nonlinear TDC

① ②

③ ④

Linearized by inverse function

T

n

Linear TDC

INL calculation

19

Page 20: Stochastic TDC Architecture with Self-Calibration...APCCAS 2010 12/9/2010 Outline •Introduction •Time to Digital Converter (TDC) •Encoder Circuit •Self-Calibration •Stochastic

0 2 4 6 8 10 12 14 16 18 20 220

0.5

1

1.5

2

2.5x 10

6

Simulation Result of Self-Calibration

before calibration

code

Sampling points 28,848,432

ps69601 ~

ns102

0 2 4 6 8 10 12 14 16 18 20 220

0.5

1

1.5

2

2.5x 10

6

after calibration

code

MATLAB

Histogram for each bin is the same

when the TDC is linear.

# o

f “

1” o

utp

ut

# o

f “

1” o

utp

ut

20

Page 21: Stochastic TDC Architecture with Self-Calibration...APCCAS 2010 12/9/2010 Outline •Introduction •Time to Digital Converter (TDC) •Encoder Circuit •Self-Calibration •Stochastic

Outline

• Introduction

• Time to Digital Converter (TDC)

• Encoder Circuit

• Self-Calibration

• Stochastic TDC Structure

• Self-Testing Function

• Conclusions

21

Page 22: Stochastic TDC Architecture with Self-Calibration...APCCAS 2010 12/9/2010 Outline •Introduction •Time to Digital Converter (TDC) •Encoder Circuit •Self-Calibration •Stochastic

Stochastic TDC Structure

Use the random offset proactively

D Q

1 11 1 1 1START

STOP

Encoder Dout

+ -

+ -

+ -

+ -

+ -

+ -

+ -

+ -

+ -

+ -

+ -

+ -

+ -

+ -

+ -

+ -

+ -

+ -

+ -

+ -

+ -

random offset

D Q

D Q

D Q

D Q

D Q

D Q

D Q

D Q

D Q

D Q

D Q

D Q

D Q

D Q

D Q

D Q

D Q

D Q

D Q

D Q

22

Page 23: Stochastic TDC Architecture with Self-Calibration...APCCAS 2010 12/9/2010 Outline •Introduction •Time to Digital Converter (TDC) •Encoder Circuit •Self-Calibration •Stochastic

D Q

Stochastic TDC for Fine Time Resolution

MUX

MUX 1 11 1 1 1 1

2

START

STOP

# of “1”s Counter, Histogram Engine & Digital CorrectionDout

+ -

+ -

+ -

+ -

+ -

+ -

2 2 2 2 2 2

+ -

+ -

+ -

+ -

+ -

+ -

+ -

+ -

+ -

+ -

+ -

+ -

+ -

+ -

+ -

DFF random offsets

D Q D Q D Q D Q D Q D Q

D Q D Q D Q D Q D Q D Q D Q

D Q D Q D Q D Q D Q D Q D Q

23

Page 24: Stochastic TDC Architecture with Self-Calibration...APCCAS 2010 12/9/2010 Outline •Introduction •Time to Digital Converter (TDC) •Encoder Circuit •Self-Calibration •Stochastic

Fine Time Resolution of Stochastic TDC

Encoder (# of 1’s counter) and

self-calibration make

the stochastic TDC practical.

TStart

Stop

Time difference T

# o

f “

1” o

utp

ut

Conventional TDC

Time difference T

# o

f “

1” o

utp

ut Stochastic TDC

24

Page 25: Stochastic TDC Architecture with Self-Calibration...APCCAS 2010 12/9/2010 Outline •Introduction •Time to Digital Converter (TDC) •Encoder Circuit •Self-Calibration •Stochastic

Outline

• Introduction

• Time to Digital Converter (TDC)

• Encoder Circuit

• Self-Calibration

• Stochastic TDC Structure

• Self-Testing Function

• Conclusions

25

Page 26: Stochastic TDC Architecture with Self-Calibration...APCCAS 2010 12/9/2010 Outline •Introduction •Time to Digital Converter (TDC) •Encoder Circuit •Self-Calibration •Stochastic

Self-Testing Function

26

M

U

X

M

U

X 1 1

2

START

STOP

M

U

X

M

U

X

1

M

U

X EXOR

M

U

X

M

U

X

M

U

X EXOR

M

U

X

M

U

X

M

U

X EXOR

OR

Path/Fail

2 2

0/10

0

0/1

0Path/Fail

0

0

0

0

Expected

data pattern

0

Test_out

0

Reset

0

D Q

R

D Q

R Q

D Q

R Q

D Q

R Q

D Q

R

D Q

R

D Q

R

D Q

R

D Q

RS Q

R

S Q

R

S Q

R

Page 27: Stochastic TDC Architecture with Self-Calibration...APCCAS 2010 12/9/2010 Outline •Introduction •Time to Digital Converter (TDC) •Encoder Circuit •Self-Calibration •Stochastic

Self-Testing Function

M

U

X

M

U

X 1 1

2

START

STOP

M

U

X

M

U

X

1

M

U

X EXOR

M

U

X

M

U

X

M

U

X EXOR

M

U

X

M

U

X

M

U

X EXOR

OR

Path/Fail

2 2

0/10

0

0/1

1Path/Fail

1

1

1

1

Expected

data pattern

0

Test_out

1

1

D Q

R

D Q

R Q

D Q

R Q

D Q

R Q

D Q

R

D Q

R

D Q

R

D Q

R

D Q

RS Q

R

S Q

R

S Q

R

27

Page 28: Stochastic TDC Architecture with Self-Calibration...APCCAS 2010 12/9/2010 Outline •Introduction •Time to Digital Converter (TDC) •Encoder Circuit •Self-Calibration •Stochastic

Outline

• Introduction

• Time to Digital Converter (TDC)

• Encoder Circuit

• Self-Calibration

• Stochastic TDC Structure

• Self-Testing Function

• Conclusions

28

Page 29: Stochastic TDC Architecture with Self-Calibration...APCCAS 2010 12/9/2010 Outline •Introduction •Time to Digital Converter (TDC) •Encoder Circuit •Self-Calibration •Stochastic

Conclusions

■ Fine digital CMOS implementation

・ Verification

・ Self-calibration

・ Testability

・ Consists of digital standard cells

(hence even FPGA implementation is possible)

・ High linearity TDC

→Self-Calibration circuit

・ Fine time resolution TDC

→Stochastic architecture

・ High reliability TDC

→Self-testing capability

・ High linearity TDC

→Self-Calibration circuit

・ Fine time resolution TDC

→Stochastic architecture

・ High reliability TDC

→Self-testing capability

29