Communication Engineering Lab Exp-2
Communication Engineering Lab Exp-2
(EEE2006)
Lab Assessment-2
AIM
To study the function of Amplitude Modulation.
To study modulator for DSB-SC and SSB upper and lower carrier
modulator
To generate the following signals and to draw their spectrums
1) Carrier signal
2) Modulating signal
3) DSB (Double sided band modulated signal
4) Single sided band (SSB) upper carrier modulated signal
5) Single sided band (SSB) Lower carrier modulated signal
6) Amplitude modulated signal
APPARATUS REQUIRED:
System with MATLAB R2019a
MATLAB CODE:
clc
clear all
close all
Am = 5;
Ac = 5;
ma = Am/Ac;
K = 1;
fm = 10;
tm = 1/fm;
fc = 100;
tc = 1/fc;
wm = 2*pi*fm;
wc = 2*pi*fc;
fs = 1000;
dt = 1/fs;
t = 0:dt:2*tm;
Vm = Am*sin(wm*t);
Vc = Ac*sin(wc*t);
figure(1)
subplot(4,2,1);
plot(t,Vm), grid on;% Graphical representation of Modulating signal
title ( ' Modulating Signal ');
xlabel ( ' time(sec) ');
ylabel (' Amplitud(volt) ');
subplot(4,2,2);
plot(t,Vc), grid on;% Graphical representation of Carriear signal
title ( ' Carriar Signal ');
xlabel ( ' time(sec) ');
ylabel (' Amplitud(volt) ');
Vdsbam = Ac*sin(wc*t)+K*ma*Ac/2*cos((wc-wm)*t)-
K*ma*Ac/2*cos((wc+wm)*t))
subplot(4,2,3);
plot(t,Vdsbam), grid on;% Graphical representation of DSB Modulated signal
title ( ' AM Signal ');
xlabel ( ' time(sec) ');
ylabel (' Amplitud(volt) ');
Vsusbam = Ac*sin(wc*t)- K*ma*Ac/2*cos((wc+wm)*t);
subplot(4,2,4);
plot(t,Vsusbam), grid on;% Graphical representation of SSB UC Modulated
signal
title ( ' AM Signal ');
xlabel ( ' time(sec) ');
ylabel (' Amplitud(volt) ');
Vslsbam = Ac*sin(wc*t)+K*ma*Ac/2*cos((wc-wm)*t);
subplot(4,2,5);
plot(t,Vslsbam), grid on;% Graphical representation of SSB LC Modulated signal
title ( ' AM Signal ');
xlabel ( ' time(sec) ');
ylabel (' Amplitud(volt) ');
Vdsbamsc =K*ma*Ac/2*cos((wc-wm)*t)- K*ma*Ac/2*cos((wc+wm)*t);
subplot(4,2,6);
plot(t,Vdsbamsc), grid on;% Graphical representation of DSB Modulated signal
title ( ' AM Signal ');
xlabel ( ' time(sec) ');
ylabel (' Amplitud(volt) ');
Vsusbamsc = K*ma*Ac/2*cos((wc+wm)*t);
subplot(4,2,7);
plot(t,Vsusbamsc), grid on;% Graphical representation of SSB UC Modulated
signal
title ( ' AM Signal ');
xlabel ( ' time(sec) ');
ylabel (' Amplitud(volt) ');
Vslsbamsc = K*ma*Ac/2*cos((wc-wm)*t);
subplot(4,2,8);
plot(t,Vslsbamsc), grid on;% Graphical representation of SSB LC Modulated
signal
title ( ' AM Signal ');
xlabel ( ' time(sec) ');
ylabel (' Amplitud(volt) ');
GRAPH
RESULT:
In this sample experiment, you were presented with the key issues involved in designing and
implementing an AM modulator.
Thus, the implementation of AM modulation is successfully executed.
The experiment intended to guide you through the steps necessary to achieve a practical
understanding of the concepts studied not only in the theory, but also in other courses of
the curriculum.