Professional Documents
Culture Documents
Haris PDF File PSC
Haris PDF File PSC
Haris PDF File PSC
Supervised By
Dr. Nadeem Raqfiq
Fall 2022
Revision History
PLO3
PLO4
PLO5
CLO
CLO1 x C4
CLO2 x C5
CLO3 x C6
CLO4 x P4
Lab 11
Lab 12
Lab 13
Lab 14
Lab 1
Lab 2
Lab 3
Lab 4
Lab 5
Lab 6
Lab 7
Lab 8
Lab 9
CLO
CLO4 P2 P2 P2 P3 P3 P3 P3 P3 P4 P4 P4 P4 P4 P4
Mid Term 0.5*(Lab Mid-Term) + 0.5* (Average of Lab evaluation for Labs 1-7)
Terminal 0.1*[(OEP marks out of 25) *2] + 0.4*(Terminal Exam result out of 50)
+0.25*[(average of lab evaluation of Lab 9-14) *5] + 0.10*[ (average of lab
evaluation of Lab 5-8) *5] + 0.15*[(average of lab evaluation of Lab 1-4) *5]
The minimum pass marks for both lab and theory shall be 50%. Students obtaining less than
50% marks (in either theory or lab, or both) shall be deemed to have failed in the course.
The final marks would be computed with 75% weight to theory and 25% to lab final marks.
List of Equipment
EMONA Telecommunications Instructional Modelling Systems (TIMS)
Instek Digital Oscilloscope
Multimeter
Regulated Power Supply
Functional Generators
Software Resources
MATLAB
Lab Instructions
• This lab activity comprises of three parts: Pre-lab, Lab Tasks & Viva session.
• The students should perform and demonstrate each lab task separately for stepwise
evaluation.
• Only those tasks that are completed during the allocated lab time will be credited to the
students.
• Students are however encouraged to practice on their own in spare time for enhancing their
skills.
Preface ..........................................................................................................................................................................ii
LAB # 1 ....................................................................................................................................................................... 10
To Sketch Basic Signals and their Representation of for Analysis of Communication Systems Using MATLAB ... 10
Objectives ....................................................................................................................................................................... 10
Pre-Lab ............................................................................................................................................................................ 10
In-Lab Tasks .................................................................................................................................................................... 11
LAB # 2 ....................................................................................................................................................................... 26
To Construct a Modulator for Amplitude Modulation in Analog Communication Systems Using MATLAB and
TIMS .......................................................................................................................................................................... 26
Objectives ....................................................................................................................................................................... 26
Equipment Required ....................................................................................................................................................... 26
Pre-Lab ............................................................................................................................................................................ 26
LAB # 3 ....................................................................................................................................................................... 32
To Construct an Envelope Detector Using Discrete Components for Demodulation in Analog Communication
Systems ....................................................................................................................................................................... 32
Objectives ....................................................................................................................................................................... 32
LAB # 4 ....................................................................................................................................................................... 39
To Assemble a Modem for Single Side Band Amplitude Modulation Using TIMS Trainer for Analog
Communication Systems ............................................................................................................................................ 39
Objectives ....................................................................................................................................................................... 39
Pre-Lab ............................................................................................................................................................................ 39
In-Lab Tasks .................................................................................................................................................................... 40
LAB # 5 ....................................................................................................................................................................... 45
To Assemble a Modem for Quadrature Amplitude Modulation using TIMS Trainer for Analog Communication
Systems ....................................................................................................................................................................... 45
Objectives ....................................................................................................................................................................... 45
Pre-Lab ............................................................................................................................................................................ 45
In-Lab Tasks .................................................................................................................................................................... 46
LAB # 6 ....................................................................................................................................................................... 52
LAB # 7 ....................................................................................................................................................................... 56
To Construct Frequency Modulator using Discrete Components for Analog Communication Systems .................. 56
Objectives ....................................................................................................................................................................... 56
In-Lab Tasks .................................................................................................................................................................... 56
LAB # 8 ....................................................................................................................................................................... 60
To Display Sampling of Analog Signals for Digitization using Discrete Components and MATLAB ...................... 60
Objectives ....................................................................................................................................................................... 60
Pre-Lab ............................................................................................................................................................................ 60
In-Lab Tasks .................................................................................................................................................................... 61
LAB # 9 ....................................................................................................................................................................... 64
To Display Various Line Coding Schemes for Pulse Code Modulation using TIMS Trainer ................................... 64
LAB # 10 ..................................................................................................................................................................... 70
To Assemble an Encoder for Pulse Code Modulation (PCM) using TIMS Trainer ................................................. 70
Objectives ....................................................................................................................................................................... 70
Pre-Lab ............................................................................................................................................................................ 70
Lab Tasks ......................................................................................................................................................................... 71
LAB # 11 ..................................................................................................................................................................... 75
To Assemble Decoder for Pulse Code Modulation (PCM) using TIMS Trainer ....................................................... 75
Objectives ....................................................................................................................................................................... 75
Pre-Lab ............................................................................................................................................................................ 75
Lab Tasks ......................................................................................................................................................................... 76
LAB # 12 ..................................................................................................................................................................... 79
LAB # 13 ..................................................................................................................................................................... 85
LAB # 14 ..................................................................................................................................................................... 91
To Construct Modem Based on Binary Phase Shift Keying using Discrete Components for Digital Communication
Systems ....................................................................................................................................................................... 91
Objectives ....................................................................................................................................................................... 91
Pre-Lab ............................................................................................................................................................................ 91
Lab Tasks ......................................................................................................................................................................... 94
LAB # 1
To Sketch Basic Signals and their Representation of for Analysis of
Communication Systems Using MATLAB
Objectives
To display magnitude and phase response of signals using Fourier Series and Discrete Fourier
Transform in MATLAB.
Pre-Lab
Read this experiment in its entirety to become familiar with objectives of this lab. Study in detail and
become familiar with the fundamentals of Fourier series and discrete time Fourier transform. The
instructor may provide the class some time to reflect upon these before proceeding with the lab.
Fourier Series
In mathematics, a Fourier series decomposed periodic functions or periodic signals into the sum of a
(possibly infinite) set of simple oscillating functions, namely sine and cosine (or complex
exponentials). The study of Fourier series is a branch of Fourier analysis.
Using Euler’s equation, we can convert the standard Rectangular Fourier Series into an exponential
form. Even though complex numbers are a little more complicated to comprehend, we use this form
for many reasons:
Only need to perform one integration
A single exponential can be manipulated more easily than a sum of sinusoids
It provides a logical transition into a further discussion of the Fourier Transform
A signal 𝑔 (𝑡) can be expressed over an interval of duration 𝑇𝑜 second(s) as an exponential Fourier
series
where
The exponential Fourier series consists of components of the exponential form with
𝑛 varying from −∞ 𝑡𝑜 ∞. It is periodic with period 𝑇 .
Tasks
Compute the exponential Fourier series coefficient for the signal 𝑥(𝑡) in Fig. 1.1 and also recompute
the signal 𝑥(𝑡) from Fourier Series Coefficients.
/
Fig. 1.1: Exponential Signal 𝑒
In-Lab Tasks
Task 1
Sketch a single period and 𝑹 periods of the signal shown in Fig. 1.1 in separate figures where 𝑹 is
complete numeric part of your CUI Registration Number. Properly comment your code and label you
figures.
Task 2
Magnitude and Phase of Fourier Series Coefficients
(In exponential spectra, we plot coefficients 𝐷 as a function of ω where frequency range can be
computed using the n*𝜔.)
D = 0.504/ (1+j4n)
Magnitude Plot
Phase Plot
Useful Functions
end
___________________________________________________________________
function y=rect_MUI_10(t)
% Function Name: rect_MUI_RegistrationNumber
% Written by Muhammad Usman Iqbal, Registeration Number 10
% Summary of this function
% The rectangular function is a function of time 't'.
%
% rect(t) = 1, if |t| < 0.5
Task 3
Sketch fundamental signals using functions
Sketch unit step, sinc, rectangular and triangular signals using defined functions.
Sinc Signal
Rectangular Signal
Triangular Signal
Task 4
Numerical Computation of Fourier Series Coefficients
Compute and sketch the Fourier Series Spectra for the following periodic signals.
Magnitude Plot
Phase Plot
The student performance for the assigned task during the lab session was:
The student completed all the tasks and showed the results without
Excellent 4
any help of the instructor.
The student completed all the tasks and showed the results with
Good 3
minimal help of the instructor.
Average The student partially completed the task and showed results. 2