SlideShare a Scribd company logo
14
Most read
17
Most read
19
Most read
Introduction to Data communication
Topic : Bipolar Codes
Lecture #7
Dr Rajiv Srivastava
Director
Sagar Institute of Research & Technology (SIRT)
Sagar Group of Institutions, Bhopal
http://www.sirtbhopal.ac.in
Unit 1
Lecture 7
2
Bipolar Encoding
• Bipolar encoding, like RZ, uses three voltage levels: positive,
negative and zero.
• Unlike RZ, however, the zero level in bipolar encoding is used
to represent binary 0. The 1s are represented by alternating
positive and negative voltages. If the first 1 bit is represented by
the positive amplitude, the second will be represented by the
negative amplitude, the third by the positive amplitude, and so
on. This alteration occurs even when the 1 bits are not
consecutive.
• Three types of bipolar encoding are in popular use by the data
communications industry :
1. AMI
2. B8ZS &
3. HDB3
3
Types of Bipolar Encoding
4
In bipolar encoding, we use three levels:
positive, zero & negative.
Tip
5
Bipolar AMI
• Bipolar alternate mark inversion (AMI) is the
simplest type of bipolar encoding. In the name
alternate mark inversion, the word mark comes
from telegraphy and means 1.
– So AMI means alternate 1 inversion.
– A neutral, zero voltage represents binary 0.
• Binary 1s are represented by alternating positive
and negative voltages. Figure gives an example.
6
Figure : Bipolar AMI encoding
7
AMI with Pseudoternary variation
• A variation of bipolar AMI is called
Pseudoternary, in which binary 0 alternates
between positive and negative voltages.
• By inverting on each occurrence of a 1, bipolar
AMI accomplishes two things :
1. first, the DC component is zero, and
2. second, a long sequence of 1s stays synchronized
• However, there is no mechanism to ensure the
synchronization of a long string of 0s.
8
Figure: Bipolar schemes: AMI and pseudoternary
 In Bipolar AMI encoding, we use three levels: positive,
zero & negative
 Pseudoternary AMI
 1 represented by absence of signals
 0 represented by alternating positive & negative
 Used in DS1 & E1 lines
Various Encoding Schemes
• Two variations of bipolar AMI have been
developed to solve the problem of
synchronizing sequential 0s, especially for
long-distance transmission.
1. The first, used in North America, is called
bipolar 8-zero substitution (B8ZS).
2. The second, used in Europe and Japan, is called
high-density bipolar 3 (HDB3).
• Both are adaptations of bipolar AMI that
modify the original pattern only in the case of
multiple consecutives 0s.
11
Bipolar 8-Zero Substitution (B8ZS)
• B8ZS is the convention adopted in North America to
provide synchronization of long strings of 0s.
• In this technique. Eight consecutive zero-level
voltages are replaced by the sequence 000VB0VB.
• The V is the sequence denotes violation; this is non-
zero voltage that breaks the AMI rule of
encoding(opposite polarity from the previous).
• The B in the sequence denotes bipolar, which means
a non zero level voltage in accordance with the AMI
rule.
• The two cases are shown in the figure. 12
Figure: Two cases of B8ZS scrambling technique
- V means the same polarity as the polarity of previous non zero pulse
- B means the polarity opposite to the polarity of previous non zero pulse
Example : Using B8ZS, encode the bit stream
10000000000100. Assume that the polarity of the
first 1 is positive.
• Solution
•
1 0 0 0 0 0 0 0 0 0 0 1 0 0
v B
0 0 0 0
B V
Polarity changes on
every next 1 using AMI
Amplitude
time
High-Density Bipolar3 (HDB3)
• The problem of synchronizing strings of consecutive
0s is solved differently in Europe and Japan than in
the United States. This convention, called HDB3,
introduces changes into the bipolar AMI pattern
every time four consecutive 0s are encountered
instead of waiting for the eight expected by B8ZS in
North America.
• Although the name is HDB3, the pattern changes
whenever there are four 0s in succession.
15
• This technique is more conservative than B8ZS
• The 4 consecutive zero level voltages are replaced with a
sequence of 000V or B00V
• The reason for two different substitutions is to maintain
the even no of non zero pulses after each substitution.
• The two rules can be stated below:
1. If the no of non zero pulses after the last substitution is odd, the
substitution pattern will be 000V, which makes the total no of
non zero pulses even.
2. If the no of non zero pulses after the last substitution is even,
the substitution pattern will be B00V, which makes the total no
of non zero pulses even.
• Figure shows the example.
16
Figure: Different situations in HDB3 scrambling technique
Important : After the first substitution the polarity of 1 is
changed as per AMI scheme. Which is followed after each
substitution.
Example : Using HDB3, encode the bit stream
10000000000100. Assume that the number of 1s
so far is odd and the first 1 is positive.
• Solution
•
1 0 0 0 0 0 0 0 0 0 0 1 0 0
v
0 0 0 0 0
B V
Amplitude
time
Combined Look At Bipolar AMI, B8ZS
and HDB3
Thank You
Dr Rajiv Srivastava
Director
Sagar Institute of Research & Technology (SIRT)
Sagar Group of Institutions, Bhopal
http://www.sirtbhopal.ac.in

More Related Content

What's hot (20)

PPT
Congestion control and quality of service
JUW Jinnah University for Women
 
PPT
Error Detection And Correction
Renu Kewalramani
 
PPTX
Analog to analog conversion
Meherul1234
 
PPT
Digital to analog conversion
WaseemKhan00
 
PPTX
Transport layer services
Kongu Engineering College, Perundurai, Erode
 
PDF
Pulse Code Modulation (PCM)
Arun c
 
PDF
Data Communication & Computer Networks : Unipolar & Polar coding
Dr Rajiv Srivastava
 
PPTX
Framing in data link layer
Ahtesham Ullah khan
 
PPT
Lecture 17
Sehrish Rafiq
 
PDF
Multiplexing
Aman Jaiswal
 
PDF
Mobile Network Layer
Rahul Hada
 
PPTX
Media Access Control
VijayaLakshmi514
 
PPTX
Multiplexing
Neeraj Garwal
 
PPTX
Circuit Switching
Miles Kevin Galario
 
PPTX
Digital to Analog conversion
Mariam Butt
 
PPTX
MEDIUM ACCESS CONTROL
junnubabu
 
PPTX
Media Access Control (MAC Layer)
Meenakshi Paul
 
PPTX
Microprogrammed Control Unit
PreethiSureshkumar1
 
PDF
Digital Data, Digital Signal | Scrambling Techniques
Biplap Bhattarai
 
PPTX
Chap 1&2(history and intro) wireless communication
asadkhan1327
 
Congestion control and quality of service
JUW Jinnah University for Women
 
Error Detection And Correction
Renu Kewalramani
 
Analog to analog conversion
Meherul1234
 
Digital to analog conversion
WaseemKhan00
 
Pulse Code Modulation (PCM)
Arun c
 
Data Communication & Computer Networks : Unipolar & Polar coding
Dr Rajiv Srivastava
 
Framing in data link layer
Ahtesham Ullah khan
 
Lecture 17
Sehrish Rafiq
 
Multiplexing
Aman Jaiswal
 
Mobile Network Layer
Rahul Hada
 
Media Access Control
VijayaLakshmi514
 
Multiplexing
Neeraj Garwal
 
Circuit Switching
Miles Kevin Galario
 
Digital to Analog conversion
Mariam Butt
 
MEDIUM ACCESS CONTROL
junnubabu
 
Media Access Control (MAC Layer)
Meenakshi Paul
 
Microprogrammed Control Unit
PreethiSureshkumar1
 
Digital Data, Digital Signal | Scrambling Techniques
Biplap Bhattarai
 
Chap 1&2(history and intro) wireless communication
asadkhan1327
 

Similar to Data Communication & Computer network: Bipolar codes (20)

PPT
Chapter4 digital transmission
pitchuangay
 
PPT
Chap4 d t-d conversion
arslan_akbar90
 
PPT
Unit 4
Srashti Vyas
 
PPTX
unit 3 ppt.pptx dc notes n the radiation pattern of a Yagi-Uda antenna in MAT...
SATHEESHKUMARRSATHEE
 
DOCX
Dcn aasignment
university of Gujrat, pakistan
 
PPTX
Line coding
SurekhaSunagar
 
PDF
Computer Networks encoding techniques for cse stdents
avadhutmali5
 
PPTX
dataencoding-150701201133-lva1-app6891.pptx
AshokRachapalli1
 
DOCX
Channel coding a walkthrough
MapYourTech
 
PPT
Dc4 t1
Nachiket Rajput
 
PPT
1432.encoding concepts
techbed
 
PPT
Lecture 09
Sehrish Rafiq
 
PPTX
Line coding Tec hniques.pptx
naveen088888
 
PPTX
lec5_13.pptx
ShakibAhmed52
 
PPTX
Digital & analog transmission
Jeffery Vava
 
PPTX
Data Encoding in Data Communication.pptx
zulhelmanz
 
PDF
Data Communication & Computer Networks: Multi level, multi transition & block...
Dr Rajiv Srivastava
 
PPTX
Baser resistor
Rj Juhith
 
Chapter4 digital transmission
pitchuangay
 
Chap4 d t-d conversion
arslan_akbar90
 
Unit 4
Srashti Vyas
 
unit 3 ppt.pptx dc notes n the radiation pattern of a Yagi-Uda antenna in MAT...
SATHEESHKUMARRSATHEE
 
Line coding
SurekhaSunagar
 
Computer Networks encoding techniques for cse stdents
avadhutmali5
 
dataencoding-150701201133-lva1-app6891.pptx
AshokRachapalli1
 
Channel coding a walkthrough
MapYourTech
 
1432.encoding concepts
techbed
 
Lecture 09
Sehrish Rafiq
 
Line coding Tec hniques.pptx
naveen088888
 
lec5_13.pptx
ShakibAhmed52
 
Digital & analog transmission
Jeffery Vava
 
Data Encoding in Data Communication.pptx
zulhelmanz
 
Data Communication & Computer Networks: Multi level, multi transition & block...
Dr Rajiv Srivastava
 
Baser resistor
Rj Juhith
 
Ad

More from Dr Rajiv Srivastava (20)

PPTX
Trends of it
Dr Rajiv Srivastava
 
PDF
Placement at sagar group Bhopal | SIRT College Bhopal
Dr Rajiv Srivastava
 
PPTX
How to Prepare for Group Discussion
Dr Rajiv Srivastava
 
PPTX
Unix ppt
Dr Rajiv Srivastava
 
PPTX
SAGE GROUP - BEST ENGINEERING COLLEGE IN BHOPAL MP
Dr Rajiv Srivastava
 
PPT
lecture on data compression
Dr Rajiv Srivastava
 
PPT
Topic : X.25, Frame relay and ATM
Dr Rajiv Srivastava
 
PPT
Topic : B ISDN
Dr Rajiv Srivastava
 
PPT
Topic : ISDN(integrated services digital network) part 2
Dr Rajiv Srivastava
 
PPT
Topic: ISDN (Integrated Services Digital Network)
Dr Rajiv Srivastava
 
PPT
Topic: Virtual circuit & message switching
Dr Rajiv Srivastava
 
PPT
Topic Packet switching
Dr Rajiv Srivastava
 
PPT
Introduction to switching & circuit switching
Dr Rajiv Srivastava
 
PPT
Topic:Terminal handling & polling
Dr Rajiv Srivastava
 
PPT
Topic: Spread Spectrum
Dr Rajiv Srivastava
 
PPT
Applications of Time Division multiplexing : statistical TDM
Dr Rajiv Srivastava
 
PPT
Multiplexing : Wave Division Multiplexing
Dr Rajiv Srivastava
 
PPT
Multiplexing : FDM
Dr Rajiv Srivastava
 
PDF
Data Communication & Computer network: Shanon fano coding
Dr Rajiv Srivastava
 
PDF
Data Communication & Computer Networks : LZW compression method
Dr Rajiv Srivastava
 
Trends of it
Dr Rajiv Srivastava
 
Placement at sagar group Bhopal | SIRT College Bhopal
Dr Rajiv Srivastava
 
How to Prepare for Group Discussion
Dr Rajiv Srivastava
 
SAGE GROUP - BEST ENGINEERING COLLEGE IN BHOPAL MP
Dr Rajiv Srivastava
 
lecture on data compression
Dr Rajiv Srivastava
 
Topic : X.25, Frame relay and ATM
Dr Rajiv Srivastava
 
Topic : B ISDN
Dr Rajiv Srivastava
 
Topic : ISDN(integrated services digital network) part 2
Dr Rajiv Srivastava
 
Topic: ISDN (Integrated Services Digital Network)
Dr Rajiv Srivastava
 
Topic: Virtual circuit & message switching
Dr Rajiv Srivastava
 
Topic Packet switching
Dr Rajiv Srivastava
 
Introduction to switching & circuit switching
Dr Rajiv Srivastava
 
Topic:Terminal handling & polling
Dr Rajiv Srivastava
 
Topic: Spread Spectrum
Dr Rajiv Srivastava
 
Applications of Time Division multiplexing : statistical TDM
Dr Rajiv Srivastava
 
Multiplexing : Wave Division Multiplexing
Dr Rajiv Srivastava
 
Multiplexing : FDM
Dr Rajiv Srivastava
 
Data Communication & Computer network: Shanon fano coding
Dr Rajiv Srivastava
 
Data Communication & Computer Networks : LZW compression method
Dr Rajiv Srivastava
 
Ad

Recently uploaded (20)

PPTX
A PPT on Alfred Lord Tennyson's Ulysses.
Beena E S
 
PPTX
I AM MALALA The Girl Who Stood Up for Education and was Shot by the Taliban...
Beena E S
 
PDF
Generative AI: it's STILL not a robot (CIJ Summer 2025)
Paul Bradshaw
 
PPTX
Stereochemistry-Optical Isomerism in organic compoundsptx
Tarannum Nadaf-Mansuri
 
PDF
The dynastic history of the Chahmana.pdf
PrachiSontakke5
 
PDF
0725.WHITEPAPER-UNIQUEWAYSOFPROTOTYPINGANDUXNOW.pdf
Thomas GIRARD, MA, CDP
 
PPT
Talk on Critical Theory, Part One, Philosophy of Social Sciences
Soraj Hongladarom
 
PDF
Stokey: A Jewish Village by Rachel Kolsky
History of Stoke Newington
 
PDF
Dimensions of Societal Planning in Commonism
StefanMz
 
PPTX
ASRB NET 2023 PREVIOUS YEAR QUESTION PAPER GENETICS AND PLANT BREEDING BY SAT...
Krashi Coaching
 
PDF
Lesson 2 - WATER,pH, BUFFERS, AND ACID-BASE.pdf
marvinnbustamante1
 
PPTX
Cultivation practice of Litchi in Nepal.pptx
UmeshTimilsina1
 
PDF
SSHS-2025-PKLP_Quarter-1-Dr.-Kerby-Alvarez.pdf
AishahSangcopan1
 
PDF
Biological Bilingual Glossary Hindi and English Medium
World of Wisdom
 
PPTX
grade 5 lesson matatag ENGLISH 5_Q1_PPT_WEEK4.pptx
SireQuinn
 
PPTX
MENINGITIS: NURSING MANAGEMENT, BACTERIAL MENINGITIS, VIRAL MENINGITIS.pptx
PRADEEP ABOTHU
 
PDF
People & Earth's Ecosystem -Lesson 2: People & Population
marvinnbustamante1
 
PDF
Knee Extensor Mechanism Injuries - Orthopedic Radiologic Imaging
Sean M. Fox
 
PDF
DIGESTION OF CARBOHYDRATES,PROTEINS,LIPIDS
raviralanaresh2
 
PDF
ARAL_Orientation_Day-2-Sessions_ARAL-Readung ARAL-Mathematics ARAL-Sciencev2.pdf
JoelVilloso1
 
A PPT on Alfred Lord Tennyson's Ulysses.
Beena E S
 
I AM MALALA The Girl Who Stood Up for Education and was Shot by the Taliban...
Beena E S
 
Generative AI: it's STILL not a robot (CIJ Summer 2025)
Paul Bradshaw
 
Stereochemistry-Optical Isomerism in organic compoundsptx
Tarannum Nadaf-Mansuri
 
The dynastic history of the Chahmana.pdf
PrachiSontakke5
 
0725.WHITEPAPER-UNIQUEWAYSOFPROTOTYPINGANDUXNOW.pdf
Thomas GIRARD, MA, CDP
 
Talk on Critical Theory, Part One, Philosophy of Social Sciences
Soraj Hongladarom
 
Stokey: A Jewish Village by Rachel Kolsky
History of Stoke Newington
 
Dimensions of Societal Planning in Commonism
StefanMz
 
ASRB NET 2023 PREVIOUS YEAR QUESTION PAPER GENETICS AND PLANT BREEDING BY SAT...
Krashi Coaching
 
Lesson 2 - WATER,pH, BUFFERS, AND ACID-BASE.pdf
marvinnbustamante1
 
Cultivation practice of Litchi in Nepal.pptx
UmeshTimilsina1
 
SSHS-2025-PKLP_Quarter-1-Dr.-Kerby-Alvarez.pdf
AishahSangcopan1
 
Biological Bilingual Glossary Hindi and English Medium
World of Wisdom
 
grade 5 lesson matatag ENGLISH 5_Q1_PPT_WEEK4.pptx
SireQuinn
 
MENINGITIS: NURSING MANAGEMENT, BACTERIAL MENINGITIS, VIRAL MENINGITIS.pptx
PRADEEP ABOTHU
 
People & Earth's Ecosystem -Lesson 2: People & Population
marvinnbustamante1
 
Knee Extensor Mechanism Injuries - Orthopedic Radiologic Imaging
Sean M. Fox
 
DIGESTION OF CARBOHYDRATES,PROTEINS,LIPIDS
raviralanaresh2
 
ARAL_Orientation_Day-2-Sessions_ARAL-Readung ARAL-Mathematics ARAL-Sciencev2.pdf
JoelVilloso1
 

Data Communication & Computer network: Bipolar codes

  • 1. Introduction to Data communication Topic : Bipolar Codes Lecture #7 Dr Rajiv Srivastava Director Sagar Institute of Research & Technology (SIRT) Sagar Group of Institutions, Bhopal http://www.sirtbhopal.ac.in
  • 3. Bipolar Encoding • Bipolar encoding, like RZ, uses three voltage levels: positive, negative and zero. • Unlike RZ, however, the zero level in bipolar encoding is used to represent binary 0. The 1s are represented by alternating positive and negative voltages. If the first 1 bit is represented by the positive amplitude, the second will be represented by the negative amplitude, the third by the positive amplitude, and so on. This alteration occurs even when the 1 bits are not consecutive. • Three types of bipolar encoding are in popular use by the data communications industry : 1. AMI 2. B8ZS & 3. HDB3 3
  • 4. Types of Bipolar Encoding 4
  • 5. In bipolar encoding, we use three levels: positive, zero & negative. Tip 5
  • 6. Bipolar AMI • Bipolar alternate mark inversion (AMI) is the simplest type of bipolar encoding. In the name alternate mark inversion, the word mark comes from telegraphy and means 1. – So AMI means alternate 1 inversion. – A neutral, zero voltage represents binary 0. • Binary 1s are represented by alternating positive and negative voltages. Figure gives an example. 6
  • 7. Figure : Bipolar AMI encoding 7
  • 8. AMI with Pseudoternary variation • A variation of bipolar AMI is called Pseudoternary, in which binary 0 alternates between positive and negative voltages. • By inverting on each occurrence of a 1, bipolar AMI accomplishes two things : 1. first, the DC component is zero, and 2. second, a long sequence of 1s stays synchronized • However, there is no mechanism to ensure the synchronization of a long string of 0s. 8
  • 9. Figure: Bipolar schemes: AMI and pseudoternary  In Bipolar AMI encoding, we use three levels: positive, zero & negative  Pseudoternary AMI  1 represented by absence of signals  0 represented by alternating positive & negative  Used in DS1 & E1 lines
  • 11. • Two variations of bipolar AMI have been developed to solve the problem of synchronizing sequential 0s, especially for long-distance transmission. 1. The first, used in North America, is called bipolar 8-zero substitution (B8ZS). 2. The second, used in Europe and Japan, is called high-density bipolar 3 (HDB3). • Both are adaptations of bipolar AMI that modify the original pattern only in the case of multiple consecutives 0s. 11
  • 12. Bipolar 8-Zero Substitution (B8ZS) • B8ZS is the convention adopted in North America to provide synchronization of long strings of 0s. • In this technique. Eight consecutive zero-level voltages are replaced by the sequence 000VB0VB. • The V is the sequence denotes violation; this is non- zero voltage that breaks the AMI rule of encoding(opposite polarity from the previous). • The B in the sequence denotes bipolar, which means a non zero level voltage in accordance with the AMI rule. • The two cases are shown in the figure. 12
  • 13. Figure: Two cases of B8ZS scrambling technique - V means the same polarity as the polarity of previous non zero pulse - B means the polarity opposite to the polarity of previous non zero pulse
  • 14. Example : Using B8ZS, encode the bit stream 10000000000100. Assume that the polarity of the first 1 is positive. • Solution • 1 0 0 0 0 0 0 0 0 0 0 1 0 0 v B 0 0 0 0 B V Polarity changes on every next 1 using AMI Amplitude time
  • 15. High-Density Bipolar3 (HDB3) • The problem of synchronizing strings of consecutive 0s is solved differently in Europe and Japan than in the United States. This convention, called HDB3, introduces changes into the bipolar AMI pattern every time four consecutive 0s are encountered instead of waiting for the eight expected by B8ZS in North America. • Although the name is HDB3, the pattern changes whenever there are four 0s in succession. 15
  • 16. • This technique is more conservative than B8ZS • The 4 consecutive zero level voltages are replaced with a sequence of 000V or B00V • The reason for two different substitutions is to maintain the even no of non zero pulses after each substitution. • The two rules can be stated below: 1. If the no of non zero pulses after the last substitution is odd, the substitution pattern will be 000V, which makes the total no of non zero pulses even. 2. If the no of non zero pulses after the last substitution is even, the substitution pattern will be B00V, which makes the total no of non zero pulses even. • Figure shows the example. 16
  • 17. Figure: Different situations in HDB3 scrambling technique Important : After the first substitution the polarity of 1 is changed as per AMI scheme. Which is followed after each substitution.
  • 18. Example : Using HDB3, encode the bit stream 10000000000100. Assume that the number of 1s so far is odd and the first 1 is positive. • Solution • 1 0 0 0 0 0 0 0 0 0 0 1 0 0 v 0 0 0 0 0 B V Amplitude time
  • 19. Combined Look At Bipolar AMI, B8ZS and HDB3
  • 20. Thank You Dr Rajiv Srivastava Director Sagar Institute of Research & Technology (SIRT) Sagar Group of Institutions, Bhopal http://www.sirtbhopal.ac.in