topics in ic design 5.1 introduction to delay-locked loop

136
Topics in IC Design 5.1 Introduction to Delay-Locked Loop Deog-Kyoon Jeong [email protected] School of Electrical and Computer Engineering Seoul National University 2020 Fall

Upload: others

Post on 15-Jun-2022

18 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

Topics in IC Design

5.1 Introduction to Delay-Locked

Loop

Deog-Kyoon Jeong

[email protected]

School of Electrical and Computer Engineering

Seoul National University

2020 Fall

Page 2: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

Outline

Introduction

Analysis of DLL

DLL building blocks

© 2020 DK Jeong DLL 2

Page 3: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

What is DLL?

Delay-Locked Loop A negative feedback system where an delay-line-generated signal is locked to a

reference signal

Input and output frequencies are the same.

Delayed output is automatically locked in phase to the input in a feedback loop.

err err err err err Delay locked!!

Ckin

Ckout

Phase DetectorLoop

Filter

Voltage-Controlled

Delay LineCkin Ckout

err

DLL 3© 2020 DK Jeong

Page 4: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

DLL Applications (1)

Zero delay buffer Resolves the skew problem due to on-chip clock tree

Data

Clock

On-chip clock tree

AlignedAligned

Chip boundary

Phase DetectorLoop

Filter

Voltage-Controlled

Delay Line

DLL 4© 2020 DK Jeong

Page 5: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

DLL Applications (2)

Multi-phase clock generation Multi-phase clock is very useful in many applications

Ckin

Ckout[0]

Ckout[1]

Ckout[2]

Ckout[3]

90 shifted

4-phase clock

Multiphase

Voltage-Controlled

Delay LineCkin

Ckout[0] Ckout[1] Ckout[2] Ckout[3]

Phase DetectorLoop

Filter

© 2020 DK Jeong DLL 5

Page 6: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

DLL Applications (3)

Clock frequency multiplication with multiphase DLL No jitter accumulation compared with PLL

Much spur generated - No RF applications

Multiphase

Voltage-Controlled

Delay LineCkin

CkoutPhase Combiner

Phase DetectorLoop

Filter

DLL 6© 2020 DK Jeong

Page 7: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

DLL Applications (4)

Clock generation for source-synchronous systems Jitter filtering is not possible

Infinite bandwidth – jitter passes through to the output with a 1 cycle delay

Phase DetectorLoop

Filter

Voltage-Controlled

Delay LineCkin Ckout

err

Ckin

Ckout

D-FFNRZ Data Recovered Data

NRZ Data

DLL 7© 2020 DK Jeong

Page 8: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

Delay-Locked Loop Transfer Function

• Loop filter for DLL is simpler

– DLL is a first-order system

– Din is the period of input, Dout is the delay of the VCDL

– With and =

Ckin

Ckout

err err

Din

Dout

DLL 8© 2020 DK Jeong

Page 9: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

Delay-Locked Loop Transfer Function

• Loop filter for DLL is simpler

– DLL is a first-order system

– Din is the period of input, Dout is the delay of the VCDL

– With and =

Ckin

Ckout

err err

Din

Dout

DLL 8

𝑫𝒐𝒖𝒕(𝒔)=𝑲𝑽𝑪𝑫𝑳𝑽𝑪 𝒔

𝑫𝒐𝒖𝒕(𝒔)

𝑫𝒊𝒏(𝒔)=

𝑲𝑷𝑫𝑲𝑽𝑪𝑫𝑳𝝎𝑰𝒏𝑳(𝒔)

𝟏 + 𝑲𝑷𝑫𝑲𝑽𝑪𝑫𝑳𝝎𝑰𝒏𝑳(𝒔)

=𝟏

𝟏 + 𝒔/𝝎𝟏

𝝎𝟏=𝑲𝑷𝑫𝑲𝑽𝑪𝑫𝑳𝝎𝑰𝒏

𝑹𝑪© 2020 DK Jeong

Page 10: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

DLL Transfer Function

• What is the jitter transfer function?

– H(s) = out(s) /in(s)?

Using the following relations,

Thus,

ideal

in

out

DLL 9

in(s)esT

Dout(s)

Close to an all-pass filter !!

<= High-pass filter !!

𝒊𝒏 𝒔 𝒆𝒔𝑻 −𝒊𝒏 𝒔 = 𝝎𝑰𝒏 𝑫𝒊𝒏 𝒔𝒐𝒖𝒕 𝒔 = 𝒊𝒏 𝒔 𝒆𝒔𝑻 −𝝎𝑰𝒏𝑫𝒐𝒖𝒕(s)

𝒐𝒖𝒕(𝒔)

𝒊𝒏(𝒔)=𝒆𝒔𝑻 +𝑲𝑷𝑫𝑲𝑽𝑪𝑫𝑳𝝎𝑰𝒏𝑳(𝒔)

𝟏 + 𝑲𝑷𝑫𝑲𝑽𝑪𝑫𝑳𝝎𝑰𝒏𝑳(𝒔)

=𝟏 + 𝒔/𝝎𝟏𝒆

𝒔𝑻

𝟏 + 𝒔/𝝎𝟏

© 2020 DK Jeong

Page 11: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

Harmonic Lock Problem

• False lock or harmonic lock occurs when initial delay is

greater then 2 * Tin with PD locking at 0.

– In false lock, single phase output could be functionally ok but loop

characteristics change

– Multiphase clocks malfunctions

– Start DLL with reset. On reset, VC forced to 0.

Ckin

Ckout

PDout

Stable Unstable Stable, but harmonic locked

DLL 10© 2020 DK Jeong

Page 12: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

Harmonic Lock Problem

• Avoiding harmonic lock

– Use intermediate outputs

DLL 11© 2020 DK Jeong

Page 13: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

Stuck Problem

• Depending on initialization, stuck problem may arise.

– Delay is at minimum but PD keeps comparing input with current-

cycle output not with one-cycle delayed output.

Ckin

Ckout

PDout

Stable Unstable

Stuck at minimum delay

Unstable

DLL 113© 2020 DK Jeong

Page 14: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

Half Clock Delay DLL

• DLL with only half a clock delay

– DLL locks at Dout=Tin/2

– Limiting phase input difference with additional reset path for PFD

can solve the stuck problem

DLL 13© 2020 DK Jeong

Page 15: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

References

• [6.1.1] M. Lee, “Jitter Transfer Characteristics of Delay-

Locked Loops—Theories and Design Techniques”, JSSC

vol. 38, no 4, 2003

• [6.1.2] B. Kim, “A low-power CMOS Bluetooth RF

transceiver with a digital offset canceling DLL-based

GFSK demodulator,” JSSC vol. 38, no 10, 2003

DLL 14© 2020 DK Jeong

Page 16: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

Delay-Locked Loops

5.2 Structures

Dept. of Electrical Engineering and Computer Science

Seoul National Univ.

Deog-Kyoon Jeong

[email protected]

October 19, 2020

Page 17: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

2020

CONFIDENTIAL2

Delay-Locked Loop (DLL)

• Matching TIMING at separate two points by adjusting DELAY

• Negative feedback loop

Sensor

Controller

CKin CKoutDelay

Element

• DLL does not self-generate

the output clock

Page 18: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

2020

CONFIDENTIAL3

DLL Building Block: Delay Line

• Delay element with control port (Voltage-Controlled Delay Line)

• Control signal adjusting delay

• Typically, by tuning RC time constant

Sensor

CKin CKoutDelay

Element

Control

Signal

VctrlDelay

VCDL D-V Curve

Page 19: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

2020

CONFIDENTIAL4

DLL Building Block: Phase Detector

• Phase detector (PD) for sensing the phase difference

• Linear phase detector, bang-bang phase detector

Sensor

Controller

CKin CKoutDelay

Element

ΔΦ

Vavg

PD Gain Curve

Page 20: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

2020

CONFIDENTIAL5

DLL Building Block: Loop Filter

• Loop filter for controlling delay element according to the

sensed phase difference

Sensor

Controller

CKin CKoutDelay

Element

• For DLL, only the first-order lowpass

filter or an integrator with a charge-

pump is sufficient.

Page 21: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

2020

CONFIDENTIAL6

Comparison with Phase-Locked Loop

• Voltage-controlled oscillator vs. Voltage-controlled delay line

VCO VCDL

Voltage

input

Frequency

output

Source

phase

Voltage

input

Phase

output

VCO VCDL

Voltage

input

Frequency

output

Source

phase

Voltage

input

Phase

output

Integrate

1/s

Phase

output

Phase

Domain

Model

Page 22: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

2020

CONFIDENTIAL7

Comparison with Phase-Locked Loop

• PLL has a pole at zero frequency inherently, but DLL does not

• Stability and settling issues are relaxed in DLL

• Jitter does not accumulate in VCDL

• But VCDL cannot adjust frequency:

– Jitter is added, not removed.

– difficult to generate different output frequency

• Multiphase Delay Line or Multiplying DLL is used

Page 23: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

2020

CONFIDENTIAL8

Types and Applications of DLL

• Type I

– Multi-phase clock generation, zero-delay buffer

– Only one input

– PD compares input and output of the VCDL

• Type II

– Data recovery

– Two inputs (i.e. data and clock)

– PD compares VCDL output and the other input

Page 24: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

2020

CONFIDENTIAL9

DLL Applications - 1

• Multi-phase clock generation (Type I)

CKin CKout

Phase

Detector

CP + LF

VctrlVCDL

0.25UI 0.25UI 0.25UI 0.25UI

CK0 CK90 CK180 CK270

Page 25: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

2020

CONFIDENTIAL10

DLL Applications - 2

• Zero-delay buffer (Type I)

• Driving the clock to a large load without adding skew

• Resolving the skew problem due to on-chip clock tree

CKin CKout

Phase

Detector

CP + LF

Vctrl

VCDL

Buffer

Page 26: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

2020

CONFIDENTIAL11

DLL Applications - 3

• Data recovery (Type II)

• Recovering data by sampling at the eye center

• Jitter is not filtered

Data Phase

Detector

CP + LFVctrl

VCDL

CKout

CKin

Page 27: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

2020

CONFIDENTIAL12

Building Block Examples: PD

• XOR phase detector - Duty ratio sensitive

• Locking point at p/2, not zero

CK A

CK BOut

ΔΦ

Vavg

p/2-p/2

CK A

CK B

Out

Phase-locked A lead

A B A B A

B lead

Page 28: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

2020

CONFIDENTIAL13

Building Block Examples: Delay

• For most of CMOS circuits, RC time constant determines circuit

BANDWIDTH and DELAY (Time constant 1/bandwidth)

• Upper limit: process or power

• Lower limit:

• VCDL bandwidth should be

higher than the clock frequency

even when the VCDL is SLOW

• Duty ratio must be maintained VctrlDelay

Power/Process

limitation

Tuning Range

Bandwidth

limitation

Page 29: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

2020

CONFIDENTIAL14

Building Block Examples: Delay

• Delay element examples

In

Vctrl,n

Vctrl,p

Out

R tuning

InOut

C tuning

In+ In-

IBIAS

- Out +

R Tuning

Page 30: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

Delay-Locked Loops

5.3 False Locking Issue

Dept. of Electrical Engineering and Computer Science

Seoul National Univ.

Deog-Kyoon Jeong

[email protected]

October 19, 2020

Page 31: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

2020

CONFIDENTIAL2

False Locking Issue in DLL

• Harmonic locking

– DLL adjust DELAY, according to the information from PHASE

detector

– Same phase, but different delay: Harmonic

• Stuck locking

– Finite delay range of a delay line

– When the desired phase of the output signal is out of the range,

the loop will be stuck at the edge of the range

Page 32: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

2020

CONFIDENTIAL3

Harmonic Locking

• Harmonic locking occurs when the VCDL range is wide

ΔΦ

Vavg

VCDL range

Out of VCDL range

Multiple possible locking

point in the VCDL range

Page 33: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

2020

CONFIDENTIAL4

Harmonic Locking

• Harmonic locking occurs when the VCDL range is wide

• Limiting the VCDL range eliminates harmonic locking, but

ΔΦ

Vavg

VCDL range

Out of VCDL range

One possible locking

point in the VCDL range

Page 34: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

2020

CONFIDENTIAL5

Harmonic Locking

• Harmonic locking occurs when the VCDL range is wide

• Limiting the VCDL range eliminates harmonic locking, but

• PVT variations, wide operating frequency range

0.08

0.12

0.16

0.20

0.24

0.28

0.32

0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9

Fast

Nominal

Slow

Vlow Vhigh

Delay 1-UI delay of 1GHz clock

= 3-UI delay of 3GHz clock

Page 35: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

2020

CONFIDENTIAL6

Harmonic Locking

• Example: Type-I DLL for multi-phase generation

• Desired phase shift per stage: 0.25 UI

CKin CKout

Phase

Detector

CP + LF

VctrlVCDL

0.25UI 0.25UI 0.25UI 0.25UI

CK0 CK90 CK180 CK270

Page 36: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

2020

CONFIDENTIAL7

Harmonic Locking

• PD does not know what’s wrong: because phase is locked

• Maybe, a delay detector solves the issue

CKin CKout

Phase

Detector

CP + LF

VctrlVCDL

0.5UI 0.5UI 0.5UI 0.5UI

CK0 CK90 CK180 CK270

Page 37: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

2020

CONFIDENTIAL8

Delay Detector Example

• Phase detection using multiple

phases

[Jung, JSSC’01]

Page 38: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

2020

CONFIDENTIAL9

Harmonic Lock Detection

• Comparing all the multi-phases with the reference phase

– Assuming that duty-cycle is about 50%

[Byun, JSSC’03]

Page 39: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

2020

CONFIDENTIAL10

Harmonic Lock Detection

• Proper locking REF

ph1

ph2

ph3

ph4

ph5

ph6

ph7

ph8

a1 = 1

a2 = 1

a3 = 1

a4 = x

a5 = 0

a6 = 0

a7 = 0

a8 = x

Page 40: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

2020

CONFIDENTIAL11

Harmonic Lock Detection

• Harmonic locking

• Phase = 2T

REF

ph1

ph2

ph3

ph4

ph5

ph6

ph7

ph8

a1 = 1

a2 = x

a3 = 0

a4 = x

a5 = 1

a6 = x

a7 = 0

a8 = x

Page 41: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

2020

CONFIDENTIAL12

Harmonic Lock Detection

• Stuck locking

• Phase < 0.5T

REF

ph1

ph2

ph3

ph4

ph5

ph6

ph7

ph8

a1 = 1

a2 = 1

a3 = 1

a4 = 1

a5 = 1

a6 = 1

a7 = 1

a8 = 1

Page 42: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

2020

CONFIDENTIAL13

Relaxing Harmonic Lock

• PD locking point repeats

every 2p

• VCDL range wider than 2p

results in harmonic lock

• Using a 1/N of VCDL (replica

VCDL) to relax the range

requirement

[Moon, JSSC’00 ]

Page 43: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

2020

CONFIDENTIAL14

Relaxing Harmonic Lock

• 1/8 of VCDL locks at p/4

• XOR PD offers p/2 locking

• Intentional current offset of

charge-pump shifts the

locking point

ΔΦ

Vavg

Desired Harmonic

ΔΦ

Vavg

Desired Harmonic

2x 7x

Page 44: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

2020

CONFIDENTIAL15

Stuck Locking in DLL : Type-I

• Desired phase shift by the VCDL: 360º

Phase

Detector

Loop

Filter

clk_in

(0º)

Vctrl

clk_out

(360º)

VCDL(90~540º)

ΔΦ

Vavg

PD Gain Curve

In VCDL range

Out of VCDL range

2pp

Page 45: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

2020

CONFIDENTIAL16

Stuck Locking in DLL : Type-I

Phase

Detector

Loop

Filter

clk_in

(0º)

Vctrl

clk_out

(360º)

VCDL(90~540º)

A

ΔΦ

Vavg

PD Gain Curve

B

In VCDL range

Out of VCDL range

• Desired phase shift by the VCDL: 360º

– Initial condition (A, B)

– I.C @ A : PD drives the locking point beyond the VCDL range

Page 46: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

2020

CONFIDENTIAL17

Stuck Locking in DLL : Type-I

Phase

Detector

Loop

Filter

clk_in

(0º)

Vctrl

clk_out

(360º)

VCDL(90~540º)

A

ΔΦ

Vavg

PD Gain Curve

B

STUCK

LOCK

In VCDL range

Out of VCDL range

• Initial condition causes STUCK

– To avoid the stuck,

Page 47: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

2020

CONFIDENTIAL18

Avoiding Stuck in Type-I DLL

Phase

Detector

Loop

Filter

clk_in

(0º)

Vctrl

clk_out

(360º)

VCDL(90~540º)

ΔΦ

Vavg

PD Gain Curve

Reset

In VCDL range

Out of VCDL range

• Initial condition causes STUCK

– To avoid the stuck,

– Set initial condition by RESET

Page 48: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

2020

CONFIDENTIAL19

Avoiding Stuck in Type-I DLL

Phase

Detector

Loop

Filter

clk_in

(0º)

Vctrl

clk_out

(360º)

VCDL(180~540º)

ΔΦ

Vavg

PD Gain Curve

In VCDL range

Out of VCDL range

• Initial condition causes STUCK

– To avoid the stuck,

– Set initial condition by RESET

– Limit the VCDL range

Page 49: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

2020

CONFIDENTIAL20

Stuck Detection

• When a DLL is stuck, delay

codes are all ones or zeros

[Yang, JSSC’07 ]

Page 50: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

2020

CONFIDENTIAL21

Stuck Detection

• All-ones and all-zeros detector

• Timing controller generates

required control and reset

signals

[Yang, JSSC’07 ]

Stuck detection circuit

Timing controller

Page 51: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

2020

CONFIDENTIAL22

Stuck Locking in DLL : Type-II

• Desired phase shift by the VCDL: ???

– Arbitrary phase difference between clock and data

Phase

Detector

Loop

Filter

clk_in

(0~360º)

Vctrl

clk_out

(360º)

VCDL(0~360º)Data

(0º)

PD Gain Curve

In VCDL range

Out of VCDL range

???

Page 52: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

2020

CONFIDENTIAL23

Stuck Locking in DLL : Type-II

• Case example 1: 45º skew between clk&data

– I.C A results in STUCK

Phase

Detector

Loop

Filter

clk_in

(45º)

Vctrl

clk_out

(360º)

VCDL(0~360º)Data

(0º)

A

ΔΦ

Vavg

PD Gain Curve

B

In VCDL range

Out of VCDL range

Page 53: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

2020

CONFIDENTIAL24

Stuck Locking in DLL : Type-II

• Case example 2: 315ºskew between clk&data

– I.C B results in STUCK

– Setting initial condition cannot solve the problem

– Obviously, VCDL range cannot be limited also

Phase

Detector

Loop

Filter

clk_in

(315º)

Vctrl

clk_out

(360º)

VCDL(0~360º)Data

(0º) ΔΦ

Vavg

PD Gain Curve

A

In VCDL range

Out of VCDL range

B

Page 54: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

2020

CONFIDENTIAL25

Stuck-Free DLL

• Infinite range DLL using phase-interpolator (PI)

90°

45°

135°

180°

270°

315°

225°

360°

405°

450°

495°

540°

585°

630°

675°

Page 55: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

2020

CONFIDENTIAL26

Stuck-Free DLL

• Dual-loop DLL: Type-I DLL (multi-phase) + type-II DLL (PI)

[Sidiropoulos, JSSC’97 ]

Page 56: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

2020

CONFIDENTIAL27

Phase Interpolator

• Voltage interpolation for phase interpolation

• Gradual clock edge is required: noise, speed, and power issues

MUX

P<1>

P<2>

P<n>

P<k>

P<k+1>

w1

w2

Out

Coarse

Fine

2:21:3

3:1

Page 57: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

2020

CONFIDENTIAL28

Phase Interpolator

• Linear combination of two clocks does not mean linear

combination of the two phases

• Because interpolated phase is a function of slew rate

• Non-ideal INL, DNL issue

DNL

Page 58: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

2020

CONFIDENTIAL29

Stuck Locking Escape

• Sample-swapping

technique

• Equivalent to 0.5UI

phase shift of PD

gain curve

XOR

Samp.

F

Samp.

R

Samp.

FL

DN

XOR

UP

Data

Clock

A B C

Samp.

RL

MUX MUX MUX

Edge DataEdge

Late

Mode

Selection

Mode #1 Mode #2

Falling: Edge

Rising: Data

Mode #1

Falling: Data

Rising: Edge

Mode #2

Page 59: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

Delay-Locked Loops

5.4 Phase Detector

Dept. of Electrical Engineering and Computer Science

Seoul National Univ.

Deog-Kyoon Jeong

[email protected]

October 19, 2020

Page 60: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

2020

CONFIDENTIAL2

Review: Phase Detector in DLL

• Phase detector (PD) for sensing the phase difference

ΔΦ

Vavg

PD Gain Curve

Sensor

Controller

CKin CKoutDelay

Element

Page 61: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

2020

CONFIDENTIAL3

Classification of Phase Detector

• Phase Frequency Detector (PFD)

• Phase Detector (PD)

• Static PD

• Dynamic PD

– Fast operation speed and potential saving in power

Page 62: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

2020

CONFIDENTIAL4

XOR PD

• Phase only detector

• Locking point at p/2, not zero

CK A

CK BOut

ΔΦ

Vavg

p/2-p/2

CK A

CK B

Out

Phase-locked A lead

A B A B A

B lead

Page 63: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

2020

CONFIDENTIAL5

XOR PD with Non-Ideal Duty-Cycle

• PD gain curve shifts

• Level sensitive: Two inputs need to be symmetrical

CK A

CK BOut

ΔΦ

Vavg

p/4

CK A

CK B

Out

Phase-locked B leadA lead

Page 64: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

2020

CONFIDENTIAL6

Edge Sensitive PD: JK Latch

• Positive edge at J input triggers the output to high

• Positive edge at K input triggers the output to low

CK A

CK BOut

CK A

CK B

Out

Phase-locked at p

J

K

ΔΦ

Vavg

p

Q

Q

J

K

Page 65: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

2020

CONFIDENTIAL7

Dynamic PD

• Less phase offset and high speed

[Moon, JSSC’00 ]

CK A

CK B

DN

CK B

CK A

UP

CK A

CK B

UP

Phase-locked

DN

A lead B lead

Page 66: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

2020

CONFIDENTIAL8

Bang-Bang PD - 1

• Sampling one clock with the other clock

• Non-linear phase detection

D Q Out ΔΦ

Vavg

p

-pCK A

CK B

A lead B lead

CK A

CK B

Out

Page 67: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

2020

CONFIDENTIAL9

Bang-Bang PD - 2

• For a special case of type-II DLL: one of the input is not a CLK

• Alexander phase detector

ΔΦ

Vavg

p

-p XOR

edge data edge_l

DN=0

XOR

UP=1

Data

CLK

XOR

DN=1

XOR

UP=0

CLK Late Case CLK Early Case

edge data edge_l

Page 68: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

2020

CONFIDENTIAL10

Bang-Bang PD - 2

• For a special case of type-II DLL: one of the input is not a CLK

• Alexander phase detector

ΔΦ

Vavg

p

-p

D QData D Q DN

UP

D QD Q

CLK

Page 69: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

2020

CONFIDENTIAL11

BBPD with Dual-Edge Flipflop

• Dual edge triggered flipflop

D Q

D Q

CLK1

0

CLK

Data

Out

D Q

D Q

CLK

CLK

Data

Out

Page 70: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

2020

CONFIDENTIAL12

BBPD with Dual-Edge Flipflop

• Dual edge triggered flipflop

• Clock sampled by Data

D Q

Data

CLK Out

Data lead CLK lead

Data

CLK

Out

Page 71: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

2020

CONFIDENTIAL13

Phase-Frequency Detector (PFD)

• Flip-flops to remember the edges PFD has been comparing

• Detects cycle slipping

• Dead zone and blind zone issues

D

CK A

D

CK B

R

R

Q

Q

Reset

UP: A lead

DN: B lead

CK A

CK B

UP

DN

ΔΦ

Vavg

p

-p

Page 72: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

2020

CONFIDENTIAL14

XOR-PFD

• Static PFD

[M. Perrott, Ph.D

Dissertation]

Page 73: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

2020

CONFIDENTIAL15

Dynamic PFD

• K. Lee, US patent 5,815,041

Page 74: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

2020

CONFIDENTIAL16

Dynamic PFD

[Lee, MWCAS’99 ][Kondoh, IEICE TE’95 ]

Page 75: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

2020

CONFIDENTIAL17

PFD in DLL

• Start-up issue

CK A

CK B

UP

DN

VCDL

CK A CK B

B lead, but PFD tells ‘A lead’

D

CK A

D

CK B

R

R

Q

Q

Reset

UP: A lead

DN: B lead

Page 76: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

Delay-Locked Loops

5.5 Voltage Controlled Delay Line

Dept. of Electrical Engineering and Computer Science

Seoul National Univ.

Deog-Kyoon Jeong

[email protected]

October 20, 2020

Page 77: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

2015

CONFIDENTIAL2

Delay Lines

• Analog Controlled

– Starved Inverter

– Load Capacitor

– Supply Controlled inverter

– Current-controlled fixed-swing CML with replica biasing

– Swing-controlled fixed-current CML with replica biasing

• Digitally Controlled

– CMOS NAND Lattice

– Switched capacitor

– Resistor-string DAC based current controlled inverter

Page 78: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

2015

CONFIDENTIAL3

Supply Controlled Inverter

• Circuit diagram

VDD

out

MP

MN

in

+_VCTRL

Delay

Line

VDD

Page 79: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

2015

CONFIDENTIAL4

NAND Lattice Delay Line

• Circuit diagram

input

output

sel0selb0

sel1selb1

sel2selb2

10

1

Page 80: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

2015

CONFIDENTIAL5

Current-Controlled CML

• Tunable load resistor with same output common and swing

• Replica-feedback bias circuit keeps swing constant and the

loads linear

+_

VCTRL

In+ In-

VREF

- Out +

VDD

CML with Replica-Feedback Bias

In+ In-

IBIAS

RR

CLCL

- Out +

VDD

Page 81: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

2015

CONFIDENTIAL6

Fast Delay Line

• For high frequency MDLL and finely-spaced multi-phase

generation DLL, a delay cell with a short delay is required

• Dual-input interpolating delay cell

[Song, EL’10]

Page 82: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

2015

CONFIDENTIAL7

Fast Delay Line

• DIDC can be modeled as a combination of an ideal phase

interpolator and a delay element

[Song, EL’10]

Page 83: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

2015

CONFIDENTIAL8

Fast Delay Line

• Delay of the n-th delay cell

• Not a constant delay: dummy delay cells are required

[Song, EL’10]

Page 84: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

2015

CONFIDENTIAL9

Fast Delay Line

• Weight adjusted DIDC chain: the initial error disappears if the

weight of the second delay cell is adjusted to (M+1):1

[Song, EL’10]

Page 85: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

2015

CONFIDENTIAL10

Duty-Cycle Error Amplification

• Insufficient circuit bandwidth of delay element causes severe

duty-cycle error amplification

[Casper, TCAS-I’09]

Page 86: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

2015

CONFIDENTIAL11

Duty-Cycle Error and Correction

• DC component of clock Duty-cycle of clock

• Measure the duty-cycle error by measuring DC portion of a

differential clock

[Jung, JSSC’01] Duty Detection Circuit

Page 87: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

2015

CONFIDENTIAL12

DLL with Cell-Level DCC

• Duty-cycle correction (DCC) example

[Moon, JSSC’00]

Page 88: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

2015

CONFIDENTIAL13

DCC with a Half Delay Line

• Duty-cycle correction (DCC) example: use of Half Delay Line

[Chen, TVLSI’13]

Page 89: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

2015

CONFIDENTIAL14

OR-AND DCC

• Duty-cycle correction (DCC) example[Lee, JSSC’12]

• At first, duty detector selects

either AND or OR path

• Changing the delay of the VDL

based on the duty detector

Page 90: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

2015

CONFIDENTIAL15

Open Loop Duty Correction

• Duty correction using band-pass filter

• Small capacitor at high frequency

[Bae, A-SSCC’15]

1u/2u

vin vout

RF=26k

CC=17f

-AF

Duty/Common

Correction

Gain

Stage

from

VCO

vx

CL

-50

-40

-30

-20

-10

0

10

20

1 10 100 1000 100001000001M 10M 100M 1G 10G 100G

Frequency (Hz)

Ga

in (

dB

)

700M 15G-3dB

1m F

high

F C

g R

R C

1 1low

o L F Lr C R C

Page 91: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

Delay-Locked Loops

5.6 All-Digital DLL

Dept. of Electrical Engineering and Computer Science

Seoul National Univ.

Deog-Kyoon Jeong

[email protected]

October 27, 2020

Page 92: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

2020

CONFIDENTIAL2

All-Digital DLL

• All components provide digital interface only

• Suitable for deep-submicron technology using low supply

• PVT variation can be mitigated

• Less sensitive to gate leakage

• Fast locking

• Storing locking information during power down mode

Page 93: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

2020

CONFIDENTIAL3

Digital Phase Detector - 1

• Binary phase detector

• Simple but highly nonlinear

D Q Out ΔΦ

Vavg

p

-pCK A

CK B

A lead B lead

CK A

CK B

Out

Page 94: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

2020

CONFIDENTIAL4

Digital Phase Detector - 2

• Linear: Time-to-digital converter (TDC)

• Conventional TDC: delay chain and samplers

• Resolution: Intrinsic gate delay

Page 95: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

2020

CONFIDENTIAL5

Digital Phase Detector - 3

• Vernier TDC

• Fine resolution but large area, high power consumption

Page 96: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

2020

CONFIDENTIAL6

Digital Phase Detector - 4

• Interpolative TDC

• Fine resolution using phase interpolation

[Henzler, JSSC’08]

Page 97: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

2020

CONFIDENTIAL7

Digital Phase Detector - 5

• Ring oscillator-based TDC

• Wide dynamic range, large power consumption by oscillator

[Yu, JSSC’10]

Page 98: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

2020

CONFIDENTIAL8

Digital Delay Element Examples

• Current-starved inverter

• Multiplexer-based delay

• Lattice delay line

• Synchronous mirror delay

Page 99: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

2020

CONFIDENTIAL9

Current-Starved Inverter

• Digitally controlled current-starved inverter

• Fine resolution

• Dynamic range and intrinsic delay depend

on clock frequency

Page 100: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

2020

CONFIDENTIAL10

Multiplexer-Based Delay

• Most straightforward

• Tunable delay range increases by cascading the delay units,

but the intrinsic delay increases as well

MUX

in

sel

outtd

Page 101: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

2020

CONFIDENTIAL11

Multiplexer-Based Delay

• Multiplexer-based delay element and current-starved delay

element are combined

[Wang, JSSC’06]

Page 102: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

2020

CONFIDENTIAL12

Lattice Delay Unit

• Intrinsic delay of two NAND delay

• Delay step of two NAND delay

• Dummy NAND for fan-out balancing

[Yang, JSSC’07]

Page 103: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

2020

CONFIDENTIAL13

Lattice Delay Line

• Intrinsic delay of two NAND delay

• As the operating frequency increases, the number of activated

delay units is reduced and the power remains the same

• Breaking dependency between total delay stages and power

[Yang, JSSC’07]

Page 104: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

2020

CONFIDENTIAL14

Lattice Delay Line

• Glitch issue

• Switching of S1 results in two different paths that generates an

output glitch

[Caro, TVLSI’13]

Page 105: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

2020

CONFIDENTIAL15

Modified Lattice Delay Line

• Dual lattice delay line followed by fine phase mixer

[Lee, JSSC’12]MDCDL

Page 106: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

2020

CONFIDENTIAL16

Modified Lattice Delay Line

• Dual lattice delay line followed by fine phase mixer

• Seamless operation between coarse and fine delay line

• Power saving by shared delay line

[Lee, JSSC’12]Fine mixer

Page 107: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

2020

CONFIDENTIAL17

Synchronous Mirror Delay

[Sung,

JSSC’04]

Page 108: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

2020

CONFIDENTIAL18

Synchronous Mirror Delay

[Sung,

JSSC’04]

𝑇𝑐𝑙𝑘 = 𝑑1 + 𝑑1 + 𝑑2 + 10𝑇𝑑𝐹 − 𝑑1∴ 10𝑇𝑑𝐹 =𝑇𝑐𝑙𝑘 − 𝑑1 + 𝑑2

𝑇𝑜𝑢𝑡 = 𝑑1 + 𝑑1 + 𝑑2 + 10𝑇𝑑𝐹 + 10𝑇𝑑𝐹 + 𝑑2=2 𝑇𝑐𝑙𝑘

Page 109: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

2020

CONFIDENTIAL19

Synchronous Mirror Delay

• Forward delay array (FDA) measures timing information of lock

• Backward delay array (BDA) with a mirror control circuit (MCC)

• Clock pulse is propagated backward through BDA as it is

propagated forward through FDA

• Total delay is two clock cycle: clock skew is suppressed in two

clock cycle

• Device mismatch and dynamic noise make the skew between

the clocks

Page 110: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

2020

CONFIDENTIAL20

DLL Architecture - 1

• Register-controlled DLL

• Only one bit of the shift register is active to select a point of

entry of the delay line (One-hot coded)

• Wider range achieved by adding more delay stages: large area

[Dehng, JSSC’00]

Page 111: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

2020

CONFIDENTIAL21

DLL Architecture - 2

• Counter-controlled DLL

• Binary-weighted delay line

• 64-bit shift register in a RDLL can be replaced by 6-bit counter

• Long lock time: 32 clock periods for 6-bit counter

[Dehng, JSSC’00]

Page 112: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

2020

CONFIDENTIAL22

DLL Architecture - 3

• SAR-controlled DLL

• 6 clock periods for 6-bit binary-weighted delay line

[Dehng, JSSC’00]

Page 113: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

2020

CONFIDENTIAL23

Low Power with Open-Loop Mode

• Once DLL is locked, the feedback loop is opened by LCU

• If any phase error is detected, PEC block sends a closed-loop

request to LCU

[Mesgarzadeh, JSSC’09]

Page 114: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

2020

CONFIDENTIAL24

Phase-Error Compensation Block

Page 115: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

2020

CONFIDENTIAL25

DLL with Low Supply

• Delay time mismatch due to the threshold voltage mismatch

• Unequal phase spacing

[Chang, JSSC’09]

Page 116: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

2020

CONFIDENTIAL26

DLL with Low Supply

• Mismatch becomes severe with low supply voltage

• Mismatch calibration circuit required

[Choi, ISSCC’15]

Page 117: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

2020

CONFIDENTIAL27

Mismatch Calibration Example

• Multiple DLLs

• Area overhead

Page 118: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

2020

CONFIDENTIAL28

Mismatch Calibration Example

• Multiple DLLs

• Area overhead

Page 119: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

2020

CONFIDENTIAL29

Mismatch Calibration Example

• Code Density Test

• Asynchronous clock required

[Baronti, JSSC’04]

Page 120: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

Delay-Locked Loops

5.7 Multiplying DLL

Dept. of Electrical Engineering and Computer Science

Seoul National Univ.

Deog-Kyoon Jeong

[email protected]

October 27, 2020

Page 121: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

2020

CONFIDENTIAL2

DLL with a Edge-Combining Logic

• Equally spaced phases of the reference clock are processed

through an edge-combining logic

[Kim, JSSC’02]

Page 122: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

2020

CONFIDENTIAL3

DLL with a Edge-Combining Logic

• Any mismatch in the delay element or the edge-combining logic

translates directly into duty cycle error and deterministic jitter

• Programmable clock multiplication ratio is difficult

[Farjad-Rad, JSSC’02]

Frequency doubler

Page 123: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

2020

CONFIDENTIAL4

Multiplying DLL (MDLL)

• MDLL or Recirculating DLL

• The VCDL is configured as an VCO for N-1 cycles

• Reset by the reference clock

for one cycle

• Incorrect Vtune leads to undesired

deterministic jitter

[Helal, Ph.D Dissertation, MIT]

Page 124: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

2020

CONFIDENTIAL5

Multiplying DLL (MDLL)

• A PLL-like feedback loop to

set proper Vtune

• Path mismatch in the MUX

and phase detector causes

non-ideality

[Helal, Ph.D Dissertation, MIT]

Page 125: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

2020

CONFIDENTIAL6

MUX Select Signal for MDLL

• Timing of the select logic is critical at very high frequency

• If the select signal is too slow, the clock edge experiences a

distortion and therefore a phase error in that cycle

• Select signal should have fast transitions

[Farjad-Rad, JSSC’02]

Page 126: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

2020

CONFIDENTIAL7

MDLL Compared to PLL

• In case of static phase offset

[Gierkink, JSSC’08]

Page 127: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

2020

CONFIDENTIAL8

MDLL Compared to PLL

• Reference spur

– PLL: Periodic ripple on Vctrl

due to CP mismatch

– DLL: Phase offset itself

[Gierkink, JSSC’08]

Page 128: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

2020

CONFIDENTIAL9

Phase Noise of MDLL

• Realignment strength

• =0: no phase realignment, =1: full phase realignment

[Gierkink, JSSC’08]

Page 129: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

2020

CONFIDENTIAL10

MDLL Phase Noise Compared to PLL

• PLL bandwidth is at most FREF/10

• MDLL bandwidth is at least 2.5x the PLL bandwidth

[Elshazly, JSSC’13]

Page 130: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

Delay-Locked Loops

5.8 Duty Cycle Correction

Dept. of Electrical Engineering and Computer Science

Seoul National Univ.

Deog-Kyoon Jeong

[email protected]

October 27, 2020

Page 131: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

2020

CONFIDENTIAL2

DCC Circuits

• Level Type

– High time and low time are compared

• Edge Type

– Rising edge and falling edge are compared

Page 133: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

2020

CONFIDENTIAL4

Level Type – II

• High and low levels are averaged

• No charge pump

Page 134: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

2020

CONFIDENTIAL5

Level Type –III

• High loop gain is required unless charge pump is used.

• Otherwise offset remains.

Page 135: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

2020

CONFIDENTIAL6

Level Type –IV

• Replica circuit for reduced loading

Page 136: Topics in IC Design 5.1 Introduction to Delay-Locked Loop

2020

CONFIDENTIAL7

Synchronous DCC

• Falling edge is modulated.

2010 VLSI-SoC Sofer