Professional Documents
Culture Documents
Computer Networks
B.Tech
Delhi Technological University
Module 1-3: Physical Layer Digital Transmission
Instructor: Divyashikha Sethia
Roadmap
• Line Coding
• Line Coding Schemes
• Block Coding
• Scrambling
Divyashikha Sethia 1
DTU
3
DIGITAL-TO-DIGITAL CONVERSION
Line Coding
Divyashikha Sethia 2
DTU
Line Coding
Signal Element Vs Data Element
• Data element: is the smallest entity that can represent a
piece of information – bit
Divyashikha Sethia 3
DTU
Important Parameters
• Ratio r is the number of elements carried by each signal element
•Signal rate: number of signal elements per sec ( pulse rate/ modulation rate/ baud
rate)
Line Coding
Signal element vs data element
Divyashikha Sethia 4
DTU
Line Coding
9
• Data rate - number of data elements (bits) sent in 1 s – bps (bits per
sec)
• Signal rate - number of signal elements sent in 1 s – pulse rate,
modulation rte/ baud rate
Objective: Increase data rate and decrease signal rate
10
Line Coding
Baseline Wandering
Divyashikha Sethia 5
DTU
11
12
Line Coding
Self –synchronization
• For correct interpretation of signals receiver bit intervals
must correspond to sender bit intervals
• Effect of lack of synchronization, receiver has a shorter bit
duration. Sender sends 10110001 and receiver interprets
110111000011
Divyashikha Sethia 6
DTU
13
Line Coding
Self-synchronizing signal
• Includes timing information in data that alert the receiver to
the beginning, middle and end of pulse.
14
Line Coding
• Characteristics:
- Self synchronizing
- Built-in Error Detection
- Immunity to Noise and Interference
- Complexity
Divyashikha Sethia 7
DTU
15
16
Divyashikha Sethia 8
DTU
17
18
Line Coding
Comparison of Polar NRZ Schemes
NRZ-L NRZ-I
Baseline Twice as severe if there is Problem occurs only
wandering long sequence of 0s or 1s for long sequence of
0s. Can be eliminated
Synchronization More serious due to long Less serious since
sequence of 0s &1s affected only by long
sequence of 0s
Sudden change Sudden change causes all Not an issue
in polarity 0s to be interpreted as 1s
& 1s to be interpreted as
0s
DC components Problem Problem
Divyashikha Sethia (DTU)
Divyashikha Sethia 9
DTU
19
Example two data wires are wrongly connected in each other's place.
-NRZ-L :all bit sequences will get reversed (B'coz voltage levels get
swapped).
-NRZ-I since bits are recognized by transition the bits will be
correctly interpreted
20
Line Coding
Polar RZ scheme
• Solves the synchronization problem in NRZ scheme
• RZ – Return to Zero – signal do not change between bits but
during the bits.
• Signal goes to 0 in the middle of the bit
• No DC component
Divyashikha Sethia 10
DTU
21
Line Coding
Polar RZ scheme
• Disadvantage:
- Requires two signal changes to encode a bit hence
occupying more bandwidth
- Sudden change in polarity cause wrong interpretation of bit
- Complexity since uses three voltage levels hence not used
22
Line Coding
Biphase schemes:
Manchester/ Differential Manchester
Divyashikha Sethia 11
DTU
Line Coding 23
Biphase schemes:
Simple Manchester
•Combines ides of RZ (transition in middle of bit) and NRZ-L
RZ
Divyashikha Sethia (DTU)
24
Divyashikha Sethia 12
DTU
25
Line Coding
Biphase Scheme:Differential Manchester
•Combines ideas of RZ (transition in middle of bit) and NRZ-I
RZ
26
Line Coding
Biphase:Differential Manchester
•– If next bit is 0 there is transition
- If next bit is 1 there is none
•Transition in middle provides synchronization
Divyashikha Sethia 13
DTU
27
Line Coding
Biphase schemes
28
Line coding
Bipolar Scheme/Multilevel binary
Divyashikha Sethia 14
DTU
29
LINE CODING
Bipolar schemes: AMI and pseudoternary
•AMI (Alternate Mark Inversion) – alternate 1 inversion.
Zero volt – bit 0, Bit 1- represented by alternating positive and
negative voltages
•Pseudoternary – Bit 1 is zero voltage and 0 bit encoded as
alternating positive and negative voltages
30
Line Coding
Bipolar Scheme
• Alternative to NRZ
• Same Signal rate as NRZ but no DC component because:
For long sequence of 1s volt alternates and for long
sequence of 0s volt is 0
• AMI – used for long distance communication but with
synchronization problems with long sequence of 0s
Divyashikha Sethia 15
DTU
31
Line coding
Multilevel Schemes
• Goal to increase number of bits per baud by encoding m
data patterns into a pattern of n n signal elements
• m data elements -> 2m data patterns
L different level -> Ln signal patterns
Line coding
32
mBnL schemes
• Pattern of m data elements is encoded as a pattern of n
signal elements in which 2m ≤ Ln.
B – Binary data
N – Length of signal pattern
L – number of levels
mBnL
/ \
Data pattern Signal Pattern
Divyashikha Sethia 16
DTU
33
Line coding
Multilevel: 2B1Q scheme
m:number of data elements = 2
N: number of signal element = 1
L = number of signal levels = 4
Uses data patterns of sizes 2 and encodes the 2-bit
patterns as 1 signal elements belonging to a four-
level signal
34
Line coding
Multilevel: 2B1Q scheme
•Can send data 2 times faster than NRZ-L
Divyashikha Sethia 17
DTU
35
Line Coding
Multiline Transmission: MLT-3
• Used three levels(+V,0,-V) and three transition rules to
move between the levels
1. Next bit is 0 -> no transition
2. Next bit is 1, current level is not 0 -> next level is 0
3. Next bit 1 and current level is 0, -> next level is the
opposite of the last nonzero level
36
Multitransition:
MLT-3 scheme
Divyashikha Sethia 18
DTU
37
38
Line Coding
Summary of line coding schemes
Divyashikha Sethia 19
DTU
39
Block coding
• Gives redundancy and improves performance of line coding
by providing synchronization and inherent error detection
• Block of m bits changes to block of n bits n > m is referred
as mB/nB encoding technique
Block Coding
40
4B/5B
• NRZ-I has a good signal rate but has synchronization
problems long seq of 0s can make receiver loose synch
Divyashikha Sethia 20
DTU
41
42
Divyashikha Sethia 21
DTU
43
44
Substitution in
4B/5B block coding
Divyashikha Sethia 22
DTU
45
46
Scrambling
• Biphase schemes not suitable for dedicated links in LANs nor
long distance communication due to large bandwidth
requirements.
• Block coding and NRZ line coding not suitable for long distance
communication due to DC component.
• Bipolar AMI has Narrow Bandwidth, No DC Component .
However long sequence of 0s upsets synch
• Use scrambling to substitute long 0 level pulses with
combination of other levels to provide synchronization
• Scrambling is done along with encoding
Divyashikha Sethia 23
DTU
47
48
Divyashikha Sethia 24
DTU
49
50
Divyashikha Sethia 25
DTU
51
• Voice, data, video, etc. can all by carried by digital circuits. What about
carrying digital signals over analog circuit? The modem example shows the
difficulties in carrying digital over analog. A simple encoding method is to use
constant voltage levels for a “1'' and a ``0''. Can lead to long periods where the
voltage does not change.
52
Self Study
Divyashikha Sethia 26
DTU
53
References
• Chapter 4: Digital Transmission, Forouzan
• Self Study:
- Chapter 4: Forouzan, 4.2 Analog to Digital Conversion,
4.3 Transmission modes
- Chapter 5: Analog Transmission
54
THANKS
Divyashikha Sethia 27