Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Amplitude Modulation 2-Digital Signal Processing-Lab Manual, Exercises of Digital Signal Processing

This is lab manual for Digital Signal Processing course at COMSATS Institute of Information Technology, provided by Dr. Khalida Jaleel. It includes: Amplitude, Modulation, Signal, Simultaneous, Transmission, Frequency, Division, Multiplexing, Span

Typology: Exercises

2011/2012
On special offer
30 Points
Discount

Limited-time offer


Uploaded on 07/05/2012

bhalo
bhalo 🇵🇰

4.6

(8)

22 documents

1 / 6

Toggle sidebar
Discount

On special offer

Related documents


Partial preview of the text

Download Amplitude Modulation 2-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 4: Amplitude Modulation 1 Why Modulate? Why do we have to modulate a signal for transmission? Why can’t the signal be sent as it is? There are two main reasons for modulation. The first reason has to do with the laws of electromagnetic propagation, which dictate that the size of the radiating element, the antenna, be a significant fraction of the wavelength of the signal being transmitted. For example, if we want to transmit a 1 kHz signal by a quarter wave antenna, the size of the antenna would need to be 75 km. On the other hand, if the signal is being transmitted on a high frequency carrier, say 630 kHz, the corresponding size of the radiating antenna needs to be only 119 m. The second reason is for the simultaneous transmission of different signals. As audio signals rele- vant to humans lie from a few hertz to a few thousand hertz, we could broadcast only one baseband signal at a time. Simultaneous transmission would cause the overlap of signals and we would not be able to separate them. However, through modulation, we can transmit many signals simultane- ously by shifting their spectra using different carrier frequencies. This is called frequency division multiplexing (FDM). 2 Types of AM There are many different types of amplitude modulation, such as commercial amplitude modulation, DSB-SC (double sideband suppressed carrier) AM, and SSB (single sideband) AM. We are mainly concerned with the commercial amplitude modulation and the DSB-SC techniques for the purposes of this lab. The other types of AM can be studied in more detail through Haykin’s textbook used in class, or from the class notes. Commercial amplitude modulation is done by adding a dc offset to the baseband signal, m(t) and then multiplying by a sinusoid of frequency fc. The formula for an amplitude modulated signal s(t) is as follows s(t) = Ac[1 + kam(t)]cos(2πfct) (1) 1 where m(t) = baseband signal fc = carrier frequency Ac = carrier amplitude ka = modulation index The number ka should not exceed 1. Question: What is the reason for this? In your report, answer the question and give an explanation using diagrams for s(t) with ka < 1, ka > 1, and ka = 1. Remember the fact that when ka = 1, we have 100% modulation. From equation (1), we find that the Fourier transform of the AM signal s(t) is given by S(f) = Ac 2 [δ(f − fc) + δ(f + fc)] + kaAc 2 [M(f − fc) +M(f + fc)] (2) where M(f) is the transform of the information carrying signal, m(t). See Figure 1. Question: Include a derivation of equation (2) in your report. In DSB-SC AM, there is no dc offset added to the baseband signal. As a result, the carrier component of the AM signal is suppressed. The formula for the modulated signal becomes s(t) = m(t)cos(2πfct) (3) and the Fourier transform of equation (3) is given by S(f) = 1 2 M(f − fc) + 1 2 M(f + fc) (4) Question: Include a derivation of equation (4) in your report. 3 AM in Matlab The Matlab environment can be an effective tool for viewing the effects of various forms of mod- ulation. In the following exercise the student will amplitude modulate a signal and examine the result in both the time and frequency domains. The best part is that the Matlab file is already written for you, all you have to do is modify a few variables! Exercise 1: Download am test.m from the ELE 436 web page. Open the file and take a look at the code. In Matlab, run the file and view the resulting plot. It should resemble the plot shown in figure 1. 1. Modify the code in am test.m to create a new signal with 120% modulation. This can be acomplished by modifying the value of ka. Execute the m-file and print the resulting plot. 2 5 Demodulation Once the modulated signal has been transmitted, it needs to be received or demodulated. There are basically two types of demodulation: coherent and incoherent. Coherent demodulation in- volves multiplying the AM signal by a sinusoid of exactly the same frequency and phase. This is more difficult than it might seem. This section will focus on incoherent methods for demod- ulation. These methods find the envelope of the AM signal without multiplying by a sinusoid. RF filter Env detectorµ´ ¶³ ×- - - - 6 Antenna cos(2πfot) Speakers DSP board Figure 2: Steps of demodulation 1. If we wanted to demodulate a commercial AM radio station (like 630 WPRO, Providence), we would use an antenna to detect the RF waves in the air. This signal would be amplified and then bandpass filtered to attenuate any neighboring stations. Next, the signal would be modulated down to an intermediate frequency (IF) where we would perform the demodulation in the form of envelope detection. The IF for an AM signal is 455kHz. 2. Instead of doing all this, use the function generator to create an AM signal with a 2.5kHz sinusoid modulated by a carier of 15kHz, which we can think of as the intermediate frequency. The reason we’re using an IF of 15kHz rather than 455kHz is that we want to demodulate the AM signal with the DSP board, which has a maximum sampling rate of 48kHz. 3. Use an o-scope or spectrum analyzer to verify that your AM signal has been correctly gener- ated, then connect the function generator to the input of the DSP board. You will now have to devise some algorithms to do the envelope detection. We’ll try a few different methods: • The first method we will use is rectification of the signal. There are two types of rectification: half wave and full wave. We will perform full wave rectification by taking the absolute value of the signal. Use your math skills to determine how this will affect the spectrum of our AM signal. (Hint: Think full wave rectification as multiplying the AM signal by a square wave with the same frequency and phase as the carrier.) The rectifier may need to be followed by a low pass filter. If so, determine the characteristics of this filter. • The second method is to square the signal and then low pass filter it. This should be realtively simple to implement in C. It involves only a few lines of code. Again, you 5 should show mathematically how this might help extract the envelope of the AM signal. Are there any difficulties with this approach? 4. Send the demodulated signal from the board to an o-scope or spectrum analyzer to show that the result is correct. 5. Show how one one could use the Hilbert transform to detect the envelope of an AM wave. 6
Docsity logo



Copyright © 2024 Ladybird Srl - Via Leonardo da Vinci 16, 10126, Torino, Italy - VAT 10816460017 - All rights reserved