0% found this document useful (0 votes)
62 views12 pages

Lab 3 Am Demodulation

The document is a lab report submitted by Dilawar Mohammadi for an electrical engineering course. The lab assignment involved generating an AM wave in a noisy environment at different modulation indices, demodulating the signal, and comparing the output signal-to-noise ratio. The student used MATLAB code to simulate the AM modulation and demodulation. Analysis showed that SNR increases with increasing modulation index. The student answered questions about modulation index above 1, the relationship between SNR and bandwidth, and the proportional relationship between modulation index and SNR.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
62 views12 pages

Lab 3 Am Demodulation

The document is a lab report submitted by Dilawar Mohammadi for an electrical engineering course. The lab assignment involved generating an AM wave in a noisy environment at different modulation indices, demodulating the signal, and comparing the output signal-to-noise ratio. The student used MATLAB code to simulate the AM modulation and demodulation. Analysis showed that SNR increases with increasing modulation index. The student answered questions about modulation index above 1, the relationship between SNR and bandwidth, and the proportional relationship between modulation index and SNR.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 12

Department of Electrical

(Power) Engineering
Lab Assignment: 3

Submitted by: Dilawar Mohammadi


Reg no: FA18-EPE-130
Submitted to: sir Usman Ali

Effective Cognitive Psychomotor Total Marks


AM Demodulation
Statement:
generate AM wave in noisy environment at different modulation index.
Demodulate the AM wave and compare the output signal to noise ratio (So/No) at
different modulation index.
Literature Background:
Demodulation is a key process in the reception of any amplitude modulated signals
whether used for broadcast or two-way radio communication systems.
Demodulation is the process by which the original information bearing signal, i.e.,
the modulation is extracted from the incoming overall received signal.
Procedure:

MATLAB
Code: %% AM
Demodulation
clc
clear
all
close
all
%% Intial
Parameter vm=1;
vc=5; m=vm/vc;
t=0:1:200;
fm=50;
fc=10*fm;
fs=10*fc; ts=t/fs;
ph=0;
%% information signal
x_m=cos(2*pi*fm*ts +
ph); figure plot (ts,
x_m)

xlabel ('time')
ylabel('magnitude')
title('Base Band Signal')
grid on

%% Carrier Signal in time


domain x_c=cos(2*pi*fc*ts
+ ph); figure plot (ts, x_c)
xlabel('time')
ylabel('magnitude')
title('Carrier Signal') grid on
%% AM Modulation
m_t=
(1+m.*x_m).*x_c;
figure plot(ts, m_t)
xlabel('time') ylabel
('Magnitude')
title('AM
Modulation') grid on
%% AM Demodulation without noise
mt= amdemod(m_t, fc,fs) figure
plot(ts, mt) xlabel('time')
ylabel('Magnitude') title('AM
Demodulated Signal without noise')
grid on

%% AWGN Channel
SNR =10;
Y=awgn(m_t,SNR)
figure plot(ts,Y) xlabel('time')
ylabel('Magnitude') title('AM
Modulation Signal with noise')
grid on
%% AM Demodulation with
noise
mt_noise=amdemod(Y,fc,fs)
figure plot(ts,mt_noise)
xlabel('time')
ylabel('Magnitude') title('AM
Demodulated Signal') grid on
%%SNR in dB
snr_dp=sum(mt.^2)./sum(mt.^2-
mt_noise.^2);
snrdb=abs(10.*log(snr_dp));
disp('Signal to noise ratio (SNR_db)');
display(snrdb)

Analysis:
Modulation Index: 1.0
AM Demodulated Signal:

AM Demodulated Signal with Noise:

AM Demodulated Signal. Without Noise:


Modulation Index: 0.6
AM Demodulation Signal:

AM Demodulated Signal with Noise:


AM Demodulated Signal without Noise:

Modulation Index: 0.2


AM Demodulation Signal:
AM Demodulated Signal without Noise:
Observation Table:

S. Modulation Index 𝑺𝑵𝑹𝒅𝑩


No.
1.
0.2 30.8610
2.
0.6 39.6969
3.
1.0 51.390

As we increase Modulation Index, The Signal to Noise Ratio also increases which
means SNR is directly proportional to Modulation Index.
Graph between SNR (dB) and Modulation Index:

Modulation Index vs. SNR(dB)


60

50

40
SNR(dB)

30

20

10

0
0.2 0.6 1
Modulation Index

Questions & Answers:

• Q.01.What will happen to signal to noise ratio in AM, if its modulation


index is greater than 1?

Answer:
The signal ratio is increasing with the increase of modulation index. Like in the
table.

• Q.02.Does signal to noise ratio depend on the bandwidth of AM wave for


constant bandwidth of base band signal? Give reason

Answer:
SNR= S/N
The Shannon–Hartley theorem tells the maximum rate at which information can
be transmitted over a communications channel of a specified bandwidth in the
presence of noise.
C = W log2 (1 + P N) bits/s.
The number of independent samples that can be put through a channel of
bandwidth W hertz is 2W samples per second.

• Q.03.What is the relationship of proportionality between modulation index


and SNR?

Answer:
If x (t) is your message signal, then you can write the AM signal as

s(t)=A[1+mx(t)]cosω0t
Where A>0 is a real-valued constant, m is the modulation index, and ω0 is the
carrier frequency (in radians). If you assume that the noise added by the
channel is white with power spectral density N0, then the SNR after
demodulation is

𝑨𝟐𝒎𝟐𝒙𝟐(𝒕)
𝑺𝑵𝑹= eq (1)
𝟒𝑵𝒐𝑩𝒙
message x(t) and x2(t) is its average power.
Where Bx is the bandwidth of the

Conclusion:
From this LAB I Learn that signal ratio is increasing with the increase of
modulation index. I also know about Shannon–Hartley theorem that tells us the
maximum rate at which information can be transmitted over a communications
channel of a specified bandwidth in the presence of noise. If you assume that
the noise added by the channel is white with power spectral density N0, then
the SNR after demodulation is from equation (1) where Bx is the bandwidth of
the message x(t) and x2(t) is its average power.

ALLOCATED VERY GOOD EXELLENT MARKS OBTAINED


CRITERIA POOR (40%-50%) GOOD (51%-70%)
(MARKS) (71%-80) (81%-100%) (A)

AFFECTIVE 10%

ALLOCATED VERY GOOD EXELLENT MARKS OBTAINED


CRITERIA POOR (40%-50%) GOOD (51%-70%)
(MARKS) (71%-80) (81%-100%) (C)

COGINATIVE 20%

ALLOCATED VERY GOOD EXELLENT MARKS OBTAINED


CRITERIA POOR (40%-50%) GOOD (51%-70%)
(MARKS) (71%-80) (81%-100%) (P)

PSYCHOMOTER 70%

Obtained Marks = (0.1*A) + (0.2*C) + (0.7*P) =Total marks: .

COURSE INSTRUCTOR: SIR USMAN ALI

THE END

You might also like