High-Density Bipolar or HDB Coding is used mainly for Bandwidth compression. Using this coding system, we
eliminate a large number of consecutive zeros and replace them with certain codes.
Here,
HDB3 and
HDB4 will be discussed. Follow each step and you should have no problems understanding the process.
Bit pattern: 10100001100000100000101
Step 1: For HDB
3, (3+1)=4 zeros and for HDB
4, (4+1)=5 zeros will be replaced with code.