chapter-4-encoding-techniques
chapter-4-encoding-techniques
Channel
Digital Data Digital Signal Analog Signal Digital Signal Digital Data
01101001 01101001
Figure 4.2 Line coding and decoding
Figure 4.3 Signal element versus data element
𝒓 = 𝒅𝒂𝒕𝒂 𝒆𝒍𝒆𝒎𝒆𝒏𝒕𝒔
𝒔𝒊𝒈𝒏𝒂𝒍 𝒆𝒍𝒆𝒎𝒆𝒏𝒕𝒔
Example 4.1
Solution
We assume that the average value of c is 1/2. The baud
rate is then
Example 4.2
Solution
𝑺 = 𝒄∗𝑵∗ 𝟏
𝒓
A signal with L levels actually can carry log2L bits per
level. If each level corresponds to one signal element and
we assume the average case (c = 1/2), then we have
7
Figure 4.5 Line coding schemes
Figure 4.6 Unipolar scheme
Unipolar encoding uses only one voltage level. It Uses zero and positive voltage pulses
to encode binary data (‘0’ and ‘1’).
𝑟 = 𝑑𝑎𝑡𝑎 𝑒𝑙𝑒𝑚𝑒𝑛𝑡𝑠
𝑆 = 𝑐∗𝑁∗ 1
𝑠𝑖𝑔𝑛𝑎𝑙 𝑒𝑙𝑒𝑚𝑒𝑛𝑡𝑠 𝑟
Figure 4.7 Polar NRZ-L and NRZ-I schemes
Uses two different voltage levels (one positive and one negative) to represent
bits (0 and 1)
Note
Solution
The average signal rate is S = N/2 = 500 kbaud. The
minimum bandwidth for this average baud rate is:
Bmin = S = 500 kHz.
Figure 4.7 Polar RZ scheme
4.15
Figure 4.8 Polar biphase: Manchester and differential Manchester schemes
4.16
Note
▪ In Manchester encoding, the transition at the middle of the bit is used for both
synchronization and bit representation.
0 = Transition from positive to negative
1 = Transition from negative to positive
4.18
Note
4.19
Figure 4.9 Bipolar schemes: AMI and pseudoternary
4.20
Note
4.21
Figure 4.10 Multilevel: 2B1Q scheme
4.22
Figure 4.11 Multilevel: 8B6T scheme
Each signal pattern has a weight of 0 or +1 DC values. This means that there is no pattern
with the weight -1. To make the whole stream Dc-balanced, the sender keeps track of the
weight. If two groups of weight 1 are encountered one after another, the first one is sent as
is, while the next one is totally inverted to give a weight of -1.
4.23
Figure 4.13 Multitransition: MLT-3 scheme
4.24
Table 4.1 Summary of line coding schemes
4.25
Note
4.26
Figure 4.14 Block coding concept
4.27
Figure 4.15 Using block coding 4B/5B with NRZ-I line coding scheme
4.28
Table 4.2 4B/5B mapping codes
4.29
Figure 4.16 Substitution in 4B/5B block coding
4.30
Example 4.5
Solution
First 4B/5B block coding increases the bit rate to 1.25
Mbps. The minimum bandwidth using NRZ-I is N/2 or
625 kHz. The Manchester scheme needs a minimum
bandwidth of 1 MHz. The first choice needs a lower
bandwidth, but has a DC component problem; the second
choice needs a higher bandwidth, but does not have a DC
component problem.
4.31
Figure 4.17 8B/10B block encoding
4.32