Line Coding
Line Coding
4.1
Figure 4.1 Line coding and decoding
4.2
Mapping Data symbols onto
Signal levels
A data symbol (or element) can consist of a
number of data bits:
1 , 0 or
11, 10, 01, ……
A data symbol can be coded into a single
signal element or multiple signal elements
1 -> +V, 0 -> -V
1 -> +V and -V, 0 -> -V and +V
4.3
Line encoding C/Cs
4.5
Line encoding C/Cs
4.6
Figure 4.4 Line coding schemes
4.7
Unipolar
4.8
Figure 4.5 Unipolar NRZ scheme
4.9
Polar - NRZ
4.10
Polar - RZ
The Return to Zero (RZ) scheme uses three
voltage values. +, 0, -.
Each symbol has a transition in the middle.
Either from high to zero or from low to zero.
This scheme has more signal transitions (two
per symbol) and therefore requires a wider
bandwidth.
No DC components or baseline wandering.
Self synchronization - transition indicates
symbol value.
More complex as it uses three voltage level.
It has no error detection capability.
4.11
Figure 4.7 Polar RZ scheme
4.12
Polar - Biphase: Manchester and
Differential Manchester
Manchester coding consists of combining the
NRZ-L and RZ schemes.
Every symbol has a level transition in the middle:
from high to low or low to high. Uses only two
voltage levels.
Differential Manchester coding consists of
combining the NRZ-I and RZ schemes.
Every symbol has a level transition in the middle.
But the level at the beginning of the symbol is
determined by the symbol value. One symbol
causes a level change the other does not.
4.13
Figure 4.8 Polar biphase: Manchester and differential Manchester schemes
4.14
Note
4.15
Note
4.16
Bipolar - AMI and Pseudoternary
Code uses 3 voltage levels: - +, 0, -, to
represent the symbols (note not transitions to
zero as in RZ).
Voltage level for one symbol is at “0” and the
other alternates between + & -.
Bipolar Alternate Mark Inversion (AMI) - the
“0” symbol is represented by zero voltage and
the “1” symbol alternates between +V and -V.
Pseudoternary is the reverse of AMI.
4.17
Figure 4.9 Bipolar schemes: AMI and pseudoternary
4.18
Bipolar C/Cs
4.19