Digital Transmission
Digital Transmission is the process of sending data using digital signals.
It forms the foundation of modern networking systems, enabling reliable
communication between computers, servers, routers, smartphones, and other
digital devices.
What is Digital Transmission?
Digital transmission is the process of transmitting information using
discrete digital signals, typically represented as binary values (0s and
1s).
Unlike analog transmission, which uses continuous signals, digital
transmission uses specific voltage levels to represent binary data.
Real-World Example
When you send a WhatsApp message:
- The text is converted into binary data (0s and 1s).
- The binary data is encoded into digital signals.
- The signals travel through network cables, fiber optics, or wireless channels.
- The receiving device decodes the signals and reconstructs the original message.
This entire process relies on digital transmission.
Why is Digital Transmission Important?
Digital transmission offers several advantages:
- Higher noise immunity
- Better data accuracy
- Easier error detection and correction
- Improved security through encryption
- Compatibility with modern computers and digital devices
Because of these benefits, most modern communication systems use digital
transmission.
Digital-to-Digital Conversion
What is Digital-to-Digital Conversion?
Digital-to-Digital Conversion is the process of converting digital data
into digital signals suitable for transmission over a communication
medium.
A computer generates binary digits (0s and 1s), but these bits cannot
travel directly through a cable. They must first be encoded into electrical,
optical, or electromagnetic signals.
This encoding process is known as Digital-to-Digital Encoding.
Categories of Digital Encoding
Digital encoding techniques are broadly classified into:
- Unipolar Encoding
- Polar Encoding
- Bipolar Encoding
1. Unipolar Encoding
What is Unipolar Encoding?
Unipolar encoding uses only one polarity (positive voltage) to represent
binary data.
Example
Binary Data:
10110
Signal Representation:
+V 0 +V +V 0
Where:
+V = Positive voltage
0 = No voltage
Advantages
- Very simple implementation
- Low cost
Disadvantages
1. DC Component Problem
Because only positive voltages are used, the average signal voltage becomes
high, creating a DC component that is undesirable for transmission.
2. Synchronization Problem
Long sequences of 0s or 1s may cause the receiver to lose timing
information.
Because of these limitations, unipolar encoding is rarely used in modern
communication systems.
Understanding Synchronization
Before learning advanced encoding methods, it's important to understand
synchronization.
Synchronization means the sender and receiver remain aligned on the timing
of each transmitted bit.
Example
Suppose the sender transmits:
11111111
Without voltage transitions, the receiver may not know where one bit ends
and the next begins.
Encoding techniques therefore introduce signal transitions that help
maintain synchronization.
2. Polar Encoding
What is Polar Encoding?
Polar encoding uses two voltage levels:
- Positive voltage (+V)
- Negative voltage (-V)
This reduces the DC component problem found in unipolar encoding.
Types of Polar Encoding
1. NRZ (Non-Return-to-Zero)
NRZ is one of the simplest encoding techniques.
The signal remains at a constant level during the entire bit period.
There are two major forms:
NRZ-L (Non-Return-to-Zero Level)
The voltage level depends on the bit value.
Example:
Bit Voltage
0 Positive
1 Negative
The signal level directly represents the bit state.
NRZ-I (Non-Return-to-Zero Inverted)
In NRZ-I, the bit value is represented by a change in voltage level.
Bit Action
0 No change
1 Change voltage
Example
Binary Data:
10110
Whenever a 1 occurs, the signal changes polarity.
Advantages
- Better synchronization than NRZ-L
- Less sensitive to polarity inversion
Disadvantages
Long sequences of 0s can still cause synchronization issues
2. RZ (Return-to-Zero)
What is RZ?
In Return-to-Zero encoding, the signal returns to zero in the middle of
every bit period.
Three voltage levels are used:
Positive
Negative
Zero
Representation
Bit Signal
1 Positive → Zero
0 Negative → Zero
Advantages
Improved synchronization
Disadvantages
- Requires more bandwidth
- Two signal transitions may occur for every bit
Biphase Encoding
Biphase encoding introduces a transition in the middle of each bit period,
making synchronization highly reliable.
Two common forms are:
- Manchester Encoding
- Differential Manchester Encoding
Manchester Encoding
Manchester encoding guarantees synchronization by forcing a transition at
the center of every bit.
Representation
Bit Transition
1 Negative → Positive
0 Positive → Negative
Advantages
- Excellent synchronization
- Self-clocking signal
Disadvantages
- Requires higher bandwidth
- Real-World Use
Traditional Ethernet networks (10 Mbps Ethernet) used Manchester
encoding.
Differential Manchester Encoding
Differential Manchester also provides synchronization through a middle-bit
transition.
The difference lies in how bits are identified.
Representation
Bit Beginning Transition
0 Transition Present
1 No Transition
Advantages
- Excellent synchronization
- More resistant to polarity reversal
Applications
Used in various communication and storage systems.
3. Bipolar Encoding
What is Bipolar Encoding?
Bipolar encoding uses three voltage levels:
- Positive (+V)
- Negative (-V)
- Zero (0)
Representation
Bit Voltage
0 Zero
1 Alternating Positive and
Negative
Example:
Binary Data: 1111
Signal: +V -V +V -V
Alternating voltages eliminate the DC component.
AMI (Alternate Mark Inversion)
What is AMI?
AMI is the most common bipolar encoding technique.
The word Mark historically means binary 1.
Representation
Bit Voltage
0 Zero
1 Alternating Positive and
Negative
Advantages
No DC component
Good synchronization for consecutive 1s
Disadvantages
Long sequences of 0s still create synchronization problems
B8ZS (Bipolar 8-Zero Substitution)
Why B8ZS?
Long sequences of zeros generate no signal transitions.
Without transitions, synchronization may be lost.
B8ZS solves this issue by replacing eight consecutive zeros with a special
pattern containing deliberate bipolar violations.
Features
Developed in North America
Based on AMI encoding
Maintains synchronization during long zero sequences
Applications
Widely used in T1 digital transmission systems.
HDB3 (High-Density Bipolar 3)
What is HDB3?
HDB3 is another synchronization enhancement technique for bipolar
systems.
Instead of waiting for eight zeros like B8ZS, HDB3 replaces sequences of
four consecutive zeros.
Features
- Developed in Europe and Japan
- Improves synchronization
- Eliminates long zero sequences
Applications
Widely used in E-carrier telecommunications systems.
Analog-to-Digital Conversion
What is Analog-to-Digital Conversion?
Many real-world signals are analog in nature.
Examples include:
- Human voice
- Music
- Temperature measurements
- Video signals
To process these signals using computers, they must be converted into
digital form.
This process is known as Analog-to-Digital Conversion (ADC).
Why Convert Analog Signals to Digital?
Digital signals offer:
- Better noise resistance
- Easier storage
- Reliable transmission
- Efficient processing
Real-World Example
During a phone call:
- Your voice is an analog signal.
- The smartphone samples the voice.
- The samples are converted into digital data.
- Digital packets are transmitted through the network.
- The receiver reconstructs the original voice.
Techniques for Analog-to-Digital Conversion
The major techniques are:
- PAM (Pulse Amplitude Modulation)
- PCM (Pulse Code Modulation)
PAM (Pulse Amplitude Modulation)
What is PAM?
Pulse Amplitude Modulation is the first step in converting an analog signal
into digital form.
How PAM Works
- Measure the signal at regular intervals.
- Create pulses whose amplitudes correspond to the measured values.
This process is called sampling.
Example
Imagine measuring the height of ocean waves every second.
Each measurement becomes a pulse.
Limitation
Although PAM creates pulses, the pulse amplitudes can still take many
values.
Therefore, PAM alone does not create a true digital signal.
PCM (Pulse Code Modulation)
What is PCM?
PCM is the most widely used analog-to-digital conversion technique.
It converts analog signals into fully digital binary data.
PCM Process
PCM consists of four major stages:
1. Sampling
Measure the analog signal at fixed intervals.
2. Quantization
Assign each sample to the nearest predefined level.
3. Binary Encoding
Convert quantized values into binary numbers.
4. Digital Transmission
Transmit the binary data using digital encoding techniques.
Practical Applications of PCM
PCM is widely used in:
- Digital telephony
- Voice over IP (VoIP)
- Audio CDs
- Digital audio recording
- Video conferencing systems