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

Mixer: Prateek Gupta Reg - No. 15BEE0064

1) The document describes an experiment to generate amplitude modulated waves using Matlab. It discusses generating DSB-FC, DSB-SC, and SSB modulation and then demodulating the signals with and without additive white Gaussian noise. 2) The Matlab code generates the message signal, carrier signal, and modulated signals for each modulation type. It then adds noise and performs demodulation. 3) The inference states that simulation of various amplitude modulation forms was successful as the outputs matched the desired outputs, concluding the experiment was successful.

Uploaded by

Prateek Gupta
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
57 views

Mixer: Prateek Gupta Reg - No. 15BEE0064

1) The document describes an experiment to generate amplitude modulated waves using Matlab. It discusses generating DSB-FC, DSB-SC, and SSB modulation and then demodulating the signals with and without additive white Gaussian noise. 2) The Matlab code generates the message signal, carrier signal, and modulated signals for each modulation type. It then adds noise and performs demodulation. 3) The inference states that simulation of various amplitude modulation forms was successful as the outputs matched the desired outputs, concluding the experiment was successful.

Uploaded by

Prateek Gupta
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 11

PRATEEK GUPTA Reg.No.

15BEE0064

Exp. No. 3A Date: 24.8.18

MIXER

Aim:
To Construct a circuit to generate the Sum / Difference signal using Mixer circuit.

Apparatus Required / Components used:

Circuit Diagram(s):
Picture of Hardware connection :
Manual Calculation(s) :
Graph : VB:

Va:
Vout:

Tabulation(s) :
S.No Fx fy Fout
1 100KHz 99KHz 1KHz

Vx=5.25
Vy=10.96
Peek to peek=1.19V

Inference :
Therefore , the mixer Circuit is implemented and its output is observed to be matching
considerably with the model graphs. Hence, in conclusion, the experiment is successful.
Exp No. 3B

GENERATION OF AMPLITUDE MODULATION


AND DETECTION

AIM:
To generate a amplitude Modulated wave with DSB/FC, SSB/FC, DSB/SC and SSB.SC and
demodulator using the Matlab function with and without AWGN.

SOFTWARE REQUIRED : MATLAB 7.0

CODE:
clc
clear all
close all
fm=5;
fc=20;
fs=200;
Vm=2;
Vc=2;
m=Vm/Vc;
wm=2*pi*fm;
wc=2*pi*fc;
t=0:0.01:2;
Vmsg=Vm*sin(wm*t);
Vcar=Vc*sin(wc*t);
subplot(211)
plot(t,Vmsg);
xlabel('time');
ylabel('amplitude');
title('Message Signal');
subplot(212)
plot(t,Vcar);
xlabel('time');
ylabel('amplitude');
title('Carrier Signal');
figure(2);
dsb-tfc
Vam=Vc*sin(wc*t)+(m*Vc/2)*cos(wc*t-wm*t)-(m*Vc/2)*cos(wm*t+wc*t);
subplot(411)
plot(t,Vam)
xlabel('time');
ylabel('amplitude');
title('DSb-FC');
Y1=awgn(Vam,20)
subplot(412)
plot(t,Y1)
X1=demod(Y1,fc,fs,'amdsb-tc');
xlabel('time');
ylabel('amplitude');
title('DSB-FC with noise');
subplot(413)
plot(t,X1)
xlabel('time');
ylabel('amplitude');
title('demodulated with noise');
subplot(414)
Z1=demod(Vam,fc,fs,'amdsb-tc');
plot(t,Z1)
xlabel('time');
ylabel('amplitude');
title('demodulated without noise');
figure(3);
%dsb-sc
Vam=(m*Vc/2)*cos(wc*t-wm*t)-(m*Vc/2)*cos(wm*t+wc*t);
subplot(411)
plot(t,Vam)
xlabel('time');
ylabel('amplitude');
title('DSb-FC');
Y1=awgn(Vam,20)
subplot(412)
plot(t,Y1)
X1=demod(Y1,fc,fs,'am');
xlabel('time');
ylabel('amplitude');
title('DSB-FC with noise');
subplot(413)
plot(t,X1)
xlabel('time');
ylabel('amplitude');
title('demodulated with noise');
subplot(414)
Z1=demod(Vam,fc,fs,'am');
plot(t,Z1)
xlabel('time');
ylabel('amplitude');
title('demodulated without noise');
figure(3);
Vam=(m*Vc/2)*cos(wc*t-wm*t);
subplot(411)
plot(t,Vam)
xlabel('time');
ylabel('amplitude');
title('sSb');
Y1=awgn(Vam,20)
subplot(412)
plot(t,Y1)
X1=demod(Y1,fc,fs,'amssb');
xlabel('time');
ylabel('amplitude');
title('sSB-sC with noise');subplot(413)
plot(t,X1)
xlabel('time');
ylabel('amplitude');
title('demodulated with noise');
subplot(414)
Z1=demod(Vam,fc,fs,'amssb');
plot(t,Z1)
xlabel('time');
ylabel('amplitude');
title('demodulated without noise');

Program:
Inference / Result:
Therefore, the simulation of Amplitude Modulation of different forms namely:
• Double Side Band- Full Carrier (DSB-FC)
• Double Side Band- Supressed Carrier (DSB-SC)
• Supressed Side Band (SSB)
have been performed on MATLAB 2017a and the outputs closely match the desired output.
Therefore, in conclusion, the experiment was successful.

You might also like