Short Course On Phase-Locked Loops and Their Applications Day 4, AM Lecture. Digital Frequency Synthesizers

Similar documents
A 74.9 db SNDR 1 MHz Bandwidth 0.9 mw Delta-Sigma Time-to-Digital Converter Using Charge Pump and SAR ADC

Spurious-Tone Suppression Techniques Applied to a Wide-Bandwidth 2.4GHz Fractional-N PLL. University of California at San Diego, La Jolla, CA

Oversampling Converters

Successive Approximation ADCs

Switched-Capacitor Circuits David Johns and Ken Martin University of Toronto

Quantization Noise Cancellation for FDC-Based Fractional-N PLLs

Pipelined multi step A/D converters

Fundamentals of PLLs (III)

EE241 - Spring 2006 Advanced Digital Integrated Circuits

Nyquist-Rate A/D Converters

EE247 Lecture 16. Serial Charge Redistribution DAC

Top-Down Design of a xdsl 14-bit 4MS/s Σ Modulator in Digital CMOS Technology

Introduction to CMOS RF Integrated Circuits Design

Higher-Order Σ Modulators and the Σ Toolbox

High-Speed, High-Resolution, Radiation-Tolerant SAR ADC for Particle Physics Experiments

Motivation for CDR: Deserializer (1)

ECEN 610 Mixed-Signal Interfaces

24.2: Self-Biased, High-Bandwidth, Low-Jitter 1-to-4096 Multiplier Clock Generator PLL

System on a Chip. Prof. Dr. Michael Kraft

Design of CMOS Adaptive-Bandwidth PLL/DLLs

SERIALLY PROGRAMMABLE CLOCK SOURCE. Features

INTRODUCTION TO DELTA-SIGMA ADCS

Lecture 10, ATIK. Data converters 3

Successive approximation time-to-digital converter based on vernier charging method

EE 505 Lecture 10. Spectral Characterization. Part 2 of 2

EE 505 Lecture 7. Spectral Performance of Data Converters - Time Quantization - Amplitude Quantization Clock Jitter Statistical Circuit Modeling

Nyquist-Rate D/A Converters. D/A Converter Basics.

Clock Strategy. VLSI System Design NCKUEE-KJLEE

On Modern and Historical Short-Term Frequency Stability Metrics for Frequency Sources

GMU, ECE 680 Physical VLSI Design 1

Timing Issues. Digital Integrated Circuits A Design Perspective. Jan M. Rabaey Anantha Chandrakasan Borivoje Nikolić. January 2003

Lecture 120 Filters and Charge Pumps (6/9/03) Page 120-1

INTRODUCTION TO DELTA-SIGMA ADCS

Data Converter Fundamentals

D/A Converters. D/A Examples

THE clock driving a digital-to-analog converter (DAC)

Analog and Telecommunication Electronics

Lecture 9: Clocking, Clock Skew, Clock Jitter, Clock Distribution and some FM

HIGH-PERFORMANCE phase-locked loops (PLLs) are

Slide Set Data Converters. Digital Enhancement Techniques

Second and Higher-Order Delta-Sigma Modulators

Voltage-Controlled Oscillator (VCO)

Low-Noise Sigma-Delta Capacitance-to-Digital Converter for Sub-pF Capacitive Sensors with Integrated Dielectric Loss Measurement

9/18/2008 GMU, ECE 680 Physical VLSI Design

Higher-Order Modulators: MOD2 and MODN

Extremely small differential non-linearity in a DMOS capacitor based cyclic ADC for CMOS image sensors

Q. 1 Q. 25 carry one mark each.

Lecture 310 Open-Loop Comparators (3/28/10) Page 310-1

Issues on Timing and Clocking

Experimental Verification of a Timing Measurement Circuit With Self-Calibration

On the design of Incremental ΣΔ Converters

Summary Last Lecture

LECTURE 090 FILTERS AND CHARGE PUMPS

Charge Pump. Loop Filter. VCO Divider

GMU, ECE 680 Physical VLSI Design

Y. Tsiatouhas. VLSI Systems and Computer Architecture Lab

Jan M. Rabaey Anantha Chandrakasan Borivoje Nikolic. November Digital Integrated Circuits 2nd Sequential Circuits

Behavior of Phase-Locked Loops

Lecture 340 Characterization of DACs and Current Scaling DACs (5/1/10) Page 340-1

EE 435. Lecture 32. Spectral Performance Windowing

Distortion Analysis T

Simulation, and Overload and Stability Analysis of Continuous Time Sigma Delta Modulator

ELEN 610 Data Converters

CMPEN 411 VLSI Digital Circuits Spring 2012 Lecture 17: Dynamic Sequential Circuits And Timing Issues

MODULE 5 Chapter 7. Clocked Storage Elements

Digital Integrated Circuits A Design Perspective

Modeling All-MOS Log-Domain Σ A/D Converters

Digital System Clocking: High-Performance and Low-Power Aspects. Vojin G. Oklobdzija, Vladimir M. Stojanovic, Dejan M. Markovic, Nikola M.

Itanium TM Processor Clock Design

Approximation Approach for Timing Jitter Characterization in Circuit Simulators

Fundamentals: Frequency & Time Generation

Tracking of Spread Spectrum Signals

ALU, Latches and Flip-Flops

EEC 216 Lecture #3: Power Estimation, Interconnect, & Architecture. Rajeevan Amirtharajah University of California, Davis

EE 435. Lecture 36. Quantization Noise ENOB Absolute and Relative Accuracy DAC Design. The String DAC

Digital Integrated Circuits A Design Perspective

Chapter 8. Low-Power VLSI Design Methodology

5. Sequential Logic x Computation Structures Part 1 Digital Circuits. Copyright 2015 MIT EECS

2 nd Order PLL Design and Analysis

LECTURE 3 CMOS PHASE LOCKED LOOPS

Conversion from Linear to Circular Polarization and Stokes Parameters in FPGA. Koyel Das, Alan Roy, Gino Tuccari, Reinhard Keller

EE115C Winter 2017 Digital Electronic Circuits. Lecture 19: Timing Analysis

New frequency counting principle improves resolution

6.776 High Speed Communication Circuits Lecture 10 Noise Modeling in Amplifiers

ETSF15 Analog/Digital. Stefan Höst

EE 521: Instrumentation and Measurements

Analog Design Challenges in below 65nm CMOS

WORKBOOK. Try Yourself Questions. Electrical Engineering Digital Electronics. Detailed Explanations of

Slide Set Data Converters. High-Order, CT Σ Converters and Σ DAC

Quantization Noise Conditioning Techniques for Digital Delta-Sigma Modulators

Introduction to Phase Locked Loop (PLL) DIGITAVID, Inc. Ahmed Abu-Hajar, Ph.D.

An On-Chip All-Digital Measurement Circuit to Characterize Phase-Locked Loop Response in 45-nm SOI

ESE 570: Digital Integrated Circuits and VLSI Fundamentals

Development of a Pulse Shape Discrimination IC

14 Gb/s AC Coupled Receiver in 90 nm CMOS. Masum Hossain & Tony Chan Carusone University of Toronto

Q. 1 Q. 25 carry one mark each.

Analog / Mixed-Signal Circuit Design Based on Mathematics

Energy Delay Optimization

Frequency Detection of CDRs (1)

Stop Watch (System Controller Approach)

Transcription:

Short Course On Phase-Locked Loops and Their Applications Day 4, AM Lecture Digital Frequency Synthesizers Michael Perrott August 4, 2008 Copyright 2008 by Michael H. Perrott All rights reserved.

Why Are Digital Phase-Locked Loops Interesting? PLLs are needed for a wide range of applications - Communication systems (both wireless and wireline) - Digital processors (to achieve GHz clocks) Performance is important - Phase noise can limit wireless transceiver performance - Jitter can be a problem for digital processors The standard analog PLL implementation is problematic in many applications - Analog building blocks on a mostly digital chip pose design and verification challenges - The cost of implementation is becoming too high Can digital phase-locked loops offer excellent performance with a lower cost of implementation? 2

Integer-N Frequency Synthesizers div(t) e(t) v(t) F out = N F ref div(t) Phase Detect e(t) Analog v(t) out(t) Loop Filter Divider VCO Sepe and Johnston US Patent (968) Use digital counter structure to divide VCO frequency - Constraint: must divide by integer values Use PLL to synchronize reference and divider output Output frequency is digitally controlled N 3

Fractional-N Frequency Synthesizers div(t) e(t) v(t) F out = M.F F ref div(t) Phase Detect e(t) Analog v(t) out(t) Loop Filter Divider VCO N sd [k] Σ Δ Modulator N[k] M.F Dither divide value to achieve fractional divide values - PLL loop filter smooths the resulting variations Very high frequency resolution is achieved 4

The Issue of Quantization Noise div(t) e(t) v(t) F out = M.F F ref div(t) Phase Detect e(t) Analog v(t) out(t) Loop Filter Divider VCO Limits PLL bandwidth Increases linearity requirements of phase detector N sd [k] Σ Δ Modulator N[k] M.F Σ Δ Quantization Noise f 5

Striving for a Better PLL Implementation

Analog Phase Detection div(t) reset D Q D Q Reg error(t) phase error div(t) error(t) Phase Detect Analog Loop Filter out(t) div(t) Divider VCO Pulse width is formed according to phase difference between two signals Average of pulsed waveform is applied to VCO input 7

Tradeoffs of Analog Approach div(t) error(t) Phase Detector Signals Average of error(t) Phase Detector Characteristic phase error Phase Detect Analog Loop Filter out(t) div(t) Divider VCO Benefit: average of pulsed output is a continuous, linear function of phase error Issue: analog loop filter implementation is undesirable 8

Issues with Analog Loop Filter error(t) Charge Pump I cp V out C int Phase Detect Analog Loop Filter out(t) Divider VCO Charge pump: output resistance, mismatch Filter caps: leakage current, large area 9

Going Digital Phase Detect Analog Loop Filter out(t) Divider VCO Time -to- Digital Digital Loop Filter Divider DCO out(t) Staszewski et. al., TCAS II, Nov 2003 Digital loop filter: compact area, insensitive to leakage Challenges: - Time-to-Digital Converter (TDC) - Digitally-Controlled Oscillator (DCO) 0

Time-to-Digital Conversion

Classical Time-to-Digital Converter div(t) D Q Reg Delay Delay D Q Reg Delay D Q Reg e[k] div(t) Delay 0 0 e[k] div(t) Time -to- Digital Digital Loop Filter Divider DCO out(t) Resolution set by a Single Delay Chain structure - Phase error is measured with delays and registers Corresponds to a flash architecture 2

Impact of Limited Resolution and Delay Mismatch div(t) Delay varies due to mismatch 0 0 e[k] detector output Phase Detector Characteristic phase error div(t) Time -to- Digital Digital Loop Filter Divider DCO out(t) Integer-N PLL - Limit cycles due to limited resolution (unless high ref noise) Fractional-N PLL - Fractional spurs due to non-linearity from delay mismatch 3

Modeling of TDC Phase Detector Characteristic quantization error detector output Δt del time error phase error[k] T 2π t q [k] TDC Gain Δt del e[k] T reference period div(t) Time -to- Digital Digital Loop Filter Divider DCO out(t) Phase error converted to time error by scale factor: T/2π TDC introduces quantization error: t q [k] TDC gain set by average delay per step: Δt del 4

How Do We Improve Performance? Two Key Issues: TDC resolution Mismatch

Improve Resolution with Vernier Delay Technique div(t) D Q Reg Delay Delay D Q Reg Delay D Q Reg e[k] div(t) Delay 0 0 e[k] div(t) Vernier Delay Delay Delay D Q D Q D Q Reg Reg Reg Delay2 Delay2 Delay2 e[k] div(t) Delay 0 0 e[k] Effective resolution: Delay-Delay2 Delay2 6

Issues with Vernier Approach Mismatch issues are more severe than the single delay chain TDC - Reduced delay is formed as difference of two delays Large measurement range requires large area - Initial PLL frequency acquisition may require a large range div(t) Vernier Delay Delay Delay D Q D Q D Q Reg Reg Reg Delay2 Delay2 Delay2 e[k] div(t) Delay 0 0 e[k] Effective resolution: Delay-Delay2 Delay2 7

Two-Step TDC Architecture Allows Area Reduction Single Delay Chain Vernier Delay Delay Delay div(t) Delay Delay Delay Mux D Q D Q D Q D Q Reg D Q Reg D Q Reg Reg Reg Reg Ramakrishnan, Balsara VLSID 06 Logic Single delay chain provides coarse resolution (Folded) Vernier provides fine resolution Coarse e[k] Delay Delay2 Delay2 Delay2 Delay - Delay2 Fine e[k] 8

Two-Step TDC Using Time Amplification Single Delay Chain Time Amplifier Single Delay Chain div(t) Delay Delay Delay Delay Delay Delay Mux D Q D Q D Q D Q D Q D Q Reg Reg Reg Reg Reg Reg Simplified view of: Lee, Abidi VLSI 2007 Logic Coarse e[k] Delay Fine e[k] Single delay chain provides coarse and fine resolution Time amplification is used to improve resolution Delay Amplification of Time 9

Leveraging Metastability to Create a Time Amplifier in(t) Time Amplifier out(t) in(t) Δt in D Q Latch out(t) Δt in in(t) in(t) out(t) out(t) Δt out Δt out Simplified view of: Abas, et al., Electronic Letters, Nov 2002 (note that actual implementation uses SR latch) Metastability leads to progressively slower output transitions as setup time on latch is encroached upon - Time difference at input is amplified at output 20

Interpolating time-to-digital converter Tq Start Delay Delay Delay Start Stop Registers T stop Out 0 Out Henzler et al., ISSCC 2008 Stop Tin Interpolate between edges to achieve fine resolution Cyclic approach can also be used for large range 2

An Oscillator-Based TDC V dd Ring Oscillator div(t) Osc(t) Phase Error[] Phase Error[2] div(t) Reset Logic Counter Register Count[k] e[k] Count[k] e[k] 3 3 Output e[k] corresponds to the number of oscillator edges that occur during the measurement time window Advantages - Extremely large range can be achieved with compact area - Quantization noise is scrambled across measurements 22

A Closer Look at Quantization Noise Scrambling V dd Ring Oscillator div(t) Osc(t) Phase Error[] Phase Error[2] div(t) Reset Logic Counter Register Count[k] e[k] Count[k] Quant. Error[k] e[k] -q[0] q[] -q[2] 3 3 Quantization error occurs at beginning and end of each measurement interval As a rough approximation, assume error is uncorrelated between measurements q[3] - Averaging of measurements improves effective resolution 23

Deterministic quantizer error vs. scrambled error Deterministic TDC do not provide inherent scrambling For oversampling benefit, TDC error must be scrambled! Some systems provide input scrambling (ΔΣ fractional-n PLL), while some others do not (integer-n PLL) 24

Proposed GRO TDC Structure

A Gated Ring Oscillator (GRO) TDC Ring Oscillator Enable div(t) Osc(t) Phase Error[] Phase Error[2] div(t) Reset Logic Counter Register Count[k] e[k] Count[k] Quant. Error[k] e[k] -q[0] q[] -q[] 3 4 Enable ring oscillator only during measurement intervals - Hold the state of the oscillator between measurements Quantization error becomes first order noise shaped! - e[k] = Phase Error[k] + q[k] q[k-] - Averaging dramatically improves resolution! q[2] 26

Improve Resolution By Using All Oscillator Phases Phase Error[] Phase Error[2] Ring Oscillator Enable div(t) Reset Counters Osc. Phases(t) Logic div(t) Register Count[k] e[k] Helal, Straayer, Wei, Perrott VLSI 2007 Count[k] Quant. q[] q[2] Error[k] -q[0] -q[] e[k] 0 Raw resolution is set by inverter delay Effective resolution is dramatically improved by averaging 27

GRO TDC Also Shapes Delay Mismatch Measurement Enable Measurement 2 Enable Measurement 3 Enable Measurement 4 Enable Barrel shifting occurs through delay elements across different measurements - Mismatch between delay elements is first order shaped! 28

Simple gated ring oscillator inverter-based core Enabled Ring Oscillator Disabled Ring Oscillator (a) (b) Gate the oscillator by switching the inverter cores to the Enable Vo n- Delay Element Enable M 4 power supply Vo 5 Vo n Vo i- M 3 Vo i Vo 4 Vo M 2 Vo 3 Vo 2 Enable M 29

GRO Prototype En Dis 5 Stage Gated Ring Oscillator S Q R enable(t) enable enable Straayer, Perrott Logic error[k] GRO implemented as a custom 0.3 μm CMOS IC 30

Measured GRO Results Confirm Noise Shaping Variable Delay 5 Stage Gated Ring Oscillator S Q R enable(t) enable enable 40 30 20 Input variable delay signal Harmonics due to nonlinearity of variable delay Logic error[k] Amplitude (db) 0 0-0 -20-30 0.0 0. 0 00 Frequency (MHz) Noise shaped quant. noise 3

Measured deadzone behavior of inverter-based GRO Deadzones were caused by errors in gating the oscillator GRO injection locked to an integer ratio of F S Behavior occurred for almost all integer boundaries, and some fractional values as well Noise shaping benefit was limited by this gating error 32

The issue of gating non-idealities GRO Phase Original phase trajectory Original phase + T disable Actual phase T skew Enable T disable T in Oscillator does not stop and start instantly Actual phase trajectory deviates from ideal trajectory by a time defined as T skew 33

Interrupted transition causes charge redistribution Enable Rinv Enable Rsw V ss V o V d Vo Cp Vd Cd V d V o V dd Rsw Enable Vd Rinv Cd Vo Cp Charge redistribution depends on when the transition is stopped Positive and negative transitions are not perfectly symmetric Gating skew (T skew ) then depends on GRO phase (θ GRO ) when Enable transitions low (a) (b) 34

Cartoon depicting the error from individual stages Transitions Delay Element Output Voltages Delay Element Skew Error 2 3 4 2 3 Up Down Up Down Only one stage in transition at a time T skew is the sum of error from each of the individual stages Periodic with 2T q due to positive and negative transition asymmetry 4 Total Skew 2N- 0 2 GRO Phase State 3 35

Next Generation GRO: Multi-path oscillator concept Single Input Single Output Multiple Inputs Single Output Use multiple inputs for each delay element instead of one Allow each stage to optimally begin its transition based on information from the entire GRO phase state Key design issue is to ensure primary mode of oscillation 36

Multi-path inverter core Lee, Kim, Lee JSSC 997 Mohan, et. al., CICC 2005 37

Proposed multi-path gated ring oscillator Hsu, Straayer, Perrott ISSCC 2008 Oscillation frequency near 2GHz with 47 stages Reduces effective delay per stage by a factor of 5-6! Represents a factor of 2-3 improvement compared to previous multi-path oscillators 38

A simple measurement approach Enable N-Stage Gated Ring Oscillator Start Reset Logic Counters Stop Count[k] Register e[k] Helal, Straayer, Perrott VLSI 2007 2 counters per stage * 47 stages = 94 counters each at 2GHz Power consumption for these counters is unreasonable Need a more efficient way to measure the multi-path GRO 39

Phase-based measurement for a simple GRO Simple logic provides map from GRO output state to phase Transition sequence is predictable, unambiguous GRO Delay Stage Key: Logical Logical 0 5 0 Quantized GRO Phase State 29 40

Accounting for phase wrapping Calculate phase from: - A single counter for coarse phase information - GRO output state for fine phase residual counter and N registers much more efficient 4

Accuracy considerations Counter and registers need to have the same state Cannot allow counters to double-count a single transition 42

De-glitch circuits to ensure accurate measurements 43

Key issue with scheme for an multi-path GRO GRO Delay Stage Key: Logical Unknown Logical 0 47 0 Quantized GRO Phase State 93 More than one delay element output is logically uncertain Transition sequence is unpredictable and ambiguous Cannot map from entire GRO output state to phase 44

Restoring the predictable relationship Calculate phase contribution from each cell independently Transition sequence within each cell is now predictable 45

Prototype 0.3μm CMOS multi-path GRO-TDC Start Stop Timing Generation Enable 47-stage Gated Ring Oscillator Start Stop Enable CLK Z -47 State Register 2 3 4 5 6 7 Measurement Cells CLK Adder Out Two implemented versions: - 8-bit, 500Msps - -bit, 00Msps version 2-2mW power consumption depending on input duty cycle 46

Measured noise-shaping of multi-path GRO Power Spectral Density (db ps 2 /Hz) -40-50 -60-70 -80-90 -00 Data collected at 50Msps More than 20dB of noise-shaping benefit 80fs rms integrated error from 2kHz-MHz Floor primarily limited by /f noise (up to 0.5-MHz) 65,536 pt. FFT (Hanning window + 20x averaging) Input of.2ps pp Noise of 80fs rms in MHz BW 0 4 0 5 0 6 0 7 Frequency (Hz) (a) Ideal variance of 50-Msps quantizer with ps steps Filtered TDC Output 279.2 279.0 278.8 TDC Output after MHz LPF.2ps 278.6 0 40 80 20 60 200 Time (µs) (b) 47

Measured -bit range of multi-path GRO Raw TDC Output 2000 500 000 500 0 0 20 40 60 80 00 Time (µs) 48

Measured deadzone behavior for multi-path GRO Only deadzones for outputs that are multiples of 2N - 94, 88, 282, etc. - No deadzones for other even or odd integers, fractional output Size of deadzone is reduced by 0x 49

Revised gating skew cartoon for the multi-path GRO Transition Width Spans Entire Range of Input Connections Delay Element Output Voltages Delay Element Skew Error 7 8 9 20 7 8 9 20 At least 3 stages in transition at a time - Most of the mismatch from positive and negative transitions is cancelled T skew is the average of error from each of the individual stages - GRO phase trajectory is determined by many stages, not just one Total Skew 0 5 20 25 GRO Phase State 50

-bit GRO-TDC performance summary Sampling Frequency Raw delay resolution Effective resolution Integrated noise Dynamic range Power Area Technology <00 MHz 6ps ps @ 50Msps 80fs-rms, 2kHz-MHz 95dB, MHz BW 2.2-2mW (<4mW typical) 57 x 258μm 0.3μm CMOS 5

Summary of Time to Digital Conversion Key performance metrics are - Resolution: want low quantization noise - Mismatch: want high linearity - Power and area: want long battery life, low cost Many structures have been introduced - Classical, Vernier, Two-Step, Time Amplifiers, Re-cycling, Gated Ring Oscillator Comparable to ADCs but suffers from lack of time memory element - Cyclic conversion and pipeline structures have not been achieved A very promising research area! 52

Digitally-Controlled Oscillators

A Straightforward Approach for Achieving a DCO DAC Varactor Varactor Analog Control div(t) Time -to- Digital Digital Loop Filter Divider DCO out(t) Ferriss ISSCC 2007 Hsu ISSCC 2008 Use a DAC to control a conventional LC oscillator - Allows the use of an existing VCO within a digital PLL - Can be applied across a broad range of IC processes 54

A Much More Digital Implementation Varactor Varactor Digital Control div(t) Time -to- Digital Digital Loop Filter Divider DCO out(t) Staszewski et. al., TCAS II, Nov 2003 Adjust frequency in an LC oscillator by switching in a variable number of small capacitors - Most effective for CMOS processes of 0.3u and below 55

Leveraging Segmentation in Switched Capacitor DCO Coarse Control Fine Control Varactor Varactor Binary Array x 2x 4x 2 n x Unit Element Array x x x x Similar in design as segmented capacitor DAC structures - Binary array: efficient control, but may lack monotonicity - Unit element array: monotonic, but complex control Coarse and fine control segmentation of DCO - Coarse control: active only during initial frequency tuning (leverage binary array) - Fine control: controlled by PLL feedback (leverage unit element array to guarantee monotonicity) 56

Leveraging Dithering for Fine Control of DCO out(t) Varactor Divide-by-K Varactor Coarse Control Fine Control Initial Frequency Tuning Digital Σ Δ Modulator T in[k] Digital Loop Filter T c =T/M DCO TDC out Increase resolution by Σ Δ dithering of fine cap array Reduce noise from dithering by - Using small unit caps in the fine cap array - Increasing the dithering frequency (defined as /T c ) We will assume /T c = M/T (i.e. M times reference frequency) 57

Time-Domain Modeling of the DCO Digital Σ Δ Upsampler Modulator in[k] in sd [m] in q [m] M Σ Δ Zero-Order Hold 0 T c t in cap (t) K v Frequency to Phase f cap (t) Φ out (t) 2π in[k] in sd [m] in q [m] in cap (t) Φ out (t) k m m t t Input to the DCO is supplied by the loop filter - Clocked at /T (i.e., reference frequency) Switched capacitors are dithered by Σ Δ at a higher rate - Clocked at /T c = M/T - Held at a given setting for duration T c Fine cap element value determines K v of VCO T c T c - Units of K v are Hz/unit cap 58

Frequency Domain Modeling of DCO Digital Σ Δ Upsampler Modulator in[k] in sd [m] in q [m] M Σ Δ Zero-Order Hold 0 T c t in cap (t) K v Frequency to Phase f cap (t) Φ out (t) 2π q raw [k] Upsampler by M Digital Σ Δ Modulator H ntf (z) Zero-Order Hold Conversion to Phase in[k] Upsampler and zero-order hold correspond to discrete and continuous-time sinc functions, respectively Σ Δ has signal and noise transfer functions (H stf (z), H ntf (z)) 0 M /MT c f H stf (z) z=e j2πft c - Note: var(q raw [k]) = /2 (uniformly distributed from 0 to ) 0 T c /T c f 2πK v s s=j2πf Φ out (t) 59

Simplification of the DCO Model M T c Digital Σ Δ Modulator q raw [k] Upsampler by M H ntf (z) Zero-Order Hold Conversion to Phase in[k] 0 M /MT c f H stf (z) z=e j2πft c Focus on low frequencies for calculations to follow - Assume sinc functions are relatively flat at the low frequencies of interest /T c Upsampler is approximated as a gain of M 0 T c f 2πK v s s=j2πf Φ out (t) Zero-order hold is approximated as a gain of T c Assume H stf (z) = - True for Σ Δ structures such as MASH (ignoring delays) 60

Spectral Density Calculations CT CT x(t) H(f) y(t) DT DT x[k] H(e j2πft ) y[k] DT CT x[k] H(f) y(t) CT CT DT DT DT CT 6

Calculation of Quantization Noise from Cap Dithering Quantization Noise in[k] M q raw [k] H ntf (z) z=ej2πft c q[k] DT to CT spectral calculation: f T c 2πK v s s=j2πf Phase Noise f Φ out (t) - S qraw (f) = /2 since q raw [k] uniformly distributed from 0 to - H ntf (z) is often -z - (first order) or (-z - ) 2 (second order) 62

Example Calculation for DCO Quantization Noise Assumptions (Out freq = 3.6 GHz) - Dithering frequency is 200 MHz (i.e., /T c = 200e6) - Σ Δ has first order shaping (i.e., H ntf (z) = - z - ) - Fine cap array yields 2 khz/unit cap (i.e., K v = 2e3) At a frequency offset of f = 20 MHz: Below the phase noise (-53 dbc/hz at 20 MHz) in the example 63

Further Simplification of DCO Model Quantization Noise in[k] M f q raw [k] H ntf (z) z=ej2πft c q[k] T c 2πK v s Proper design of DCO will yield quantization noise that is below that of the intrinsic phase noise (set by tank Q, etc.) - Assume q[k] = 0 for simplified model Note that T = M T c s=j2πf in[k] Phase Noise f Φ out (t) DT-CT T DCO-Referred Noise S Φ n (f) 2πK v s s=j2πf Φ n (t) f Φ out (t) 64

Overall Digital PLL Model TDC DCO TDC-referred Noise S t q (ej2πft ) DCO-referred S Φ n (f) Noise -20 db/dec Φ ref [k] T 2π f t q [k] TDC Gain Δt del e[k] Loop Filter H(z) z=e j2πft DT-CT T 2πK v s f s=j2πf Φ n (t) Φ out (t) Φ div [k] Divider CT-DT N T TDC and DCO-referred noise influence overall phase noise according to associated transfer functions to output Calculations involve both discrete and continuous time 65

Key Transfer Functions Φ ref [k] T 2π t q [k] TDC Gain Δt del e[k] Loop Filter H(z) DT-CT T 2πK v s Φ n (t) Φ out (t) Φ div [k] z=e j2πft s=j2πf CT-DT N T TDC-referred noise DCO-referred noise 66

Introduce a Parameterizing Function Φ ref [k] T 2π t q [k] TDC Gain Δt del e[k] Loop Filter H(z) DT-CT T 2πK v s Φ n (t) Φ out (t) Φ div [k] z=e j2πft s=j2πf CT-DT N T Define open loop transfer function A(f) as: Define closed loop parameterizing function G(f) as: - Note: G(f) is a lowpass filter with DC gain = 67

Transfer Function Parameterization Calculations TDC-referred noise DCO-referred noise 68

Key Observations Φ ref [k] Φ div [k] T 2π t q [k] TDC-referred noise TDC Gain Δt del DCO-referred noise e[k] N Loop Filter H(z) z=e j2πft DT-CT T CT-DT T 2πK v s s=j2πf Lowpass with a DC gain of 2πN Φ n (t) Highpass with a high frequency gain of Φ out (t) How do we calculate the output phase noise? 69

Phase Noise Calculation TDC-referred Noise S t q (ej2πft ) f t q [k] DCO-referred Noise S Φ n (f) -20 db/dec f Φ n (t) TDC noise - DT to CT calculation - Dominates PLL phase noise at low frequency offsets dbc/hz 2πN G(f) -G(f) f o f o Φ out (t) 2πNG(f) 2 T St q (ej2πft) - G(f) 2 S Φ n (f) DCO noise - CT to CT calculation - Dominates PLL phase noise at high frequency offsets f o f 70

Impact of PLL Bandwidth TDC-referred Noise S t q (ej2πft ) f t q [k] DCO-referred Noise S Φ n (f) -20 db/dec f Φ n (t) PLL bandwidth dramatically influences relative impact of TDC and VCO noise 2πN G(f) -G(f) f o f o Φ out (t) Want high PLL bandwidth? Need low TDC Noise Low PLL Bandwidth High PLL Bandwidth dbc/hz TDC Noise f o DCO Noise f dbc/hz DCO Noise f o TDC Noise f 7

System Level Design

Closed Loop PLL Design Approach Closed-Loop Performance Specifications {f o, type, order} Open-Loop Design Approach Open-Loop Characteristics A(f) A(f) {K,f p,f z,...} G(f) = A(f) = A(f) +A(f) G(f) -G(f) Closed-Loop Transfer Function G(f) Proposed Closed Loop Design Approach Classical open loop approach - Indirectly design G(f) using bode plots of A(f) Proposed closed loop approach - Directly design G(f) by examining impact of its specifications on phase noise (and settling time) - Solve for A(f) that will achieve desired G(f) Lau and Perrott, DAC, June 2003 Implemented in PLL Design Assistant Software http://www.cppsim.com 73

Transfer Function Design using PLL Design Assistant PLL Design Assistant assumes continuous-time open loop transfer function A calc (s): Above parameters are calculated based on the desired closed loop PLL bandwidth, type, and order of rolloff (which specify G(s)) For 00 khz bandwidth, type = 2, 2 nd order rolloff, we have: - K = 3.0x0 0 - w p = 2π(53 khz) - w z = 2π(0 khz) 74

Continuous-Time Approximation of Digital PLL Φ ref [k] T 2π t q [k] TDC Gain Δt del e[k] Loop Filter H(z) DT-CT T 2πK v s Φ n (t) Φ out (t) Φ div [k] N z=e st CT-DT T s=j2πf At low frequencies (i.e., st << ), we can use the first order term of a Taylor series expansion to approximate Resulting continuous-time approximation of open loop transfer function of digital PLL: 75

Applying PLL Design Assistant to Digital PLL Design Given the continuous-time approximation of A(s), we then leverage the PLL Design Assistant calculation: - Also note that: Given the above, we obtain: 76

Simplified Form for Digital Loop Filter (Type II PLL) From previous slide: Simplified form with type = 2 (assume order = 2) - Where: Note: T dco = T/N * * Typically implemented by gain normalization circuit 77

Summary of Loop Filter Design PLL Design Assistant allows fast loop filter design Assumption: Type = 2, 2 nd order rolloff - Where: * * implemented by gain normalization circuit PLL Design Assistant provides the values of K, w p = 2πf p, w z = 2πf z 78

Example Digital Loop Filter Calculation Assumptions - Ref freq (/T) = 50 MHz, Out freq = 3.6 GHz (so N = 72) - Δt del = 20 ps, K v = 2 khz/unit cap - 00 khz bandwidth, Type = 2, 2 nd order rolloff 79

Overall PLL Noise Analysis

Calculation of TDC Noise Spectrum: Delay Chain TDC div(t) Δt del Δt del Δt del D Q Reg D Q Reg D Q Reg e[k] time error[k] t q [k] TDC Gain Δt del e[k] Under the assumption that quantization error is uniformly distributed across time interval Δt del : Key issue: quantization error may not be white for this TDC! - Use behavioral simulations to get a more accurate view /f noise may have impact S t q (ej2πft ) /f noise 2 Δt del 2 thermal noise f 8

Calculation of TDC Noise Spectrum: GRO TDC Enable t raw [k] div(t) Δt del Δt del Digital Logic e[k] Δt del GRO achieves noise shaping: time error[k] t q [k] -z - z=e j2πft TDC Gain Δt del e[k] S t q (ej2πft ) -e j2πft 2 2 Δt del 2 /f and thermal noise limit noise performance at low frequency offsets /f noise thermal noise f 82

Example Calculation for Delay Chain TDC Ref freq = /T = 50 MHz, Out freq = 3.6 GHz S t q (ej2πft ) f t q [k] 2 Δt del 2 Inverter delay = Δt del = 20 ps f o 2πN G(f) S Φ out (f) tdc 2πNG(f) 2 Δt del T 2 f o f 2 Note: G(f) = at low offset frequencies 83

Calculation of Noise Spectrum: Switched Cap DCO Varactor Varactor Digital Control Phase noise - Same as for conventional VCO (tank Q, etc.) Quantization noise from dithering - Design to be less than VCO phase noise Quantization Noise in[k] M f q raw [k] H ntf (z) z=ej2πft c q[k] T c 2πK v s s=j2πf Phase Noise f Φ out (t) 84

Evaluate Phase Noise with 500 khz PLL Bandwidth Key PLL parameters: - G(f): 500 khz BW, Type II, 2 nd order rolloff - TDC noise: -94.7 dbc/hz - DCO noise: -53 dbc/hz at 20 MHz offset (3.6 GHz carrier) 85

Calculated Phase Noise Spectrum with 500 khz BW L(f) (dbc/hz) -60-70 -80-90 -00-0 -20-30 -40 Output Phase Noise of Synthesizer Overall PLL Phase Noise TDC Noise GSM Mask (Referenced to 3.6 GHz carrier) DCO Noise Detector Noise VCO Noise Total Noise -50-60 0 3 0 4 0 5 0 6 0 7 Frequency Offset (Hz) TDC noise too high for GSM mask with 500 khz PLL bandwidth 86

Change PLL Bandwidth to 00 khz Key PLL parameters: - G(f): 00 khz BW, Type = 2, 2 nd order rolloff - TDC noise: -94.7 dbc/hz - DCO noise: -53 dbc/hz at 20 MHz offset (3.6 GHz carrier) 87

Calculated Phase Noise Spectrum with 00 khz BW -60-70 Output Phase Noise of Synthesizer Detector Noise VCO Noise Total Noise L(f) (dbc/hz) -80-90 -00-0 -20-30 -40-50 Overall PLL Phase Noise TDC Noise DCO Noise GSM Mask (Referenced to 3.6 GHz carrier) -60 0 3 0 4 0 5 0 6 0 7 Frequency Offset (Hz) GSM mask is met with 00 khz PLL bandwidth 88

Digital Fractional-N Synthesis

A First Glance at Fractional-N Signals (F out = 4.25F ref ) N[k] out(t) div(t) e[k] 5 4 div(t) Time -to- Digital e[k] Digital Loop Filter Divider DCO out(t) N[k] Constant divide value of N = 4 leads to frequency error - Phase error accumulates in unbounded manner 90

TI Approach to Fractional Division out(t) div(t) e[k] cnt[k] 5 4 Re-time signal Time -to- Digital Reg Reg e[k] Phase Unwrap cnt[k] div(t) Reg Digital Loop Filter count reset DCO out(t) Staszewski et. al., TCAS II, Nov 2003 Wrap e[k] by feeding delay chain in TDC with out(t) Counter provides information of when wrapping occurs 9

Key Issues Re-time signal Time -to- Digital Reg Reg e[k] Phase Unwrap cnt[k] div(t) Reg Digital Loop Filter count reset DCO out(t) Counter, re-timing register, and delay stages of TDC must operate at very high speeds - Power consumption can be an issue Calibration of TDC scale factor required to achieve proper unwrapping of e[k] - Can be achieved continuously with relative ease See Staszewski et. al, JSSC, Dec 2005 92

Fractional-N Synthesizer Approach (F out = 4.25F ref ) N[k] out(t) div(t) e[k] 5 4 4.25 div(t) Time -to- Digital Accum e[k] N[k] Digital Loop Filter Divider DCO out(t) Accumulator guides the swallowing of VCO cycles - Average divide value of N = 4.25 is achieved in this case 93

The Accumulator as a Phase Observer Accumulator residue corresponds to an estimate of the instantaneous phase error of the PLL - Fractional value (i.e., 0.25) yields the slope of the residue Carry out signal is asserted when the phase error deviation (i.e. residue) exceeds one VCO cycle - Carry out signal accurately predicts when a VCO cycle should be swallowed div(t) Time -to- Digital e[k] Digital Loop Filter Divider DCO out(t) N.Frac = 4.25 Accum Carry Out Residue Carry Out Frac =0.25 94

Improve Dithering Using Sigma-Delta Modulation Provides improved noise performance over accumulator-based divide value dithering - Dramatic reduction of spurious noise - Noise shaping for improved in-band noise - Maintains bounded phase error signal Digital Σ Δ fractional-n synthesizer architecture is directly analogous to analog Σ Δ fractional-n synth. N sd [k] div(t) Time -to- Digital Σ Δ Modulator e[k] N[k] Digital Loop Filter Divider DCO out(t) Σ Δ Quantization Noise M.F f 95

Model of Digital Σ Δ Fractional-N PLL TDC Φ ref [k] Φ div [k] TDC-referred Noise S t q (ej2πft ) T 2π f t q [k] TDC Gain Δt del Divider Σ Δ Quantization Noise S q (e j2πft ) n[k] f e[k] N nom Loop Filter H(z) 2π z - -z - DCO z=e j2πft z=e j2πft DCO-referred S Φ n (f) Noise -20 db/dec DT-CT T CT-DT T 2πK v s f s=j2πf Φ n (t) Divider model is expanded to include the impact of divide value variations Φ out (t) 96

Transfer Function View of Digital Σ Δ Fractional-N PLL Σ Δ Quantization Noise S q (e j2πft ) n[k] 2π z - -z - dbc/hz TDC-referred Noise S t q (ej2πft ) f z=e j2πft T G(f) f o f o f t q [k] DCO-referred Noise S Φ n (f) -20 db/dec f Φ n (t) 2πN f nom G(f) -G(f) o f o T f Φ out (t) 2πN nom G(f) T 2 St q (ej2πft ) - G(f) 2 S Φ n (f) 2πT G(f) -e -j2πft 2 S q (e j2πft ) Σ Δ quantization noise now impacts the overall PLL phase noise - High PLL bandwidth will increase its impact Digital PLL implementation simplifies quantization noise cancellation 97

CppSim Behavioral Model of TI Digital Synthesizer Implements basic version of TI all-digital synthesizer with parameters we calculated in this tutorial 98

Comparing Behavioral Simulation to Calculations -60-70 Simulated Versus Calculated Phase Noise Detector Noise VCO Noise Total Noise L(f) (dbc/hz) -80-90 -00-0 -20 Overall Calculated PLL Phase Noise TDC Noise DCO Noise GSM Mask (Referenced to 3.6 GHz carrier) -30-40 Overall Simulated PLL Phase Noise -50-60 0 3 0 4 0 5 0 6 0 7 Frequency Offset (Hz) Calculations validated by simulation results! 99

Behavioral Simulation of a Digital Fractional-N PLL Check out the CppSim tutorial: - Design of a Low-Noise Wide-BW 3.6GHz Digital Σ Δ Fractional-N Frequency Synthesizer Using the PLL Design Assistant and CppSim http://www.cppsim.com 00

Summary of Digital Frequency Synthesizers Digital Phase-Locked Loops look extremely promising for future applications - Very amenable to future CMOS processes - Excellent performance can be achieved TDC structures are an exciting research area - Ideas from A-to-D conversion can be applied Analysis of digital PLLs is similar to analog PLLs - PLL bandwidth is often chosen for best noise performance TDC (or Ref) noise dominates at low frequency offsets DCO noise dominates at high frequency offsets Behavioral simulation tools such as CppSim allow architectural investigation and validation of calculations Innovation of future digital PLLs will involve joint circuit/algorithm development 0