Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Amplitude Modulation
Amplitude Modulation (AM) is a method of conveying a baseband message signal over a higher
frequency carrier signal by varying the amplitude of the carrier signal in proportion to the baseband
signal. The baseband signal is typically a low-frequency signal, such as an audio signal, and the
carrier signal is typically a high-frequency signal, such as a radio frequency signal.
The basic process of AM involves multiplying the baseband signal with a sinusoidal carrier signal,
resulting in a modulated signal. The modulated signal can then be transmitted over a
communication channel and demodulated at the receiver to recover the original baseband signal.
There are three types of AM:
1. Double-Sideband Suppressed Carrier (DSB-SC): This type of AM modulation method uses
the full amplitude of the modulating signal to vary the amplitude of the carrier wave. The resulting
signal contains both the upper and lower sidebands, each containing a copy of the original
modulating signal, as well as the original carrier frequency. However, the carrier frequency is
suppressed or removed, resulting in less efficient use of the transmitted power.
2. Single-Sideband Suppressed Carrier (SSB-SC): This type of AM modulation method
eliminates one of the sidebands and the carrier frequency from the modulated signal, resulting in
more efficient use of the transmitted power. The resulting signal contains only one sideband, either
the upper or lower sideband, depending on the method used. This type of modulation is commonly
used in voice communications, as it provides a higher signal-to-noise ratio.
3. Vestigial Sideband (VSB): This type of AM modulation method is a combination of DSB-SC
and SSB-SC. It involves removing a portion of the unwanted sideband and leaving a "vestige" or
remnant of it. This allows for more efficient use of the transmitted power while still maintaining a
certain level of compatibility with the DSB-SC receiver. VSB is commonly used in television
broadcasting.
AM is commonly used in AM radio broadcasting and marine communication. One of the main
advantages of AM is its robustness against noise and interference, which makes it suitable for use
in harsh environments. However, one of the main disadvantages of AM is its limited bandwidth
efficiency, which can be a problem in systems where bandwidth is limited, such as satellite
communication.
In summary, Amplitude Modulation (AM) is a method of conveying a baseband message signal
over a higher frequency carrier signal by varying the amplitude of the carrier signal in proportion
to the baseband signal. It has two types of AM, DSB, and SSB. AM is commonly used in AM
radio broadcasting and marine communication; it is robust against noise and interference but has
a limited bandwidth efficiency.
Example 1:
clc;clear
% Define the sampling frequency and time vector
fs = 1000;
t = 0:1/fs:1;
% Generate modulating signal
m = sin(2*pi*5*t);
% Generate carrier signal
c = cos(2*pi*100*t);
% Modulate the carrier signal using the ammod function
y = ammod(m,100,fs,0);
% Plot the signals in the time domain
figure
subplot(3,1,1);
plot(t,m);
title('Modulating Signal');
subplot(3,1,2);
plot(t,c);
title('Carrier Signal');
subplot(3,1,3);
plot(t,y);
title('Modulated Signal');
% Demodulation using the amdemod function
y_demod = amdemod(y,100,fs,0);
% Plot the demodulated signal in the time domain
figure
subplot(2,1,1);
plot(t,y_demod);
title('Demodulated Signal');
% Perform FFT on the demodulated signal
Y_demod = abs(fft(y_demod));
% Plot the demodulated signal in the frequency domain
subplot(2,1,2);
plot(f,Y_demod);
title('FFT of Demodulated Signal');
This code is an example of how to generate and analyze an amplitude-modulated (AM) signal
using MATLAB.
The code performs the following steps:
1. The first step is to clear the command window and any existing variables in the workspace by
using the "clc" and "clear" commands.
2. The next step is to define the sampling frequency and time vector. The sampling frequency is
set to 1000 Hz and the time vector is set to start from 0 to 1 second, sampled at the rate of 1000
samples per second.
3. The next step is to generate a modulating signal. A sinusoidal signal with a frequency of 5 Hz
is generated over the time vector defined earlier. This will be the signal that will be used to
modulate the carrier signal.
4. The next step is to generate a carrier signal. A cosine signal with a frequency of 100 Hz is
generated over the time vector defined earlier. This will be the signal that will be modulated by
the modulating signal.
5. The next step is to modulate the carrier signal using the "ammod" function. The "ammod"
function modulates the carrier signal with the modulating signal, resulting in an amplitude-
modulated signal. The carrier frequency is set to 100 Hz, the sampling frequency is set to 1000
Hz, and the modulation index is set to 0.
6. The next step is to plot the signals in the time domain. The modulating signal, carrier signal,
and modulated signal are plotted using the "plot" function.
7. The next step is to perform a fast Fourier transform (FFT) on the signals. The FFT of the
modulating signal, carrier signal, and modulated signal are calculated using the "fft" function.
8. The next step is to plot the signals in the frequency domain. The magnitude of the FFT of the
modulating signal, carrier signal, and modulated signal are plotted using the "plot" function.
9. The next step is to demodulate the modulated signal using the "amdemod" function. The
"amdem od" function demodulates the modulated signal, resulting in the original modulating
signal. The
carrier frequency is set to 100 Hz, the sampling frequency is set to 1000 Hz, and the modulation
index is set to 0.
10. The next step is to plot the demodulated signal in the time domain. The demodulated signal is
plotted using the "plot" function.
11. The last step is to perform a fast Fourier transform (FFT) on the demodulated signal. The FFT
of the demodulated signal is calculated using the "fft" function.
12. The last step is to plot the demodulated signal in the frequency domain. The magnitude of the
FFT of the demodulated signal is plotted using the "plot" function
Post Lab