Lab Mannual According To New Exp List
Lab Mannual According To New Exp List
COMMUNICATION SYSTEM-1
EC-403
LABORATORY MANNUAL
COURSE OUTCOME:
• Calculate Fourier Transform of various signals and interpret Convolution theorem, Correlation functions,
• Classify different types of noise and evaluate the effect of noise on AM & FM receivers.
PROGRAM OUTCOME:
1. Engineering Knowledge: Apply the knowledge of mathematics, science, engineering fundamentals, and an
engineering specialization to the solution of complex engineering problems.
2. Problem Analysis: Identify, formulate, review research literature, and analyze complex engineering problems
reaching substantiated conclusions using first principles of mathematics, natural sciences, and engineering
sciences.
3. Design/Development of Solutions: Design solutions for complex engineering problems and design system
components or processes that meet the specified needs with appropriate consideration for the public health and
safety, and the cultural, societal, and environmental considerations.
4. Conduct Investigations of Complex Problems: Use research-based knowledge and research methods including
design of experiments, analysis and interpretation of data, and synthesis of the information to provide valid
conclusions.
5. Modern Tool Usage: Create, select, and apply appropriate techniques, resources, and modern engineering and
IT tools including prediction and modeling to complex engineering activities with an understanding of the
limitations.
6. The Engineer and Society: Apply reasoning informed by the contextual knowledge to assess societal, health,
safety, legal and cultural issues and the consequent responsibilities relevant to the professional engineering
practice.
7. Environment and Sustainability: Understand the impact of the professional engineering solutions in societal
and environmental contexts, and demonstrate the knowledge of, and need for sustainable development.
8. Ethics: Apply ethical principles and commit to professional ethics and responsibilities and norms of the
engineering practice.
9. Individual and Team Work: Function effectively as an individual, and as a member or leader in diverse teams,
and in multi disciplinary settings.
10. Communication: Communicate effectively on complex engineering activities with the engineering community
and with society at large, such as, being able to comprehend and write effective reports and design documentation,
make effective presentations, and give and receive clear instructions.
11. Project Management and Finance: Demonstrate knowledge and understanding of the engineering and
management principles and apply these to one's own work, as a member and leader in a team, to manage projects
and in multi disciplinary environments.
12. Life-long Learning: Recognize the need for, and have the preparation and ability to engage in independent
and life-long learning in the broadest context of technological change.
LIST OF EXPERIMENTS
SUBJECT-COMMUNICATION
SYSTEM-I (EC-403)
Freq=2
T = 0:0.01:1;
Subplot (1,2,1)
Plot (t, sin(2*pi*freq*t))
Xlabel (“Time”);
Ylabel (“Amplitude”);
Title (“sine signal”);
Freq=2
T = 0:0.01:1;
Subplot (1,2,1)
Plot (t, cos(2*pi*freq*t))
Xlabel (“Time”);
Ylabel (“Amplitude”);
Title (“cosine signal”);
% Define parameters
Frequency = 1; % Frequency of the wave (in Hz)
Amplitude = 1; % Amplitude of the wave
% Define time vector
T = linspace(0, 5, 1000); % 1 second duration with 1000 points
% Generate rectangular wave
Rect_wave = amplitude * square(2 * pi * frequency * t);
% Plot the wave
Subplot(2,1,1)
Plot(t, rect_wave);
Xlabel(‘Time (s)’);
Ylabel(‘Amplitude’);
Title(‘Rectangular Waveform’);
Program 4: Generation of Exponential Waveform
N=10;
%generation of CT exponential signal
A1=1; %scaling factor
T=0:0.1:n-1;
Y1=exp(a1*t);
Subplot(2,1,1)
Plot(t,y1);
Xlabel(‘Time’);
Ylabel(‘Amplitude’);
Title([‘Exponential Signal with factor’, num2str(a1)])
Experiment No. 2
Aim: Write a MATLAB program to find fourier transform of GATE pulse and analyze its
frequency spectrum.
Program:
t = -5 : 0.001 : 5;
f = zeros(size(t));
for i = 1 : length(t)
if abs(t(i)) <= 1/2
f(i) = 1;
else
f(i) = 0;
end
end
figure;
subplot(2,1,1); plot(t,f,'LineWidth',2);
ylim([0 1.5])
xlabel('t (sec)');
ylabel('f(t)');
title('Rectangular Function');
omega = [-50 : 0.1 : 50];
F = zeros(size(omega));
for i = 1 : length(omega)
F(i) = trapz(t,f.*exp(-j*omega(i)*t)); %Fourier Transform
end
F_magnitude = abs(F); %Magnitude of the Fourier Transform
subplot(2,1,2); plot(omega,F_magnitude,'LineWidth',2);
xlabel('\omega (rad/sec)');
ylabel('|F(j\omega)|');
title('Fourier Transform Magnitude of a Rectangular Function');
Result:
Experiment No. 3
Program:
disp('Signal h:');
disp(h);
subplot(3, 1, 2);
stem(h, 'filled');
title('Signal h');
xlabel('n');
ylabel('h[n]');
subplot(3, 1, 3);
stem(y, 'filled');
title('Convolution Result y = x * h');
xlabel('n');
ylabel('y[n]');
Result:
Experiment No. 4
Aim: To generate Amplitude modulated wave and analyze its input and Output using MATLAB.
Theory:
To generate an amplitude modulated (AM) wave and analyse its input and output using
MATLAB, you can follow these steps:
Program:
% Define parameters
Fs = 1000; % Sampling frequency (Hz)
Ac = 1; % Carrier amplitude
carrier = Ac *cos(2*pi*fc*t);
modulating = Am * cos(2*pi*fm*t);
Result:
Experiment No.5
Aim: To generate Amplitude demodulated wave and analyze its input and Output using
MATLAB.
Theory:
Amplitude demodulation, also known as envelope detection, is the process of recovering
the original modulating signal from an amplitude modulated (AM) signal. This can be done by
extracting the envelope of the modulated signal, which represents the varying amplitude due to
modulation. MATLAB can be used to generate an AM signal, perform amplitude demodulation,
and analyze the input and output signals.
Amplitude Demodulation: There are several methods for demodulating an AM signal. One
common method is envelope detection, which involves extracting the envelope of the modulated
signal. This can be achieved using a low-pass filter or a rectifier followed by a low-pass filter.
Analysis: After demodulation, compare the original modulating signal with the demodulated signal
to analyze the performance of the demodulation process. You can measure parameters such as
distortion, signal-to-noise ratio (SNR), and fidelity of the demodulated signal compared to the
original modulating signal.
Here's a basic MATLAB code example to perform amplitude demodulation and analyze the input
and output signals:
Program:
Result:
Experiment No. 6
Aim: Study of Super heterodyne receiver with all its component on kit.
Theory:
Studying a superheterodyne receiver with all its components on a kit involves understanding
the theory and practical implementation of each component. This includes the RF amplifier,
local oscillator, mixer, intermediate frequency (IF) filter, and demodulator. You'll learn how
each component works together to convert incoming radio frequency signals to a fixed
intermediate frequency for easier processing and demodulation. It's a hands-on way to
comprehend the intricacies of radio frequency communication systems.
A superheterodyne receiver is a type of radio receiver that uses frequency mixing to
convert incoming radio signals to a fixed intermediate frequency (IF) where they can be more
easily processed. Here's a brief overview of its basics:
1. Frequency Conversion: The incoming radio frequency (RF) signal is mixed with a local
oscillator signal to produce an intermediate frequency (IF) signal. This IF signal is easier to
process and can be filtered more effectively.
2. Bandpass Filtering: The IF signal is then passed through bandpass filters to select the
desired signal and reject unwanted signals and noise.
3. Demodulation: Once the desired signal has been isolated, it is demodulated to extract the
original audio or data signal. This demodulation process depends on the type of modulation
used in the transmitted signal (AM, FM, etc.).
4. Audio Amplification: The demodulated signal is then amplified to a level suitable for
driving a speaker or other output device.
➢ Selectivity: The use of IF filtering allows for better selectivity, meaning the receiver
can isolate and amplify specific signals while rejecting others.
➢ Sensitivity: By converting incoming signals to a fixed IF, the receiver can achieve
consistent sensitivity across a wide range of frequencies.
2. RF Amplifier (optional): Sometimes included to boost weak incoming signals before further
processing. It helps to improve the signal-to-noise ratio.
3. Mixer: The RF signal from the antenna is mixed with the signal from the local oscillator (LO).
This mixing process produces a new signal that is the sum and difference of the frequencies of the
RF signal and the LO signal. The difference frequency is called the intermediate frequency (IF).
The LO signal is generated by a local oscillator circuit.
4. Local Oscillator (LO): Generates a stable frequency signal that is mixed with the incoming RF
signal in the mixer stage. The frequency of the LO is usually controlled to ensure the desired IF
frequency is produced.
5. Intermediate Frequency (IF) Amplifier: The IF signal produced by the mixer is typically at
a fixed frequency, which makes it easier to filter and process. The IF amplifier boosts the strength
of this signal to improve its detectability.
6. Bandpass Filter: The IF signal may contain unwanted noise and signals. The bandpass filter
removes these unwanted components and isolates the desired signal for further processing.
7. Detector (Demodulator): This block demodulates the IF signal to extract the original audio or
data signal. The demodulation process depends on the modulation type used in the transmitted
signal (e.g., AM, FM).
8. Audio Amplifier: The demodulated audio signal is typically quite weak and needs to be
amplified before being sent to a speaker or headphone for listening.
9. Speaker/Headphone: Outputs the amplified audio signal for the user to hear.
Each block in the superheterodyne receiver performs a specific function in processing the
incoming RF signal, converting it to a usable audio signal. This architecture provides advantages
in terms of selectivity, sensitivity, and stability compared to other types of receivers.
Experiment No.7
Aim: To analyze Narrowband Frequency Modulated wave with its input signal using MATLAB
Simulation.
Theory:
Define the carrier frequency and modulation parameters.
Program:
% Define parameters
Result:
Experiment No.8
Aim: Analysing Wideband Frequency Modulated wave with its input signal using
MATLAB.
Theory:
To analyse a wide band frequency modulated (FM) wave with its input signal using
MATLAB , you can follow these steps:
Program:
Fs = 1000;
% Sampling frequency (Hz)
t = 0 :1/Fs:1; % Time vector from 0 to 1 second
fc = 10;
% Carrier frequency (Hz)
fm = 2;
% Modulating frequency (Hz)
kf = 20;
% Frequency sensitivity (Hz/Volt)
Am = 1; % Modulating amplitude
instantaneous_phase = (2*pi*fc*t)+kf*cumsum(modulating)/Fs;
fm_signal = cos(instantaneous_phase);
Result:
Experiment No.9
Theory:
Analysing different types of noises using MATLAB involves generating signals with various noise
types, applying signal processing techniques, and evaluating the results. Here's a basic outline of
how you can do this:
Generate Signals: Create signals to which you'll add noise. These signals could be sine waves,
square waves, or any other type of waveform.
Add Noise: Introduce different types of noise to the signals. Common types include Gaussian
noise, uniform noise, white noise, coloured noise, etc. MATLAB provides functions to generate
these types of noise.
Signal Processing: Apply signal processing techniques to denoise or filter the noisy signals.
Techniques include low-pass filtering, median filtering, wavelet denoising, etc.
Analysis: Evaluate the effectiveness of the denoising techniques by comparing the noisy and
denoised signals. Use metrics such as signal-to-noise ratio (SNR), mean squared error (MSE), or
visual inspection.
Program:
% Parameters
N = 1000; % Number of samples
mu = 0; % Mean of the noise
sigma = 1; % Standard deviation of the noise
% Parameters
N = 1000; % Number of samples
impulse_prob = 0.05; % Probability of an impulse occurring
impulse_mag = 10; % Magnitude of the impulse
Result:
Experiment No.10
Aim: To calculate Noise in Amplitude Modulated wave using MATLAB.
Theory:
Noise in amplitude modulation (AM) systems can arise from various sources and can manifest in
different ways.
• Thermal Noise: In electronic circuits, thermal noise, also known as Johnson-Nyquist noise,
arises due to the random motion of electrons caused by temperature. This noise can affect the
amplification stages in an AM system, introducing random fluctuations in the signal.
• Shot Noise: Shot noise occurs due to the discrete nature of electrical charge. In semiconductor
devices like diodes and transistors, the flow of current consists of discrete packets or "shots" of
electrons. This randomness in electron flow can contribute to noise in the system.
• Interference: External electromagnetic interference from sources like other electronic devices,
power lines, or radio transmissions can induce noise in an AM system. This interference can couple
with the signal path and appear as additional noise.
To mitigate noise in AM systems, various techniques such as filtering, shielding, equalization, and
error correction coding can be employed depending on the specific source of noise and the
requirements of the application.
Program:
% Define parameters
fs = 1000; % Sampling frequency (Hz)
fc = 100; % Carrier frequency (Hz)
fm = 10; % Modulating frequency (Hz)
duration = 1; % Duration of signal (s)
SNR_dB = 10; % Signal-to-Noise Ratio (dB)
subplot(2,1,2);
plot(t, noisy_AM_signal);
title(['Noisy AM Signal (SNR = ', num2str(SNR_dB), ' dB)']);
xlabel('Time (s)');
ylabel('Amplitude');
grid on;
This code generates an AM signal, adds Gaussian noise to it according to a specified Signal-to-
Noise Ratio (SNR), and plots both the original and noisy AM signals. You can adjust the
parameters such as carrier frequency, modulating frequency, duration, and SNR to observe their
effects on the signal.
Result: