1. Trang chủ
  2. » Kỹ Thuật - Công Nghệ

PHASE LOCKED LOOP AND FM DEMODULATION

12 492 2
Tài liệu đã được kiểm tra trùng lặp

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 12
Dung lượng 175,8 KB

Các công cụ chuyển đổi và chỉnh sửa cho tài liệu này

Nội dung

PHASE -LOCKED LOOP AND FM DEMODULATION

Trang 1

PRINCE OF SONGKLA UNIVERSITY

210-302 Third-Year Electronics Laboratory: E1

In this lab you will investigate phase lock loop (PLL) operation and its application for

FM demodulation using the CMOS 4046 integrated circuit The IC contains two different phase detectors and a VCO It also includes a zener diode reference for power supply regulation and a buffer for the demodulator output The user must supply a loop filter in a close-loop to operate the PLL The high input impedances and low output impedances of the 4046 make it easy to select external components

Notes

1 This lab is fairly complicated Be sure that you understand how the circuits are supposed to work before coming into the lab Do not try to build something that you have not fully understood and analyzed Read this entire document before beginning to work on it

2 Students are strongly recommended to read supplementary handouts (see references) to comprehend a theoretical background of PLL operation as well

as internal circuit building blocks within the 4046 IC

3 Handle the 4046 with care CMOS integrated circuits are easily destroyed Avoid static discharges Use a 10k- resistor to couple the signal generator to the PLL Avoid shorting the outputs to ground or the supply A TTL gate can withstand this kind of abuse, but CMOS cannot (be careful of loose wires) CMOS does not have the output strength to drive capacitive loads VSS should be connected to ground, VDD should be connected to 5V, and pin 5 should be connected to ground (otherwise the VCO is inhibited)

4 Answer all questions (marked by underlines) with scientific/engineering analysis and discussion when writing up the lab report

Trang 2

1 Phase-Locked Loop Concepts

Phase-locked loop is a feedback loop where a voltage-controlled oscillator (VCO) can

be automatically synchronized (“locked”) to a periodic input signal The locking property of the PLL has numerous applications in communication systems (such as frequency, amplitude, or phase modulation/demodulation- analog or digital), tone decoding, clock and data recovery, self-tunable filters, frequency synthesis, motor speed control, etc

The basic PLL has three components connected in a feedback loop, as shown in the block diagram of Figure 1: a voltage-controlled oscillator (VCO), a phase detector (PD) or phase comparator, and a low-pass loop filter (LPF)

Figure 1: Block diagram of a basic phase-locked loop (PLL)

The VCO is an oscillator whose frequency fosc is proportional to input voltage vo (=

V vcoin) The voltage at the input of the VCO determines the frequency fosc of the periodic signal vosc at the output of the VCO The output of the VCO, vosc, and a periodic incoming signal vi are inputs to the phase detector When the loop is locked

on the incoming signal vi, the frequency fosc of the VCO output vosc is exactly equal

to the frequency fi of the periodic signal vi,

It is also said that the PLL is in the locked condition The phase detector produces a signal proportional to the phase difference between the incoming signal and the VCO output signal The output of the phase detector is filtered by a low-pass loop filter The loop is closed by connecting the filter output to the input of the VCO Therefore, the filter output voltage vo controls the frequency of the VCO

A basic property of the PLL is that it attempts to maintain the frequency lock (fosc =

fi) between vosc and vi even if the frequency fi of the incoming signal varies in time Suppose that the PLL is in a locked condition, and the frequency fi of the incoming signal increases slightly The phase difference between the VCO signal and the incoming signal will begin to increase in time

Trang 3

As a result, the filter output voltage vo increases, and the VCO output frequency

fosc increases until it matches fi, thus keeping the PLL in a locked condition The range of frequencies from fi = fmin to fi = fmax where the locked PLL remains in the

locked condition is called the lock range of the PLL If the PLL is initially locked,

and fi becomes smaller than fmin, or if fi exceeds fmax, the PLL fails to keep fosc equal

to fi, and the PLL becomes unlocked, foscfi When the PLL is unlocked, the VCO oscillates at the frequency fo called the centre frequency, or the free-running frequency of the VCO The lock can be established again if the incoming signal frequency fi gets close enough to fo The range of frequencies fi = fofc to fi = fo + fc

such that the initially unlocked PLL becomes locked is called the capture range of the

PLL Make sure you understand and can distinguish the definitions of lock range and capture range! – it will become more obvious when you manage to run the PLL successfully

The lock range is wider than the capture range So, if the VCO output frequency

fosc is plotted against the incoming frequency fi, we obtain the PLL steady-state characteristic shown in Figure 2 The characteristic simply shows that fosc = fi in the

locked condition, and that fosc = fo = constant when the PLL is out-of-locked (unlocked) A hysteresis can be observed in the fosc (fi) characteristic because the capture range is smaller than the lock range

Figure 2: Steady-state f osc (f i) characteristic of the basic PLL

From this point, students need to carefully study a brief theory of the PLL in the supplementary handout [1, 2] Make sure you understand the PLL concept and locking mechanism Furthermore, it is essential to clearly understand a mathematical

sense of the PLL in a locked condition (section 10.4.2) using s-domain analysis and

try to relate the whole concept to the feedback control theory As mentioned above, when the PLL is in a locked condition the input frequency fi will be equal to the frequency of the signal from the VCO, fosc – so why is it called Phase-Locked Loop instead of Frequency-Locked Loop? What is the real meaning of Phase? Should we

Trang 4

employ frequency comparator instead of phase comparator since we want to track the input frequency?

While the PLL of Figure 1 is in a locked condition, it can effectively be modelled

by the block diagram as depicted in Figure 3 The loop low-pass filter is represented

by a transfer function F(s) where the integration 1/s block is needed to convert an

angular frequency from the VCO ωosc into the corresponding phase Φosc Identify the building block that represents the phase detector? Instead of using phase detector, can

we replace it with a frequency comparator? Note that K O is the VCO proportional

constant and K D is the phase comparator’s “gain”

Σ

Low-pass filter

F(s)

Voltage-Controlled Oscillator

K O rad/s

V

1/s

K D V/rad

Φi

O

Figure 3: Block diagram (in s-domain) of the PLL in Figure 1

Transfer functions between V O /Φi or V O /ωii being an input frequency in rad/s and it

is related to phase by

dt

d i

i

Φ

=

ω or in s-domain ωi = sΦi) can be derived from Figure

3 to be

) (

) ( )

(

s F K K s

s F sK s

V

O D D

i

O

+

=

) (

) ( )

(

s F K K s

s F K s

V

O D D

i

O

+

=

In this experiment Eq.(3) will be used extensively in the design for different cases of

filter transfer function F(s)

2 The 4046 Integrated Circuit Phase-Locked Loop

A block diagram of the 4046 PLL is shown in Figure 4 The large rectangle indicates the 4046 boundary and the rests are external circuit components that may be connected to the IC to render specific functions Read carefully through the data sheet before starting to build any circuit Try to understand functionalities of each pin It will help you carry out the experiment smoothly

The CD4046BC1 micropower phase-locked loop (PLL) consists of a low power, linear, voltage-controlled oscillator (VCO), a source follower, a zener diode, and two

1

HEF4046 can also be used

Trang 5

phase comparators The two phase comparators have a common signal input and a common comparator input The signal input can be directly coupled for a large voltage signal, or capacitively coupled to the self-biasing amplifier at the signal input for a small voltage signal Phase comparator I, an exclusive OR gate, provides a digital error signal (phase comp I Out) and maintains 90° phase shifts at the VCO center frequency Between signal input and comparator input (both at 50% duty cycle), it may lock onto the signal input frequencies that are close to harmonics of the VCO center frequency Phase comparator II is an edge-controlled digital memory network It provides a digital error signal (phase comp II Out) and lock-in signal (phase pulses) to indicate a locked condition and maintains a 0° phase shift between signal input and comparator input The linear voltage-controlled oscillator (VCO) produces an output signal (VCO Out) whose frequency is determined by the voltage at the VCO IN input, and the capacitor and resistors connected to pin C1A, C1B, R1 and R2 The source follower output of the VCOIN (demodulator Out) is used with an external resistor of 10 kΩ or more

The INHIBIT input, when high, disables the VCO and source follower to minimize standby power consumption The zener diode is provided for power supply regulation,

if necessary

Figure 4: Block diagram showing an internal structure of 4046 PLL

A single positive supply voltage is needed for the chip The positive supply voltage VDD is connected to pin 16 and the ground is connected to pin 8 In this experiment

we will employ VDD = +5V The incoming signal vi goes to the input of an internal

Trang 6

amplifier at the pin 14 of the chip The internal amplifier has the input biased at about VDD/2; therefore, the incoming signal should be capacitively coupled to the input The incoming ac signal vi of about one volt peak-to-peak is sufficient for proper

operation The ac coupling capacitor C i together with the input resistance R i ≈ 100kΩ

at the pin 14 form a high-pass filter C i should be selected so that vi is in the pass-band

of the filter, i.e., so that the input frequency f i > 1/(2πR i C i) for the lowest expected

frequency f i of the incoming signal The output of the internal amplifier is internally connected to one of the two inputs of the two phase detectors inside the chip

3 Voltage-Controlled Oscillator

The voltage-controlled oscillator (VCO) on the 4046 produces a square wave on pin 4 whose frequency varies with the input voltage (pin 9) The VCO characteristics are user-adjustable by three external components: R1, R2 and C1

• Basing upon the graphs in 4046 datasheet, design the VCO with a supply

voltage VDD of 5V to render a center frequency (f 0) approximately at 200kHz

and being able to tune roughly between 100kHz (f min ) and 300kHz (f max)

Sketch the output signal from the VCO for f min , f max , f 0 , (f min + f max )/2 and when

VCOIN=VDD/2 and plot the output frequency (f osc) versus VCO’s DC input voltage (VCOIN) with VCOIN from 0V to VDD (=5V) From this graph,

calculate the VCO constant K O (in radians/sec-volt), which is the ratio of the change in operating frequency versus the input voltage Note that the loop

filter is not needed in this part It is important to determine K O experimentally because its value will be needed for the design of the PLL loop filter in the subsequent parts of the experiment

4 Phase Comparator I

The phase comparator I on the 4046 is simply an XOR logic gate (exclusive-OR),

with logic low output (vΦ = 0V) when the two inputs are both high or both low, and

the logic high output (vΦ = VDD) otherwise Figure 5 illustrates the operation of the

XOR phase detector when the PLL is in the locked condition V i2 (the amplified of input vi) and vosc (the VCO output) are two phase-shifted periodic square-wave signals at the same frequency fosc = fi = 1/T i, and with 50% duty ratios The output of

the phase detector is a periodic pulse signal vΦ(t) at the frequency of 2fi, and with the

duty ratio DΦ which depends on the phase difference ∆Φ (in radians) between vi and

vosc,

Trang 7

Figure 5: Operation of the 4046’s phase comparator I (XOR gate)

The periodic signal vΦ (t) at the output of the XOR phase detector can be expressed by Fourier series:

k

k k

V t

=

4 sin )

(

1

(5)

where V P is the DC component of vΦ(t), and vk is the amplitude of the kth harmonic at

the frequency 2kfi Prove that V P is equal to VDD⋅∆Φ/π? Plot V P against ∆Φ for 0 ≤

∆Φ ≤ π What is the K D of this particular XOR-gate phase comparator?

Analysis of a more complicated phase comparator II is beyond the scope of this experiment, in later part of the experiment we will use phase comparator II just to see

its functionality without obtaining the corresponding K D value

5 Loop Filter Design

The loop filter is placed between one of the phase detector’s output (either pin 2 or pin 13) and the VCO input (pin 9) This filter attenuates the high frequency harmonics present in the phase detector output It also significantly controls the PLL loop dynamics

The output vΦ(t) of the phase detector is filtered by an external low-pass filter before being fed into the VCO In Figure 4, the loop filter is a simple passive RC filter The

purpose of the low-pass filter is to pass the dc and low-frequency portions of vΦ(t) and

to attenuate high-frequency ac components at frequencies 2kf i The simple RC filter has the transfer function:

p

s C

sR s

F

ω +

= +

=

1

1 1

1 )

(

2 3

(6)

with

Trang 8

2 3 2

1

π π

ω

=

is the cut-off frequency of the filter If f p << 2f i, i.e., the cut-off frequency of the filter

is much smaller than twice of the incoming-signal frequency f i, the output of the filter

is approximately equal to the dc component V P of the phase detector’s output In practice, the high-frequency components are not completely eliminated and can be observed as high-frequency ac ripple around the dc or slowly-varying vo

With F(s) described by a simple first-order low-pass filter of Eq.(7), the PLL closed-loop transfer function of Eq.(3) can be re-arranged into a standard form of the second-order transfer function, that is





+ +

=

1 2

1 1

) (

2

2

s s

K s V

n n

O i

O

ω

ξ ω

Prove that:

p D O

and

D O

p

K K

ω ξ

2

1

For a second-order system, it generally requires to have a damping factor ξ to be 1/√2

for an optimal operation (Find out why?)

(5.1) Using information for K O and K D obtained from previous sections to design the low-pass filter such that the damping factor ξ = 1/√2 Calculate the corresponding

low-pass filter’s bandwidth and the bandwidth of the closed-loop response! Is it possible to design a low-pass filter that renders independent values between the

filter’s bandwidth (and closed-loop bandwidth) and the damping factor?

With the design you have got, you can now build up a complete PLL circuitry using a phase comparator I (XOR gate) as the phase detector and your circuit should look

similar to that in Figure 6, noting that values of R1, R2 and C1 have been previously

designed in section 3

Trang 9

Figure 6: The basic PLL with an XOR gate as a phase detector and a simple lowpass filter as a loop filter

(5.2) If there is no incoming input signal, v i = 0, observe the signals at pin 2 and VCO’s output (pin 4) and input (pin 9) Explain what is happening!? Measure the

free-running frequency f o

(5.3) Apply a 1Vp-p square wave as an incoming input signal vi at frequency fi – adjust fi to be sufficiently close to the free-running frequency fo Use a dual-trace oscilloscope to monitor vi and VCO output vosc When the PLL operates in a locked

condition, you should be able to simultaneously view signals from both channels of

the oscilloscope (two signals are at the same frequency), otherwise one of the waveform on the scope screen is blurred or is moving with respect to the other By changing fi of the incoming signal, measure the actual lock range and capture range

of the PLL Determine the minimum peak-to-peak amplitude of the incoming signal vi

such that the PLL remains locked Does this particular PLL lock on harmonics? Record the waveforms vi, vosc, output from the phase detector (vΦ), and input of the VCO (vo) for the PLL in the locked condition at three different frequencies:

(a) fi = fo;

(b) fi = the lowest frequency of the lock range

(c) fi = the highest frequency of the lock range

Analyse what you have measured! Compare the phase difference between vi and vosc

to the theoretical prediction for the three frequencies of the incoming signal

Plot the hysteresis characteristic (similar to Figure 2) of your PLL

Also sketch the waveforms vosc, vΦ, and vo when the PLL is NOT in the locked condition, explain what you see

Employ Phase Comparator II as the PLL’s phase detector and re-do the whole of this section Compare the results to those obtained with the Phase Comparator I

Trang 10

(5.4) Re-design your low-pass filter with two new bandwidths (ωp) of ten times higher and lower than originally obtained from section (5.1), calculate the corresponding new values of ξ With these two new filters, re-do the whole of section (5.3) using both types of phase comparators Compare the results to what have been obtained in section (5.3) Analyse your results!

What are the advantages and disadvantages of the PLL employing a simple first-order low-pass filter?

6 Lead-Lag Filter as a Loop Filter

A disadvantage of the second-order loop PLL system designed in section 5 is that the

bandwidth of the loop is basically dictated by loop gain K O K D In general, the loop gain also sets the lock range, so that with the simple filter used above these two parameters are constrained to be comparable Situations do arise in phase-locked communications in which a wide lock range is desired for tracking large signal-frequency variations, yet a narrow loop bandwidth is desired for rejecting out-of-band signals Using a very small ωp would accomplish this were it not for the fact that this also produces underdamped loop response By adding a zero to the loop filter, the loop filter pole can be made small while still maintaining good loop damping This can be accomplished by employing a lead-lag filter in Figure 7 as a loop filter instead

of a simple low-pass filter

R4

R5

C3

Figure 7: Lead-lag filter

Transfer function F(s) of the lead-lag filter can be arranged in a form of

p

z

s

s s

F

ω

ω

′ +

+

= 1

1 )

Express ωz and ω' p in terms of R4, R5 and C3

Show that the closed-loop transfer function of the PLL in Figure 3 can be found to be:





+ +

+

=

1 2

1 1

) (

2

2

s s

s K

s V

n n

z

O i

O

ω

ξ ω

ω

when the lead-lag filter in Figure 7 is employed as a loop filter, where

Ngày đăng: 10/05/2014, 21:41

TỪ KHÓA LIÊN QUAN