Professional Documents
Culture Documents
A9 Exp 6
A9 Exp 6
A9 Exp 6
Group: A9 28-10-2022
a) Objective:
1. Design a sinc pulse (according to Nyquist’s first criterion for zero-ISI).
2. Design a duobinary pulse and modified duobinary pulse.
3. Find the spectrum of sinc pulse and duobinary pulse.
4. Transmit these sinc and duobinary pulses through a channel/filter designed in exp-5, and
observe the corresponding output.
b) Theoretical Background:
The transmission of data by altering the amplitudes (voltage or power levels) of individual pulses
in a regularly timed series of electrical or electromagnetic pulses is known as pulse amplitude
modulation (PAM).
Both the real and imaginary parts of H(f) need to have this symmetry. We often have limited
control over the impulse response or transfer function of the channel and must apply filtering at
the transmit or receive sides of the channel to fulfil the Nyquist criterion.
Pulse-Shaping Filter
It should be noted that the Nyquist no-ISI criterion applies to a channel that produces no ISI for
impulses rather than the square pulses that are typically used. Because actual systems do not
transmit impulses, the Nyquist criteria cannot be directly applied to the physical channel.
Instead, suppose the transmitter has a hypothetical filter that transforms impulses into pulses
before sending them across the channel. When calculating the channel ISI, the response of this
(im)pulse-shaping filter must be considered. The Nyquist criterion must be met by the
combination of this impulse-shaping filter and the channel.
Duo-binary Signalling
Duo-binary data encoding is a form of correlative coding in partial response signalling. The
modulator drive signal can be produced by adding one-bit-delayed data to the present data bit
to give levels 0, 1, and 2. An identical effect can be achieved by applying a low-pass filter to the
ideal binary data signal.
c) Pseudocode:
clear cache
clear screen
generate sinc pulse using required parameters
compute fft of sinc pulse
plot sinc pulse with respect to time
plot absolute value of fft of sinc pulse
compute convolution of channel with impulse response of sinc pulse for output
normalise the output
compute the fft of output
normalise the fft of the output
plot the output in time domain
plot the fft of the output
compare the plot of input and output signals
Above plot shows the time domain representation of the sinc pulse according to Nyquist’s first
criterion for zero-ISI
FFT plot of the input sinc pulse
Above plot shows the frequency domain representation of the sinc pulse which is a rectangular
pulse.
Plot of the duobinary signal input
Above plot shows the time domain representation of the duobinary signal designed to obtain
the controlled ISI.
FFT plot of the duobinary signal input
Above plot shows the frequency domain representation of the duobinary signal which has a
smooth transition from high gain to low gain.
Time domain plot of modified duobinary pulse
Above plot shows the time domain representation of the modified duobinary signal designed to
obtain the controlled ISI.
FFT plot of the modified duobinary signal input
Above plot shows the frequency domain representation of the duobinary signal which has a
smooth transition from high gain to low gain.
Frequency response and impulse response of the channel:
Above plots show the time and frequency domain representation of the channel.
Comparison of channel input and channel output for sinc pulse input
Above plot shows the comparison of the input and output for the case of sinc pulse passed
through a channel. We can observe that the overlap is exact because of no spread in the signal.
FFT of channel output for sinc signal input
Comparison of channel input and channel output for duobinary pulse input
Above plot shows the comparison of the input and output for the case of duobinary signal
passed through a channel. We can observe that the overlap is exact because of no spread in the
signal.
FFT of channel output for duobinary signal input
Comparison of channel input and channel output for modified duobinary signal input
Above plot shows the comparison of the input and output for the case of modified duobinary
signal passed through a channel. We can observe that the overlap is exact because of no spread
in the signal.
FFT of channel output for modified duobinary signal input
e) Conclusion:
● A sinc pulse, a duobinary pulse and a modified duobinary pulse(both generated from
sinc pulse) were generated and passed through a channel constructed using FIR filter,
and outputs were analyzed.
● In the time domain plot of the sinc pulse we can observe that the plot is symmetric
about the Y-axis, zero crossings can be seen at the multiples of Tb, Tb=1.
● In the frequency domain plot of sinc pulse we can observe figure is symmetric about
Y-axis and zero crossing can be seen at 1/2Tb,i.e 0.5s
● In the time domain plot of the duobinary signal , we can observe that the plot is not
symmetric about the Y-axis which is theoretically expected.
● In the time domain plot of the modified duo binary signal it can be observed that it is
symmetrical about the y-axis which follows the theoretical result.
● We can observe that the comparison plots overlap in each case due to there being no
spread when passed through the channel which will reduce the ISI.
f) Appendix:
Code:
clc;
close all;
p2 =fftshift(abs(Y2f(151:end-150)));
p2 = p2/max(p2);
figure(6);
subplot(2,1,1);
plot(t,x2);
hold on
plot(t,y2(151:end-150));
hold off
legend('channel output','input');
subplot(2,1,2);
% plot(p2);
% hold on
plot(fftshift(abs(X2f))/max(fftshift(abs(X2f))));
% hold off
% legend('channel output','input');
xlim([9600,10400]);
**********************************************