Physical Layer - 2
Physical Layer - 2
NETWORKS
Unit 6 – Physical Layer
UNIT VI-PHYSICAL LAYER
Signal Characteristics
Data Transmission
Physical Links and Transmission Media
Signal Encoding Techniques
Channel Access Techniques - TDM - FDM.
Signal Encoding Techniques
Digital message
Uses two different voltage levels (one positive and one negative) as the signal
elements for the two binary digits.
Voltage does not return to zero during the bit interval.
0 ⬄ negative voltage
1 ⬄ positive voltage
NRZ
Encoding
0 0 1 0 1 1 1 0 0
+
-
NRZ
Encoding
The problem with this is that it is difficult to distinguish a series of '1's or '0's.
Leads to baseline wander
0 1 1
0 0 0 0 1 0 1
1
1 1
1
NRZI ENCODING
NRZI stands for non return to zero inverted.
-
Manchester Encoding
There is a transition at the middle of each bit period.
1 ⬄ High-to-low transition
0⬄ low-to-high transition
• In Manchester and differential Manchester encoding, the duration of the bit is divided into two halves
• Differential Manchester, The minimum bandwidth of Manchester and differential Manchester is 2 times
that of NRZ.
Pros and Cons
❑ Pros
Self-clocking: Because there is a predictable transition during each
bit time, the receiver can synchronize on that transition.
❑ Cons
The maximum modulation rate is twice that for NRZ
Requires more bandwidth
Block Coding
• Block coding can give us redundancy and improve the performance of line
coding.
• Block coding is normally referred to as mB /nB coding;
• it replaces each m-bit group with an n-bit group.
• Block coding normally involves three steps:
• division, substitution, and combination.
• In the division step, a sequence of bits is divided into groups of m-bits.
• In the substitution step, substitute an m-bit group for an n-bit group is done
• n-bit groups are combined together to form a stream. The new stream has
more bits than the original bits
Block Coding
Block Coding - 4B/5B
• The four binary/five binary (4B/5B) coding scheme was designed to be
used in combination with NRZ-I.
• NRZ-I has a good signal rate, but it has a synchronization problem.
• One solution is to change the bit stream, prior to encoding with NRZ-I, so
that it does not have a long stream.
• The 4B/5B scheme achieves this goal.
• At the receiver, the NRZ-I encoded digital signal is first decoded into a
stream of bits and then decoded to remove the redundancy.
4B/5B
4B/5B Encoding
• 4B/5B block encoding scheme designed to breakup long strings of 0’s and 1’s without
increasing the frequency bandwidth.
• In this scheme bit sequence is broken up in to four bit blocks.
• Each block of four bit is replaced with a five bit block.
• The five bits codes were selected so that there is no more than one leading zero and no
more than two trailing zeros.
• Only half of the five bits are used for encoding , the remaining codes can be used for other
purposes.
• Thus, when the codes are strung together there can be no more than three consecutive
zeros
• The string of bits after the replacement are transmitted using NRZI.
• 4B/5B encoding followed by NRZI is used in 10BaseTX (Fast Ethernet).
4B/5B Encoding
4B/5B Encoding
Bit Sequence
4B/5B Encoding
1 0 01 1 011 1110
10 0
Not more than 3 consecutive zeros
100110111011100
Digital Signal
1 0 1 1
0