Digital communication
Digital communication
Digital communication
Objectives:
1. To understand the building blocks of digital communication system.
2. To understand and analyze the signal flow in a digital communication system.
3. To understand basic digital modulation schemes
4. To analyze error performance of a digital communication system in presence of noise and
other interferences.
• The effect of distortion, noise, and interference is much less in digital signals as
they are less affected.
• Digital circuits are more reliable.
• Digital circuits are easy to design and cheaper than analog circuits.
• The hardware implementation in digital circuits, is more flexible than analog.
• The occurrence of cross-talk is very rare in digital communication.
• The signal is un-altered as the pulse needs a high disturbance to alter its properties,
which is very difficult.
• Signal processing functions such as encryption and compression are employed in
digital circuits to maintain the secrecy of the information.
pg. 1
• The probability of error occurrence is reduced by employing error detecting and
error correcting codes.
• Spread spectrum technique is used to avoid signal jamming.
• Combining digital signals using Time Division Multiplexing (TDM) is easier than
combining analog signals using Frequency Division Multiplexing (FDM).
• The configuring process of digital signals is easier than analog signals.
• Digital signals can be saved and retrieved more conveniently than analog signals.
• Many of the digital circuits have almost common encoding techniques and hence
similar devices can be used for a number of purposes.
• The capacity of the channel is effectively utilized by digital signals.
1.2.1. Source
The source can be an analog signal like sound for example
1.2.2. Input transducer
This is a transducer which takes a physical input and converts it to an
electrical signal (Example: microphone). This block also consists of an analog
to digital converter where a digital signal is needed for further processes. A
digital signal is generally represented by a binary sequence.
pg. 2
The channel encoder, does the coding for error correction. During the
transmission of the signal, due to the noise in the channel, the signal may get
altered and hence to avoid this, the channel encoder adds some redundant bits
to the transmitted data. These are the error correcting bits.
1.2.6. Channel
The channel or a medium, allows the analog signal to transmit from the
transmitter end to the receiver end.
pg. 3
which is being transmitted for communication and the carrier signal is a high frequency signal
which has no data, but is used for long distance transmission.
There are many modulation techniques, which are classified according to the type of
modulation employed. Of them all, the digital modulation technique used is Pulse Code
Modulation (PCM). A signal is pulse code modulated to convert its analog information into a
binary sequence, i.e., 1s and 0s. The output of a PCM will resemble a binary sequence. The
following figure shows an example of PCM output with respect to instantaneous values of a
given sine wave.
Instead of a pulse train, PCM produces a series of numbers or digits, and hence this
process is called as digital. Each one of these digits, though in binary code, represent the
approximate amplitude of the signal sample at that instant.
In Pulse Code Modulation, the message signal is represented by a sequence of coded
pulses. This message signal is achieved by representing the signal in discrete form in both time
and amplitude.
pg. 4
2.1.1. Low Pass Filter
This filter eliminates the high frequency components present in the input analog signal
which is greater than the highest frequency of the message signal, to avoid aliasing of the
message signal.
2.1.2. Sampler
This is the technique which helps to collect the sample data at instantaneous values of
message signal, so as to reconstruct the original signal. The sampling rate must be greater than
twice the highest frequency component W of the message signal, in accordance with the
sampling theorem. 2.1.3. Quantizer
Quantizing is a process of reducing the excessive bits and confining the data. The
sampled output when given to Quantizer, reduces the redundant bits and compresses the value.
2.1.4. Encoder
The digitization of analog signal is done by the encoder. It designates each quantized
level by a binary code. The sampling done here is the sample-and-hold process. These three
sections (LPF, Sampler, and Quantizer) will act as an analog to digital converter. Encoding
minimizes the bandwidth used. 2.1.5. Regenerative Repeater
This section increases the signal strength. The output of the channel also has one
regenerative repeater circuit, to compensate the signal loss and reconstruct the signal, and also to
increase its strength.
2.1.6. Decoder
The decoder circuit decodes the pulse coded waveform to reproduce the original signal.
This circuit acts as the demodulator.
pg. 5
2.1.7. Reconstruction Filter
After the digital-to-analog conversion is done by the regenerative circuit and the decoder,
a low-pass filter is employed, called as the reconstruction filter to get back the original signal.
Hence, the Pulse Code Modulator circuit digitizes the given analog signal, codes it and
samples it, and then transmits it in an analog form. This whole process is repeated in a reverse
pattern to obtain the original signal.
2.2. Sampling
To discretize the signals, the gap between the samples should be fixed. That gap can be
termed as a sampling period Ts.
SamplingFrequency fs
Where,
Ts is the sampling time and fs is the sampling frequency or the sampling rate
pg. 6
Sampling frequency is the reciprocal of the sampling period. This sampling frequency,
can be simply called as Sampling rate. The sampling rate denotes the number of samples taken
per second, or for a finite set of values.
For an analog signal to be reconstructed from the digitized signal, the sampling rate
should be highly considered. The rate of sampling should be such that the data in the message
signal should neither be lost nor it should get over-lapped. Hence, a rate was fixed for this, called
as Nyquist rate.
Suppose that a signal is band-limited with no frequency components higher than W Hertz.
That means, W is the highest frequency. For such a signal, for effective reproduction of the
original signal, the sampling rate should be twice the highest frequency.
Which means, fS=2W Where fS is the sampling rate and W is the highest frequency. This
rate of sampling is called as Nyquist rate. A theorem called, Sampling Theorem, was stated on
the theory of this Nyquist rate.
The sampling theorem, which is also called as Nyquist theorem, delivers the theory of
sufficient sample rate in terms of bandwidth for the class of functions that are bandlimited. The
sampling theorem states that, “a signal can be exactly reproduced if it is sampled at the rate
fs which is greater than twice the maximum frequency W.”
To understand this sampling theorem, let us consider a band-limited signal, i.e., a signal
whose value is non-zero between some –W and W Hertz. Such a signal is represented as x(f)=0
for|f|>W
For the continuous-time signal x (t), the band-limited signal in frequency domain, can be
represented as shown in the following figure.
pg. 7
We need a sampling frequency, a frequency at which there should be no loss of
information, even after sampling. For this, we have the Nyquist rate that the sampling frequency
should be two times the maximum frequency. It is the critical rate of sampling.
If the signal x(t) is sampled above the Nyquist rate, the original signal can be recovered,
and if it is sampled below the Nyquist rate, the signal cannot be recovered.
The following figure explains a signal, if sampled at a higher rate than 2w in the
frequency domain.
The above figure shows the Fourier transform of a signal xs(t). Here, the information is
reproduced without any loss. There is no mixing up and hence recovery is possible.
The Fourier Transform of the signal xs(t) is:
Xs(w)=1Ts∑n=−∞∞X(w−nw0)
Where Ts = Sampling Period and w0=2πTs
Let us see what happens if the sampling rate is equal to twice the highest frequency that
means, fs=2W Where, fs is the sampling frequency and W is the highest frequency
The result will be as shown in the above figure. The information is replaced without any
loss. Hence, this is also a good sampling rate.
Now, let us look at the condition, fs<2W The resultant pattern will look like the following
figure.
pg. 8
We can observe from the above pattern that the over-lapping of information is done,
which leads to mixing up and loss of information. This unwanted phenomenon of over-lapping is
called as Aliasing.
Aliasing can be referred to as “the phenomenon of a high-frequency component in the
spectrum of a signal, taking on the identity of a low-frequency component in the spectrum of its
sampled version.”
The corrective measures taken to reduce the effect of Aliasing are:
• In the transmitter section of PCM, a low pass anti-aliasing filter is employed, before the
sampler, to eliminate the high frequency components, which are unwanted.
• The signal which is sampled after filtering, is sampled at a rate slightly higher than the
Nyquist rate.
This choice of having the sampling rate higher than Nyquist rate, also helps in the easier design
of the reconstruction filter at the receiver.
2.3. Quantization
The digitization of analog signals involves the rounding off of the values which are
approximately equal to the analog values. The method of sampling chooses a few points on the
analog signal and then these points are joined to round off the value to a near stabilized value.
Such a process is called as Quantization.
The analog-to-digital converters perform this type of function to create a series of digital
values out of the given analog signal. The following figure represents an analog signal. This
signal to get converted into digital, has to undergo sampling and quantizing.
pg. 9
The quantizing of an analog signal is done by discretizing the signal with a number of
quantization levels. Quantization is representing the sampled values of the amplitude by a finite
set of levels, which means converting a continuous-amplitude sample into a discrete-time signal.
The following figure shows how an analog signal gets quantized. The blue line represents analog
signal while the brown one represents the quantized signal.
Both sampling and quantization result in the loss of information. The quality of a
Quantizer output depends upon the number of quantization levels used. The discrete amplitudes
of the quantized output are called as representation levels or reconstruction levels. The spacing
between the two adjacent representation levels is called a quantum or step-size.
pg. 10
The following figure shows the resultant quantized signal which is the digital form for the
given analog signal.
There are two types of uniform quantization. They are Mid-Rise type and MidTread type.
The following figures represent the two types of uniform quantization.
Figure 1 shows the mid-rise type and figure 2 shows the mid-tread type of uniform quantization.
pg. 11
• The Mid-Rise type is so called because the origin lies in the middle of a raising part of
the stair-case like graph. The quantization levels in this type are even in number.
• The Mid-tread type is so called because the origin lies in the middle of a tread of the
stair-case like graph. The quantization levels in this type are odd in number.
• Both the mid-rise and mid-tread type of uniform quantizers are symmetric about the
origin.
For any system, during its functioning, there is always a difference in the values of its
input and output. The processing of the system results in an error, which is the difference of those
values.
The difference between an input value and its quantized value is called a Quantization
Error. A Quantizer is a logarithmic function that performs Quantization (rounding off the value).
An analog-to-digital converter (ADC) works as a quantizer.
Quantization noise is a type of quantization error, which usually occurs in analog audio
signal, while quantizing it to digital. For example, in music, the signals keep changing
continuously, where a regularity is not found in errors. Such errors create a wideband noise.
pg. 12