Line Coding: Badgujar Dipak D
Line Coding: Badgujar Dipak D
Badgujar Dipak D
Line Coding
4.2
Line coding and decoding
4.3
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
• The ratio ‘r’ is the number of data elements
carried by a signal element.
4.4
Relationship between data rate and
signal rate
• The data rate defines the number of bits sent per
sec - bps. It is often referred to the bit rate.
• The signal rate is the number of signal elements
sent in a second and is measured in bauds. It is
also referred to as the modulation rate.
• Goal is to increase the data rate whilst reducing
the baud rate.
4.5
Signal element versus data element
Data rate and Baud rate
4.8
Line encoding Characteristics
• DC components - when the voltage level
remains constant for long periods of time,
there is an increase in the low frequencies
of the signal. Most channels are bandpass
and may not support the low frequencies.
• This will require the removal of the dc
component of a transmitted signal.
4.9
Line encoding Characteristics
• Self synchronization - the clocks at the
sender and the receiver must have the
same bit interval.
• If the receiver clock is faster or slower it will
misinterpret the incoming bit stream.
4.11
Effect of lack of synchronization
Example
4.15
Line encoding Characteristics
4.16
NRZ NRZ,RZ,Biphase(Manchest
er& Differential AMI and pseudo ternary
Manchester)
Costiler
The normalized power needed is double of polar NRZ due to this reason
normally not used in data communication
Unipolar NRZ scheme
Adv Disadv
Simplicity Presence of DC level
Doesn’t require a lot of Contains low-frequency
bandwidth components (leads to
drooping)
No clocking component to
synchronize to at receiver
Long string of zeros causes loss
of synchronization
Polar - NRZ
• The voltages are on both sides of the time axis.
• Polar NRZ scheme can be implemented with two
voltages. E.g. +V for 1 and -V for 0.
• There are two versions:
– NZR - Level (NRZ-L) - positive voltage for one symbol
and negative for the other
– NRZ - Inversion (NRZ-I) - the change or lack of change in
polarity determines the value of a symbol. E.g. a “1”
symbol inverts the polarity a “0” does not.
Polar NRZ-L and NRZ-I schemes
Example
Solution
The average signal rate is S= c x N x R = 1/2 x N x 1 =
500 kbaud.
Polar - NRZ
• Baseline wandering is the problem for both the schemes
• Baseline is twice as severe in NRZ-L if there is long
sequence of 0’s and 1’s in NRZ-L due to this average
signal power becomes skewed. The receiver might has
difficulty discriminating the bit value.
• In NRZ-I the baseline wandering problem occurs only
when a long sequence of 0’s.
• Clock synchronization problem occurs in both the
schemes. More serious in NRZ-L than NRZ-I
• When there is sudden change in polarities in the system
NRZ-L affects more as 0’s are interpreted as 1’s and vice
versa. NRL-I don’t have this problem
• Both signals have an average signal rate of N/2 Bauds
Polar – Return to Zero