SlideShare a Scribd company logo
Module 2
Encoding techniques
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.
Line Coding
Line Coding Schemes
Block Coding
Topics discussed in this section:
DIGITAL-TO-DIGITAL CONVERSION
Line Coding:
• Converts sequence of bits to digital signal
• Signal decode at the receiver end to get the
original data
Figure 4.1 Line coding and decoding
Figure 4.2 Signal element versus data element
Ratio r
Data rate Vs Signal rate
A signal is carrying data in which one data element is
encoded as one signal element ( r = 1). If the bit rate is
100 kbps, what is the average value of the baud rate if c is
between 0 and 1?
Solution
We assume that the average value of c is 1/2 . The baud
rate is then
Example 4.1
Computer Networks encoding techniques for cse stdents
Figure 4.3 Effect of lack of synchronization
In a digital transmission, the receiver clock is 0.1 percent
faster than the sender clock. How many extra bits per
second does the receiver receive if the data rate is
1 kbps? How many if the data rate is 1 Mbps?
Solution
At 1 kbps, the receiver receives 1001 bps instead of 1000
bps.
Example 4.3
At 1 Mbps, the receiver receives 1,001,000 bps instead of
1,000,000 bps.
Figure 4.4 Line coding schemes
Computer Networks encoding techniques for cse stdents
Figure 4.5 Unipolar NRZ scheme
Power needed to send 1 bit per unit line resistance
Figure 4.6 Polar NRZ-L(Level) and NRZ-I(invert) schemes
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.
Note
NRZ-L and NRZ-I both have an average
signal rate of N/2 Bd.
Note
NRZ-L and NRZ-I both have a DC
component problem.
Note
A system is using NRZ-I to transfer 10-Mbps data. What
are the average signal rate and minimum bandwidth?
Solution
The average signal rate is S = N/2 = 500 kbaud. The
minimum bandwidth for this average baud rate is Bmin =
S = 500 kHz.
Example 4.4
Figure 4.7 Polar RZ scheme
Complex and uses greater bandwidth
Figure 4.8 Polar biphase: Manchester and differential Manchester schemes
In Manchester and differential
Manchester encoding, the transition
at the middle of the bit is used for
synchronization.
Note
The minimum bandwidth of Manchester
and differential Manchester is 2 times
that of NRZ.
Note
In bipolar encoding, we use three levels:
positive, zero, and negative.
Note
Figure 4.9 Bipolar schemes: AMI and pseudoternary
In mBnL schemes, a pattern of m data
elements is encoded as a pattern of n
signal elements in which 2m ≤ Ln.
Note
Figure 4.10 Multilevel: 2B1Q scheme
Table 4.1 Summary of line coding schemes
• Block coding is normally referred to
as mB/nB coding
• it replaces each m-bit group with an
n-bit group.
• Can give redundancy to ensure
synchronization and improve
performance of line coding
Block Coding
Figure 4.14 Block coding concept
Figure 4.15 Using block coding 4B/5B with NRZ-I line coding scheme
Table 4.2 4B/5B mapping codes
Figure 4.16 Substitution in 4B/5B block coding
◼ Redundancy bits add 20 percent more
baud
◼ Does not solve the DC component of the
NRZ-I baud.
Scrambling
Figure 4.9 revisiting Bipolar schemes: AMI and pseudoternary
Figure 4.18 AMI used with scrambling
B8ZS substitutes eight consecutive
zeros with 000VB0VB.
Note
Figure 4.19 Two cases of B8ZS scrambling technique
HDB3 substitutes four consecutive
zeros with 000V or B00V depending
on the number of nonzero pulses after
the last substitution.
Note
Figure 4.20 Different situations in HDB3 scrambling technique
Figure 4.20 Different situations in HDB3 scrambling technique
ANALOG-TO-DIGITAL CONVERSION
change an analog signal to digital data. In this section
we describe two techniques, pulse code modulation
and delta modulation.
Pulse Code Modulation (PCM)
Delta Modulation (DM)
Topics discussed in this section:
Figure 4.21 Components of PCM encoder
Figure 4.22 Three different sampling methods for PCM
According to the Nyquist theorem, the
sampling rate must be
at least 2 times the highest frequency
contained in the signal.
Note
Computer Networks encoding techniques for cse stdents
Figure 4.26 Quantization and encoding of a sampled signal
We want to digitize the human voice. What is the bit rate,
assuming 8 bits per sample?
Solution
The human voice normally contains frequencies from 0
to 4000 Hz. So the sampling rate and bit rate are
calculated as follows:
Example 4.14
Figure 4.27 Components of a PCM decoder
Delta Modulation
◼ PCM finds the value of signal amplitude
for each signal.
◼ DM finds the change from the previous
sample
Figure 4.29 Delta modulation components
The process of delta modulation
Figure 4.30 Delta demodulation components

More Related Content

PPT
LECTURE-4 (Data Communication) ~www.fida.com.bd
PPT
Ch04
 
PPT
Chapter 4 - Digital Transmission
PPT
Chapter 4
PPT
Line_Coding.ppt for engineering students for ug and pg
PPT
line coding techniques, block coding and all type of coding
PPT
ch04-digital-transmission.ppt
LECTURE-4 (Data Communication) ~www.fida.com.bd
Ch04
 
Chapter 4 - Digital Transmission
Chapter 4
Line_Coding.ppt for engineering students for ug and pg
line coding techniques, block coding and all type of coding
ch04-digital-transmission.ppt

Similar to Computer Networks encoding techniques for cse stdents (20)

PPT
lecture 6 ch04 digital to digital conversion
PPT
ch4_1_v1.pptwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww
PPT
PPT
Ch4 1 v1
PPT
Data Communication And Networking - DIGITAL TRANSMISSION
PPT
digital layer
PDF
Computer Networks/Computer Engineering.pdf
PPTX
lec5_13.pptx
PPTX
Data Encoding in Data Communication.pptx
PPT
1432.encoding concepts
PDF
Computer network and its applications.pdf
PDF
Computer network and its types application.pdf
PPT
Line Coding Scheme and digital transmission concept
PPT
ch4_1_v1edit-1.ppt digital transmission from pl
PPT
ch4_1_v1edit-1.pptjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjkkkkkkkkkkkkkkkkkk
PPT
PPT
PPT
Chapter 4 digital transmission computer_network
PPT
Digital Transmission
PPT
04 Digital Transmission
lecture 6 ch04 digital to digital conversion
ch4_1_v1.pptwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww
Ch4 1 v1
Data Communication And Networking - DIGITAL TRANSMISSION
digital layer
Computer Networks/Computer Engineering.pdf
lec5_13.pptx
Data Encoding in Data Communication.pptx
1432.encoding concepts
Computer network and its applications.pdf
Computer network and its types application.pdf
Line Coding Scheme and digital transmission concept
ch4_1_v1edit-1.ppt digital transmission from pl
ch4_1_v1edit-1.pptjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjkkkkkkkkkkkkkkkkkk
Chapter 4 digital transmission computer_network
Digital Transmission
04 Digital Transmission
Ad

Recently uploaded (20)

PDF
Lecture1 pattern recognition............
PPTX
Moving the Public Sector (Government) to a Digital Adoption
PDF
TRAFFIC-MANAGEMENT-AND-ACCIDENT-INVESTIGATION-WITH-DRIVING-PDF-FILE.pdf
PPTX
Introduction to Knowledge Engineering Part 1
PDF
Mega Projects Data Mega Projects Data
PDF
168300704-gasification-ppt.pdfhghhhsjsjhsuxush
PPTX
mbdjdhjjodule 5-1 rhfhhfjtjjhafbrhfnfbbfnb
PPTX
IBA_Chapter_11_Slides_Final_Accessible.pptx
PPT
Reliability_Chapter_ presentation 1221.5784
PDF
Galatica Smart Energy Infrastructure Startup Pitch Deck
PPTX
1_Introduction to advance data techniques.pptx
PPTX
ALIMENTARY AND BILIARY CONDITIONS 3-1.pptx
PDF
Foundation of Data Science unit number two notes
PPTX
Introduction-to-Cloud-ComputingFinal.pptx
PDF
Recruitment and Placement PPT.pdfbjfibjdfbjfobj
PPTX
oil_refinery_comprehensive_20250804084928 (1).pptx
PPTX
Business Acumen Training GuidePresentation.pptx
PPT
Miokarditis (Inflamasi pada Otot Jantung)
PDF
22.Patil - Early prediction of Alzheimer’s disease using convolutional neural...
PPTX
Major-Components-ofNKJNNKNKNKNKronment.pptx
Lecture1 pattern recognition............
Moving the Public Sector (Government) to a Digital Adoption
TRAFFIC-MANAGEMENT-AND-ACCIDENT-INVESTIGATION-WITH-DRIVING-PDF-FILE.pdf
Introduction to Knowledge Engineering Part 1
Mega Projects Data Mega Projects Data
168300704-gasification-ppt.pdfhghhhsjsjhsuxush
mbdjdhjjodule 5-1 rhfhhfjtjjhafbrhfnfbbfnb
IBA_Chapter_11_Slides_Final_Accessible.pptx
Reliability_Chapter_ presentation 1221.5784
Galatica Smart Energy Infrastructure Startup Pitch Deck
1_Introduction to advance data techniques.pptx
ALIMENTARY AND BILIARY CONDITIONS 3-1.pptx
Foundation of Data Science unit number two notes
Introduction-to-Cloud-ComputingFinal.pptx
Recruitment and Placement PPT.pdfbjfibjdfbjfobj
oil_refinery_comprehensive_20250804084928 (1).pptx
Business Acumen Training GuidePresentation.pptx
Miokarditis (Inflamasi pada Otot Jantung)
22.Patil - Early prediction of Alzheimer’s disease using convolutional neural...
Major-Components-ofNKJNNKNKNKNKronment.pptx
Ad

Computer Networks encoding techniques for cse stdents