Computer Communication and Networks-Encoding Techniques-Jasmin
Computer Communication and Networks-Encoding Techniques-Jasmin
AND NETWORKS
ENCODING TECHNIQUES
Encoding
• Coding is the process of embedding clocks into a given data stream and
• Receiver is responsible for "decoding" i.e. separating clocks and data from
• 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:
• The binary signals created by your computer (DTE) are translated into a
sequence of voltage pulses that can be sent through the transmission
medium.
• Binary signals have two basic parameters: amplitude and duration.
• As the number of bits sent per unit of time increases, the bit duration
decreases.
• The three most common methods of encoding used are: unipolar , polar ,
and bipolar .
Digital-to-Digital Encoding
Unipolar Encoding
9
Non Return to Zero
NRZ
• Non-return to Zero (NRZ) -- signal is always positive or negative.
• Two main types of NRZ: NRZ-L and NRZ-I
NRZ-L
• NRZ-L: signal never returns to zero voltage, and the value during a bit time
is a level voltage.
• Good for short and well- shielded transmission paths.
• In NRZ-L the level of the signal is dependent upon the state of the bit,
dependent upon the state of the bit
Non Return to Zero- Inversion
NRZ-I
13
Biphase
• Signal changes at the middle of the bit interval,does not return to zero, goes
to opposite pole.
Manchester
• Provides a transition for every bit in the middle of the bit cell. This
transition is used only to provide clocking.
• +ve to -ve transition for a "0" bit; -ve to +ve transition for a "1" bit
17
Analog-to-Digital Encoding
Pulse Code Modulation (PCM)
18
Analog-to-Digital Encoding
Digital-to-Analog Encoding
• 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 of signal 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
Analog-to-Digital Encoding
Pulse Code Modulation (PCM)
21
Amplitude Shift Keying (ASK)
•To represent binary signals, the
amplitude is varied - 1 or 0.
22
Relationship between baud
rate and bandwidth in ASK
Frequency Shift Keying (FSK)
Frequency is varied to represent binary 1
or 0.
24
Phase Shift Keying(PSK)
Phase is varied to represent
binary 1 or 0.
Limited by the ability of the
equipment to detect small
differences in phase. This
limits its potential bit rate.
Quadrature Amplitude
Modulation (QAM)
•Means combining ASK and
PSK in such a way that we
have a maximum contrast
between each bit, dibit (one-
pair), quadbit (two-pair), and
so on.
•Theoretically, any
measurable number of
changes in amplitude can be
combined with any
measurable number of
changes in phase.
•Uses more phase shifts than
amplitude shifts to reduce
noise susceptibility.
Analog to Analog Modulation
Amplitude Modulation (AM)
•The carrier's signal is modulated
so that amplitude varies with the
changing amplitude of the signal.
•The bandwidth of an AM signal is
equal to twice the bandwidth of the
modulating signal and covers a
range centered around the carrier
frequency.
• AM radio stations need a
minimum bandwidth of 10 Khz.
Frequency Modulation (FM)
Used as an alternative to
frequency modulation.