Top Banner
1 E771 Electronic E771 Electronic Circuits III Circuits III Phase-locked loop Phase-locked loop notes notes by Paul Brennan University College London Prepared 2000
151
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: PLL

1

E771 Electronic Circuits IIIE771 Electronic Circuits IIIPhase-locked loop notesPhase-locked loop notes

by Paul Brennan

University College London

Prepared 2000

Page 2: PLL

2

ContentsContents1 Introduction2 Loop Components3 The Second Order Type II Loop4 Modulation Characteristics5 Noise Performance6 Acquisition7 Higher Order Loop Filters8 Other Applications

Examples and solutions

Please note that material which is provided for reference only and is not an essential part of the course is distinguished by a vertical line in the left-hand margin.

Page 3: PLL

3

Some useful booksSome useful books Best, R.E., “Phase-locked loops, theory, design and

applications”, McGraw Hill, 1993.

Brennan, P.V., “ Phase-locked loops: Principles & Practice”, Macmillan, 1996.

Gardner, F.M., “ Phaselock techniques”, 2nd ed., Wiley, 1979.

Rohde, U.L., “ Digital PLL frequency synthesisers”, Prentice Hall, 1983.

Page 4: PLL

4

1. Introduction1. IntroductionPhase-locked loops (PLLs) are widely used in a variety of applications. These include line synchronisation and colour sub-carrier recovery in TV receivers, synthesised local oscillators and FM demodulators in radio receivers and frequency synthesisers in transceivers and signal generators, to name but a few. Although the basic operation of PLLs appears quite straightforward, the detailed design of a PLL for a particular application often requires a great deal of understanding of their underlying principles of operation and associated limitations. It is very easy to design a PLL badly by ignoring basic control loop considerations or by attempting to make short-cuts. For these reasons, and because PLLs usually employ a collection of RF circuit design techniques, these notes consider - in some detail - the principles and capabilities of PLLs and their basic design procedures.

Page 5: PLL

5

1. Introduction1. Introduction

A PLL is a control loop consisting of four fundamental components, as shown in figure 1. These are a phase detector (sometimes called phase comparator), loop filter, voltage controlled oscillator (VCO) and a frequency divider. These components are connected in a simple feedback arrangement so that the phase detector compares the phase, i, of an input signal with the phase, o/N, of the fed-back output signal. The phase detector output voltage is dependent on the difference in phase of the two applied inputs and is used to adjust the VCO until this phase difference is zero. The loop is then in a stable equilibrium so that the VCO phase is locked to the input signal phase, o = Ni. Thus the circuit behaves as a phase multiplier and also, since frequency is the time derivative of phase, as a frequency multiplier.

φ G(s)

÷N

Input OutputVCOLoop filterPhase detector

Frequency divider

φi φo

Figure 1 Basic phase-locked loop arrangement.

Page 6: PLL

6

1. Introduction1. Introduction

The behaviour of a PLL can be likened to that of a feedback voltage amplifier such as that shown in figure 2. This is the block diagram representation of a non-inverting op-amp voltage amplifier, where the output and input voltage are related by Vo = KVi. It is similar to the basic PLL except that it uses a voltage comparator instead of a phase comparator, a potential divider in the feedback instead of a frequency divider and the controlled parameter is voltage rather than phase. The analogy between these two circuits has been drawn to illustrate that PLLs are simply a type of control loop in which the parameter under control happens to be the phase of a number of signals.

φ G(s)

÷N

Input OutputVCOLoop filterPhase detector

Frequency divider

φi φo

Figure 1 Basic phase-locked loop arrangement.

÷K

High-gainop-amp

Potential divider

Input Output

Vi Vo

Figure 2 Simple voltage amplifier using an op-amp.

+

Page 7: PLL

7

1. Introduction1. Introduction

The active characteristics of PLLs are governed by the loop filter design. A narrow loop bandwidth is needed in applications where the input signal is noisy - such as with FM discriminators or carrier-recovery circuits. A principal attraction of PLLs is that the loop bandwidth may be made very narrow so that the loop can recover signals buried in noise and yet still track their frequency variations over a wide range. On the other hand, a wider bandwidth is needed in applications requiring higher operating speed, such as agile frequency synthesisers and there are also certain practical constraints on the loop characteristics. These points are illustrated in these notes.

Page 8: PLL

8

2. Loop components2. Loop componentsThe four main loop components of figure 1 shall now be described in more detail.

Phase detectors

Phase detectors are a form of comparator providing a DC output signal proportional to the difference in phase between two input signals. This may be written,

Vp = Kp(φi1 - φi2)

where Vp is the output voltage, i1 and i2 are the phases of the input signals and Kp is the phase detector gain in Volts per radian. In general, the response of phase detectors is non-linear and repeats over a limited phase range. However the response is usually very nearly linear in a narrow phase range close to the point at which the loop would lock and the value of phase detector gain is only of real interest at this point.

(1)

Page 9: PLL

9

2. Loop components2. Loop components

There are two basic types of phase detector, multiplier and sequential. Multiplier types form the analogue product of two input signals, the DC component of which is dependent on the phase difference between the inputs. Sequential types respond to the relative timing of the edges of the input signals and are usually implemented in digital form. The multiplier type, being linear, are useful in applications where the input signal is noisy, since the output S/N ratio degrades at the same rate as the input S/N ratio. The sequential type are vulnerable to poor operation under low S/N conditions and would normally be used at S/N ratios significantly above 10 dB. However, they can offer far superior capture and tracking performance.

The simplest example of a multiplier type phase detector, which is actually very widely used, is the analogue multiplier of figure 3. This is basically a double-balanced mixer (or four quadrant multiplier) with a DC coupled output port, that is used to produce the product of two input signals V1(t) and V2(t). Of course, a standard double-balanced mixer (with a DC coupled IF port) could be used as such a phase detector although mixers are produced especially for this purpose with low DC offsets and high sensitivity - both of which are important characteristics of multiplier type phase detectors.

Page 10: PLL

10

2. Loop components2. Loop components

V1(t)

V2(t)

KV1(t)V2(t)Input

Input

Output

Analoguemultiplier

Figure 3 Analogue multiplier phase detector.

Operation can be easily understood by considering sinusoidal input signals, V1(t) = V1cost and V2(t) = V2cos(t - ), the phase detector output being proportional to the product of these signals,

Page 11: PLL

11

2. Loop components2. Loop components

Vp(t) = KV1(t)V2(t) = 2KV1V2 cos(2ωt - φ) + cosφ

Thus the output consists of a DC term and a double-frequency component. The double-frequency component is filtered out by the action of the loop filter and is of no significance, leaving

Vp = 2KV1V2cosφ

This shows that the phase detector output varies sinusoidally with phase difference, with zeros at = /2 + n. The loop therefore locks, with this particular type of phase detector, when there is a quadrature phase difference between the phase detector inputs.

(2)

Page 12: PLL

12

2. Loop components2. Loop components

Phase detector gain is given by

dφdVp =

dφd

2KV1V2cosφ = 2

KV1V2sinφ

and in the linear regions of the characteristic, around = /2 + n, the gain in V/rad is

Kp = 2KV1V2

So the phase detector gain is equal to the peak value of output voltage. The useable range of the detector is limited to within ±/2 rads of = /2 + n.

Analogue multiplier type phase detectors are often used with one square-wave input signal and one sinusoidal input signal. This is often for reasons of convenience since the frequency divider and maybe also VCO are implemented in digital circuitry. In this case, for relatively low frequency operation (up to around 1 MHz), the circuit of figure 4 is useful.

Page 13: PLL

13

2. Loop components2. Loop components

Analogueinput

Digitalinput

OutputR

R

R

Figure 4 Multiplying phase detector with analogueand digital inputs.

+

This performs exactly the same function as an analogue multiplier driven by one analogue signal and one digital signal, but has the advantage that it requires no multiplying components. The circuit works simply by acting as a unity gain inverting amplifier when the digital input is high and a unity gain non-inverting amplifier when the digital input is low. The performance of this mode of operation of analogue multiplier phase detectors is best explained with reference to the timing diagrams of figure 5. Here the inputs are shown as a sinewave of amplitude V1 and a square-wave, lagging by , of amplitude V2.

Page 14: PLL

14

2. Loop components2. Loop components

V2sgn[cos(t - φ)]

V 1(t)

V 2(t)

φ

KV 1(t)V 2(t)

t

ωt

ωt

Figure 5 Analogue multiplier phase detector operation with mixed sinusoidal and square-wave inputs.

V1cosωtInput 1

Input 2

Output

Page 15: PLL

15

When the square-wave input is high the sinusoid is non-inverted and when it is low the sinusoid is inverted. Thus the phase detector output is a double-frequency sample of a sinusoid, cos, over the range = - /2 to = + /2. This signal has an obvious DC component which is dependent on the phase difference, , as follows

2. Loop components2. Loop components

Vp = KV1(t)V2(t) = π

KV1V2 ∫φ - π/2

φ + π/2

cosθ dθ = π

2KV1V2cosφ

from which it is clear that the response is sinusoidal, as before, with a phase detector gain of Kp = 2KV1V2/ V/rad. At this point it should be noted that successive half-cycles of the output waveform of figure 5 are identical only if a square-wave of 50% duty cycle is used - and this is the optimum duty cycle for this type of phase detector.

The phase detector may also be used with square-wave signals applied to both inputs, as shown in figure 6. The output signal is now a series of positive pulses of width = - and negative pulses of width (for 0 ≤ ≤ as shown in the diagram).

(3)

Page 16: PLL

16

V1(t)

V2(t)

φ

KV 1(t)V 2(t)

t

ωt

ωt

Figure 6 Analogue multiplier phase detector operation with square-wave inputs.

V1sgn(cosωt)Input 1

Input 2

Output

V2sgn[cos(ωt - φ)]

φ

φ − π

2. Loop components2. Loop components

Page 17: PLL

17

2. Loop components2. Loop components

Thus the phase detector characteristic is given by

Vp = KV1V2(π - 2φ)/π (0 ≤ φ ≤ π)

= KV1V2(π + 2φ)/π (-π ≤ φ ≤ 0).

The response is now a triangular waveform with the advantage that it is linear over the full ±/2 rads operating range of the detector. This allows an improvement in the capture and holding performance of the loop. From equation (5), the phase detector gain is now Kp = 2KV1V2/ V/rad.

From figure 6 it can be seen that an analogue multiplier with square-wave inputs performs an exclusive-NOR logic function. Thus, in circuits containing mostly logic components, it may be preferable to use a single exclusive-OR (or exclusive-NOR) gate as such a phase detector, as shown in figure 7. It should be noted that, since the output voltage of an exclusive-OR phase detector varies between the two logic levels and does not have a zero mean value, a DC offset equal to the mean of the logic "1" and logic "0" levels needs to be provided at the loop filter for the detector to function correctly.

(5)

Page 18: PLL

18

2. Loop components2. Loop components

V1(t)

V2(t)

V1(t)⊕V 2(t)

Figure 7 Exclusive-OR hase detector.

Inuts Outut

The characteristics of analogue multiplier phase detectors used in their various modes of operation are summarised in figure 8. In a PLL, lock occurs when the phase detector output is zero and when the polarity of the feedback path through all the loop components is negative. Since the loop filter is usually based on an op-amp integrator with a phase inversion at DC this means that the basic loop of figure 1 locks on a positive slope of the phase detector characteristic, i.e. when o/N - i = -/2. Multiplier phase detectors have the useful property that when one input signal disappears the mean output is zero. In PLLs using integrating filters (which is the majority of practical loops) this enables the loop to "flywheel" during a temporary loss of signal and rapidly regain lock when it returns - a technique used in colour TV sets.

Page 19: PLL

19

2. Loop components2. Loop components

KV1V22KV1V2/KV 1V 2/2

/2-/2

-

Phase detectoroutut voltage, V

Figure 8 Characteristics o analogue multilier tye hase detectors;(a) to sinusoidal inuts, (b) one suare-ave inut, (c) to suare-ave inuts.

(a)(b)(c)

Phase dierence beteenhase detector inuts,

φ φo/N - φi

Analogue multiplier phase detectors with square-waves applied to one or both inputs are capable of responding to odd harmonics in addition to the fundamental frequency. This enables the loop to be locked to an odd harmonic (or sub-harmonic) of the input signal, if desired. The behaviour of an exclusive-OR type of phase detector presented with inputs of frequency and 3 is illustrated in figure 9.

Page 20: PLL

20

2. Loop components2. Loop components

KV1(t)V2(t)

t

ωt

ωt

Figure 9 Illustration of 3rd harmonic operation of exclusive-OR type phase detectors.

V1sgn(cosωt)Fundamental

3rd Harmonic

Output Mean DClevel

V1(t)

V2(t)

Page 21: PLL

21

2. Loop components2. Loop componentsThe output signal can best be thought of as a successively inverted and non-inverted version of the 3rd harmonic input signal, the inversion being controlled by the fundamental input signal. It is clear that the detector output signal has a mean DC level that varies with the phase difference between the two applied inputs. The relative phase of the two input signals shown in figure 9 has been deliberately chosen to produce maximum DC response from the detector and it can be seen that this is one third of the maximum response that would be obtained from input signals of equal frequency. Thus, the phase detector gain is reduced by a factor of three.

By considering a series of diagrams such as figure 9 it is apparent that, for input signals of frequency and n, the phase detector characteristic is triangular, as before, but the output signal level - and hence phase detector gain - is reduced by a factor of n. In practice, a further reduction in gain occurs due to the finite rise time of the square-wave edges.

Any practical phase detector has a small DC offset in its output voltage due to component tolerances and this may have an adverse effect on PLL performance, perhaps even preventing the loop from locking. The effect is much more serious in harmonically operated phase detectors since the output level is reduced by at least a factor of n and so any DC offset is much more significant. It can therefore be quite tricky to achieve high order harmonic locking in PLLs and very careful minimisation of the phase detector DC offset is required.

Page 22: PLL

22

2. Loop components2. Loop components

(a)

(b)

Figure 9a (bonus figure) Phase detector output waveforms with(a) 3rd harmonic and (b) 5th harmonic locking.

Page 23: PLL

23

2. Loop components2. Loop components

The phase detectors described so far produce an AC output signal in addition to the desired DC component. This alternating signal has a fundamental frequency of twice the applied signal frequency. When such phase detectors are included in PLLs, the alternating component of their outputs can tend to modulate the VCO frequency producing unwanted sidebands on the output signal, often called reference sidebands. To minimise this effect, the loop natural frequency is constrained to well below the frequency at which the phase detector operates (usually around 100 times lower). However, there is a different type of multiplying phase detector known as a sample-and-hold detector which, in principle, produces no alternating components in its output. As its name implies, it is based on a sample and hold circuit in which one phase detector input is a digital signal, the rising edges of which are used to determine the sampling instants of the other sinusoidal input. This produces a sinusoidal phase detector characteristic. The resulting output signal contains just a small amount of second harmonic ripple due to "drooping" in the holding capacitor. Sample-and-hold detectors enable significantly higher loop natural frequencies to be used without producing severe reference sidebands.

Page 24: PLL

24

2. Loop components2. Loop componentsDigital input

Analogue input Output

High input impedance buffer

Analogue input

Digital input

Output

time

Figure 9b (bonus figure) Sample and hold phase detector.

Page 25: PLL

25

2. Loop components2. Loop componentsWe shall now look at two common types of sequential phase detector...

S

R

QInput 1Input 2

Output

Q

t

ωt

ωt

Input 1

Mean DClevel

Input 2

OutputVOL

VOH

Figure 10 RS flip-flop phase detector and timing diagram.

Page 26: PLL

26

2. Loop components2. Loop components

Probably the simplest example is the RS flip-flop phase detector which is illustrated in figure 10. Its operation is very easy to understand by considering two digital input signals of phase difference . The flip-flop is set on the rising edge of input 1 and is reset on the rising edge of input 2. The duty cycle of the flip-flop output and the associated mean DC level is thus an indication of the phase difference between the two input signals. The mean DC level varies linearly between the logic "0" output voltage level, VOL, when = 0 to the logic "1" output voltage level, VOH, when = 2 rads and this characteristic is plotted in figure 11. In practice, a DC offset of (VOL + VOH)/2 would need to be introduced at the loop filter and a PLL incorporating this phase detector would lock at a phase difference, , of rads. This phase detector has a linear range of 2 rads - twice that of an exclusive-OR phase detector and so has an improved capture and holding characteristic. Being a sequential phase detector it responds only to the rising edges of the input signals, so their duty cycle is immaterial, although it is far less tolerant of input noise than multiplier phase detectors. Also, in the absence of an input signal the mean output latches-up in one state, thus preventing the detector being used in a flywheel type of PLL.

Page 27: PLL

27

VOL

VOH

-2 - 0 2

Phase detectoroutut voltage, V

Phase dierence beteeninut signals, φ

Figure 11 RS li-lo hase detector characteristic.

2. Loop components2. Loop components

Page 28: PLL

28

2. Loop components2. Loop components

A more widely used type of sequential phase detector is the phase/frequency detector of figure 12. This is available in integrated circuit form although it may be constructed from a pair of D-type flip flops and an AND gate as shown in the diagram.

C

D Q1

Q1R

C

D Q2

Q2

R

Logic "1"

Logic "1"

Input 1

Input 2

Output

R1

R1

R2

R2

Figure 12 Phase/frequency detector.

+

Page 29: PLL

29

2. Loop components2. Loop components

φ -φ

ωt

ωt

ωt

ωt

Input 1

Input 2

Q1

Q2

Figure 13 Phase/frequency detector timing diagram.

Page 30: PLL

30

Its operation is a little more subtle than the RS flip-flop phase detector. Referring to figure 13, assuming initially that input 1 leads input 2 by an amount , then after each rising edge of input 1 the Q1 output is set to logic "1". When the next rising edge of input 2 is received, for an instant both Q1 and Q2 outputs are set to logic "1". This produces a pulse on the reset inputs of the flip-flops which are then both reset to logic "0". Thus, if input 1 leads input 2 then the mean value of the Q1 output indicates the amount of phase lead in the same way as the RS flip flop detector, whilst the mean value of the Q2 output is virtually VOL. Conversely, if input 1 lags input 2 then the Q2 output becomes active and indicates the amount of phase lag. By summing these two outputs in a differential amplifier, a phase detector characteristic with a linear range of 4 rads is obtained, as plotted in figure 14. A practical advantage of this arrangement is that compensation for offsets in the logic levels is implicit in the use of a differential amplifier. If R2 = R1 then the phase detector output voltage varies between -(VOH - VOL) and + (VOH - VOL) passing through 0 when = 0 as shown in figure 14. This is a particularly useful characteristic allowing the VCO and input signals to be in-phase in a locked PLL.

2. Loop components2. Loop components

Page 31: PLL

31

2. Loop components2. Loop components

-2 - 0 2

Phase detectoroutut voltage, V

Figure 14 Phase/reuency detector characteristic - eual inut reuencies.

V OH - V OL

Phase dierence beteeninut signals, φ

It should be noted that the differential amplifier is not expected to respond to the pulses in the detector output, but merely to the DC component. Usually, a differential form of loop filter would be used to achieve the functions of both a filter and differential amplifier. The AC component of the phase detector output is a series of short pulses at the operating frequency, giving rise to reference sidebands (in a badly designed loop) at the reference frequency and its harmonics.

The most interesting feature of the phase/frequency detector is its behaviour with input signals of different frequency where, in contrast to multiplier phase detectors, it is able to discriminate between differing input frequencies.

Page 32: PLL

32

1 > ω2

ω1Input 1

Input 2

Q1

Q2

time

(Q2 output inactive)

ω2

Figure 14a (bonus figure) Operation of the phase/frequency detector with non-equal input frequencies.

2. Loop components2. Loop components

Page 33: PLL

33

2. Loop components2. Loop components

If input 1 and input 2 are of frequencies 1 and 2, respectively, and 1 > 2, then the Q1 output is active whilst the Q2 output is a succession of short pulses with a mean value of virtually VOL. The probability that a rising edge of input 2 occurs between successive rising edges of input 1 is simply 2/1 and its position between successive edges varies uniformly, on average being in the centre. Thus there is a (1 - 2/1 ) probability that the Q1 output will not be reset between successive rising edges - giving maximum mean value during that cycle - and an 2/1 probability that the Q1 output will be reset - giving, on average, 50% of the maximum value. The response is therefore

Vp = (VOH - VOL) (1 - ω2/ω1) + 21(ω2/ω1) = (VOH - VOL) 1 -

2ω1

ω2

Using similar arguments, for 1 < 2 the result is

Vp = (VOH - VOL) 2ω2

ω1 - 1 (7)

(6)

Page 34: PLL

34

2. Loop components2. Loop componentsThe characteristic, shown in figure 15, is interesting in that there is a discontinuity at 1/2 = 1 indicating that, if the input frequencies differ just slightly the detector produces half its maximum output voltage. This is due to the changeover between active outputs around the point where the input signals are nearly in-phase. This clear frequency discrimination characteristic makes the phase/frequency detector very useful in PLL applications where the loop is required to pull into lock from a large initial frequency offset and for this reason it is probably the most commonly used type of phase detector.

0.01 0.1 1 10 100

VOH - VOL

1/2

Figure 15 Phase/reuency detector characteristic - diering inut reuencies.

Mean detector oututvoltage, V

Page 35: PLL

35

Twice input frequency Input frequency

Multiplier Sequential

Performance atinput S/N < 10 dB

Optimum dutycycle of

input signals

Good Poor

Capture range Poor Good to excellent

Tracking Poor Good

Ability to‘flywheel’ Yes No

50% Not important

Type of phasedetector

Property

AC output componentfrequency and level High Low

Capability ofharmonic locking Yes No

Phase offset ina locked loop 90° 0° or 180°

Figure 15a(bonus figure)Comparison ofmultiplier &sequentialphase detectors

2. Loop components2. Loop components

Page 36: PLL

36

2. Loop components2. Loop components

Frequency dividers

One of the most common uses of PLLs is in frequency synthesisers, where a range of output frequencies are generated from a single stable frequency reference. This requires the use of a variable ratio divider in the feedback path. There are other applications where fixed dividers are sufficient, such as in phase modulators or demodulators where a deviation beyond the range of the phase detector is needed, or in microwave frequency multiplier loops. It should be noted that frequency dividers act equally as phase dividers, so that a factor of 1/N must be allowed for in the loop equations.

The basic arrangement of a high frequency programmable divider is shown in figure 16. It uses a high frequency fixed-ratio prescaler dividing the input frequency by a factor of P, followed by a programmable counter dividing the frequency by a further factor of N, the total division ratio being NP. The duty cycle of the output signal of fixed-ratio prescalers dividing by an even number is normally 50%, whereas the duty cycle of the output signal of other prescalers and of programmable counters may be far from 50%. This fact limits the use of many programmable counters to PLLs with sequential phase detectors, which is fine in the majority of applications.

Page 37: PLL

37

2. Loop components2. Loop components

÷P ÷N

N

Input Output

PrescalerProgrammable

counter

Figure 16 High frequency programmable divider using a fixed-ratio prescaler.

ECL TTL/CMOS

~5 GHz ~100 MHz

The disadvantage of a PLL using this basic divider arrangement is that its output frequency is stepped in increments of P times the input or reference frequency. So, for a given output frequency increment, the reference frequency must be P times lower and this places more severe constraints on the loop natural frequency and hence loop performance. In particular, it increases the tuning time - which may be important in agile synthesiser applications - and it reduces the amount by which the VCO phase noise may be suppressed by locking to a clean reference signal.

An improved divider scheme, known as dual-modulus prescaling, is shown next...

Page 38: PLL

38

2. Loop components2. Loop components

N

A

÷N

÷A

Load

Load

÷P/P + 1

Dual-modulusprescaler

LogicInput Output

Modulus control

Low frequency counter/modulus control logic

Figure 17 Dual-modulus prescaling.

Page 39: PLL

39

2. Loop components2. Loop components

This makes use of a high frequency divider which divides by (P + 1) when the modulus control input is low and P when the modulus control input is high. A special low frequency counter is used to control the division ratio of the prescaler and consists of two programmable counters and some control logic. The two counters are initially loaded with the values N and A, where N ≥ A, and the modulus control signal is low so the prescaler divides by (P + 1). The counters are both decremented after each rising edge of the prescaler output until the A counter reaches zero. The modulus control signal then becomes high and the prescaler divides by P until the contents of the N counter reach zero, at which time the counters are reset and the cycle begins again. The division ratio is therefore

Nt = A(P + 1) + (N - A)P = NP + A, where N ≥ A.

Thus, by varying A from 0 to (P - 1), any integer value of division ratio is obtainable using this technique (subject to Nt(min) = P(P - 1)). This is a major advantage over the divider of figure 16 and, in frequency synthesiser applications, enables the output frequency to be stepped in increments of the reference frequency. Common prescaler ratios are 8/9 - allowing 3 A bits to be grouped with the N bits and treated as a single binary input and 10/11 - allowing a binary-coded-decimal representation of the division ratio. The more detailed timing considerations can be understood with reference to the example of figure 18 where N = 5, A = 3 and P = 4.

(8)

Page 40: PLL

40

2. Loop components2. Loop components

Figure 18 Dual-modulus prescaler timing diagram; N = 5, A = 3, P = 4.

State of modulus control at this pointdetermines prescaler division ratio

N

A

Input

Prescaleroutput

Moduluscontrol

Output

5 4 3 2 1 5

3 2 1 0 0 3

÷(P + 1) ÷(P + 1) ÷(P + 1) ÷P ÷P ÷(P + 1)

Page 41: PLL

41

2. Loop components2. Loop components

The N and A counters are initially loaded with the values of 5 and 3, respectively, and are decremented after each rising edge of the prescaler output. When A = 3, 2 and 1 the prescaler divides by 5 and when N = 2 and 1 it divides by 4, giving a total division ratio of 23. The output signal is derived from the short pulse used to reset the counters. It is important to note that the prescaler division ratio is determined by the state of the modulus control on the rising input edge when the prescaler output is about to become high. Thus the modulus control signal should be triggered by the prescaler output edge prior to the counter state in which the division ratio needs to be changed, i.e. A = 1 and N = 1. This arrangement allows the relatively low frequency counter and modulus control logic the maximum possible time in which to change the state of the modulus control - P or (P + 1) periods of the input signal. In practice, look-ahead decoding is often used to further increase the speed of operation.

The division ratio of dual-modulus prescalers can be increased using an arrangement such as that of figure 19. Dual modulus prescalers are usually designed with this in mind and include several modulus control inputs so that the external OR gate shown in the figure is not actually required.

Page 42: PLL

42

÷P/P + 1

Dual-modulusprescaler

Signalinput C

D Q1

Q1 C

D Q2

Q2

Output

Moduluscontrolinput

Moduluscontrol

Prescaler divisionratio

Q1 Q2

P/P+1PPP

1001

1100

Figure 19 Extension of the division ratio of a dual-modulus prescaler to 4P/4P + 1.

÷P if modulus control = 1÷ (P+1) if modulus control = 0

2. Loop components2. Loop components

Page 43: PLL

43

2. Loop components2. Loop components

The prescaler is followed by a ÷4 switch-tail divider, the two outputs of which are used as modulus control inputs. In three of the four possible flip-flop states the modulus control is thus held high and the prescaler is forced to divide by P. However, in the state before the Q2 output becomes high, the modulus control level is determined by the external control input and thus the prescaler division ratio of the next cycle may be P or (P + 1). The circuit therefore functions as a ÷4P/4P + 1 prescaler. It is important, from the timing considerations mentioned previously, that the modulus control input is active at the time when the Q2 output is about to become high. This point is often overlooked in data books and erroneous circuits are shown.

A further type of frequency divider which has applications in agile synthesisers, is known as a fractional-N divider. This, as the name implies, is capable of dividing by a fractional number. In reality however, it actually toggles between two successive integers to provide a mean division ratio somewhere in between. This type of divider produces a large amount of sawtooth modulation at the reference frequency which is reduced by applying a similar waveform to the loop filter input (or by using sigma-delta techniques).

Page 44: PLL

44

2. Loop components2. Loop components

Voltage-controlled oscillators (VCOs)

VCOs are electronically tunable oscillators in which the output frequency is dependent on the value of an applied tuning voltage. They are realised in many forms from RC multivibrators at low frequencies to varactor and YIG-tuned oscillators at higher frequencies. As far as the loop filter design is concerned, the most important property of VCOs is their tuning characteristic. The slope of this characteristic, the VCO gain, is a further factor to be included in the loop equations, in addition to the phase detector gain, Kp, and divider ratio, 1/N, and is defined as

Kv = dVt

dωo rad/s/V,

where o is the output frequency and Vt is the tuning voltage. A typical tuning characteristic is shown in figure 20, where it should be appreciated that units of rad/s/V would normally be used in loop calculations for compatibility with the units of the phase detector gain.

(9)

Page 45: PLL

45

2. Loop components2. Loop components

Tuning voltage, Vt, (V)

350 MHz

300 MHz

250 MHz

200 MHz

10 MHz/V

7.5 MHz/V

5 MHz/V

5 10 15 20

VCO frequency (MHz)

VCO gain, KV, (MHz/V)

Figure 20 A typical VCO tuning characteristic.

VCO gainOutputfrequency

Page 46: PLL

46

It can be seen that, as the tuning voltage is increased, the VCO frequency initially increases rapidly and then increases more gradually. The VCO gain therefore decreases as the operating frequency is increased. Typically, the VCO gain may be expected to vary by a factor of two in a varactor-tuned oscillator having a tuning range of around half an octave. This is compounded in frequency synthesiser applications by the 1/N variation in frequency divider gain. In practice, some means of compensation would usually be provided for significant variations in loop parameters with operating frequency. This may take the form of a non-linear DC amplifier placed before the VCO, or a loop filter with gain related to the division ratio.

2. Loop components2. Loop components

A further important property of VCOs in PLL applications is their degree of phase noise purity (although amplitude noise is not important since this may be removed by limiting). This is a complex subject, although it is fair to say that spectral purity is dependent largely on the Q of the resonant element in the oscillator. In a loop having a wide bandwidth, a significant improvement in the residual VCO phase noise may be obtained by locking to a stable reference frequency - derived, perhaps, from a quartz crystal oscillator.

Page 47: PLL

47

2. Loop components2. Loop components

Loop filters

Operation of the PLL of figure 1 may be represented by the signal flow graph shown in figure 21. Here the filter transfer function is represented, using Laplace notation, by G(s) and a 1/s term is included to translate the VCO output frequency, o, into phase, o. The closed-loop transfer function may be found from Mason’s rule which reduces to the following for a single-loop control system,

Kp G(s) Kv 1/s

-1/N

Vp Vt o

φi φo

Figure 21 Signal lo grah reresentation o a PLL.

φe

Closed - loop transfer function oututinut

ath gain rom inut to outut

1 − loo gain

sKpKvG(s)

− Ns

KpKvG(s)

Page 48: PLL

48

The closed-loop transfer function is therefore,

φi(s)φo(s) =

1 + NsKpKvG(s)

sKpKvG(s)

Loops are categorised according to their order and type, the definitions being borrowed from control theory. The order of a loop is defined by the highest power of s in the denominator of the closed-loop transfer function shown above and the type of loop is defined by the number of perfect integrators within the loop. All loops are at least type I because of the integrating action of the VCO.

The simplest loop is obtained when G(s) = 1 for which the transfer function is

φi(s)φo(s) =

KpKv

N s + 1N

(11)

2. Loop components2. Loop components

(10)

Page 49: PLL

49

This is clearly a first order type I loop and the loop transfer function is simply a first order low-pass response with a time constant of N/(KpKv). This loop is of very limited practical use since there is no filtering of the phase detector output. An improvement can be obtained by using a passive low-pass filter, but this also has limitations such as there being a finite phase offset necessary to support a steady-state VCO control voltage and possible acquisition and tracking problems. More useful loop filters fulfil a combination of low-pass and integrator properties, the latter function requiring the use of an active device such as an op-amp. In practice, virtually all designs include active loop filters since little, if anything, is to be gained from their passive counterparts.

Vo(s)Vi(s)

1/sC

R +1/sC

1sCR+1

1

ts+1

V i

R

C V o

Figure 21a (bonus figure) First order low-pass filter, showing identical response to a first order type 1 PLL..

2. Loop components2. Loop components

Page 50: PLL

50

3. The second order type II loop3. The second order type II loop

It functions as an integrator at low frequencies with a DC gain equal to that of the op-amp. Since this gain is very high it may be regarded as a perfect integrator at DC, for which the filter transfer function is

G(s) = R1

R2 + 1/sC

One of the most useful and popular designs of loop filter, producing a second order type II response, is shown in figure 22.

R1

R2 C

R1

R2 C

R1 R2

C

Input Output Input Output

(a) (b)

Figure 22 Second order type II loop filter; (a) single-ended input, (b) differential input.

+ +

(12)

Page 51: PLL

51

3. The second order type II loop3. The second order type II loop

Substituting this into equation (10)

φi(s)φo(s) = R1

KpKvR2

s2 + NR1

KpKvR2s + NR1CKpKv

s + 1/CR2

φi(s)φo(s) =

1 + NsKpKvG(s)

sKpKvG(s)

Substituting this into equation (10) yields the closed-loop transfer function

which may be written in a form compatible with standard control terminology,

Nφi(s)φo(s) =

s2 + 2ζωns + ωn2

2ζωns + ωn2

where the loop natural frequency, n, and damping factor, , are given by

n = NR1CKpKv =

2R2

NR1

KpKvC =

2ωnR2C

and

(13)

(14)

(the damped SHM equation)

Page 52: PLL

52

3. The second order type II loop3. The second order type II loop

These are the design equations for this particular loop filter, the loop properties depending entirely on the choice of the two parameters n and . In general, n determines the cut-off frequency of the response and determines the shape of the characteristic, = 1 being the case for critical damping. A value for of between 0.5 and 1 is normally used with 0.707 being a popular design choice because it gives rise to a Butterworth polynomial in the denominator of equation (13). Because of the widespread use of the second order type II loop and its relative simplicity of analysis, this loop is the subject of most of the remainder of the notes.

Stability (revision)

The stability of a control system consisting of a single negative feedback loop is described by two parameters of the Nyquist stability criterion: phase margin and gain margin. In order for a feedback system to be stable there must never be a frequency or frequencies where the gain around the closed-loop feedback path is greater than unity and simultaneously the phase shift is zero.

For a negative feedback system such as that shown in figure 22a, stability is marginal if at any frequency the loop gain, G(s)H(s), has unity magnitude and a phase of 180°. It is possible to assign stability margins by inspection of the polar plot of the variation of complex loop gain, G(s)H(s), over the complete frequency range from 0 to ∞.

Page 53: PLL

53

3. The second order type II loop3. The second order type II loop

+

G(s)

H(s)

SInut Outut

Re{G(s)H(s)}

Phase margin

Im{G(s)H(s)}

0

Gainmargin

Unit circle

Figure 22a (bonus figure) Nyquist stability criteria.

Page 54: PLL

54

The phase margin is defined as the difference between the loop phase arg[G(s)H(s)] and -180° at the frequency where the loop gain is unity and the gain margin is the difference in dBs between the loop gain |G(s)H(s)| and 0 dB at the frequency where the loop phase is 180°. Both phase margin and gain margin must be positive in order for the system to be stable. In terms of the polar plot of G(s)H(s), if the (-1, 0) point is enclosed then the system is unstable.

To determine the stability of the PLL, the loop gain KpKvG(s)/Ns must be considered,

loop gain = Ns

KpKvG(s)

from (10) from (13)

The modulus of the loop gain is

loop gain = (ω/ωn)

21 + 4ζ2(ω/ωn)

2

(15) = 1 - φo/Nφi

φo/Nφi = s2

2ns + n2

3. The second order type II loop3. The second order type II loop

Page 55: PLL

55

3. The second order type II loop3. The second order type II loop

and this falls from infinity at DC to zero at frequencies well above n, passing through unity when

( /n)2 22 + 44 + 1'

The argument of the loop gain is

arg(loop gain) = tan-1(2ζω/ωn) - 180°

= ( /n)2

1 + 42( /n)2''

i.e.

loop gain = s2

2ns + n2

(a quadratic in (’/n)2)

and so the phase margin, being defined as the difference between the argument of the loop gain and -180° at the frequency where the loop gain is unity, is

(16) = tan-1(2ζω /ωn) = tan-1

2ζ 2ζ2 + 4ζ4 + 1'loop gain =

(ω/ωn)2

1 + 4ζ2(ω/ωn)2

Page 56: PLL

56

3. The second order type II loop3. The second order type II loop

The phase margin for some commonly used damping factors is shown in table 1. The loop is stable, in principle, for all damping factor values - although at very low damping factors stability is marginal, whilst at high damping factors the loop response is very sluggish. For the usual range of damping factor, between 0.5 and 1, the phase margin lies healthily between 51.8° and 76.3°.

00.5

0.7071∞

051.865.576.390

Phasemargin ( ° )

Dampingfactor ζ

Table 1 Phase margin versus damping factor for a second order type II PLL.

Page 57: PLL

57

3. The second order type II loop3. The second order type II loop

Phase margin

Im(loop gain)

Re(loop gain)

→ 0

(−1, 0)

loop gain = s2

2ns + n2

Figure 22b (bonus figure) Polar plot of loop gain for the second order type II PLL.

Page 58: PLL

58

3. The second order type II loop3. The second order type II loop

Figure 22c (bonus figure) Circuit diagram of an L-band frequency synthesiser.

9V1

11121314151617

25 23212224

26 27 9 1

28 7 82,6,10,19

1n 1n4 MHz

2x BB405B

100k100k

Fine tuneinput

18k

7V5 47k

5V1 39k

56k

4k7

8k2

3k9

3V3

3

24

67

+15 V

251

MC145152P

27p

3k9

1n

1k

1n

470

470

470

1nMC12011 MC10131

+5 V8,9,10

4,5,6,8,11,12,13

1,16+5 V10n

7 14 15 13 42

5 1211

1,6,16

7 14 3915

210

3 +6V810n

A0

A3

A4N0

N6

1k81k82k2

22n 100n

2k2

22n

100n

1m+15 V

23 4

6

7

5534

1 mH

470n

+15 V47m 1n

VTO 9120

100 27 27

33

100MSA 0335-21

Outut

+15 V

390

10n

1n

0.1m

100

33

+15 V

32 4

6

7

+6V8680 56k

8k21k

10n

+15 V

TL071

Lock detect

22k

100

1n

100

220

680

1n

+5 V6 4

1411

7

SP8712B

10k1k2 0.10.1

10m

LM317M+15 V +6V8

+

+

+

Page 59: PLL

59

4. Modulation4. ModulationSingle point modulation

An important use of PLLs is in the phase or frequency modulation or of a stable carrier wave or, conversely, in the demodulation of phase or frequency modulated signals. The basic arrangement of such a modulator is shown in figure 23. Angle modulation is achieved by adding a modulating signal either before the loop filter for phase modulation or after the loop filter for frequency modulation.

Page 60: PLL

60

4. Modulation4. Modulation

Input OutputVCOLoop filterPhase detector

φ G(s)

÷N

Freuency divider

φi φo

Phase m odulationinut, V m

Freuency m odulationinut, V m

Figure 29 PLL with modulation capability and corresponding signal flow graph.

PM is achieved by effectively introducing an offset, Vpm, in the phase detector output voltage. The loop responds by adjusting the VCO phase by an amount o so that the phase detector output voltage, Kpo/N, opposes this offset and a new equilibrium point is reached. Thus the phase deviation is o = NVpm/Kp. The loop is less able to respond to modulation frequencies beyond the loop natural frequency and so the modulator exhibits a low-pass characteristic.

Kp G(s) Kv 1/s

-1/N

Vp Vt o

φi φo

V m V m

φe

Page 61: PLL

61

4. Modulation4. Modulation

In the case of FM, the addition of a signal after the loop filter acts to directly modulate the VCO frequency providing the loop response is slow enough that the loop filter output is not able to oppose the modulating signal. In other words, the loop maintains a constant average frequency whilst allowing rapid modulation around this frequency. This gives rise to a high-pass characteristic with a peak frequency modulation of o = VfmKv at high modulation frequencies.

Input OutputVCOLoop filterPhase detector

φ G(s)

÷N

Freuency divider

φi φo

Phase m odulationinut, V m

Freuency m odulationinut, V m

In both cases it is important that the phase detector operating range is not exceeded. For a phase/frequency detector this limits the peak phase deviation to 2N radians, and hence the modulation index is limited to 2N.

Page 62: PLL

62

4. Modulation4. Modulation

The loop response to a sinusoidal modulating signal component of frequency can be derived from the signal flow graph of figure 23 (above). For phase modulation, the loop transfer function is

NVpm(s)φo(s) =

1 + NsKpKvG(s)

NsKvG(s)

= Kp

1 Nφi(s)φo(s) =

Kp(s2 + 2ζωns + ωn

2)2ζωns + ωn

2

(17)

Kp G(s) Kv 1/s

-1/N

Vp Vt o

φi φo

V m V m

φe

Phase modulation

Page 63: PLL

63

4. Modulation4. Modulation

This is identical in shape to the closed-loop transfer function, o(s)/Ni(s), and represents a second order low-pass characteristic with a roll-off proportional to 1/s at high frequencies, giving a slope of 20 dB/decade. It is easy to show that the magnitude of the response is given by

NVpm

φoKp2

= [1 - (ω/ωn)

2]2 + 4ζ2(ω/ωn)2

1 + 4ζ2(ω/ωn)2

(18)

and this is plotted in figure 24. At frequency = √2n the magnitude of the response is

NVpm

φoK

2

1 + 82

1 + 82

indicating that the characteristic passes through 0 dB at this frequency irrespective of the damping factor value.

Page 64: PLL

64

4. Modulation4. Modulation

φoKp/NVpm

(dB)

0.1 0.3 0.6 1.0 3 6 10

4

0

-4

-8

-12

-16

-20

Figure 24 Phase modulation response of a second order type II PLL.

Frequency, ω/ωn

ζ = 0.5

ζ = 0.707

ζ = 1

The response peaks at around = 0.8n, the magnitude of the peak increasing as the damping factor is reduced. The characteristic passes through 0 dB at = √2n irrespective of the value of (this is apparent from inspection of equation (18)) and then falls off at a rate of 20 dB/decade. At high frequencies the response tends to 2n/, so there is an advantage in using a lower damping factor although this is offset by a corresponding increase in peak magnitude.

Page 65: PLL

65

4. Modulation4. Modulation

The general low-pass characteristic is useful to suppress phase noise beyond ± 2n, approximately, from the carrier frequency of the input signal. This is important in demodulator applications, but is of little value in synthesisers or other applications where the input S/N ratio is high.

The AC component of the phase detector output can be considered as a source of phase modulation and so figure 24 indicates the degree of suppression of this component. It is clear that the loop natural frequency must be well below the input frequency for there to be an appreciable amount of suppression. Higher order loops, such as the third order loop considered in section 7, have a steeper roll-off and are capable of greater suppression of such unwanted modulation components.

Rule of thumb: loop natural frequency ≤ reference frequency/100.

Page 66: PLL

66

4. Modulation4. Modulation

Kp G(s) Kv 1/s

-1/N

Vp Vt o

φi φo

V m V m

φe

From the signal flow graph of figure 23 (above), the loop transfer function for a frequency modulation signal, Vfm, added to the loop filter output is

Vfm(s)ωo(s) =

1 + NsKpKvG(s)

Kv and, using equation (15), this can be written,

Vfm(s)ωo(s) =

s2 + 2ζωns + ωn2

Kvs2

(19)

Frequencymodulation

loop gain = s2

2ns + n2

Page 67: PLL

67

4. Modulation4. Modulation

This is a second order high-pass characteristic with a roll-off of 40 dB/decade at low frequencies. It is easy to show that the magnitude of this response is given by

KvVfm

ωo2

= [1 - (ω/ωn)

2]2 + 4ζ2(ω/ωn)2

(ω/ωn)4

(20)

and this is plotted in figure 25...

Page 68: PLL

68

4. Modulation4. Modulation

o/KvVfm

(dB)

0.1 0.3 0.6 1.0 3 6 10

10

0

-10

-20

-30

-40

Figure 25 Frequency modulation response of a second order type II PLL.

Frequency, ω/ωn

ζ = 0.5ζ = 0.707ζ = 1

At damping factors well below 0.707 the response has a pronounced peak, whereas for damping factors well above 0.707 the roll-off is very gradual. The optimum damping factor of 0.707 gives rise to a Butterworth high-pass response producing the maximally flat characteristic seen in figure 25. This is clearly a good choice of damping factor for FM modulators.

Page 69: PLL

69

4. Modulation4. Modulation

In many applications, such as frequency synthesisers, the VCO in a PLL has a much higher residual phase noise level than the reference (input) signal, since the latter is usually a highly stable signal derived, perhaps, from a crystal oscillator. Under these circumstances, the phase noise profile of the loop output, fn(s) say, is determined entirely by the VCO noise. However, the loop acts to reduce this residual VCO phase noise by locking any phase perturbations to the stable phase reference. The suppression obtained can be modelled by adding phase noise, n(s), to the output node of the signal flow graph of figure 23.

Hence

φn(s)φo(s) =

1 + NsKpKvG(s)

1 = s2 + 2ζωns + ωn

2s2

and this is of exactly the same form as the FM characteristic, with the result as shown in figure 25. Phase noise is suppressed by 40 dB for every decade below the loop natural frequency. Thus, a distinct advantage of using a high loop natural frequency is that a considerable improvement in VCO spectral purity can be achieved.

(21)

Kp G(s) Kv 1/s

-1/N

Vp Vt o

φi φo

Figure 25a PLL ith VCO hase noise.

φe

φn

Page 70: PLL

70

4. Modulation4. Modulation

Figure 25b (bonus figure) Illustration of the improvement in VCO phase noise in a high-speed PLL.

Unlocked VCO SSB phase noise

frequency

(dBrad2 /Hz)

PLL FM response(dB)

0 n- nreuency

Locked VCO SSB phase noise

frequency

(dBrad2 /Hz)

Page 71: PLL

71

4. Modulation4. Modulation

100 mH1n100n

2k71 mH

68051 220

BFY90

100 mH1n100n

2k2470 nH

33010 150

MRF581

51 1n

56

2x BB405B

56

10n+9 V

8k27

46

2

3

+15m

+9 V

39k

33k

33k

OP-27

100k

470n

Audioinut

10n

1n

1 mH

1n 1k251

1n

1k2 1k2

1k2

56 nH 56 nH

47

1n

RF outut23 dBm, 50Ω

PINdiodes

+9 V

67 4

2 3

OP-27

680n 100n

18k

100n

680n

18k

1M 1M

33k

4 MH

65

27

8 727

26

3

+5 V

10n

9

1

2,5,6,10,19,20,24,25

18,17,16,15,14,13,11,22,21,23

64 32 8 2 14 8 4 2 116

MH 62.5 kH

8,9,11,12,13

1,6,16

10

72 3 4 5

15

14

1n

MC12011MC145152 1k

1n

120

1n

1n

7

46

2

3

+5 V

741

+9 V2k2

8k2

10n

47k

680

out o lockindicator

28

33k

+9 V +5 V7805

*

* 51/2 turns on 1/4" ormer

VCO Outut stage Outut disable Outut ilter

Synthesiser

Lock detect

Audio summer

220n 470n

3k9

+

+

+

Figure 25c (bonus figure) An FM transmitter using PLL techniques.

Page 72: PLL

72

4. Modulation4. ModulationTwo point modulation

The modulation techniques described so far enable the loop to be phase modulated by baseband signals of frequency below 2n, approximately, and/or frequency modulated by baseband signals above n, approximately. If, for particular design reasons, the loop natural frequency is too low in the former case or too high in the latter case then it may not be possible to modulate the loop within the pass band of its characteristic. This problem may be overcome to a certain extent by using a compensating filter in the baseband circuitry to extend the pass band.

PLL FM response(dB)

frequency500 Hz

0

−40

Compensating filter(dB)

frequency

40

0

Modified PLL FM response (dB)

50 Hz

0

−40reuency

Figure 25d (bonus figure) Extension of FM range by means of a compensating filter.

Page 73: PLL

73

However, this is not very satisfactory when an increase in bandwidth of much more than an octave is required because it inevitably leads to high signal levels in the loop filter which gives rise to distortion and noise problems. A better solution is to use a modified combination of the phase and frequency modulation techniques described earlier in this section known as two-point modulation. This technique is equally applicable to PM and FM and will be described for FM shortly.

4. Modulation4. Modulation

Efm(t) Eccos[c +KV m(t)]t[ ]

and similarly, the general form of a phase modulated signal where the carrier phase is modulated in direct proportion to an arbitrary modulating function Vpm(t), is

Epm(t) Eccos[ct+KV m (t)]

But first a quick look at the equivalence of phase and frequency modulation.

The general form of a frequency modulated signal, whereby the carrier frequency is modulated in direct proportion to an arbitrary modulating function Vfm(t), is

Page 74: PLL

74

4. Modulation4. Modulation

The instantaneous phase of the phase modulated carrier is therefore

φ(t) = ωct + KV pm(t)

and so the instantaneous frequency is

( t) = ωc + KdV pm(t )

dt

This compares with the instantaneous frequency of a frequency modulated signal,

( t) = ωc + KV fm (t)

from which it is clear that the two forms of modulation are equivalent if the following transformation is made,

V fm( t)dV m (t)

dt

Page 75: PLL

75

4. Modulation4. Modulation

Figure 25d (bonus figure) Conversion between phase and frequency modulation and demodulation.

Vfm( t) ∫ Phasemodulator

Freuency modulator

RF signalmV (t)

V fm(t) Frequencymodulator

Phase modulator

RF signalV pm(t)ddt

Phasedemodulator

Frequency demodulator

RF signal fmV ( t)Vpm(t) d

dt

V fm(t)Vpm(t)∫Freuency

demodulator

Phase demodulator

RF signal

Page 76: PLL

76

4. Modulation4. Modulation

Input OutputVCOLoop filterPhase detector

φ G(s)

÷N

Freuency divider

φi φo

Freuency m odulationinut, V m

∫Integrator A/s

V m 1 V m 2

Kp G(s) Kv 1/s

-1/N

Vp Vt o

φi φo

V m

V m 1 V m 2

A/sφe

Figure 26 PLL with two-point modulation and corresponding signal flow graph.

Two-point modulation

Page 77: PLL

77

4. Modulation4. Modulation

Firstly, the phase modulation input can be used to produce frequency modulation by the inclusion of an integrator, of response A/s, in the baseband circuitry - as shown in figure 26 (above). This gives, from equation (17),

(22)

Kp G(s) Kv 1/s

-1/N

Vp Vt o

φi φo

V m

V m 1 V m 2

A/sφe

Vfm1(s)o(s)

1 + Ns

KKvG(s)s

AKvG(s)

K

AN N φi(s)

φo(s) K(s

2 + 2ns + n2)

(2ns + n2)AN

Page 78: PLL

78

4. Modulation4. Modulation

This describes the same low-pass response as shown in figure 24. By applying the same modulating signal to the usual FM modulation point in the loop, the overall response is

Vfm(s)o(s)

K(s2 + 2ns + n

2)

AN(2ns + n2)

+ s2 + 2ns + n

2

Kvs2

via integrator in PM port

direct to FM port

(23)

Thus, if the integrator has a weighting of

A = NKpKv

then the response is flat (o = KvVfm) for all frequencies. It should be noted that this technique can be used, with the same integrator weighting, for any type of loop filter although, in practice, it may be necessary to adjust the weighting to suit the variation in the factor Kv/N as the output frequency changes. A similar technique may be used to achieve two-point phase modulation, requiring the inclusion of a differentiator in the FM input.

(24)

Page 79: PLL

79

4. Modulation4. Modulation

Demodulation

PLLs may also be used for phase or frequency demodulation. However, as we shall see, their characteristics are different from those applying to modulation. Demodulation is achieved simply by applying the modulated signal to the loop input and using the phase detector output voltage for phase demodulation and the loop filter output voltage for frequency demodulation.

Page 80: PLL

80

4. Modulation4. Modulation

KpG(s) Kv 1/s

-1/N

Vp Vt

oφi

φoi

1/s

Figure 27 Signal lo grah o a PLL used or demodulation.

φe

Referring to the signal flow graph of figure 27, the phase demodulator response is

φi(s)Vp(s) =

1 + NsKpKvG(s)

Kpand, using equation (15), this becomes

φi(s)Vp(s) =

s2 + 2ζωns + ωn2

Kps2

(25)loop gain =

s2

2ns + n2

Page 81: PLL

81

4. Modulation4. Modulation

This is a high-pass response similar to that of an FM modulator, as shown in figure 25, where the vertical scale now represents Vp/Kpi. Thus this arrangement is useful as a phase demodulator providing the modulation frequency band is above the loop natural frequency.

KpG(s) Kv 1/s

-1/N

Vp Vt

oφi

φoi

1/s

Figure 27 Signal lo grah o a PLL used or demodulation.

φe

For frequency demodulation the response is

ωi(s)Vt(s) =

1 + NsKpKvG(s)

sKpG(s)

and, again using equation (15), this becomes

ωi(s)Vt(s) =

Kv(s2 + 2ζωns + ωn

2)N(2ζωns + ωn

2)(26)

loop gain = s2

2ns + n2

Page 82: PLL

82

4. Modulation4. Modulation

This is a low-pass response similar to that of a PM modulator, as shown in figure 24, where the vertical scale now represents VtKv/Ni. This shows that the loop is useful as a frequency demodulator providing the modulation frequency band lies below approximately twice the loop natural frequency.

It is important with both PM and FM demodulation that the phase detector is used within its operating range. The phase error between the two applied phase detector inputs is given by

φe = φi - φo/N = φi(1 - φo/Nφi)

Nφi(s)φo(s) =

s2 + 2ζωns + ωn2

2ζωns + ωn2

and, using equation (13), the phase detector error is given by

φi(s)φe(s) =

s2 + 2ζωns + ωn2

s2(27)

Page 83: PLL

83

This is the familiar high-pass response of figure 25 showing that, for modulating frequencies substantially beyond the loop natural frequency, the phase error is equal to the input phase deviation - a quite obvious conclusion. So, for a phase demodulator, the input phase deviation is restricted to within the phase detector operating range. This is quite a limitation in the case of analogue multiplier phase detectors although more elaborate phase detectors are available, such as the tanlock detector, with extended operating ranges.

The loop filter design for a frequency demodulator is influenced by two factors. Firstly, the loop natural frequency must be at least one half the highest modulating frequency for the response to be reasonably flat over the modulation bandwidth (figure 24). Secondly, the loop natural frequency should be chosen so that the peak phase detector error, e, is just below the phase detector operating range for optimum noise performance. If the modulation index is less than the phase detector range then this second consideration is unnecessary.

4. Modulation4. Modulation

Page 84: PLL

84

4. Modulation4. Modulation

For an input signal with a maximum modulating frequency of m and a peak deviation of , the peak phase error, using equation (27) (with s = jm and imax = /m), is

φe max = ωmΔω

[1 - (ωm/ωn)2]2 + 4ζ2(ωm/ωn)

2

(ωm/ωn)2

(28)

As an example, consider the design of an FM demodulator using an exclusive-OR gate phase detector, capable of demodulating an input signal with a modulation index of 4. Firstly, from frequency response considerations, n ≥ 0.5m. The maximum tolerable phase error using this type of phase detector is /2 rads and, assuming a damping factor of 0.707, from (28) the required loop natural frequency is therefore n ≥ 1.53m.

Multiplier type phase detectors would normally be used in demodulators because of their superior noise performance. In fact, a properly designed PLL FM demodulator has a lower FM threshold than other types of demodulator, allowing improved performance at low S/N ratios. However, if the input S/N ratio is guaranteed to be high, then a digital phase/frequency detector with an operating range of ±2 rads would be preferred. This caters for modulation indices of up to 2 without any further requirement on the loop natural frequency so that n ≈ 0.5m could then be used in this example.

Page 85: PLL

85

4. Modulation4. Modulation

In applications where the loop natural frequency lies within the modulation bandwidth, a two-point technique similar to that for modulation could be used. For FM demodulation this entails combining the differentiated phase demodulation output, Vp, with the frequency demodulation output, the differentiator having a weighting of N/KpKv.

Page 86: PLL

86

4. Modulation4. Modulation

Why use PLL demodulators?

10

Output S/N ratio (dB)

Input S/N ratio (dB)0

PLL FM discriminatorOther FM discriminators

30

40

20

Figure 27a (bonus figure) Illustration of the threshold extension possible from PLL FM discriminators.

Page 87: PLL

87

+15 VLM317

6k8

1k2k2

1n5

180

220

1n

330p

330p2k2

10

10k

1m

10n

1k

2256

10kBB405B

2k2

1n

330

+15 V

1n

M-108

1n3301n

1n

10k

27k 1n5

33n

220k

4n710k

47n

100m470m

2.7100n

470n

+15 VOP-07

MSA 0335-21

GP-402

LM380

+15V

23 6

12

148

3,4,5,7,10,11,12

Inut: 21.4 MH @ −10 dBm ± 10 dB

100m

BFY90

+

4. Modulation4. Modulation

Figure 27b (bonus figure) Circuit diagram of a PLL FM demodulator.

Page 88: PLL

88

5. Noise performance5. Noise performance

PLLs can be thought of as tracking filters which admit input signal and noise components within approximately ±n of the carrier frequency and exclude components outside this range. The effects of noise on the input signal of a PLL shall be considered in this section.

A convenient measure of the ability of a PLL to reject input noise is its equivalent rectangular noise bandwidth, often abbreviated to noise bandwidth. A real life filter transfer function, such as that of figure 24, can be approximated by a hypothetical rectangular function, of bandwidth BL Hz say, where BL is chosen so that equal noise power is transferred by both filters. BL is then termed the noise bandwidth of the filter. This definition assumes that the filters are presented with a uniformly distributed noise spectrum. The situation is illustrated in figure 28 where a filter of amplitude response G(f) is presented with input noise of spectral density h W/Hz.

Noise bandwidth

Page 89: PLL

89

5. Noise performance5. Noise performance

G(f)

f

Real filter

G(f)2

f

Real filter

noise power = h∫0

G()2 d

G(f)2

fBL

Hypothetical filter withrectangular characteristic

Figure 28 Definition of equivalent rectangular noise bandwidth.

Equal areas

Page 90: PLL

90

5. Noise performance5. Noise performance

The noise power passed by the real filter in a small bandwidth df is h|G(f)|2df and so the total noise power transferred is

noise power = η∫0

G(f) 2 df

This compares with the noise power that would be allowed through a filter with a perfectly rectangular shape and of cut-off frequency BL, which is simply hBL, and so the one-sided noise bandwidth is

BL = ∫0

G(f) 2 df

In this application, G(f) relates to the phase transfer function o/Ni giving, for a type II second order loop...

Page 91: PLL

91

5. Noise performance5. Noise performance

BL = 2π1 ∫

0

Νφi(ω)φo(ω)

2

dω = 2π1 ∫

0

ωn

2 - ω2 + 2jζωωn

2jζωωn + ωn2

2

dω Hz

which reduces to

(30)BL = 2n +

4

1 ≡ n +

4

1 H

By differentiating this expression it is easy to show that the minumum noise bandwidth times the loop natural frequency at a damping factor of 0.5; because this is a one-sided bandwidth, input noise is admitted within a bandwidth of at least 2fn. Although minimum noise bandwidth is achieved with a damping factor of 0.5, the noise bandwidth for unity damping factor is only 25% or 0.97 dB higher. It is now appropriate to summarise the properties of the three commonly used damping factors. = 0.5 gives minimum noise bandwidth; = 0.707 gives a Butterworth FM characteristic and = 1 gives critical damping for optimum transient response.

Page 92: PLL

92

5. Noise performance5. Noise performance

Phase jitter

Additive noise at the input of a PLL is not translated to additive noise at the loop output since the VCO signal may only be phase or frequency modulated by the loop. Instead, input noise close to the carrier frequency is translated into noise components on the DC signals within a locked PLL which produces phase noise on the VCO output signal. This phase jitter can readily be quantified knowing the signal to noise spectral density ratio of the input signal. For the analysis, the input signal plus band-limited additive noise shall be conveniently represented by

Vi(t) = Eccosωit + En(t)cos(ωit + θn(t))

where Ec and En(t) are the carrier and noise amplitudes, respectively and n(t) is the random noise phase. This expression is used to represent an input carrier plus uniformly distributed noise within some arbitrary bandwidth Bi. In practice the input signal would be band-limited to some extent in order to provide a reasonable S/N ratio at the phase detector input although, providing the input bandwidth is at least twice the loop noise bandwidth, input filtering has no effect on loop phase jitter.

(31)

Page 93: PLL

93

5. Noise performance5. Noise performance

Denoting the power spectral density of the input noise by h V2/Hz, the input noise power is therefore hBi and, since the input carrier power is Ec

2/2, then the input S/N ratio is

S/Ni = 2hBi

Ec2

here hBi≡En

2/2

Ec

En(t)φi(t)

n(t)

Quadrature noise comonent

In-hase noisecomonent

Figure 29 Reresentation o signal lus band-limited noise.

The noise may be resolved into two separate components in phase and in quadrature with the carrier, as shown in figure 29.

Ep

φi ≈ Eq Ec and Ep2 = Eq

2 = En2 / 2

so Δφi2 ≈ En

2

2Ec2

Eq

Page 94: PLL

94

5. Noise performance5. Noise performance

In an exclusive-OR type of phase detector, the signal amplitude is irrelevent and it is just the resultant phase of the signal plus noise which is of interest. Assuming the S/N ratio within the loop noise bandwidth is reasonably high, then only the quadrature noise component contributes to phase modulation and the effective phase jitter on the input signal, i(t), has a mean square value of

Δφi2 =

2Ec2

En2

= Ec

2ηBi = 2S/Ni

1 (32)

and is uniformly distributed within the input bandwidth Bi. Here the small angle approximation tan(i(t)) ≈ i(t) has been made. The loop responds to this uniformly distributed phase noise by, effectively, passing all components within ±BL of the carrier frequency and rejecting all components outside this range. Assuming BL < Bi/2, the mean square phase jitter on the VCO output is therefore

Δφo2 = Bi

2BLN2Δφi

2

Substituting equation (32) this becomes...

Page 95: PLL

95

5. Noise performance5. Noise performance

Δφo2 = S/NiBi

N2BL(33)

This can be further simplified by noting that S/NiBi = S/(Ni/Bi) = (Ec2/(2h) - the input

carrier to noise spectral density ratio - which is often denoted by C/no, giving

rms phase jitter = N C/no

BL rads. (34)

This expression is very useful in estimating phase jitter in (amongst others) receiver applications where the input carrier to noise spectral density ratio is derived directly from link budget calculations. It is valid for phase jitters of up to around 12°, beyond which the small angle approximation made in the analysis no longer applies and the phase jitter begins to increase more rapidly. The same result can also be shown to apply to analogue multiplier type phase detectors. It must be appreciated that the phase jitter in loops using sequential phase detectors operating at relatively low input S/N ratios (< 15 dB, say) is very much higher than this result would suggest because the phase detector is not able to average the effects of noise over a complete input cycle but merely responds to discrete edges of the input waveform. For this reason, multiplier phase detectors must be used in applications where the input S/N ratio is low and the preceding analysis may only generally be applied to this case.

Page 96: PLL

96

5. Noise performance5. Noise performance

Example phase jitter calculation.

C (Ec2 /2R )

PLL

Noise actor F

Freuencyconvertor

IF Filter

Noisebandidth B

Front-endamliier

Signal oer

in

Figure 29a (bonus figure) A general PLL-based receiver.

Phase jitter calculations are frequently made in communications applications where it is easy to derive the carrier power to noise spectral density ratio, C/no, by standard link budget calculations. Referring to figure 29a, this is given by

C/n =oC

KTF(34a)

Page 97: PLL

97

5. Noise performance5. Noise performance

As an example of a typical link budget calculation, suppose we have a receiver with a noise figure of 10 dB incorporating a PLL with a noise bandwidth of 100 kHz, which is receiving an incoming signal of level -100 dBm. With the aid of equations (34) and (34a) it is easy to calculate the expected loop phase jitter. Firstly, C/no may be conveniently found by manipulating parameters in dB terms (where 0 dBm = 1 mW),

C/no -100 dBm -10 dB -10 log10(KT) dBm/H

-110 dBm +174 dBm/H 64 dBHC/n =o

CKTF

and then the loop phase jitter may be calculated from equation (34),

rms phase jitter 12

50 dBH - 64 dBH[ ] - 7dB rads ≡ 0.2 rads or 11.4° rms.

rms phase jitter = NC/no

BL rads.

Page 98: PLL

98

5. Noise performance5. Noise performance

By analogy with equation (32), the loop S/N ratio may be defined by

Δφo2 = 2S/NL

1

giving

S/NL = 2BL

S/NiBi ≡ 2BL

C/no (35)

Unlike phase jitter, loop S/N ratio has no distinct physical meaning because of the absence of an AC signal within a locked loop to compare with any noise; however it is a useful quantity for specifying other aspects of loop behaviour such as cycle slipping.

Page 99: PLL

99

5. Noise performance5. Noise performance

Effects of pre-phase detector limiting

φ G(s)

÷N

Input OutputVCOLoop filter

Phase detector

Frequency divider

φi φo

Bandpassfilter

Hardlimiter

Figure 30 PLL with bandpass limited input.

Signal limiting prior to the loop input is often incorporated in PM or FM demodulator applications to prevent loop behaviour from varying with fluctuations in signal strength. Typically, an analogue multiplier phase detector would be used which would be preceded by a hard limiter and a bandpass filter, as shown in figure 30. Alternatively, an exclusive-OR phase detector could be used without the need for a limiter.

Page 100: PLL

100

5. Noise performance5. Noise performance

The incorporation of limiting has two effects on the signal entering the phase detector. Firstly, the additive S/N ratio is modified by the limiting action. At high input S/N ratios this results in a 3 dB improvement in S/N ratio (since the quadrature noise component makes no contribution), whereas at low S/N ratios it causes a 2 dB degradation. This, however, does not influence loop phase jitter, as confirmed in both theory and practice, because the phase detector is insensitive to amplitude noise. The second and more important effect is a reduction in signal strength due to the limiter being dominated by noise at low S/N ratios. This directly affects the phase detector gain which is reduced, at low input S/N ratios, by the limiter signal suppression factor,

α ≈ 4/π + S/Ni

S/Ni

From equation (14), the loop natural frequency, n, and damping factor, , are proportional to the square root of the phase detector gain:

(36)

ωn = NR1CKpKv and ζ = 2

R2NR1

KpKvC = 2ωnR2C (14)

Page 101: PLL

101

5. Noise performance5. Noise performance

and hence the modified values of these parameters, na and a, taking into account limiter signal suppression, are

ωnα = α ωn and ζα = α ζ.

The variation of loop noise bandwidth with a, from equation (30), is therefore

BL = 2ωn ζ +

4ζ1

HzBL = 2ωn αζ +

4ζ1

(37)

This result shows that at low input S/N ratios the loop noise bandwidth becomes smaller - which is a potentially useful effect. As an example, in a PLL carrier recovery application, it may be sensible to choose the bandpass filter bandwidth such that a = 0.5 at the minimum expected input signal level (requiring that S/Ni = -3.7 dB). The loop filter may then be designed to provide a damping factor of 0.707 at high S/Ni which falls to 0.5 at low S/Ni - the corresponding change in loop noise bandwidth being from 0.75n to 0.5n, a 1.8 dB variation. Thus the loop has the desirable properties of Butterworth characteristics at high input signal levels and reduced noise bandwidth at low input signal levels.

Page 102: PLL

102

5. Noise performance5. Noise performance

Figure 30a. Phase detector output waveforms in the presence of noise.

High signal level

Medium signal level

Low signal level

Page 103: PLL

103

The treatment given so far has assumed that the loop is in lock. However, at start-up the fed back VCO frequency is likely to be very different to the input frequency and so the loop is far from its stable locked condition. The process of attaining lock is called acquisition and is of great importance in many PLL circuits.

6. Acquisition6. Acquisition

Self-acquisition

A PLL which is able to pull into lock naturally without the aid of any additional circuitry is called self-acquiring. Any PLL using a phase/frequency detector falls into this category since this type of phase detector provides a very clear indication of the frequency deviation of the loop from its locked condition. Conversely, a PLL which is unable to acquire lock rapidly enough, or at all, by itself may require additional aided acquisition circuitry to assist the acquisition process. PLLs using analogue multiplier phase detectors are the most likely to require aided acquisition since their acquisition range (or capture range) is the smallest of all the commonly used phase detectors. The following definitions and results apply to PLLs using analogue multiplier phase detectors and therefore should be regarded as conservative estimates of the performance of PLLs using other types of phase detector.

Page 104: PLL

104

6. Acquisition6. Acquisition

The lock-in range of a PLL is defined as the initial frequency offset range over which the loop is able to acquire lock without any cycle slips occuring. Acquisition then simply results in a phase transient which may be solved analytically for a first order loop. The lock-in limit for a first order loop can be shown to be equal to the loop gain and it may be argued that a similar result applies for higher orders of loop so that the lock-in limit is given by

ΔωL ≈ ± NKpKvG(∞) (38)

The time taken for the loop to reach phase lock once the frequency error is within the lock-in limit is given approximately by

TL ≈ ωn

1(39)

The concept of lock-in range for second order loops is somewhat vague since it is a function of both initial phase and frequency offset. Nevertheless, the results quoted are useful starting points in any practical design.

Page 105: PLL

105

6. Acquisition6. Acquisition

If the initial frequency offset is beyond L but within the pull-in limit, then the loop is able to acquire lock but slips cycles during the acquisition process. The acquisition mechanism is now more tenuous, but is quite interesting. The phase detector forms a beat note equal to the frequency offset of the loop from lock. This modulates the VCO frequency and so corrupts the original sinusoidal nature of the beat waveform, introducing a DC component. This DC component serves to adjust the mean frequency of the VCO and so bring the loop closer to lock. The process then accelerates until lock is acquired. Analysis of the situation is complicated and involves many approximations.

φ G(s)

÷N

φ G(s)

÷N

Phase detectoroutputVp(t)

Open-loop

Zero mean DC value

Closed-loop

Finite mean DC value

Figure 30b (bonus figure) Acquisition mechanism in a PLL based on a multiplier phase detector.

Page 106: PLL

106

6. Acquisition6. Acquisition

An approximate expression for the pull-in limit is

Δωp ≈ ± NKpKv 2G(0)G(∞) (40)

Since G(0) may be very large for an active loop filter, it is clear that the pull-in limit may be much greater than the lock-in limit. The corresponding pull-in time is given by

Tp ≈ 2ζωn

3(Δω)2

(41)

from which it can be seen that for narrow loop bandwidths the pull-in time may be unacceptably long. A further practical factor which has not yet been taken into consideration is that the lock-in limit may be greatly diminished by the phase detector DC offset. This offset can very easily exceed the small DC component of the phase detector output and, if its polarity is unfavourable, prevent lock from occurring. In a loop using an active filter this invariably means that the loop latches-up at one of its extreme values of VCO frequency. In my experience, a good rule-of-thumb estimate for the capture range of a PLL incorporating a multiplier type of phase detector, accounting for the phase detector DC offset, is ±10n.

Page 107: PLL

107

6. Acquisition6. Acquisition

The hold-in limit defines the range of frequencies over which the loop is capable of locking and depends on the DC loop gain. For an analogue multiplier phase detector, the maximum output voltage is simply equal to the phase detector gain, Kp, and so the maximum frequency range of the VCO (assuming that none of the loop components saturate) is ±KpKvG(0). Thus the hold-in range is

ΔωH = ± NKpKvG(0)

(42)

and this is greater than the pull-in range for active loop filters.

The ability of a loop to acquire lock is greatly impaired at low S/N ratios and it is generally considered that the loop S/N ratio must be at least 6 dB for acquisition to occur. Indeed, a loop operating at low S/N ratio tends to slip cycles due to the presence of noise. The mean time between these cycle slips can be expressed as a function of the loop S/N ratio,

Tav ≈ ωn

2 exp(πS/NL) (43)

Page 108: PLL

108

As an example, consider the case of a PLL using an analogue multiplier phase detector and a second order type II filter, designed for a loop natural frequency of 10 kHz, a damping factor of 0.707 and with the following parameters: Kp = 1 V/rad, Kv = 20 kHz/V and N = 1. From the design formulae, equation (14), the filter design requiresR1C = 31.8 ms and R2C = 22.5 ms. Thus, the high-frequency filter gain is G(∞) = R2/R1 = 0.71 and the DC filter gain, G(0), is equal to the open loop gain of the particular op-amp used in the design - which will be around 100000 (give or take a factor of 10!).

From equations (38) to (41), the lock-in and pull-in limits and times are therefore fL = ±14.2 kHz, TL = 16 ms; fp = ±7.5 MHz and Tp = 1.1 ms from an initial frequency offset of f = 100 kHz.

It should be appreciated that the pull-in limit calculated here is strictly a theoretical limit which can only be achieved under perfect conditions. In particular, the presence of any DC phase detector offset will serve to greatly reduce the actual pull-in limit in a practical circuit. The ‘rule-of-thumb’ estimate of pull-in range in this example is ten times the natural frequency, or ±100 kHz, which is likely to be a much more realistic limit than that calculated above and the associated capture time from an initial frequency offset of 100 kHz is the sum of TL and Tp which is around 1.1 ms.

Page 109: PLL

109

6. Acquisition6. Acquisition

Aided-acquisition

There are several ways of helping a PLL to attain lock. The most common of these involves the use of a DC signal inserted at the loop filter input which linearly sweeps the frequency of the VCO, as shown in figure 31.

φ

φ

DC threshold voltage

-90°

Lockdetector

Sweepgenerator

VCOPhase

detector

Loop filter

Input

Output

Disable

Phasedetector

Figure 31 PLL with frequency swept aided acquisition.

Comparator+

+

If the sweep rate is sufficiently low, then when lock is imminent the natural action of the loop takes over from the imposed sweep signal bringing the frequency sweep to a halt and allowing the loop to lock. A lock detector is then used to disable the sweep signal.

Page 110: PLL

110

6. Acquisition6. Acquisition

The maximum rate at which the loop may be swept can be determined as follows.

Suppose a loop is locked to an input signal which is swept at a uniform rate ofd/dt = K rad/s2. The input phase is the double integral of d/dt which can be represented in Laplace notation,

φin(t) = 2Kt2 so φin(s) =

s3K

Using equation (27), the phase error transient resulting from the introduction of a frequency ramp at t = 0 is given by

φe(s) = s(s2 + 2ζωns + ωn

2)K

and the steady state phase error may be found from the final value theorem,

φe(t)lim t→ ∞

= sφe(s)lim s→ 0

= ωn

2K

(44)

φi(s)φe(s) =

s2 + 2ζωns + ωn2

s2

Page 111: PLL

111

6. Acquisition6. Acquisition

This result applies to any second order type II PLL and shows that the loop is able to track a frequency ramp with a finite phase error. In the case of an analogue multiplier phase detector, the effective operating range is 1 radian (because the response is sinusoidal) which means that the maximum sweep rate that the loop can possibly track is n

2 rad/s2. This is the absolute limit on the sweep rate that can be used with the circuit of figure 31 since beyond this the loop would be unable to arrest the imposed frequency sweep. In fact, a somewhat lower sweep rate is needed if reliable operation is required from the circuit and it has been found that a sweep rate of 0.5 n

2 or below allows the method to be used with virtually 100% probability of acquisition occurring on a single sweep. It should be noted that at low loop S/N ratios the sweep rate must be reduced still further to allow reliable operation.

φe(t)lim t→ ∞

= sφe(s)lim s→ 0

= ωn

2K

(44)

Page 112: PLL

112

φ

φ

DC threshold voltage

-90°

Lockdetector

Sweepgenerator

VCOPhase

detector

Loop filter

Input

Output

Disable

Phasedetector

Figure 31 PLL with frequency swept aided acquisition.

Comparator+

+

Figure 31 also illustrates a method of detecting when phase lock has been acquired. An additional phase detector is used as a quadrature detector ( i.e. with a 90° phase shift included in one of its inputs) to detect when the loop phase error is 90°, which is the steady state lock condition for a loop incorporating a multiplier phase detector.

6. Acquisition6. Acquisition

Page 113: PLL

113

When the loop is out of frequency lock, the quadrature phase detector output is an AC waveform which is suppressed by the low-pass filter so that the comparator output is low. As the loop enters its lock-in range, the quadrature detector output becomes a DC signal dependent on the loop phase error and with a maximum value when the loop is locked. This DC signal then triggers the comparator, thus providing a clear indication of phase lock. The quadrature detector output also enables the loop to be used as a coherent AM demodulator.

A different method for aiding acquisition is to initially widen the loop bandwidth - thus increasing the capture range - and then to narrow the bandwidth when the loop is close to lock. This is a useful technique for improving the tuning speed of synthesisers whilst maintaining good reference sideband suppression, but is not as useful for low-level applications since the loop noise bandwidth is also widened which may make it impossible for the loop to respond.

Other more elaborate techniques include the use of frequency discrimination to detect when the loop is close to lock without relying on the natural loop characteristics to halt the frequency sweep. This open-loop technique enables a higher sweep rate to be used but does require that the discriminator has a rapid response so that the sweep is disabled before the VCO frequency overshoots the required value.

6. Acquisition6. Acquisition

Page 114: PLL

114

6. Acquisition6. Acquisition

Sweep rate +1 kHz/s

Sweep rate +2 kHz/s

Sweep rate -2 kHz/s

Sweep rate -1 kHz/s

Figure 31a Phase detector outputs with a swept reference signal, loop natural frequency = 23 Hz.

Page 115: PLL

115

7. Higher order loop filters7. Higher order loop filtersInclusion of additional filtering in a second order design

The type II second order loop filter considered until now is quite commonly used in PLL circuits because of its simplicity, inherent stability and ease of analysis. However, it does not offer very good rejection of high frequency signals from the phase detector, the gain of the filter itself - from figure 22 - being a constant value of R2/R1 at high frequencies. Thus the trade-off between loop bandwidth and reference sideband levels is not particularly good. Improvements can be obtained either by using a higher order filter design or by including additional filtering in an existing second order loop design. In the latter case, the filtering should be designed to have little effect on the loop characteristics within or close to the loop natural frequency, so that stability is not impaired, yet it should introduce some useful suppression at higher frequencies so that reference sideband levels may be reduced.

Page 116: PLL

116

7. Higher order loop filters7. Higher order loop filters

Figure 32 shows some examples of how additional filtering may be included. The input resistor may be split into two of equal value, R1/2, and a capacitor, C4, connected to ground to introduce a further pole into the transfer characteristic. This practice is recommended for certain types of phase detector where the output pulses are too narrow for the op-amp to detect.

R1/2 R2Input Output

C1

C2

R1/2

C4

R3 L

C3

Figure 32 Example of a higher order loop filter.

+

Page 117: PLL

117

7. Higher order loop filters7. Higher order loop filters

The response of this additional filtering is simply

H(s) = s + ωo

ωo , where ωo = R1C4

4 . (45)

This filtering introduces a phase shift which degrades the loop phase margin and may cause instability if its cut-off is too low. It is important, therefore, that the phase shift introduced by the filter is small compared to the loop phase margin at the frequency, ', at which the loop gain falls to unity. From section 3, the loop gain is unity when ('/n)

2 = 22 + √(44 + 1) where ' along with the phase margin are tabulated for several values of as follows.

ω'/ωn

ζ

Phasemargin

1.28 1.55 2.06

0.5 0.707 1

51.8° 65.5° 76.3°

Table 2 Phase margin and ' versus damping factor for a second order type II PLL.

Page 118: PLL

118

7. Higher order loop filters7. Higher order loop filtersA sensible criterion when including additional filtering in a second order PLL design is that the phase shift introduced by the filtering, = tan-1(/o) in this case, should be no more than 10° at frequency = ', in other words the phase margin is degraded by no more than 10°. Taking the case of a damping factor of 0.707, this means that the filter cut-off frequency should be at least o = 8.8n. It is also worth noting that if the filter cut-off frequency is o = 0.66n then the phase margin is zero and the loop is on the verge of instability. Such high filter cut-offs are of little use in rejecting noise close to the loop natural frequency but are helpful in rejecting noise of significantly higher frequency.

ω'/ωn

ζ

Phasemargin

1.28 1.55 2.06

0.5 0.707 1

51.8° 65.5° 76.3°

Table 2 Phase margin and ' versus damping factor for a second order type II PLL.

o = '/tan(10°) = 1.55n/ tan(10°) (from table) = 8.8n

Page 119: PLL

119

7. Higher order loop filters7. Higher order loop filters

Improved rejection can be obtained by using a two-pole LCR filter, as shown in figure 32 (and above). The transfer function can easily be shown to be

H(s) = s2 + (R/L)s + 1/LC

1/LC(46)

and this may be written in the familiar form,

H(s) = s2 + 2ζωos + ωo

2ωo

2 , where ωo =

LC1 and ζ = 2

RLC .

Input OutputR L

C

For a damping factor of 0.707 and, again, assuming the phase margin may be eroded by no more than 10°, the filter cut-off frequency must be at least o = 12.6n. In comparison with RC filtering, this filter has a sharper response but a slightly higher cut-off frequency - giving greater suppression of noise beyond approximately 20 times the loop natural frequency.

Page 120: PLL

120

7. Higher order loop filters7. Higher order loop filters

Third order type II loop filter

A further pole may be introduced into the filter response by bypassing resistor R2 with a capacitor C2, as shown in figures 32 and 33. This technique may be used to improve the performance of a second order loop filter or, by means of designing the additional component in, may be used to create a third order loop filter. The advantage of a third order loop over a second order loop with additional supplementary filtering is that the response rolls-off more rapidly beyond the loop natural frequency so that greater rejection of loop noise components is possible. This means that, for a given loop natural frequency, the reference sidebands are lower.

Page 121: PLL

121

7. Higher order loop filters7. Higher order loop filters

Figure 33 Third order type II loop filter and associated Bode plots.

R1 R2

C1

C2

+

loop gain

∠(loo gain)

-180°

0 dB

n

-40 dB/decade

-20 dB/decade

-40 dB/decade

1/t3 1/t2

Phase marginφ

Page 122: PLL

122

7. Higher order loop filters7. Higher order loop filters

The transfer function of this type of loop filter is

G(s) = [1/sC1 + R2/(1 + sC2R2)]/R1 ≡ sC1R1

1 1 + sC2R2

1 + s(C1 + C2)R2 (47)

and this may be written as,

G(s) = sτ1

1 1 + sτ2

1 + sτ3

where t1 = R1C1, t2 = R2C2 and t3 = R2(C1 + C2). t1 is chosen so that the loop gain, KpKvG(s)/Ns, falls to unity at the loop natural frequency, n, and t2 and t3 are chosen to provide the required phase margin, . The piecewise linear bode plot of the filter response is as shown in figure 33. The filter has a low-pass response with a cut-off rate of 40 dB/decade at frequencies below 1/t3 and above 1/t2 and a cut-off rate of 20 dB/decade in between. The phase shift is 180° at frequencies well below 1/t3 and well above 1/t2 and is somewhat less than 180° in between.

(48)≡ 1jωτ1

1+jωτ31+jωτ2

1- jωτ21- jωτ2

= 1jωτ1

1+jω(τ3 −τ2)+ω2τ2τ31+ω2τ2τ3

Page 123: PLL

123

The phase of the loop gain KpKvG(s)/Ns, from equation (48), is given by

∠loop gain = -π + tan-11 + ω2τ2τ3

ω(τ3 - τ2)(49)

where t2 and t3 must be chosen to provide maximum phase margin at = n. By equating the differential of the argument of the tan-1 function to zero, it is found that the maximum phase occurs at a frequency given by

ωn2 = 1/τ2τ3

(50)

indicating that the loop natural frequency is the geometric mean of 1/ t2 and 1/ t3. The phase margin is given by = –loop gain(n) + which, substituting equation (50) into equation (49), results in

φ = tan-1 2 τ2τ3

τ3 - τ2 (51)

7. Higher order loop filters7. Higher order loop filters

(48)≡ 1jωτ1

1+jωτ31+jωτ2

1- jωτ21- jωτ2

= 1jωτ1

1+jω(τ3 −τ2)+ω2τ2τ31+ω2τ2τ3

G(s) = sτ1

1 1 + sτ2

1 + sτ3

Page 124: PLL

124

7. Higher order loop filters7. Higher order loop filters

Eliminating t2 in the last two expressions gives a quadratic in t3,

τ32 -

ωn

2tanφτ3 - ωn2

1 = 0

with the solution

τ3 = ωn

tanφ + secφ

Since t2 = 1/(n2t3) then the result for t2 follows immediately,

τ2 = ωn(tanφ + secφ)

1

(52)

(53)

Page 125: PLL

125

7. Higher order loop filters7. Higher order loop filters

It now remains to find an expression for t1. This is achieved by considering the loop gain at frequency n,

loop gain = Nωn

2τ1

KpKv

1 + ωn2τ2

21 + ωn

2τ32

≡ Nωn

2τ1

KpKv (tanφ + secφ)

and this must be unity so that maximum phase margin is obtained, giving

τ1 = Nωn

2KpKv (tanφ + secφ) (54)

τ1 1 + sτ2

1 + sτ3 N s2KpKv

(since nt3 = 1/nt2 = tan + sec = X, say, so = √[(1 + X2)/(1 + 1/X2)] = X= tan + sec ).

Page 126: PLL

126

7. Higher order loop filters7. Higher order loop filters

The filter design proceeds directly from these results:

R1C1 = Nωn

2KpKv (tanφ + secφ) , (55)

R2C2 = ωn(tanφ + secφ)

1 , (56)

and

R2C1 = τ3 - τ2 = ωn

1 tanφ + secφ - tanφ + secφ

1

which, after some algebraic manipulation, reduces to

R2C1 = ωn

2tanφ (57)

Page 127: PLL

127

7. Higher order loop filters7. Higher order loop filters

Although the analysis is more complex, the design process is almost as simple for a third order filter as it is for a second order filter. However, because the peak in the filter phase response must occur close to the frequency where the loop gain is unity, the design is more sensitive to errors in the estimation of loop parameters or, in synthesiser applications, in variations in their values with division ratio.

The phase modulation characteristic of the loop may be found by substituting the new filter response, G(s), into equation (10);

φi(s)φo(s) =

1 + Ns2τ1

KpKv1 + sτ2

1 + sτ3

s2τ1

KpKv1 + sτ2

1 + sτ3

=

ωn2

s2(tanφ + secφ) +

ωn3

s3 + 1 +

ωn

(tanφ + secφ)s

N(1 + ωn

(tanφ + secφ)s)

Page 128: PLL

128

7. Higher order loop filters7. Higher order loop filters

yielding,

Nφi(s)φo(s) ≡ NVpm(s)

Kpφo(s) = s3 + ωn(tanφ + secφ)s2 + ωn

2(tanφ + secφ)s + ωn3

ωn2(tanφ + secφ)s + ωn

3

This demonstrates a third order low pass response (since the denominator is a third order polynomial), with a high frequency roll-off of 40 dB/decade. The magnitude of this characteristic is plotted in figure 34...

Page 129: PLL

129

7. Higher order loop filters7. Higher order loop filters

φoKp/NVpm

(dB)

4

0

-4

-8

-12

-16

-20

Figure 34 Phase modulation response of a third order type II PLL.

Frequency, ω/ωn

0.1 0.3 0.6 1.0 3 6 10

8

φ = 60°φ = 45°φ = 30°

Page 130: PLL

130

7. Higher order loop filters7. Higher order loop filters

The response has a peak around 0.8n which is more pronounced at lower phase margins. This peak has a magnitude of 5.7 dB, 3.1 dB and 1.7 dB for phase margins of 30°, 45° and 60°, respectively, the latter two values being most useful in practical designs. It is clear that the filter offers superior suppression of phase noise beyond the loop natural frequency compared to a second order filter and this means that the reference sideband levels are substantially lower. The improved suppression allows a higher loop natural frequency to be used for a given phase detector operating frequency and generally enables a better trade-off between noise performance and tracking agility to be obtained.The frequency modulation characteristic can be found in a similar manner to that used for the second order loop resulting in

KvVfm(s)ωo(s) =

1 + NsKpKvG(s)

1 = s3 + ωn(tanφ + secφ)s2 + ωn

2(tanφ + secφ)s + ωn3

s3 + ωn(tanφ + secφ)s2(59)

This is a third order high-pass response with a roll-off of 40 dB/decade at low frequencies, as plotted in figure 35...

Page 131: PLL

131

7. Higher order loop filters7. Higher order loop filters

o/KvVfm

(dB)

4

0

-4

-8

-12

-16

-20

Figure 35 Frequency modulation response of a third order type II PLL.

Frequency, ω/ωn

0.1 0.3 0.6 1.0 3 6 10

8

φ = 60°φ = 45°φ = 30°

Page 132: PLL

132

7. Higher order loop filters7. Higher order loop filters

It is interesting to note that the PM and FM characteristics appear to be mirror images of each other about = n. In fact it is easy to show that this is so be replacing s by n

2/s in equation (59);

KvVfm(ωn2/s)

ωo(ωn2/s)

= ωn

6/s3 + (tanφ + secφ)ωn5/s2 + (tanφ + secφ)ωn

4/s + ωn3

ωn6/s3 + (tanφ + secφ)ωn

5/s2

= NVpm(s)Kpφo(s) =

s3 + ωn(tanφ + secφ)s2 + ωn2(tanφ + secφ)s + ωn

3ωn

2(tanφ + secφ)s + ωn3

(60)

and this proves that the PM and FM characteristics are symmetrical about = n for a third order loop filter.

Two-point modulation may be used with the third order filter in exactly the same way as for the second order filter where, by adding the two characteristics of equations (58) and (59) together, it is quite clear that the combination of PM and FM modulation gives rise to a flat response.

Page 133: PLL

133

8. Other applications8. Other applications

Frequency translation loop

There are many other applications of PLLs, two examples of which are illustrated here.

The basic loop of figure 1 may be modified by including a frequency translation in the path between the VCO output and the frequency divider. With this arrangement, shown in figure 36, the frequency at which the divider input is driven is equal to the difference between the output and input frequencies and loop action adjusts the output frequency until this difference frequency equals the reference frequency.

Page 134: PLL

134

8. Other applications8. Other applications

Thus the output frequency is

fout = fin ± Nfref (61)

φ

G(s)

÷N

Input

Output

VCO

Loop filter

Phase detectorFrequency divider

Figure 36 Frequency translation loop.

Low-passfilter

Reference input

fin

fref

fout = fin ± NfrefMixer

Page 135: PLL

135

8. Other applications8. Other applications

Whether the output frequency is higher or lower than the input frequency depends on the polarity of the loop feedback. If, for instance, the loop is designed so that fout = fin + Nfref then, if fout > fin + Nfref, it is clear that the VCO is swept down until lock is obtained.Similarly, if fin - Nfref < fout < fin + Nfref then the VCO sweeps up until lock is obtained.

However, if fout < fin - Nfref then the mixer output frequency is higher than fref which forces the loop to sweep downwards making the situation worse until the VCO latches-up at its lower limit. This latch-up problem requires that the VCO range is carefully restricted, or some other control method is used, to prevent its occurrence. Harmonic locking is also a possible problem which may require some attention.

Lock point

Latch-up

Mixer output frequency

VCO output frequency

f in+Nfreff in−Nfref f in

Nfref

fout

Figure 36a (bonus figure)Latch-up in a frequency translation PLL.

Page 136: PLL

136

8. Other applications8. Other applications

Frequency translation loops have applications in frequency synthesisers, where a number of loops may be nested to obtain high resolution, and in carrier-recovery receivers.

An alternative technique used in high resolution, high agility frequency synthesisers is direct digital frequency synthesis. This is completely different to the phase-locked approach and involves the direct computation of the digital representation of a sinewave, of the desired frequency, which is then converted to analogue form. It is capable of very high resolution and rapid switching between frequencies, but is limited to relatively low carrier frequencies (dependent on logic speeds) and is costly.

Page 137: PLL

137

8. Other applications8. Other applicationsCostas loop BPSK demodulator

G(s)

-90°

A(t)cos(t - φi)

sin(t - φv)

cos(t - φv)

BPSK inut signal

Outut

A(t)sin(φi - φv) A(t)cos(φi - φv)

A2(t)sin2(φi - φv)

Figure 37 Costas loo BPSK demodulator.

Leveldet.

Page 138: PLL

138

8. Other applications8. Other applications

A BPSK signal is phase modulated with a deviation of 0° or 180° representing the two binary states. A PLL containing a modulo-p phase detector is therefore able to lock to this signal without being affected by the modulation, enabling coherent demodulation of the signal. This is the principle of operation of the Costas loop demodulator shown in figure 37.

Suppose the circuit is to demodulate an input signal represented by A(t)cos(t - i), where A(t) is a bipolar signal, ±A say, producing the phase modulation. The signal is applied in parallel to two analogue multipliers driven by quadrature VCO signals, cos(t - v) and sin(t - v). Their outputs consist of a double-frequency term, which is filtered out, and a DC component proportional to A(t)cos(i - v) and A(t)sin(i - v), respectively. These signals are multiplied together so that the final phase detector output is proportional to A2(t)sin2(i - v). Since A(t) is either A or -A then the phase detector is clearly insensitive to this modulation and may be used to adjust the VCO to lock to the incoming signal, by forcing i = v + n. The output of the analogue multiplier driven by the in-phase VCO signal is therefore ±A(t) and may be level detected to produce a data output.

Page 139: PLL

139

8. Other applications8. Other applications

The Costas loop is a useful way of demodulating BPSK signals having low S/N ratios (and a more elaborate Costas loop arrangement exists to demodulate QPSK signals). Loop noise performance at very low input S/N ratios, however, begins to deteriorate more rapidly than loops using conventional multiplier phase detectors due to the twofold multiplying action of the phase detector. This can be represented as a degradation in loop S/N ratio given by

S/NL

S/NL' = S/Nin + 1/2

S/Nin (62)

The deterioration in performance is clearly only important at input S/N ratios approaching unity, which is of little significance since the bit error rate would be very high under such conditions. If the input S/N ratio is good (>15 dB, say) then a standard PLL arrangement with a digital phase detector may be used as a demodulator. This is substantially simpler than the Costas loop approach and may be preferred in less demanding applications.

Page 140: PLL

140Figure 37a (bonus figure) Circuit diagram of a Costas Loop-based BPSK receiver.

8. Other applications8. Other applications

D

C

Q

68k

180

1k

68k

10n 3k3

47k

4k710n

27k2k2

20k

10n

3k3

1n

4k7

4k722n 1n

50k2k2 2k

10n

3 × TL072

2 × 1N4148

390

6k81k8

470

220k

33n 33n

150m 150n22k

2k2

150m

1n

10n 200

2 × OP-2733n 33n

150m 150n22k

2k2

150m

1n

10n 470

10

47

LOinut10

RFinut

R

L

L

R

AB C

JH-141

M-614

M-614

S-313

2 × BC549

3k3

3k31m

+15 V

AIF o/to A'

2

1k8

2k

1

56

1

2

5

6

Phase adφ. ±3°

Am. bal. adφ. ±6 dB

IF centre re. adφ.

Q adφ. ≤ 15

2

1035

987

+15 V

1,4,6

2k2100k

2

3

105

987

+15 V

−15 V1,4,6

2k2100k

Q

−15 V

A'

IF i/rom A

10k

10k

5

3

1 9

1112

14

10n

10n

C

6V8470

4013

1

34 8

7

2 6

1m

5552k

4k7

3k3

330

1m

3

+15 V

A534JH

A534JH

560k500k

4

22k100n

1k

+15 V −15 V

10 V 10 V20k

2k7 2k7

100kOset adφ.

2

3105

987

+15 V

−15 V

2k2

10k

100k 150

470

10k

33k

470

150

33k

10k

A534JH

2

36

TL071

10k 10k

2n2

1n

Basebandoutut

23

6TL071

3 VCO cent. re. adφ. 50 kH ± 7 kH

4 VCO gain adφ. 30 − 50 H/V

123

765

123

76

5 123

76

5

23

6

23

6

OP-27. TL071: +15 V to in 7, −15 V to in 4.

TL072: +15 V to in 8, −15 V to in 4.

4013: 0 V to ins 4,6,7,8,10.

Sulies to all devices decouled by 1m cas.

Gain adφ.

Image reφection mixer

IF ilter

Limiter

Costas loo

Outut ilter

+

+

++

+

+++

+

+

Page 141: PLL

141

ExamplesExamples2. Draw a block diagram and signal flow graph of a basic PLL containing a phase detector, second order type II loop filter, VCO and frequency divider. Use the signal flow graph to obtain an expression for the ratio of output phase, o(s), to input phase, i(s), and hence show how the loop natural frequency and damping factor are related to the loop filter component values.

A PLL frequency synthesiser with a reference frequency of 50 kHz generates an output carrier of frequency 77.3 MHz to 97.3 MHz in 50 kHz steps for use in an FM receiver. The VCO gain is 4 MHz/V in the centre of the frequency range and the phase detector gain is 1.5 V/rad. Design a second order type II loop filter with a natural frequency of 1 kHz and a damping factor of 0.707 suitable for use in this application. If the VCO gain is 5 MHz/V at 77.3 MHz and 3.5 MHz/V at 97.3 MHz then what are the loop natural frequency and damping factor at the extremes of the operating frequency range?

A/ R1C = 5.47x10-4, R2C = 2.25x10-4, 1180 Hz, 0.84 @ 77.3 MHz, 886 Hz, 0.626 @ 97.3 MHz.

Page 142: PLL

142

Using the second order type II PLL design equations,

ωn = NR1CKpKv and ζ = 2

R2NR1

KpKvC = 2ωnR2C

gives R1C = 5.47x10-4 and R2C = 2.25x10-4. Taking, for example, R2 = 10 kΩ gives R1 = 24.3 kΩ and C = 22.5 nF

φ G(s)

÷N

Reference OutputVCO

Loop filterPhase detector

Frequency divider

1.5 V/rad 4 MHz/V

N =1746mean

ωn =1kHz, ζ =0.70750 kHz 77.3 - 97.3 MHz

ExamplesExamples

Solution

Page 143: PLL

143

By noting that both n and are proportional to √(Kv/N) then at the lower end of the frequency range, 77.3 MHz, these parameters are modified by a factor of √(5/4)√(87.3/77.3) = 1.188. Thus, at 77.3 MHz, the loop natural frequency is increased to 1180 Hz and the damping factor is increased to 0.84.

Similarly, at the upper end of the frequency range, 97.3 MHz, the loop parameters are modified by a factor of √(3.5/4)√(87.3/97.3) = 0.886. Thus, at 97.3 MHz, the loop natural frequency is reduced to 886 Hz and the damping factor is reduced to 0.626. The variation of these parameters is quite small and is likely to have little effect on loop performance.

ExamplesExamples

Page 144: PLL

144

ExamplesExamples

3. With the aid of a timing diagram, show that an exclusive-OR phase detector produces an alternating output component at twice the frequency of its input signals. For a second order type II PLL using this type of phase detector, derive an expression relating the fundamental reference sideband level on the VCO signal, due to this alternating output component, to the ratio of loop natural frequency to loop input frequency, n/i. You may assume that n «i.

What is the fundamental reference sideband level, relative to the carrier, for such a loop with a unity divider ratio (N=1), a damping factor of 0.707 and a natural frequency one hundredth of the input frequency? Comment on the level of the harmonics of the reference sidebands. How may (a) the phase detector and (b) the loop filter design be changed to improve the suppression of these sidebands?

A/ -43 dBc.

Page 145: PLL

145

ExamplesExamples

Solution

Inspection of figure 6 reveals that the output of an exclusive-OR phase detector in a locked PLL is a 50% duty cycle square-wave of twice the input frequency. The amplitude of this square-wave is equal to the maximum phase detector DC output signal corresponding to a phase offset of /2 from the locked condition - which is (/2)Kp

Page 146: PLL

146

V1(t)

V2(t)

φ

KV 1(t)V 2(t)

t

ωt

ωt

Figure 6 Analogue multiplier phase detector operation with square-wave inputs.

V1sgn(cosωt)Input 1

Input 2

Output

V2sgn[cos(ωt - φ)]

φ − π

φ

(π / 2)K p

ExamplesExamples

Page 147: PLL

147

By Fourier analysing the square-wave it is clear that its fundamental component (of frequency 2i) has an amplitude of (4/)(/2)Kp = 2Kp

Thus the loop may be considered to be phase modulated by this signal, its response being given by equation (17) which, for » n, is

NVpm(s)φo(s) =

Kp(s2 + 2ζωns + ωn

2)2ζωns + ωn

2

NVpm(s)φo(s) = Kps

2ζωn

For a sinusoidal modulating component of amplitude 2Kp and frequency 2i, the peak phase deviation of the loop output is therefore

φo ≡ β = ωi

2ζωnN

ExamplesExamples

Page 148: PLL

148

ExamplesExamples

and this last result represents the phase modulation index. Recalling a basic property of narrow-band phase modulation, that the sideband levels relative to the carrier are one-half the modulation index,

β( /2)Ec

ωc+ωmωc−ωm

ωcfrequency

Ec

β( /2)Ec

ωi

ζωnN

then the relative sideband levels are

Page 149: PLL

149

ExamplesExamples

If N = 1, = 0.707 and n/i = 0.01 then the relative sideband level is 0.00707 or -43 dBc. In addition to this pair of fundamental sidebands, ±2i from the carrier frequency, there are sidebands at the odd harmonic frequencies ±6i, ±10i etc. Their levels, however, are very much lower because of the 1/n variation in the amplitude of square-wave harmonics and the first-order filtering action of the loop. Thus higher order harmonics are further suppressed by a factor of 1/n2: -19 dB and -28 dB for the third and fifth harmonics, respectively.

Suppression may be improved by using a phase/frequency detector (having a greatly reduced alternating component) and/or by using a higher order loop filter.

Page 150: PLL

150

These slides (.ppt), lecture notes (.pdf) and some past papers (.pdf) are available at:http://www.ee.ucl.ac.uk/~pbrennan/E771.html

Page 151: PLL

151

End of notesEnd of notes