SlideShare a Scribd company logo
1 of 46
Download to read offline
Line Coding
EC-353
Digital Communication
www.spsu.ac.in
santosh.bharti@spsu.ac.in
SIR PADAMPAT
SINGHANIA
UNIVERSITY
Santosh Kumar Bharti
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.
What is Line Coding?
• Binary 1’s and 0’s, such as in PCM signaling, may be represented in
various serial–bit signaling formats called line codes.
• The simplest is to represent ‘1’ by a square pulse and ‘0’ by 0 volt.
But the simplest is not always good enough. Also, a long sequence
of ‘0’ may appear as a loss of transmission.
• In order to take care of these and many other requirements, the
symbols are transformed in to various different wave shapes, a
process named line coding.
• Different wave shapes result in different spectrum suiting different
needs. Hence in a way, line codes are also spectrum shaping
codes.
• Mapping of binary information sequence into the digital signal that
enters the channel
– Ex. “1” maps to +A square pulse; “0” to –A pulse
Cont’d
• Line code selected to meet system requirements:
– Transmitted power: Power consumption = $
– Bit timing: Transitions in signal help timing recovery
– Bandwidth efficiency: Excessive transitions wastes BW
– Low frequency content: Some channels block low
frequencies
• long periods of +A or of –A causes signal to “droop”
• Waveform should not have low-frequency content
– Error detection: Ability to detect errors helps
– Complexity/cost: Is code implementable in chip at high
speed?
• There are 2 major categories: return–to–zero (RZ) and
non return–to–zero (NRZ).
– With RZ coding, the waveform returns to a zero–volt level for a
portion (usually one–half) of the bit interval.
Why Line Coding?
• There are many reasons for using line coding. Each of the line codes you will be
examining offers one or more of the following advantages:
 Spectrum Shaping and Relocation without modulation or filtering. This is important in
telephone line applications, for example, where the transfer characteristic has heavy
attenuation below 300 Hz.
 Bit clock recovery can be simplified.
 DC component can be eliminated; this allows AC (capacitor or transformer) coupling
between stages (as in telephone lines). Can control baseline wander (baseline wander
shifts the position of the signal waveform relative to the detector threshold and leads to
severe erosion of noise margin).
 Error detection capabilities.
 Bandwidth usage; the possibility of transmitting at a higher rate than other schemes over
the same bandwidth.
• At the very least the LINE-CODE ENCODER serves as an interface between the TTL
level signals of the transmitter and those of the analog channel. Likewise, the LINE-
CODE DECODER serves as an interface between the analog signals of the channel
and the TTL level signals required by the digital receiver.
Necessary properties of line code:
• 1. Self synchronization – It should be possible to recover the clock pulse from
the received data. Clock should not be lost even in case of a long sequence of
‘0’. Self-synchronization, where the timing information is extracted from the
received signal itself
• 2. Low probability of bit error – It should be convenient to design a receiver,
which receives the specific line code and results a low probability of bit error.
• 3. PSD – Spectrum of the line code should suit the physical medium.
• 4. Band width – Band width of the line coded signal should be low.
• 5. No DC – DC power content should be ideally zero to enable AC coupling.
• 6. Low frequency power – Power at very low frequency should as low as
possible.
• 7. To suit channel coding – Line code should be such that subsequent coding
for error detection/correction is easy.
• 8. Power efficiency – Required transmission power should be small.
• 9. Transparency – Line code should be such that any sequence of ‘1’ & ‘0’ must
have only one inference.
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.
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
Classification of Line codes
• The waveforms for the line code may be further classified according to
the rule that is used to assign voltage levels to represent the binary
data. Some examples include:
– Unipolar Signalling: In positive–logic unipolar signalling, the binary 1 is
represented by a high level (+A volts) and a binary 0 by a zero level. This
type of signalling is also called on–off keying (OOK).
– Polar Signalling: Binary 1’s and 0’s are represented by equal positive and
negative levels
– Bipolar (Pseudo ternary) Signaling: Binary 1’s are represented by
alternating positive or negative values. The binary 0 is represented by a
zero level. The term pseudo ternary refers to the use of 3 encoded signal
levels to represent two–level (binary) data. This is also called alternate
mark inversion (AMI) signaling.
– Manchester Signaling: Each binary 1 is represented by a positive half–bit
period pulse followed by a negative half–bit period pulse. Similarly, a binary
0 is represented by a negative half–bit period pulse followed by a positive
half–bit period pulse. This type of signaling is also called split–phase
encoding.
Cont’d
 Polar NRZ: Also called NRZ–L where L denotes the normal logic
level assignment.
– The NRZ-L is similar to Unipolar, in that the voltage directly depends on the bit it
represents.
– A positive voltage generally represents a ‘1’, and a negative voltage represents a
‘0’ (or vice versa).
– Unlike the unipolar scheme, NRZ-L alleviates the problem of the DC component.
 Bipolar RZ: Also called RZ–AMI, where AMI denotes alternate mark
(binary 1) inversion.
 Bipolar NRZ: Also called NRZ–M, where M de-notes inversion on
mark (binary 1)
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
BiPolar 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.
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.
1
0
0
-ve
-ve
+ve
+ve
0
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.
Differential Coding
• Errors in some systems cause transposition in polarity, +A become –
A and vice versa
– All subsequent bits in Polar NRZ coding would be in error
• Differential line coding provides robustness to this type of error
• “1” mapped into transition in signal level
• “0” mapped into no transition in signal level
• Same spectrum as NRZ
• Errors occur in pairs
• Also used with Manchester coding
NRZ-inverted
(differential
encoding)
1 0 1 0 1 1 0 01
Differential
Manchester
encoding
LAN codes –Manchester,
differential Manchester.
mB/nB
Differential Manchester coding
Each digit in an differential encoded sequence is obtained by comparing the
present input bit with the past encoded bit. A binary 1 is encoded if the present
input bit and past encoded bit are of opposite state. A binary 0 is encoded if the
states are the same. d(k)=m(k)⊕d(k-1)
Line coding examples
NRZ-inverted
(differential
encoding)
1 0 1 0 1 1 0 01
Unipolar
NRZ
Bipolar
encoding
Manchester
encoding
Differential
Manchester
encoding
Polar NRZ
Comparative study of line codes:
• 1. UPNRZ and UPRZ are unipolar codes and need only single sided
power supply to generate them. Whereas PNRZ, PRZ, AMI and
Manchester need double sided power supply.
• 2. AMI receiver needs to detect 3 levels. All other codes need to
detect only 2 levels.
• 3. PNRZ, PRZ and Manchester carries a pulse in every bit. Hence,
loss of pulse will warn about a failure. Whereas, UPNRZ, UPRZ and
AMI do not have this benefit. A long sequence of ‘0’ may be mistaken
as failure of transmission.
• 4. AMI has a built in error detecting capability since any ‘0’ being
converted to ‘1’ or vice versa will violate the code.
PSD of line codes:
Comparative study of line codes:
• 1. First null BW for UPNRZ, PNRZ and AMI is Rb.
– Whereas for UPRZ, PRZ and Manchester it is 2Rb , i.e. double.
• 2. PNRZ has maximum DC power content.
– UPNRZ and PRZ also have high DC power content.
– UPNRZ has an additional power spike at DC.
– Hence UPNRZ, PNRZ and PRZ are not at all suitable for AC coupling.
– DC power of UPRZ is much smaller
– DC power of UPRZ is much smaller than in UPNRZ, PNRZ and PRZ. But due to it’s
DC power spike, not advised for AC coupling.
– Both AMI and Manchester are suitable for AC coupling.
• 3. UPRZ has a distinct power spike at Rb. Hence suitable to extract the
synchronizing clock signal.
• 4. PRZ, AMI and Manchester do not have power spike at Rb. But if rectified,
these codes resemble UPRZ and hence the synchronizing signal can be
extracted.
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.
46

More Related Content

What's hot

Link power and rise time budget analysis
Link power and rise time budget analysisLink power and rise time budget analysis
Link power and rise time budget analysisCKSunith1
 
Digital communication systems
Digital communication systemsDigital communication systems
Digital communication systemsNisreen Bashar
 
Transmission line, single and double matching
Transmission line, single and double matchingTransmission line, single and double matching
Transmission line, single and double matchingShankar Gangaju
 
Layout & Stick Diagram Design Rules
Layout & Stick Diagram Design RulesLayout & Stick Diagram Design Rules
Layout & Stick Diagram Design Rulesvarun kumar
 
TDMA, FDMA, and CDMA
TDMA, FDMA, and CDMATDMA, FDMA, and CDMA
TDMA, FDMA, and CDMANajeeb Khan
 
Driving large capacitive loads
Driving large capacitive loadsDriving large capacitive loads
Driving large capacitive loadsRavi Selvaraj
 
Double Side band Suppressed carrier (DSB-SC) Modulation and Demodulation.
 Double Side band Suppressed carrier (DSB-SC) Modulation and Demodulation. Double Side band Suppressed carrier (DSB-SC) Modulation and Demodulation.
Double Side band Suppressed carrier (DSB-SC) Modulation and Demodulation.SAiFul IslAm
 
4.4 diversity combining techniques
4.4   diversity combining techniques4.4   diversity combining techniques
4.4 diversity combining techniquesJAIGANESH SEKAR
 
PULSE WIDTH MODULATION &DEMODULATION
PULSE WIDTH MODULATION &DEMODULATIONPULSE WIDTH MODULATION &DEMODULATION
PULSE WIDTH MODULATION &DEMODULATIONbharath405
 
Antenna PARAMETERS
Antenna PARAMETERSAntenna PARAMETERS
Antenna PARAMETERSAJAL A J
 
Chapter 4 frequency modulation
Chapter 4 frequency modulationChapter 4 frequency modulation
Chapter 4 frequency modulationHattori Sidek
 
Ec 2401 wireless communication unit 2
Ec 2401 wireless communication   unit 2Ec 2401 wireless communication   unit 2
Ec 2401 wireless communication unit 2JAIGANESH SEKAR
 
Diversity Techniques in Wireless Communication
Diversity Techniques in Wireless CommunicationDiversity Techniques in Wireless Communication
Diversity Techniques in Wireless CommunicationSahar Foroughi
 
Amplitude shift keying
Amplitude shift keyingAmplitude shift keying
Amplitude shift keyingSunny Kumar
 
Digital Communication 1
Digital Communication 1Digital Communication 1
Digital Communication 1admercano101
 
Chebyshev filter
Chebyshev filterChebyshev filter
Chebyshev filterMOHAMMAD AKRAM
 

What's hot (20)

Link power and rise time budget analysis
Link power and rise time budget analysisLink power and rise time budget analysis
Link power and rise time budget analysis
 
Digital communication systems
Digital communication systemsDigital communication systems
Digital communication systems
 
Transmission line, single and double matching
Transmission line, single and double matchingTransmission line, single and double matching
Transmission line, single and double matching
 
Line codes
Line codesLine codes
Line codes
 
Layout & Stick Diagram Design Rules
Layout & Stick Diagram Design RulesLayout & Stick Diagram Design Rules
Layout & Stick Diagram Design Rules
 
TDMA, FDMA, and CDMA
TDMA, FDMA, and CDMATDMA, FDMA, and CDMA
TDMA, FDMA, and CDMA
 
Multiplexing : FDM
Multiplexing : FDMMultiplexing : FDM
Multiplexing : FDM
 
Driving large capacitive loads
Driving large capacitive loadsDriving large capacitive loads
Driving large capacitive loads
 
Double Side band Suppressed carrier (DSB-SC) Modulation and Demodulation.
 Double Side band Suppressed carrier (DSB-SC) Modulation and Demodulation. Double Side band Suppressed carrier (DSB-SC) Modulation and Demodulation.
Double Side band Suppressed carrier (DSB-SC) Modulation and Demodulation.
 
4.4 diversity combining techniques
4.4   diversity combining techniques4.4   diversity combining techniques
4.4 diversity combining techniques
 
PULSE WIDTH MODULATION &DEMODULATION
PULSE WIDTH MODULATION &DEMODULATIONPULSE WIDTH MODULATION &DEMODULATION
PULSE WIDTH MODULATION &DEMODULATION
 
Antenna PARAMETERS
Antenna PARAMETERSAntenna PARAMETERS
Antenna PARAMETERS
 
Chapter 4 frequency modulation
Chapter 4 frequency modulationChapter 4 frequency modulation
Chapter 4 frequency modulation
 
Ec 2401 wireless communication unit 2
Ec 2401 wireless communication   unit 2Ec 2401 wireless communication   unit 2
Ec 2401 wireless communication unit 2
 
Pass Transistor Logic
Pass Transistor LogicPass Transistor Logic
Pass Transistor Logic
 
Pulse modulation
Pulse modulationPulse modulation
Pulse modulation
 
Diversity Techniques in Wireless Communication
Diversity Techniques in Wireless CommunicationDiversity Techniques in Wireless Communication
Diversity Techniques in Wireless Communication
 
Amplitude shift keying
Amplitude shift keyingAmplitude shift keying
Amplitude shift keying
 
Digital Communication 1
Digital Communication 1Digital Communication 1
Digital Communication 1
 
Chebyshev filter
Chebyshev filterChebyshev filter
Chebyshev filter
 

Viewers also liked

1432.encoding concepts
1432.encoding concepts1432.encoding concepts
1432.encoding conceptstechbed
 
Chapter 3 - Data and Signals
Chapter 3 - Data and SignalsChapter 3 - Data and Signals
Chapter 3 - Data and SignalsWayne Jones Jnr
 
Chapter 4 - Digital Transmission
Chapter 4 - Digital TransmissionChapter 4 - Digital Transmission
Chapter 4 - Digital TransmissionWayne Jones Jnr
 

Viewers also liked (7)

Line coding
Line codingLine coding
Line coding
 
Line coding
Line codingLine coding
Line coding
 
1432.encoding concepts
1432.encoding concepts1432.encoding concepts
1432.encoding concepts
 
Chapter 6
Chapter 6Chapter 6
Chapter 6
 
Chap 5
Chap 5Chap 5
Chap 5
 
Chapter 3 - Data and Signals
Chapter 3 - Data and SignalsChapter 3 - Data and Signals
Chapter 3 - Data and Signals
 
Chapter 4 - Digital Transmission
Chapter 4 - Digital TransmissionChapter 4 - Digital Transmission
Chapter 4 - Digital Transmission
 

Similar to Line Coding Techniques for Digital Communication

Line coding adcs
Line coding adcsLine coding adcs
Line coding adcsSohail Kakar
 
LineCoding_ADCS.ppt
LineCoding_ADCS.pptLineCoding_ADCS.ppt
LineCoding_ADCS.pptAbdullahOmar64
 
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
 
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
 
Data Encoding
Data EncodingData Encoding
Data EncodingLuka M G
 
digital-analog_22222222222222222222222.pdf
digital-analog_22222222222222222222222.pdfdigital-analog_22222222222222222222222.pdf
digital-analog_22222222222222222222222.pdfKiranG731731
 
Sonjoy kundu line coding
Sonjoy kundu    line codingSonjoy kundu    line coding
Sonjoy kundu line codingSonjoy Kundu
 
Network Components
Network ComponentsNetwork Components
Network Componentszaisahil
 
Sonjoy kundu 007
Sonjoy kundu 007Sonjoy kundu 007
Sonjoy kundu 007Sonjoy Kundu
 
Unipolar Encoding Techniques: NRZ & RZ
Unipolar Encoding Techniques: NRZ & RZUnipolar Encoding Techniques: NRZ & RZ
Unipolar Encoding Techniques: NRZ & RZArunabha Saha
 
Signal encoding techniques
Signal encoding techniquesSignal encoding techniques
Signal encoding techniquesSyed Zaid Irshad
 
Digital Data, Digital Signal | Scrambling Techniques
Digital Data, Digital Signal | Scrambling TechniquesDigital Data, Digital Signal | Scrambling Techniques
Digital Data, Digital Signal | Scrambling TechniquesBiplap Bhattarai
 
Linecodes,tdm,fdm,vocoders
Linecodes,tdm,fdm,vocodersLinecodes,tdm,fdm,vocoders
Linecodes,tdm,fdm,vocodersrmkrva
 
W6_Ch5_Signal Encoding.pdf
W6_Ch5_Signal Encoding.pdfW6_Ch5_Signal Encoding.pdf
W6_Ch5_Signal Encoding.pdfmatom84405
 

Similar to Line Coding Techniques for Digital Communication (20)

Chapter4
Chapter4Chapter4
Chapter4
 
Line coding adcs
Line coding adcsLine coding adcs
Line coding adcs
 
LineCoding_ADCS.ppt
LineCoding_ADCS.pptLineCoding_ADCS.ppt
LineCoding_ADCS.ppt
 
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
 
Unipolar
UnipolarUnipolar
Unipolar
 
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
 
Data Encoding
Data EncodingData Encoding
Data Encoding
 
Line Coding.pptx
Line Coding.pptxLine Coding.pptx
Line Coding.pptx
 
digital-analog_22222222222222222222222.pdf
digital-analog_22222222222222222222222.pdfdigital-analog_22222222222222222222222.pdf
digital-analog_22222222222222222222222.pdf
 
DC_PPT.pptx
DC_PPT.pptxDC_PPT.pptx
DC_PPT.pptx
 
Line coding
Line codingLine coding
Line coding
 
Sonjoy kundu line coding
Sonjoy kundu    line codingSonjoy kundu    line coding
Sonjoy kundu line coding
 
Network Components
Network ComponentsNetwork Components
Network Components
 
Sonjoy kundu 007
Sonjoy kundu 007Sonjoy kundu 007
Sonjoy kundu 007
 
Line coding
Line codingLine coding
Line coding
 
Unipolar Encoding Techniques: NRZ & RZ
Unipolar Encoding Techniques: NRZ & RZUnipolar Encoding Techniques: NRZ & RZ
Unipolar Encoding Techniques: NRZ & RZ
 
Signal encoding techniques
Signal encoding techniquesSignal encoding techniques
Signal encoding techniques
 
Digital Data, Digital Signal | Scrambling Techniques
Digital Data, Digital Signal | Scrambling TechniquesDigital Data, Digital Signal | Scrambling Techniques
Digital Data, Digital Signal | Scrambling Techniques
 
Linecodes,tdm,fdm,vocoders
Linecodes,tdm,fdm,vocodersLinecodes,tdm,fdm,vocoders
Linecodes,tdm,fdm,vocoders
 
W6_Ch5_Signal Encoding.pdf
W6_Ch5_Signal Encoding.pdfW6_Ch5_Signal Encoding.pdf
W6_Ch5_Signal Encoding.pdf
 

More from Ravindra Rathore

Lecture 5 phasor notations
Lecture 5 phasor notationsLecture 5 phasor notations
Lecture 5 phasor notationsRavindra Rathore
 
Introduction of reflection
Introduction of reflection Introduction of reflection
Introduction of reflection Ravindra Rathore
 
26 io -ii file handling
26  io -ii  file handling26  io -ii  file handling
26 io -ii file handlingRavindra Rathore
 
27 applet programming
27  applet programming27  applet programming
27 applet programmingRavindra Rathore
 
22 multi threading iv
22 multi threading iv22 multi threading iv
22 multi threading ivRavindra Rathore
 
21 multi threading - iii
21 multi threading - iii21 multi threading - iii
21 multi threading - iiiRavindra Rathore
 
17 exception handling - ii
17 exception handling - ii17 exception handling - ii
17 exception handling - iiRavindra Rathore
 
16 exception handling - i
16 exception handling - i16 exception handling - i
16 exception handling - iRavindra Rathore
 
15 bitwise operators
15 bitwise operators15 bitwise operators
15 bitwise operatorsRavindra Rathore
 

More from Ravindra Rathore (12)

Lecture 5 phasor notations
Lecture 5 phasor notationsLecture 5 phasor notations
Lecture 5 phasor notations
 
Introduction of reflection
Introduction of reflection Introduction of reflection
Introduction of reflection
 
28 networking
28  networking28  networking
28 networking
 
26 io -ii file handling
26  io -ii  file handling26  io -ii  file handling
26 io -ii file handling
 
27 applet programming
27  applet programming27  applet programming
27 applet programming
 
22 multi threading iv
22 multi threading iv22 multi threading iv
22 multi threading iv
 
21 multi threading - iii
21 multi threading - iii21 multi threading - iii
21 multi threading - iii
 
17 exception handling - ii
17 exception handling - ii17 exception handling - ii
17 exception handling - ii
 
16 exception handling - i
16 exception handling - i16 exception handling - i
16 exception handling - i
 
15 bitwise operators
15 bitwise operators15 bitwise operators
15 bitwise operators
 
14 interface
14  interface14  interface
14 interface
 
Flipflop
FlipflopFlipflop
Flipflop
 

Recently uploaded

Mine Environment II Lab_MI10448MI__________.pptx
Mine Environment II Lab_MI10448MI__________.pptxMine Environment II Lab_MI10448MI__________.pptx
Mine Environment II Lab_MI10448MI__________.pptxRomil Mishra
 
Industrial Safety Unit-I SAFETY TERMINOLOGIES
Industrial Safety Unit-I SAFETY TERMINOLOGIESIndustrial Safety Unit-I SAFETY TERMINOLOGIES
Industrial Safety Unit-I SAFETY TERMINOLOGIESNarmatha D
 
National Level Hackathon Participation Certificate.pdf
National Level Hackathon Participation Certificate.pdfNational Level Hackathon Participation Certificate.pdf
National Level Hackathon Participation Certificate.pdfRajuKanojiya4
 
Concrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxConcrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxKartikeyaDwivedi3
 
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Indian Dairy Industry Present Status and.ppt
Indian Dairy Industry Present Status and.pptIndian Dairy Industry Present Status and.ppt
Indian Dairy Industry Present Status and.pptMadan Karki
 
Correctly Loading Incremental Data at Scale
Correctly Loading Incremental Data at ScaleCorrectly Loading Incremental Data at Scale
Correctly Loading Incremental Data at ScaleAlluxio, Inc.
 
US Department of Education FAFSA Week of Action
US Department of Education FAFSA Week of ActionUS Department of Education FAFSA Week of Action
US Department of Education FAFSA Week of ActionMebane Rash
 
Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...VICTOR MAESTRE RAMIREZ
 
Work Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvWork Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvLewisJB
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024Mark Billinghurst
 
Internet of things -Arshdeep Bahga .pptx
Internet of things -Arshdeep Bahga .pptxInternet of things -Arshdeep Bahga .pptx
Internet of things -Arshdeep Bahga .pptxVelmuruganTECE
 
System Simulation and Modelling with types and Event Scheduling
System Simulation and Modelling with types and Event SchedulingSystem Simulation and Modelling with types and Event Scheduling
System Simulation and Modelling with types and Event SchedulingBootNeck1
 
NO1 Certified Black Magic Specialist Expert Amil baba in Uae Dubai Abu Dhabi ...
NO1 Certified Black Magic Specialist Expert Amil baba in Uae Dubai Abu Dhabi ...NO1 Certified Black Magic Specialist Expert Amil baba in Uae Dubai Abu Dhabi ...
NO1 Certified Black Magic Specialist Expert Amil baba in Uae Dubai Abu Dhabi ...Amil Baba Dawood bangali
 
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)Dr SOUNDIRARAJ N
 
Transport layer issues and challenges - Guide
Transport layer issues and challenges - GuideTransport layer issues and challenges - Guide
Transport layer issues and challenges - GuideGOPINATHS437943
 
Steel Structures - Building technology.pptx
Steel Structures - Building technology.pptxSteel Structures - Building technology.pptx
Steel Structures - Building technology.pptxNikhil Raut
 
An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...Chandu841456
 

Recently uploaded (20)

POWER SYSTEMS-1 Complete notes examples
POWER SYSTEMS-1 Complete notes  examplesPOWER SYSTEMS-1 Complete notes  examples
POWER SYSTEMS-1 Complete notes examples
 
Mine Environment II Lab_MI10448MI__________.pptx
Mine Environment II Lab_MI10448MI__________.pptxMine Environment II Lab_MI10448MI__________.pptx
Mine Environment II Lab_MI10448MI__________.pptx
 
Industrial Safety Unit-I SAFETY TERMINOLOGIES
Industrial Safety Unit-I SAFETY TERMINOLOGIESIndustrial Safety Unit-I SAFETY TERMINOLOGIES
Industrial Safety Unit-I SAFETY TERMINOLOGIES
 
National Level Hackathon Participation Certificate.pdf
National Level Hackathon Participation Certificate.pdfNational Level Hackathon Participation Certificate.pdf
National Level Hackathon Participation Certificate.pdf
 
Concrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxConcrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptx
 
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
 
Indian Dairy Industry Present Status and.ppt
Indian Dairy Industry Present Status and.pptIndian Dairy Industry Present Status and.ppt
Indian Dairy Industry Present Status and.ppt
 
Design and analysis of solar grass cutter.pdf
Design and analysis of solar grass cutter.pdfDesign and analysis of solar grass cutter.pdf
Design and analysis of solar grass cutter.pdf
 
Correctly Loading Incremental Data at Scale
Correctly Loading Incremental Data at ScaleCorrectly Loading Incremental Data at Scale
Correctly Loading Incremental Data at Scale
 
US Department of Education FAFSA Week of Action
US Department of Education FAFSA Week of ActionUS Department of Education FAFSA Week of Action
US Department of Education FAFSA Week of Action
 
Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...
 
Work Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvWork Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvv
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024
 
Internet of things -Arshdeep Bahga .pptx
Internet of things -Arshdeep Bahga .pptxInternet of things -Arshdeep Bahga .pptx
Internet of things -Arshdeep Bahga .pptx
 
System Simulation and Modelling with types and Event Scheduling
System Simulation and Modelling with types and Event SchedulingSystem Simulation and Modelling with types and Event Scheduling
System Simulation and Modelling with types and Event Scheduling
 
NO1 Certified Black Magic Specialist Expert Amil baba in Uae Dubai Abu Dhabi ...
NO1 Certified Black Magic Specialist Expert Amil baba in Uae Dubai Abu Dhabi ...NO1 Certified Black Magic Specialist Expert Amil baba in Uae Dubai Abu Dhabi ...
NO1 Certified Black Magic Specialist Expert Amil baba in Uae Dubai Abu Dhabi ...
 
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
 
Transport layer issues and challenges - Guide
Transport layer issues and challenges - GuideTransport layer issues and challenges - Guide
Transport layer issues and challenges - Guide
 
Steel Structures - Building technology.pptx
Steel Structures - Building technology.pptxSteel Structures - Building technology.pptx
Steel Structures - Building technology.pptx
 
An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...
 

Line Coding Techniques for Digital Communication

  • 2. 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.
  • 3. What is Line Coding? • Binary 1’s and 0’s, such as in PCM signaling, may be represented in various serial–bit signaling formats called line codes. • The simplest is to represent ‘1’ by a square pulse and ‘0’ by 0 volt. But the simplest is not always good enough. Also, a long sequence of ‘0’ may appear as a loss of transmission. • In order to take care of these and many other requirements, the symbols are transformed in to various different wave shapes, a process named line coding. • Different wave shapes result in different spectrum suiting different needs. Hence in a way, line codes are also spectrum shaping codes. • Mapping of binary information sequence into the digital signal that enters the channel – Ex. “1” maps to +A square pulse; “0” to –A pulse
  • 4. Cont’d • Line code selected to meet system requirements: – Transmitted power: Power consumption = $ – Bit timing: Transitions in signal help timing recovery – Bandwidth efficiency: Excessive transitions wastes BW – Low frequency content: Some channels block low frequencies • long periods of +A or of –A causes signal to “droop” • Waveform should not have low-frequency content – Error detection: Ability to detect errors helps – Complexity/cost: Is code implementable in chip at high speed? • There are 2 major categories: return–to–zero (RZ) and non return–to–zero (NRZ). – With RZ coding, the waveform returns to a zero–volt level for a portion (usually one–half) of the bit interval.
  • 5. Why Line Coding? • There are many reasons for using line coding. Each of the line codes you will be examining offers one or more of the following advantages:  Spectrum Shaping and Relocation without modulation or filtering. This is important in telephone line applications, for example, where the transfer characteristic has heavy attenuation below 300 Hz.  Bit clock recovery can be simplified.  DC component can be eliminated; this allows AC (capacitor or transformer) coupling between stages (as in telephone lines). Can control baseline wander (baseline wander shifts the position of the signal waveform relative to the detector threshold and leads to severe erosion of noise margin).  Error detection capabilities.  Bandwidth usage; the possibility of transmitting at a higher rate than other schemes over the same bandwidth. • At the very least the LINE-CODE ENCODER serves as an interface between the TTL level signals of the transmitter and those of the analog channel. Likewise, the LINE- CODE DECODER serves as an interface between the analog signals of the channel and the TTL level signals required by the digital receiver.
  • 6. Necessary properties of line code: • 1. Self synchronization – It should be possible to recover the clock pulse from the received data. Clock should not be lost even in case of a long sequence of ‘0’. Self-synchronization, where the timing information is extracted from the received signal itself • 2. Low probability of bit error – It should be convenient to design a receiver, which receives the specific line code and results a low probability of bit error. • 3. PSD – Spectrum of the line code should suit the physical medium. • 4. Band width – Band width of the line coded signal should be low. • 5. No DC – DC power content should be ideally zero to enable AC coupling. • 6. Low frequency power – Power at very low frequency should as low as possible. • 7. To suit channel coding – Line code should be such that subsequent coding for error detection/correction is easy. • 8. Power efficiency – Required transmission power should be small. • 9. Transparency – Line code should be such that any sequence of ‘1’ & ‘0’ must have only one inference.
  • 7. 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. 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.
  • 8. Different Types of Line Coding
  • 9. Classification of Line codes • The waveforms for the line code may be further classified according to the rule that is used to assign voltage levels to represent the binary data. Some examples include: – Unipolar Signalling: In positive–logic unipolar signalling, the binary 1 is represented by a high level (+A volts) and a binary 0 by a zero level. This type of signalling is also called on–off keying (OOK). – Polar Signalling: Binary 1’s and 0’s are represented by equal positive and negative levels – Bipolar (Pseudo ternary) Signaling: Binary 1’s are represented by alternating positive or negative values. The binary 0 is represented by a zero level. The term pseudo ternary refers to the use of 3 encoded signal levels to represent two–level (binary) data. This is also called alternate mark inversion (AMI) signaling. – Manchester Signaling: Each binary 1 is represented by a positive half–bit period pulse followed by a negative half–bit period pulse. Similarly, a binary 0 is represented by a negative half–bit period pulse followed by a positive half–bit period pulse. This type of signaling is also called split–phase encoding.
  • 10. Cont’d  Polar NRZ: Also called NRZ–L where L denotes the normal logic level assignment. – The NRZ-L is similar to Unipolar, in that the voltage directly depends on the bit it represents. – A positive voltage generally represents a ‘1’, and a negative voltage represents a ‘0’ (or vice versa). – Unlike the unipolar scheme, NRZ-L alleviates the problem of the DC component.  Bipolar RZ: Also called RZ–AMI, where AMI denotes alternate mark (binary 1) inversion.  Bipolar NRZ: Also called NRZ–M, where M de-notes inversion on mark (binary 1)
  • 11. 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).
  • 12. 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
  • 13. 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.
  • 14. Unipolar Signalling Unipolar Non-Return to Zero (NRZ): Figure. PSD of Unipolar NRZ
  • 15. 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.
  • 16. 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
  • 17. 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 ĆŹ
  • 18. 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 ĆŹ
  • 19. 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
  • 20. Unipolar Signalling Unipolar Return to Zero (RZ): Figure. PSD of Unipolar RZ
  • 21. Unipolar Signalling In conclusion it can be said that neither variety of unipolar signals is suitable for transmission over AC coupled lines.
  • 22. 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
  • 23. 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
  • 24. 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
  • 25. 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
  • 26. 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.
  • 27. 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.
  • 28. 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.
  • 29. BiPolar Signalling Figure. BiPolar NRZ 1 0 1 0 1 1 1 1 1 0 +V -V 0
  • 30. Polar Signalling PSD of BiPolar/ AMI NRZ Signalling: Figure. PSD of BiPolar NRZ
  • 31. 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.
  • 32. BiPolar Signalling Figure. BiPolar RZ 1 0 1 0 1 1 1 1 1 0 +V -V 0
  • 33. BiPolar Signalling PSD of BiPolar/ AMI RZ Signalling: Figure. PSD of BiPolar RZ
  • 34. 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.
  • 35. 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. 1 0 0 -ve -ve +ve +ve 0
  • 36. 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.
  • 37. Manchester Signalling PSD of Manchester Signalling: Figure. PSD of Manchester
  • 38. 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.
  • 39. 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.
  • 40. Differential Coding • Errors in some systems cause transposition in polarity, +A become – A and vice versa – All subsequent bits in Polar NRZ coding would be in error • Differential line coding provides robustness to this type of error • “1” mapped into transition in signal level • “0” mapped into no transition in signal level • Same spectrum as NRZ • Errors occur in pairs • Also used with Manchester coding NRZ-inverted (differential encoding) 1 0 1 0 1 1 0 01 Differential Manchester encoding LAN codes –Manchester, differential Manchester. mB/nB
  • 41. Differential Manchester coding Each digit in an differential encoded sequence is obtained by comparing the present input bit with the past encoded bit. A binary 1 is encoded if the present input bit and past encoded bit are of opposite state. A binary 0 is encoded if the states are the same. d(k)=m(k)⊕d(k-1)
  • 42. Line coding examples NRZ-inverted (differential encoding) 1 0 1 0 1 1 0 01 Unipolar NRZ Bipolar encoding Manchester encoding Differential Manchester encoding Polar NRZ
  • 43. Comparative study of line codes: • 1. UPNRZ and UPRZ are unipolar codes and need only single sided power supply to generate them. Whereas PNRZ, PRZ, AMI and Manchester need double sided power supply. • 2. AMI receiver needs to detect 3 levels. All other codes need to detect only 2 levels. • 3. PNRZ, PRZ and Manchester carries a pulse in every bit. Hence, loss of pulse will warn about a failure. Whereas, UPNRZ, UPRZ and AMI do not have this benefit. A long sequence of ‘0’ may be mistaken as failure of transmission. • 4. AMI has a built in error detecting capability since any ‘0’ being converted to ‘1’ or vice versa will violate the code.
  • 44. PSD of line codes:
  • 45. Comparative study of line codes: • 1. First null BW for UPNRZ, PNRZ and AMI is Rb. – Whereas for UPRZ, PRZ and Manchester it is 2Rb , i.e. double. • 2. PNRZ has maximum DC power content. – UPNRZ and PRZ also have high DC power content. – UPNRZ has an additional power spike at DC. – Hence UPNRZ, PNRZ and PRZ are not at all suitable for AC coupling. – DC power of UPRZ is much smaller – DC power of UPRZ is much smaller than in UPNRZ, PNRZ and PRZ. But due to it’s DC power spike, not advised for AC coupling. – Both AMI and Manchester are suitable for AC coupling. • 3. UPRZ has a distinct power spike at Rb. Hence suitable to extract the synchronizing clock signal. • 4. PRZ, AMI and Manchester do not have power spike at Rb. But if rectified, these codes resemble UPRZ and hence the synchronizing signal can be extracted.
  • 46. 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. 46