sar tdc architecture for one-shot timing …...kobayashi lab. gunma university sar tdc architecture...

40
Kobayashi Lab. Gunma University SAR TDC Architecture for One-Shot Timing Measurement with Full Digital Implementation Y. Ozawa, T. Ida, R. Jiang, S. Sakurai, R.Takahashi , R. Shiota, H. Kobayashi Gunma University, Socionext Inc., Nov. 8 WP-L2 14:30-15:50

Upload: others

Post on 17-Feb-2020

6 views

Category:

Documents


0 download

TRANSCRIPT

Page 2: SAR TDC Architecture for One-Shot Timing …...Kobayashi Lab. Gunma University SAR TDC Architecture for One-Shot Timing Measurement with Full Digital Implementation Y. Ozawa, T. Ida,

2/40

Objective

Development of

highly-linear, fine time-resolution TDC

for high-speed digital I/O interface timing measurement

Page 3: SAR TDC Architecture for One-Shot Timing …...Kobayashi Lab. Gunma University SAR TDC Architecture for One-Shot Timing Measurement with Full Digital Implementation Y. Ozawa, T. Ida,

3/40

Innovation

Trigger Circuit

One-shot timing measurement

&

Good for low frequency repetitive timing

Ring Oscillator

One-shot timing measurement

&

Good for high & low frequency repetitive timing

Page 4: SAR TDC Architecture for One-Shot Timing …...Kobayashi Lab. Gunma University SAR TDC Architecture for One-Shot Timing Measurement with Full Digital Implementation Y. Ozawa, T. Ida,

4/40

Approach

Full digital FPGA implementation

SAR TDC

SAR TDC + Ring Oscillator

SAR TDC + Trigger CircuitMeasure one-shot timing

Include analog circuit

Measure one-shot timing

Without analog circuit

Page 5: SAR TDC Architecture for One-Shot Timing …...Kobayashi Lab. Gunma University SAR TDC Architecture for One-Shot Timing Measurement with Full Digital Implementation Y. Ozawa, T. Ida,

5/40

Problems in Operation of SAR

SAR TDCInput signal Output signal

Analog Digital

During measurement

The necessity to always input certain time difference

Circuit approach to problem

Multiple steps required

Page 6: SAR TDC Architecture for One-Shot Timing …...Kobayashi Lab. Gunma University SAR TDC Architecture for One-Shot Timing Measurement with Full Digital Implementation Y. Ozawa, T. Ida,

6/40

Outline

Research Objective

Conventional TDC Architecture

- Flash TDC

SAR TDC Architecture & Operation

Proposed SAR TDC – Analog Centric

Proposed SAR TDC – Digital Centric

- Architecture & Operation

- High Frequency

- Low Frequency

- Simulation

Conclusion

Page 7: SAR TDC Architecture for One-Shot Timing …...Kobayashi Lab. Gunma University SAR TDC Architecture for One-Shot Timing Measurement with Full Digital Implementation Y. Ozawa, T. Ida,

7/40

Outline

Research Objective

Conventional TDC Architecture

- Flash TDC

SAR TDC Architecture & Operation

Proposed SAR TDC – Analog Centric

Proposed SAR TDC – Digital Centric

- Architecture & Operation

- High Frequency

- Low Frequency

- Simulation

Conclusion

Page 8: SAR TDC Architecture for One-Shot Timing …...Kobayashi Lab. Gunma University SAR TDC Architecture for One-Shot Timing Measurement with Full Digital Implementation Y. Ozawa, T. Ida,

8/40

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

8

Page 9: SAR TDC Architecture for One-Shot Timing …...Kobayashi Lab. Gunma University SAR TDC Architecture for One-Shot Timing Measurement with Full Digital Implementation Y. Ozawa, T. Ida,

9/40

Background

Voltage domain

Fine CMOS

Time domain

time

Fine CMOStime

A Time-to-Digital Converter (TDC) provides a digital outputproportional to time between two clock transitions.

(e.g. I/O interface, Sensor Interfaces, All-Digital PLLs, ADCs, .. )

Supplyvoltage

The TDC is a key component in time-domain analog circuits,

Advanced CMOS VLSI● Low power-supply voltages● Fast switching speeds

Page 10: SAR TDC Architecture for One-Shot Timing …...Kobayashi Lab. Gunma University SAR TDC Architecture for One-Shot Timing Measurement with Full Digital Implementation Y. Ozawa, T. Ida,

10/40

Time Domain Analog Circuit Features

● Voltage domain:

Signal range : Up to power supply voltage

Time domain:

Signal range : Time continues indefinitely

Large dynamic range

● Time domain analog circuit:

Binary amplitude(Vss, Vdd)

Can consist of digital circuit

Page 11: SAR TDC Architecture for One-Shot Timing …...Kobayashi Lab. Gunma University SAR TDC Architecture for One-Shot Timing Measurement with Full Digital Implementation Y. Ozawa, T. Ida,

11/40

Outline

Research Objective

Conventional TDC Architecture

- Flash TDC

SAR TDC Architecture & Operation

Proposed SAR TDC – Analog Centric

Proposed SAR TDC – Digital Centric

- Architecture & Operation

- High Frequency

- Low Frequency

- Simulation

Conclusion

Page 12: SAR TDC Architecture for One-Shot Timing …...Kobayashi Lab. Gunma University SAR TDC Architecture for One-Shot Timing Measurement with Full Digital Implementation Y. Ozawa, T. Ida,

12/40

Flash-type TDC

12

D1 D2 D3

・・・DQ

DQ

DQ

Stop

Start τ τ τ τ

DQ

D4

a b c d

Page 13: SAR TDC Architecture for One-Shot Timing …...Kobayashi Lab. Gunma University SAR TDC Architecture for One-Shot Timing Measurement with Full Digital Implementation Y. Ozawa, T. Ida,

13/40

Outline

Research Objective

Conventional TDC Architecture

- Flash TDC

SAR TDC Architecture & Operation

Proposed SAR TDC – Analog Centric

Proposed SAR TDC – Digital Centric

- Architecture & Operation

- High Frequency

- Low Frequency

- Simulation

Conclusion

Page 14: SAR TDC Architecture for One-Shot Timing …...Kobayashi Lab. Gunma University SAR TDC Architecture for One-Shot Timing Measurement with Full Digital Implementation Y. Ozawa, T. Ida,

14/40

SAR ADC Block

Sample Hold

DAC

SAR

Logic

Analog

input

Digital

output

ComparatorCLK

SAR ADC is digital centric.

→ Suitable for fine CMOS implementation.

Page 15: SAR TDC Architecture for One-Shot Timing …...Kobayashi Lab. Gunma University SAR TDC Architecture for One-Shot Timing Measurement with Full Digital Implementation Y. Ozawa, T. Ida,

15/40

D-FF can be greatly reduced

by using MUX

Circuit operation loop can be made

with Successive Approximation

Flash type TDC

SAR TDC

SAR TDC Architecture

SAR : Successive Approximation Register

Multiplexer

Page 16: SAR TDC Architecture for One-Shot Timing …...Kobayashi Lab. Gunma University SAR TDC Architecture for One-Shot Timing Measurement with Full Digital Implementation Y. Ozawa, T. Ida,

16/40

SAR ADC : Comparator DAC

SAR TDC : D-FF Delay Line

SAR-ADC

SAR-TDC

SAR-ADC VS SAR-TDC

Page 17: SAR TDC Architecture for One-Shot Timing …...Kobayashi Lab. Gunma University SAR TDC Architecture for One-Shot Timing Measurement with Full Digital Implementation Y. Ozawa, T. Ida,

17/40

STEP1

Example ΔT = 4.3 τ

t t t t t t t

CLK1

Multiplexerr

D QCLK2SAR Logic

Dout

3

3

select100

1

0

SAR TDC Operation

ΔT ΔT ΔT

CLK1

CLK2

ΔT

Page 18: SAR TDC Architecture for One-Shot Timing …...Kobayashi Lab. Gunma University SAR TDC Architecture for One-Shot Timing Measurement with Full Digital Implementation Y. Ozawa, T. Ida,

18/40

t t t t t t t

CLK1

Multiplexerr

D QCLK2SAR Logic

Dout

3

3

select

10

0

110

STEP2

ΔT ΔT ΔT

CLK1

CLK2

ΔT

Example ΔT = 4.3 τ

SAR TDC Operation

Page 19: SAR TDC Architecture for One-Shot Timing …...Kobayashi Lab. Gunma University SAR TDC Architecture for One-Shot Timing Measurement with Full Digital Implementation Y. Ozawa, T. Ida,

19/40

CLK1

t t t t t t t

Multiplexerr

D QCLK2SAR Logic

Dout

3

3

select

0

101

100

STEP3

ΔT ΔT ΔT

CLK1

CLK2

ΔT

Example ΔT = 4.3 τ

SAR TDC Operation

Digital Output:4

Page 20: SAR TDC Architecture for One-Shot Timing …...Kobayashi Lab. Gunma University SAR TDC Architecture for One-Shot Timing Measurement with Full Digital Implementation Y. Ozawa, T. Ida,

20/40

Digital Output:4

t t t t t t t

CLK1

Multiplexerr

D QCLK2SAR Logic

Dout

3

3

select

101

1

100

100

STEP4

(Stable)

ΔT ΔT ΔT

CLK1

CLK2

ΔT

Example ΔT = 4.3 τ

SAR TDC Operation

Page 21: SAR TDC Architecture for One-Shot Timing …...Kobayashi Lab. Gunma University SAR TDC Architecture for One-Shot Timing Measurement with Full Digital Implementation Y. Ozawa, T. Ida,

21/40

Outline

Research Objective

Conventional TDC Architecture

- Flash TDC

SAR TDC Architecture & Operation

Proposed SAR TDC – Analog Centric

Proposed SAR TDC – Digital Centric

- Architecture & Operation

- High Frequency

- Low Frequency

- Simulation

Conclusion

Page 22: SAR TDC Architecture for One-Shot Timing …...Kobayashi Lab. Gunma University SAR TDC Architecture for One-Shot Timing Measurement with Full Digital Implementation Y. Ozawa, T. Ida,

22/40

Trigger Circuit

Output starts to oscillate

at rising timing edge of input

Output waveform with no transient change

Page 23: SAR TDC Architecture for One-Shot Timing …...Kobayashi Lab. Gunma University SAR TDC Architecture for One-Shot Timing Measurement with Full Digital Implementation Y. Ozawa, T. Ida,

23/40

T/H Circuit

Page 24: SAR TDC Architecture for One-Shot Timing …...Kobayashi Lab. Gunma University SAR TDC Architecture for One-Shot Timing Measurement with Full Digital Implementation Y. Ozawa, T. Ida,

24/40

Trigger Circuit Waves

Page 25: SAR TDC Architecture for One-Shot Timing …...Kobayashi Lab. Gunma University SAR TDC Architecture for One-Shot Timing Measurement with Full Digital Implementation Y. Ozawa, T. Ida,

25/40

Combination of Trigger Circuit & SAR TDC

Proposed Circuit

START

STOP

One-shot signal

∆𝑇

W1

W2

∆𝑇

clk1

clk2

Repetitive signals

∆𝑇 ∆𝑇

Page 26: SAR TDC Architecture for One-Shot Timing …...Kobayashi Lab. Gunma University SAR TDC Architecture for One-Shot Timing Measurement with Full Digital Implementation Y. Ozawa, T. Ida,

26/40

Simulation Results

2 trigger circuits can generate

repetitive signals

One-shot timing

can be measured

with SAR TDC

Page 27: SAR TDC Architecture for One-Shot Timing …...Kobayashi Lab. Gunma University SAR TDC Architecture for One-Shot Timing Measurement with Full Digital Implementation Y. Ozawa, T. Ida,

27/40

Outline

Research Objective

Conventional TDC Architecture

- Flash TDC

SAR TDC Architecture & Operation

Proposed SAR TDC – Analog Centric

Proposed SAR TDC – Digital Centric

- Architecture & Operation

- High Frequency

- Low Frequency

- Simulation

Conclusion

Page 28: SAR TDC Architecture for One-Shot Timing …...Kobayashi Lab. Gunma University SAR TDC Architecture for One-Shot Timing Measurement with Full Digital Implementation Y. Ozawa, T. Ida,

28/40

Ring Oscillator

Single-shot signal Timing signal

Self replicating

D Q

select

3

3Dout1

SAR Logic

𝜏 𝜏 𝜏 𝜏 𝜏 𝜏 𝜏 𝜏 𝜏

Multiplexer

𝜏 𝜏 𝜏 𝜏 𝜏 𝜏 𝜏 𝜏 𝜏

Mu

ltiplexer

Mu

ltiplexer

START

STOP

𝜏𝑖

𝜏𝑖

Ring OscillatorⅠ

Ring OscillatorⅡ

Page 29: SAR TDC Architecture for One-Shot Timing …...Kobayashi Lab. Gunma University SAR TDC Architecture for One-Shot Timing Measurement with Full Digital Implementation Y. Ozawa, T. Ida,

29/40

Ring Oscillator

∆𝑇 ∆𝑇 ∆𝑇 ∆𝑇

START

STOP

Ring

OscillatorⅠ

Ring

OscillatorⅡ 𝑇𝑅𝑂2 𝑇𝑅𝑂

2

𝑇𝑅𝑂2

𝑇𝑅𝑂2 𝑇𝑅𝑂

2

𝑇𝑅𝑂2 𝑇𝑅𝑂

2 𝑇𝑅𝑂2

𝜏 𝜏 𝜏

𝜏𝑖

Signal

In 3-bit case

𝑇𝑅𝑂 2 = 7𝜏 + 𝜏𝑖

If τ = 1ns and τi = 1ns,

∆𝑇 ≤ 𝑇𝑅𝑂 2 = 7 + 1 = 1ns

⇒ Resolution of 1ns

𝑇𝑅𝑂 = 2(𝑛𝜏 + 𝜏𝑖)

∆𝑇 ≤ 𝑇𝑅𝑂 2

Periodic time 𝑇𝑅𝑂

Page 30: SAR TDC Architecture for One-Shot Timing …...Kobayashi Lab. Gunma University SAR TDC Architecture for One-Shot Timing Measurement with Full Digital Implementation Y. Ozawa, T. Ida,

30/40

Frequency Repetitive Clock Measurement

10𝑛𝑠 × 10 = 100𝑛𝑠

Ring Oscillator

2GHz

High Frequency

Low Frequency

0.01Hz

10𝑛𝑠 × 10 = 100𝑛𝑠

Ring Oscillator

High Frequency

Low Frequency

Ready

CLK1

(CLK2)

Ring Oscillator I

(Ring Oscillator II)

START

(STOP)

Ready

CLK1

(CLK2)

Ring Oscillator I

(Ring Oscillator II)

START

(STOP)

Page 31: SAR TDC Architecture for One-Shot Timing …...Kobayashi Lab. Gunma University SAR TDC Architecture for One-Shot Timing Measurement with Full Digital Implementation Y. Ozawa, T. Ida,

31/40

Simulated Circuit

D Q

CLR

D Q

CLR

D Q

CLR

D Q

CLR

D Q

CLR

D Q

CLR

D Q

CLR

D Q

CLR

D Q

D Q

D Q

D Q

D Q

Q

Q

Q

Q

START STOP

D0D1D2

Ring OscillatorⅠ Ring OscillatorⅡ

SAR Logic

Control Unit

MUX

D-FF(COMP)𝜏 𝜏 𝜏 𝜏 𝜏 𝜏 𝜏 𝜏 𝜏 𝜏 𝜏 𝜏 𝜏 𝜏

𝜏𝑖𝜏𝑖

Page 32: SAR TDC Architecture for One-Shot Timing …...Kobayashi Lab. Gunma University SAR TDC Architecture for One-Shot Timing Measurement with Full Digital Implementation Y. Ozawa, T. Ida,

32/40

STA

RT

ST

OP

One-Shot Input Signal

∆𝑇 =5.2ns

Page 33: SAR TDC Architecture for One-Shot Timing …...Kobayashi Lab. Gunma University SAR TDC Architecture for One-Shot Timing Measurement with Full Digital Implementation Y. Ozawa, T. Ida,

33/40

Simulated Ring Oscillator WaveformsR

ing

Oscill

ato

rⅠR

ing

Oscill

ato

rⅡ

∆𝑇 ∆𝑇 ∆𝑇 ∆𝑇 ∆𝑇 ∆𝑇 ∆𝑇 ∆𝑇∆𝑇

Page 34: SAR TDC Architecture for One-Shot Timing …...Kobayashi Lab. Gunma University SAR TDC Architecture for One-Shot Timing Measurement with Full Digital Implementation Y. Ozawa, T. Ida,

34/40

D-FF Output Signal at Each Step

Δ𝑇 > 4𝜏= 100

Δ𝑇 < 6𝜏= 110

Δ𝑇 > 5𝜏= 101 Δ𝑇 =5.2ns

1

D0

D1

D2

1 1 1

0

0

1

0 1 1

0 0

Page 35: SAR TDC Architecture for One-Shot Timing …...Kobayashi Lab. Gunma University SAR TDC Architecture for One-Shot Timing Measurement with Full Digital Implementation Y. Ozawa, T. Ida,

35/40

Input Output Linearity

Proposed SAR TDC input & output have linear relationship

𝑇[ns]

Output

000

001

111

110

010

011

100

101

Page 36: SAR TDC Architecture for One-Shot Timing …...Kobayashi Lab. Gunma University SAR TDC Architecture for One-Shot Timing Measurement with Full Digital Implementation Y. Ozawa, T. Ida,

36/40

Outline

Research Objective

Conventional TDC Architecture

- Flash TDC

SAR TDC Architecture & Operation

Proposed SAR TDC – Analog Centric

Proposed SAR TDC – Digital Centric

- Architecture & Operation

- High Frequency

- Low Frequency

- Simulation

Conclusion

Page 37: SAR TDC Architecture for One-Shot Timing …...Kobayashi Lab. Gunma University SAR TDC Architecture for One-Shot Timing Measurement with Full Digital Implementation Y. Ozawa, T. Ida,

37/40

Discussion (1)

SAR TDC operates with external clock

Operation speed depends on measured clock

witch may be variable

Employing ring oscillators

Frequency is fixed

Reasonable as mixed-signal circuit design

Page 38: SAR TDC Architecture for One-Shot Timing …...Kobayashi Lab. Gunma University SAR TDC Architecture for One-Shot Timing Measurement with Full Digital Implementation Y. Ozawa, T. Ida,

38/40

Discussion (2)

Assumption

Two ring oscillators are completely matched

(oscillation frequencies are the same)

In reality they are not

Future work

Mismatch compensation or self-calibration method

(e.g. redundancy SAR algorithm)

Page 39: SAR TDC Architecture for One-Shot Timing …...Kobayashi Lab. Gunma University SAR TDC Architecture for One-Shot Timing Measurement with Full Digital Implementation Y. Ozawa, T. Ida,

39/40

Conclusion

Trigger circuit can generate repetitive signals

Ring oscillator helps the realization of full digital FPGA

One shot timing can be measured with SAR TDC

The remaining work Taking care of mismatches between two ring oscillators

Page 40: SAR TDC Architecture for One-Shot Timing …...Kobayashi Lab. Gunma University SAR TDC Architecture for One-Shot Timing Measurement with Full Digital Implementation Y. Ozawa, T. Ida,

40/40

Time is GOLD !!

TDC is a key.

Time continues indefinitely.