T.J.Moir AUT University Auckland. The Ph ase Lock ed Loop.

Similar documents
Speed Control of DC Motor Using Phase-Locked Loop

Experiment No. 3 Pre-Lab Phase Locked Loops and Frequency Modulation

Operational Amplifiers

ELEC3242 Communications Engineering Laboratory Frequency Shift Keying (FSK)

An Investigation into the Effects of Sampling on the Loop Response and Phase Noise in Phase Locked Loops

An active filter offers the following advantages over a passive filter:

EE-4022 Experiment 3 Frequency Modulation (FM)

Operational Amplifiers

Experiment 7: Frequency Modulation and Phase Locked Loops

An Analog Phase-Locked Loop

Sophomore Physics Laboratory (PH005/105) Analog Electronics Phase Locked Loop (PLL)

LINEAR IC APPLICATIONS

New Techniques for Testing Power Factor Correction Circuits

UNIT III ANALOG MULTIPLIER AND PLL

Testing Power Sources for Stability

9 Feedback and Control

R 3 V D. V po C 1 PIN 13 PD2 OUTPUT

ELEC3242 Communications Engineering Laboratory Amplitude Modulation (AM)

Lecture 6. Angle Modulation and Demodulation

Glossary of VCO terms

BUCK Converter Control Cookbook

Testing and Stabilizing Feedback Loops in Today s Power Supplies

Phase-locked loop PIN CONFIGURATIONS

UNIT 2. Q.1) Describe the functioning of standard signal generator. Ans. Electronic Measurements & Instrumentation

Department of Electronic and Information Engineering. Communication Laboratory

Lecture 8 ECEN 4517/5517

Tuesday, March 29th, 9:15 11:30

METHODS TO IMPROVE DYNAMIC RESPONSE OF POWER FACTOR PREREGULATORS: AN OVERVIEW

STATION NUMBER: LAB SECTION: Filters. LAB 6: Filters ELECTRICAL ENGINEERING 43/100 INTRODUCTION TO MICROELECTRONIC CIRCUITS

ANNA UNIVERSITY :: CHENNAI MODEL QUESTION PAPER(V-SEMESTER) B.E. ELECTRONICS AND COMMUNICATION ENGINEERING EC334 - CONTROL SYSTEMS

Electronics Prof D. C. Dube Department of Physics Indian Institute of Technology, Delhi

This chapter discusses the design issues related to the CDR architectures. The

1) Consider the circuit shown in figure below. Compute the output waveform for an input of 5kHz

Let us consider the following block diagram of a feedback amplifier with input voltage feedback fraction,, be positive i.e. in phase.

Modulation is the process of impressing a low-frequency information signal (baseband signal) onto a higher frequency carrier signal

ELC224 Final Review (12/10/2009) Name:

Chapter 6. FM Circuits

DMI COLLEGE OF ENGINEERING

FSK DEMODULATOR / TONE DECODER

Communication Engineering Prof. Surendra Prasad Department of Electrical Engineering Indian Institute of Technology, Delhi

Elements of Communication System Channel Fig: 1: Block Diagram of Communication System Terminology in Communication System

About the Tutorial. Audience. Prerequisites. Copyright & Disclaimer. Linear Integrated Circuits Applications

THE SINUSOIDAL WAVEFORM

Local Oscillator Phase Noise and its effect on Receiver Performance C. John Grebenkemper

CONTROLLER DESIGN FOR POWER CONVERSION SYSTEMS

Phase-Locked Loop Engineering Handbook for Integrated Circuits

Sallen-Key_High_Pass_Filter -- Overview

AM, PM and FM mo m dula l ti t o i n

Department of Mechanical Engineering

UNIVERSITY OF NORTH CAROLINA AT CHARLOTTE Department of Electrical and Computer Engineering

Speech, music, images, and video are examples of analog signals. Each of these signals is characterized by its bandwidth, dynamic range, and the

Angle Modulated Systems

Basic Electronics Learning by doing Prof. T.S. Natarajan Department of Physics Indian Institute of Technology, Madras

Data Conversion Circuits & Modulation Techniques. Subhasish Chandra Assistant Professor Department of Physics Institute of Forensic Science, Nagpur

GOVERNMENT OF KARNATAKA KARNATAKA STATE PRE-UNIVERSITY EDUCATION EXAMINATION BOARD II YEAR PUC EXAMINATION MARCH-2013 SCHEME OF VALUATION

How To Design RF Circuits - Synthesisers

AC : PHASE LOCK LOOP CONTROL SYSTEM LAB DEVEL- OPMENT

Low Pass Filter Introduction

Chapter 14 FSK Demodulator

Question Paper Code: 21398

Synchronization. EE442 Lecture 17. All digital receivers must be synchronized to the incoming signal s(t).

Active Filter Design Techniques

Specify Gain and Phase Margins on All Your Loops

Homework Assignment 06

Check out from stockroom:! Two 10x scope probes

EMT212 Analog Electronic II. Chapter 4. Oscillator

BINARY AMPLITUDE SHIFT KEYING

(Refer Slide Time: 00:03:22)

B.E. SEMESTER III (ELECTRICAL) SUBJECT CODE: X30902 Subject Name: Analog & Digital Electronics

LM13600 Dual Operational Transconductance Amplifiers with Linearizing Diodes and Buffers

LM565/LM565C Phase Locked Loop

Chapter 10 Feedback ECE 3120 Microelectronics II Dr. Suketu Naik

JNTUWORLD. 6 The unity feedback system whose open loop transfer function is given by G(s)=K/s(s 2 +6s+10) Determine: (i) Angles of asymptotes *****

A FREQUENCY SYNTHESIZER STRUCTURE BASED ON COINCIDENCE MIXER

When input, output and feedback voltages are all symmetric bipolar signals with respect to ground, no biasing is required.

Simple Methods for Detecting Zero Crossing

Outline. Communications Engineering 1

Lock in time calculation Wenlan Wu (

ELECTRICAL CIRCUITS 6. OPERATIONAL AMPLIFIERS PART III DYNAMIC RESPONSE

ECE 363 FINAL (F16) 6 problems for 100 pts Problem #1: Fuel Pump Controller (18 pts)

Capacitive Touch Sensing Tone Generator. Corey Cleveland and Eric Ponce

Core Technology Group Application Note 2 AN-2

The steeper the phase shift as a function of frequency φ(ω) the more stable the frequency of oscillation

Experiment 9. PID Controller

LM13700 Dual Operational Transconductance Amplifiers with Linearizing Diodes and Buffers

LINEAR MODELING OF A SELF-OSCILLATING PWM CONTROL LOOP

GATE: Electronics MCQs (Practice Test 1 of 13)

Lecture 48 Review of Feedback HW # 4 Erickson Problems Ch. 9 # s 7 &9 and questions in lectures I. Review of Negative Feedback

Position Control of DC Motor by Compensating Strategies

List of Figures. Sr. no.

INTEGRATED CIRCUITS. AN179 Circuit description of the NE Dec

LDO Regulator Stability Using Ceramic Output Capacitors

Lecture 11. Phase Locked Loop (PLL): Appendix C. EE4900/EE6720 Digital Communications

Minimizing Input Filter Requirements In Military Power Supply Designs

UNIVERSITY OF PENNSYLVANIA EE 206

Lecture 7: Components of Phase Locked Loop (PLL)

GOVERNMENT OF KARNATAKA KARNATAKA STATE PRE-UNIVERSITY EDUCATION EXAMINATION BOARD II YEAR PUC EXAMINATION JULY-2012 SCHEME OF VALUATION

CMOS Phase-Locked-Loop Applications Using the CD54/74HC/HCT4046A and CD54/74HC/HCT7046A

EE LINEAR INTEGRATED CIRCUITS & APPLICATIONS

Summer 2015 Examination

Transcription:

T.J.Moir AUT University Auckland The Ph ase Lock ed Loop.

1.Introduction The Phase-Locked Loop (PLL) is one of the most commonly used integrated circuits (ICs) in use in modern communications systems. Although perhaps surprisingly first invented as early as 193 by Bellescise it never gain popularity until the early 1970s when cheap ICs were readily available. It quickly found application as a precision FM demodulator as a replacement for Foster-Seely discriminators. Digital communication systems quickly followed and the PLL has found application in such areas as modems, mobile communications, satellite receivers and television electronics. The PLL is used extensively in modern electronic systems but its design is often met with trepidation. This is perhaps understandable since to fully understand the operation of a PLL requires some knowledge of communication systems and control systems, two subjects which are treated in isolation. For example seldom are PLLs covered in a taught control course at undergraduate level whilst feedback and stability is only briefly mentioned when covering PLLs in a communication course. The two subjects need to come together and be treated seamlessly.

.Basic PLL Theory The block diagram of a generic PLL is shown in Figure 1 below. Figure 1. Block Diagram of Generic PLL Without loss of generality we consider an input to the PLL which is FM. Whilst there are other types of input which can be used this approach gives the option of modulating various different base-band signals which can be later used to test the PLL. For example a step input or a sinusoidal frequency response are commonly used for testing all feedback control systems. The FM signal which must be simulated has the analogue form f(t) where f ( t) = cos[ ω ( t) + ω cos( ω t) dt] (1) c m where ω c and ω m are respectively the carrier and base-band frequencies in rad/s and ω is the depth of modulation measured in rad/s.. When equation (1) is integrated it has the more familiar form f ( t) = cos[ ω ( t) + β sin( ω t)] () c where β = ω / ω m is defined to be the FM modulation index. It should be noted that although equation (1) has an integration that this is implicit in its generation and no explicit integration is required in the simulation for FM generation. The approach used in [3] did require an integrator to simulate FM but this was because the simulation was an exact mathematical representation of (1). In LabVIEW it is possible to simulate directly an oscillator with a voltage controlled input (ie a voltage controlled oscillator or VCO). Hence the VCO block simulation is identical to real FM generation as will subsequently be shown. m

The important thing to show with the VCO is that it has a transfer function which is a pure integrator[5] A good analogy is to consider a block diagram of a motor whose output is position rather than velocity. An integrator 1/s block must be included in the block diagram and this in turn effects the stability of the closed-loop system. Similarly for a PLL the VCO has an input that is frequency and an output which is phase (that in turn feeds into the phase detector). Since phase is the integral of frequency it has a transfer function of the form φ ( ω s) = K s v (3) where φ,ω, K v are respectively phase, frequency and the VCO gain. In an IC PLL an equation is often given for the VCO gain which will change if the free-running frequency is altered in any way (usually by an external C-R time constant). The freerunning frequency in Figure 1 is matched to the carrier frequency of the incoming FM. If there is a small miss-match the demodulated FM will have an extra dc offset superimposed. If the miss-match is too big then lock cannot be achieved and hence it should be as close as possible to the carrier frequency of the FM signal. The phase detector in an analogue PLL is normally a linear multiplier. In digital PLLs it can be an Exclusive OR or some other similar method. Here we consider the case where the phase detector is a linear multiplier. When the PLL is in-lock the VCO output has to be in phase-quadrature with the incoming FM signal. For simplicity, consider the case when there is no FM and the input is sinusoidal. For this case the VCO output will have the same frequency but will have a 90 degrees phase shift relative to the incoming signal. One method of checking if a PLL is in-lock is to check for this phase-quadrature condition. Considering an instantaneous small phase shift to the incoming FM signal φ in and similarly to the VCO output φo the phase detector output will become e(t) where e t) = cos( ω t + φ 90 )cos( ω t + φ ) (4) ( c in c o which when using basic trigometric angle reduction becomes e( t) 0. 5[sin( ϕ φ ) + cos( ω t + ϕ + ϕ 90)] (5) = in o c in o Examining (5) it can be seen that the term with cos() is at a frequency of twice the carrier frequency and if the bandwidth of the PLL is designed properly this term can be attenuated significantly. The other term in sin() for small angle changes is approximately a subtraction or phase error detection as required. The 0.5 scaling factor can be compensated for later with a suitable overall gain adjustment. The design of the filter is considered finally.

3. The Linear PLL Design The beauty of the PLL is that it can be analysed in a linear form independent of the carrier frequency. The block diagram of the closed loop PLL is shown in Figure. The VCO transfer function H(s) is shown as a pure integrator and the phase detector as a summing junction providing negative feedback. It remains to find the filter dynamics F(s). φ in PD + - φ o K v s VCO H(s) Filter F(s) Figure. Linear PLL Demodulated Signal To find the filter dynamics the open-loop Bode plot should have a similar form to the one shown in Figure 3.

db Gain -40dB/decade 0 f 1-0dB/decade f ϕ f -40dB/decade Phase (degrees) Phase Margin -180 o Figure 3. Open Loop PLL Bode Plot This type of PLL is sometimes known as a third order type II PLL as there are two integrators within the loop. The first integrator is the VCO and the second is an added electronic integrator. Since two integrators with negative feedback results in an oscillator a phase lead (advance) stabilisation is needed. Hence the overall Bode plot has the form shown in figure two. This particular design is preferred as it has better tracking abilities than a type I PLL. The higher the gain at low frequencies results in good tracking and hence low error. The open-loop transfer function which describes Figure 3 is K (1 + st1 ) F( s) H ( s) = (6) s (1 + st ) the gain of the VCO has been absorbed into an overall gain term K.It should be pointed out that is also possible to design a PLL in other ways. For example if the time constant T = 0 in (6) above the final 40dB/decade roll-off will no longer exist. However with that approach the filtering ability of the loop is not as good and hence the noise immunity suffers. Whilst it is possible to do more filtering outside the loop, the problem of too much ω c can cause problems with dc-offsets, distortion and the ability to lock It is therefore desirable to get rid of as much carrier ω c feed-through

as possible within the loop and do a mild amount of filtering outwith the loop. Setting T = 0 does have an advantage however of giving a larger phase margin and hence better stability properties. A further discussion is given in Appendix 1. The unity gain bandwidth of the PLL should be chosen high enough to track adequately but not too high so as to let too much ω c through. By experience it has been found that a unity gain bandwidth of gives the best results. f f c φ = (7) 10 Referring to Figure 3 the ratio f r = (8) f1 is sometimes known as the span ratio, and determines the phase margin of the system and hence the stability of the loop [6]. For a phase lead network the phase margin for various r values is found from 1 ( r 1) φ m = sin (9) ( r + 1) Which for a span of r=10 gives a phase margin of approximately 55 degrees. A phase margin of 55 degrees is normally considered to give a good transient response. The frequency where the gain is unity is given by [6] f = f f φ 1 (10) which is the geometric root of the upper and lower break-frequencies. It is of importance to state that the bandwidth is normally fixed at the value given by (7) whilst the span ratio can be varied for different designs. For example a larger span ratio results in better stability at the expense of poorer tracking and vice versa. The rise-time or speed of response of the PLL is unaffected since it is assumed the bandwidth remains constant. The two time constants in (6) are found directly from the Bode plot to be 1 T = 1 πf (11a) 1 1 T = (11b) πf The upper and lower break-frequencies are found by using (10) and (8) f = fφ r (1a) fφ f1 = r (1b)

To find the overall gain K in (6) for a given span ration and time constants it is necessary to evaluate K ( 1+ st1 ) = 1 (13) s ( 1+ st ) evaluated at a frequency ω = ωφ which is the unity gain frequency or bandwidth. After some algebra it can be shown that K is found from K ω φ = (14) r Example The following example will be used in the simulation to follow. Suppose the carrier frequency is khz. From (7) the unity gain bandwidth is 400Hz. Selecting a span ratio of r=10 for a good phase margin the upper and lower break frequencies of the Bode plot can then be evaluated as f = 164Hz and f1 = 16. 4Hz. From (11a and b) the time constants are evaluated as T1 = 1. 59ms and T = 0. 159ms.The overall gain which must include any hidden gain terms (the VCO and the 0.5 from the phase ω 6 detector for instance) is found from (14) to be K = φ = 1. 9989X10.This gain is r then split between the various parts of the PLL. The parts which already have built in (hidden) gain terms must be accounted for within this overall gain. Monolithic PLL on a chip. A real PLL (NE 565) which works on analogue FM is shown in Figure 4 below.

Figure 4. An NE 565 PLL As shown in the figure, the PLL system consists of a phase detector or comparator (PC), a voltage-controlled oscillator (VCO), an amplifier and R-C combination forming low-pass filter circuit. The input signals are fed to the phase detector through pins and 3 in differential mode. The input signals can be direct-coupled provided that the dc level at these two pins is made same and dc resistances seen from pins and 3 are equal. By shorting pins 4 and 5 output of VCO is supplied back to the phase comparator (PC). The output of PC is ijiternally connected to amplifier, the output of which is available at pins 6 and 7 through a resistor of 3.6 k Q connected internally. A capacitor C connected between pins 7 and 10 forms a low-pass filter with 3.6 k Q resistor. The filter capacitor C should be large enough so as to eliminate the variations in demodulated output and stabilize the VCO frequency. Voltage available at pin 7 is connected internally to VCO as a control signal. At pin 6 a reference voltage nominally equal to voltage at pin 7 is available allowing both the differential stages to be biased. Pins 1 and 10 are supply pins. The centre frequency of the PLL is determined by the free-running frequency of the VCO which is given as Fout = 1./4R1C1 Hertz where R1 and C1 are external resistor and capacitor connected to pins 8 and 9 respectively, as illustrated in figure. The free-running frequency fout of the VCO is adjusted, externally with Rt and C1, to be at the centre of the input frequency range. Resistor R1 must have a value between and 0 kilo ohm. Capacitor C1 may have any value. The 565 PLL can lock to and track an input signal typically ± 60 % bandwidth with respect to fout as the centre frequency. The lock-range of PLL is given as fl = ± 8fOUT / V Hertz

where fout is free-running frequency of VCO in Hz and V = (+ V) (- V) and capture range is given as fc = ± [fl / (3.6) (10) 3 C] 1/ The lock range usually increases with an increase in input voltage but falls with an increase in supply voltages. If a linear element like a four-quadrant multiplier is used as the phase detector, and the loop filter and VCO are also analog elements, this is called an analogue, or linear PLL (LPLL). If a digital phase detector (EXOR gate or J-K flip flop) is used, and everything else stays the same, the system is called a digital PLL (DPLL). Figure 5 Frequency scaling (upwards) using a PLL Referring to Figure 5, a system for using a PLL to generate higher frequencies than the input, the VCO oscillates at an angular frequency of ωd. A portion of this frequency/phase signal is fed back to the error detector, via a frequency divider with a ratio 1 / N. This divided-down frequency is fed to one input of the error detector. The other input in this example is a fixed reference frequency/phase. The error detector compares the signals at both inputs. When the two signal inputs are equal in phase and frequency, the error will be zero and the loop is said to be in a "locked" condition. When GH is much greater than 1, we can say that the closed loop transfer function for the PLL system is N and so FOUT = N FREF

Appendix 1 Variations of PLL design This Appendix examines briefly three other types of PLL design which are often discussed in the literature. Consider first the Bode plot shown in Figure A1. db Gain 0-0dB/decade f ϕ f 1-40dB/decade Phase (degrees) -90 o -180 o Phase Margin Figure A1 A type I second order PLL. The transfer function of the filter for this kind of PLL has the form K F( s) = (A1) ( 1+ st 1 ) which is just a first order low-pass filter. The problem with this approach is that the slope of the frequency response is only 0dB/decade and clearly at a given frequency below the unity gain bandwidth (assuming that the bandwidth is the same for all the examples herein) is less than for the case with an added integrator. The only integration is that of the VCO itself. The phase-margin and hence stability can be better than for the two integrator case with less overshoot. The tracking ability of this kind of loop is inferior to designs with a 40dB/decade slope at low frequencies.

Another approach is to add a second integrator as in the main text but to exclude the second 40sB/decade roll-off as shown in Figure A. db Gain -40dB/decade 0 f 1-0dB/decade f ϕ Phase (degrees) -90 o Phase Margin -180 o Figure A A type II second order PLL. K( 1+ st1 ) F( s) = (A) s It has good tracking abilities similar to the example in the main text and better phasemargin and hence stability. However, the exclusion of the second pole makes it more susceptible to noise and in particular the twice carrier frequency which is generated by the phase detector. Such a filter is often termed a proportional plus integral (P-I) controller. Finally consider the most popular approach as used in many IC PLLs. A few external components can easily construct a lag-lead filter of the form

( 1+ st ) K F( s) = (A3) ( 1+ st ) ( 1+ st ) the Bode plot is shown in Figure A3. The term lag-lead is a slight misuse of terminology as in fact (A3) is only a lag compensator (since T3<T<T1) with a high frequency pole. The complete Bode plot with the VCO integrator looks as if a lead compensator is present from f and hence the name. 1 3-0dB/decade db Gain -40dB/decade 0 f 1 f -0dB/decade f f ϕ 3-40dB/decade Phase (degrees) -90 o -180 o Phase Margin Figure A4 A type I third order PLL. This design has good tracking properties at low frequencies at least as low as the frequency f1 in Figure A4 and the rest of the frequency response above this frequency is identical to Figure 3 except that the phase margin is slightly better than the design with a pure integrator. For many IC PLLs the frequency f1 is so low that the design is similar to having a pure integrator. Theoretically however with two integrators (the added integrator + the VCO inherent in the loop) the PLL should be

able to track ramping phase variations whereas with one only the VCO acting as the integrator there will always be a constant error.