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

Communication Engineering Lab - EEE2006

This document describes an experiment on amplitude modulation and demodulation. It discusses generating different modulated signals like DSBSC, DSBFC, SSBUB, and SSBLB by imposing a message signal onto a carrier wave. Noise is added to the modulated signals using AWGN. The signals are then demodulated to retrieve the original message signal. The objective is to understand how to generate modulated signals, add noise, and demodulate the signals to recover the message.
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)
42 views6 pages

Communication Engineering Lab - EEE2006

This document describes an experiment on amplitude modulation and demodulation. It discusses generating different modulated signals like DSBSC, DSBFC, SSBUB, and SSBLB by imposing a message signal onto a carrier wave. Noise is added to the modulated signals using AWGN. The signals are then demodulated to retrieve the original message signal. The objective is to understand how to generate modulated signals, add noise, and demodulate the signals to recover the message.
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

Communication Engineering Lab -EEE2006

Experiment no- 3
Generation of Modulated Signal (Amplitude Modulation)
and Demodulation

Name: J Sai Vardhan


Reg No-18BEE0336

OBJECTIVE:
We know that in order to transmit a data signal wave we need a
carrier wave in order to transmit it to the large distances, we also
know that we need a carrier wave whose frequency is higher that
the data signal wave. And during this process we need modulation
whichis nothing but imposing the data signal wave onto the carrier
wave.

We are also aware that there would be noise added into our signal
while transmission, Now after our previous experiment amplitude
modulation in this we are going to modulate signals through
amplitude modulation and then we are going to add gaussian noise
to those signals and then demodulate them in order to retrieve our
original message signal.

Considered parameters for all waveforms:


Am=10;
fm=30, fc=300, fs=5000;
Cycles-2
CODE:
clc;
clear all;
fm = 40;
tm = 1/fm;
fc = 300;
fs = 5000;
ts = 1/fs;
t = 0 : ts : 2*tm-ts;
Am = 10;
wm=2*pi*fm;
[NUM,DEN] = butter(6,fc*2/fs);
S = RandStream('mt19937ar','Seed',5489);
Vm = Am*cos(wm*t);
DSBSC = modulate(Vm,fc,fs,'am');
%X = ammod(Vm,fc,fs,pi/2);
DSBFC= ammod(Vm,fc,fs,pi/2,5);
SSBUB = ssbmod(Vm,fc,fs,pi/2,'upper');
SSBLB = ssbmod(Vm,fc,fs,pi/2);
Z = awgn(DSBSC,5,4,S);
Z1= awgn(DSBFC,6,'measured','linear');
Z2= awgn(SSBUB,4,3,'linear');
Z3= awgn(SSBLB,3);
A = demod(Z,fc,fs,'am');
%A = amdemod(Z,fc,fs,pi/2);
B = amdemod(Z1,fc,fs,pi/2,5,NUM,DEN);
C = ssbdemod(Z2,fc,fs,pi/2);
D = ssbdemod(Z3,fc,fs,pi/2);
figure(1);
subplot(5,1,1);
plot(t,Vm);
xlabel('Time');
ylabel('Amplitude');
title('Input Signal J Sai Vardhan-18BEE0336');
subplot(5,1,2);
plot(t,DSBSC);
xlabel('Time');
ylabel('Amplitude');
title('DSBSC signal J Sai Vardhan-18BEE0336');
subplot(5,1,3);
plot(t,DSBFC);
xlabel('Time');
ylabel('Amplitude');
title('DSBFC signal J Sai Vardhan-18BEE0336');
subplot(5,1,4);
plot(t,SSBUB);
xlabel('Time');
ylabel('Amplitude');
title('SSBUB signal J Sai Vardhan-18BEE0336');
subplot(5,1,5);
plot(t,SSBUB);
xlabel('Time');
ylabel('Amplitude');
title('SSBLB signal J Sai Vardhan-18BEE0336');
figure(2);
subplot(4,1,1);
plot(t,Z);
xlabel('Time');
ylabel('Amplitude');
title('DSBSC signal With Gaussian noise J Sai Vardhan-18BEE0336');
subplot(4,1,2);
plot(t,Z1);
xlabel('Time');
ylabel('Amplitude');
title('DSBFC signal With Gaussian noise J Sai Vardhan-18BEE0336');
subplot(4,1,3);
plot(t,Z2);
xlabel('Time');
ylabel('Amplitude');
title('SSBUB signal With Gaussian noise J Sai Vardhan-18BEE0336');
subplot(4,1,4);
plot(t,Z3);
xlabel('Time');
ylabel('Amplitude');
title('SSBLB signal With Gaussian noise J Sai Vardhan-18BEE0336');
figure(3);
subplot(5,1,1);
plot(t,Vm);
xlabel('Time');
ylabel('Amplitude');
title('Input Signal J Sai Vardhan-18BEE0336');
subplot(5,1,2);
plot(t,A);
xlabel('Time');
ylabel('Amplitude');
title('DSBSC demodulation J Sai Vardhan-18BEE0336');
subplot(5,1,3);
plot(t,B);
xlabel('Time');
ylabel('Amplitude');
title('DSBFC demodulation J Sai Vardhan-18BEE0336');
subplot(5,1,4);
plot(t,C);
xlabel('Time');
ylabel('Amplitude');
title('SSBUB Demodulation J Sai Vardhan-18BEE0336');
subplot(5,1,5);
plot(t,D);
xlabel('Time');
ylabel('Amplitude');
title('SSBLB Demodulation J Sai Vardhan-18BEE0336');
RESULT:
CONCLUSION:
Here
DSBSC = modulate(Vm,fc,fs,'am'); → is used to generate the
double side band suppressed carrier.
DSBFC= ammod(Vm,fc,fs,pi/2,5);→is used to generate the double
side band full carrier modulated signal.

SSBUB = ssbmod(Vm,fc,fs,pi/2,'upper');→is used to generate the


single side band upper bound modulated signal specifies the initial
phase in modulated signal.

SSBLB = ssbmod(Vm,fc,fs,pi/2);→ is used to generate the single


side band lower bound modulated signal specifies the initial phase in
modulated signal.

Then we added noise to signals by using


Z = awgn(DSBSC,5,4,S);
Z1= awgn(DSBFC,6,'measured','linear');
Z2= awgn(SSBUB,4,3,'linear');
Z3= awgn(SSBLB,3);

And finally demodulated the signals by


A = demod(Z,fc,fs,'am');
B = amdemod(Z1,fc,fs,pi/2,5,NUM,DEN);
C = ssbdemod(Z2,fc,fs,pi/2);
D = ssbdemod(Z3,fc,fs,pi/2);

We have finally understood the complete concept of signal


modulation and we understood how to generate the modulated signals
and adding the noise to signals and retrieving the original message
signal back.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy