Digital Communication Lab Manual For VI Semester B.Tech (Electronics Engineering)
Digital Communication Lab Manual For VI Semester B.Tech (Electronics Engineering)
Digital Communication Lab Manual For VI Semester B.Tech (Electronics Engineering)
For
List of Experiment
Apparatus used: IC 74164 (8 bit serial input parallel out shift registers), IC
7486 (XOR Gate), MSO, function generator and connecting wires
Theory: A truly random sequence of binary symbols (ones and zeros, for
simplicity) would be one for which a knowledge of the complete past history of
the sequence would be of no assistance in predicting the next symbol, i.e. the
probability that the next symbol would be a one or zero would still be one-half
even if the complete sequence of previous output were available. Such a
sequence would have to be produced by passing an analog noise source through
a comparator sampled at regular clock intervals or some other scheme such as
tossing a fair coin. Such a sequence is sometime referred to as digital noise.
PN noise sequences are certain binary
n
sequences of length N=2 -1 that satisfies a linear recurrence given by the
corresponding primitive polymers of degree n. For a sequence to be pseudo
noise it should follow basic rules given below:
1. The relative frequency of 0 and 1 are each half.
2. If a PN sequence is shifted by any non zero number of elements the resulting
sequence will have equal number of arguments with respect to the original
sequence.
Procedure:
TABLE: 1
Input Output
Clear clock A B QA QB ....................................................... QH
L X X X L L ...........................................L
H L X X QA QB .................................................... ..QH
H H H H H QA ................................................... QG
H H L X L QA .................................................... QG
H H X L L QA .................................................... QG
Table 2:
A B
101011110001001101011 15
QC QD
QA QD 01100100011101011001 15
QA QC 11101001110100 7
QA QB 110110110110 3
QB QC 11100101110010 7
Result:
Theory: In spread spectrum system, the signal spreading code is the so called
the pseudo noise(PN) sequence which is generally periodic and consists of a
periodic coded sequence of 1’s and 0’s with certain autocorrelation properties.
These signals are pseudo random is as much as they appear to be unpredictable
to be an outsider, though they appear or can be generated by deterministic
means by the person for whom they are intended. When a shift resister has a
non-zero initial state and the output is fed back to the input, the unit acts as
periodic sequence generation. In general the longest possible sequence from a
resister n stages is N= 2n– 1). The corresponding output is called a maximum
length sequence or PN sequence.
The names pseudo noise comes from the correlation properties of sequence
of N, is very large and Tb is very small, then the PN signal acts essentially like
white noise with small DC component and hence is called Pseudo Noise
Sequence.
To generate any sequence of serial bits (here it is PN Sequence) the first step is
to recover the clock from the data and then use it for sampling the data to
extract the individual bits.
In this experiment we perform the first part that is the recovery of clock from
the PN sequence.
Procedure:
A B CLK Q Q’
H X H L H
X L H L H
L H
H H
X X L L H
Result: The final output is connected to the digital outputs of MSO and clock is
generated
Experiment no: 3
Theory:
The pulse code modulator technique samples the input signal x(t) at a sampling
frequency. This sampled variable amplitude pulse is then digitalized by the
analog to digital converter. Figure (1) shows the PCM generator.
In the PCM generator, the signal is first passed through sampler which is
sampled at a rate of (fs) where:
𝑓𝑠 ≥ 2𝑓𝑚
The output of the sampler x(nTs) which is discrete in time is fed to a q level
quantizer. The quantizer compares the input x(nTs) with it's fixed levels. It
assigns any one of the digital level to x(nTs) that results in minimum distortion
or error. The error is called quantization error, thus the output of the quantizer is
a digital level called q(nTs). The quantized signal level q(nTs) is binary encode.
The encoder converts the input signal to v digits binary word.
Figure.(2) A sampled signal and the quantized levels
Precaution:
THEORY:
CIRCUIT DIAGRAM:
PROCEDURE:
1. Make connections as shown in the circuit diagram.
2. Set the input signal and carrier signal.
3. Obtain FSK signal
4. Tabulate the output data and draw the graph.
5. Justify the obtained output with theoretical calculation.
RESULT:
PRECAUTION:
1. The connections should be made properly and tightly.
2. Check all the connections before switching ON the kit.
Experiment no: 5
THEORY:
Delta Modulation (DM) is a simplified PCM. In some type of signals,
the neighboring samples are closely correlated with each other. Therefore, once
a sample value is known this enables the determination of the following sample
values most probably. Thus, instead of sending the real value of each sample at
each time, differences (variances) between adjacent samples are sent in DM.
The baseband signal m (t) and its quantized approximation m’ (t)
are applied as inputs to a comparator. A comparator simply makes a comparison
between inputs. If signal amplitude has increased, then modulators output is at
logic level 1. If the signal amplitude has decreased, the modulator output is at
logic level 0. Thus the output from the modulator is a series of 0’s and 1’s to
indicate rise and fall of the waveform since the previous value. The comparator
output is then latched into a D flip-flop which is clocked by the transmitter
clock. Thus the output of the flip-flop is a latched 1 or 0 synchronous with the
transmitter clock edge. The binary sequence is transmitted to receive and is also
fed to the unipolar to bipolar converter. This block converts logic 0 to voltage
level of +V and 1 to voltage level of – V. The bipolar output is applied to the
integrator whose output is:
a) Rising linear ramp signal when – V is applied to it
b) Falling linear ramp signal when + V is applied to it.
The integrator output is then connected to the –ve terminal of voltage
comparator. The integrator output is a saw tooth-like waveform. This is
approximation value of base band signal m (t).
In demodulation of DM signals reverse process is taken, the signal
from the integrator, which is a sawtooth approximation to the message, is
adjusted with the amplifier to match it as closely as possible. This is the delta
modulated signal. Lowpass filtering of the sawtooth (from the demodulator)
gives a better approximation to the message. But there will be accompanying
noise and distortion, products of the approximation process at the modulator.
The unwanted products of the modulation process, observed at the receiver, are
of two kinds. These are due to ‘slope overload’, and ‘granularity’.
Slope overload: This occurs when the sawtooth approximation cannot keep up
with the rate-of change of the input signal in the regions of greatest slope.
The step size is reasonable for those sections of the sampled waveform of small
slope, but the approximation is poor elsewhere. This is ‘slope overload’, due to
too small a step.
To reduce the possibility of slope overload the step size can be increased (for
the same sampling rate). The sawtooth is better able to match the message in the
regions of steep slope. An alternative method of slope overload reduction is to
increase the sampling rate. Slope overload is illustrated in below figure
Granular noise: The sawtooth follows the message being sampled quite well in
the regions of small slope. To reduce the slope overload the step size is
increased, and now the match over the regions of small slope has been
degraded. The degradation shows up, at the demodulator, as increased
quantizing noise, or ‘granularity’.
CIRCUIT DIAGRAM:
PROCEDURE:
1. Make connections as shown in the circuit diagram.
2. Set the input signal and carrier signal.
3. Obtain DM signal.
4. Justify the obtained output with theoretical calculation
RESULT:
PRECAUTION:
THEORY:
Phase shift keying involves the phase change of the carrier sine wave
between 0 and 180 in accordance with the data stream to be transmitted. PSK is
also known as Phase reversal keying. PSK modulator is shown in figure 1.
Functionally, the PSK modulator is very similar to the ASK modulator. Both
uses balanced modulator to multiply the carrier with the modulating signal. But
in contrast to ASK techniques, the digital signal applied to the modulator input
for PSK generation is bipolar i.e. have equal +ve and –ve voltage levels. The
unipolar – bipolar converter converts the unipolar data stream to bipolar data.
At receiver, the square loop detector circuit is used to demodulate the
transmitted PSK signal. The demodulator is shown in figure 2. The incoming
PSK signal with 0 & 180 phase changes is first fed to the signal square, which
multiplies the input signal by itself. The phase adjust circuit allows the phase of
the digital signal to be adjusted w.r.t the input PSK signal. Also its O/P controls
the closing of an analog switch. When the output is high the switch closes and
the original PSK signal is switched through the detector.
CIRCUIT DIAGRAM:
PROCEDURE: 1. Make connections as shown in the circuit diagram.
2. Set the input signal and carrier signal.
3. Obtain PSK signal
4. Justify the obtained output with theoretical calculation.
RESULT:
PRECAUTION:
1. The connections should be made properly and tightly.
2. Check all the connections before switching ON the kit.
Experiment no: 7
THEORY: The matched filter is the optimal linear filter for maximizing the
signal to noise ratio (SNR) in the presence of additive stochastic noise. If a
signal s(t) gets corrupted by Additive white Gaussian noise(AWGN), the
optimum filter with impulse response matched to s(t)maximize the output SNR.
This optimum filter is therefore called as matched filter. Matched filter can be
explained with the help of block diagram given below:
The filter input x(t) consists of a pulse signal g(t) corrupted by additive channel
noise w(t), given as: x ( t ) g( t ) w ( t ), 0 t T .
where T is an arbitrary observation interval. The pulse signal g(t) may represent
a binary symbol 1 or 0 in a digital communication system. The w(t) is the
sample function of a white noise process of zero mean and power spectral
density No/2.The source of uncertainty lies in the noise w(t).The function of the
receiver is to detect the pulse signal g(t) in an optimum manner, given the
received signal x(t).To satisfy this requirement, we have to optimize the design
of the filter so as to minimize the effects of noise at the filter output in some
statistical sense, and thereby enhance the detection of the pulse signal g(t).
Since the filter is linear, the resulting output y(t) may be expressed as
y(t ) g 0 ( t ) n(t ) .
where go(t) and n(t) are produced by the signal and noise components of the
input x(t), respectively. A simple way of describing the requirement that the
output signal component go(t) be considerably greater than the output noise
component n(t) is to have the filter make the instantaneous power in the output
signal go(t), measured at time t = T, as large as possible compared with the
average power of the output noise n(t). This is equivalent to maximizing the
peak pulse signal-to-noise ratio.
Basically, matched filter is matched to a known signal s(t), is characterized by
an impulse response h(t) which is a time reversed and delayed version of s(t) i.e.
h(t)=s(T-t). The output SNR of a matched filter depends only on the ratio of the
signal energy to the power spectral density of the white noise at the filter input.
SNR (max) = (2E/No).
Result:
Precaution: