SlideShare a Scribd company logo
Data communication
Digital Transmission
Line coding
Line coding:
 Line code is a code chosenfor use withina communicationssystem fortransmittingadigital
signal downa line.
 It isthe processof convertingdigital datatodigital signals.
 Line codingconvertsdigital datatoa digital signal for the purpose of transmissionoverthe
channel.
PropertiesofLineCoding:
 As the codingisdone to make more bitstransmiton a single signal,the bandwidthusedismuch
reduced.
 For a givenbandwidth,the powerisefficientlyused.
 The probabilityof errorismuch reduced.
 Error detectionisdone andthe bipolartoohasa correctioncapability.
 Powerdensityismuchfavorable.
 The timingcontentisadequate.
 Long stringsof 1s and 0s is avoidedtomaintaintransparency.
Characteristics of Line coding:
1. Signal Element versus Data Element:
A data elementisthe smallestentitythatcanrepresentapiece of information.Thisisthe bit.In
digital datacommunications,asignal elementcarriesdataelements.A signal elementisthe
shortestunit(time wise) of adigital signal.Inotherwords,dataelementsare whatwe needto
send;signal elementsare whatwe cansend.Data elementsare beingcarried, signal elements
are the carriers.
2. Data Rate versus Signal Rate:
The data rate definesthe numberof data elements(bits) sentin1s.The unitis bitspersecond
(bps).The signal rate isthe numberof signal elementssentin1s.The unitisthe baud.The data
rate issometimescalledthe bitrate;the signal rate issometimescalledthe pulse rate,the
modulationrate,orthe baud rate.
One goal in data communicationsistoincrease the datarate while decreasingthe signal rate.
Increasingthe datarate increasesthe speedof transmission;decreasingthe signal rate
decreasesthe bandwidthrequirement.
3. Self-synchronization:
To correctlyinterpretthe signalsreceivedfromthe sender,the receiver'sbitintervalsmust
correspondexactlytothe sender'sbitintervals.If the receiverclockisfasteror slower,the bit
intervalsare notmatchedand the receivermightmisinterpretthe signals.The followingfigure
representsthe synchronizationproblem.
Types of Line Coding:
Unipolar:
Unipolarsignalingisalsocalledas On-OffKeyingorsimplyOOK.The presenceof pulse representsa 1and
the absence of pulse represents a 0.
There are one variations in Unipolar signaling
 Non-ReturntoZero(NRZ)
Unipolar Non-Return to Zero (NRZ):
In thisscheme the positivevoltage definesbit1 andthe zerovoltage definesbitO.Itiscalled
NRZ because the signal doesnotreturntozero at the middle of the bit
Advantages:
 Simplicityinimplementation.
 Doesn’trequire alotof bandwidthfortransmission.
Disadvantages:
 Presence of DClevel (indicatedbyspectral line at0 Hz).
 Containslowfrequencycomponents.CausesSignalDroop.
 Doesnot have anyerror correctioncapability.
polar:
polar Non-Return to Zero (NRZ):
In polar(NRZ) voltageare onbothside.InNRZ positive voltage means0andnegative voltage
means1. polar (NRZ) have two versions NRZ-LandNRZ-I.
NRZ-L:
In NRZ-Lthe polarityof the signal changesonlywhenthe incomingsignal changesfromaone to
a zero or froma zeroto a one, positive voltage means0andnegative voltage means1.
NRZ-I:
In NRZ-La '0' isencodedasno change inthe level.'1'isencodeddependingonthe currentstate
of the line.
Advantages:
 It issimple.
 No low-frequencycomponentsare present.
Disadvantages:
 No error correction.
 No clock is present.
 The signal droop is caused at the places where the signal is non-zero at 0 Hz.
Polar RZ:
In RZ the signal change foreach bitand signal backto level 0.Positive levelmeans1and
negative means0.example:
Advantages
 It issimple.
 No low-frequencycomponentsare present.
Disadvantages
 No error correction.
 No clock is present.
 Occupies twice the bandwidth of Polar NRZ.
 The signal droop is caused at places where the signal is non-zero at 0 Hz.
Polar (Bi-phase):
Bi-phase encoding is a variation on polar encoding and is an effective answer to synhronisation
problems.Bi-phase encodingworksbychangingthe signalinthe middleof the bitinterval,however,
the signal doesnot thenreturn to zeroit continuestothe opposite pole.Thismid-interval changeis
perfect for synchronization purposes.
Bi-phase (Manchester Coding):
Manchester encoding uses inversion at the middle of each bit interval for both synchronization
and bit representation. Negative to positive transition represents binary 1 whereas a positive to
negative transition represents binary 0.
Bi-phase (Differential Manchester Coding):
Differential Manchester encoding uses inversion at the middle of each bit interval for
synchronization, but the presence or absence of an additional transition at the beginning of the
interval isusedtoidentifythe bit.Transitionrepresentbinary0and no transitionrepresent binary1.
Bipolar:
Thisisanencodingtechniquewhichhasthreevoltage levelsnamelypositive,negative and0level.
Such a signal is called as duo-binary signal. Three types of bipolar encoding are use data
communications: AMI, B8ZS, and HDB3.
Bipolar(AMI):
AMIisa bipolarencodingsystemwhere0voltage representsbinary 0andalternatingpositiveand
negative voltages represents binary 1.

More Related Content

PDF
Line coding
PPTX
Bpsk ppt
PPTX
Comparison of Amplitude Modulation Techniques.pptx
PPTX
PPTX
Sonjoy kundu line coding
PDF
Chapter4
PPTX
Design options for digital systems
PPTX
Line coding
Line coding
Bpsk ppt
Comparison of Amplitude Modulation Techniques.pptx
Sonjoy kundu line coding
Chapter4
Design options for digital systems
Line coding

What's hot (20)

PDF
Line codes
PPTX
Pulse code modulation (PCM)
PPTX
Digital modulation techniques
PPT
1 PCM & Encoding
PPT
DAC , Digital to analog Converter
PPTX
Adaptive delta modulation
PPT
Unit 4
PPTX
Analog and digital signal system : digital logic
PPTX
Inter symboluc interference in base.pptx
PPT
communication system ch1
PDF
Serial Communication Interfaces
PDF
Comparative Study and Performance Analysis of different Modulation Techniques...
PPT
Lecture 11
PPTX
Interrupts in 8051
PPTX
Line coding
PPTX
Comparsion of M-Ary psk,fsk,qapsk.pptx
PPTX
Msp 430 addressing modes module 2
DOCX
Waveform coding
PPTX
Digital to Analog conversion
PPTX
Line coding presentation
Line codes
Pulse code modulation (PCM)
Digital modulation techniques
1 PCM & Encoding
DAC , Digital to analog Converter
Adaptive delta modulation
Unit 4
Analog and digital signal system : digital logic
Inter symboluc interference in base.pptx
communication system ch1
Serial Communication Interfaces
Comparative Study and Performance Analysis of different Modulation Techniques...
Lecture 11
Interrupts in 8051
Line coding
Comparsion of M-Ary psk,fsk,qapsk.pptx
Msp 430 addressing modes module 2
Waveform coding
Digital to Analog conversion
Line coding presentation
Ad

Similar to Line coding (20)

PPTX
Line Coding.pptx
PPT
Lecture notes eng - Line Coding New.ppt
PPT
base-band_digital_data_transmission-Line coding - Copy.ppt
PDF
signalencodingtechniques-170203124858.pdf
PPT
Signal encoding techniques
PPT
Lecture 08
PPTX
Digital data transmission,line coding and pulse shaping
PPTX
Lecture 08
PDF
DCN 5th ed. slides ch04 Digital Transmission.pdf
PPTX
lec5_13.pptx
PDF
Binary to digital encoding tbs 301
PPT
unit 2 intr to phy layer part 1.pptcvcvcv
PPT
ch4_1_v1edit-1.ppt digital transmission from pl
PPT
ch4_1_v1edit-1.pptjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjkkkkkkkkkkkkkkkkkk
PPT
Lecture 10.ppt
PPT
CN & data Communication Lecture 10.ppt
PPT
Ch4 Data communication and networking by neha g. kurale
PPT
CCN
PPTX
Encoding techniques
PPTX
Encoding Techniques
Line Coding.pptx
Lecture notes eng - Line Coding New.ppt
base-band_digital_data_transmission-Line coding - Copy.ppt
signalencodingtechniques-170203124858.pdf
Signal encoding techniques
Lecture 08
Digital data transmission,line coding and pulse shaping
Lecture 08
DCN 5th ed. slides ch04 Digital Transmission.pdf
lec5_13.pptx
Binary to digital encoding tbs 301
unit 2 intr to phy layer part 1.pptcvcvcv
ch4_1_v1edit-1.ppt digital transmission from pl
ch4_1_v1edit-1.pptjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjkkkkkkkkkkkkkkkkkk
Lecture 10.ppt
CN & data Communication Lecture 10.ppt
Ch4 Data communication and networking by neha g. kurale
CCN
Encoding techniques
Encoding Techniques
Ad

Recently uploaded (20)

PPTX
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
PDF
R24 SURVEYING LAB MANUAL for civil enggi
PPTX
Geodesy 1.pptx...............................................
DOCX
573137875-Attendance-Management-System-original
PDF
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
PPTX
Lecture Notes Electrical Wiring System Components
PPTX
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
PPTX
Internet of Things (IOT) - A guide to understanding
PPTX
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
PPTX
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
PPTX
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
PPTX
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
PPTX
bas. eng. economics group 4 presentation 1.pptx
PDF
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
PDF
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
PDF
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
PPTX
CYBER-CRIMES AND SECURITY A guide to understanding
PDF
PPT on Performance Review to get promotions
PDF
Operating System & Kernel Study Guide-1 - converted.pdf
PDF
Well-logging-methods_new................
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
R24 SURVEYING LAB MANUAL for civil enggi
Geodesy 1.pptx...............................................
573137875-Attendance-Management-System-original
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
Lecture Notes Electrical Wiring System Components
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
Internet of Things (IOT) - A guide to understanding
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
bas. eng. economics group 4 presentation 1.pptx
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
CYBER-CRIMES AND SECURITY A guide to understanding
PPT on Performance Review to get promotions
Operating System & Kernel Study Guide-1 - converted.pdf
Well-logging-methods_new................

Line coding

  • 1. Data communication Digital Transmission Line coding Line coding:  Line code is a code chosenfor use withina communicationssystem fortransmittingadigital signal downa line.  It isthe processof convertingdigital datatodigital signals.  Line codingconvertsdigital datatoa digital signal for the purpose of transmissionoverthe channel. PropertiesofLineCoding:  As the codingisdone to make more bitstransmiton a single signal,the bandwidthusedismuch reduced.  For a givenbandwidth,the powerisefficientlyused.  The probabilityof errorismuch reduced.  Error detectionisdone andthe bipolartoohasa correctioncapability.  Powerdensityismuchfavorable.  The timingcontentisadequate.  Long stringsof 1s and 0s is avoidedtomaintaintransparency. Characteristics of Line coding: 1. Signal Element versus Data Element: A data elementisthe smallestentitythatcanrepresentapiece of information.Thisisthe bit.In digital datacommunications,asignal elementcarriesdataelements.A signal elementisthe shortestunit(time wise) of adigital signal.Inotherwords,dataelementsare whatwe needto send;signal elementsare whatwe cansend.Data elementsare beingcarried, signal elements are the carriers.
  • 2. 2. Data Rate versus Signal Rate: The data rate definesthe numberof data elements(bits) sentin1s.The unitis bitspersecond (bps).The signal rate isthe numberof signal elementssentin1s.The unitisthe baud.The data rate issometimescalledthe bitrate;the signal rate issometimescalledthe pulse rate,the modulationrate,orthe baud rate. One goal in data communicationsistoincrease the datarate while decreasingthe signal rate. Increasingthe datarate increasesthe speedof transmission;decreasingthe signal rate decreasesthe bandwidthrequirement. 3. Self-synchronization: To correctlyinterpretthe signalsreceivedfromthe sender,the receiver'sbitintervalsmust correspondexactlytothe sender'sbitintervals.If the receiverclockisfasteror slower,the bit intervalsare notmatchedand the receivermightmisinterpretthe signals.The followingfigure representsthe synchronizationproblem.
  • 3. Types of Line Coding: Unipolar: Unipolarsignalingisalsocalledas On-OffKeyingorsimplyOOK.The presenceof pulse representsa 1and the absence of pulse represents a 0. There are one variations in Unipolar signaling  Non-ReturntoZero(NRZ) Unipolar Non-Return to Zero (NRZ): In thisscheme the positivevoltage definesbit1 andthe zerovoltage definesbitO.Itiscalled NRZ because the signal doesnotreturntozero at the middle of the bit
  • 4. Advantages:  Simplicityinimplementation.  Doesn’trequire alotof bandwidthfortransmission. Disadvantages:  Presence of DClevel (indicatedbyspectral line at0 Hz).  Containslowfrequencycomponents.CausesSignalDroop.  Doesnot have anyerror correctioncapability. polar: polar Non-Return to Zero (NRZ): In polar(NRZ) voltageare onbothside.InNRZ positive voltage means0andnegative voltage means1. polar (NRZ) have two versions NRZ-LandNRZ-I. NRZ-L: In NRZ-Lthe polarityof the signal changesonlywhenthe incomingsignal changesfromaone to a zero or froma zeroto a one, positive voltage means0andnegative voltage means1. NRZ-I: In NRZ-La '0' isencodedasno change inthe level.'1'isencodeddependingonthe currentstate of the line.
  • 5. Advantages:  It issimple.  No low-frequencycomponentsare present. Disadvantages:  No error correction.  No clock is present.  The signal droop is caused at the places where the signal is non-zero at 0 Hz. Polar RZ: In RZ the signal change foreach bitand signal backto level 0.Positive levelmeans1and negative means0.example: Advantages  It issimple.  No low-frequencycomponentsare present. Disadvantages  No error correction.  No clock is present.  Occupies twice the bandwidth of Polar NRZ.  The signal droop is caused at places where the signal is non-zero at 0 Hz.
  • 6. Polar (Bi-phase): Bi-phase encoding is a variation on polar encoding and is an effective answer to synhronisation problems.Bi-phase encodingworksbychangingthe signalinthe middleof the bitinterval,however, the signal doesnot thenreturn to zeroit continuestothe opposite pole.Thismid-interval changeis perfect for synchronization purposes. Bi-phase (Manchester Coding): Manchester encoding uses inversion at the middle of each bit interval for both synchronization and bit representation. Negative to positive transition represents binary 1 whereas a positive to negative transition represents binary 0. Bi-phase (Differential Manchester Coding): Differential Manchester encoding uses inversion at the middle of each bit interval for synchronization, but the presence or absence of an additional transition at the beginning of the interval isusedtoidentifythe bit.Transitionrepresentbinary0and no transitionrepresent binary1.
  • 7. Bipolar: Thisisanencodingtechniquewhichhasthreevoltage levelsnamelypositive,negative and0level. Such a signal is called as duo-binary signal. Three types of bipolar encoding are use data communications: AMI, B8ZS, and HDB3. Bipolar(AMI): AMIisa bipolarencodingsystemwhere0voltage representsbinary 0andalternatingpositiveand negative voltages represents binary 1.