Theoretical Basis of Data Communication: Bandwidth, Nyquist, and Shannon Theorems
Overview: For a noiseless channel of bandwidth 3,000 Hz with two signal levels, Nyquist gives 2 × 3,000 × log₂(2), or 6,000 bits per second.
What is Bandwidth?
- In everyday life, think of a water pipe:
- A narrow pipe can only deliver a small trickle of water per second.
- A wide pipe can deliver a huge torrent of water per second.
Transmission Impairments (Why Signals Degrade)
- When signals travel down long copper cables or through the air, they degrade due to three main problems:
- Attenuation (Loss of Energy): As a signal travels through a cable, it loses electrical strength and gets weaker (like your voice fading when you shout to…
- Distortion: Different frequency components travel at slightly different speeds down a wire, changing the shape of the signal waveform.
- Noise (External Interference): Unwanted electrical signals from lightning, microwave ovens, or nearby power lines that corrupt data bits (turning a 0 into…
Nyquist Theorem (For Noiseless Channels)
- In 1928, Harry Nyquist calculated the maximum theoretical data transmission rate for a channel with zero noise:
- Formula: Maximum Bit Rate = 2 × B × log₂(V) bps
- B = Bandwidth of the channel in Hertz (Hz).
- V = Number of discrete signal levels (voltage levels).
- 💡 Simple Example for Exams:
- If an audio channel has a bandwidth B = 3000 Hz and binary signaling (V = 2 levels):
- Bit Rate = 2 × 3000 × log₂(2) = 6000 bps = 6 kbps.
Shannon Capacity Theorem (For Real-World Noisy Channels)
- Real-world cables always have background electrical noise.
- Formula: Capacity C = B × log₂(1 + S/N) bps
- B = Bandwidth in Hertz (Hz).
- S/N = Signal-to-Noise Ratio (power of signal divided by power of noise).
- Decibel conversion: SNR (dB) = 10 × log₁₀(S/N).
- Nyquist Bandwidth and signal levels limit noiseless signalling
- Shannon Bandwidth and noise limit reliable bit rate
View diagram · Two channel limits
💡 DAVV Exam Tip
- Question (10 Marks): “Explain the theoretical basis of data communication.
-
- Write both formulas clearly.
-
- Crucial Distinction: Nyquist applies to an ideal noiseless channel, whereas Shannon applies to a real-world noisy channel.
-
- Define Attenuation, Distortion, and Noise.
Guided Transmission Media: Twisted Pair, Coaxial Cable, and Optical Fiber
Overview: Twisting copper wires helps cancel interference picked up along a cable.
Twisted Pair Cable
- Consists of two insulated copper wires twisted around each other in a helical spiral.
- Why are the wires twisted? To cancel out electromagnetic interference (EMI) and crosstalk from adjacent wire pairs.
- Two Major Varieties:
- UTP (Unshielded Twisted Pair): Cheap, flexible, used in standard office Ethernet cables (Cat5e, Cat6) with RJ-45 plastic connectors.
- STP (Shielded Twisted Pair): Has an extra metal foil shield around the wires to block heavy factory electrical noise.
Coaxial Cable
- Consists of a central solid copper conductor core surrounded by a flexible insulating layer, an outer braided copper/aluminum mesh shield, and a…
- Analogy: Your home cable TV wire (Dish TV / Hathway wire) connected to the back of your television set!
- Connectors Used: BNC (Bayonet Neill-Concelman) connectors and F-type screw connectors.
- Advantage: Better noise immunity and higher bandwidth than twisted pair.
Optical Fiber Cable (The Speed King)
- Instead of moving electrical voltages through copper, Optical Fiber transmits data as pulses of light through hair-thin strands of…
- Physical Principle: Total Internal Reflection (TIR): Light rays enter the inner Core (refractive index n1).
- When light hits the boundary of the outer glass Cladding (refractive index n2) at an angle greater than the critical angle, 100% of the…
- Inner Core Ultra-thin glass strand where light travels (n1)
- Buffer & Jacket Protective silicone coating and tough outer Kevlar jacket
- Single-Mode vs. Multi-Mode Fiber: Single-Mode Fiber (SMF): Extremely narrow core (8-10 microns); light travels in one straight line using laser light.
- Multi-Mode Fiber (MMF): Wider core (50-62.5 microns); light bounces at multiple angles using cheap LED sources.
View diagram · Optical Fiber Construction
Master Comparison Table for Exams
- Signal Type: Electrical voltage
- Material: Copper wire
- Data Rate (Speed): 100 Mbps to 10 Gbps
- Distance (Range): Max 100 meters per segment
- EMI / Noise Immunity: Low (Susceptible to noise)
- Installation Cost: Cheapest & easiest
💡 DAVV Exam Tip
- Question (10 Marks): “Explain guided transmission media with neat sketches.
-
- Draw the cross-section diagram of Optical Fiber (Core, Cladding, Jacket) and explain Total Internal Reflection.
-
- Explain why twisting wires reduces crosstalk in Twisted Pair cables.
-
- Write the 7-parameter comparison table above.
Wireless Transmission Media: Radio, Microwave, Infrared, and Satellite Communication
Overview: An infrared remote usually needs a clear path within a room.
The 3 Primary Wireless Frequency Bands
- Radio, microwave and infrared links use electromagnetic waves.
- 1. Radio Waves (3 kHz - 1 GHz) Omnidirectional; penetrates walls easily; used in FM radio, AM radio & cellular
- 2. Microwaves (1 GHz - 300 GHz) Unidirectional line-of-sight; cannot pass walls; used in radar & satellite links
- 3. Infrared (300 GHz - 400 THz) Short-range; blocked by solid obstacles; used in TV remote controls
- 1. Radio Waves (Omnidirectional): Signals propagate in all directions simultaneously from the transmitting antenna.
- Key Advantage: Penetrates through building walls and obstacles easily.
- Applications: FM/AM radio broadcasts, police wireless walkie-talkies, cellular mobile towers.
- 2. Terrestrial Microwave (Unidirectional Line-of-Sight): Highly directional focused electromagnetic beams.
View diagram · The Three Main Wireless Bands
Satellite Communication
- A communication satellite is essentially a massive repeater in outer space.
- GEO (Geostationary Orbit): Exactly 35,786 km directly above the equator
- MEO (Medium Earth Orbit): 2,000 km to 20,000 km
- LEO (Low Earth Orbit): 500 km to 1,500 km
💡 DAVV Exam Tip
- Question (10 Marks): “Explain wireless transmission media.
-
- Compare Omnidirectional (Radio) vs Line-of-Sight (Microwave) vs Short-range (Infrared).
-
- Give the exact GEO altitude: 35,786 km.
-
- Mention Starlink as a modern example of LEO satellite internet.
Analog and Digital Transmission: Signal Characteristics, Modems, and Modulation
Overview: A microphone produces a continuously changing signal.
Analog vs. Digital Signals
- An analogue signal can vary continuously over its range.
View diagram · Analog vs Digital Signals
What is a MODEM? (MOdulator - DEModulator)
- A Modem is a hardware device that converts signals between digital and analog forms:
- Modulation (Sender side): Converts digital binary data (square pulses) into an analog carrier wave (sine wave) so it can travel down telephone copper…
- Demodulation (Receiver side): Converts the incoming analog wave back into digital 0s and 1s so the receiving computer can read it.
View diagram · What is a MODEM? (MOdulator - DEModulator)
Digital Modulation Techniques (ASK, FSK, PSK, QAM)
- When sending digital bits (0s and 1s) over an analog carrier wave:
- Formula: s(t) = A \sin(2π f t + φ)
- 1. ASK (Amplitude Shift Keying) Bit 1 = High amplitude wave; Bit 0 = Zero/low amplitude.
- 2. FSK (Frequency Shift Keying) Bit 1 = High frequency (fast waves); Bit 0 = Low frequency (slow waves).
- 3. PSK (Phase Shift Keying) Change the phase angle (e.g., 180° flip) to represent a change between 0 and 1
- 4. QAM (Quadrature Amplitude) Combines ASK + PSK to transmit multiple bits (4, 8, 16 bits) in a single wave cycle!
View diagram · Basic Digital Modulation Techniques
💡 DAVV Exam Tip
- Question (10 Marks): “Explain the difference between Analog and Digital transmission.
-
- Draw the continuous sine wave (Analog) vs square pulse (Digital).
-
- Explain Modem: Modulator + Demodulator.
-
- Draw the 3 modulation waveforms for bit sequence
1 0 1 1 0.
- Draw the 3 modulation waveforms for bit sequence
Multiplexing Techniques: FDM, TDM, STDM, and WDM
Overview: FDM gives two stations different frequency bands at the same time.
What is Multiplexing?
- Multiplexing is the technique of combining multiple low-speed data signals from different users into one single high-speed composite signal…
- Input Channels Multiple low-speed data streams (Channel 1, 2, 3)
- Shared Fast Cable Single high-speed transmission medium (Fiber / Coaxial)
- Receivers Delivered reliably to individual destination endpoints
- Multiplexer (MUX): Combines N input lines into 1 physical transmission line at the sender side.
- Demultiplexer (DEMUX): Splits the 1 line back into N separate output lines at the receiver side.
View diagram · Multiplexing and Demultiplexing Architecture
The Four Major Multiplexing Techniques
- FDM separates users by frequency and fixed TDM separates them by time slot.
- 1. FDM (Frequency Division) Total bandwidth split into distinct frequency channels (FM radio, TV broadcast)
- 2. WDM (Wavelength Division) FDM applied to optical fiber: different colors (wavelengths) of laser light
- 3. Synchronous TDM Time divided into fixed round-robin slots; slots wasted if user is idle
- 4. Statistical TDM (STDM) Time slots allocated dynamically on demand; zero wasted bandwidth!
- Detailed Comparison: Synchronous TDM vs. Statistical TDM (STDM): This is a favorite 5-mark question in DAVV exams:
- Slot Allocation: Fixed, predetermined round-robin time slots.
- Idle User Handling: If User B has no data to send, their time slot travels completely empty (wasted capacity).
View diagram · Main Multiplexing Techniques
💡 DAVV Exam Tip
- Question (10 Marks): “What is Multiplexing?
-
- Draw the MUX / DEMUX block diagram.
-
- Explain FDM: Dividing total bandwidth into frequency slices separated by Guard Bands (to prevent signal overlap).
-
- Include the Synchronous vs Statistical TDM comparison table above.
Switching Techniques: Circuit, Message, and Packet Switching
Overview: A circuit reserves capacity for a conversation.
The Three Primary Switching Methods
- Circuit switching reserves a path and message switching forwards a whole message.
- 1. Circuit Switching Dedicated end-to-end physical path reserved before transmission (Traditional Landline Phones)
- 2. Message Switching Entire message sent node-to-node using Store-and-Forward (Telegraph / Early Email)
- 3. Packet Switching Message broken into small independent packets; foundation of the modern Internet!
- 1. Circuit Switching (Reserved Path): Three Phases:
- Circuit Establishment: A dedicated physical electrical connection is reserved through all intermediate switches.
- Data Transfer: Voice or data travels with zero buffering delay.
- Circuit Teardown: The physical path is disconnected when the call ends.
View diagram · The Three Switching Paradigms
Packet Switching: Datagram vs. Virtual Circuit
- In exams, you are often asked to compare the two flavors of packet switching:
- Path Setup: No path setup. Packets sent immediately.
- Packet Routing: Each packet is treated independently; packets can take different routes.
- Arrival Order: Packets may arrive out-of-order (reassembled by TCP).
- Router Failure: If Router X dies, remaining packets simply take another route around it.
- Addressing: Every single packet must carry full 32-bit Source and Destination IP addresses.
Master Comparison: Circuit vs. Message vs. Packet Switching
- Dedicated Physical Path: Yes (compulsory)
- Data Unit: Continuous bitstream
- Store-and-Forward Delay: Zero delay during call
- Line Utilization: Poor (wasted during silence)
- Real-World Application: Traditional Landline Telephone
💡 DAVV Exam Tip
- Question (10 Marks): “Explain Circuit, Message, and Packet Switching.
-
- Draw the 3-phase flow for Circuit Switching (Setup -> Transfer -> Teardown).
-
- Define the Store-and-Forward mechanism.
-
- Write the Datagram vs Virtual Circuit table above.