L4 Amplitude Modullation
L4 Amplitude Modullation
1. Introduction:
This lab focuses on understanding and analyzing Amplitude Modulation (AM), one of the
fundamental techniques used in analog communication systems. AM is widely used in various
applications such as radio broadcasting, air-band radio, and two-way radio communications. In
AM, the amplitude of a high-frequency carrier signal is varied in proportion to the instantaneous
amplitude of a low-frequency message or information signal. This modulation process allows for
efficient transmission of information over long distances, as the high-frequency carrier enables
better propagation and reception.
In this experiment, we will study the behavior of AM by examining the message signal, the
carrier signal, and the resulting AM modulated waveform in both time and frequency domains.
Observing these signals in the time domain provides insights into how the amplitude of the
carrier varies in accordance with the message signal over.
1.1 Modulation and Amplitude modulation:
Modulation is the process of modifying a carrier signal’s characteristics, such as amplitude,
frequency, or phase, in order to encode information from a message signal for transmission over
a medium. In amplitude modulation (AM), the carrier signal’s amplitude is varied in direct
proportion to the instantaneous amplitude of the message signal, while its frequency remains
constant. This allows the message information to be embedded within the carrier wave, enabling
it to be transmitted over long distances. In AM, the resulting modulated signal consists of the
carrier frequency and two sidebands one above and one below the carrier frequency representing
the message signal’s frequency components. This lab focuses on analyzing AM signals,
examining how the message signal modulates the carrier in both the time and frequency
domains, and measuring the modulation index to assess modulation depth and
transmission efficiency.
1
Code for modulation and amplitude modulation:
Code for performing Amplitude Modulation (AM) by generating a message signal, a carrier
signal, and then modulating them:
Code:
Plot/graphs:
Message Signal
1
Amplitude
-1
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
Time (s) -3
x 10
Carrier Signal
10
Amplitude
-10
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
Time (s) -3
x 10
AM Modulated Signal
20
Amplitude
-20
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
Time (s) -3
x 10
2
Message Signal Spectrum
500
Amplitude
0
-100 -80 -60 -40 -20 0 20 40 60 80 100
Frequency (Hz)
Carrier Signal Spectrum
10000
Amplitude
5000
0
-100 -80 -60 -40 -20 0 20 40 60 80 100
Frequency (Hz)
AM Signal Spectrum
10000
Amplitude
5000
0
-100 -80 -60 -40 -20 0 20 40 60 80 100
Frequency (Hz)
These plots demonstrates the process of generating and analyzing an amplitude-modulated (AM)
signal. By creating a message signal, a carrier signal, and combining them based on the
modulation index, the code successfully simulates the AM process. The time-domain plots
visually illustrate how the amplitude of the carrier signal changes in response to the message
signal, reflecting the core principle of amplitude modulation. Meanwhile, the frequency-domain
analysis using FFT highlights the presence of the carrier frequency and the sidebands on either
side, corresponding to the message signal’s frequency components. This visualization effectively
shows how AM modulation embeds information within the carrier, enabling efficient
transmission. Overall, the code provides a comprehensive look at AM’s functionality, reinforcing
the concepts of modulation and spectral analysis.
1.2. Depth of modulation:
The depth of modulation (also known as the modulation index in amplitude modulation) is a
measure of how much the carrier amplitude varies with the message signal. It can be calculated
as:
3
Am
modulation index ( m )=
Ac
where:
Procedure:
The code effectively demonstrates the impact of different modulation indices on an Amplitude
Modulated (AM) signal by simulating under-modulation, 100% modulation, and over-
modulation. Through these simulations:
1. Under-Modulation (modulation index m < 1): The amplitude of the message signal is
lower than the carrier signal. In this scenario, the envelope of the AM signal is distinct, without
reaching the full carrier amplitude. This results in an AM signal that underutilizes the carrier’s
potential, showing lower amplitude variations, but preserves signal clarity without distortion.
2. 100% Modulation (modulation index m = 1): Here, the message signal amplitude
matches the carrier, leading to an AM signal where the envelope exactly represents the message.
This is the optimal modulation depth, balancing signal clarity and transmission power.
3. Over-Modulation (modulation index m > 1): In this case, the message signal amplitude
exceeds the carrier’s, causing the envelope to be clipped or distorted. This leads to envelope
distortion, which can cause interference and complicate demodulation, ultimately reducing the
quality and reliability of the transmitted signal.
In conclusion, this code illustrates the importance of controlling the modulation index in AM
systems to achieve high-quality transmission. Maintaining a modulation index close to 1 is
essential for achieving a clear, undistorted signal, while both under- and over-modulation have
drawbacks in signal clarity and power efficiency.
4
Code:
% Parameters
fm = 500; % Message frequency (Hz)
fc = 10000; % Carrier frequency (Hz)
Ac = 10; % Carrier amplitude (V)
t = 0:1e-6:1e-3; % Time vector (1 ms duration with 1 ?s resolution)
% Message Signal (sine wave) with different amplitudes for varying modulation
depths
Am_under = 5; % Amplitude for under-modulation (m < 1)
Am_full = 10; % Amplitude for 100% modulation (m = 1)
Am_over = 15; % Amplitude for over-modulation (m > 1)
% Modulated Signals
AM_under = (Ac + message_under) .* cos(2 * pi * fc * t); % Under-modulated
signal
AM_full = (Ac + message_full) .* cos(2 * pi * fc * t); % 100% modulated
signal
AM_over = (Ac + message_over) .* cos(2 * pi * fc * t); % Over-modulated
signal
% Plot Under-Modulation
subplot(3,1,1);
plot(t, AM_under, 'b');
title('Under-Modulated Signal (m < 1)');
xlabel('Time (s)');
ylabel('Amplitude');
grid on;
% Plot Over-Modulation
subplot(3,1,3);
plot(t, AM_over, 'k');
title('Over-Modulated Signal (m > 1)');
xlabel('Time (s)');
ylabel('Amplitude');
grid on;
5
% Displaying Modulation Indices in Command Window
fprintf('Under-Modulation Index (m < 1): %.2f\n', Am_under / Ac);
fprintf('100%% Modulation Index (m = 1): %.2f\n', Am_full / Ac);
fprintf('Over-Modulation Index (m > 1): %.2f\n', Am_over / Ac);
Graph:
-20
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
Time (s) -3
x 10
100% Modulated Signal (m = 1)
20
Amplitude
-20
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
Time (s) -3
x 10
Over-Modulated Signal (m > 1)
50
Amplitude
-50
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
Time (s) -3
x 10
6
Am = [2, 5, 10, 15]; % Different amplitudes for observation
% Initialize figure
figure;
% Generate AM Signal
AM_signal = (Ac + message_signal) .* cos(2 * pi * fc * t);
7
Graph:
10000
5000
0
0 0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 1.8 2
Frequency (Hz) 4
x 10
Explanation,
1. Parameters:
• fm: Frequency of the message signal (500 Hz).
• fc: Frequency of the carrier signal (10 kHz).
• Ac: Amplitude of the carrier signal (10 V).
• t: Time vector for 1 ms with a 1 µs resolution.
2. Amplitude Variations:
• Am: An array containing different amplitudes for the message signal (2 V, 5 V,
10 V, and 15 V) to observe how the spectrum changes with varying modulation depths.
3. FFT Calculation:
• For each amplitude of the message signal, the code generates the message and
AM signals.
• It computes the FFT of the AM signal to analyze its frequency components.
4. Frequency Spectrum Plotting:
• The spectrum is plotted for each message amplitude, displaying the magnitude of
the FFT against frequency.
• The carrier frequency (10 kHz) and the corresponding lower and upper sidebands
are highlighted with dashed lines.
5. Subplot for Each Amplitude:
8
• Each subplot corresponds to a different message amplitude, allowing for easy
comparison of the frequency spectra.
This code simulates the process of analyzing the frequency spectrum of an AM signal by varying
the amplitude of the message signal. It provides a visual representation of how the modulation
affects the carrier and sidebands in the frequency domain. You can run this code in MATLAB to
observe the results and capture the frequency spectrum based on the settings you’ve provided.
9
• Over-Modulation (m > 1): When the modulation index exceeds 1, the message signal’s
amplitude is greater than that of the carrier, causing over-modulation. In this state, the carrier
signal is suppressed at certain points, resulting in waveform clipping or distortion. In practical
applications, over-modulation is undesirable as it distorts the signal, makes recovery difficult,
and increases the risk of interference with adjacent channels.
3. Observations from Frequency Domain Analysis
• The Fast Fourier Transform (FFT) was applied to observe the AM signal’s frequency
components. The resulting spectrum showed the carrier frequency along with two sidebands,
located symmetrically above and below the carrier frequency by the frequency of the message
signal.
• Sidebands: The sidebands in the frequency domain reflect the information content in the
AM signal. The power contained within the sidebands is related to the message signal’s power,
while the power in the carrier is generally constant. In over-modulation scenarios, the frequency
domain plot can show additional components or spurious signals, indicating distortion that can
interfere with adjacent frequencies.
4. Implications for Signal Transmission
• The modulation index directly impacts signal quality, efficiency, and bandwidth
requirements. With under-modulation, the transmitted signal has reduced power efficiency and
might require additional amplification. Full modulation is ideal for balancing power and clarity.
Over-modulation leads to increased spectral width and potential signal distortion, which can
cause interference with other channels and result in errors during demodulation.
• This understanding of modulation depth is crucial in communication systems, as
selecting the correct modulation index helps balance the needs for efficient power usage,
minimal distortion, and signal clarity. This is especially important in broadcast applications,
where regulated transmission power and bandwidth are essential for avoiding interference.
5. Practical Applications and Limitations
• Applications: Amplitude modulation is widely used in analog broadcasting (e.g., AM
radio) due to its simplicity and ability to propagate over long distances, especially at lower
frequencies. AM is also used in other analog communication systems such as aviation radio.
• Limitations: One of the major drawbacks of AM is its susceptibility to noise, as
amplitude variations can be easily distorted by external interference. Additionally, over-
modulation in practical systems must be carefully avoided, as it leads to a degraded signal that
cannot be effectively demodulated.
6. Conclusion of Analysis
• This lab demonstrates the importance of controlling the modulation index in AM
systems. Understanding the effects of different modulation depths allows engineers to optimize
10
signal transmission for efficiency and clarity. While AM is a simpler and widely used
modulation technique, especially for analog applications, its limitations in terms of noise
susceptibility and potential for distortion require careful management in practical systems.
• The simulations provided valuable insights into the behavior of AM signals under
various conditions, highlighting the need to avoid over-modulation to ensure a clean, reliable
signal. The frequency domain analysis reinforced the importance of understanding spectral
components, which is essential for designing and managing bandwidth in communication
systems.
In summary, this lab reinforced key concepts in AM, modulation depth, and spectral analysis,
providing a practical foundation for future studies in analog and digital communication.
Conclusion:
In conclusion, this lab provided an in-depth exploration of Amplitude Modulation (AM), with a
focus on understanding the modulation index and its effects on signal quality. By simulating AM
with varying modulation depths—under-modulation, full modulation, and over-modulation—we
observed how the message signal modulates the carrier and influences the resulting AM
waveform in both time and frequency domains. The modulation index proved crucial for
optimizing signal clarity and power efficiency, as under-modulation underutilizes the carrier, full
modulation achieves optimal signal quality, and over-modulation cause’s distortion,
complicating demodulation and potentially causing interference.
The code allowed us to visualize these effects, offering practical insights into the benefits and
drawbacks of each modulation level. Through frequency domain analysis, we also examined the
spectral components, reinforcing the importance of managing bandwidth in communication
systems. Overall, this lab demonstrated the principles of AM, highlighting the importance of
carefully controlling the modulation index to ensure efficient, distortion-free signal transmission,
which is critical in real-world communication applications.
11