Data Communication · Lecture 3
Impairments, the limits of data rate, and network performance
Md Mahbub E Noor · Assistant Professor, Department of CSE, University of Barishal
Course: Data Communication · 2nd Year, 2nd Semester
Lecture 2
Ideal signals: sine waves, spectra, bandwidth, and B ≈ N/2.
Today
Real channels: what damages signals, how fast a channel can go, and how we measure a network.
Reading: Forouzan, Data Communications and Networking, Sections 3.4 to 3.6
Md Mahbub E Noor
Lecture 3: Data and Signals II
University of Barishal
2 / 32
Loss of energy: the signal gets weaker
Change of shape: components arrive out of step
Unwanted energy added: random wiggles
Md Mahbub E Noor
Lecture 3: Data and Signals II
University of Barishal
3 / 32
Point 1: original
Point 2: weakened
Amplifier
Point 3: restored
Copper loses energy as heat; fibre loses light to scattering and absorption; radio spreads out in space.
Md Mahbub E Noor
Lecture 3: Data and Signals II
University of Barishal
4 / 32
dB = 10 log₁₀(P₂ / P₁)
dB = 20 log₁₀(V₂ / V₁)
P = power (watts) · V = voltage (volts) · 1 = input, 2 = output
| Power ratio P₂/P₁ | Decibels | Meaning |
|---|---|---|
| × 2 | +3 dB | power doubled |
| × 10 | +10 dB | ten times stronger |
| × 100 | +20 dB | a hundred times stronger |
| × 0.5 | −3 dB | half the power lost |
| × 0.1 | −10 dB | 90% of the power lost |
Md Mahbub E Noor
Lecture 3: Data and Signals II
University of Barishal
5 / 32
Power halved
10 log₁₀(0.5) = 10 × (−0.301)
−3 dB
Power × 10 (amplifier)
10 log₁₀(10) = 10 × 1
+10 dB
Voltage halved
20 log₁₀(0.5) = 20 × (−0.301)
−6 dB
Md Mahbub E Noor
Lecture 3: Data and Signals II
University of Barishal
6 / 32
−3 dB
+7
−3 dB
−3 + 7 − 3 = +1 dB
Cable loss per km: −0.3 dB/km × 5 km = −1.5 dB. With P₁ = 2 mW: P₂ = 2 × 10^(−0.15) ≈ 1.42 mW
Md Mahbub E Noor
Lecture 3: Data and Signals II
University of Barishal
7 / 32
Interactive
Md Mahbub E Noor
Lecture 3: Data and Signals II
University of Barishal
8 / 32
Checkpoint 1 · 3 minutes
A signal's power drops to one quarter. What is the loss in dB?
Three stages: −2 dB, +10 dB, −5 dB. What is the total?
10 mW enters a 10 km cable losing 0.5 dB/km. What power leaves?
Md Mahbub E Noor
Lecture 3: Data and Signals II
University of Barishal
9 / 32
At the sender: f and 3f in step, flat-topped shape
At the receiver: 3f delayed, the shape is bent
Each frequency travels at a slightly different speed, so components drift out of phase.
Md Mahbub E Noor
Lecture 3: Data and Signals II
University of Barishal
10 / 32
| Type | Cause | Everyday example |
|---|---|---|
| Thermal | Random motion of electrons in any conductor | The hiss on a radio between stations |
| Induced | Motors and appliances act as transmitters | A fan motor buzzing in speakers |
| Crosstalk | One wire picks up a neighbouring wire's signal | Hearing another call on a landline |
| Impulse | Sudden spikes: lightning, power switching | A click when a heavy load turns on |
Sent + noise = received
Md Mahbub E Noor
Lecture 3: Data and Signals II
University of Barishal
11 / 32
Animation: SNR sweeps from 30 dB down to 0 dB and back
Md Mahbub E Noor
Lecture 3: Data and Signals II
University of Barishal
12 / 32
Signal 10 mW, noise 1 µW
SNR = 10⁻² / 10⁻⁶ = 10,000 → 10 log₁₀ 10⁴
SNR = 20 dB as a ratio
SNR = 10^(20/10) = 10²
Md Mahbub E Noor
Lecture 3: Data and Signals II
University of Barishal
13 / 32
Checkpoint 2 · 3 minutes
Signal power 2 W, noise power 2 mW. What is SNR in dB?
A channel's SNR is 30 dB. How many times stronger is the signal than the noise?
Which noise type does twisting the wires in a cable mainly reduce?
Md Mahbub E Noor
Lecture 3: Data and Signals II
University of Barishal
14 / 32
Noiseless channel
N = 2 B log₂ L
Depends on bandwidth B and number of signal levels L
Noisy channel (every real one)
C = B log₂(1 + SNR)
Depends on bandwidth B and the signal-to-noise ratio
Md Mahbub E Noor
Lecture 3: Data and Signals II
University of Barishal
15 / 32
| Bandwidth B | Levels L | Bits per level | Max bit rate 2B log₂L |
|---|---|---|---|
| 3,000 Hz | 2 | 1 | 6,000 bps |
| 3,000 Hz | 4 | 2 | 12,000 bps |
| 3,000 Hz | 16 | 4 | 24,000 bps |
| 20 kHz | 64 | 6 | 240 kbps |
Need 265 kbps over 20 kHz? log₂L = 265,000 / 40,000 = 6.625, so L ≈ 98.7. Levels must be a power of 2: use 128 levels (280 kbps), or 64 levels and accept 240 kbps.
Md Mahbub E Noor
Lecture 3: Data and Signals II
University of Barishal
16 / 32
Telephone line: B = 3,000 Hz, SNR = 35 dB = 3,162
C = 3,000 × log₂(1 + 3,162)
= 3,000 × 11.62
C ≈ 34,860 bps
Very noisy channel: SNR ≈ 0
C = B log₂(1 + 0) = B × 0 = 0
No data at all, however wide the bandwidth
Md Mahbub E Noor
Lecture 3: Data and Signals II
University of Barishal
17 / 32
Step 1 · Shannon ceiling
10⁶ × log₂(1 + 63) = 10⁶ × 6
6 Mbps
Step 2 · choose a safer rate
leave margin below the ceiling
4 Mbps
Step 3 · Nyquist for levels
4 Mbps = 2 × 10⁶ × log₂L → log₂L = 2
L = 4
Shortcut when SNR ≫ 1: C ≈ B × SNR(dB) / 3. For B = 2 MHz, 36 dB: C ≈ 24 Mbps.
Md Mahbub E Noor
Lecture 3: Data and Signals II
University of Barishal
18 / 32
Interactive
Md Mahbub E Noor
Lecture 3: Data and Signals II
University of Barishal
19 / 32
Checkpoint 3 · 3 minutes
Noiseless channel, B = 4 kHz, L = 16 levels. Maximum bit rate?
B = 3 kHz, SNR = 255. What is the Shannon capacity?
If the SNR doubles but B stays the same, does the capacity double?
Md Mahbub E Noor
Lecture 3: Data and Signals II
University of Barishal
20 / 32
| Measure | What it tells you | Unit | On a highway |
|---|---|---|---|
| Bandwidth | Capacity of the link (Hz or bps) | Hz, bps | Number of lanes |
| Throughput | Data actually delivered per second | bps | Cars that actually pass |
| Latency | Time for a message to arrive | s | Journey time |
| Bandwidth × delay | Bits in flight on the link at once | bits | Cars on the road at once |
| Jitter | Variation in delay between packets | s | Uneven arrival of buses |
Bandwidth is what the link could do; throughput is what it actually does; latency is how long it takes.
Md Mahbub E Noor
Lecture 3: Data and Signals II
University of Barishal
21 / 32
Frames delivered per second
12,000 frames ÷ 60 s = 200 frames/s
200 frames/s
Throughput
200 × 10,000 bits
2 Mbps
The link could carry 10 Mbps, but only one fifth of that is actually used.
Md Mahbub E Noor
Lecture 3: Data and Signals II
University of Barishal
22 / 32
■ Propagation
■ Transmission
■ Queuing
■ Processing
propagation = distance / speed
transmission = size / bandwidth
Queuing: waiting in router buffers behind other packets. Processing: reading headers and choosing a route.
Md Mahbub E Noor
Lecture 3: Data and Signals II
University of Barishal
23 / 32
Propagation · 12,000 km at 2.4 × 10⁸ m/s
12 × 10⁶ m ÷ 2.4 × 10⁸ m/s
50 ms
Email · 2.5 kB over 1 Gbps
20,000 bits ÷ 10⁹ bps
20 µs
Image · 5 MB over 1 Mbps
40 × 10⁶ bits ÷ 10⁶ bps
40 s
Md Mahbub E Noor
Lecture 3: Data and Signals II
University of Barishal
24 / 32
Interactive
Md Mahbub E Noor
Lecture 3: Data and Signals II
University of Barishal
25 / 32
length of the pipe = delay
height = bandwidth
100 Mbps × 20 ms = 2,000,000 bits
= 250 kB in flight
A sender that waits for a reply after every packet leaves this pipe almost empty (Lecture 12).
Md Mahbub E Noor
Lecture 3: Data and Signals II
University of Barishal
26 / 32
Sent: every 20 ms · received: gaps of 25, 15 and 35 ms
| Packet | Sent (ms) | Arrived (ms) | Delay (ms) |
|---|---|---|---|
| 1 | 0 | 100 | 100 |
| 2 | 20 | 125 | 105 |
| 3 | 40 | 140 | 100 |
| 4 | 60 | 175 | 115 |
Md Mahbub E Noor
Lecture 3: Data and Signals II
University of Barishal
27 / 32
Md Mahbub E Noor
Lecture 3: Data and Signals II
University of Barishal
28 / 32
Click the video to play or pause · Press → for full screen
Md Mahbub E Noor
Lecture 3: Data and Signals II
University of Barishal
29 / 32
Checkpoint 4 · 3 minutes
A 1,000-bit frame is sent over a 1 Mbps link that is 2,000 km long (speed 2 × 10⁸ m/s). What is the latency, ignoring queuing?
What is the bandwidth-delay product of that link?
Packets arrive 50, 52, 70 and 51 ms after being sent. Is there jitter, and which packet suffered most?
Md Mahbub E Noor
Lecture 3: Data and Signals II
University of Barishal
31 / 32
Next lecture
Twisted pair, coaxial cable, optical fibre and wireless: how each one fights attenuation and noise, and where each is used.
Reading: Forouzan, Chapter 7 · Practise in Channel Lab
Md Mahbub E Noor
Lecture 3: Data and Signals II
University of Barishal
32 / 32