Frequency Modulation Simulation Using Matlab
Frequency Modulation Simulation Using Matlab
FREQUENCY MODULATION
Page 1
Purpose:
The objectives of this laboratory are: 1. To investigate frequency modulation characteristics in the frequency domain. 2. To implement a classical double-tuned FM demodulator and measure its characteristics. 3. To implement a modern PLL FM demodulator and measure its characteristics. 4. To investigate the effect of FM signal bandwidth on the detected signal-to-noise ratio.
Equipment List
1. PC with Matlab and Simulink
Page 2
Frequency Modulation
FM results when the time derivative of the phase of the carrier is varied linearly with the message signal m(t). The frequency deviation is proportional to the derivative of the phase deviation. Thus, the instantaneous frequency of the output of the FM modulator is maximum when the message signal m(t) is maximum and minimum when m(t) is minimum.
Carsons Rule:
Carsons Rule is used to determine the bandwidth of the FM wave. According to Carsons Rule, the bandwidth is given by: BW = 2(+1)fm Hertz.
1. Multiplier Constant, Km With a 1V p-p sinusoidal voltage at both inputs of the multiplier, the output was observed and the multiplier constant was calculated to be 0.206. 2. VCO Conversion Constant, Ko An external voltage may control the output frequency of the VCO. The change in the output frequency per change in the dc input voltage was measured. Ko = f / v Ko = 1 / 0.5 = 2 kHz/sec/volt Ko = 4103 = 12566 rad/sec/volt
Page 3
FM Transmission:
The following schematic was implemented.
Page 4
Page 5
The output of the function generator is set to 1 kHz (modulation frequency fm = 1kHz) and no output level.
Figure 4 A (f)Output of Limiter A 5kHz carrier delta function was observed on the signal analyzer. We increased the output level of the function generator by pressing the Delta Level key on the generator and selecting
Page 6
delta of 0.1 volt. Setting the Vpp to 0 volts and incrementing the Vpp by 0.1 V increments, we increased the level until a of = 0.5 was achieved.
Page 7
The above procedure is repeated for = 1 and = 2. We observed that the carrier disappears at A = 1.05 V. Setting the frequency axis on the spectrum analyzer to a linear scale, the approximate bandwidth for different values of was observed. The results are tabulated below:
Page 8
Page 9
Page 10
The output is read from the frequency counter. By varying the frequency, and observing the output, we see that the discriminator output follows the following characteristic. The signal is also monitored on the oscilloscope. PLL Detection In this part of the experiment, we detect the Fm signal using a PLL. Using VCO #1, we made an FM signal by setting the center frequency of the VCO in open loop to 5 kHz and putting the function generators signal (1kHz 0 Vpp) and putting the function generators signal (1kHz 0Vpp) into the input of the VCO #1.
figure 4 B (a) FM PLL The PLL circuit is built according to the schematic shown below. The LPF with 1kHz cutoff frequency is to remove high frequency components from the detected signal. It is not a part of the PLL. In the open loop, the VCO#2 is set for 5kHz.
Page 11
VCO#1 is part of the FM transmitter, VCO #2 is part of the PLL detector. With the function generator putting out no signal, the VCO #1s output frequency is varied. We note the dc voltages for the corresponding input frequencies. We observe that the discriminator curve generated using the PLL is more linear than the Double Tuned Detector.
Page 12
Page 13
Page 14
Page 15
Appendix
Pre Lab
Page 16
Prelab Questions
Consider a carrier signal (cos ct) being frequency modulated by a sinusoidal signal (A cos mt). The result can be expressed as a series of Bessel functions:
S(t) =
where
n = -
( ) cos[ (c + nm )t ]
Jn() are Bessel functions of nth order = 2koA / m = koA / fm = modulation index ko = frequency deviation constant 1. for = .5, 2, and 2, sketch the positive frequency domain representation (magnitude only). For = 0.5 J0() = 0.9385 J1() = 0.2423 J2() = 0.0306 J3() = 0.0026
M a g n it u d e s p e c t ru m 1 o f s ( t ) fo r b e t a = 0 . 5
0 .9
0 .8
0 .7
0 .6 M a g n it u d e
0 .5
0 .4
0 .3
0 .2
0 .1
0 -3 -2 -1 0 f
c
1 in m u lt ip le o f f
m
D e vi a t i o n o f fr e q u e n c y fr o m
Page 17
For = 1 J0() = 0.7652 J1() = 0.4401 J2() = 0.1149 J3() = 0.0196 J4() = 0.0025
M a g n it u d e s p e c t ru m 0 .8
o f s ( t ) fo r b e t a = 1
0 .7
0 .6
0 .5 M a g n itu d e
0 .4
0 .3
0 .2
0 .1
0 -4
-3
-2
-1
0 f
c
2
m
D e v i a t i o n o f fr e q u e n c y f r o m
in m u lt ip le o f f
For = 2 J0() = 0.2239 J1() = 0.5767 J2() = 0.3528 J3() = 0.1289 J4() = 0.0340 J5() = 0.0070 J6() = 0.0012
M a g n it u d e
M a g n it u d e s p e c t ru m 0 .7
o f s ( t ) fo r b e t a = 2
0 .6
0 .5
0 .4
0 .3
0 .2
0 .1
0 -6
-4
-2
0 f
c
2 in m u lt ip le o f f
m
D e v i a t i o n o f fr e q u e n c y f r o m
Page 18
2. If fc = 5,000 Hz, fm = 1,000 Hz and ko = 2,000 Hz/V, find RMS value of the modulating signal for = 0.5, 1, and 2
P=
n= (
+ 1
2 n ) 1
2 ( ) A 2
Page 19