Académique Documents
Professionnel Documents
Culture Documents
The simplest form of digital encoding of digital data is to assign one voltage level to binary one and other voltage
level to binary zero. Common encoding schemes are Non-return-to-zero (NRZ), return-to-zero (RZ), Manchester,
Differential Manchester, and Bipolar AMI etc.
There are many reasons for using digital coding. Each of the codes offers one or more of the following advantages:
1- 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.
2- Bit Clock Recovery can be simplified.
3- DC component can be eliminated; this allows AC (capacitor or transformer)
4- 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).
5- Error Detection capabilities.
6- Bandwidth Usage; the possibility of transmitting at a higher rate than other schemes over the same
bandwidth.
A problem arises when using NRZ to encode a synchronous link, which may have long runs of consecutive bits with
the same value. The figure below illustrates the problem that would arise if NRZ encoding were used. In Ethernet
for example, there is no control over the number of 1's or 0's which may sent consecutively. There could potentially
be thousands of 1's or 0's in sequence. If the encoded data contains long 'runs' of logic 1's or 0's, this does not
result in any bit transitions. The lack of transitions prevents the receiver from reliably regenerating the clock
making it impossible to detect the boundaries of the received bits at the receiver. This is the reason why
Manchester coding is used in Ethernet LANs.
A long run of bits with the same value results in no transitions on the cable when NRZ encoding is used
ADVANTAGE
1- Less Bandwidth Required: The NRZ code requires only half the bandwidth required by the Manchester code.
DISADVANTAGES
Lack The Timing Synchronization: The transmitter and receiver lack the timing synchronization: No two clocks
can be exact even in milliseconds.
DC Blocking: The components block the direct current(DC) so as to stop heat generation. This results in some
loss of data.
1
RETURN-TO-ZERO (RZ)
Return-to-zero (RZ) describes a line code used in telecommunications signals in which the signal drops (returns) to
zero between each pulse. This takes place even if a number of consecutive zeros or ones occur in the signal. This
means that a separate clock does not need to be sent alongside the signal. The signal is self-clocking. A variant,
Return-to-zero, inverted, swaps the signal values for one and zero.
The binary signal is encoded using rectangular pulses with polar return-to-zero code
The binary signal is encoded using rectangular pulses with polar non-return-to-zero inverting code. This is the code
used on compact discs, USB, and on fiber Ethernet working at 100-Mbit/s (100Base-FX). eg. When the data stream
is "01001101", lets assume the initial state to be '1', then transmitted bit stream in NRZI will be "10001001".
Similarly if the initial state were '0', then transmitted bit stream will be "01110110".
MANCHESTER CODING
Manchester encoding is a synchronous clock encoding technique used by the physical layer to encode the clock and
data of a synchronous bit stream. In this technique, the actual binary data to be transmitted over the cable are not
sent as a sequence of logic 1's and 0's (known technically as Non Return to Zero (NRZ)). Instead, the bits are
translated into a slightly different format that has a number of advantages over using straight binary encoding (i.e.
NRZ).
Manchester encoding follows the rules shown below:
The following diagram shows a typical Manchester encoded signal with the corresponding binary representation of
the data (1,1,0,1,0,0) being sent.
2
In the Manchester encoding shown, a logic 0 is indicated by a 0 to 1 transition at the centre of the bit and a logic 1
is indicated by a 1 to 0 transition at the centre of the bit. Note that signal transitions do not always occur at the 'bit
boundaries' (the division between one bit and another), but that there is always a transition at the centre of each
bit
A Manchester encoded signal contains frequent level transitions which allow the receiver to extract the clock signal
using a Digital Phase Locked Loop (DPLL) and correctly decode the value and timing of each bit. To allow reliable
operation using a DPLL, the transmitted bit stream must contain a high density of bit transitions. Manchester
encoding ensures this, allowing the receiving DPLL to correctly extract the clock signal.
The penalty for introducing frequent transitions is that the Manchester coded signal consumes more bandwidth
than the original signal (in NRZ). For a 10 Mbps LAN, the signal spectrum lies between the 5 and 20 MHz.
Manchester encoding is used as the physical layer of an Ethernet LAN, where the additional bandwidth is not a
significant issue.
3
BIPOLAR ALTERNATE MARK INVERSION (AMI)
Binary 1’s are represented by alternating positive or negative values. The binary 0 is represented by a zero level.
Bit 0 is represented by no signal and bit 1 is represented by positive or negative levels, alternating for successive
1’s.
4
COMPARISON OF MODULATION TECHNIQUES
There are three predominant methods of encoding a transmission signal. Amplitude modulation (AM), and
frequency modulation (FM) are both analog modulation schemes. The third method is digital modulation. The Table
1 outlines the basic characteristics of the three modulation schemes.