Professional Documents
Culture Documents
Faculty of Engineering
Department of Electrical & Electronic Engineering
Communication Systems I Laboratory
LAB EXPERIMENT 5
Objectives
Understanding the principles of pulse amplitude modulation and demodulation using
MATLAB Simulink.
Generating a waveform from an analog signal which looks like pulses and contains
the information present in the analog waveform by modulation.
Applying sampling technique to produce a PAM signal.
Performing the demodulation by recovering the original analog waveform from the
PAM signal through a low-pass filter.
Theory
Pulse amplitude modulation (PAM) and demodulation is the process of converting an
analog signal to a pulse-type signal in which the amplitude of the pulse denotes the analog
information and then recovering the original signal from the pulse amplitude modulated
signal. Two types of sampling are used to produce a PAM signal which are natural
sampling and instantaneous sampling that produces a flat-top pulse. If 𝜔(𝑡) is an analog
waveform bandlimited to 𝐵 hertz, the PAM signal that uses natural sampling (gating) is
is a rectangular wave switching waveform and 𝑓𝑠 = 1⁄𝑇𝑠 ≥ 2𝐵. The duty cycle (ratio) of
𝑠(𝑡) is 𝑑 = 𝜏⁄𝑇𝑠 where 𝜏 is the pulse width and 𝑇𝑠 is the sampling time.
0
t
0
t
Ts
(b) Switching Waveform with Duty Cycle d = /T s = 1/3
t
0
Ts
Analog multiplier
( four-quadrant multiplier )
𝜔
PAM (natural sampling)
Low-pass filter
cos(n 𝜔 s t )
Oscillator
𝜔 o = n 𝜔s – f co f co f
Simulink Model
Parameters
Output
Homework
1. Find and plot as a figure the frequency spectrum of the analog sine wave of the
above experiment for the given period and pulse width. Use the time increment
𝑑𝑇 = 𝑇/(64 ∗ 512) and the number of samples 𝑀 = 256.
2. Which is better, natural sampling or flat topped sampling and why?
Submit your solutions and answers in the report format along with the code,
command window parameters and figures as hardcopy within one week from the
lab time.