Professional Documents
Culture Documents
Chapter 2
Encoding Techniques
Encoding schemes deal with how to
transport bits over the physical media
We must deal and manage many issues to
well represent and interpret the bits:
Chapter 2
Encoding Techniques
Encoding techniques depend on the type of
data to transmit and the medium being used:
Chapter 2
Chapter 2
A Simple Encoding
Scheme
0 is Vo (some voltage)
1 is V1
Example : let us encode 10011101
Clock
Vo
V1
CSC 3352 Computer
Communications
Chapter 2
Problem?
Let us now try to encode two bytes
that come one 2 seconds after the
other: 10011101 and 00001101
What is the problem with this
encoding scheme?
What is the solution?
CSC 3352 Computer
Communications
Chapter 2
Chapter 2
Problem?
The problem with this encoding
scheme is that we have to return to
0 each time the transmission is done
which generates some complexity
and cost in implementing and
managing this technique
We should look for a better
technique We have 2 alternatives:
CSC 3352 Computer
Communications
Chapter 2
Alternative 1: Non-Return to
Zero
Two different voltages for 0 and 1 bits
Voltage constant during bit interval
Chapter 2
10
Alternative 1: NRZ-Manchester
Encoding
1 is
0 is
+0.85V
-0.85V
Chapter 2
11
Alternative 2: Differential
Encoding
Data represented by changes
trends rather than levels of voltage
More reliable detection of
transition rather than level
In complex transmission layouts it
is easy to lose sense of polarity
CSC 3352 Computer
Communications
Chapter 2
12
Differential Manchester
Encoding
0 is
1 is
(Presence of transition)
(Abscence of transition)
Clock
Chapter 2
13