Sunteți pe pagina 1din 7

Digital Signal Processing Lab

Lab Assignment:1
Name: Syed Shehryar
Roll No:160265
Section: BEEP(A)
Submitted To: Madam Ayesha Afzal

DEPARATMENT OF ELECTRICAL ENGINEERING


FACULATY OF ENGINEERING
AIR UNIVERSITY, ISLAMABAD
Define demodulation and explain it through block diagram and Simulink
model.
Demodulation:
Demodulation is extracting the original information-bearing signal from a carrier wave.
A demodulator is an electronic circuit (or computer program in a software-defined radio) that is
used to recover the information content from the modulated carrier wave.

Types of Demodulator:
 Envelope Detector.
 Square law demodulator.
 Coherent Detector.

Square Law Demodulator:


1) Block Diagram:

2) Method:

Square law demodulation process of AM signal is divided into three major steps:
Step1: The AM modulated signal is pass through a squarer device.
Step2: To ignore high frequency components the resultant is pass through a low pass filter
whose bandwidth is two times to that of message signal.
Step3: Then resultant is pass through a square root device to recover original message signal.
3)THEORATICAL PROOF:
4) Simulink Model:

5) Libraries:
In Simulink library go to:
i. Sources=>Click and Select sinewave and constant block.
ii. Common used Block=>Click and Select scope block.
iii. Math Operation Block=>Click and Select gain, Product, add, sqrt.
iv. Continuous Block=> Click and Select Transfer Fcn.
6) Procedure:
 For your message signal, I used a 0.5Hz, Bandwidth=0.5Hz, (1Vpp) sinusoid.
 As shown in block diagram, the input signal must be added to a DC component and this
combined (added) signal will be multiplied (through Product) by the carrier frequency.
So I used a DC component of 1. The carrier frequency is generated by another discrete-
time sine wave generator, with an amplitude of 1 (peak value) and 5 Hz.
 We get resultant signal called Amplitude Modulated Signal which is then passes through
a squarer which returned us square of given modulated signal.
 Then this squarer signal pass through Transfer function block acting low pass filter
whose Bandwidth=2*Bandwidth of message signal.
B.W=2*0.5=>1Hz.
= 2 ∗ 𝑝𝑖 ∗ 1( 𝑟𝑎𝑑𝑖𝑎𝑛/𝑠𝑒𝑐)
Added in numerator and denominator of transfer function.
 Low pass filter will allow only low frequency components to pass to get low frequency
message signal.
 Finally after passing through a square root device we get a message signal similar to
original message signal.

7)Simulations:
8) Conclusion:

Finally we have successfully design a square law demodulator that is capable of recovering
message signal by the help of squarer devices and low pass filter whose bandwidth is equal to
twice of bandwidth of input message signal. So whole part of signal is recovered. If BW of filter
is less than message signal bandwidth then recovery of complete message is not possible and if
BW of filter is very high then at output we get message but associated with high frequency
components (centered at carrier frequency).

S-ar putea să vă placă și