0% found this document useful (0 votes)
4 views

cs lab 21

The lab report focuses on Amplitude Modulation (AM), explaining its principles, generation, and demodulation processes. It details the MATLAB implementation for both manual and built-in methods of AM and demodulation, along with graphical representations of the signals. The conclusion highlights the successful retrieval of the original message signal through Double Sideband Amplitude Modulation and demodulation techniques.

Uploaded by

Mustafa Aasim
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views

cs lab 21

The lab report focuses on Amplitude Modulation (AM), explaining its principles, generation, and demodulation processes. It details the MATLAB implementation for both manual and built-in methods of AM and demodulation, along with graphical representations of the signals. The conclusion highlights the successful retrieval of the original message signal through Double Sideband Amplitude Modulation and demodulation techniques.

Uploaded by

Mustafa Aasim
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 6

DEPARTMENT OF ELECTRICAL ENGINEERING

College of Electrical and Mechanical Engineering (CEME), NUST-Pakistan


B.E. Electrical Engineering

Communication Systems
Lab Report

Lab# 2
Amplitude Modulation
Group Members Registration Number Syndicate
M.Ashiq Rasool Mustafa 414361
Shehrooz Akram 423739 A

What is the Amplitude Modulation?

Amplitude modulation (AM) is a modulation technique used in electronic communication,


most commonly for transmitting messages with a radio wave. In amplitude modulation,
the amplitude of the wave is varied in proportion to that of the message signal, such as
an audio signal.In amplitude modulation we have message signal which has the message to be
transmitted and also carrier signal.

How Amplitude Modulation occurs?


Comm System
Experiment # 2 Lab Report 1

AM involves generating a message signal and a high-frequency carrier signal. The message
signal is multiplied with the carrier, resulting in a modulated wave with an amplitude that varies
according to the message. The modulation index is adjusted to avoid distortion, and the final
AM signal is transmitted through the medium

Mathematics:

Demodulation:

Demodulation of a conventional AM signal is straightforward due to the nature of the message


signal m(t)m(t) and its relation to the carrier. Rectifying the received signal eliminates negative
values without affecting the message signal. The rectified signal is then passed through a low-
pass filter, which matches the bandwidth of the message signal, to recover the original
Comm System
Experiment # 2 Lab Report 2

message. This process is performed by an envelope detector, which consists of a rectifier


followed by a low-pass filter

Lab Tasks:

1. Write MATLAB code for amplitude modulation and demodulation of a message signal. 2.
Repeat the task using MATLAB built in commands for amplitude modulation and
demodulation. Compare the output of two methods. For designing low pass filter use fdatool
of MATLAB. Message signal = Sine Signal of 0.1*2*pi Hz:, Fc= 3000.
Code:
fs = 10000;

t = 0:1/fs:0.05;

f_message = 0.1;

f_carrier = 3000;

m_t = sin(2*pi*f_message*t);

s_t = (1 + m_t) .* cos(2*pi*f_carrier*t);

r_t = s_t .* cos(2*pi*f_carrier*t);

[b, a] = butter(5, 0.2/(fs/2));

demodulated_manual = filter(b, a, r_t);

s_builtin = ammod(m_t, f_carrier, fs);

demodulated_builtin = amdemod(s_builtin, f_carrier, fs);


Comm System
Experiment # 2 Lab Report 3

figure;

subplot(4,1,1);

plot(t, m_t);

title('Message Signal');

xlabel('Time (s)'); ylabel('Amplitude');

subplot(4,1,2);

plot(t, s_t);

title('Modulated Signal (Manual)');

xlabel('Time (s)'); ylabel('Amplitude');

subplot(4,1,3);

plot(t, demodulated_manual);

title('Demodulated Signal (Manual Method)');

xlabel('Time (s)'); ylabel('Amplitude');

subplot(4,1,4);

plot(t, demodulated_builtin);

title('Demodulated Signal (Built-in Method)');

xlabel('Time (s)'); ylabel('Amplitude');

Graph:
Comm System
Experiment # 2 Lab Report 4

Task 2:

Take any input signal, and make the system as shown in figure 2 in Simulink. And then add
the reception part of system in the above block diagram, and retrieve the same signal. Plot
input, carrier signal, modulated signal and received message. Specifications of message
signal:=Signal of 2 Hz frequency Specifications of carrier signal:=Sine Signal of 1k Hz
frequency.

Simulink:

Scope 3 Output:
Comm System
Experiment # 2 Lab Report 5

>Explanations of both tasks is provided in next page.

Conclusion:

In,this lab we got to know the process of Double Sideband Amplitude Modulation and
demodulation using Simulink. A sinusoidal message signal is modulated with a carrier, then
demodulated by multiplying it again with the carrier signal. The output scope visualizes the
successful retrieval of the original message, showcasing the effectiveness of the DSB-AM
technique.

You might also like