• 검색 결과가 없습니다.

Topics in IC Design 2.1 Introduction to Phase-Locked

N/A
N/A
Protected

Academic year: 2022

Share "Topics in IC Design 2.1 Introduction to Phase-Locked"

Copied!
82
0
0

로드 중.... (전체 텍스트 보기)

전체 글

(1)

Topics in IC Design

2.1 Introduction to Phase-Locked Loop

Deog-Kyoon Jeong dkjeong@snu.ac.kr

School of Electrical and Computer Engineering

Seoul National University

(2)

Outline

 Introduction

 Charge-Pump PLL building blocks

 Charge-Pump PLL dynamics

 Clock Synthesizers

(3)

What is PLL?

Phase Detector

err Vctrl Clkref

(in) Loop

Filter

Voltage-Controlled Oscillator

ClkVCO (out)

 A negative feedback system where an oscillator-generated signal is frequency and phase locked to a reference signal

err err err err err Frequency & phase locked!!

Clkref ClkVCO

(4)

PLL Applications (1)

 On-chip clock generator with reduced skew – Zero delay buffer

 Resolves skew problem due to on-chip clock tree

Phase

Detector Loop

Filter

Voltage-Controlled Oscillator Data

Clock

On-chip clock tree

Aligned Aligned

Chip boundary

(5)

PLL Applications (2)

 Clock frequency multiplication – On-chip clock generation

 Frequency synthesizer – Many RF applications

Phase-frequency

Detector Loop

Filter

Voltage-Controlled Oscillator Frequency

Divider

M Frequency

Divider

N fin

fout

in

out f

N f M

(6)

PLL Applications (3)

 Jitter reduction

 PLL filters out low frequency jitter of input clock

Phase

Detector Loop

Filter

Voltage-Controlled Oscillator

Ckin Ckout

Ckin Ckout

(7)

PLL Applications (4)

 Multi-phase clock generation

 Multi-phase clock is very useful in many applications

Phase

Detector Loop

Filter

Voltage-Controlled Oscillator

Ckin Ckout[0:3]

Ckin Ckout[0]

Ckout[1]

Ckout[2]

Ckout[3]

90 shifted 4-phase clock

(8)

PLL Applications (5)

 Clock and data recovery

 Extracts timing information from NRZ data pattern

NRZ Phase

Detector Loop

Filter

Voltage-Controlled Oscillator NRZ

Data(Din) Ckout

0 1 1 0 1 0 0 1 0 0 0

DIN

DOUT Ckout

Dout

PLL aligns falling edge of Ckout with data transition, so that the data is sampled at optimal point!!

(9)

PLL Building Blocks

 Voltage controlled oscillator (VCO)

 Phase detector (PD)

 Charge pump (CP)

 Loop filter (LF)

 Frequency divider

(10)

Charge-Pump PLL

 Most of recent PLLs are of the charge-pump type

 PFD + CP – Converts digital phase-error signal to analog current

 4 essential building blocks – VCO, PFD, CP, and loop filter

 1 optional building block – Frequency divider

Phase-frequency Detector

Loop Filter Charge

Pump VCO

Ckin up Ckout

down Qerr Vctrl

Frequency Divider

(11)

VCO

 Self-resonating clock generator

 LC tank, ring oscillator, relaxation oscillator …

 Performance parameters

 Center frequency (No meaning for CP-PLL)

 Tuning range

 Tuning linearity

 Power dissipation

 Supply rejection ratio

 Spectral purity

Vctrl VCO

f

KVCO(Hz/V) Periodic pulses

with frequency, f

Tuning range

(12)

VCO

 VCO gain – KVCO (Hz/V or rad/s/V)

 Large gain means wide tuning range, but more sensitive to control line noise in PLL

 Phase noise of VCO

 If input clock is clean, VCO is a dominant noise source in PLL

White noise is modulated by VCO as a “skirt-like shape”

Clock spectrum - Ideal

Clock spectrum

- With noise Due to supply noise, device noise, etc…

(13)

VCO Phase Noise Model

 Leeson’s model

White noise floor White noise modulated by VCO White noise modulated by VCO + flicker noise

(14)

Low Noise VCO

 Use high-Q resonator

 Maximize signal swing – May result in more power dissipation

 Fast slew rate – Reduces signal transition time

 Symmetrical waveform

 Robustness against flicker noise

 Reduces low frequency phase noise

(15)

LC-Tank Oscillator

VCTRL

L

MOS varactor for frequency control : Cvar Negative resistance to compensate LC tank

loss due to finite metal conductance

1

 LC resonator as VCO

 Low noise

 Insensitive to PVT variation

 High-frequency

 Narrow tuning range

 Requires additional fabrication steps for spiral inductor – Thick top metal

(16)

Ring Oscillator

Odd number of inversions

M stages

MT

d

f 2

 1

I V

T

d

C

Single stage delay: Delay is controlled by varying C or V or I

 Chain of variable delay elements

 Easy to implement

 Low cost

 Wide range

 Very sensitive to PVT variation

 Noisier than LC-tank

Td Td Td

(17)

Delay Element Examples

Vcont

Vcont

Vin

Vcont

Vout

Vin

(a) Capacitive tuning

(c) Delay variation by positive feedback

Speed up Slow down

(18)

Multipath Oscillator

 When oscillation frequency is low. Extend the frequency by 30%.

 One input of the delay inverter comes from the previous delay stage

 Extra input comes early from the 2nd previous delay stage

 Must be careful about the false mode.

 Check with various initial conditions

(19)

Design Tips on Ring Oscillator

 RO phase noise is too large for high precision PLL applications - the main source of PLL output jitter

 Differential structure for less supply sensitivity

 Latch added at the output for faster rise/fall times

 Too many stages can cause harmonic lock

 Symmetric rise/fall times for less phase noise against flicker noise

 Multipath RO for higher frequency

 PVT variation can cause 1:3 oscillating frequency

 Possible use of LD regulator for less variation and less jitter

 Use of supply as the control voltage

 Level translation is required

 Less swing might increase jitter

(20)

Phase Detector

Phase Detector

 Definition

 XOR gate as phase detector

V1 V2

Vout



Vout

V1 V2

Vout



Vout

V1 V2 Vout

(21)

Phase Frequency Detector

avg(up – dn)

Different frequency (Frequency detection) Same frequency (Phase detection)

(22)

PFD Non-ideality

 Dead zone – Occurs when PFD doesn’t respond to small phase errors

 Phase offset – Due to circuit or device mismatch



Vout

Offset

DN pulse is too narrow - ignored by charge pump

(23)

Design Tips on PFD

 Intentionally introduce delay by adding delay on reset path

 Identical wide pulses on up and dn in the locked state must be cancelled in the charge pump

 Reduce delay offset in up and dn path to the charge pump

 Reference spur appears at PLL output

(24)

Reference Spur

 In the frequency multiplier

Clock power spectrum Phase-frequency

Detector

Loop Filter Charge

Pump VCO

Ckin up Ckout

down Qerr Vctrl

Frequency Divider (/N)

0 fREF

(input)

N*fREF

(output)

f Reference spur (PM modulated)

TREF t

Vcntl (=fREF)

(25)

Charge Pump

IP

IP

 Converts PFD phase error(digital) to charge(analog)

 Issues

 Equal up/down current over entire Vctrl range

 Minimum coupling between switching signals & Vctrl

 PVT insensitive pumping current

 Charge sharing between loop filter cap & CP internal nodes

 Output resistance of the transistors

Parasitic cap

Vctrl Vctrl

(26)

Design tips on Charge Pump

 A differential charge pump is more accurate

 Equalize up/down current over the entire voltage range

(27)

Loop Filter

Unstable 3rd order

C

C

R R

C1 C2 2nd order

1st order

 Low pass filter composed in passive RC network

 Type

 Capacitor only – Unstable

 Resistor only – Stable, but lock range is very narrow

 2nd order – Integral path (Set average VCO frequency) + proportional path (Instantaneous phase correction)

 3rd order – 2nd order LF + additional cap to smooth large IR ripple on Vctrl

(28)

Design tips on Loop Filter

 Main source of reference spur in the frequency multiplier

 Beware the leakage current of the capacitor made with thin oxide of the MOS - Causes spur

t Vcntl

(=fREF)

Due to leakage

(29)

Frequency Divider

 Type

 Cascade of div-2 – Divide by powers of 2 only

 Integer-N divider – Counter-based FSM

 Fractional-N divider – Alternates div-N & div-N+1 operation to generate fractional frequency using sigma-delta modulator

 Sigma-delta modulator

 Keeps the average by dithering

 Noise shaping operation moves noise to higher frequency (easily removed)

 Prevents spur (only fractional spur present)

 Third-order SDM can fully remove fractional spur as well

(30)

Design tips on Frequency Divider

 Divider operating frequency range > entire VCO oscillation

frequency range under PVT variation (NOT functional operating oscillation frequency)

 Use dual-modulus prescaler for high frequency division

 Minimum delay – Logic delay degrades PLL loop stability

 Try to reduce jitter with supply variation

(31)

PLL Dynamics

 PLL s-domain model

 PLL dynamics analysis using Bode plot

 Jitter in PLL

 PLL design procedure

(32)

PLL s-domain model

 Assumption – PLL operation frequency is much higher than PLL loop responding speed

 Loop bandwidth >> f0 by the factor of > 10

 Can ignore sampling nature of PLL, and consequently, can be modeled in s- domain, not in z-domain

 PLL can be viewed as a linear system with phase-input &

phase-output

Phase Detector

err Vctrl Clkref

(in) Loop

Filter VCO ClkVCO

(out)

in

) out

s (

H

in H(s) out Charge

Pump

(33)

VCO Model

Vcont VCO

Vcont

(= 2f)

KVCO(Hz/V)

 

s s K

V

dt t v

K t

dt t v

K t

A t

y

t v

K

VCO VCO

VCO VCO

) (

: function Transfer

) ( )

(

: phase Excess

) ( cos

) (

) (

cont out

cont out

cont 0

0

cont 0

out

y(t)

0

 Beware the unit –rad/s/V

 Multiply by 2 when unit is [Hz/V]

(34)

PFD and Charge Pump Model

Ref VCO

I1=I2=IP

up

dn Ref

VCO

I1=I2=IP

up

dn

VCO

Ref

up dn VCO

Ref

up dn

Ierr

err CP IP/2

Ierr _

ref +

vco

Average error current over a reference cycle: Ierr

2

err

err P

I I

(35)

Loop Filter Model

3rd order R

C1 C2 C1

R

2nd order

1 1 1

1 1

1

2 1

2 1

2 2 1

1 2

1





p z

LF s /

/ s s ) C C ( s ) C C ( s C RC

s RC sC

R sC )

s (

Z

ZLF(s) Vcont Ierr

1 1

1 1

sC / s R sC

) s (

ZLF  z



2nd order

3rd order

(36)

Loop Filter Model

 Second order loop filter causes ripple on the Vcont

up

dn

Vcont (2ndorder)

Proportional term

C1 R

2nd order

3rd order R

C1 C2

Integral term

Up/dn current cancelled Vcont

(3rdorder)

(37)

Bode Plot Premier – 2

nd

Order PLL

2

1

/ 1

( ) ,

2

VCO p

z K I

T s K s K

s C

  

|T|

|H|

0dB

T

z c

-20dB/dec

( ) 1

2 if

c

p VCO

c z c

T j

I K R

  

 

 

-3dB

Jitter peaking : Due to low frequency zero

-90

-40dB/dec

-20dB/dec

(38)

Bode Plot Premier – 3

rd

Order PLL

) C / C (

R K

) I j (

T c c p VCO

1

1 2

1 2

 

 

|T|

|H|

0dB

To maximize PM, c must be located at geometric mean of z and p , i.e.,

c=(zp)1/2

-180

T

PM

z c p

-135

-40dB/dec -3dB

2

1 2

/ 1

( ) 1 ,

/ 1 2 ( )

VCO p z

p

K I

T s K s K

s s C C

 

  

 

-90

-40dB/dec

-40dB/dec -20dB/dec

(39)

Tuning Design Parameters

 Tuning of R

1

z RC

log

log

large R

small R

C K I s

VCO P2 1

2

2

1 IP R KVCO s

c 2

R I Kvco P

Higher bandwidth, larger PM,

|T|

|H|

(40)

Tuning Design Parameters

 Tuning of C

log

log

large C

small C

large C small C

Higher bandwidth, smaller PM (unstable)

|T|

|H|

1

z RC

(41)

Tuning Design Parameters

 Tuning of IP

log

log

large Ip

small Ip

|T|

|H|

(42)

PLL Linear Model

s ) K s ( I Z

) s (

TPLFVCO 2

) s ( T

) s ( ) T

s (

H  

1

LF ZLF(s)

VCO KVCO/s Vctrl

in PFD err CP IP/2

Ierr out

+ _

T(s)

in + err _

out

 PLL linear model in s-domain

 Open loop transfer function T(s) = out / err

 Closed loop transfer function H(s) = out / in

(43)

PLL Transfer Function of 2

nd

-order PLL

 Closed loop transfer function H(s)

2

2 2

2 2

) 2 2 2

2 2

p VCO p VCO

p VCO p VCO

I K R I K

s s

C n n

H(s s s I K R I K s ns n

C

 

 

 

 

2

I Kp VCO

n C

2 2

I K C R p VCO

(44)

Open-loop Transfer Function

• Open-loop unit gain frequency

Closed-loop bandwidth

• Phase Margin?

[Crawford - Advanced Phase-Lock Techniques]

(45)

PLL Jitter

 All the loop components may contribute jitter

 PLL output jitter can be reduced through proper bandwidth selection

 Two important cases

 When input noise is dominant

 When VCO noise is dominant

(46)

PLL Jitter Transfer

 Input noise

O/N = H(s) → Low pass filter!!

 Bandwidth should be lower for noise rejection

PD

& CP LPF VCO

I + O

N |H(j)|

0dB -3dB

c

(47)

Closed-Loop Transfer Function

2 2

) 2 2 2

ns n H(s

s s

n n

 

 

2

I Kp VCO

n C

2 2

I Kp VCOC R

(48)

PLL Jitter Transfer

 VCO noise

O/N = 1 -H(s) → High pass filter!!

 Bandwidth should be higher for noise rejection

 Same c

|1-H(j)|

0dB -3dB

c PD

& CP LPF VCO

I +N O

(49)

Closed-Loop Transfer Function

2

( ) 1 )

2 2 2 2

H s H(s s

s s

n n

 

 

• VCO jitter transfer function

• If , peaking occurs

(50)

PLL Linear Model with FB Divider

( ) ( ) 1

2

VCO P

LF

K T s I Z s

s M

    

( ) ( )

1 ( ) H s M T s

  T s

LF ZLF(s)

VCO KVCO/s Vctrl

in PFD err CP IP/2

Ierr out

+ _

 PLL linear model in s-domain

 Open loop transfer function T(s) = out / err

 Closed loop transfer function H(s) = out / in

1/M

All the stability analysis is on the modified T(s) Loop gain is reduced by M

Phase is multiplied by M – Frequency as well

(51)

PLL Design Procedure

 Determine PLL spec

Operation range, bandwidth, power budget, jitter peaking …

 Design VCO

 Should have the proper operation range over PVT variation

 Determine KVCO

 Design loop filter

 Determine proper pole-zero location

 Determine RC values – Should be practical (R=100 ~ 10k, Cmax = 200pF)

 Determine charge pump current

 PM should be considered – More than 60

 Several A ~ 1mA

(52)

Topics in IC Design 2.2 Fractional-N FS

Deog-Kyoon Jeong dkjeong@snu.ac.kr

School of Electrical and Computer Engineering Seoul National University

2020 Fall

(53)

Issues

 Background

 Architecture

 Spurious Tone

 SDM and Dithering

 Quantization Noise Analysis

(54)

Background

 Integer PLL gives integer * fREF

 Frequency resolution = fREF, too coarse.

 What if we want to have 1 MHz resolution when fREF=20 MHz?

 Fractional divide factor is required.

[MIT Courseware: Perrott]

(55)

Fractional-N PLL Architecture

 Alternating divide factors are used

(56)

Fractional-N PLL Architecture

 Accumulator is used for generating alternating divide factors

 Accumulator adds a fraction every cycle and carry overflow is the output

(57)

Timing Diagram

 For fractional divide of 4.25, divide value = 4, 3 times and divide value = 5, 1 time.

(58)

Timing Diagram (corrected)

 In fact, in steady state, average value of e(t)=0.

 All signals except ref(t) must be shifted.

e(t)

(59)

Spurious Tone

 Periodic phase error appears if averaging is not perfect.

 The spurious tone frequency is about fREF and fREF * fract

e(t)

Average phase error TREF

TREF* (1/fract)

…..

(60)

Reducing Spurious Tone

 Instead of periodically alternating at 3:1 ratio, dither the ratio at random, with long-term average of 3:1.

 Fractional spur is spread (fREF * fract)

 How? Use the Sigma-Delta Modulator

 Accumulator is the 1st order SDM

Output (carry) is periodically generated, no dithering (1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 …)

 What is the 2nd order SDM?

Output is dithered. (1 0 0 1 0 0 0 0 1 0 0 0 1 0 0 0 0 1 …)

(61)

1

st

Order SDM

• Same as accumulator

Q

Z-1 +

+ Z-1

+ Cout

Digital Implementation

1st order DSM Model

Quantization Noise (White, 𝝈𝟐 = 𝟏

𝟏𝟐)

Noise Transfer Function Hn(z)

(62)

2nd Order SDM

• Noise is shaped

• Dithering added

+ Q

2nd order DSM Model

Z-1

+ +

Z-1 +

C2 C1

(63)

Noise Shaping

• Signal Transfer function Hs(z) = 1

• Noise Transfer Function Hn(z)=(1-z

-1)m, m = order of DSM

(64)

2nd Order SDM

• Noise is shaped

• Dithering added

+ Q

2nd order DSM Model

Z-1

+ +

Z-1 +

C2 C1

(65)

DSM Outputs

• For sinusoidal input

1storder

2nd order

3rd order

(66)

Quantization Noise in F-N FS

• Phase Noise injected at input of PFD

PFD

& CP LPF VCO

+ out

q

1/N.F

ref

𝑺𝒒𝑶𝑼𝑻 𝒇 = 𝑺𝒒 𝒇 ∙ | H(j 2𝒇)|2 𝑺𝒒 𝒇 = 𝟏

𝟏𝟐 (𝟐𝝅)𝟐

𝑵. 𝑭 𝟐∙ 𝒇𝑹𝑬𝑭∙ [𝟐 sin 𝝅𝒇

𝒇𝑹𝑬𝑭 ]𝟐(𝒎−𝟏)

(67)

Phase Noise in Fractional-N FS

 Quantization noise is shaped.

1/(1-z-1) PFD

& CP LPF VCO

+ out

q

1/N.F

ref

+

1 12

1 𝑓𝑅𝐸𝐹



Noise Shaping

UI to Phase Conversion

Integration

Sfrac(f) Sq(f)

TREF (N.F) TOSC

𝟏 𝟏 𝟐𝒎 𝟐𝝅 𝟐 𝟏 𝟐

|1 − 𝑒−𝑧|𝑚

(68)

Topics in IC Design

2.3. Spread-Spectrum Frequency Synthesizer

Deog-Kyoon Jeong dkjeong@snu.ac.kr

School of Electrical and Computer Engineering Seoul National University

2020 Fall

(69)

Outline

 EMI issues

 Frequency Spectrum

 Architectures

(70)

Background

 Electromagnetic Interference

 Many standards to comply

 FCC Class A, Class B

 CISPR

[TI: Overview of Radiated EMI]

(71)

Background

 Shield Room Test

(72)

EMI Reduction Techniques

 Shielding

 Edge rate reduction

 Low voltage differential signaling

 Spread-spectrum clocking

 FM modulation of clock with triangular/Hersey-Kiss waveform

 30-33kHz (inaudible to human ear)

 Down spread not to shorten clock period

(73)

Spectral Peak Reduction

 Spectral peak is reduced by 5.9dB

(74)

Spectral Peak Reduction

 Spectral peak is reduced by 11.2dB

[Li: ISSCC 1999: Dual-Loop SSCG]

(75)

Spectral Peak Reduction

 Peak reduction factor

 10 log [(Frequency Spread )/(Resolution Bandwidth, 100kHz)]

Modulation Frequency 30kHz-33kHz 1/Period (after spread)

Modulation Period (30ms-33ms)

Frequency Spread [Downward]

1/Period (before Spread)

FM spectrum

Before Spread

(76)

Spectral Peak Reduction

 Peak EMI reduction [dB] =

10 log [(Frequency Spread )/(Resolution Bandwidth, 100kHz)]

Modulation Frequency 30kHz-33kHz 1/Period (after spread)

Modulation Period (30ms-33ms)

Frequency Spread [Downward]

1/Period (before Spread)

Frequency Spread FM spectrum

Before Spread

(77)

SSCG Architectures

• Dual Loop

(78)

SSCG Architectures

 Integer feedback factor modulation

 Conflict:

 Low bandwidth to filter quantization noise

 Harmonic tones of the triangular will be filtered

(79)

SSCG Architectures

 Feedback factor modulation with fractional phase

(80)

SSCG Architectures

• Two-point modulation

[2015_SOVC_SCJANG - An All-Digital Bang-Bang PLL Using Two-Point Modulation and Background Gain Calibration for Spread Spectrum Clock Generation]

(81)

Modulation Waveform

• Triangular vs Hersey-Kiss

(82)

EMI Reduction at Harmonics

• EMI Reduction is larger with harmonics

10log13=11.1dB 10log7=8.4dB

10log3=4.7dB

참조

관련 문서

회원국의 영토밖에서 다른 회원국의 , 영토내에서 회원국의 서비스 소비자에게

[r]

저탄소원의 전력 생산량을 기존 탄소중립 공표안보다 확대해야 하며 이를 위해 재생 에너지, 원자력 활용과 수소 생산 확대를 언급함.. ■ 보고서에서는 2050

 Euler buckling strength of long column cannot be improved by higher- strength material since it is due to the instability of the column as a whole.  For a column

등록제 민간자격 운영 사실을 특정한 등록 기관에 비치된 장부에 2. 기재하는 행위로서 등록한 경우에만 민간자격으로

본 설문지는 여러분의 체육 수업활동에 대한 생각을 알아보기 위 한 것입니다 여러분이 응답한 내용들은

부산항 그린 모니터링 시스템 부산항 관광정보 시스템 부산항 e-Marketplace 시스템 부산항 배후물류부지 지원시스템.

The effectiveness of the micro-jitter attenuation capability of the SMA mesh washer gear was demonstrated by the miro-jitter measurement tests by using a 2-axis