Computer Networks (W-5)
Course Instructor:
Dr. Fawad Salam Khan
Assistant Professor
Email:
[email protected]
Chapter 4
Digital Transmission
4.2 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
4-1 DIGITAL-TO-DIGITAL CONVERSION
In this section, we see how we can represent digital
data by using digital signals. The conversion involves
three techniques: line coding, block coding, and
scrambling. Line coding is always needed; block
coding and scrambling may or may not be needed.
Topics discussed in this section:
Line Coding
Line Coding Schemes
Block Coding
Scrambling
4.3
Figure 4.1 Line coding and decoding
4.4
Figure 4.2 Signal element versus data element
4.5
Figure 4.3 Effect of lack of synchronization
4.6
Figure 4.4 Line coding schemes
4.7
Note
In unipolar encoding, we use only one voltage level.
8
Unipolar Encoding
9
Note
In polar encoding, we use two voltage levels: positive & negative
10
Polar: NRZ-L and NRZ-I Encoding
11
Note
In NRZ-L the level of the voltage determines the value of the bit.
In NRZ-I the inversion or the lack of inversion
determines the value of the bit.
12
Polar: RZ Encoding
13
Polar: Manchester Encoding
14
Polar: Differential Manchester
Encoding
15
Note
In Manchester and differential Manchester encoding, the transition
at the middle of the bit is used for synchronization.
16
Note
In bipolar encoding, we use three levels: positive, zero, and negative.
17
Bipolar: AMI (Alternative Mark Inversion)
Encoding
18
Figure 4.9 Bipolar schemes: AMI and pseudoternary
4.19
Table 4.1 Summary of line coding schemes
4.20
Note
Block coding is normally referred to as
mB/nB coding;
it replaces each m-bit group with an
n-bit group.
4.21
Figure 4.14 Block coding concept
4.22
4-2 ANALOG-TO-DIGITAL CONVERSION
We have seen in Chapter 3 that a digital signal is
superior to an analog signal. The tendency today is to
change an analog signal to digital data. In this section
we describe two techniques, pulse code modulation
and delta modulation.
Topics discussed in this section:
Pulse Code Modulation (PCM)
4.23
Figure 4.21 Components of PCM encoder
4.24
Figure 4.22 Sampling for PCM
4.25
Note
According to the Nyquist theorem, the
sampling rate must be
at least 2 times the highest frequency
contained in the signal.
4.26
Figure 4.23 Nyquist sampling rate for low-pass and bandpass signals
4.27
Figure 4.24 Recovery of a sampled sine wave for different sampling rates
4.28
Figure 4.26 Quantization and encoding of a sampled signal
4.29
Figure 4.27 Components of a PCM decoder
4.30
4-3 TRANSMISSION MODES
The transmission of binary data across a link can be
accomplished in either parallel or serial mode. In
parallel mode, multiple bits are sent with each clock
tick. In serial mode, 1 bit is sent with each clock tick.
While there is only one way to send parallel data, there
are three subclasses of serial transmission:
asynchronous, synchronous, and isochronous.
Topics discussed in this section:
Parallel Transmission
Serial Transmission
4.31
Figure 4.31 Data transmission and modes
4.32
Figure 4.32 Parallel transmission
4.33
Figure 4.33 Serial transmission
4.34
Note
In asynchronous transmission, we send
1 start bit (0) at the beginning and 1 or
more stop bits (1s) at the end of each
byte. There may be a gap between
each byte.
4.35
Note
Asynchronous here means
“asynchronous at the byte level,”
but the bits are still synchronized;
their durations are the same.
4.36
Figure 4.34 Asynchronous transmission
4.37
Note
In synchronous transmission, we send
bits one after another without start or
stop bits or gaps. It is the responsibility
of the receiver to group the bits.
4.38
Figure 4.35 Synchronous transmission
4.39
Q&A