SlideShare a Scribd company logo
1 of 39
Line Coding
Acknowledgments:
I would like to thank Wg Cdr (retd) Ramzan for his time and
guidance which were very helpful in planning and preparing
this lecture. I would also like to thank Dr. Ali Khayam and Mr.
Saadat Iqbal for their help and support.
Most of the material for this lecture has been taken from
“Digital Communications” 2nd Edition by P. M. Grant and Ian
A. Glover.
Line Coding
Introduction:
Binary data can be transmitted using a number of different types of pulses. The
choice of a particular pair of pulses to represent the symbols 1 and 0 is called Line
Coding and the choice is generally made on the grounds of one or more of the
following considerations:
– Presence or absence of a DC level.
– Power Spectral Density- particularly its value at 0 Hz.
– Bandwidth.
– BER performance (this particular aspect is not covered in this lecture).
– Transparency (i.e. the property that any arbitrary symbol, or bit, pattern can
be transmitted and received).
– Ease of clock signal recovery for symbol synchronisation.
– Presence or absence of inherent error detection properties.
Line Coding
Introduction:
After line coding pulses may be filtered or otherwise shaped to further improve
their properties: for example, their spectral efficiency and/ or immunity to
intersymbol interference. .
Different Types of Line Coding
Unipolar Signalling
Unipolar signalling (also called on-off keying, OOK) is the type of line coding in
which one binary symbol (representing a 0 for example) is represented by the
absence of a pulse (i.e. a SPACE) and the other binary symbol (denoting a 1) is
represented by the presence of a pulse (i.e. a MARK).
There are two common variations of unipolar signalling: Non-Return to Zero (NRZ)
and Return to Zero (RZ).
Unipolar Signalling
Unipolar Non-Return to Zero (NRZ):
In unipolar NRZ the duration of the MARK pulse (Ƭ ) is equal to the duration (To) of the
symbol slot.
1 0 1 0 1 1 1 1 1 0
V
0
Unipolar Signalling
Unipolar Non-Return to Zero (NRZ):
In unipolar NRZ the duration of the MARK pulse (Ƭ ) is equal to the duration (To) of the
symbol slot. (put figure here).
Advantages:
– Simplicity in implementation.
– Doesn’t require a lot of bandwidth for transmission.
Disadvantages:
– Presence of DC level (indicated by spectral line at 0 Hz).
– Contains low frequency components. Causes “Signal Droop” (explained later).
– Does not have any error correction capability.
– Does not posses any clocking component for ease of synchronisation.
– Is not Transparent. Long string of zeros causes loss of synchronisation.
Unipolar Signalling
Unipolar Non-Return to Zero (NRZ):
Figure. PSD of Unipolar NRZ
Unipolar Signalling
Unipolar Non-Return to Zero (NRZ):
When Unipolar NRZ signals are transmitted over links with either transformer or
capacitor coupled (AC) repeaters, the DC level is removed converting them into a
polar format.
The continuous part of the PSD is also non-zero at 0 Hz (i.e. contains low
frequency components). This means that AC coupling will result in distortion of the
transmitted pulse shapes. AC coupled transmission lines typically behave like
high-pass RC filters and the distortion takes the form of an exponential decay of
the signal amplitude after each transition. This effect is referred to as “Signal
Droop” and is illustrated in figure below.
Unipolar Signalling
-V/2
V/2
1 0 1 0 1 1 1 1 1 0
V
0
-V/2
V/2
0
1 0 1 0 1 1 1 1 1 0
V
0
-V/2
V/2
0
Figure Distortion (Signal Droop) due to AC coupling of unipolar NRZ signal
Unipolar Signalling
Return to Zero (RZ):
In unipolar RZ the duration of the MARK pulse (Ƭ ) is less than the duration (To) of the symbol slot.
Typically RZ pulses fill only the first half of the time slot, returning to zero for the second half.
1 0 1 0 1 1 1 0 0 0
V
0
To
Ƭ
Unipolar Signalling
Return to Zero (RZ):
In unipolar RZ the duration of the MARK pulse (Ƭ ) is less than the duration (To) of the symbol slot.
Typically RZ pulses fill only the first half of the time slot, returning to zero for the second half.
1 0 1 0 1 1 1 0 0 0
V
0
To
Ƭ
Unipolar Signalling
Unipolar Return to Zero (RZ):
Advantages:
– Simplicity in implementation.
– Presence of a spectral line at symbol rate which can be used as symbol
timing clock signal.
Disadvantages:
– Presence of DC level (indicated by spectral line at 0 Hz).
– Continuous part is non-zero at 0 Hz. Causes “Signal Droop”.
– Does not have any error correction capability.
– Occupies twice as much bandwidth as Unipolar NRZ.
– Is not Transparent
Unipolar Signalling
Unipolar Return to Zero (RZ):
Figure. PSD of Unipolar RZ
Unipolar Signalling
In conclusion it can be said that neither variety of unipolar signals is suitable for
transmission over AC coupled lines.
Polar Signalling
In polar signalling a binary 1 is represented by a pulse g1(t) and a binary 0 by the
opposite (or antipodal) pulse g0(t) = -g1(t). Polar signalling also has NRZ and RZ
forms.
1 0 1 0 1 1 1 1 1 0
+V
-V
0
Figure. Polar NRZ
Polar Signalling
In polar signalling a binary 1 is represented by a pulse g1(t) and a binary 0 by the
opposite (or antipodal) pulse g0(t) = -g1(t). Polar signalling also has NRZ and RZ
forms.
+V
-V
0
Figure. Polar RZ
1 0 1 0 1 1 1 0 0 0
Polar Signalling
PSD of Polar Signalling:
Polar NRZ and RZ have almost identical spectra to the Unipolar NRZ and RZ. However,
due to the opposite polarity of the 1 and 0 symbols, neither contain any spectral lines.
Figure. PSD of Polar NRZ
Polar Signalling
PSD of Polar Signalling:
Polar NRZ and RZ have almost identical spectra to the Unipolar NRZ and RZ. However,
due to the opposite polarity of the 1 and 0 symbols, neither contain any spectral lines.
Figure. PSD of Polar RZ
Polar Signalling
Polar Non-Return to Zero (NRZ):
Advantages:
– Simplicity in implementation.
– No DC component.
Disadvantages:
– Continuous part is non-zero at 0 Hz. Causes “Signal Droop”.
– Does not have any error correction capability.
– Does not posses any clocking component for ease of synchronisation.
– Is not transparent.
Polar Signalling
Polar Return to Zero (RZ):
Advantages:
– Simplicity in implementation.
– No DC component.
Disadvantages:
– Continuous part is non-zero at 0 Hz. Causes “Signal Droop”.
– Does not have any error correction capability.
– Does not posses any clocking component for easy synchronisation. However, clock
can be extracted by rectifying the received signal.
– Occupies twice as much bandwidth as Polar NRZ.
BiPolar Signalling
Bipolar Signalling is also called “alternate mark inversion” (AMI) uses three voltage
levels (+V, 0, -V) to represent two binary symbols. Zeros, as in unipolar, are
represented by the absence of a pulse and ones (or marks) are represented by
alternating voltage levels of +V and –V.
Alternating the mark level voltage ensures that the bipolar spectrum has a null at DC
And that signal droop on AC coupled lines is avoided.
The alternating mark voltage also gives bipolar signalling a single error detection
capability.
Like the Unipolar and Polar cases, Bipolar also has NRZ and RZ variations.
BiPolar Signalling
Figure. BiPolar NRZ
1 0 1 0 1 1 1 1 1 0
+V
-V
0
Polar Signalling
PSD of BiPolar/ AMI NRZ Signalling:
Figure. PSD of BiPolar NRZ
BiPolar Signalling
BiPolar / AMI NRZ:
Advantages:
– No DC component.
– Occupies less bandwidth than unipolar and polar NRZ schemes.
– Does not suffer from signal droop (suitable for transmission over AC coupled lines).
– Possesses single error detection capability.
Disadvantages:
– Does not posses any clocking component for ease of synchronisation.
– Is not Transparent.
BiPolar Signalling
Figure. BiPolar RZ
1 0 1 0 1 1 1 1 1 0
+V
-V
0
Polar Signalling
PSD of BiPolar/ AMI RZ Signalling:
Figure. PSD of BiPolar RZ
BiPolar Signalling
BiPolar / AMI RZ:
Advantages:
– No DC component.
– Occupies less bandwidth than unipolar and polar RZ schemes.
– Does not suffer from signal droop (suitable for transmission over AC coupled lines).
– Possesses single error detection capability.
– Clock can be extracted by rectifying (a copy of) the received signal.
Disadvantages:
–Is not Transparent.
HDBn Signalling
HDBn is an enhancement of Bipolar Signalling. It overcomes the transparency
problem encountered in Bipolar signalling. In HDBn systems when the number of
continuous zeros exceeds n they are replaced by a special code.
The code recommended by the ITU-T for European PCM systems is HDB-3 (i.e. n=3).
In HDB-3 a string of 4 consecutive zeros are replaced by either 000V or B00V.
Where,
‘B’ conforms to the Alternate Mark Inversion Rule.
‘V’ is a violation of the Alternate Mark Inversion Rule
HDBn Signalling
The reason for two different substitutions is to make consecutive Violation pulses
alternate in polarity to avoid introduction of a DC component.
The substitution is chosen according to the following rules:
1. If the number of nonzero pulses after the last substitution is odd, the
substitution pattern will be 000V.
2. If the number of nonzero pulses after the last substitution is even, the
substitution pattern will be B00V.
HDBn Signalling
1 0 1 0 0 0 0 1 0 0 0 0
B 0 0 V 0 0 0 V
HDBn Signalling
PSD of HDB3 (RZ) Signalling:
Figure. PSD of HDB3 RZ
The PSD of HDB3
(RZ) is similar to the
PSD of Bipolar RZ.
HDBn Signalling
HDBn RZ:
Advantages:
– No DC component.
– Occupies less bandwidth than unipolar and polar RZ schemes.
– Does not suffer from signal droop (suitable for transmission over AC coupled lines).
– Possesses single error detection capability.
– Clock can be extracted by rectifying (a copy of) the received signal.
– Is Transparent.
These characteristic make this scheme ideal for use in Wide Area Networks
Manchester Signalling
In Manchester encoding , the duration of the bit is divided into two halves. The voltage
remains at one level during the first half and moves to the other level during the
second half.
A ‘One’ is +ve in 1st half and -ve in 2nd half.
A ‘Zero’ is -ve in 1st half and +ve in 2nd half.
Note: Some books use different conventions.
Manchester Signalling
Figure. Manchester Encoding.
1 0 1 0 1 1 1 1 1 0
+V
-V
0
Note: There is always a transition at
the centre of bit duration.
Manchester Signalling
PSD of Manchester Signalling:
Figure. PSD of Manchester
Manchester Signalling
The transition at the centre of every bit interval is used for synchronization at the
receiver.
Manchester encoding is called self-synchronizing. Synchronization at the receiving end
can be achieved by locking on to the the transitions, which indicate the middle of the bits.
It is worth highlighting that the traditional synchronization technique used for unipolar,
polar and bipolar schemes, which employs a narrow BPF to extract the clock signal
cannot be used for synchronization in Manchester encoding. This is because the PSD of
Manchester encoding does not include a spectral line/ impulse at symbol rate (1/To).
Even rectification does not help.
Manchester Signalling
Manchester Signalling:
Advantages:
– No DC component.
– Does not suffer from signal droop (suitable for transmission over AC coupled lines).
– Easy to synchronise with.
– Is Transparent.
Disadvantages:
– Because of the greater number of transitions it occupies a significantly large
bandwidth.
– Does not have error detection capability.
These characteristic make this scheme unsuitable for use in Wide Area Networks. However,
it is widely used in Local Area Networks such as Ethernet and Token Ring.
Reference Text Books
1. “Digital Communications” 2nd Edition by Ian A. Glover and Peter M. Grant.
2. “Modern Digital & Analog Communications” 3rd Edition by B. P. Lathi.
3. “Digital & Analog Communication Systems” 6th Edition by Leon W. Couch, II.
4. “Communication Systems” 4th Edition by Simon Haykin.
5. “Analog & Digital Communication Systems” by Martin S. Roden.
6. “Data Communication & Networking” 4th Edition by Behrouz A. Forouzan.
39

More Related Content

Similar to LineCoding_ADCS.ppt

digital-analog_22222222222222222222222.pdf
digital-analog_22222222222222222222222.pdfdigital-analog_22222222222222222222222.pdf
digital-analog_22222222222222222222222.pdfKiranG731731
 
Unipolar Encoding Techniques: NRZ & RZ
Unipolar Encoding Techniques: NRZ & RZUnipolar Encoding Techniques: NRZ & RZ
Unipolar Encoding Techniques: NRZ & RZArunabha Saha
 
Digital data transmission,line coding and pulse shaping
Digital data transmission,line coding and pulse shapingDigital data transmission,line coding and pulse shaping
Digital data transmission,line coding and pulse shapingAayush Kumar
 
DCN 5th ed. slides ch04 Digital Transmission.pdf
DCN 5th ed. slides ch04 Digital Transmission.pdfDCN 5th ed. slides ch04 Digital Transmission.pdf
DCN 5th ed. slides ch04 Digital Transmission.pdfBilal Munir Mughal
 
Digital Data, Digital Signal | Scrambling Techniques
Digital Data, Digital Signal | Scrambling TechniquesDigital Data, Digital Signal | Scrambling Techniques
Digital Data, Digital Signal | Scrambling TechniquesBiplap Bhattarai
 
CN & data Communication Lecture 10.ppt
CN & data Communication Lecture 10.pptCN & data Communication Lecture 10.ppt
CN & data Communication Lecture 10.pptMuhamamdAbubaker
 
line coding techniques, block coding and all type of coding
line coding techniques, block coding and all type of codingline coding techniques, block coding and all type of coding
line coding techniques, block coding and all type of codingDrZMaryLivinsaProfEC
 
base-band_digital_data_transmission-Line coding - Copy.ppt
base-band_digital_data_transmission-Line coding - Copy.pptbase-band_digital_data_transmission-Line coding - Copy.ppt
base-band_digital_data_transmission-Line coding - Copy.pptAbyThomas54
 
signal encoding techniques
signal encoding techniquessignal encoding techniques
signal encoding techniquesSrinivasa Rao
 
a159298339623 differential amplifier.pdf
a159298339623 differential amplifier.pdfa159298339623 differential amplifier.pdf
a159298339623 differential amplifier.pdfManojYarlanki
 
Binary to digital encoding tbs 301
Binary to digital encoding tbs 301Binary to digital encoding tbs 301
Binary to digital encoding tbs 301Bhupesh Rawat
 
Line coding Tec hniques.pptx
Line coding Tec                 hniques.pptxLine coding Tec                 hniques.pptx
Line coding Tec hniques.pptxnaveen088888
 
Types of line coding
Types of line codingTypes of line coding
Types of line codingramalakshmi54
 

Similar to LineCoding_ADCS.ppt (20)

digital-analog_22222222222222222222222.pdf
digital-analog_22222222222222222222222.pdfdigital-analog_22222222222222222222222.pdf
digital-analog_22222222222222222222222.pdf
 
Unipolar Encoding Techniques: NRZ & RZ
Unipolar Encoding Techniques: NRZ & RZUnipolar Encoding Techniques: NRZ & RZ
Unipolar Encoding Techniques: NRZ & RZ
 
Digital data transmission,line coding and pulse shaping
Digital data transmission,line coding and pulse shapingDigital data transmission,line coding and pulse shaping
Digital data transmission,line coding and pulse shaping
 
Line coding
Line codingLine coding
Line coding
 
DCN 5th ed. slides ch04 Digital Transmission.pdf
DCN 5th ed. slides ch04 Digital Transmission.pdfDCN 5th ed. slides ch04 Digital Transmission.pdf
DCN 5th ed. slides ch04 Digital Transmission.pdf
 
Koding
KodingKoding
Koding
 
DC_PPT.pptx
DC_PPT.pptxDC_PPT.pptx
DC_PPT.pptx
 
Digital Data, Digital Signal | Scrambling Techniques
Digital Data, Digital Signal | Scrambling TechniquesDigital Data, Digital Signal | Scrambling Techniques
Digital Data, Digital Signal | Scrambling Techniques
 
Lecture 08
Lecture 08Lecture 08
Lecture 08
 
Lecture 10.ppt
Lecture 10.pptLecture 10.ppt
Lecture 10.ppt
 
CN & data Communication Lecture 10.ppt
CN & data Communication Lecture 10.pptCN & data Communication Lecture 10.ppt
CN & data Communication Lecture 10.ppt
 
line coding techniques, block coding and all type of coding
line coding techniques, block coding and all type of codingline coding techniques, block coding and all type of coding
line coding techniques, block coding and all type of coding
 
base-band_digital_data_transmission-Line coding - Copy.ppt
base-band_digital_data_transmission-Line coding - Copy.pptbase-band_digital_data_transmission-Line coding - Copy.ppt
base-band_digital_data_transmission-Line coding - Copy.ppt
 
signal encoding techniques
signal encoding techniquessignal encoding techniques
signal encoding techniques
 
a159298339623 differential amplifier.pdf
a159298339623 differential amplifier.pdfa159298339623 differential amplifier.pdf
a159298339623 differential amplifier.pdf
 
Encoding Techniques
Encoding TechniquesEncoding Techniques
Encoding Techniques
 
Encoding techniques
Encoding techniquesEncoding techniques
Encoding techniques
 
Binary to digital encoding tbs 301
Binary to digital encoding tbs 301Binary to digital encoding tbs 301
Binary to digital encoding tbs 301
 
Line coding Tec hniques.pptx
Line coding Tec                 hniques.pptxLine coding Tec                 hniques.pptx
Line coding Tec hniques.pptx
 
Types of line coding
Types of line codingTypes of line coding
Types of line coding
 

More from AbdullahOmar64

digital anlage c converter for digital .ppt
digital anlage c converter for digital .pptdigital anlage c converter for digital .ppt
digital anlage c converter for digital .pptAbdullahOmar64
 
The_Role_of_Raised_Cosine.pdf
The_Role_of_Raised_Cosine.pdfThe_Role_of_Raised_Cosine.pdf
The_Role_of_Raised_Cosine.pdfAbdullahOmar64
 
Lecture_4_Data_Gathering_and_Analysis.pdf
Lecture_4_Data_Gathering_and_Analysis.pdfLecture_4_Data_Gathering_and_Analysis.pdf
Lecture_4_Data_Gathering_and_Analysis.pdfAbdullahOmar64
 
INI_800_Lecture_1_Introduction.pdf
INI_800_Lecture_1_Introduction.pdfINI_800_Lecture_1_Introduction.pdf
INI_800_Lecture_1_Introduction.pdfAbdullahOmar64
 
books-library.online-02011910Vr3Z0.pdf
books-library.online-02011910Vr3Z0.pdfbooks-library.online-02011910Vr3Z0.pdf
books-library.online-02011910Vr3Z0.pdfAbdullahOmar64
 

More from AbdullahOmar64 (14)

digital anlage c converter for digital .ppt
digital anlage c converter for digital .pptdigital anlage c converter for digital .ppt
digital anlage c converter for digital .ppt
 
companding.ppt
companding.pptcompanding.ppt
companding.ppt
 
The_Role_of_Raised_Cosine.pdf
The_Role_of_Raised_Cosine.pdfThe_Role_of_Raised_Cosine.pdf
The_Role_of_Raised_Cosine.pdf
 
09-SpreadSpectrum.ppt
09-SpreadSpectrum.ppt09-SpreadSpectrum.ppt
09-SpreadSpectrum.ppt
 
3-Matched-Filter.ppt
3-Matched-Filter.ppt3-Matched-Filter.ppt
3-Matched-Filter.ppt
 
mod.pptx
mod.pptxmod.pptx
mod.pptx
 
waveforms.ppt
waveforms.pptwaveforms.ppt
waveforms.ppt
 
aliasing.ppt
aliasing.pptaliasing.ppt
aliasing.ppt
 
Lecture_4_Data_Gathering_and_Analysis.pdf
Lecture_4_Data_Gathering_and_Analysis.pdfLecture_4_Data_Gathering_and_Analysis.pdf
Lecture_4_Data_Gathering_and_Analysis.pdf
 
INI_800_Lecture_1_Introduction.pdf
INI_800_Lecture_1_Introduction.pdfINI_800_Lecture_1_Introduction.pdf
INI_800_Lecture_1_Introduction.pdf
 
books-library.online-02011910Vr3Z0.pdf
books-library.online-02011910Vr3Z0.pdfbooks-library.online-02011910Vr3Z0.pdf
books-library.online-02011910Vr3Z0.pdf
 
نظم-العد.pdf
نظم-العد.pdfنظم-العد.pdf
نظم-العد.pdf
 
convert number.pdf
convert number.pdfconvert number.pdf
convert number.pdf
 
Guide latex.
Guide latex.Guide latex.
Guide latex.
 

Recently uploaded

(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingrakeshbaidya232001
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxupamatechverse
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxJoão Esperancinha
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...ranjana rawat
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)Suman Mia
 
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝soniya singh
 
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSISrknatarajan
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINESIVASHANKAR N
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxpranjaldaimarysona
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Christo Ananth
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Serviceranjana rawat
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...
(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...
(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...ranjana rawat
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Dr.Costas Sachpazis
 

Recently uploaded (20)

(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writing
 
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptx
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
 
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
 
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSIS
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptx
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
 
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCRCall Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
 
(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...
(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...
(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
 

LineCoding_ADCS.ppt

  • 1. Line Coding Acknowledgments: I would like to thank Wg Cdr (retd) Ramzan for his time and guidance which were very helpful in planning and preparing this lecture. I would also like to thank Dr. Ali Khayam and Mr. Saadat Iqbal for their help and support. Most of the material for this lecture has been taken from “Digital Communications” 2nd Edition by P. M. Grant and Ian A. Glover.
  • 2. Line Coding Introduction: Binary data can be transmitted using a number of different types of pulses. The choice of a particular pair of pulses to represent the symbols 1 and 0 is called Line Coding and the choice is generally made on the grounds of one or more of the following considerations: – Presence or absence of a DC level. – Power Spectral Density- particularly its value at 0 Hz. – Bandwidth. – BER performance (this particular aspect is not covered in this lecture). – Transparency (i.e. the property that any arbitrary symbol, or bit, pattern can be transmitted and received). – Ease of clock signal recovery for symbol synchronisation. – Presence or absence of inherent error detection properties.
  • 3. Line Coding Introduction: After line coding pulses may be filtered or otherwise shaped to further improve their properties: for example, their spectral efficiency and/ or immunity to intersymbol interference. .
  • 4. Different Types of Line Coding
  • 5. Unipolar Signalling Unipolar signalling (also called on-off keying, OOK) is the type of line coding in which one binary symbol (representing a 0 for example) is represented by the absence of a pulse (i.e. a SPACE) and the other binary symbol (denoting a 1) is represented by the presence of a pulse (i.e. a MARK). There are two common variations of unipolar signalling: Non-Return to Zero (NRZ) and Return to Zero (RZ).
  • 6. Unipolar Signalling Unipolar Non-Return to Zero (NRZ): In unipolar NRZ the duration of the MARK pulse (Ƭ ) is equal to the duration (To) of the symbol slot. 1 0 1 0 1 1 1 1 1 0 V 0
  • 7. Unipolar Signalling Unipolar Non-Return to Zero (NRZ): In unipolar NRZ the duration of the MARK pulse (Ƭ ) is equal to the duration (To) of the symbol slot. (put figure here). Advantages: – Simplicity in implementation. – Doesn’t require a lot of bandwidth for transmission. Disadvantages: – Presence of DC level (indicated by spectral line at 0 Hz). – Contains low frequency components. Causes “Signal Droop” (explained later). – Does not have any error correction capability. – Does not posses any clocking component for ease of synchronisation. – Is not Transparent. Long string of zeros causes loss of synchronisation.
  • 8. Unipolar Signalling Unipolar Non-Return to Zero (NRZ): Figure. PSD of Unipolar NRZ
  • 9. Unipolar Signalling Unipolar Non-Return to Zero (NRZ): When Unipolar NRZ signals are transmitted over links with either transformer or capacitor coupled (AC) repeaters, the DC level is removed converting them into a polar format. The continuous part of the PSD is also non-zero at 0 Hz (i.e. contains low frequency components). This means that AC coupling will result in distortion of the transmitted pulse shapes. AC coupled transmission lines typically behave like high-pass RC filters and the distortion takes the form of an exponential decay of the signal amplitude after each transition. This effect is referred to as “Signal Droop” and is illustrated in figure below.
  • 10. Unipolar Signalling -V/2 V/2 1 0 1 0 1 1 1 1 1 0 V 0 -V/2 V/2 0 1 0 1 0 1 1 1 1 1 0 V 0 -V/2 V/2 0 Figure Distortion (Signal Droop) due to AC coupling of unipolar NRZ signal
  • 11. Unipolar Signalling Return to Zero (RZ): In unipolar RZ the duration of the MARK pulse (Ƭ ) is less than the duration (To) of the symbol slot. Typically RZ pulses fill only the first half of the time slot, returning to zero for the second half. 1 0 1 0 1 1 1 0 0 0 V 0 To Ƭ
  • 12. Unipolar Signalling Return to Zero (RZ): In unipolar RZ the duration of the MARK pulse (Ƭ ) is less than the duration (To) of the symbol slot. Typically RZ pulses fill only the first half of the time slot, returning to zero for the second half. 1 0 1 0 1 1 1 0 0 0 V 0 To Ƭ
  • 13. Unipolar Signalling Unipolar Return to Zero (RZ): Advantages: – Simplicity in implementation. – Presence of a spectral line at symbol rate which can be used as symbol timing clock signal. Disadvantages: – Presence of DC level (indicated by spectral line at 0 Hz). – Continuous part is non-zero at 0 Hz. Causes “Signal Droop”. – Does not have any error correction capability. – Occupies twice as much bandwidth as Unipolar NRZ. – Is not Transparent
  • 14. Unipolar Signalling Unipolar Return to Zero (RZ): Figure. PSD of Unipolar RZ
  • 15. Unipolar Signalling In conclusion it can be said that neither variety of unipolar signals is suitable for transmission over AC coupled lines.
  • 16. Polar Signalling In polar signalling a binary 1 is represented by a pulse g1(t) and a binary 0 by the opposite (or antipodal) pulse g0(t) = -g1(t). Polar signalling also has NRZ and RZ forms. 1 0 1 0 1 1 1 1 1 0 +V -V 0 Figure. Polar NRZ
  • 17. Polar Signalling In polar signalling a binary 1 is represented by a pulse g1(t) and a binary 0 by the opposite (or antipodal) pulse g0(t) = -g1(t). Polar signalling also has NRZ and RZ forms. +V -V 0 Figure. Polar RZ 1 0 1 0 1 1 1 0 0 0
  • 18. Polar Signalling PSD of Polar Signalling: Polar NRZ and RZ have almost identical spectra to the Unipolar NRZ and RZ. However, due to the opposite polarity of the 1 and 0 symbols, neither contain any spectral lines. Figure. PSD of Polar NRZ
  • 19. Polar Signalling PSD of Polar Signalling: Polar NRZ and RZ have almost identical spectra to the Unipolar NRZ and RZ. However, due to the opposite polarity of the 1 and 0 symbols, neither contain any spectral lines. Figure. PSD of Polar RZ
  • 20. Polar Signalling Polar Non-Return to Zero (NRZ): Advantages: – Simplicity in implementation. – No DC component. Disadvantages: – Continuous part is non-zero at 0 Hz. Causes “Signal Droop”. – Does not have any error correction capability. – Does not posses any clocking component for ease of synchronisation. – Is not transparent.
  • 21. Polar Signalling Polar Return to Zero (RZ): Advantages: – Simplicity in implementation. – No DC component. Disadvantages: – Continuous part is non-zero at 0 Hz. Causes “Signal Droop”. – Does not have any error correction capability. – Does not posses any clocking component for easy synchronisation. However, clock can be extracted by rectifying the received signal. – Occupies twice as much bandwidth as Polar NRZ.
  • 22. BiPolar Signalling Bipolar Signalling is also called “alternate mark inversion” (AMI) uses three voltage levels (+V, 0, -V) to represent two binary symbols. Zeros, as in unipolar, are represented by the absence of a pulse and ones (or marks) are represented by alternating voltage levels of +V and –V. Alternating the mark level voltage ensures that the bipolar spectrum has a null at DC And that signal droop on AC coupled lines is avoided. The alternating mark voltage also gives bipolar signalling a single error detection capability. Like the Unipolar and Polar cases, Bipolar also has NRZ and RZ variations.
  • 23. BiPolar Signalling Figure. BiPolar NRZ 1 0 1 0 1 1 1 1 1 0 +V -V 0
  • 24. Polar Signalling PSD of BiPolar/ AMI NRZ Signalling: Figure. PSD of BiPolar NRZ
  • 25. BiPolar Signalling BiPolar / AMI NRZ: Advantages: – No DC component. – Occupies less bandwidth than unipolar and polar NRZ schemes. – Does not suffer from signal droop (suitable for transmission over AC coupled lines). – Possesses single error detection capability. Disadvantages: – Does not posses any clocking component for ease of synchronisation. – Is not Transparent.
  • 26. BiPolar Signalling Figure. BiPolar RZ 1 0 1 0 1 1 1 1 1 0 +V -V 0
  • 27. Polar Signalling PSD of BiPolar/ AMI RZ Signalling: Figure. PSD of BiPolar RZ
  • 28. BiPolar Signalling BiPolar / AMI RZ: Advantages: – No DC component. – Occupies less bandwidth than unipolar and polar RZ schemes. – Does not suffer from signal droop (suitable for transmission over AC coupled lines). – Possesses single error detection capability. – Clock can be extracted by rectifying (a copy of) the received signal. Disadvantages: –Is not Transparent.
  • 29. HDBn Signalling HDBn is an enhancement of Bipolar Signalling. It overcomes the transparency problem encountered in Bipolar signalling. In HDBn systems when the number of continuous zeros exceeds n they are replaced by a special code. The code recommended by the ITU-T for European PCM systems is HDB-3 (i.e. n=3). In HDB-3 a string of 4 consecutive zeros are replaced by either 000V or B00V. Where, ‘B’ conforms to the Alternate Mark Inversion Rule. ‘V’ is a violation of the Alternate Mark Inversion Rule
  • 30. HDBn Signalling The reason for two different substitutions is to make consecutive Violation pulses alternate in polarity to avoid introduction of a DC component. The substitution is chosen according to the following rules: 1. If the number of nonzero pulses after the last substitution is odd, the substitution pattern will be 000V. 2. If the number of nonzero pulses after the last substitution is even, the substitution pattern will be B00V.
  • 31. HDBn Signalling 1 0 1 0 0 0 0 1 0 0 0 0 B 0 0 V 0 0 0 V
  • 32. HDBn Signalling PSD of HDB3 (RZ) Signalling: Figure. PSD of HDB3 RZ The PSD of HDB3 (RZ) is similar to the PSD of Bipolar RZ.
  • 33. HDBn Signalling HDBn RZ: Advantages: – No DC component. – Occupies less bandwidth than unipolar and polar RZ schemes. – Does not suffer from signal droop (suitable for transmission over AC coupled lines). – Possesses single error detection capability. – Clock can be extracted by rectifying (a copy of) the received signal. – Is Transparent. These characteristic make this scheme ideal for use in Wide Area Networks
  • 34. Manchester Signalling In Manchester encoding , the duration of the bit is divided into two halves. The voltage remains at one level during the first half and moves to the other level during the second half. A ‘One’ is +ve in 1st half and -ve in 2nd half. A ‘Zero’ is -ve in 1st half and +ve in 2nd half. Note: Some books use different conventions.
  • 35. Manchester Signalling Figure. Manchester Encoding. 1 0 1 0 1 1 1 1 1 0 +V -V 0 Note: There is always a transition at the centre of bit duration.
  • 36. Manchester Signalling PSD of Manchester Signalling: Figure. PSD of Manchester
  • 37. Manchester Signalling The transition at the centre of every bit interval is used for synchronization at the receiver. Manchester encoding is called self-synchronizing. Synchronization at the receiving end can be achieved by locking on to the the transitions, which indicate the middle of the bits. It is worth highlighting that the traditional synchronization technique used for unipolar, polar and bipolar schemes, which employs a narrow BPF to extract the clock signal cannot be used for synchronization in Manchester encoding. This is because the PSD of Manchester encoding does not include a spectral line/ impulse at symbol rate (1/To). Even rectification does not help.
  • 38. Manchester Signalling Manchester Signalling: Advantages: – No DC component. – Does not suffer from signal droop (suitable for transmission over AC coupled lines). – Easy to synchronise with. – Is Transparent. Disadvantages: – Because of the greater number of transitions it occupies a significantly large bandwidth. – Does not have error detection capability. These characteristic make this scheme unsuitable for use in Wide Area Networks. However, it is widely used in Local Area Networks such as Ethernet and Token Ring.
  • 39. Reference Text Books 1. “Digital Communications” 2nd Edition by Ian A. Glover and Peter M. Grant. 2. “Modern Digital & Analog Communications” 3rd Edition by B. P. Lathi. 3. “Digital & Analog Communication Systems” 6th Edition by Leon W. Couch, II. 4. “Communication Systems” 4th Edition by Simon Haykin. 5. “Analog & Digital Communication Systems” by Martin S. Roden. 6. “Data Communication & Networking” 4th Edition by Behrouz A. Forouzan. 39