Modulation is very important in digital communication because it allows us to efficiently
transmit information (1s and 0s) over physical channels like air, cables, or fiber. Without
modulation, digital signals would be weak, prone to errors, and unable to travel long distances.
Here are the main reasons why modulation is important in digital communication:
1. Efficient Transmission Over Long Distances
o Digital baseband signals (raw 1s and 0s) cannot travel far without distortion.
o Modulation shifts the signal to a higher frequency (carrier), allowing long-
distance wireless or wired transmission.
2. Multiplexing (Sharing Channels)
o By using different carrier frequencies, many users/signals can share the same
medium (e.g., in radio, TV, mobile networks).
o This is called frequency division multiplexing (FDM).
3. Noise Reduction & Reliability
o Modulation techniques like PSK, QAM, FSK provide robustness against noise and
interference.
o Error detection and correction can be applied effectively.
4. Efficient Use of Bandwidth
o Advanced modulation schemes (QPSK, QAM, OFDM) transmit more bits per
symbol, increasing data rates without needing extra bandwidth.
5. Compatibility with Transmission Media
o Different channels (radio, satellite, optical fiber, coaxial cable) require signals at
specific frequency ranges.
o Modulation adapts the digital data to suit the medium
6. Antenna Size Reduction
o Antenna size is inversely proportional to signal wavelength.
o Baseband digital signals (low frequency) would require huge antennas, but
modulation to high frequency reduces antenna size to practical dimensions.
MBnB Codes in Digital Communication
1. Introduction
In digital communication, binary data (0s and 1s) cannot be transmitted directly in raw form
because physical transmission channels need waveforms that satisfy certain properties.
Line coding converts digital data into a sequence of signal elements (voltage pulses, optical
pulses, etc.) for transmission.
MBnB codes (Multi-Bit n Binary codes) are block line coding techniques designed to
overcome limitations of simpler schemes such as NRZ.
2. What are MBnB Codes?
Definition: MBnB codes map a group of M input bits into n encoded bits (M < n).
They add redundancy for reliability, synchronization, and balance.
Key Features:
• Block-Oriented: Works on fixed-size blocks of M bits at a time.
• Expansion: Each M-bit block is converted to n-bit codeword (where n > M).
• Redundancy: Introduces extra bits beyond the data for system-level advantages.
• Control Codes: Some extra n-bit patterns are reserved for control signals (e.g., idle,
start, error).
3. Why Do We Need MBnB Coding?
Problems with simple schemes (like NRZ, NRZI, or Manchester):
• Baseline Wander: Long runs of identical bits shift average signal level.
• Clock Recovery: Receivers rely on transitions to synchronize; long identical runs
cause issues.
• DC Component: Some codes produce low-frequency components unsuitable for AC-
coupled links.
MBnB coding ensures:
• Guaranteed transitions within every block.
• DC balance (equal 1s and 0s over time).
• Control codes for signaling and error detection.
4. Examples of MBnB Codes
a) 4B/5B Coding
• Groups 4 input bits → maps to 5 encoded bits.
• 16 input patterns → mapped into 32 possible codewords. 16 used for data, rest for
control.
• Ensures no more than 3 consecutive 0s.
• Application: Fast Ethernet (100BASE-TX).
Data (4 bits) Code (5 bits)
0000 11110
0001 01001
0010 10100
0011 10101
0100 01010
0101 01011
1111 11101
b) 8B/10B Coding
• Groups 8 bits → mapped into 10 bits.
• Provides DC balance and error detection.
• Applications: Gigabit Ethernet, Fibre Channel, HDMI, PCIe, SATA.
c) 3B/4B Coding
• Groups 3 input bits → mapped into 4 encoded bits.
• Used in systems requiring shorter blocks and simpler logic.
5. Properties of MBnB Codes
1. Redundancy – More bits transmitted than original data.
2. DC Balance – Maintains zero DC offset.
3. Transition Density – Guarantees enough transitions for synchronization.
4. Error Detection – Unused codewords allow detection of errors.
5. Synchronization – Supports receiver clock recovery.
6. Applications
• Networking: Ethernet (100BASE-TX, Gigabit Ethernet).
• High-Speed Serial Links: HDMI, USB 3.0, PCIe, SATA.
• Data Storage: Fibre Channel, SAS.
• Optical Communication Systems.
7. Advantages
• Reduces synchronization errors.
• Provides error detection.
• Ensures DC balance.
• Improves bandwidth efficiency compared to Manchester coding.
• Simplifies receiver clock recovery circuits.
8. Disadvantages
• Extra redundancy overhead (25% in 4B/5B, 20% in 8B/10B).
• Reduces effective data throughput.
• Encoder/decoder hardware complexity increases.
MBnB Codes in Digital Communication
1. What are MBnB Codes?
MBnB coding is a block line coding technique used in digital communication. It converts M bits of
data into B bits of coded output. Example: 4B/5B means 4 bits input mapped into 5 bits output.
2. Why do we use MBnB Codes?
Problems with raw binary (NRZ): long runs of 0s or 1s cause synchronization loss, and DC drift.
MBnB codes solve this by ensuring enough transitions, maintaining DC balance, and sometimes
allowing error detection.
3. Common MBnB Codes
(a) 4B/5B Code
Maps 4 bits → 5 bits. Used in Fast Ethernet (100 Mbps).
Data (4 bits) Code (5 bits)
0000 11110
0001 01001
0010 10100
0011 10101
0100 01010
(b) 8B/10B Code
Maps 8 bits → 10 bits. Ensures DC balance and limits run length. Used in Gigabit Ethernet, PCI
Express, USB 3.0, Fibre Channel.
(c) 3B/4B Code
Maps 3 bits → 4 bits. Sometimes combined with 4B/5B.
4. How MBnB Coding Works
1. Group M input bits.
2. Find matching B-bit codeword in coding table.
3. Transmit B-bit codeword.
4. Receiver decodes B bits back to M bits.
5. Example (4B/5B Encoding)
Input data: 0001 → Encoded: 01001 → Transmitted → Decoded back to 0001. This ensures
transitions for synchronization.
6. Advantages
• Good synchronization (regular transitions).
• Maintains DC balance.
• Error detection possible.
• Improves reliability in high-speed communication.
7. Disadvantages
• Extra redundancy: more bits transmitted (e.g., 4B/5B increases by 25%).
• Slightly reduces bandwidth efficiency.
Summary:
MBnB coding maps M data bits into B coded bits. Popular forms like 4B/5B and 8B/10B are widely
used in Ethernet, USB, and other systems for synchronization, DC balance, and reliable
transmission.