Project 3: FM Modulation and Demodulation
Project 3: FM Modulation and Demodulation
Project 3: FM Modulation and Demodulation
If any of the values (G or H) are zero use a 5 instead. The carrier will have a frequency of 20KHz and amplitude of 1. Part A. FM Modulation Use the FM Modulator (Communications Systems Toolbox, Modulation, Analog Passband Modulation library) to generate an FM signal with = 2. Note that the Frequency Deviation parameter in the Simulink block is the frequency deviation constant, kf. Use a Scope and a Spectrum Scope to observe the FM waveform and spectrum. Set the Spectrum Scope to display the one sided spectrum in Watts. Compare the spectral values displayed to the expected values based on the Bessel function. Part B. FM Demodulation Method 1 Use the Simulink FM Demodulator Passband to demodulate this signal. Observe the waveform and the spectrum of the demodulator output to confirm that the correct output is obtained. Part C. FM Demodulation Method 1 with Noise Insert the AWGN Channel block between the modulator and demodulator (Communications Systems Toolbox, Channels library). Set the SNR (Signal to Noise ratio) to 100. Make sure to correctly indicate the input signal power. This block simulates the noise that would occur on an actual communications link. With an SNR of 100dB the output of the demodulator should match your results from part B. Increase the noise by decreasing the SNR. At what SNR do to you begin to see distortion on the demodulated waveform? Double the value of your frequency deviation constant (in both the
modulator and demodulator) and re-run the simulation. How does this affect the distortion that was present? Part D. FM Demodulation Method 2 Return the modulator and demodulator to your original frequency deviation constant. Design and implement a frequency discriminator to demodulate the FM signal. Test your demodulator with the SNR set to 100dB to confirm that it works properly. Note that you may have a DC offset that is fine. Reduce the SNR and observe the output of the Simulink demodulator and your demodulator. Which is most affected by the lower SNR? Compare their performance. Part D. Improving the Simulink Demodulator By observing the output waveform and the spectra of both the Simulink demodulator and your demodulator, can you determine a method for improving the performance of the Simulink demodulator in noise? Modify the system as needed and show that the performance has improved.