Professional Documents
Culture Documents
ENCODING TECHNIQUES
Encoding
Coding is the process ofembedding clocks into a given data stream and producing a signal that
Transmitter is responsible for "encoding" i.e. inserting clocks into data according to a selected
coding scheme Receiver is responsible for "decoding"ie. separating clocks and data from the
incoming embedded stream.
We must encode data into signals to send them from one place to another.
There are 4 possible encoding techniques that can be used on the data:
1. Digital-to-digital,
2. Digital-to-Analog
3. Analog-to-analog,
4. Analog-to-digital.
Digital-to-Digital Encoding
The binary signals created by your computer (DTE) are translated into a sequence of voltage
As the number of bits sent per unit of time increases, the bit duration decreases.
2. unipolar
3. polar
4. bipolar.
Line
coding
Unipolar Encoding
encoding.
ne simplest and most primitive type of encoding is Unipolar
level for binary .
IYpically. one voltage level stands for binary 0 and another voltage
Polarity refers to whether you have a positive or a negalive pulse
binary states iS encoded, usually
Unipolar encoding uses only one polarity. only one of the two
the 1.
wo problems with unipolar encoding: DC component and synchronizatio
Amplitude
Tinn
Amplitude
Time
Unipolar encoding uses only one voltage level.
encoding
Problems in Unipolar
DC Component direet current (D°
This ereates a
is nonzero.
component)
- -
Synehronization changes
to indicate
system
allows a digital eneoding
for each bit is what
The change in voltage
Lack o fsynchronization
Ti
Received
Differential
NR R Man hestP
Manchesler
NRZ-L
wwww.w.w ***
NS
L
i
lil i, I.
T
RZencoding Os.
of consecutive Is or
synchronization due to long strings
Tries to solve the problem of losing voltage=0
Positive voltage=1;Negative
each bit promotes synchronization.
Signal change during
to zero halfway through the bit interval.
returns
Signal
Var
In Manchester encoding. the transition at the middle of the bit is transition at the middle of the
bit is used for both synchronization and bit used for both synchronization and bit representation.
Amplitde
Zero is L One is.
Maneuster
L Time
the next bit is " 1 " Used in Token Ring or IEEE 802.5-compliant LANs.
In differential Manchester encoding, the transition at the middle of the bit is used Transition at
the middle of the bit is used only for synchronization. The bit representation is defined by the
inversion or noninversion at the beginning of the bit.
Anpliude
Mriest4t
Amplilude Amplilude
Time
Tine
l
h. PAM signal
a. Analog signl
ensure
Fig 5-21
yquist
Theorem
Stdneatetl
1
+t4
1alial
Used in transmitting data from one computer to another across a public access phone line Bit
Rate and Baud Rate Bit rate is the number of bits transmitted per second. Bit rate is always >/=
to the baud rate Baud rate is the number ofsignal units per second required to send those bits.
Carrier signal A high-frequency signal that acts as a basis for the information signal - by sender
Digital information is encoded by modulating the signal's: amplitude, frequency, or Phase Bit
rate-Baud rate X No. of bits per signal element
To represent binary signals, the amplitude is varied - 1 or 0. Keying means turning a transmitter
on and off. Highly susceptible to noise interference. Noise is referred as random electrical
signals (voltages) that tend to generate errors in transmission; introduced into a line by heat from
circuit components, or natural disturbances
mplit
AAA ie|
Minimum bandwidth
wwwww.www
=
Maud
Frequency
-Muaud/2 ( +Muau/2
Frequency Shift Keying (FSK)
because it's
Frequency is varied to represent binary 1 or 0. .Noise interference not a problem
looking for frequency changes and doesn't care about voltage spikes.
Apid
it bit I bit
it
AAAMAAAAMAA i iltu
linej
iaud I ud baud
011
01 00
010
101 001
100 000
110
10
111
4-QAM 8-QAM
amplitude, 4 phases 2 amplitudes, 4 phases
Analogto Analog Modulation
Analog/analog
modulation
PM
FM
AM
of the
Amplitude Modulation (AM) amplitude
the changing
varies with modulating
signal
modulated so that amplitude bandwidth
of the
signal is twice the
minimum
need a
he
carTIer's
is equal to stations
bandwidth of a n AM signal AM radio
signal. The carrier frequency.
around the
centered
covers a range
and
bandwidth of 10 Khz.
M i l . i l i n g signal laudio)
AAAAAAAU|
igial
A
Frequency Modulation (FM) level (amplitude)
follow the
changing voltage
m o d u l a t e d to bandwidth of
is 10 times the
carrier signal is equal to
of the FM signal
The frequency The
bandwidth
signal.
ofan
b a n d w i d t h of
200 KHz (0.2
MHz).
modulating station needs
a
ofthe signal. An
FM
the modulating
l o d u l . l n g sign.al t a d i o i
Amphtu
mpltude
mplitukde
WHHAAAA
Phase Modulation (PM)
changing voltage level (amplitude)
of
is modulated to follow the
The phase of the carrier signal modulation.
as an alternative to frequeney
the modulating signal. Used
AAAAA0A
Carrier Signal