Sample Lab E-Record
Sample Lab E-Record
Exp.No. : 1
Aim :
Hardware Required:
Theory:
Amplitude Modulation (AM) is a technique used in electronic communication where the amplitude (strength)
of the carrier wave is varied in proportion to the instantaneous amplitude of the message signal (modulating
signal). The carrier wave's frequency remains constant, while its amplitude changes to encode the
information from the message signal.
AM is commonly used in radio broadcasting (AM radio) and in communication systems where simple and
efficient signal processing is sufficient.
2. Demodulation:
Demodulation is the process of extracting the original message signal (modulating signal) from the
modulated carrier wave. In amplitude modulation, demodulation involves detecting the variations in the
carrier wave's amplitude to recover the transmitted information.
The modulation index of AM quantifies the degree of modulation applied to the carrier wave.It is defined as
the ratio of the amplitude of the message signal (Am) to the amplitude of the carrier signal (Ac).
Formula used :
Circuit Diagram :
Model Graph:
Tabulation:
PROGRAM PART I:
clc;closeall;clearall;
t=0:0.01:10;
m=sin(2*pi*t/2);
subplot(3,1,1);
plot(t,m,'LineWidth',2,'Color','b');
set(gca,'fontsize',13,'fontweight','bold');
xlabel('Time', 'fontsize', 13, 'fontweight', 'bold');
ylabel('Amplitude','fontsize',13,'fontweight','bold');
title('Message Signal', 'fontsize', 14);
c=sin(2*pi*5*t);
subplot(4,1,2);
plot(t,c,'LineWidth',2,'Color','b');
set(gca,'fontsize',13,'fontweight','bold');
xlabel('Time', 'fontsize', 13, 'fontweight', 'bold');
ylabel('Amplitude','fontsize',13,'fontweight','bold');
title('Carrier Signal', 'fontsize', 14);
s=m.*c;
subplot(4,1,3
);
plot(t,s,'LineWidth',2,'Color','g');
set(gca,'fontsize',13,'fontweight','bold');
xlabel('Time', 'fontsize', 13, 'fontweight', 'bold');
ylabel('Amplitude','fontsize',13,'fontweight','bold');
title('AM Signal', 'fontsize', 14);
z=s.*c ;M=lowpas
s(z,0.01);
subplot(4,1,4);
plot(t,M,'LineWidth',2,'Color','g');
set(gca,'fontsize',13,'fontweight','bold');
xlabel('Time', 'fontsize', 13, 'fontweight', 'bold');
ylabel('Amplitude','fontsize',13,'fontweight','bold');
title('Demodulated signal', 'fontsize', 14);
PROGRAM PART II
fm=20; fc=500;
vm=1; vc=1;
mu=0.8; % modulation index
% x-axis:Time(second)
t=0:0.00001:0.0999;
f=0:1:9999;
%y-axis:Voltage(volt)
V1=vc+mu*sin(2*pi*fm*t);
%upper envelope
V2=-(vc+mu*sin(2*pi*fm*t));
% lower envelope
Vm=vm*sin(2*pi*fm*t);
sVc=vc*sin(2*pi*fc*t);
Vam=vc*(1+mu*sin(2*pi*fm*t)).*(sin(2*pi*fc*t)); %AM signal
Vr=Vam.*vc;
% Synchronous detector
Vf=abs(fft(Vam,10000))/500; % Spectrum
[b,a] = butter(3,0.002); out= filter(b,a,Vr);
PROGRAM PART I
PROGRAM PART II
Result & Inference : ( Paste the Output Verification Sign for both H/W & S/w) :