Chapter 8 Frequency Modulation (FM)

Similar documents
Chapter 6 Double-Sideband Suppressed-Carrier Amplitude Modulation. Contents

Chapter 7 Single-Sideband Modulation (SSB) and Frequency Translation

Angle Modulated Systems

Angle Modulation. Frequency Modulation

Angle Modulation, II. Lecture topics. FM bandwidth and Carson s rule. Spectral analysis of FM. Narrowband FM Modulation. Wideband FM Modulation

Continuous-Phase Frequency Shift Keying (FSK)

EE-4022 Experiment 3 Frequency Modulation (FM)

Experiment 7: Frequency Modulation and Phase Locked Loops

ELE636 Communication Systems

Chapter 5 Amplitude Modulation. Contents

UNIT-2 Angle Modulation System

Experiment 7: Frequency Modulation and Phase Locked Loops Fall 2009

Lab10: FM Spectra and VCO

Code No: R Set No. 1

Additional Experiments for Communication System Design Using DSP Algorithms

EE456 Digital Communications

B.Tech II Year II Semester (R13) Supplementary Examinations May/June 2017 ANALOG COMMUNICATION SYSTEMS (Electronics and Communication Engineering)

Outline. Communications Engineering 1

(b) What are the differences between FM and PM? (c) What are the differences between NBFM and WBFM? [9+4+3]

RF/IF Terminology and Specs

Laboratory Assignment 5 Amplitude Modulation

Experiment # 4. Frequency Modulation

Lecture 6. Angle Modulation and Demodulation

THE STATE UNIVERSITY OF NEW JERSEY RUTGERS. College of Engineering Department of Electrical and Computer Engineering

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

Implementation of Digital Signal Processing: Some Background on GFSK Modulation

ANALOGUE TRANSMISSION OVER FADING CHANNELS

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

Bit Error Probability of PSK Systems in the Presence of Impulse Noise

EE470 Electronic Communication Theory Exam II

Amplitude Modulation, II

Experiment One: Generating Frequency Modulation (FM) Using Voltage Controlled Oscillator (VCO)

AM Limitations. Amplitude Modulation II. DSB-SC Modulation. AM Modifications

page 7.51 Chapter 7, sections , pp Angle Modulation No Modulation (t) =2f c t + c Instantaneous Frequency 2 dt dt No Modulation

ELEC 350 Communications Theory and Systems: I. Review. ELEC 350 Fall

Amplitude Modulation II

Frequency Modulation and Demodulation

Analog Communication.

EE4512 Analog and Digital Communications Chapter 6. Chapter 6 Analog Modulation and Demodulation

EXPERIMENT WISE VIVA QUESTIONS

Solution to Chapter 4 Problems

CME312- LAB Manual DSB-SC Modulation and Demodulation Experiment 6. Experiment 6. Experiment. DSB-SC Modulation and Demodulation

Radio Technology and Architectures. 1 ENGN4521/ENGN6521: Embedded Wireless L#1

EC2252: COMMUNICATION THEORY SEM / YEAR: II year DEPARTMENT OF ELECTRONICS AND COMMUNICATION ENGINEERING

cosω t Y AD 532 Analog Multiplier Board EE18.xx Fig. 1 Amplitude modulation of a sine wave message signal

Exercise 2: FM Detection With a PLL

Charan Langton, Editor

CSE4214 Digital Communications. Bandpass Modulation and Demodulation/Detection. Bandpass Modulation. Page 1

Problems from the 3 rd edition

EE-4022 Experiment 2 Amplitude Modulation (AM)

PRODUCT DEMODULATION - SYNCHRONOUS & ASYNCHRONOUS

Part-I. Experiment 6:-Angle Modulation

1B Paper 6: Communications Handout 2: Analogue Modulation

4.1 REPRESENTATION OF FM AND PM SIGNALS An angle-modulated signal generally can be written as

DSBSC GENERATION. PREPARATION definition of a DSBSC viewing envelopes multi-tone message... 37

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

Linear Frequency Modulation (FM) Chirp Signal. Chirp Signal cont. CMPT 468: Lecture 7 Frequency Modulation (FM) Synthesis

CONTINUOUS-TIME (CT) ΔΣ modulators have gained

Research on DQPSK Carrier Synchronization based on FPGA

Problem Sheet for Amplitude Modulation

Analog and Telecommunication Electronics

Problem Sheet 1 Probability, random processes, and noise

So you say Bring on the SPAM?

EE 460L University of Nevada, Las Vegas ECE Department

Additional Experiments for Communication System Design Using DSP Algorithms

ELEC3242 Communications Engineering Laboratory Amplitude Modulation (AM)

Chapter 5. Amplitude Modulation

Costas Loop. Modules: Sequence Generator, Digital Utilities, VCO, Quadrature Utilities (2), Phase Shifter, Tuneable LPF (2), Multiplier

Direct Digital Synthesis Primer

Dimensional analysis of the audio signal/noise power in a FM system

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

EET 223 RF COMMUNICATIONS LABORATORY EXPERIMENTS

PLL APPLICATIONS. 1 Introduction 1. 3 CW Carrier Recovery 2

Communication Channels

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

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

f o Fig ECE 6440 Frequency Synthesizers P.E. Allen Frequency Magnitude Spectral impurity Frequency Fig010-03

Chapter 3: Analog Modulation Cengage Learning Engineering. All Rights Reserved.

Internal Examination I Answer Key DEPARTMENT OF CSE & IT. Semester: III Max.Marks: 100

DIGITAL COMMUNICATIONS SYSTEMS. MSc in Electronic Technologies and Communications

Frequency Modulation KEEE343 Communication Theory Lecture #15, April 28, Prof. Young-Chai Ko

ELEC3242 Communications Engineering Laboratory Frequency Shift Keying (FSK)

ELT Receiver Architectures and Signal Processing Fall Mandatory homework exercises

Twelve voice signals, each band-limited to 3 khz, are frequency -multiplexed using 1 khz guard bands between channels and between the main carrier

Experiment 7: Frequency Modulation and Phase Locked Loops October 11, 2006

CHAPTER 2 DIGITAL MODULATION

VALLIAMMAI ENGINEERING COLLEGE

Check out from stockroom:! Two 10x scope probes

EXPERIMENT 3 - Part I: DSB-SC Amplitude Modulation

Wireless Communication Fading Modulation

Receiver Architectures

EE452 Senior Capstone Project: Integration of Matlab Tools for DSP Code Generation. Kwadwo Boateng Charles Badu. May 8, 2006

EECS 216 Winter 2008 Lab 2: FM Detector Part II: In-Lab & Post-Lab Assignment

Jitter Measurements using Phase Noise Techniques

Signals and Systems Lecture 9 Communication Systems Frequency-Division Multiplexing and Frequency Modulation (FM)

Amplitude Modulation Chapter 2. Modulation process

Instantaneous frequency Up to now, we have defined the frequency as the speed of rotation of a phasor (constant frequency phasor) φ( t) = A exp

two computers. 2- Providing a channel between them for transmitting and receiving the signals through it.

Master Degree in Electronic Engineering

Design of a Transceiver for 3G DECT Physical Layer. - Rohit Budhiraja

Transcription:

Chapter 8 Frequency Modulation (FM) Contents Slide 1 Frequency Modulation (FM) Slide 2 FM Signal Definition (cont.) Slide 3 Discrete-Time FM Modulator Slide 4 Single Tone FM Modulation Slide 5 Single Tone FM (cont.) Slide 6 Narrow Band FM Slide 7 Bandwidth of an FM Signal Slide 8 Demod. by a Frequency Discriminator Slide 9 FM Discriminator (cont.) Slide 10 Discriminator Using Pre-Envelope Slide 11 Discriminator Using Pre-Envelope(cont.) Slide 12 Discriminator Using Complex Envelope Slide 13 Phase-Locked Loop Demodulator Slide 14 PLL Analysis Slide 15 PLL Analysis (cont. 1) Slide 16 PLL Analysis (cont. 2) Slide 17 Linearized Model for PLL Slide 18 Proof PLL is a Demod for FM Slide 19 Comments on PLL Performance Slide 20 FM PLL vs. Costas Loop Bandwidth

Slide 21 Laboratory Experiments for FM Slide 21 Experiment 8.1 Making an FM Modulator Slide 22 Experiment 8.1 FM Modulator (cont. 1) Slide 23 Experiment 8.2 Spectrum of an FM Signal Slide 24 Experiment 8.2 FM Spectrum (cont. 1) Slide 25 Experiment 8.2 FM Spectrum (cont. 1) Slide 26 Experiment 8.2 FM Spectrum (cont. 3) Slide 26 Experiment 8.3 Demodulation by a Discriminator Slide 27 Experiment 8.3 Discriminator (cont. 1) Slide 28 Experiment 8.3 Discriminator (cont. 2) Slide 29 Experiment 8.4 Demodulation by a PLL Slide 30 Experiment 8.4 PLL (cont.) 8-ii

Chapter 8 Frequency Modulation (FM) FM was invented and commercialized after AM. Its main advantage is that it is more resistant to additive noise than AM. Instantaneous Frequency The instantaneous frequency of cos θ(t) is ω(t) = d θ(t) (1) dt Motivational Example Let θ(t) = ω c t. The instantaneous frequency of s(t) = cosω c t is d dt ω ct = ω c. FM Signal for Message m(t) The instantaneous frequency of an FM wave with carrier frequency ω c for a baseband message m(t) is ω(t) = ω c +k ω m(t) (2) 8-1

FM Signal Definition (cont.) where k ω is a positive constant called the frequency sensitivity. An oscillator whose frequency is controlled by its input m(t) in this manner is called a voltage controlled oscillator. The angle of the FM signal, assuming the value is 0 at t = 0, is where θ(t) = t 0 ω(τ)dτ = ω c t+θ m (t) (3) t θ m (t) = k ω m(τ)dτ (4) is the carrier phase deviation caused by m(t). The FM signal generated by m(t) is 0 s(t) = A c cos[ω c t+θ m (t)] (5) 8-2

Discrete-Time FM Modulator A discrete-time approximation to the FM wave can be obtained by replacing the integral by a sum. The approximate phase angle is θ(nt) = n 1 k=0 ω(kt)t = ω c nt +θ m (nt) (6) where θ m (nt) = k ω T n 1 k=0 The total carrier angle can be computed recursively by the formula m(kt) (7) θ(nt) = θ((n 1)T)+ω c T +k ω Tm((n 1)T) (8) The resulting FM signal sample is s(nt) = A c cosθ(nt) (9) 8-3

Single Tone FM Modulation Let m(t) = A m cosω m t. Then ( s(t) = A c cos ω c t+ k ) ωa m sinω m t ω m The modulation index is defined as β = k ωa m ω m = peak frequency deviation modulating frequency Example: f c = 1 khz, f m = 100 Hz, f s = 80 khz, β = 5 (10) (11) 1 0.5 s(t) 0-0.5-1 0 500 1000 1500 2000 Time in Samples 1 0.5 m(t) 0-0.5-1 0 500 1000 1500 2000 Time in Samples 8-4

Single Tone FM (cont.) It can be shown that s(t) has the series exansion s(t) = A c n= J n (β)cos[(ω c +nω m )t] (12) where J n (β) is the n-th order Bessel function of the first kind. These functions can be computed by the series J n (x) = ( 1 ( 1) m 2 x) n+2m m!(n+m)! m=0 (13) Clearly, the spectrum of the FM signal is much more complex than that of the AM signal. There are components at the infinite set of frequencies {ω c +nω m ; n =,, } The sinusoidal component at the carrier frequency has amplitude J 0 (β) and can actually become zero for some β. 8-5

Narrow Band FM Modulation The case where θ m (t) 1 for all t is called narrow band FM. Using the approximations cosx 1 and sinx x for x 1, the FM signal can be approximated as: s(t) = A c cos[ω c t+θ m (t)] = A c cosω c tcosθ m (t) A c sinω c tsinθ m (t) A c cosω c t A c θ m (t)sinω c t (14) or in complex notation s(t) A c Re { e jω ct [1+jθ m (t)] } (15) This is similar to the AM signal except that the discrete carrier component A c cosω c t is 90 out of phase with the sinusoid A c sinω c t multiplying the phase angle θ m (t). The spectrum of narrow band FM is similar to that of AM. 8-6

The Bandwidth of an FM Signal The following formula, known as Carson s rule is often used as an estimate of the FM signal bandwidth: B T = 2( f +f m ) Hz (16) where f is the peak frequency deviation and f m is the maximum baseband message frequency component. Example Commercial FM signals use a peak frequency deviation of f = 75 khz and a maximum baseband message frequency of f m = 15 khz. Carson s rule estimates the FM signal bandwidth as B T = 2(75+15) = 180 khz which is six times the 30 khz bandwidth that would be required for AM modulation. 8-7

FM Demodulation by a Frequency Discriminator A frequency discriminator is a device that converts a received FM signal into a voltage that is proportional to the instantaneous frequency of its input without using a local oscillator and, consequently, in a noncoherent manner. An Elementary Discriminator s(t) Bandpass Envelope m - - 0 (t) - Filter Detector f 0 = f c jg(f )j f 0 f c f 8-8

Elementary FM Discriminator (cont.) When the instantaneous frequency changes slowly relative to the time-constants of the filter, a quasi-static analysis can be used. In quasi-static operation the filter output has the same instantaneous frequency as the input but with an envelope that varies according to the amplitude response of the filter at the instantaneous frequency. The amplitude variations are then detected with an envelope detector like the ones used for AM demodulation. 8-9

An FM Discriminator Using the Pre-Envelope When θ m (t) is small and band-limited so that cosθ m (t) and sinθ m (t) are essentially band-limited signals with cutoff frequencies less than ω c, the pre-envelope of the FM signal is s + (t) = s(t)+jŝ(t) = A c e j(ω ct+θ m (t)) (17) The angle of the pre-envelope is ϕ(t) = arctan[ŝ(t)/s(t)] = ω c t+θ m (t) (18) The derivative of the phase is d d s(t) d dt ϕ(t) = dtŝ(t) ŝ(t) dt s(t) s 2 (t)+ŝ 2 = ω c +k ω m(t) (t) (19) which is exactly the instantaneous frequency. This can be approximated in discrete-time by using FIR filters to form the derivatives and Hilbert transform. Notice that the denominator is the squared envelope of the FM signal. 8-10

Discriminator Using the Pre-Envelope (cont.) This formula can also be derived by observing d dt s(t) = d dt A ccos[ω c t+θ m (t)] = A c [ω c +k ω m(t)]sin[ω c t+θ m (t)] d dtŝ(t) = d dt A csin[ω c t+θ m (t)] = A c [ω c +k ω m(t)]cos[ω c t+θ m (t)] so s(t) d d dtŝ(t) ŝ(t) dt s(t) = A2 c[ω c +k ω m(t)] {cos 2 [ω c t+θ m (t)]+sin 2 [ω c t+θ m (t)]} = A 2 c[ω c +k ω m(t)] (20) The bandwidth of an FM discriminator must be at least as great as that of the received FM signal which is usually much greater than that of the baseband message. This limits the degree of noise reduction that can be achieved by preceding the discriminator by a bandpass receive filter. 8-11

A Discriminator Using the Complex Envelope The complex envelope is s(t) = s + (t)e jωct = s I (t)+js Q (t) = A c e jθm(t) (21) The angle of the complex envelope is ϕ(t) = arctan[s Q (t)/s I (t)] = θ m (t) (22) The derivative of the phase is d d s I (t) dt ϕ(t) = dt s Q(t) s Q (t) d dt s I(t) s 2 I (t)+s2 Q (t) s I (n K L) = k ω m(t) (23) s I (n K) z L z L ṡ Q (n K L) s(n) z K s(n K) z K 2K +1 Tap Hilbert Transform e jωcnt ŝ(n K) s Q (n K) 2L+1 Tap Differentiator 2L+1 Tap Differentiator z L z L ṡ I (n K L) s Q (n K L) s(n K L) 2 + + m d (n) Discrete-Time Discriminator Realization 8-12

Using a Phase-Locked Loop for FM Demodulation A device called a phase-locked loop (PLL) can be used to demodulate an FM signal with better performance in a noisy environment than a frequency discriminator. The block diagram of a discrete-time version of a PLL is shown in the figure below. s(nt ) = A c cos(! c nt + m )? + - - j sign! - atan2(y; x) - - - 66 m 1 ^s(nt ) Phase Detector Loop Filter H(z) - (nt ) 1 z 1 y(nt ) e j(nt ) = e j(!cnt + 1) e j() (nt ) z 1? + 6! c T k v T Voltage Controlled Oscillator (VCO) 8-13

PLL Analysis The PLL input shown in the figure is the noisless FM signal s(nt) = A c cos[ω c nt +θ m (nt)] (24) This input is passed through a Hilbert transform filter to form the pre-envelope s + (nt) = s(nt)+jŝ(nt) = A c e j[ω cnt+θ m (nt)] The pre-envelope is multiplied by the output of the voltage controlled oscillator (VCO) block. The input to the z 1 block is the phase of the VCO one sample into the future which is (25) φ((n+1)t) = φ(nt)+ω c T +k v Ty(nT) (26) Starting at n = 0 and iterating the equation, it follows that φ(nt) = ω c nt +θ 1 (nt) (27) 8-14

PLL Analysis (cont. 1) where θ 1 (nt) = θ(0)+k v T The VCO output is n 1 k=0 y(kt) (28) v(nt) = e jφ(nt) = e j[ω cnt+θ 1 (nt)] (29) The multiplier output is p(nt) = A c e j[θ m(nt) θ 1 (nt)] The phase error can be computed as [ ] Im{p(nT)} θ m (nt) θ 1 (nt) = arctan Re{p(nT)} (30) (31) This is shown in the figure as being computed by the C library function atan2(y,x) which is a four quadrant arctangent giving angles between π and π. The block consisting of the multiplier and arctan function is called a phase detector. 8-15

PLL Analysis (cont. 2) A less accurate, but computationally simpler, estimate of the phase error when the error is small is Im{p(nT)} = ŝ(nt)cos[ω c nt +θ 1 (nt)] s(nt)sin[ω c nt +θ 1 (nt)] (32) = A c sin[θ m (nt) θ 1 (nt)] A c [θ m (nt) θ 1 (nt)] (33) The phase detector output is applied to the loop filter which has the transfer function H(z) = α+ α β α+β = (α+β)1 z 1 1 z 1 1 z 1 (34) The accumulator portion of the loop filter which has the output σ(nt) enables the loop to track carrier frequency offsets with zero error. It will be shown shortly that the output y(nt) of the loop filter is an estimate of the transmitted message m(nt). 8-16

Linearized Model for PLL The PLL is a nonlinear system because of the characteristics of the phase detector. If the discontinuities in the arctangent are ignored, the PLL can be represented by the linearized model shown in the following figure. m (nt ) - + - H(z) - 6 + Loop Filter y(nt ) 1 (nt ) k v T z 1 1 z 1 VCO The transfer function for the linearized PLL is L(z) = Y(z) Θ m (z) = = H(z) 1+H(z) k vtz 1 1 z 1 (35) (1 z 1 )(α+β αz 1 ) 1 [2 (α+β)k v T]z 1 +(1 αk v T)z 2 8-17

Proof that the PLL is an FM Demodulator At low frequencies, which corresponds to z 1, L(z) can be approximated by Thus and in the time-domain L(z) z 1 k v T Y(z) Θ m (z) z 1 k v T y(nt) θ m((n+1)t) θ m (nt) k v T (36) (37) (38) Using the formula on slide 8-3 for θ m gives y(nt) k ω k v m(nt) (39) This last equation demonstrates that the PLL is an FM demodulator under the appropriate conditions. 8-18

Comments on PLL Performance The frequency response of the linearized loop has the characteristics of a band-limited differentiator. The loop parameters must be chosen to provide a loop bandwidth that passes the desired baseband message signal but is as small as possible to suppress out-of-band noise. The PLL performs better than a frequency discriminator when the FM signal is corrupted by additive noise. The reason is that the bandwidth of the frequency discriminator must be large enough to pass the modulated FM signal while the PLL bandwidth only has to be large enough to pass the baseband message. With wideband FM, the bandwidth of the modulated signal can be significantly larger than that of the baseband message. 8-19

Bandwidth of FM PLL vs. Costas Loop The PLL described in this experiment is very similar to the Costas loop presented in Chapter 6 for coherent demodulation of DSBSC-AM. However, the bandwidth of the PLL used for FM demodulation must be large enough to pass the baseband message signal, while the Costas loop is used to generate a stable carrier reference signal so its bandwidth should be very small and just wide enough to track carrier drifts and allow a reasonable acquisition time. 8-20

Laboratory Experiments for Frequency Modulation Initialize the DSK as before and use a 16 khz sampling rate for these experiments. Chapter 8, Experiment 1 Making an FM Modulator Make an FM modulator using equations (8) and (9) on slide 8-3. 1. Use the carrier frequency f c = 1000 Hz. 2. Set the signal generator to output a baseband message, m(t), which is a sine wave with amplitude 1 volt and frequency 100 Hz. Connect this signal to the left channel of the codec. 3. In your DSK program, read message samples from the left channel of the codec and convert them to floating-point values. 4. Try k ω = 0.2 in your program. 8-21

Experiment 8.1 FM Modulator (cont. 1.) 5. Remember to limit the carrier angle to the range [0, 2π). 6. Send the FM modulated message samples to the left codec output channel and observe the time signal on the oscilloscope. Remember to scale the samples to use a large portion of the dynamic range of the DAC. The signal should resemble the figure on Slide 8-4. 7. Also, use the FFT capability of the oscilloscope to see the signal spectrum. 8. Vary k ω and observe the resulting time signals and spectra. You can vary k ω in your program or you can change the message amplitude on the signal generator. 8-22

Chapter 8, Experiment 2 Spectrum of an FM Signal 1. Set the signal generator to FM modulate an f c = 4 khz sinusoidal carrier with an f m = 100 Hz sine wave by doing the following steps: (a) Make sure the signal type is set to a sine wave. (b) Press the blue SHIFT button and then the AM/FM button. (c) Set the carrier frequency by pressing the FREQ button and setting the frequency to 4 khz. (d) Set the modulation frequency by pressing the RATE button and setting it to 100 Hz. 8-23

Experiment 8.2 FM Spectrum (cont. 1.) (e) Adjust the modulation index by pressing the SPAN button and setting a value. The displayed value is related to, but not, the modulation index β. 2. Connect the FM output signal to the oscilloscope and observe the resulting waveforms as you vary the frequency deviation. 3. Use the FFT function of the oscilloscope to observe the spectrum of the FM signal by performing the following steps: (a) Turn off the input channels to disable the display of the time signals. (b) Press Math. (c) Under the oscilloscope display screen, i. Set Operator to FFT. ii. Set Source 1 to your input channel. iii. Set Span to 2.00 khz. 8-24

Experiment 8.2 FM Spectrum (cont. 2.) iv. Set Center to 4.00 khz. v. Use the Horizontal knob at the top left of the control knob section to set the FFT Resolution to 763 mhz (0.763 Hz) or 381 mhz (0.381 Hz). Note: You can turn off the FFT by pressing Math again. 4. Watch the amplitude of the 4 khz carrier component on the scope as the modulation index is increased from 0. Remember that this component should be proportional to J 0 (β). 5. Increase the modulation index slowly from 0 until the carrier component becomes zero for the first and second times and record the displayed SPAN values. Compare these displayed values with the theoretical values of β for the first two zeros of J 0 (β). 8-25

Experiment 8.2 FM Spectrum (cont. 3) You can generate values of the Bessel function by using the series expansion given on Slide 8-5 or with MATLAB. 6. Plot the theoretical power spectra for a sinusoidally modulated FM signal with β = 2, 5, and 10. Compare them with the spectra observed on the oscilloscope. Chapter 8, Experiment 3 FM Demodulation Using a Frequency Discriminator Write a C program that implements the frequency discriminator described on Slide 8-12. Assume that: the carrier frequency is 4 khz, the baseband message is band limited with a cutoff frequency of 500 Hz, the sampling rate is 16 khz. 8-26

Experiment 8.3 Discriminator Implementation (cont. 1) Use REMEZ87.EXE, WINDOW.EXE, or MATLAB to design the Hilbert transform and FIR differentiation filters. Use enough taps to approximate the desired Hilbert transform frequency response well from 1200 to 6800 Hz. Try a differentiator bandwidth extending from 0 to 8000 Hz. WINDOW.EXE gives good differentiator designs. (Be sure to match the delays of your filters in your implementation.) Synchronize the sample processing loop with the transmit ready flag (XRDY) of McBSP1. Read samples from the ADC, apply them to your discriminator, and write the output samples to the DAC. 8-27

Experiment 8.3 Discriminator Implementation (cont. 2) Use the signal generator to create a sinusoidally modulated FM signal as you did for the FM spectrum measurement experiments. Attach the signal generator to the DSK line input and observe your demodulated signal on the oscilloscope to check that the program is working. Modify your program to add Gaussian noise to the input samples and observe the discriminator output as you increase the noise variance. Listen to the noisy output with the PC speakers. Does the performance degrade gracefully as the noise gets larger? 8-28

Chapter 8, Experiment 4 Using a Phase-Locked Loop for FM Demodulation Implement a PLL like the one shown on Slide 8-13 to demodulate a sinusoidally modulated FM signal with the same parameters used previously in this experiment. Let α = 1 and choose β to be a factor of 100 or more smaller than α. Compute and plot the amplitude response of the linearized loop using the equation (35) on slide 8-17 for different loop parameters until you find a set that gives a reasonable response. Theoretically compute and plot the time response of the linearized loop to a unit step input for your selected set of parameters by iterating a difference equation corresponding to the transfer function. 8-29

Experiment 8.4 PLL Demodulator (cont.) Write a C program to implement the PLL. Test this demodulator by connecting an FM signal from the signal generator to the DSK line input and observing the DAC output on the oscilloscope. See if your PLL will track carrier frequency offsets by changing the carrier frequency on the signal generator slowly and observing the output. See how large an offset your loop will track. Observe any differences in behavior when you change the carrier frequency smoothly and slowly or make step changes. Modify your program to add Gaussian noise to the input samples and observe the demodulated output as the noise variance increases. How does the quality of the demodulated output signal compare with that of the frequency discriminator at the same SNR. 8-30