Docsity

Frequency Modulation-Digital Signal Processing-Lab Manual, Exercises of Digital Signal Processing

Toggle sidebar
bg1
University of Rhode Island Department of Electrical and Computer Engineering
ELE 436: Communication Systems
Experiment 5: Frequency Modulation
1 Introduction
Angle modulation includes both phase modulation (PM) and frequency modulation (FM). The
main difference between angle modulation and amplitude modulation is that in angle modulation,
the information is contained in the angle of the carrier whereas in amplitude modulation, the
information is in the amplitude of the carrier. We will be dealing only with FM in this lab. The
theories and concepts are similar for PM.
Why should we use FM instead of AM? The main advantages of using FM over AM are:
1. A Much better signal-to-noise ratio. There is as much as a 25-dB increase in this ratio over
AM. You can notice this while listening to the car radio during a thunder storm.
2. When two FM transmitters are nearby operating on the same frequency, there is a much
smaller geographical interference area as compared to AM transmitters operating on one
frequency.
3. Less radiated power required for the same signal-to-noise ratio for FM over AM.
There are also some serious disadvantages of FM. An FM wave typically requires 15 to 20 times
the bandwith of an AM wave. Also, FM systems are much more complicated to analyze and build
than AM systems.
2 FM theory
At URI we have a radio station, 90.3 FM (WRIU). WRIU is a frequency modulated radio station
with a carrier of 90.3MHz. Each FM station occupies a bandwidth of about 150kHz to 175kHz,
but is alloted a bandwidth of about 200kHz; this is why each station is separated by 0.2 (MHz) on
your dial. Let’s take a look at the modulation process to get a feel for what happens. The formula
for an FM signal, s(t), is given by
s(t) = Accos
2πfct+ 2πkf
t
Z
0
m(τ)dτ
(1)
1
pf3
pf4
pf5

Partial preview of the text

Download Frequency Modulation-Digital Signal Processing-Lab Manual and more Exercises Digital Signal Processing in PDF only on Docsity!

University of Rhode Island Department of Electrical and Computer Engineering ELE 436: Communication Systems

Experiment 5: Frequency Modulation

1 Introduction

Angle modulation includes both phase modulation (PM) and frequency modulation (FM). The main difference between angle modulation and amplitude modulation is that in angle modulation, the information is contained in the angle of the carrier whereas in amplitude modulation, the information is in the amplitude of the carrier. We will be dealing only with FM in this lab. The theories and concepts are similar for PM.

Why should we use FM instead of AM? The main advantages of using FM over AM are:

  1. A Much better signal-to-noise ratio. There is as much as a 25-dB increase in this ratio over AM. You can notice this while listening to the car radio during a thunder storm.
  2. When two FM transmitters are nearby operating on the same frequency, there is a much smaller geographical interference area as compared to AM transmitters operating on one frequency.
  3. Less radiated power required for the same signal-to-noise ratio for FM over AM.

There are also some serious disadvantages of FM. An FM wave typically requires 15 to 20 times the bandwith of an AM wave. Also, FM systems are much more complicated to analyze and build than AM systems.

2 FM theory

At URI we have a radio station, 90.3 FM (WRIU). WRIU is a frequency modulated radio station with a carrier of 90.3MHz. Each FM station occupies a bandwidth of about 150kHz to 175kHz, but is alloted a bandwidth of about 200kHz; this is why each station is separated by 0.2 (MHz) on your dial. Let’s take a look at the modulation process to get a feel for what happens. The formula for an FM signal, s(t), is given by

s(t) = Ac cos

  2 πfct + 2πkf

∫t

0

m(τ )dτ

  (^) (1)

where

m(t) = modulating signal fc = carrier frequency Ac = carrier amplitude

Equation (1) is a general equation for an FM signal. If we let the modulating signal be a pure sinusoid, m(t) = Am cos 2 πfmt, then equation (1) becomes

s(t) = Ac cos

( 2 πfct + kf f^ Am m

sin 2πfmt

) = Ac cos (2πfct + β sin 2πfmt) (2)

where kf^ Am^ = ∆f^ =^ frequency deviation β = Modulation index

There are two types of FM depending on the value of β.

NBFM (β ø 1 )

If β is much less then 1, we have Narrow Band Frequency Modulation (NBFM). Equation (2) can be approximated as s(t) = Ac cos (2πfct) − βAc sin(2πfct) sin(2πfmt) (3)

See the textbook and the class notes for details.

WBFM (all β)

The Wide Band Frequency Modulation formula is valid for all β. In this lab, we will be dealing with WBFM. The approximations used for NBFM are not accurate here. Using Fourier series coefficients, Equation (2) for WBFM can be written as (see text)

s(t) = Ac

∑^ ∞ n=−∞

Jn(β)cos [2π(fc + nfm)t] (4)

where Jn(β) is the nth order Bessel function of the first kind and argument β.

The definition of the Bessel function is shown below. It is an integral that needs to be evaluated using a calculator or software for different values of n and β.

Jn(β) = (^21) π

∫^ π

−π

ej(βsinx−nx)dx (5)

Again, for details, see the text.

s(t) (^) - (^) Differentiator - (^) Env detector m-(t)

Figure 1: Demodulation of FM

The first step involves differentiating the FM signal in order to get the modulating signal, m(t), out from the sinusoid as shown below. If we differentiate equation (1), we will get

s′(t) = −[2πfc + 2πkf m(t)]

 Ac sin

  2 πfct + 2πkf

∫t

0

m(τ )dτ

 

  (^) (6)

Differentiation can be achieved with a special filter designed in MATLAB. Recall that the transfer function of a differentiator is just s, that is, its frequency response is j 2 πf , which is a straight line in the frequency domain. Remember also that the frequency response of a differentiator only needs to be linear in the frequency band occupied by the FM signal. Figure 2, below, shows the response of the differentiator used in our FM demodulator.

(^00) 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1

1

4 kHz 16 kHz

Frequency

H(s)

Figure 2: Magnitude response of differentiator

Wouldn’t it be nice if we could build our own digital comercial FM reciever using the equipment we have in the lab? Well, we can’t. The primary reason is because the bandwidth of comercial (wideband) FM is about 200kHz while the bandwidth of our best DSP board is limited to 24kHz, one half of its highest sampling frequency. The best we can hope to do is to create our own low frequency narrow bandwidth FM signal. This process is not very difficult because the function generators in the lab have built-in frequency modulation capabilities.

  • Create an FM signal on the function generator with a carrier frequency, fc = 10 kHz, modulating frequency, fm = 5kHz, and frequency deviation, ∆f = 100Hz. The modulating frequency, fm, will be varied from 5 kHz down to 100 Hz on the function generator. Remember that β = ∆ fmf. So, the value of β will vary from 0.02 to 1 as fm is varied from 5 kHz to 100Hz.
  • For fm = 5kHz, and ∆f = 100Hz, find the bandwidth of the FM signal. Do the same for fm = 100Hz, and ∆f unchanged. If you were to modulate a voice signal that contained frequencies from 100Hz to 5kHz, and you used a frequency deviation of 100Hz, what would you expect the bandwidth of the resulting FM signal to be?
  • The differentiator needs to be linear over the frequencies occupied by the FM signal. Based on the maximum bandwidth of FM, derived in the previous question, we designed a differentiator that was linear in the range of 4kHz to 16kHz. (See figure 2). The coefficients for the differentiator are stored in the file, ’diff.h’.
  • The second step in our FM demodulation scheme is to do envelope detection. We choose to use one of the methods developed in the AM lab. On the DSP, we will square, lowpass filter, and then take the square root of the output of the differentiator in order to recover the modulating signal, m(t) (as well as a DC constant).
  • Connect the output of the function generator to the input of the DSP board, and con- nect the output of the DSP board to the A input of the spectrum analyzer. Under C:\EZ- KIT\EZSHARC\tt, open the file ’tt.c’. You will see that there are two filter coefficient files defined in the program: ’lpf.h’ and ’diff.h’. You know what the diff.h file is. The lpf.h file contains the coefficients for the low pass filter used for envelope detection. Scroll down to the middle of the program and make sure you understand the main part of the code.
  • On the function generator, set the modulating frequency to 5 kHz. On the computer, double click on Mk.bat and after it has compiled, run the Talkthru demo in the EZ-KIT Lite Host window. You should see the spectrum of the demodulated signal on the spectrum analyzer. Adjust the span, starting frequency, scale etc. to get a good view. Also view the signal in both log and linear scale. Looking at the signal’s spectrum, can you see any drawbacks with this method of demodulation?
  • Vary fm in steps from 5 kHz down to 100 Hz and notice the change in the spectrum.