Lecture 040 Digital Phase Lock Loops (DPLLs) (09/01/03) Page 040-1

Similar documents
( ) ( ) if t = t. It must satisfy the identity. So, bulkiness of the unit impulse (hyper)function is equal to 1. The defining characteristic is

EE 435 Lecture 42. Phased Locked Loops and VCOs

Topic Astable Circuits. Recall that an astable circuit has two unstable states;

Designing Information Devices and Systems I Spring 2019 Lecture Notes Note 17

Learning Objectives: Practice designing and simulating digital circuits including flip flops Experience state machine design procedure

L1, L2, N1 N2. + Vout. C out. Figure 2.1.1: Flyback converter

V L. DT s D T s t. Figure 1: Buck-boost converter: inductor current i(t) in the continuous conduction mode.

RC, RL and RLC circuits

U(t) (t) -U T 1. (t) (t)

Voltage/current relationship Stored Energy. RL / RC circuits Steady State / Transient response Natural / Step response

Phys1112: DC and RC circuits

Chapter 7 Response of First-order RL and RC Circuits

8. Basic RL and RC Circuits

HV513 8-Channel Serial to Parallel Converter with High Voltage Push-Pull Outputs, POL, Hi-Z, and Short Circuit Detect

( ) = Q 0. ( ) R = R dq. ( t) = I t

LAPLACE TRANSFORM AND TRANSFER FUNCTION

Lab 10: RC, RL, and RLC Circuits

More Digital Logic. t p output. Low-to-high and high-to-low transitions could have different t p. V in (t)

d 1 = c 1 b 2 - b 1 c 2 d 2 = c 1 b 3 - b 1 c 3

Pulse Generators. Any of the following calculations may be asked in the midterms/exam.

EE100 Lab 3 Experiment Guide: RC Circuits

LabQuest 24. Capacitors

Outline. Chapter 2: DC & Transient Response. Introduction to CMOS VLSI. DC Response. Transient Response Delay Estimation

h[n] is the impulse response of the discrete-time system:

555 Timer. Digital Electronics

Lecture 1 Overview. course mechanics. outline & topics. what is a linear dynamical system? why study linear systems? some examples

The problem with linear regulators

6.01: Introduction to EECS I Lecture 8 March 29, 2011

CHAPTER 12 DIRECT CURRENT CIRCUITS

i L = VT L (16.34) 918a i D v OUT i L v C V - S 1 FIGURE A switched power supply circuit with diode and a switch.

Introduction to AC Power, RMS RMS. ECE 2210 AC Power p1. Use RMS in power calculations. AC Power P =? DC Power P =. V I = R =. I 2 R. V p.

University of Cyprus Biomedical Imaging and Applied Optics. Appendix. DC Circuits Capacitors and Inductors AC Circuits Operational Amplifiers

EECE251. Circuit Analysis I. Set 4: Capacitors, Inductors, and First-Order Linear Circuits

Non Linear Op Amp Circuits.

Timer 555. Digital Electronics

Block Diagram of a DCS in 411

Chapter 2: Principles of steady-state converter analysis

Università degli Studi di Roma Tor Vergata Dipartimento di Ingegneria Elettronica. Analogue Electronics. Paolo Colantonio A.A.

Chapter 4 DC converter and DC switch

EE 301 Lab 2 Convolution

CHAPTER 2 Signals And Spectra

Basic Principles of Sinusoidal Oscillators

Sequential Logic. Digital Integrated Circuits A Design Perspective. Latch versus Register. Naming Conventions. Designing Sequential Logic Circuits

EE 435. Lecture 31. Absolute and Relative Accuracy DAC Design. The String DAC

Module 4: Time Response of discrete time systems Lecture Note 2

6.2 Transforms of Derivatives and Integrals.

non-linear oscillators

Chapter 8 The Complete Response of RL and RC Circuits

R.#W.#Erickson# Department#of#Electrical,#Computer,#and#Energy#Engineering# University#of#Colorado,#Boulder#

Signal and System (Chapter 3. Continuous-Time Systems)

2.4 Cuk converter example

Physical Limitations of Logic Gates Week 10a

Silicon Controlled Rectifiers UNIT-1

Cosmic Feb 06, 2007 by Raja Reddy P

Reading from Young & Freedman: For this topic, read sections 25.4 & 25.5, the introduction to chapter 26 and sections 26.1 to 26.2 & 26.4.

Homework-8(1) P8.3-1, 3, 8, 10, 17, 21, 24, 28,29 P8.4-1, 2, 5

6.003 Homework #9 Solutions

ES 250 Practice Final Exam

Unified Control Strategy Covering CCM and DCM for a Synchronous Buck Converter

CHAPTER 6: FIRST-ORDER CIRCUITS

3.1.3 INTRODUCTION TO DYNAMIC OPTIMIZATION: DISCRETE TIME PROBLEMS. A. The Hamiltonian and First-Order Conditions in a Finite Time Horizon

HW6: MRI Imaging Pulse Sequences (7 Problems for 100 pts)

V AK (t) I T (t) I TRM. V AK( full area) (t) t t 1 Axial turn-on. Switching losses for Phase Control and Bi- Directionally Controlled Thyristors

Some Basic Information about M-S-D Systems

Simulation-Solving Dynamic Models ABE 5646 Week 2, Spring 2010

INDEX. Transient analysis 1 Initial Conditions 1

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

Continuous Time. Time-Domain System Analysis. Impulse Response. Impulse Response. Impulse Response. Impulse Response. ( t) + b 0.

Basic Circuit Elements Professor J R Lucas November 2001

Embedded Systems and Software. A Simple Introduction to Embedded Control Systems (PID Control)

LAB 5: Computer Simulation of RLC Circuit Response using PSpice

EE3723 : Digital Communications

dv i= C. dt 1. Assuming the passive sign convention, (a) i = 0 (dc) (b) (220)( 9)(16.2) t t Engineering Circuit Analysis 8 th Edition

Dead-time Induced Oscillations in Inverter-fed Induction Motor Drives

Inductor Energy Storage

2.7. Some common engineering functions. Introduction. Prerequisites. Learning Outcomes

Chapter 5: Discontinuous conduction mode. Introduction to Discontinuous Conduction Mode (DCM)

Phase Noise in CMOS Differential LC Oscillators

6.003 Homework #9 Solutions

Lecture 13 RC/RL Circuits, Time Dependent Op Amp Circuits

SOLUTIONS TO ECE 3084

Delhi Noida Bhopal Hyderabad Jaipur Lucknow Indore Pune Bhubaneswar Kolkata Patna Web: Ph:

Two Coupled Oscillators / Normal Modes

ECE 2100 Circuit Analysis

IE1206 Embedded Electronics

Predator - Prey Model Trajectories and the nonlinear conservation law

Sub Module 2.6. Measurement of transient temperature

10. State Space Methods

6.003 Homework #13 Solutions

ADDITIONAL PROBLEMS (a) Find the Fourier transform of the half-cosine pulse shown in Fig. 2.40(a). Additional Problems 91

04. Kinetics of a second order reaction

ECE 2100 Circuit Analysis

Direct Current Circuits. February 19, 2014 Physics for Scientists & Engineers 2, Chapter 26 1

Section 2.2 Charge and Current 2.6 b) The current direction is designated as the direction of the movement of positive charges.

Electrical Circuits. 1. Circuit Laws. Tools Used in Lab 13 Series Circuits Damped Vibrations: Energy Van der Pol Circuit

Chapter 2. First Order Scalar Equations

Problem Set 5. Graduate Macro II, Spring 2017 The University of Notre Dame Professor Sims

CHE302 LECTURE VI DYNAMIC BEHAVIORS OF REPRESENTATIVE PROCESSES. Professor Dae Ryook Yang

KINEMATICS IN ONE DIMENSION

Chapter 1 Electric Circuit Variables

Transcription:

Lecure 040 Digial Phase Lock Loops (DPLLs) (09/01/03) Page 040-1 LECTURE 040 DIGITAL PHASE LOCK LOOPS (DPLLs) INTRODUCTION Inroducion Objecive: Undersand he operaing principles and classificaion of DPLLs. Organizaion: Sysems Perspecive Circuis Perspecive Types of PLLs and PLL Measuremens ;;;;; PLL Applicaions and Examples ;;;;; ;;;;;;;;; PLL Componens Technology ;;;;; Perspecive CMOS Technology Fig. 030901-01 Lecure 040 Digial Phase Lock Loops (DPLLs) (09/01/03) Page 040-2 Ouline Building Blocks of he DPLL Dynamic Performance of he DPLL Noise Performance of he DPLL DPLL Design Procedure DPLL Sysem Simulaion

Lecure 040 Digial Phase Lock Loops (DPLLs) (09/01/03) Page 040-3 BUILDING BLOCKS OF THE DPLL Block Diagram of he DPLL v 1, ω 1 Digial Analog v f v 2, ω 2 v 2 ', ω 2 ' Phase Lowpass VCO Deecor Filer N Couner (Opional) Fig. 2.2-01 The only digial block is he phase deecor and he remaining blocks are similar o he LPLL The divide by N couner is used in frequency synhesizer applicaions. ω 2 = ω 1 = ω 2 N ω 2 = N ω 1 Lecure 040 Digial Phase Lock Loops (DPLLs) (09/01/03) Page 040-4 DIGITAL PHASE DETECTORS Inroducion Key assumpion in digial phase deecors: v 1 () and v 2 () are square waves. This may require amplificaion and limiing. v in () v ou v in () V OH V OH V IH V IL V IL V IH v in V OL V OL Fig. 2.2-02 Types of digial phase deecors: 1.) EXOR gae 2.) The edge-riggered JK flip-flop 3.) The phase-frequency deecor

Lecure 040 Digial Phase Lock Loops (DPLLs) (09/01/03) Page 040-5 The EXOR Gae v 1 v 2 ' Zero Phase Error: G 1 Fig. 2.2-03 v 1 v 2 0 0 0 0 1 1 1 0 1 1 1 0 v 1 v 2 ' Posiive Phase Error: v 1 v 2 ' θ e >0 Fig. 2.2-04 Fig. 2.2-05 Lecure 040 Digial Phase Lock Loops (DPLLs) (09/01/03) Page 040-6 EXOR Gae Coninued Assume ha he average value of, is shifed o zero for zero phase error, θ e. can be ploed as, V OH -π π 2 - π 2 π θ e K d = V OH-V OL π V OL Fig. 2.2-06 If v 1 and v 2 are asymmerical (have differen duy cycles), hen becomes, v 1 v 2 ' V OH V OL Fig. 2.2-07 The effec of waveform asymmery is o reduce he loop gain of he DPLL and also resuls in a smaller lock range, pull-in range, ec. -π π 2 - π 2 π θ e

Lecure 040 Digial Phase Lock Loops (DPLLs) (09/01/03) Page 040-7 JK Flip-Flop The JK Flip-Flop is no sensiive o waveform asymmery because i is edge-riggered. Zero Phase Error (Assume rising edge riggered): v 1 v 2 ' J Q FF K Q Fig. 2.2-08 v 1 v 2 Q n+1 0 0 Q n 0 1 0 1 0 1 1 1 Q n Posiive Phase Error: v 1 v 2 ' v 1 Fig. 2.2-09 v 2 ' θ e >0 Fig. 2.2-10 Lecure 040 Digial Phase Lock Loops (DPLLs) (09/01/03) Page 040-8 JK Flip-Flop Phase Deecor Coninued Inpu-Oupu Characerisic: V OH -π π θ e K d = V OH-V OL 2π V OL Fig. 2.2-11 Commens: Symmery of v 1 and v 2 is unimporan Boh he EXOR and he JK flip-flop have a severely limied pull-in range if he loop filer does no have a pole a zero.

Lecure 040 Digial Phase Lock Loops (DPLLs) (09/01/03) Page 040-9 The Phase-Frequency Deecor (PFD) The PFD can deec boh he phase and frequency difference beween v 1 and v 2. Concepual diagram: PD LPF 1 V LPF1 V in ω in V ou ω ou Phase Feedback VCO Frequency Feedback FD LPF 2 V LPF2 The oupu signal of he PFD depends on he phase error in he locked sae and on he frequency error in he unlocked sae. Consequenly, he PFD will lock under any condiion, irrespecive of he ype of loop filer used. Lecure 040 Digial Phase Lock Loops (DPLLs) (09/01/03) Page 040-10 The PFD Coninued PFD implemenaion: V DD v 1 v 2 ' D FF A Clk R D R FF Clk B Q Q Q A Q B Dn Up Fig. 2.2-12 No AND Gae Wih AND Gae Q A Q B Q A Q B 0 0 1 0 Sae=+1 1 0 0 0 Sae = 0 0 1 0 1 Sae=-1 1 1 PFD Sae Diagram: Sae II B Sae 0 A Sae I B Q A = 0 Q B = 1 Q A = 0 Q B = 0 Q A = 1 Q B = 0 A A B Fig. 2.2-13 Unlike he EXOR gaes and he R-S laches, he PFD generaes wo oupus which are no complemenary.

Lecure 040 Digial Phase Lock Loops (DPLLs) (09/01/03) Page 040-11 Illusraion of a PFD PFD (ω A = ω B ): A B Q A PFD Q B (Rising edge riggered) Fig. 2.2-14 φ A >φ B : A φ A <φ B : A B B Q A Q A Q B Q B Time Time Fig. 2.2-15 Lecure 040 Digial Phase Lock Loops (DPLLs) (09/01/03) Page 040-12 Illusraion of he PFD- Coninued ω A <ω B : A ω A >ω B : A B B Q A Q A Q B Q B Time Time Fig. 2.2-16

Lecure 040 Digial Phase Lock Loops (DPLLs) (09/01/03) Page 040-13 PFD Coninued Plo of he PFD oupu versus phase error: V OH -4π -2π 2π 4π θ e Fig. 2.2-17 When θ e exceeds ±2π, he PFD behaves as if he phase error recycled a zero. K d = V OH-V OL 4π A plo of he averaged duy cycle of versus ω 1 /ω 2 (ω A /ω B ) in he unlocked sae of he DPLL: V OL Average Duy Cycle 1 0.5-0.5 0 1 2-1 Fracion of ime Q A =1 and Q B =0 (+1 sae) ω 1 /ω 2 ' Fracion of ime Q A =0 and Q B =1 (-1 sae) Fig. 2.2-18 Lecure 040 Digial Phase Lock Loops (DPLLs) (09/01/03) Page 040-14 CHARGE PUMPS Wha is a Charge Pump? A charge pump consiss of wo swiched curren sources conrolled by Q A and Q B which drive a capacior or a combinaion of a resisor and a capacior o form a filer for he PLL wih a pole a he origin. V DD A I 1 B A B PFD I 1 =I 2 =I Q A Q B X Y S 1 S 2 I 2 V ou C p Q A Q B V ou Q A and Q B are simulaneously high for he duraion given by he delay of he AND gae and he rese pah of he flip-flops. ω A > ω B or ω A = ω B bu θ A > θ B : S 1 is on and V ou increases. ω A < ω B or ω A = ω B bu θ A < θ B : S 2 is on and V ou decreases. Fig. 2.2-19

Lecure 040 Digial Phase Lock Loops (DPLLs) (09/01/03) Page 040-15 A Charge-Pump PLL Block diagram: V DD I 1 x() PFD Q A Q B S 1 S 2 C p VCO y() I 2 Fig. 2.2-20 The charge pump and capacior C p serve as he loop filer for he PLL. The charge pump can provide infinie gain for a saic phase shif. Lecure 040 Digial Phase Lock Loops (DPLLs) (09/01/03) Page 040-16 Sep Response of a Charge Pump PLL Assume ha he period of he inpu is T 1 and he charge pump provides a curren of ±I p o he capacior C p. A B Q A T 1 Deecor gain? V ou Slope = Since he seady-sae gain =, i is I p more meaningful o define K d as follows, Amoun of () increase per period (T 1 ) = I p θ e C p x 2π/T 1 = I p T 1 θ e 2πC p Average slope per period = I p T 1 θ e 2πC x 1 p T = I p θ e 1 2πC p I p () = Average Slope θ = 2πC p θ e µ() Taking he Laplace ransform gives, I p V d (s) = θ e 2πC p s s K d = Q B I p 2πC p C p T 1 I p T 1 θ e Increase/period = 2πC p Fig. 2.2-195 V rads θe

Lecure 040 Digial Phase Lock Loops (DPLLs) (09/01/03) Page 040-17 A Charge-Pump PLL Coninued Y(s) X(s) = V 2(s) V 1 (s) =? Y(s) = K o s V d(s) = K ok d s 2 [X(s) Y(s)] Y(s) X(s) = K o K d s 2 + K o K d which has poles a ±j K o K d. To avoid insabiliy, a zero mus be inroduced by he resisor in series wih C p. V d (s) = I 2π R+ 1 I sc = p s2πc (src p p +1) = K d s (sτ p +1) Y(s) = K o s V d (s) = K ok d s 2 (sτ p +1) [X(s) Y(s)] Y(s) 1 + K ok d s 2 (sτ p +1) = K ok d s 2 (sτ p +1)X(s) Y(s) X(s) = K o K d (sτ p +1) s 2 + K o K d τ p s + K o K d Equaing o he sandard second-order denominaor gives, ω n = K o K d and ζ = ω nτ p 2 V DD S1 S 2 I 1 I 2 V ou C p R Fig. 2.2-21 Lecure 040 Digial Phase Lock Loops (DPLLs) (09/01/03) Page 040-18 Nonideal Effecs of Charge-Pumps 1.) Dead zone. A dead zone occurs when Q A or Q B do no reach heir full logic levels. This is due o delay differences in he AND gae and he flipflops. I is easily removed by proper synchronizaion of he delays. Dead Zone θe 2.) Mismach beween I 1 and I 2. To eliminae he dead zone, Q A and Q B can be simulaneously high for a small ime. If I 1 I 2, he oupu varies even hough θ e = 0. (Can inroduce spurs.) A B Q A Fig. 2.2-22 Q B 3.) Charge injecion. When he S 1 and S 2 swiches urn off, hey can injec/remove charge from C p. Changes ω 2. V DD Fig. 2.2-23 4.) Charge sharing. If X V DD and Y = 0 when S 1 and S 2 are off, he VCO will experience a jump when S 1 or S 2 urns on. This periodic effec inroduces sidebands (spurs) a he oupu. C x C y I 1 X S 1 S 2 Y I 2 C p Fig. 2.2-24

Lecure 040 Digial Phase Lock Loops (DPLLs) (09/01/03) Page 040-19 DYNAMIC PERFORMANCE OF THE DPLL Types of PLLs Type I Open-loop ransfer funcion has one pole a he origin. Type II Open-loop ransfer funcion has wo poles a he origin. The above ransfer funcions may also have oher roos bu no a he origin. Model for he DPLL θ 1 (s) θ 2 '(s) PD K d LPF F(s) VCO K o s θ 2 (s) N Couner Opional Various configuraions of he DPLL: 1.) Phase deecor EXOR, J-K flip-flop, or PFD 2.) Filer Passive lag wih or wihou a charge pump Acive lag wih or wihou a charge pump Acive PI wih or wihou a charge pump 1 N Fig. 2.2-25 Lecure 040 Digial Phase Lock Loops (DPLLs) (09/01/03) Page 040-20 Loop Filers 1.) Passive lag- PD F(s) = 1 + sτ 2 1 + s(τ 1 + τ 2 ) PFD F(s) 1 + sτ 2 s(τ 1 + τ 2 ) Experimenal resuls using he PFD wih a passive lag filer show ha he gain of he passive filer is no consan. As a resul, he filer dynamics become nonlinear. 2.) Acive lag- 1 + sτ 2 PD F(s) = K a 1 + sτ 1 PFD F(s) 1 + sτ 2 sτ 1 3.) Acive PI- PD or PFD F(s) = 1 + sτ 2 sτ 1

Lecure 040 Digial Phase Lock Loops (DPLLs) (09/01/03) Page 040-21 The Hold Range, ω H The hold range, ω H, is he frequency range wihin which he PLL operaion is saically sable. The hold range for various ypes of DPLLs are: Type of PD EXOR EXOR EXOR JK-FF JK-FF JK-FF PFD Loop Filer Passive Lag Acive Lag Acive PI Passive Lag Acive Lag Acive PI All Filers ω H K o K d (π/2) ok d (π/2) K o K d π K o K d K a π N N N N Lecure 040 Digial Phase Lock Loops (DPLLs) (09/01/03) Page 040-22 The Lock Range, ω L The lock range is he offse beween ω 1 and ω 2 /N ha causes he DPLL o acquire lock wih one bea noe beween ω 1 and ω 2 = ω 2 /N. 1.) PD = EXOR 0.5K d π Recall ha ω L (LPLL) = 2ζω n and ω L Range of θ e = θ e -0.5K d π ω 2 ' Bu, θ e (EXOR)=0.5π θ e (LPLL) 2π/ ω ω L = 0.5π(2ζω n ) = πζω n ω 1 K d π ω o ω ω L = πζω n 2.) PD =JK-Flip flop θ e (EXOR) = π θ e (LPLL) ω L = π(2ζω n ) -K d π ω 2 ' ω 1 2π/ ω ω o ω L = 2πζω n 3.) PD = PFD θ e (PFD) = 2π θ e (LPLL) Fig. 2.2-27 ω L = 2π(2ζω n ) ω L = 4πζω n The lock ime for all cases is T p 2π/ω n. ω 2 '() ω 2 '() Fig. 2.2-26 ω

Lecure 040 Digial Phase Lock Loops (DPLLs) (09/01/03) Page 040-23 The Pull-In Range, ω p, and he Pull-In Time, T p The pull-in range, ω p, is he larges ω = ω 1 ω 2 for which an unlocked loop will lock. The pull-in ime, T p, is he ime required for he loop o lock. EXOR as he PD: Waveformsv d 0.5K d π -0.5K d π T 1 T 2 T = 2π/ ω Fig. 2.2-28 ω 2 ' ω() ω o T = 2π/ ω T 1 > T 2 because ω is smaller when is posiive and larger when is negaive. Resuls- Type of Filer ω p (Low loop gains) ω p (High loop gains) Pull-in Time, T p Passive Lag π 2 2ζω π nk o K d - ω 2 n 2 ζω nk o K 4 o 2 d π 2 ζω 3 n Acive Lag π 2 2ζω n K o K d - ω n 2 π K a 2 ζω nk o K 4 o 2 d π 2 ζω 3 n Acive PI 4 o 2 π 2 ζω 3 n ω 1 ω 2 ' Lecure 040 Digial Phase Lock Loops (DPLLs) (09/01/03) Page 040-24 The Pull-In Range, ω p, and he Pull-In Time, T p -Coninued JK Flip-Flop as he PD: Waveformsv d K d π -K d π T 1 T 2 T = 2π/ ω ω 2 ' ω o ω() T = 2π/ ω ω 1 ω 2 ' Fig. 2.2-29 T 1 > T 2 because ω is smaller when is posiive and larger when is negaive. Resuls- Type of Filer ω p (Low loop gains) ω p (High loop gains) Pull-in Time, T p Passive Lag π 2ζω n K o K d - ω 2 n π 2 ζω n K o K d 1 o 2 π 2 ζω 2 n Acive Lag π 2ζω n K o K d - ω n 2 π 2 ζω n K o K d 1 ω o 2 K a π 2 ζω 2 n Acive PI 4 ω o 2 π 2 ζω 2 n

Lecure 040 Digial Phase Lock Loops (DPLLs) (09/01/03) Page 040-25 ω p and T p for he PFD Assume ha he PFD uses a single power supply of V DD. The various waveforms are, v 1 V DD 0.5V DD v 2 ' 0 (eq.) V DD High Impedance Sae 0.5V DD (If he filer ime consan >> he duy cycle, his waveform simplifies he analysis.) 0 v f V DD 0.5V DD (eq.) is a 50% duy cycle model of he PFD o find T p. ω 1 T P ω Ko Fig. 2.2-30 Lecure 040 Digial Phase Lock Loops (DPLLs) (09/01/03) Page 040-26 ω p and T p for he PFD Coninued Since ω p =, le us find T p using he following model for he passive lag filer: + V R DD 1 +R 2 v 2 d C - PFD Filer 100% Duy Cycle + v f - V DD 2 PFD + - R 1 +R 2 2C Filer + v f - 50% Duy Cycle Fig. 2.2-31 Use he 50% duy cycle model, solve for he ime necessary o increase v f by ω/k o. 1.) Loop filer = Passive lag K o V DD /2 T p = 2(τ 1 +τ 2 ) ln K o V DD /2 - ω o 2.) Loop filer = Acive lag K o K a V DD /2 T p = 2τ 1 ln K o K a V DD /2 - ω o 3.) Loop filer = Acive PI T p = 2τ 1 ω o K o V DD /2 For spli power supplies, replace V DD wih (V OH -V OL ).

Lecure 040 Digial Phase Lock Loops (DPLLs) (09/01/03) Page 040-27 The Pull-Ou Range, ω po The pull-ou range is he size of he frequency sep applied o he reference inpu ha causes he PLL o lose phase racking. 1.) EXOR: ω po 2.46ω n (ζ + 0.65) for 0.1 < ζ < 3 2.) JK Flip-flop: ω po = πω n exp ζ 1-ζ 2 an-1 1-ζ 2 ζ, ζ < 1 ω po = πω n e, ζ = 1 ω po 5.78ω n (ζ + 0.5) for all ζ ω po = πω n exp ζ 1-ζ 2 anh-1 1-ζ 2 ζ,ζ > 1 3.) PFD: ω po = 2πω n exp ζ 1-ζ 2 an-1 1-ζ 2 ζ, ζ < 1 ω po = 2πω n e, ζ = 1 ω po 11.55ω n (ζ + 0.5) for all ζ ω po = 2πω n exp ζ 1-ζ 2 anh-1 1-ζ 2 ζ, ζ > 1 Lecure 040 Digial Phase Lock Loops (DPLLs) (09/01/03) Page 040-28 Example 1 A Simple CMOS PLL Consider he PLL shown. Assume ha: 1.) he phase deecor is a simple CMOS EXOR whose logic levels are ground and V DD = 5V, 2.) boh he inpu o he loop and he VCO oupu are square waves ha swing beween ground andv DD, and 3.) ha he VCO has a perfecly linear relaionship beween he conrol volage and oupu frequency of 10 MHz/V. The polariies are such ha an increase in conrol volage causes an increase in he VCO frequency. (a.) Derive he expression for he open-loop ransmission and he ransfer funcion θ ou (s)/θ in (s). (b.) Iniially assume R 2 = 0 and R 1 = 10kΩ. Wha value of C gives a loop crossover frequency of 100kHz? Wha is he phase margin. Assume he op amp is ideal. (c.) Wih he value of C from par (b.), wha value of R 2 will provide a phase margin of 45 while preserving a 100 khz crossover frequency. (d.) Now assume ha a frequency divider of facor N is insered ino he feedback pah. Wih he componen values of par (c.), wha is he larges value of N ha can be oleraed wihou shrinking he phase margin below 14? θ in EXOR PD R 1 V DD 2 R 2 - + C Par (d.) N VCO SU03E1P2 θ ou

Lecure 040 Digial Phase Lock Loops (DPLLs) (09/01/03) Page 040-29 Example 1 - Coninued Soluion (a.) θ ou (s) = K o s F(s)K d θ in (s) + θ ou(s) N = 5K o sπ F(s) θ in (s) + θ ou(s) N K d = 5V π and F(s) = - R 2+(1/sC) sr 1 C = - sr 2C+1 sr 1 C = - sτ 2+1 sτ 1, τ 1 = R 1 C and τ 2 = R 2 C θ ou (s) = - 5K o sτ sπ 2 +1 sτ 1 θ in (s) + θ ou(s) N θ ou (s) 1 + 5K o sτ 2 +1 sπn sτ 1 = 5K o sτ 2 +1 sπ sτ 1 θ in (s) 5K o πτ 1 (sτ 2 +1) θ ou (s) - θ in (s) = θ ou (s) - θ in (s) = s 2 + 5K o πn τ 2 τ 1 s + 5K o πnτ 1 5K o πτ 1 (sτ 2 +1) s2+ 5K o τ 2 πn τ 1 s + 5K and he loop gain = LG = - o πnτ 1 Assume N = 1 o ge he answer o par (a.). 5K o sτ 2 +1 snπ sτ 1 Lecure 040 Digial Phase Lock Loops (DPLLs) (09/01/03) Page 040-30 Example 1 - Coninued (b.) Wih R 2 = 0, τ 2 = 0 so ha he loop gain becomes, 5K o LG = - s 2 τ 1 Nπ = 5 2πx107 s 2 τ 1 π = 10 8 108 ω c 2τ = 1 τ 1 1 = (2π 10 5 ) 2 = 253.3µsec. τ 1 = R 1 C 253.3µsec. = 10kΩC C = 25.3nF The phase margin is 0. (c.) The phase margin is oally due o τ 2. I is wrien as, PM = an -1 (ω c τ 2 ) = 45 ω c τ 2 = 1 τ 2 = 1 1 ω c = 2πx10 5 = 1.5915µs = R 2 C 1 R 2 = 2πx10525.3x10-9 = 62.83Ω (d.) N does no influence he phase shif so we can wrie, an -1 (ω c τ 2 ) = 14 ω c τ 2 = 0.2493 ω c = 0.2493ω c = 156,657 rads/sec. Now he loop gain a ω c mus be uniy. LG = - N = 5K o ω c Nπ (ω c τ 2 ) 2 +1 ω 5K o c τ 1 = 1 N = (ω c )2πτ 1 (ω c τ 2 ) 2 +1 10 8 (156,657) 2 253.3x10-6 (0.2493) 2 +1 = 16.58 = 16

Lecure 040 Digial Phase Lock Loops (DPLLs) (09/01/03) Page 040-31 NOISE PERFORMANCE OF THE DPLL Combinaion of Noise and Informaion In he LPLL, he noise and informaion signals are added because of he linear muliplier PD. The noise supression of DPLL s is generally beer han LPLL s bu no heory of noise exiss for he DPLL. The following pages provide some insigh ino he noise performance of he DPLL. Lecure 040 Digial Phase Lock Loops (DPLLs) (09/01/03) Page 040-32 Noise Performance of a DPLL wih an EXOR PD θ j v 1 v 1j v 2 ' 100% 50% 0% θ j θ j θ j θ j θ j θ j Phase noise a a given inband frequency Ideal Inpu Inpu wih phase noise superimposed (phase jier) Deecor Oupu is proporional o he phase noise. LPLL noise heory DPLL noise heory. Fig. 2.2-32

Lecure 040 Digial Phase Lock Loops (DPLLs) (09/01/03) Page 040-33 Phase Noise in a Communicaion Signal Consider he following simple noise model- Noiseless binary informaion signal: v 1 Above signal afer ransmission hrough a bandlimied sysem: v 1b Superposiion of noise: v 1n Reshaped signal: v ;;; 1r Phase Jier ;;;;;; V upper V lower Fig. 2.2-33 Lecure 040 Digial Phase Lock Loops (DPLLs) (09/01/03) Page 040-34 Inpu Signal-o-Noise Raio The inpu signal noise raio of a pulse wih phase jier is defined as, 1 SNR i = 2 θ 2 n1 where θ 2 n1 W2 36 where, v 1 W

Lecure 040 Digial Phase Lock Loops (DPLLs) (09/01/03) Page 040-35 Phase Noise in a DPLL wih a JK Flip-Flop and a PFD The basic difference is ha he JK Flip-flop and PFD are edge-riggered. When he inpu signal fades (v 1 0), he reshaped signal can sick a a disinc logic level. Conclusion: The noise suppression of he DPLL is abou he same for all phase deecors as long as none of he edges of he reference ge los by fading. If fading occurs, he EXOR offers beer noise performance. Summary of DPLL Noise Performance: P s = inpu signal power P n = inpu noise power B i = inpu noise bandwidh B L = noise bandwidh ω n 2 ζ + 1 4ζ SNR i = SNR of he inpu signal = P s P n SNR L = SNR of he loop = SNR i B i 2B L Lecure 040 Digial Phase Lock Loops (DPLLs) (09/01/03) Page 040-36 DPLL DESIGN PROCEDURE Design Procedure Objecive: Design K o, K d, ζ, and F(s) Given: Phase deecor and VCO Seps: 1.) Specify f 1 (min), f 1 (max), f 2 (min), and f 2 (max). 2.) Design N unless oherwise specified. Given: ω n (min) < ω n < ω n (max) and ζ min < ζ < ζ max For hese ranges we ge approximaely, ω n (max) ω n (min) = N max N min and ζ max ζ min = N max N min N = N mean = N max N min 3.) Deermine ζ. Typically, ζ 0.7. 4.) If noise is of concern, coninue wih he nex sep, oherwise go o sep 12. 5.) If here are missing edges in he inpu signal (fading), go o sep 6, oherwise go o sep 7. 6.) Choose an EXOR phase deecor. Coninue wih sep 8. K d = V OH-V OL π

Lecure 040 Digial Phase Lock Loops (DPLLs) (09/01/03) Page 040-37 Design Procedure Coninued 7.) Choose he JK Flip-flop or PFD as he phase deecor. K d = V OH-V OL 2π (JK flip-flop) K d = V OH-V OL 4π (PFD) 8.) Specify B L. B L should be chosen so ha SNR i B i 2B L 4 θ n1 2 SNR i and B i B L If N changes, his can creae a problem because B L = ω n 2 ζ + 1 4ζ and boh ω n and ζ vary wih N. Need o check ha B L (min) is large enough. If B L is oo small, hen N should be increased. Lecure 040 Digial Phase Lock Loops (DPLLs) (09/01/03) Page 040-38 Design Procedure Coninued 9.) Find K o. K o = ω 2(max)-ω 2 (min) v f (max)-v f (min) 10.) Find ω n given B L and ζ. ω n = 8B Lζ 1+4ζ If N is variable, use B L and ζ correspondingly o N = N mean. 11.) Specify he loop filer. Given ω n, ζ, K o, K d, and N find τ 1, τ 2, and K a (K a >1). Go o sep 19. 12.) Coninued from sep 4. Choose he PFD 13.) Find K o. K o = ω 2(max)-ω 2 (min) v f (max)-v f (min) K d = V OH-V OL 4π

Lecure 040 Digial Phase Lock Loops (DPLLs) (09/01/03) Page 040-39 Design Procedure Coninued 14.) Specify he ype of loop filer. Use he passive lag filer as he ohers offer no benefis. 15.) Deermine ω n. a.) Fas swiching (T p ). Go o sep 16. b.) DPLL does no lock ou when swiching from N o f ref o (N o +1) f ref. ω po <f ref. Go o sep 20. c.) Neiher he pull-in ime nor he pull-ou range are criical. Go o sep 21. 16.) Given he maximum T p allowed for he larges frequency sep, solve for τ 1 or τ 1 +τ 2. 17.) Find ω n. Loop filer is passive: ω n = Acive lag filer: ω n = Acive PI filer: ω n = K o K d N(τ 1 +τ 2 ) K o K d K a Nτ 1 K o K d Nτ 1 Lecure 040 Digial Phase Lock Loops (DPLLs) (09/01/03) Page 040-40 Design Procedure Coninued 18.) Given ω n and ζ, find τ 2. τ 2 = 2ζ ω n If he sysem canno be realized (negaive values of τ 1 or τ 2 ), modify ω n and ζ appropriaely. 19.) Given τ 1 and τ 2 (and K a ), deermine he filer componens. 20.) Given ω po and ζ, find ω n. ω po ω n 11.55(ζ+0.5) 21.) Given T L, find ω n from ω n 2π/T L. 22.) Given ω n, find τ 1 and τ 1 +τ 2. Passive lag filer: τ 1 +τ 2 = K ok d Nω 2 n Acive lag filer: τ 1 = K ok d K a Nω 2 n Acive PI filer: τ 1 = K ok d Nω 2 n Go o sep 18.).

Lecure 040 Digial Phase Lock Loops (DPLLs) (09/01/03) Page 040-41 Flowchar of he DPLL Design Procedure Yes Use EXOR Yes Are here missing edges? Specify he noise bandwidh, B L Design he VCO Use B L and ζ o find ω n Specify he range of f 1 and f 2 Deermine N or range of N Deermine ζ or range of ζ No Is Noise Suppression Required? No Choose he PFD, design he VCO and he loop filer Use PFD TP Given T P, ω po, or T L ω T po L Use T P o find τ 1 or τ 1 +τ 2 Use ω po and ζ o find ω n Use T L o find ω n Esimae ω n from τ 1 Use ωn and ζ o find τ1 Selec he loop filer and deermine τ 1, τ 2, (K a ) Use ω n and ζ o find τ 2 Calculae he loop filer values Fig. 2.2-37 Lecure 040 Digial Phase Lock Loops (DPLLs) (09/01/03) Page 040-42 Design Example A Frequency Synhesizer Using he 74HC/HCT4076 Design a DPLL frequency synhesizer using he CMOS 74HC/HCT4076 PLL. The frequency syhesizer should be able o produce a se of frequencies in he range of 1MHz o 2MHz wih a channel spacing of 10kHz. Use a PFD and a passive lag-lead filer. Design: 1.) Deermine he ranges of he inpu and oupu frequencies. f 1 is consan a 10kHz. f 2 (min) = 1MHz and f 2 (max) = 2MHz 2.) Choose N. N max = 2MHz 10kHz = 200 and N min = 1MHz 10kHz = 100 N mean = N max N min = 141 3.) Find ζ. Sar by choosing ζ = 0.7 and find ζ max and ζ min. ζ max ζ max = N max N min = 2 and ζ = ζ max ζ min = 0.7 ζ 2 min 2 =0.49 ζ min = 0.59 and ζ max = 0.59 2 = 0.83 0.59 < ζ < 0.83 which is consisen wih our choice of ζ. 4.) Selec he PFD as he phase deecor. For he 74HC/HCT4076, V OH = 5V and V OL =0V. This gives a K d = 5V/4π = 0.4 V/rad.

Lecure 040 Digial Phase Lock Loops (DPLLs) (09/01/03) Page 040-43 Design Example Coninued 5.) According o he daa shee of he f 2 (MHz) 74HC4046A, he VCO operaes linearly in he volage range of v f = 1.1V o 3.9V as shown. 2 K o = 2x106 x2π 3.9-1.1 = 2.2x106 rads/v sec 1 The daa shee also requires calculaion of 1.1V 3.9V wo resisors, R 1 and R 2, and a capacior, C 1. Using he graphs from he daa shee gives, R 1 = 47kΩ, R 2 = 130kΩ, and C 1 = 100pF. 6.) Assume he loop should lock wih 1ms. 0 1 2 3 4 5 T L = 1ms ω n = 2π/T L = 6280 rads/sec. 7.) Using a passive loop filer we ge, τ 1 +τ 2 = K ok d Nω 2 = 2.2x106 0.4 n 141 6280 2 = 161µs 8.) τ 2 = 2ζ ω n = 2 0.7 6280 = 223µs!!! (The problem is ha τ 1+τ 2 is oo small) Go back and choose T L = 2ms ω n = 2π/T L = 3140 rads/sec. τ 1 +τ 2 = K ok d Nω 2 = 2.2x106 0.4 n 141 3140 2 = 633µs and τ 2 = 2ζ ω n = 2 0.7 3140 = 446µs τ 1 = 187µs v f (V) Fig. 2.2-35 Lecure 040 Digial Phase Lock Loops (DPLLs) (09/01/03) Page 040-44 Design Problem Coninued 9.) Design he loop filer. For opimum sideband supression, C should be large. Choose C = 0.33µF. R 1 = τ 1 C = 187x10-6 0.33x10-6 = 567Ω and R 2 = τ 2 C = 446x10-6 0.33x10-6 = 1.351Ω The daa shee requires ha R 1 +R 2 470Ω which is saisfied. Block diagram of he DPLL frequency synhesizer design of his example: C 1 =100pF v 1 (10kHz) SIGin COMPin v 2 ' PC1 (EXOR) 74HC4046A C1A C1B Daa N P0 P7 PE PC2 (PFD) PCP ou VCO VCOou CP 74HC40102 (40103) TC v 2 ' PC3 (JK) TE PL MR PC2 ou VCOin R1 R2 R 1 =567Ω R 2 =1.35kΩ R 1 = 47kΩ R 2 = 130kΩ +5V C = 0.33µF Fig. 2.2-36

Lecure 040 Digial Phase Lock Loops (DPLLs) (09/01/03) Page 040-45 Simulaion of he DPLL Example The block diagram of his example is shown below. θ 1 (s) θ 2 '(s) PD K d LPF F(s) VCO K o s θ 2 (s) N Couner Opional The PFD-charge pump combinaion can be approximaed as K d (1+sτ 2 ) K d F(s) = s(τ 1 +τ 2 ) Therefore, he loop gain becames LG(s) = K ok d (1+sτ 2 ) s 2 (τ 1 +τ 2 ) = K v (1+sτ 2 ) (s+ε) 2 (τ 1 +τ 2 ) 1 N Fig. 2.2-25 (he facor ε is used for simulaion purposes) For his problem, K d = 0.4V/rad., K o = 2.2x10 6, τ 2 = 446µs, and τ 2 +τ 2 = 633µs. Also choose ε = 0.01. R.E. Bes, Phase-Locked Loops Design, Simulaion, and Applicaions, 4 h Ed., McGraw-Hill, NY, p. 103 Lecure 040 Digial Phase Lock Loops (DPLLs) (09/01/03) Page 040-46 Simulaion of he DPLL Example Coninued PSPICE Inpu File DPLL Design Problem-Open Loop Response - Bes VS 1 0 AC 1.0 R1 1 0 10K * Loop bandwidh = Kv =8.8x10E5 sec.-1 Tau1=187E-6 Tau2=446E-6 N=141 ELPLL 2 0 LAPLACE {V(1)}= {8.8E+6/(S+0.01)/141*(0.446E-3*S+1)/(S+0.01)/0.633E-3} R2 2 0 10K *Seady sae AC analysis.ac DEC 20 10 100K.PRINT AC VDB(2) VP(2).PROBE.END 100 Simulaion Resuls: 80 Noe ha he phase is very close o 0 and LG >>1 a low frequencies which is ypical of ype II sysems. db or Degrees 60 40 LG Phase 20 Phase LG 0 Margin 84-20 ω c -40 10 100 1000 10 4 10 5 Frequency (Hz)

Lecure 040 Digial Phase Lock Loops (DPLLs) (09/01/03) Page 040-47 DPLL SYSTEM SIMULATION Examples of Case Sudies using he Bes Sofware PLL Parameers- Supply volages: Posiive supply = 5V Negaive supply = -5V Phase deecor: V + sa = 4.5V V - sa = 0.5V Loop filer: τ 1 = 500µs τ 2 = 50µs Oscillaor: K o = 130,000 rads/v sec V + sa = 4.5V V - sa = 0.5V The simulaion program will be used o verify he following calculaed values: ω n = 17,347 rads/sec. ζ = 0.486 f po = 7719 Hz f p = 13,192 Hz Roland E. Bes, Phase-Locked Loops Design, Simulaion, and Applicaions, 4 h ed., McGraw-Hill Book Co., 1999, New York, NY Lecure 040 Digial Phase Lock Loops (DPLLs) (09/01/03) Page 040-48 Case 1 Sysem Benchmark (mv) v f (µs)

Lecure 040 Digial Phase Lock Loops (DPLLs) (09/01/03) Page 040-49 Case 2 - f = 8000Hz (V) Phase error 90 v f Lecure 040 Digial Phase Lock Loops (DPLLs) (09/01/03) Page 040-50 Case 3 Loop Jus Locks Ou v f vf (V) vd Loop pulls ou

Lecure 040 Digial Phase Lock Loops (DPLLs) (09/01/03) Page 040-51 Case 4 Pull-In Range Verificaion 4.5 v f 4.0 3.5 3.0 (V) 2.5 2.0 1.5 1.0 0.5 Loop will no pull back in for df > 14,200 Hz Lecure 040 Digial Phase Lock Loops (DPLLs) (09/01/03) Page 040-52 Case 5 PFD and Illusraion of a Virually Infinie Pull-In Range f p = ±40kHz f = 35 khz o avoid clipping of v f. v f (V) T p 1.5ms

Lecure 040 Digial Phase Lock Loops (DPLLs) (09/01/03) Page 040-53 Case 6 EXOR wih Acive PI Filer 4.5 4.0 3.5 v f (V) 3.0 2.5 2.0 1.5 1.0 0.5 T p 5ms Lecure 040 Digial Phase Lock Loops (DPLLs) (09/01/03) Page 040-54 SUMMARY The DPLL has a digial phase deecor and he remainder of he blocks are analog Digial phase deecors - EXOR Gae - JK Flip-Flop - Phase-Frequency Deecor Charge pump a filer implemenaion using currens sources and a capacior ha works wih he PFD Charge pumps implemen a pole a he origin o resul in zero phase error The DPLL is much more compaible wih IC echnology and is he primary form of PLL used for frequency synhesizers