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

What's hot (20)

PDF
Design Issues and Applications of Wireless Sensor Network
ijtsrd
 
PPTX
Shannon Capacity.pptx
Rhishav Poudyal
 
PDF
Telecommunication switching system
Madhumita Tamhane
 
PPTX
Sonjoy kundu line coding
Sonjoy Kundu
 
PPT
MIMO in 15 minutes
Chaitanya Tata, PMP
 
PDF
Multiple Access Techniques
International Islamic University Chittagong
 
PPT
Spread spectrum modulation
METHODIST COLLEGE OF ENGG & TECH
 
PDF
Introduction to Digital Communication
Dr. Sanjay M. Gulhane
 
PPTX
Other types of networks: Bluetooth, Zigbee, & NFC
Dilum Bandara
 
PPT
Public Switched Telephone Network (PSTN)
J.T.A.JONES
 
PPTX
Indoor propagation model (IPM)
Syed Taimoor Hussain Shah
 
PPSX
Amplitude shift keying (ask)
MOHAN MOHAN
 
PPTX
Dac, adc architecture
Abhishek Kadam
 
PPTX
Amplitude shift keying
Sunny Kumar
 
PPT
Propagation Models
Ayushi Gagneja
 
PPTX
M ary psk and m ary qam ppt
DANISHAMIN950
 
PPTX
Digital communication unit II
Gangatharan Narayanan
 
PDF
Asynchronous Transfer Mode ATM
Madhumita Tamhane
 
PPTX
Digital modulation techniques
ShriyaGautam3
 
PDF
Digital communication systems unit 1
Anil Nigam
 
Design Issues and Applications of Wireless Sensor Network
ijtsrd
 
Shannon Capacity.pptx
Rhishav Poudyal
 
Telecommunication switching system
Madhumita Tamhane
 
Sonjoy kundu line coding
Sonjoy Kundu
 
MIMO in 15 minutes
Chaitanya Tata, PMP
 
Spread spectrum modulation
METHODIST COLLEGE OF ENGG & TECH
 
Introduction to Digital Communication
Dr. Sanjay M. Gulhane
 
Other types of networks: Bluetooth, Zigbee, & NFC
Dilum Bandara
 
Public Switched Telephone Network (PSTN)
J.T.A.JONES
 
Indoor propagation model (IPM)
Syed Taimoor Hussain Shah
 
Amplitude shift keying (ask)
MOHAN MOHAN
 
Dac, adc architecture
Abhishek Kadam
 
Amplitude shift keying
Sunny Kumar
 
Propagation Models
Ayushi Gagneja
 
M ary psk and m ary qam ppt
DANISHAMIN950
 
Digital communication unit II
Gangatharan Narayanan
 
Asynchronous Transfer Mode ATM
Madhumita Tamhane
 
Digital modulation techniques
ShriyaGautam3
 
Digital communication systems unit 1
Anil Nigam
 

Similar to Line coding (20)

PPTX
Line Coding.pptx
vishal choudhary
 
PPT
Lecture notes eng - Line Coding New.ppt
JumanneChiyanda
 
PPT
base-band_digital_data_transmission-Line coding - Copy.ppt
AbyThomas54
 
PPT
Signal encoding techniques
Syed Zaid Irshad
 
PDF
signalencodingtechniques-170203124858.pdf
alyaamohammed251
 
PPT
Lecture 08
Sehrish Rafiq
 
PPTX
Digital data transmission,line coding and pulse shaping
Aayush Kumar
 
PPTX
Lecture 08
Anwal Mirza
 
PDF
DCN 5th ed. slides ch04 Digital Transmission.pdf
Bilal Munir Mughal
 
PPTX
lec5_13.pptx
ShakibAhmed52
 
PDF
Binary to digital encoding tbs 301
Bhupesh Rawat
 
PPT
unit 2 intr to phy layer part 1.pptcvcvcv
zmulani8
 
PPT
ch4_1_v1edit-1.pptjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjkkkkkkkkkkkkkkkkkk
vijaykumar9346565338
 
PPT
ch4_1_v1edit-1.ppt digital transmission from pl
relief4u2004
 
PPT
CN & data Communication Lecture 10.ppt
MuhamamdAbubaker
 
PPT
Lecture 10.ppt
MuhammadAsad217747
 
PPT
Ch4 Data communication and networking by neha g. kurale
Neha Kurale
 
PPT
CCN
NICE
 
PPTX
Encoding Techniques
Goriha Naveed
 
PPTX
Encoding techniques
Goriha Naveed
 
Line Coding.pptx
vishal choudhary
 
Lecture notes eng - Line Coding New.ppt
JumanneChiyanda
 
base-band_digital_data_transmission-Line coding - Copy.ppt
AbyThomas54
 
Signal encoding techniques
Syed Zaid Irshad
 
signalencodingtechniques-170203124858.pdf
alyaamohammed251
 
Lecture 08
Sehrish Rafiq
 
Digital data transmission,line coding and pulse shaping
Aayush Kumar
 
Lecture 08
Anwal Mirza
 
DCN 5th ed. slides ch04 Digital Transmission.pdf
Bilal Munir Mughal
 
lec5_13.pptx
ShakibAhmed52
 
Binary to digital encoding tbs 301
Bhupesh Rawat
 
unit 2 intr to phy layer part 1.pptcvcvcv
zmulani8
 
ch4_1_v1edit-1.pptjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjkkkkkkkkkkkkkkkkkk
vijaykumar9346565338
 
ch4_1_v1edit-1.ppt digital transmission from pl
relief4u2004
 
CN & data Communication Lecture 10.ppt
MuhamamdAbubaker
 
Lecture 10.ppt
MuhammadAsad217747
 
Ch4 Data communication and networking by neha g. kurale
Neha Kurale
 
CCN
NICE
 
Encoding Techniques
Goriha Naveed
 
Encoding techniques
Goriha Naveed
 
Ad

Recently uploaded (20)

PDF
MRI Tool Kit E2I0500BC Plus Presentation
Ing. Ph. J. Daum GmbH & Co. KG
 
PDF
PRIZ Academy - Change Flow Thinking Master Change with Confidence.pdf
PRIZ Guru
 
PDF
POWER PLANT ENGINEERING (R17A0326).pdf..
haneefachosa123
 
PDF
IoT - Unit 2 (Internet of Things-Concepts) - PPT.pdf
dipakraut82
 
PPTX
Presentation on Foundation Design for Civil Engineers.pptx
KamalKhan563106
 
PPTX
Data_Analytics_Presentation_By_Malik_Azanish_Asghar.pptx
azanishmalik1
 
PDF
th International conference on Big Data, Machine learning and Applications (B...
Zac Darcy
 
PDF
1_ISO Certifications by Indian Industrial Standards Organisation.pdf
muhammad2010960
 
PPTX
File Strucutres and Access in Data Structures
mwaslam2303
 
PPTX
waterconservation-211128055737.pptx Jaswanth
SandulaAnilBabu
 
PPTX
Dolphin_Conservation_AI_txhasvssbxbanvgdghng
jeeaspirant2026fr
 
PPTX
Fluid statistics and Numerical on pascal law
Ravindra Kolhe
 
PDF
Lecture Information Theory and CodingPart-1.pdf
msc9219
 
PPTX
UNIT III CONTROL OF PARTICULATE CONTAMINANTS
sundharamm
 
PDF
Natural Language processing and web deigning notes
AnithaSakthivel3
 
PPTX
Cyclic_Redundancy_Check_Presentation.pptx
alhjranyblalhmwdbdal
 
PPTX
drones for disaster prevention response.pptx
NawrasShatnawi1
 
PDF
The Complete Guide to the Role of the Fourth Engineer On Ships
Mahmoud Moghtaderi
 
PDF
July 2025 - Top 10 Read Articles in Network Security & Its Applications.pdf
IJNSA Journal
 
PPTX
Pharmaceuticals and fine chemicals.pptxx
jaypa242004
 
MRI Tool Kit E2I0500BC Plus Presentation
Ing. Ph. J. Daum GmbH & Co. KG
 
PRIZ Academy - Change Flow Thinking Master Change with Confidence.pdf
PRIZ Guru
 
POWER PLANT ENGINEERING (R17A0326).pdf..
haneefachosa123
 
IoT - Unit 2 (Internet of Things-Concepts) - PPT.pdf
dipakraut82
 
Presentation on Foundation Design for Civil Engineers.pptx
KamalKhan563106
 
Data_Analytics_Presentation_By_Malik_Azanish_Asghar.pptx
azanishmalik1
 
th International conference on Big Data, Machine learning and Applications (B...
Zac Darcy
 
1_ISO Certifications by Indian Industrial Standards Organisation.pdf
muhammad2010960
 
File Strucutres and Access in Data Structures
mwaslam2303
 
waterconservation-211128055737.pptx Jaswanth
SandulaAnilBabu
 
Dolphin_Conservation_AI_txhasvssbxbanvgdghng
jeeaspirant2026fr
 
Fluid statistics and Numerical on pascal law
Ravindra Kolhe
 
Lecture Information Theory and CodingPart-1.pdf
msc9219
 
UNIT III CONTROL OF PARTICULATE CONTAMINANTS
sundharamm
 
Natural Language processing and web deigning notes
AnithaSakthivel3
 
Cyclic_Redundancy_Check_Presentation.pptx
alhjranyblalhmwdbdal
 
drones for disaster prevention response.pptx
NawrasShatnawi1
 
The Complete Guide to the Role of the Fourth Engineer On Ships
Mahmoud Moghtaderi
 
July 2025 - Top 10 Read Articles in Network Security & Its Applications.pdf
IJNSA Journal
 
Pharmaceuticals and fine chemicals.pptxx
jaypa242004
 
Ad

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.