SlideShare a Scribd company logo
Channel Coding-A walkthrough
This article is just for revising Channel Coding concepts.
Channel coding is the process that transforms binary data bits into signal elements that can cross
the transmission medium. In the simplest case, in a metallic wire a bi- nary 0 is represented by a
lower voltage, and a binary 1 by a higher voltage. How- ever, before selecting a coding scheme it
is necessary to identify some of the strengths and weaknesses of line codes:
 High-frequency components are not desirable because they require more chan- nel bandwidth,
suffer more attenuation, and generate crosstalk in electrical links.
 Direct current (dc) components should be avoided because they require physi- cal coupling of
transmission elements. Since the earth/ground potential usually varies between remote
communication ends, dc provokes unwanted earth-re- turn loops.
 The use of alternating current (ac) signals permits a desirable physical isola- tion using
condensers and transformers.
 Timing control permits the receiver to correctly identify each bit in the trans- mitted message. In
synchronous transmission, the timing is referenced to the transmitter clock, which can be sent as
a separate clock signal, or embedded into the line code. If the second option is used, then the
receiver can extract its clock from the incoming data stream thereby avoiding the installation of an
ad- ditional line.
Figure 1.1: Line encoding technologies. AMI and HDB3 are usual in electrical signals, while CMI is often
used in optical signals.
In order to meet these requirements, line coding is needed before the signal is trans- mitted, along with
the corresponding decoding process at the receiving end. There are a number of different line codes that
apply to digital transmission, the most widely used ones are alternate mark inversion (AMI), high-density
bipolar three ze- ros (HDB3), and coded mark inverted (CMI).
Nonreturn to zero
Nonreturn to zero (NRZ) is a simple method consisting of assigning the bit “1” to the positive value of the
signal amplitude (voltage), and the bit “0” to the nega- tive value (see Figure 1.1 ). There are two serious
disadvantages to this:
1. No timing information is included in the signal, which means that synchronism can easily be lost
if, for instance, a long sequence of zeros is being received.
2. The spectrum of the signal includes a dc component.
Alternate mark inversion
Alternate mark inversion (AMI) is a transmission code, also known as pseudo- ternary, in which a “0” bit
is transmitted as a null voltage and the “1” bits are represented alternately as positive and negative
voltage. The digital signal coded in AMI is characterized as follows (see Figure 1.1):
 The dc component of its spectrum is null.
 It does not solve the problem of loss of synchronization with long sequences of zeros.
Bit eight-zero suppression
Bit eight-zero suppression (B8ZS) is a line code in which bipolar violations are de- liberately inserted if
the user data contains a string of eight or more consecutive ze- ros. The objective is to ensure a sufficient
number of transitions to maintain the synchronization when the user data stream contains a large number
of consecutive zeros (see Figure 1.1 and Figure 1.2).
The coding has the following characteristics:
 The timing information is preserved by embedding it in the line signal, even when long sequences
of zeros are transmitted, which allows the clock to be re- covered properly on reception
 The dc component of a signal that is coded in B8Z3 is null.
Figure 1.2 B8ZS and HDB3 coding. Bipolar violations are: V+ a positive level and V- negative.
High-density bipolar three zeroes
High-density bipolar three zeroes (HDB3) is similar to B8ZS, but limits the maxi- mum number of
transmitted consecutive zeros to three (see Figure 1.5). The basic idea consists of replacing a series of
four bits that are equal to “0” with a code word “000V” or “B00V,” where “V” is a pulse that violates the
AMI law of alternate po- larity, and B it is for balancing the polarity.
 “B00V” is used when, until the previous pulse, the coded signal presents a dc component that is
not null (the number of positive pulses is not compensated by the number of negative pulses).
 “000V” is used under the same conditions as above, when, until the previous pulse, the dc
component is null (see Figure 1.6).
 The pulse “B” (for balancing), which respects the AMI alternation rule and has positive or negative
polarity, ensuring that two consecutive “V” pulses will have different polarity.
Coded mark inverted
The coded mark inverted (CMI) code, also based on AMI, is used instead of HDB3 at high transmission
rates, because of the greater simplicity of CMI coding and de- coding circuits compared to the HDB3 for
these rates. In this case, a “1” is transmit- ted according to the AMI rule of alternate polarity, with a
negative level of voltage during the first half of the period of the pulse, and a positive level in the second
half. The CMI code has the following characteristics (see Figure 1.1):
 The spectrum of a CMI signal cancels out the components at very low frequencies.
 It allows for the clock to be recovered properly, like the HDB3 code.
 The bandwidth is greater than that of the spectrum of the same signal coded in AMI.

More Related Content

PPT
SDH BASICS
PDF
Bip based-alarm-declaration-and-clearing-in-sonet-networks-employing-automati...
PPTX
FEC-Forward Error Correction for Optics Professionals..www.mapyourtech.com
PPTX
SDH/SONET alarms & performance monitoring
PDF
Packet Guide SONET/SDH
PPTX
FEC-Forward Error Correction for Optics Professionals
PPT
Pdh and sdh1
PDF
LTE Reviews - PCI Analysis
SDH BASICS
Bip based-alarm-declaration-and-clearing-in-sonet-networks-employing-automati...
FEC-Forward Error Correction for Optics Professionals..www.mapyourtech.com
SDH/SONET alarms & performance monitoring
Packet Guide SONET/SDH
FEC-Forward Error Correction for Optics Professionals
Pdh and sdh1
LTE Reviews - PCI Analysis

What's hot (20)

PPT
29422920 overview-of-ng-sdh
PPT
SDH MAPPING AND MULTIPLEXING
PPT
SDH ALARMS
PPT
Sdh total final
PPT
SDH Principle - Huawei
PDF
Fast detection of number of antenna ports in lte system
DOCX
Sonet sdh-defects
PDF
SDH (Synchronous Digital Hierarchy) & Its Architecture
PDF
Sdh basics hand_outs_of_sdh_basics
PPTX
SDH presentation
PPTX
SDH Frame Structure
PPTX
Thesis of sdh
PDF
PPT
Sonet
PPT
Fundamentals of sdh
DOCX
40G 100G gigabit ethernet technology overview
PPTX
Alcatel lucent bts
PDF
SYNHRONOUS TRANSMISSION OFC
29422920 overview-of-ng-sdh
SDH MAPPING AND MULTIPLEXING
SDH ALARMS
Sdh total final
SDH Principle - Huawei
Fast detection of number of antenna ports in lte system
Sonet sdh-defects
SDH (Synchronous Digital Hierarchy) & Its Architecture
Sdh basics hand_outs_of_sdh_basics
SDH presentation
SDH Frame Structure
Thesis of sdh
Sonet
Fundamentals of sdh
40G 100G gigabit ethernet technology overview
Alcatel lucent bts
SYNHRONOUS TRANSMISSION OFC
Ad

Similar to Channel coding a walkthrough (20)

PPTX
DC MODULE 3 PPT from the data communicatiobs
PPT
Chap4 d t-d conversion
PPT
Signal encoding techniques
PDF
signalencodingtechniques-170203124858.pdf
PPT
unit 2 intr to phy layer part 1.pptcvcvcv
PDF
Line coding
PDF
Linecodingstudent 140716233501-phpapp01
PDF
Lecture set 2
PPTX
unit 3 ppt.pptx dc notes n the radiation pattern of a Yagi-Uda antenna in MAT...
PPTX
Line Coding.pptx
PDF
Line codes
PPT
base-band_digital_data_transmission-Line coding - Copy.ppt
PPT
Unit 4
PPTX
Line coding
PPTX
Digital data transmission,line coding and pulse shaping
PPT
L8 signal encoding techniques
PPT
CS553_ST7_Ch05-SignalEncodingTechniques.ppt
PPTX
Lecture 08
PPT
line coding techniques, block coding and all type of coding
DC MODULE 3 PPT from the data communicatiobs
Chap4 d t-d conversion
Signal encoding techniques
signalencodingtechniques-170203124858.pdf
unit 2 intr to phy layer part 1.pptcvcvcv
Line coding
Linecodingstudent 140716233501-phpapp01
Lecture set 2
unit 3 ppt.pptx dc notes n the radiation pattern of a Yagi-Uda antenna in MAT...
Line Coding.pptx
Line codes
base-band_digital_data_transmission-Line coding - Copy.ppt
Unit 4
Line coding
Digital data transmission,line coding and pulse shaping
L8 signal encoding techniques
CS553_ST7_Ch05-SignalEncodingTechniques.ppt
Lecture 08
line coding techniques, block coding and all type of coding
Ad

More from MapYourTech (20)

DOCX
dBm : a mathematical interpretation
DOCX
Generic framing protocol
DOCX
Amplifiers -edfa,raman & soa comparision
DOCX
What is an eye diagram?
DOCX
How otn supercedes over sdh?
DOCX
Why synchronization is not required in otn?
DOCX
Network operation center
DOCX
Significance of scrambler in sonet
DOCX
Rejuvenating pcm pulse code modulation
DOCX
Focusing prbs pseudo random binary sequence
DOCX
The ethernet frame a walkthrough
DOCX
Pause frames an overview
DOCX
Glimpse of carrier ethernet
DOCX
Otn maintenance signal interaction
DOCX
The optical time domain reflectometer
PDF
Why no auto negotiation for fiber optic media?
PDF
Why it is good to have orl 30d b for general fiber links?
PDF
What is q factor ?
PDF
Rs(n,k)exploring n and k in reed solomon fec code
PDF
Q and dBq: a walkthrough
dBm : a mathematical interpretation
Generic framing protocol
Amplifiers -edfa,raman & soa comparision
What is an eye diagram?
How otn supercedes over sdh?
Why synchronization is not required in otn?
Network operation center
Significance of scrambler in sonet
Rejuvenating pcm pulse code modulation
Focusing prbs pseudo random binary sequence
The ethernet frame a walkthrough
Pause frames an overview
Glimpse of carrier ethernet
Otn maintenance signal interaction
The optical time domain reflectometer
Why no auto negotiation for fiber optic media?
Why it is good to have orl 30d b for general fiber links?
What is q factor ?
Rs(n,k)exploring n and k in reed solomon fec code
Q and dBq: a walkthrough

Recently uploaded (20)

PPTX
BOWEL ELIMINATION FACTORS AFFECTING AND TYPES
PDF
O5-L3 Freight Transport Ops (International) V1.pdf
PPTX
Pharma ospi slides which help in ospi learning
PDF
01-Introduction-to-Information-Management.pdf
PDF
Classroom Observation Tools for Teachers
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PPTX
PPH.pptx obstetrics and gynecology in nursing
PDF
O7-L3 Supply Chain Operations - ICLT Program
PDF
Basic Mud Logging Guide for educational purpose
PDF
Mark Klimek Lecture Notes_240423 revision books _173037.pdf
PPTX
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PDF
Complications of Minimal Access Surgery at WLH
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PPTX
Week 4 Term 3 Study Techniques revisited.pptx
PDF
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
PDF
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PPTX
Renaissance Architecture: A Journey from Faith to Humanism
BOWEL ELIMINATION FACTORS AFFECTING AND TYPES
O5-L3 Freight Transport Ops (International) V1.pdf
Pharma ospi slides which help in ospi learning
01-Introduction-to-Information-Management.pdf
Classroom Observation Tools for Teachers
human mycosis Human fungal infections are called human mycosis..pptx
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PPH.pptx obstetrics and gynecology in nursing
O7-L3 Supply Chain Operations - ICLT Program
Basic Mud Logging Guide for educational purpose
Mark Klimek Lecture Notes_240423 revision books _173037.pdf
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
STATICS OF THE RIGID BODIES Hibbelers.pdf
Complications of Minimal Access Surgery at WLH
Final Presentation General Medicine 03-08-2024.pptx
Week 4 Term 3 Study Techniques revisited.pptx
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
2.FourierTransform-ShortQuestionswithAnswers.pdf
Renaissance Architecture: A Journey from Faith to Humanism

Channel coding a walkthrough

  • 1. Channel Coding-A walkthrough This article is just for revising Channel Coding concepts. Channel coding is the process that transforms binary data bits into signal elements that can cross the transmission medium. In the simplest case, in a metallic wire a bi- nary 0 is represented by a lower voltage, and a binary 1 by a higher voltage. How- ever, before selecting a coding scheme it is necessary to identify some of the strengths and weaknesses of line codes:  High-frequency components are not desirable because they require more chan- nel bandwidth, suffer more attenuation, and generate crosstalk in electrical links.  Direct current (dc) components should be avoided because they require physi- cal coupling of transmission elements. Since the earth/ground potential usually varies between remote communication ends, dc provokes unwanted earth-re- turn loops.  The use of alternating current (ac) signals permits a desirable physical isola- tion using condensers and transformers.  Timing control permits the receiver to correctly identify each bit in the trans- mitted message. In synchronous transmission, the timing is referenced to the transmitter clock, which can be sent as a separate clock signal, or embedded into the line code. If the second option is used, then the receiver can extract its clock from the incoming data stream thereby avoiding the installation of an ad- ditional line.
  • 2. Figure 1.1: Line encoding technologies. AMI and HDB3 are usual in electrical signals, while CMI is often used in optical signals. In order to meet these requirements, line coding is needed before the signal is trans- mitted, along with the corresponding decoding process at the receiving end. There are a number of different line codes that apply to digital transmission, the most widely used ones are alternate mark inversion (AMI), high-density bipolar three ze- ros (HDB3), and coded mark inverted (CMI). Nonreturn to zero Nonreturn to zero (NRZ) is a simple method consisting of assigning the bit “1” to the positive value of the signal amplitude (voltage), and the bit “0” to the nega- tive value (see Figure 1.1 ). There are two serious disadvantages to this: 1. No timing information is included in the signal, which means that synchronism can easily be lost if, for instance, a long sequence of zeros is being received. 2. The spectrum of the signal includes a dc component. Alternate mark inversion
  • 3. Alternate mark inversion (AMI) is a transmission code, also known as pseudo- ternary, in which a “0” bit is transmitted as a null voltage and the “1” bits are represented alternately as positive and negative voltage. The digital signal coded in AMI is characterized as follows (see Figure 1.1):  The dc component of its spectrum is null.  It does not solve the problem of loss of synchronization with long sequences of zeros. Bit eight-zero suppression Bit eight-zero suppression (B8ZS) is a line code in which bipolar violations are de- liberately inserted if the user data contains a string of eight or more consecutive ze- ros. The objective is to ensure a sufficient number of transitions to maintain the synchronization when the user data stream contains a large number of consecutive zeros (see Figure 1.1 and Figure 1.2). The coding has the following characteristics:  The timing information is preserved by embedding it in the line signal, even when long sequences of zeros are transmitted, which allows the clock to be re- covered properly on reception  The dc component of a signal that is coded in B8Z3 is null. Figure 1.2 B8ZS and HDB3 coding. Bipolar violations are: V+ a positive level and V- negative. High-density bipolar three zeroes High-density bipolar three zeroes (HDB3) is similar to B8ZS, but limits the maxi- mum number of transmitted consecutive zeros to three (see Figure 1.5). The basic idea consists of replacing a series of four bits that are equal to “0” with a code word “000V” or “B00V,” where “V” is a pulse that violates the AMI law of alternate po- larity, and B it is for balancing the polarity.  “B00V” is used when, until the previous pulse, the coded signal presents a dc component that is not null (the number of positive pulses is not compensated by the number of negative pulses).  “000V” is used under the same conditions as above, when, until the previous pulse, the dc component is null (see Figure 1.6).  The pulse “B” (for balancing), which respects the AMI alternation rule and has positive or negative polarity, ensuring that two consecutive “V” pulses will have different polarity. Coded mark inverted The coded mark inverted (CMI) code, also based on AMI, is used instead of HDB3 at high transmission rates, because of the greater simplicity of CMI coding and de- coding circuits compared to the HDB3 for
  • 4. these rates. In this case, a “1” is transmit- ted according to the AMI rule of alternate polarity, with a negative level of voltage during the first half of the period of the pulse, and a positive level in the second half. The CMI code has the following characteristics (see Figure 1.1):  The spectrum of a CMI signal cancels out the components at very low frequencies.  It allows for the clock to be recovered properly, like the HDB3 code.  The bandwidth is greater than that of the spectrum of the same signal coded in AMI.