Data CommunicationUnit 37 min read
Data Transmission Techniques & Modulation: Encoding, Modems, Multiplexing, and Signals
Unit 3 of Data Communication: Explores how digital data is converted into signals for transmission, covering encoding schemes, modulation techniques (AM, FM, PSK, QAM), multiplexing (FDM, TDM, WDM), and real-world applications in eSewa, NTC, and Daraz.
TAKEAWAYS:
- Encoding converts binary data into signal patterns (e.g., NRZ, Manchester) for reliable transmission.
- Modulation maps digital bits onto analog carriers (AM/FM/PSK) to travel over long-distance media like radio waves.
- Multiplexing shares bandwidth efficiently (FDM for radio, TDM for phone calls, WDM for fiber optics).
- Baud rate ≠ bit rate: Higher-level modulation (e.g., 16-QAM) encodes more bits per symbol, increasing throughput.
- Real-world use: eSewa’s secure transactions rely on modulation; NTC’s fiber networks use WDM for high-speed data.
- Exam focus: Compare encoding vs. modulation, explain PSK/QAM with diagrams, and solve bit-rate/baud-rate problems.
1. Introduction: From Bits to Signals
Data communication starts with binary data (0s and 1s) but transmits it as electrical signals, light pulses, or radio waves. This unit covers how we bridge the gap:
figure: Binary → Signal Conversion
```mermaid
flowchart TD
A[Binary Data: 101010] --> B[Encoding: NRZ/Manchester]
B --> C[Modulation: AM/FM/PSK]
C --> D[Transmission Media: Copper/Fiber/Radio]
D --> E[Demodulation & Decoding at Receiver]
Key Definitions:
- Encoding: Converts binary into signal patterns (e.g., NRZ-I, Manchester).
- Modulation: Maps encoded signals onto a carrier wave (e.g., AM, FM, PSK).
- Demodulation: Reconstructs the original data at the receiver.
2. Encoding Techniques
Encoding defines how binary data is represented as electrical signals. Common methods:
| Encoding | Signal Pattern | Advantages | Disadvantages |
|---|---|---|---|
| NRZ (Non-Return-to-Zero) | 1 = High, 0 = Low (no return) | Simple, efficient | DC bias, no clock recovery |
| NRZ-I | Toggle on every 1 | Detects clock edge | Still has DC bias |
| Manchester | Always toggles (1 = 01, 0 = 10) | Self-clocking, no DC bias | Doubles bandwidth |
| MIB (Modified NRZ) | 1 = High, 0 = Low, toggle on 0 | Balanced signal | Complex to implement |
Worked Example:
Convert 10110 to Manchester encoding:
1 → 01
0 → 10
1 → 01
1 → 01
0 → 10
Output: 01 10 01 01 10 (self-clocking, no DC bias).
| NRZ-I | Manchester |
|---|---|
| 1 | 01 |
| 0 | 10 |
| 1 | 01 |
3. Modulation: Digital to Analog
Modulation attaches digital data to an analog carrier wave (e.g., radio frequency). Why? To transmit over long distances (e.g., Wi-Fi, satellite, mobile networks).
Types of Modulation
Amplitude Modulation (AM)
- Varies the amplitude of the carrier wave.
- Used in: AM radio, old TV signals.
- Disadvantage: Vulnerable to noise (amplitude changes easily).
Frequency Modulation (FM)
- Varies the frequency of the carrier wave.
- Used in: FM radio, Bluetooth, Wi-Fi.
- Advantage: Resistant to noise.
Phase Shift Keying (PSK)
- Encodes data by shifting the phase of the carrier wave.
- Example: BPSK (2 phases), QPSK (4 phases), 16-QAM (16 phases).
- Worked Example:
Encode
101using BPSK (0 = 0°, 1 = 180°):
Signal:1 → 180° 0 → 0° 1 → 180°180° → 0° → 180°(phase shifts).
Quadrature Amplitude Modulation (QAM)
- Combines amplitude and phase modulation.
- Example: 16-QAM encodes 4 bits per symbol (vs. 2 bits in BPSK).
- Advantage: Higher data rates in limited bandwidth (used in 4G/5G, cable TV).
Comparison Table:
| Modulation | Bits/Symbol | Bandwidth Efficiency | Use Case |
|---|---|---|---|
| BPSK | 1 | Low | Low-power devices |
| QPSK | 2 | Medium | Wi-Fi, Bluetooth |
| 16-QAM | 4 | High | 4G/5G, cable modems |
| 64-QAM | 6 | Very High | High-speed internet |
figure: PSK/QAM Constellation Diagrams
```mermaid
flowchart TD
A["BPSK (2 phases)"] -->|0°/180°| B["Low bandwidth"]
C["QPSK (4 phases)"] -->|0°/90°/180°/270°| D["Medium bandwidth"]
E["16-QAM (16 points)"] -->|Amplitude + Phase| F["High bandwidth"]
4. Multiplexing: Sharing Bandwidth
Multiplexing allows multiple signals to share a single transmission medium efficiently.
| Type | How It Works | Example Use Case |
|---|---|---|
| FDM (Frequency Division) | Divides bandwidth into frequency slots | Cable TV, radio broadcasting |
| TDM (Time Division) | Shares time slots | Traditional phone networks |
| WDM (Wavelength Division) | Uses different light wavelengths (fiber) | NTC’s fiber-optic backbone |
| CDM (Code Division) | Uses unique codes (e.g., spread spectrum) | GPS, 5G |
Worked Example: In FDM, if a 10 MHz channel is divided into 5 slots of 2 MHz each, how many users can transmit simultaneously? Answer: 5 users (each gets a 2 MHz frequency slot).
figure: FDM vs TDM
```mermaid
flowchart TD
A["FDM: Frequency Slots"] --> B["User1: 1-3 MHz\nUser2: 3-5 MHz"]
C["TDM: Time Slots"] --> D["User1: Slot 1\nUser2: Slot 2"]
5. Real-World Applications
In the Real World
eSewa/Khalti (Mobile Payments)
- Idea: Modulation (PSK/QAM) ensures secure data transmission over mobile networks (3G/4G).
- How: Your transaction data is encoded in QAM symbols, sent as radio waves, and decoded at the bank’s server.
- Example: When you pay via eSewa, your PIN is transmitted using 16-QAM for high-speed, low-error communication.
NTC’s Fiber-Optic Network
- Idea: Wavelength Division Multiplexing (WDM) allows NTC to send thousands of calls/data streams simultaneously over a single fiber.
- How: Each call gets a unique wavelength (like a "color" of light), reducing cost and increasing capacity.
- Worked Example: If NTC uses 8 wavelengths (each 50 GHz wide) in a 400 GHz fiber, how many independent channels can it support? Answer: 8 channels (each 50 GHz wide).
Daraz’s Order Processing
- Idea: TDM (Time Division Multiplexing) manages multiple orders in real-time.
- How: Daraz’s servers use TDM to allocate time slots for each order’s data packet, ensuring no collision.
6. Exam Tips
Compare Encoding vs. Modulation:
- Encoding is binary → signal (e.g., NRZ).
- Modulation is signal → carrier wave (e.g., PSK).
- Exam Trick: Draw a flowchart like the one above to score full marks.
Solve Baud Rate vs. Bit Rate Problems:
- Baud rate = Symbols/second.
- Bit rate = Baud rate × bits/symbol.
- Example: If a modem uses 16-QAM (4 bits/symbol) at 2400 baud, what’s the bit rate? Calculation: 2400 × 4 = 9600 bps.
Modulation for Antenna Size:
- Higher frequencies (e.g., FM > AM) require smaller antennas.
- Why? Shorter wavelength = smaller antenna.
- Exam Tip: Mention this in the "modulation helps reduce antenna size" question.
Multiplexing in Networks:
- Always relate to real examples (e.g., "NTC uses WDM in fiber optics").
- Draw a simple FDM/TDM diagram to explain.
Final Note: Focus on definitions, comparisons, and worked examples. Modulation and multiplexing are high-weightage topics—practice diagrams and calculations!
Based on the PU BE Computer (PU) syllabus for Data Communication, unit 3.
Discussion
Loading…