0% found this document useful (0 votes)
78 views6 pages

21BEC1676 Avinash V Analog Communiction EXP 4

The document describes an experiment using MATLAB to simulate DSB-SC (double sideband suppressed carrier) modulation and demodulation. The procedure involves: (1) defining the message and carrier signals, (2) performing DSB-SC modulation by multiplying the signals, (3) demodulating the modulated signal by multiplying it with the carrier and filtering. The results show that the demodulated signal matches the original message signal, verifying that DSB-SC modulation and demodulation were successfully simulated using MATLAB.

Uploaded by

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

21BEC1676 Avinash V Analog Communiction EXP 4

The document describes an experiment using MATLAB to simulate DSB-SC (double sideband suppressed carrier) modulation and demodulation. The procedure involves: (1) defining the message and carrier signals, (2) performing DSB-SC modulation by multiplying the signals, (3) demodulating the modulated signal by multiplying it with the carrier and filtering. The results show that the demodulated signal matches the original message signal, verifying that DSB-SC modulation and demodulation were successfully simulated using MATLAB.

Uploaded by

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

Experiment No.

Date: 19.1.23

Double Side Band Suppressed Carrier Modulation and Demodulation

Name: Avinash V
Reg. No. 21BEC1676

AIM: To design an DSB-SC modulator and demodulator

Software required: MATLAB

Procedure:

1) Open MATLAB online

2) Assign the values for all parameters like message signal-frequency, amplitude and others

3) Specify the message signal in mathematical form and plot the message signal

4) Give name for the plot and as well as the axes

5) Similarly construct the carrier signal to perform amplitude modulation

6) To perform amplitude modulation use the respective mathematical expression and obtain
the waveform

7) To extract the message signal from DSB modulated signal multiply carrier signal with
message signal and use butter and buttord command

8) Repeat the process for different type of modulation and observe the output

Diagram and equations:

Amplitude modulation is defined as a modulation system in which the carrier's amplitude is


varied according to the message signal's amplitude. If we eliminate or suppress the carrier then
the system becomes suppressed carrier DSB-SC

Let the carrier signal be: Vc(t) = Vc sin(2πfct)


Let the message signal be : Vm(t) = Vm sin(2πfmt)

The DSB-SC output signal is given by

VAM(DSB) = Vc sin(2πfct)* Vm sin(2πfmt)

VAM(DSB) = (Am*Ac)/2 cos[2π(fc+fm)t]+ (Am*Ac)/2 cos[2π(fc−fm)t]

Where:
 fc+fm is upper side band frequency
 fc-fm is lower side band frequency

Block Diagram:

Modulation

Modulating
Signal
Generator
Balanced
Modulator
Carrier
Generator

Demodulation

Modulating
signal
Generator Balanced
Demodulator
Modulator

Carrier
Generator
PROGRAM:

MATLAB code for DSB-SC modulation:

clear all
clc
t=0:0.000001:0.001;
fm=2000;
fc=50000;
Am=1;
Ac=1;
m=Am*sin(2*pi*fm*t);
figure;
subplot(3,1,1);
plot(t,m)
xlabel('Time');
ylabel('Amplitude');
title('Message Signal');
c=Ac*sin(2*pi*fc*t);
subplot(3,1,2);
plot(t,c)
xlabel('Time');
ylabel('Amplitude');
title('Carrier Signal');
%DSB Modulation
y=(Am*sin(2*pi*fm*t)).*(Ac*sin(2*pi*fc*t));
subplot(3,1,3);
plot(t,y)
hold on; plot(t,m); plot(t,-m);
xlabel('Time');
ylabel('Amplitude');
title('DSB-SC Signal');

MATLAB Simulation result for DSB-SC Modulator:


MATLAB code for DSB-SC Demodulation:

clear all
clc
t=0:0.000001:0.001;
fm=2000;
fc=50000;
Am=1;
Ac=1;
m=Am*sin(2*pi*fm*t);
figure;
subplot(4,1,1);
plot(t,m)
xlabel('Time');
ylabel('Amplitude');
title('Message Signal');
c=Ac*sin(2*pi*fc*t);
subplot(4,1,2);
plot(t,c)
xlabel('Time');
ylabel('Amplitude');
title('Carrier Signal');

%DSB SC Modulation
y=(Am*sin(2*pi*fm*t)).*(Ac*sin(2*pi*fc*t));
subplot(4,1,3);
plot(t,y)
hold on;
plot(t,m);
plot(t,-m);
xlabel('Time');
ylabel('Amplitude');
title('DSB-SC Signal');

%DSB SC Demodulation
r = y.*c;
[b a] = butter(1,0.01);
z= filter(b,a,r);
subplot(4,1,4);
plot(t,z);
xlabel('Time');
ylabel('Amplitude');
title('Demodulated DSB-SC Signal');
MATLAB Simulation result for DSB-SC Demodulator:

OBSERVATIONS:

Carrier Signal Message signal Modulated signal Demodulated


output Signal
output
Fc(Hz) Vc(volts) Fm(Hz) Vm(v) Fo(Hz) Vo(v) F(Hz) V(v)

50000 1 2000 1 50000 1 2000 0.5

Explanation:

In the demodulation part first, we generate the received signal which is basically DSB-SC
modulated signal and to extract the message signal we multiply the message the signal with a
carrier signal to get the message signal then we use butter command to extract the more
accurate message signal
Inference:

From the modulated waveform we can observe the superimposition of carrier and message
signal and also we observe a bubble-shaped signal from this waveform so we can conclude
that DSB SC modulation is done and also the output is more similar to the AM output and for
verifying the modulation output we need demodulate the same once demodulation is done we
can an observe similar signal like message signal hence verified the result of DSB-SC
modulation.

Result:

The MATLAB code for DSB-SC modulation is done and verified the output using
demodulation

You might also like