Lec 1
Lec 1
CE 401
DIGITAL COMMUNICATION I
TEXTBOOK
Digital Communication
T L SlNGAL
Professor
Department of Electronics and Communication Engineering School of Electronics and Electrical Engineering
Chitkara University
Rajpura, Punjab
Me Graw
Education
1
9/26/2024
Basic Definitions:
• Analog Information Source:
An analog information source produces messages which are defined on a
continuum. (E.g. :Microphone)
x(t) x(t)
t t
Analog Digital
2
9/26/2024
Digital Communication
• To perform the processing digitally, there is a need for an interface between the
analog signal and the digital processor.
ADC DSP
DAC
3
9/26/2024
011010 100110
0101 0010
Analog-to- Digital-to-
Digital
Digital Analog
communication
Analog IN Conversion Conversion Analog OUT
Digital Digital
IN OUT
y (t )
x(t ) Digital
4
9/26/2024
5
9/26/2024
6
9/26/2024
Digital Communication
Digital communication systems offer several advantages over analog communication systems.
Here are some of the key advantages:
1. Noise Resistance: Digital signals are less susceptible to noise and interference compared to
analog signals. Digital signals can be easily reconstructed at the receiving end, reducing the
impact of noise.
2. Signal Quality: Digital signals can maintain their quality over long distances without significant
degradation, whereas analog signals can suffer from attenuation and distortion over long
transmission lines.
3. Error Detection and Correction: Digital communication systems can incorporate error detection
and correction techniques, such as checksums and parity bits, to ensure the accuracy of the
transmitted data.
4. Multiplexing: Digital signals can be easily multiplexed, allowing multiple data streams to be
transmitted simultaneously over the same channel, which is more efficient than analog
multiplexing techniques.
5. Compression: Digital data can be compressed efficiently, reducing the amount of data that
needs to be transmitted. This is essential for multimedia applications like video streaming and
music downloads.
7
Digital Communication
6. Flexibility: Digital systems are highly adaptable and can support a wide
range of services, including voice, video, and data transmission, using
the same infrastructure.
7. Signal Processing: Digital signals can undergo various types of signal
processing, such as filtering, equalization, and modulation, to improve
their quality and performance.
8. Security: Digital communication systems can implement advanced
encryption and security measures to protect the confidentiality and
integrity of transmitted data.
9. Storage and Reproduction: Digital data can be easily stored,
manipulated, and reproduced without loss of quality, making it ideal for
data storage and retrieval applications.
10. Compatibility: Digital systems can interface with a wide range of devices
and networks, making them compatible with modern technology and
facilitating integration with other digital systems.
11. Overall, digital communication systems offer superior performance,
reliability, and versatility compared to analog systems, which is why
they have largely replaced analog systems in most modern communication
technologies.
7
7
9/26/2024
Digital Communication
Disadvantages
• Generally, more bandwidth is required than that for analog systems;
• Synchronization is required.
Estimate of analog
signal out
8
9/26/2024
9
9/26/2024
• The sampling theorem for a baseband signal (strictly band limited analog
signal of finite energy) may be stated in two equivalent parts:
1. A baseband signal having no frequency components higher than fm Hz may
be completely recovered from a knowledge of its samples taken at the rate of
at least 2 fm samples per second, that is, the sampling frequency fs ≥ 2 fm.
2. A baseband signal having no frequency components higher than fm Hz is
completely described by its sample values taken at uniform intervals less
than or equal to 1/(2fm) seconds apart, that is, the sampling interval Ts ≤
1/(2fm) seconds.
Baseband Signal
Example 1.1.1: Using the Nyquist Sampling theorem for a baseband signal, determine
the Nyquist rate for an analog signal represented by s(t) = 10 sin [2p (4 × 103)t].
Solution the Nyquist rate is given as
fs = 2fm samples per second.
For the given analog signal, s(t) = 10 sin [2p (4 × 103)t]; we deduce that fm = 4
kHz. Hence, Nyquist rate fs = 2 × 4 kHz = 8 kHz
10
9/26/2024
Bandpass Signal
1
𝑓 = 2𝑓 𝑎𝑛𝑑 the Nyquist interval 𝑇 =
𝑓
Recommended sampling frequency = 2𝑓
11
9/26/2024
Ans.
Ideal Sampling
Natural sampling refers to sampled signals when tops of the sampled pulses
retain their natural shape during the sample interval. In natural sampling, an
arbitrary analog signal is sampled by Natural sampling a train of pulses having
finite short pulse width occurring at uniform intervals. The amplitude of each
rectangular pulse follows the value of the analog information signal for the
duration of the pulse. Figure 1.1.2 shows the waveform for natural sampling.
The original analog signal can be recovered at the receiver by passing the
sampled signal through an ideal low-pass filter without any distortion provided
its bandwidth satisfies the condition fm < B < (fs – fm).
• It is quite evident that there are certain disadvantages of natural sampling.
It is difficult for an analog-to-digital converter to convert the natural sample
to a digital code. In fact, the output of analog-to-digital converter would
continuously try to follow the changes in amplitude levels and may never
stabilize on any code.
12
9/26/2024
Flat-top sampling refers to sampled signals when the tops of the sampled pulses
remain constant during the sample interval. In flat-top sampling, an arbitrary analog
signal is sampled by a train of pulses having finite short pulse width occurring at
uniform intervals. A flat-top topped pulse has a constant amplitude established by the
sample value of the signal at some Sampling point within the pulse interval. We have
arbitrarily sampled the signal at the beginning of the pulse, retaining the amplitude of
each rectangular pulse at the value of the analog signal, as shown in Figure 1.1.3.
Flat-top sampling has the merit that it simplifies the design of the electronic
circuitry used to perform the sampling operation.
13
9/26/2024
In flat-top sampled signals, the high-frequency contents of the analog signal are lost
which results into distortion known as the aperture effect ()تأثير الثقب او الفجوة, or aperture
distortion.
• The aperture effect arises due to the finite pulse width used in flat-top sampling.
• Ideally, sampling should capture the exact instantaneous amplitude of the analog signal
at each sampling point. However, in flat-top sampling, the amplitude is held constant
during the pulse width, causing a loss of high-frequency content. This results in
distortion.
• Since the analog signal’s amplitude continues to change during the sampling period,
this leads to a difference between the original signal and the sampled version,
introducing what’s called aperture error.
In flat-top sampling, the analog signal cannot be recovered exactly by simply passing the
samples through an ideal low-pass filter. It can be easily seen that the use of flat-top
samples results into amplitude distortion. In addition, there is a delay by Tb/2, where Tb is
the width of the pulse, which results into lengthening of the samples during transmission.
At the receiver, amplitude distortion as well as delay causes errors in decoded signal.
However, the distortion may not be large.
In ideal, natural, or flat-top sampling, the sampling rate must be at least twice the highest
aliasing distortion
What happens if sampling rate is less than that of the Nyquist rate?
When the sampling rate is reduced (sampling at too low a rate called
undersampling), such that fs < 2 fm, spectral components of adjacent samples will
overlap and some information will be lost. This phenomenon is called aliasing.
Aliasing can be defined as the distortion in the sampled analog signal due to the
presence of high-frequency components in the spectrum of the original analog
signal.
It is also known as aliasing distortion, or foldover distortion.
14
9/26/2024
Note that an arbitrary rectangular waveform has been shown here for simplicity.
• If fs = 2 fm, the resultant sampled signal is just on the edge of aliasing.
• In order to separate the signals sufficiently apart, the sampling frequency fs should be
greater than 2 fm, as stated by the sampling theorem.
• If aliasing does take place, the interfering frequency component, called as aliasing
frequency, will be at a frequency
fa = fs – fm
where fa is the frequency component of the aliasing distortion (Hz), fs is the minimum
Nyquist sampling rate (Hz), fm is the maximum analog input (baseband) frequency (Hz).
• It is quite clear that the use of a low-pass reconstruction filter, with its pass-band
extending from –fs/2 to +fs /2, where fs is the sampled frequency, does not yield an
undistorted version of the original analog information signal.
• Due to aliasing problem, not only we lose all the components of frequencies above
the folding frequency, fa/2, but aliased frequency components reappear as lower
frequency components. Application Such aliasing destroys the integrity of the
frequency components below the folding frequency.
15
9/26/2024
• In practice, anti-aliasing filter is used at the front end of the impulse modulator (used
for sampling).
• This enables to exclude the frequency components greater than the required maximum
frequency component of the information signal. Thus, the application of sampling
process allows the reduction of continuously varying information waveform to a finite
limited number of discrete levels in a unit time interval. Figure 1.1.5 shows the use of
an anti-aliasing filter to minimize aliasing distortion.
• It is emphasized that the anti-aliasing operation must be performed before the analog
signal is sampled. Accordingly, the reconstruction filter (low-pass filter) at the receiver
end is designed to satisfy the following characteristics:
1. The passband of the reconstruction filter should extend from zero to fm Hz.
2. The amplitude response of the reconstruction filter rolls off gradually from W Hz to
(fs – 2 fm) Hz.
3. The guard band has a width equal to (fs – 2 fm) Hz which is non-zero for (fs > 2 fm)
Hz.
• An anti-aliasing filter also helps reduce noise.
• Generally, noise has a wideband spectrum. Without anti-aliasing, the aliasing
phenomenon itself will cause the noise components outside the signal spectrum to
appear within the signal spectrum. Anti-aliasing suppresses the entire noise spectrum
beyond fs/2.
16
9/26/2024
1.15
1.15
SOLVED EXAMPLE 1.1.10
Realizable filters require a nonzero bandwidth for the transition between the
passband and the required out-of-band attenuation, called the transition
bandwidth. Consider 20% transition bandwidth of the anti-aliasing filter used in
a system for producing a high-quality digitization of a 20-kHz bandwidth music
source. Determine the reasonable sampling rate.
Solution For given fm = 20 kHz, and 20% transition bandwidth of the anti-aliasing filter,
Transition bandwidth = 20 kHz × 0.2 = 4 kHz
Therefore, the practical Nyquist sampling rate, fs ≥ 2.2 fm
The practical Nyquist sampling rate fs ≥ 44.0 ksamples/second
The reasonable sampling rate for the digital CD audio player = 44.1 ksamples/second
Standard sampling rate for studio-quality audio = 48 ksamples/second.
17
9/26/2024
1.15
Solution
(a) For a given value of fm = 3.3 kHz,
Given, fs = 2 fm; fi fs = 2 × 3.3 kHz = 6.6 kHz
Figure 1.1.7 illustrates the frequency spectra of sampled signals for fs = 2 fm. (In ideal
sampling, spectrum will repeat for every fs Hz, as shown).
18
9/26/2024
(c) For given value of fm= 3.3 kHz, fs is less than 2 fm (6.6 kHz).
Let fs = 6 kHz,
Therefore, overlap band = [fm – (fs – fm)] = [3.3 – (6 – 3.3)] kHz = 0.6 kHz
Figure 1.1.9 illustrates the frequency spectra of sampled signals for fs < 2 fm
19
9/26/2024
Ex 1.1.13 An analog signal having a single frequency as 4 kHz is sampled with a 7 kHz
signal. Describe its frequency spectrum. What will be the output if the sampled
signals are passed through a low-pass filter having cut-off frequency at 3.5 kHz?
Ex 1.1.14 The specified voice spectrum is 300 Hz–3400 Hz. The sampling frequency
used is 8 kHz. In practice, the frequency spectrum of human voice extends much
beyond the highest frequency necessary for communication. Let the input analog
information signal contain a 5 kHz frequency component also. What would happen
at the output of the sampler? How can this problem be prevented?
Ex 1.1.15 An analog signal having a single frequency as 4 kHz is sampled with a 10 kHz
signal. Describe its frequency spectrum. What will be the output if the sampled
signals are passed through a low-pass filter having cut-off frequency at 5 kHz?
20