Principles-of-communication-systems-BEC402
Principles-of-communication-systems-BEC402
1 D/F
Name :
USN :
Batch : Section :
Channabasaveshwara Institute of Technology
(Affiliated to VTU, Belgaum & Approved by AICTE, New Delhi)
(NAAC Accredited & ISO 9001:2015 Certified Institution)
NH 206 (B.H. Road), Gubbi, Tumkur – 572 216. Karnataka.
2022 Scheme
Mr. Manohara T N
Assistant Professor
Dept. of ECE
Ms. Gagana R
Assistant Professor
Dept. of ECE
VISION OF THE INSTITUTE
value added quality education to meet the national and international requirements.
We also provide necessary steps to train the students for placement and continue
COURSE OBJECTIVES:
❖
Understand and analyze concepts of Analog Modulation schemes viz; AM, FM.
❖
Design and analyze the electronic circuits for AM and FM modulation and demodulation.
❖
Understand the concepts of random variable and random process to model
communication systems..
❖
Understand and analyze the concepts of digitization of signals.
❖
Evolve the concept of SNR in the presence of channel induced noise
COURSE OUTCOMES:
On the completion of this laboratory course, the students will be able to:
❖
Understand the principles of analog communication systems and noise modelling.
❖
Identify the schemes for analog modulation and demodulation and compare their
performance.
❖
Design of PCM systems through the processes sampling, quantization and encoding..
❖
Describe the ideal condition, practical considerations of the signal representation
system design.
digit
‘Instructions to the candidates’
• Student should come with through preparation for the experiment to be conducted.
• Student should take prior permission from the concerned faculty before availing the
leave.
• Student should come with proper dress code and to be present on time in the
laboratory.
• Student will not be permitted to attend the laboratory unless they bring the practical
record fully completed in all respects pertaining to the experiment conducted in the
previous class.
• Student will not be permitted to attend the laboratory unless they bring the
observation book fully completed in all respects pertaining to the experiment to be
conducted in present class.
• Experiment should be started conducting only after the staff-in-charge has checked
the circuit diagram.
• All the calculations should be made in the observation book. Specimen calculations
for one set of readings have to be shown in the practical record.
• Wherever graphs to be drawn, A-4 size graphs only should be used and the same
should be firmly attached in the practical record.
• Student should obtain the signature of the staff-in-charge in the observation book after
completing each experiment.
• Theory related to each experiment should be written in the practical record before
procedure in your own words with appropriate references.
QMP 7.1 D/D
Channabasaveshwara Institute of Technology
(Affiliated to VTU, Belgaum & Approved by AICTE, New Delhi)
(NAAC Accredited & ISO 9001:2015 Certified Institution)
NH 206 (B.H. Road), Gubbi, Tumkur – 572 216. Karnataka.
DEPARTMENT OF ELECTRONICS & COMMUNICATION ENGINEERING
CONTENTS
Sl.No Title of the Experiment Page No
Basic Signals and Signal Graphing: a) Unit Step, b) Rectangular,
c) Standard triangle d) Sinusoidal and e) Exponential signal.
1. 1
Illustration of signal representation in time and frequency domains for a
2. rectangular pulse. 6
4
Sampling and reconstruction of low pass signals. Display the signals and
5. its spectrum.
12
6. Time Division Multiplexing and demultiplexing. 14
MATLAB
Toolbox
➢ Signal Processing
➢ Image Processing
➢ Statistics
➢ Control system
➢ Neutral networks
➢ Communications
and many more….
At its core, MATLAB is essentially a set (a “toolbox”) of routines (called “m files’ or “mex
files”) that sit on your computer and a window that allows you to create new variables
with names (e.g. voltage and time) and process those variables with any of those routines
(e.g. plot voltage against time, find the largest voltage, etc.)
MATLAB Windows:
MATLAB works with through three basic windows
Command Window: This is the main window .It is characterized by MATLAB command
prompt(>>) when you launch the application program MATLAB puts you in this
window all commands including those for user-written programs ,are typed in this
window at the MATLAB prompt. Graphics window: The output of all graphics
commands typed in the command window are flushed to the graphics or figure
window, a separate gray window with white background color the user can create as
many windows as the system memory will allow.
Edit window: This is where you write edit, create and save your own programs in files
called M files.
Input-output:
MATLAB supports interactive computation taking the input from the screen and flushing
the output to the screen. In addition it can read input files and write output files.
Data Type: The fundamental data-type in MATLAB is the array. It encompasses several
distinct data objects- integers, real numbers, matrices. Character strings, structures and
cells. There is no need to declare variables as real or complex, MATLAB automatically sets
the variable to be real.
Dimensioning: Dimensioning is automatic in MATLAB. No dimension statements are
required for vectors or arrays. We can find the dimensions of an existing matrix or a vector
with the size and length commands.
IPCC:PCS-BEC402 IV Sem Version 1.0 AY: 2023-24
Experiment 1. Aim: Basic Signals and Signal Graphing: a) Unit Step, b) Rectangular,
c) Standard triangle d) sinusoidal and e) Exponential signal.
1a) GENERATION OF UNIT STEP SIGNAL
clc;
clear all;
close all;
n=input('Enter the n value:');
t=0:1:n-1;
y=ones(1,n)
stem(t,y);
xlabel('Time');
ylabel('Amplitude');
title('Discrete time unit step function');
Output:
% Define parameters
frequency = 1; % Frequency of the rectangular wave in Hz
amplitude = 1; % Amplitude of the rectangular wave
duration = 1; % Duration of the wave in seconds
sampling_rate = 1000; % Sampling rate in Hz
Output:
A = [0, 0];
B = [1, 0];
C = [0.5, sqrt(3)/2];
hold on;
xlabel('X');
ylabel('Y');
title('Standard Triangle');
Output:
clc;
clear all;
close all;
t=0:0.001:5;
f=1;
y=sin(2*pi*f*t);
plot(t,y,'g');
xlabel('Frequency');
ylabel('amplitude');
title('sine wave');
Output:
clc;
clear all;
close all;
t=0:0.001:n;
y=exp(a*t);
stem(t,y,'y');
hold on;
plot(t,y,'r');
xlabel('Time');
ylabel('Amplitude');
title('Exponential function');
legend('Discrete','continuous');
Output:
Output:
% Frequency vector
fs = 1/(t(2)-t(1)); % Sampling frequency
f = (-fs/2:fs/length(t):fs/2-fs/length(t)); % Frequency vector
Output:
output:
Output:
Experiment 5. Aim: Sampling and reconstruction of low pass signals. Display the signals
and its spectrum.
clc;
clear all;
close all;% Define parameters
% Define parameters
Fs = 1000; % Sampling frequency (Hz)
T = 1/Fs; % Sampling period (s)
t = 0:T:1; % Time vector from 0 to 1 second
f1 = 5; % Frequency of the original signal (Hz)
Output:
% Demultiplexing
demuxed_channels = cell(1, numChannels);
for i = 1:numChannels
demuxed_channels{i} = TDM_signal((i-1)*numSamples + 1:i*numSamples);
end
output:
% Sampling
Fs_new = 100; % New sampling frequency (Hz)
t_new = 0:1/Fs_new:1; % New time vector
x_sampled = A*sin(2*pi*f*t_new);
Output:
Experiment 8. Generate a) NRZ, RZ and Raised cosine pulse, b) Generate and plot eye diagram
% Generate NRZ signal
bitStream = randi([0, 1], 1, 100); % Generate a random bit stream of length 100
% NRZ Encoding
nrzSignal = 2 * bitStream - 1; % Convert 0s to -1s and 1s to 1s
output:
% Generate RZ signal
% Plot RZ signal
plot(t, rz_signal);
xlabel('Time (s)');
ylabel('Amplitude');
title('Return-to-Zero (RZ) Signal');
Output:
Output:
Experiment 10. Display the signal and its spectrum of an audio signal.
filename = 'your_audio_file.wav'; % Change 'your_audio_file.wav' to the name of your audio file
[y, Fs] = audioread(filename);
Output:
References: