38
Lecture 12. Aperture and Noise Analysis of Clocked Comparators Analysis of Clocked Comparators Jaeha Kim Mixed-Signal IC and System Group (MICS) Seoul National University [email protected]

Lecture 12. Aperture and Noise Analysis of Clocked Comparators

  • Upload
    others

  • View
    16

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Lecture 12. Aperture and Noise Analysis of Clocked Comparators

Lecture 12. Aperture and Noise Analysis of Clocked ComparatorsAnalysis of Clocked Comparators

Jaeha KimMixed-Signal IC and System Group (MICS)Seoul National [email protected]

Page 2: Lecture 12. Aperture and Noise Analysis of Clocked Comparators

Clocked Comparators a.k.a. regenerative amplifier, sense-amplifier, flip-flop,

latch etc latch, etc. At every clock edge, sample the input (continuous) and

d id h th it i 0 1 (bi )decide whether it is 0 or 1 (binary) Therefore, it’s inherently nonlinear operation

2

Page 3: Lecture 12. Aperture and Noise Analysis of Clocked Comparators

Comparator Characteristics Offset and hysteresis Sampling aperture, timing resolution, uncertainty window Regeneration gain, voltage sensitivity, metastabilityg g g y y Random decision errors, input-referred noise

Can be analyzed and simulated based on a linear, time-i (LTV) d l f th tvarying (LTV) model of the comparator

3

Page 4: Lecture 12. Aperture and Noise Analysis of Clocked Comparators

Clocked Comparator Operation

4 operating phases: reset, sample, regeneration & decision Sampling & regeneration phases can be modeled as LTV Sampling & regeneration phases can be modeled as LTV

4

Page 5: Lecture 12. Aperture and Noise Analysis of Clocked Comparators

An Ideal Comparator ModelVk= Vi(to+kT),

to+kTVi(t) DkVi(t) Dk

o

Sampling and decisionp g Infinitely-fast tracking of Vi(t)

A realistic comparator acts on a filtered version of Vi(t)A realistic comparator acts on a filtered version of Vi(t)5

Page 6: Lecture 12. Aperture and Noise Analysis of Clocked Comparators

LTV Model for Clocked Comparator

NoisyV (t)

Vk= Vo(tobs+kT)

DV (t) Dtobs+kT

V (t)NoisyNonlinear

Filter

Vi(t) DkVi(t) Dk Vo(t)

vo(t)( ) h(t )vi()

LTV small signal model

()=h(t,)

no(t)

Assumes a noisy, nonlinear filter before the sampling The filter’s small-signal response is modeled with ISF () The filter s small signal response is modeled with ISF ()

6* J. Kim, et al., “Simulation and Analysis of Random Decision Errors in Clocked Comparators,” IEEE TCAS-I, 08/2009.

Page 7: Lecture 12. Aperture and Noise Analysis of Clocked Comparators

ISF for Oscillators Impulse sensitivity function (ISF) () is defined as:

() = the final shift in the oscillator phase due toa unit impulse arriving at time

(1)(2)=0

1 2

7

* A. Hajimiri and T. H. Lee, “A General Theory of Phase Noise in Electrical Oscillators,” IEEE JSSC, Feb. 1998.

Page 8: Lecture 12. Aperture and Noise Analysis of Clocked Comparators

ISF for Oscillators (2) ISF describes the time-varying response of a oscillator

Responses to each impulse add up via superposition Responses to each impulse add up via superposition For arbitrary noise input n(t), the resulting phase shift is:

dn )()(

ISF led to some key oscillator design idioms: Sharpen the clock edge to lower ISF (i.e. minimize RMS)

Ali i i hi l ISF i d Align noise events within low-ISF period Balance ISF (i.e. DC=0) to prevent 1/f-noise up-conversion

8

Page 9: Lecture 12. Aperture and Noise Analysis of Clocked Comparators

ISF for Samplers and Comparators For sample-and-hold circuits, the sampled voltage Vs

can be expressed via a “sampling function” f(t):can be expressed via a sampling function f(t):

dVfV is )()(

* H. O. Johansson, C. Svensson, “Time Resolution of NMOS Sampling Switches Used on Low-Swing Signals,” JSSC, Feb. 1998.

is

For clocked comparators, we simply add the “decision”:

dVΓVD ikk )()(sgnsgn

9

* P. Nuzzo, et al., “Noise Analysis of Regenerative Comparators for Reconfigurable ADC Architectures,” TCAS-I, July 2008.

Page 10: Lecture 12. Aperture and Noise Analysis of Clocked Comparators

ISF for Clocked Comparators ISF shows sampling aperture, i.e. timing resolution In frequency domain, it shows sampling gain and BW

ISF () F.T. { (-) }( ) { ( ) }

10

Page 11: Lecture 12. Aperture and Noise Analysis of Clocked Comparators

Generalized ISF In general, ISF is a subset of a so-called time-varying

impulse response h(t ) for LTV systems*:impulse response h(t, ) for LTV systems*:

d xthty )(),()(

h(t, ): the system response at t to a unit impulse arriving at F LTI t h( ) h( ) l ti

For LTI systems, h(t, ) = h(t-) convolution

ISF () = h(t0, ) t0: the time at which the system response is observed For oscillators, t0 = + For comparators t0 is before the decision is made (more later) For comparators, t0 is before the decision is made (more later)

11* L. Zadeh, “Frequency Analysis of Variable Networks,” Proc. I.R.E. Mar. 1950.

Page 12: Lecture 12. Aperture and Noise Analysis of Clocked Comparators

Noise in LTV Systems If the input x(t) to an LTV system is a noise process,

then the output y(t) is a time varying noise in generalthen the output y(t) is a time-varying noise in general Expressions become very complex (cyclo-stationary at best)

We can keep things simple if we are interested in the We can keep things simple if we are interested in the noise only at one time point (in our case: t0 = tobs+kT)

12

Page 13: Lecture 12. Aperture and Noise Analysis of Clocked Comparators

LTV Output Noise at t = t0

)()()()( 0002

02 tytytyty

dvvxvthduuxuth )(),()(),( 00

dvduvthuthvxux ),(),()()( 00

),(),()()( 00

dvduvthuthvuR )()()( 00

Rxx(u, v) is the auto-correlation of the input noise x(t)

dvduvthuthvuRxx ),(),(),( 00

Rxx(u, v) is the auto correlation of the input noise x(t)13

Page 14: Lecture 12. Aperture and Noise Analysis of Clocked Comparators

Response to White and 1/f Noises If the input x(t) is white noise, i.e. Rxx(u, v) = x

2 (u-v):

dΓduutht xxy )( ),()( 220

220

2

If the input x(t) is 1/f noise, i.e. Rxx(u, v) = x2 :

22

20

20

2 d )( ),()(

Γduutht xxy

Agrees with Hajimiri/Lee’s low-noise design idioms: To minimize contribution of white noise, minimize RMS

T i i i ib i f 1/f i k 0 To minimize contribution of 1/f noise, make DC = 014

Page 15: Lecture 12. Aperture and Noise Analysis of Clocked Comparators

Random Decision Error Probability If we have multiple noise sources, their contributions add

up via RMS sum assuming they are independent:up via RMS sum assuming they are independent:

ojyototaly tt )()( 2,

2,

If the comparator has signal Vo and noise n o at tobs, the

j

p g o n,o obs,decision error probability P(error) can be estimated as:

)()( ttVSNR

dxxSNRQerrorP )2/exp(1)( 2

)()( , obsonobso ttVSNR

15

SNR

Q )p(2

)(

Page 16: Lecture 12. Aperture and Noise Analysis of Clocked Comparators

Circuit Analysis Example A variant of StrongARM comparator When clk is low, the comparator is in reset

out+/- are at VddX/X’ V V X/X’ are ~Vdd-VTN

When clk rises (say t=t0) When clk rises (say t t0),the comparator goes thru: Sampling phase (t0~t1)

X X’

Regeneration phase (t1~t2)

16

Page 17: Lecture 12. Aperture and Noise Analysis of Clocked Comparators

1. Sampling Phase (t = t0~t1) While out+/- remain high:

M1 pair discharges X/X’ M1-pair discharges X/X M2-pair discharges out+/-

S S transfer from v to v : S.S. transfer from vin to vout:

2

21/)()(

)(

xoutxoutmxout

mm

in

outCCCCgsCsC

ggsvsv

2122

21

2

1/)()(

ssxout

mm

xoutxoutmxoutin

sCCsgg

CCCCgsCsCsv

The ISF w.r.t. vin is:

RGtt

t

1)(

17

Rss 21

)(

Page 18: Lecture 12. Aperture and Noise Analysis of Clocked Comparators

1. Sampling Phase (t = 0~t1) S.S. response to M1 noise:

xout

m

n

out

CCsg

sisv

22

1 )()(

S S response to M2 noise:

Rssm

n Gg

ttt

211

11 )(

S.S. response to M2 noise:out

sCsisv 1)()(

outn sCsi )(2

Rout

n GC

t 1)(2

18

out

Page 19: Lecture 12. Aperture and Noise Analysis of Clocked Comparators

2. Regeneration Phase (t = t1~t2) We assume X/X’ ~ 0V and

M1 pair is in linear regionM1-pair is in linear region The circuit is no longer

sensitive to vin (ISF=0)in ( )

Cross-coupled inverters amplifysignals via positive-feedback:g p

RR

ttG

12exp

The ISF w.r.t. noise is:)/( ,3,2 rmrmoutR ggC

tt1

19

Routrn

ttC

t2

, exp1)(

Page 20: Lecture 12. Aperture and Noise Analysis of Clocked Comparators

Putting It All Together The overall gain G is:

dciobso

tttt

ttvtvG

122

10

,

)(

d )(/)(

The total input referred

Rss

tttt

12

21

10 exp2

)(

The total input-referrednoise is:

222

301

22

1

01

1

22,

2,

)(16

316

/

ttCkT

ttCkT

G

ss

out

s

x

onin

Most of the noise is contributed

by M1 and M2 pairs during the sampling phase

20

0101 )(outx sampling phase

Page 21: Lecture 12. Aperture and Noise Analysis of Clocked Comparators

Design Trade-Offs The input-referred noise can be approximated as:

2

where3

01

22

1

01

12,

)(16

316

ttCkT

ttCkT ss

out

s

xin

Tpd

msTp

d

m

out

xs VIg

ttV

Ig

CC

tt 2

2

01

2

1

1

01

1 1 ,

Therefore, noise improves with larger gm/Id ratios and wider sampling aperture (t1-t0)p g p ( 1 0)

However, sampling bandwidth and/or gain may degrade Controlling the tail turn-on rate is a good way to keep high gaing g y p g g

21

Page 22: Lecture 12. Aperture and Noise Analysis of Clocked Comparators

Simulating Aperture & Noise RF simulators (e.g. SpectreRF) can simulate small-signal

LPTV response and noise efficiently:LPTV response and noise efficiently: Simulates linearized responses around a periodic steady-state PAC analysis gives H(j;t) = Fourier transform of h(t,)*y g (j ; ) ( , ) PNOISE analysis can give the noise PSD at one time point

The remaining question is how to choose tobs? We’d like to choose it to mark the end of the regeneration We d like to choose it to mark the end of the regeneration Since () in our LTV model captures sampling + regeneration

22

* J. Kim, et al., “Impulse Sensitivity Function Analysis of Periodic Circuits,” ICCAD’08.

Page 23: Lecture 12. Aperture and Noise Analysis of Clocked Comparators

Comparator Periodic Steady-State (PSS)

D i i / C iS liRegenerationReset

0.81

1.2

Out

put (

V)

put (

V) Differential Output

Decision / Compression Sampling

00.20.40.6

Diff

eren

tial O

Diff

Out

p

tobs

PSS response of the comparator for a small DC input

0 50 100 150 200Time (ps)

PSS response of the comparator for a small DC input Near the clock’s rising edge; return to reset not shown

23

Page 24: Lecture 12. Aperture and Noise Analysis of Clocked Comparators

Comparator Sampling Aperture (PAC)

11.2

(V) (V

)Differential Output

0 20.40.60.8

1D

iffer

entia

l Out

put (

ff O

utpu

t Differential Output

tOutput SNR

00.2

0 50 100 150 200

DD

if

Decision / Compression SamplingRegenerationReset

tobs

15202530

/V*s

)(V

/ V

s)

)(

)(,)(

obsoobs V

tVthΓ

05

10

0 50 100 150 200

ISF

(V/

ISF )(iV

24

Time (ps)Time (ps)

Page 25: Lecture 12. Aperture and Noise Analysis of Clocked Comparators

Comparator Noise (PNOISE)

Decision / Compression SamplingRegenerationReset

0.60.8

11.2

al O

utpu

t (V

) ut

put (

V) Differential Output

pp g

00.20.40.6

0 50 100 150 200

Diff

eren

tiD

iff O

u

RMS Output Noisetobs

Magenta line plots the rms output noise (t) vs. time, bt i d b i t ti th i PSD t h ti i t

0 50 100 150 200Time (ps)

obtained by integrating the noise PSD at each time point This is not “transient noise analysis”– it’s a time sample

f l t ti i ( h ffi i t)of cyclo-stationary noise (much more efficient)25

Page 26: Lecture 12. Aperture and Noise Analysis of Clocked Comparators

Comparator Output SNR

11.2

ut (V

)t (

V) Differential Output

0.20.40.60.8

Diff

eren

tial O

utpu

iff O

utpu

t p

RMS Output Noise

Output SNR

60

00 50 100 150 200

Decision / Compression SamplingRegeneration

D

Reset

20

40

60

SNR

(dB)

Output SNR

R (d

B)

-20

0

0 50 100 150 200Ti ( )

S

tobs

Ti ( )

SN

26

Time (ps)Time (ps)

Page 27: Lecture 12. Aperture and Noise Analysis of Clocked Comparators

Deciding on tobs

How to choose tobs that marks the end of regeneration Most of the noise is contributed during the sampling phase

Noise that enters during the sampling phase sees the full gainN i th t t l t d i th ti h Noise that enters later during the regeneration phase sees an exponentially decreasing gain with time

For the purpose of estimating decision errors selection of For the purpose of estimating decision errors, selection of tobs is not critical as long as it’s within regeneration phase The SNR and decision error probability stay ~constante S a d dec s o e o p obab ty stay co sta t I choose tobs when the comparator has the max. small-signal

gain (i.e. before the nonlinearity starts suppressing the gain)

27

Page 28: Lecture 12. Aperture and Noise Analysis of Clocked Comparators

Measurement Results

A AV VD2k DA

A A Vi ViD2k+1

LTI Front End

D4k,…,4k+3

Both receivers are based on StrongARM comparatorsReceiver A (90nm) Receiver B (65nm)

Both receivers are based on StrongARM comparators Differential Cin ~ 2pF thermal noise from the input

termination resistors < 100 Vrmstermination resistors < 100Vrms Excess noise factor not spec’d by foundries

i l t d t lti l lsimulated at multiple values28

Page 29: Lecture 12. Aperture and Noise Analysis of Clocked Comparators

Receiver A – Direct Sampling Front-End

0

-8

-4B

ER)

-16

-12log(

B

-200 2 4 6 8 10 12

DC Input (mV)p ( )

Simulation of the decision error (BER) = Q(Vo(tobs)/o(tobs))versus the DC input level (excess noise factor =2)

29

versus the DC input level (excess noise factor 2)

Page 30: Lecture 12. Aperture and Noise Analysis of Clocked Comparators

Receiver A – Direct Sampling Front-End0

-8

-4B

ER)

-16

-12log(

B

-200 2 4 6 8 10 12

DC Input (mV)

Measurement of the decision errors (BER) based on the density of the wrong outputs (0’s) versus the DC input level

30

density of the wrong outputs (0 s) versus the DC input level

Page 31: Lecture 12. Aperture and Noise Analysis of Clocked Comparators

Receiver A – Direct Sampling Front-End0

idcidci

VQVBER

,)(

-8

-4B

ER)

i

dci Q. )(

-16

-12log(

B

= -1.6mV = 0.79mV = +3.3mV

-200 2 4 6 8 10 12

DC Input (mV)

= 0.79mV

Fit both sets of points to the Gaussian BER model Compare the estimated ’s (input referred rms noise)

31

Compare the estimated s (input-referred rms noise)

Page 32: Lecture 12. Aperture and Noise Analysis of Clocked Comparators

Simulation vs. Measurement

Simulated (mV,rms) Measured (mV,rms)( ) ( )Receiver =1 =2 =3 =4 (Pos. / Neg. / Avg.)

(A) 90nmDirect SamplingFront-End

0.59 0.79 0.94 0.79 / 0.65 / 0.72

(B) 65nm(B) 65nmw/ LinearFront-End 0.62 0.73 0.83 0.87 / 0.83 / 0.85

(Pos. / Neg. / Avg.) refers to measurement results for positive VIN negative VIN and their averagepositive VIN, negative VIN, and their average

32

Page 33: Lecture 12. Aperture and Noise Analysis of Clocked Comparators

Noise Filtering via Finite Aperture (ISF)1E-06

)) Front-end outputnoise spectrum

1E-07

olts

/sqr

t(Hz) noise spectrum

Noise spectrumwith ISF filtering

0.81mVrms

1E-08

ise

PSD

(Vo

0 65 V

input referred

1E-090.0001 0.001 0.01 0.1 1 10 100

Noi 0.65mVrms

input referred

In receiver B, the noise contributed by the linear front-d i filt d b th fi it t f th t

Frequency (GHz)

end is filtered by the finite aperture of the comparator33

Page 34: Lecture 12. Aperture and Noise Analysis of Clocked Comparators

Conclusions The linear time-varying (LTV) system model is a good tool for

understanding the key characteristics of clocked comparatorsunderstanding the key characteristics of clocked comparators Sampling aperture and bandwidth Regeneration gain and metastabilityg g y Random decision errors and input-referred noise

The impulse sensitivity function (ISF) has a central role in it:The impulse sensitivity function (ISF) has a central role in it: As it did for oscillators Guides design trade-offs between noise, bandwidth, gain, etc.

The LTV framework is demonstrated on the analysis, simulation, and measurement of clocked comparators

34

Page 35: Lecture 12. Aperture and Noise Analysis of Clocked Comparators

Back-Up SlidesBack Up Slides

Page 36: Lecture 12. Aperture and Noise Analysis of Clocked Comparators

Extracting ISF from h(t,) Choose tobs as the maximum small-signal gain point

ISF: ( ) = h(t ) ISF: () = h(tobs,)

MaximumGain Point ()

tobs tobs

36

Page 37: Lecture 12. Aperture and Noise Analysis of Clocked Comparators

Effects of the Bridging Device Improves hold time and metastability

IncreasedReg. Gain Improvedp

Hold Time

37

Page 38: Lecture 12. Aperture and Noise Analysis of Clocked Comparators

Effects of Input and Output Loading

IncreasedHold Time

IncreasedSetup Time

38