Notes on DPLL. Haiyun Tang Most of material is derived from Chistian s report[4]

Similar documents
ECEN 605 LINEAR SYSTEMS. Lecture 20 Characteristics of Feedback Control Systems II Feedback and Stability 1/27

Time Response Analysis (Part II)

MAE143 B - Linear Control - Spring 2017 Final, June 15th

LECTURE 3 CMOS PHASE LOCKED LOOPS

EEE 184: Introduction to feedback systems

26 Feedback Example: The Inverted Pendulum

Dynamic circuits: Frequency domain analysis

Time Response of Systems

Laplace Transform Analysis of Signals and Systems

6.1 Sketch the z-domain root locus and find the critical gain for the following systems K., the closed-loop characteristic equation is K + z 0.

Automatic Control Systems (FCS) Lecture- 8 Steady State Error

Digital Communications

Parameter Derivation of Type-2 Discrete-Time Phase-Locked Loops Containing Feedback Delays

Digital Control Systems

Problem Set 3: Solution Due on Mon. 7 th Oct. in class. Fall 2013

(b) A unity feedback system is characterized by the transfer function. Design a suitable compensator to meet the following specifications:

Control System. Contents

Transient Response of a Second-Order System

6.003 Homework #6 Solutions

EE Experiment 11 The Laplace Transform and Control System Characteristics

Lecture 4 Classical Control Overview II. Dr. Radhakant Padhi Asst. Professor Dept. of Aerospace Engineering Indian Institute of Science - Bangalore

Module 3F2: Systems and Control EXAMPLES PAPER 2 ROOT-LOCUS. Solutions

FEEDBACK CONTROL SYSTEMS

Radar Dish. Armature controlled dc motor. Inside. θ r input. Outside. θ D output. θ m. Gearbox. Control Transmitter. Control. θ D.

Fundamentals of PLLs (III)

Fundamental of Control Systems Steady State Error Lecturer: Dr. Wahidin Wahab M.Sc. Aries Subiantoro, ST. MSc.

SAMPLE EXAMINATION PAPER (with numerical answers)

Linear Control Systems Solution to Assignment #1

Problem Value Score Total 100/105

DESIGN USING TRANSFORMATION TECHNIQUE CLASSICAL METHOD

Control for. Maarten Steinbuch Dept. Mechanical Engineering Control Systems Technology Group TU/e

Analysis and Design of Control Systems in the Time Domain

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

GATE EE Topic wise Questions SIGNALS & SYSTEMS

Raktim Bhattacharya. . AERO 422: Active Controls for Aerospace Vehicles. Basic Feedback Analysis & Design

Raktim Bhattacharya. . AERO 422: Active Controls for Aerospace Vehicles. Dynamic Response

Control System Design

MAS107 Control Theory Exam Solutions 2008

Systems Analysis and Control

2.161 Signal Processing: Continuous and Discrete Fall 2008

Alireza Mousavi Brunel University

Digital Control & Digital Filters. Lectures 13 & 14

MATHEMATICS FOR ENGINEERING TRIGONOMETRY TUTORIAL 3 PERIODIC FUNCTIONS

Control System (ECE411) Lectures 13 & 14

Introduction & Laplace Transforms Lectures 1 & 2

Software Engineering 3DX3. Slides 8: Root Locus Techniques

Notes for ECE-320. Winter by R. Throne

Some special cases

A system that is both linear and time-invariant is called linear time-invariant (LTI).

GEORGIA INSTITUTE OF TECHNOLOGY SCHOOL of ELECTRICAL & COMPUTER ENGINEERING FINAL EXAM. COURSE: ECE 3084A (Prof. Michaels)

EE402 - Discrete Time Systems Spring Lecture 10

GEORGIA INSTITUTE OF TECHNOLOGY SCHOOL of ELECTRICAL & COMPUTER ENGINEERING FINAL EXAM. COURSE: ECE 3084A (Prof. Michaels)


Solutions for homework 5

Control of Manufacturing Processes

Controls Problems for Qualifying Exam - Spring 2014

Systems Analysis and Control

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

Control of Electromechanical Systems

Test 2 SOLUTIONS. ENGI 5821: Control Systems I. March 15, 2010

Systems Analysis and Control

ROOT LOCUS. Consider the system. Root locus presents the poles of the closed-loop system when the gain K changes from 0 to. H(s) H ( s) = ( s)

Collocated versus non-collocated control [H04Q7]

A conjecture on sustained oscillations for a closed-loop heat equation

Control Systems I. Lecture 6: Poles and Zeros. Readings: Emilio Frazzoli. Institute for Dynamic Systems and Control D-MAVT ETH Zürich

Performance of Feedback Control Systems

Prüfung Regelungstechnik I (Control Systems I) Übersetzungshilfe / Translation aid (English) To be returned at the end of the exam!

Stability. X(s) Y(s) = (s + 2) 2 (s 2) System has 2 poles: points where Y(s) -> at s = +2 and s = -2. Y(s) 8X(s) G 1 G 2

KINGS COLLEGE OF ENGINEERING DEPARTMENT OF ELECTRONICS AND COMMUNICATION ENGINEERING

Discrete Systems. Step response and pole locations. Mark Cannon. Hilary Term Lecture

Systems Analysis and Control

DATA receivers for digital transmission and storage systems

100 (s + 10) (s + 100) e 0.5s. s 100 (s + 10) (s + 100). G(s) =

Übersetzungshilfe / Translation aid (English) To be returned at the end of the exam!

Digital Signal Processing

agree w/input bond => + sign disagree w/input bond => - sign

Unit 2: Modeling in the Frequency Domain Part 2: The Laplace Transform. The Laplace Transform. The need for Laplace

CMPT 889: Lecture 2 Sinusoids, Complex Exponentials, Spectrum Representation

Lecture 12. AO Control Theory

ME 375 Final Examination Thursday, May 7, 2015 SOLUTION

Module 6: Deadbeat Response Design Lecture Note 1

INTRODUCTION TO DIGITAL CONTROL

ME scope Application Note 28

Behavior of Phase-Locked Loops

Some of the different forms of a signal, obtained by transformations, are shown in the figure. jwt e z. jwt z e

Dr Ian R. Manchester Dr Ian R. Manchester AMME 3500 : Review

Module 4. Related web links and videos. 1. FT and ZT

EEE582 Homework Problems

Numerics and Control of PDEs Lecture 7. IFCAM IISc Bangalore. Feedback stabilization of a 1D nonlinear model

Q. 1 Q. 25 carry one mark each.

Course roadmap. Step response for 2nd-order system. Step response for 2nd-order system

Spontaneous Speed Reversals in Stepper Motors

STABILITY. Have looked at modeling dynamic systems using differential equations. and used the Laplace transform to help find step and impulse

20. The pole diagram and the Laplace transform

The Laplace Transform

Exercise 1 (A Non-minimum Phase System)

MCE693/793: Analysis and Control of Nonlinear Systems

Homework 7 - Solutions

An Introduction to Control Systems

Control Systems. University Questions

Transcription:

Notes on DPLL Haiyun Tang tangh@eecs.berkeley.edu Most of material is derived from Chistian s report[4] 1

Input Signal x(t) Phase Detector Error Signal e(t) Loop Filter L(s) Control Signal c(t) VCO Output Signal y(t) Output Signal y(t) Feedback Figure 1: Structure of a PLL. 1 Digital Phase Locked Loop (DPLL) 1.1 Continuous-time Phase Locked Loop Figure 1 shows the general structure of a Phase Locked Loop (PLL)[1]. A generic PLL consists of a phase detector, a loop lter, and a voltage-controlled oscillator (VCO). The phase detector produces the error signal that measures the difference between the input and output of the PLL. The loop lter averages the error and generates the control signal to the VCO to produce the output signal. Usually the input and output signals of the PLL are sinusoids with input x(t) =A x cos[πf c t + φ(t)] and output [ y(t) =A y sin πf c t + ˆφ(t) ] After an ideal phase detector, the output error signal is e(t) =φ(t) ˆφ(t) The loop lter is characterized in s-domain (Laplace transform) as C(s) =L(s)E(s) where E(s) corresponds to the error signal e(t), L(s) is the transfer function of the loop lter, and C(s) corresponds to the control signal c(t). The VCO is basically a sinusoidal signal generator with an instantaneous carrier phase given by t πf c t + ˆφ(t) =πf c t + c(τ)dτ Notice we assume the VCO gain is unity here. Any VCO gain will be lumped into the loop lter gain. Taking the derivative of the above we have d ˆφ(t) dt = c(t) or equivalently in s-domain sˆφ(s) =C(s)

where on the LHS, we assumed ˆφ(0) = 0. The loop transfer function is then [ H(s) = ˆΦ(s) Φ(s) = (1/s)C(s) (1/s)L(s) Φ(s) ˆΦ(s) ] = = L(s) [1 H(s)] Φ(s) Φ(s) s Solving the above, we have H(s) = L(s)/s 1+L(s)/s = L(s) s + L(s) A rst-order PLL is characterized by the loop lter of the form and the transfer function becomes If we choose the loop lter of the form L(s) =K H(s) = K s + K the transfer function becomes L(s) =K s + K 1 s + K Ks + KK 1 H(s) = s +(K + K )s + KK 1 which is a second-order PLL. It is customary to express the denominator of H(s) in the form[] s +ηω n s + ω n where η is called the loop damping factor and ω n is called the natural frequency of the loop. It is clear that ω n = KK 1 the loop transfer function becomes η = K + K KK 1 Ks + ωn H(s) = s +ηω n s + ωn When K =0, we have a special second-order PLL with the loop lter and transfer function L(s) =K s + K 1 s (1) H(s) = Ks + KK 1 s + Ks + KK 1 = ηω ns + ωn s +ηω n s + ωn ()

Input Signal f k) Error Signal e(k) Loop Filter L(z) Control Signal c(k) VCO Output Signal f'(k) -f'(k) Figure : General structure of a DPLL. and the natural frequency and damping factor are ω n = KK 1 K η = 1 respectively. It is often useful to know the steady-state operating point of PLL. The steady-state phase error is de ned to be e ss = lim e(t) t Using the nal value thereom of Laplace transform, we have s Φ(s) e ss = lim se(s) = lim sφ(s)[1 H(s)] = lim s 0 s 0 s 0 s + L(s) 1. General structure of DPLL Figure shows the structure of a Digital Phase Locked Loop. The phase detector is a simple substractor. The error signal is K 1 e(k) =φ(k) ˆφ(k) or in z-domain E(z) =Φ(z) ˆΦ(z) Analogous to the differential equation for the VCO in the continuous PLL, we write the difference equation ˆφ(k +1) ˆφ(k) =c(k) for the VCO in the DPLL. In z-domain, the above becomes [ (z 1)ˆΦ(z) =C(z) =L(z)E(z) =L(z) Φ(z) ˆΦ(z) ] which can be reorganized to give the transfer function L(z) H(z) = L(z)+z 1 The steady state error is calculated as (z 1) Φ(z) e ss = lim e(k) = lim(z 1)E(z) = lim k z 1 z 1 L(z)+z 1 (3) 3

1.3 First-order DPLL For the rst-order DPLL, the transfer function becomes H(z) = L(z) =K K K + z 1 The rst-order DPLL is not quite suited for correcting the phase error caused by residual frequency offset as discussed in Section??. For example, if we assume the input sequence is of the form φ(n) =ɛ 0 n i.e. a residual frequency offset causing linear phase increment. To nd out the z- transform of the sequence, we notice that the above sequence is expressed by the difference equation φ(k +1) φ(k) =ɛ 0 k 0 and φ(k) =0 k 0 The z-transform of the RHS of the difference equation is ɛ 0 n=0 1 z n = ɛ z 0 z 1 Performing z-transform on both sides of the difference equation yields z zφ(z) Φ(z) =ɛ 0 z 1 and thus the z-transform of the input sequence φ(n) is z Φ(z) =ɛ 0 (z 1) Substituting the sequence z-domain expression into the DPLL steady state error expression (3), we have z (z 1) (z 1) ɛ 0 e ss = lim z 1 K + z 1 = ɛ 0 K The steady state error is non-zero but it can be reduced by increasing the loop gain K. 4

C1 1/Z 1/Z C VCO Loop Filter Figure 3: Second-order DPLL loop filter and VCO. 1.4Second-order DPLL 1.4.1 Second-order DPLL structure Noticing the discrete domain equivalent of s is z 1, we can construct a special secondorder DPLL similar to the PLL discussed before, whose loop lter is, similar to (1), L(z) =K (z 1) + K 1 (z 1) and whose transfer function is, similar to (), K(z 1) + KK 1 H(z) = (z 1) + K(z 1) + KK 1 The lter parameters can be matched with those used in [3] through { K = C K 1 = C 1 /C and the transfer function becomes i.e. { C1 = KK 1 C = K C (z 1) + C 1 H(z) = (z 1) (4) + C (z 1) + C 1 Figure 3 shows the block diagram of the second-order DPLL. Now if the input is φ(n) =ɛ 0 n the steady state error is (z 1) ɛ 0 (z 1) e ss = lim ( ) z 1 K 1+ 1 +(z 1) z 1 K 1 z = lim z 1 ɛ 0 z(z 1) (z 1) + K(z 1) + KK 1 =0 To express the DPLL in term natural frequency ω n and damping factor η, we de ne { C1 = ωn ω n = C 1 i.e. C =ηω n η = C (5) C 1 5

Notice here we require C 1 to be positive which as discussed later is a prerequisite for a stable DPLL. With the de nition, we can express the DPLL transfer function as ηω n (z 1) + ωn H(z) = (z 1) +ηω n (z 1) + ωn 1.4. Second-order DPLL stable condition To have a stable DPLL, all its poles must reside in the unit circle. The poles can be found by solving the equation in the denominator of H(z), yielding the soluation of the form When (z 1) + C (z 1) + C 1 =0 z =1+ C ± C 4C 1 the solution is real and we require C 4 >C 1 = C ± C 4C 1 1 < C ± C 4C 1 < 1 Noticing that we only need to make the bigger pole to be less 1 and the smaller pole to be bigger than 1, the above inequality is reduced to C + C 4C1 < 1 C C 4C1 > 1 From the rst of the two inequalities, we nd 0 < C 4C 1 <C and futher C 1 > 0 From the second of the two inequalities, we nd 4 C > C 4C 1 > 0 C < 4 and further Combine all above we have C 1 > C 4 C 4 >C 1 0 <C < 4 C 1 > 0 C 1 > C 4 6

6 4 0 4 6 6 4 0 4 6 Figure 4: Second-order DPLL real solution region. Horizontal axis is C. Vertical axis is C 1. 7

6 4 0 4 6 6 4 0 4 6 Figure 5: Second-order DPLL imaginary solution region. Horizontal axis is C. Vertical axis is C 1. The shaded region in Figure 4 shows the solution region. When C 4 C 1 the poles are not on the real axis and we require which is equivalent to C ± j 4C 1 C < 1 ( C ) + ( 4C 1 C ) < 4 reducing to C 1 <C The solution is shown as the shaded region in Figure 5. Combining the two graphs, we nd the overall solution for a stable second-order DPLL in Figure 6. Mathematically, the DPLL parameters C 1 and C must satisfy C 1 > 0,C 1 > C 4,C 1 <C 8

6 4 0 4 6 6 4 0 4 6 Figure 6: Second-order DPLL solution region. Horizontal axis is C. Vertical axis is C 1. Referring to (5), we can also express everything in terms of natural frequency and damping factor. Here since C 1 and C are both positive, ω n and η must be of the same sign. It doesn t matter whether both of them are negative or positive because the transfer function only depends on ω n and ηω n. We require both of them to be positive. For the rst case, we have η>1, we have the stable condition From the third inequality, we have From the last inequality, we have ω n > 0 η>1 ηω n < ω n +4> 4ηω n ω n < /η < ηω n < ω n 4 +1 9

10 3 10 10 1 Unstable Damping factor 10 0 10 1 Damping factor > 1 Damping factor < 1 Unstable 10 10 3 10 4 0 0. 0.4 0.6 0.8 1 1. 1.4 1.6 1.8 Natural frequency in radian Figure 7: Second-order DPLL solution region in terms of natural frequency ω n and dampling factor η. which combined with the condition ω n < supercedes the second inequality above. We can thus rewrite the condition as η>1 0 <ω n < ηω n < ω n 4 +1 For the second case, we have the stable condition η 1 0 <ω n < η (6) (7) The solution region in terms of natural frequency and damping factor is shown in Figure 7. 10

References [1] Edward A. Lee and David G. Messerschmit. Digital Communications. Kluwer Academic Publishers, second edition, 1994. [] John G. Proakis. Digital Communications. Electrical Engineering Series. McGraw-Hill, third edition, 1995. [3] Y. R. Shayan and T. Le-Ngoc. All digital phase-locked loop: concepts, design and application. IEEE Proc., 136(1), February 1989. [4] Christian Stimming. Frequency offset tracking in mcma systems. Technical report, Berkeley Wireless Research Center, May 001. 11