CSC 498 · Computer Network and Data Communications
Our notes
2 min readWhy modulate
- To move a signal to a frequency that the medium carries well (radio waves need antennas about λ/4 long: impossible for audio frequencies directly).
- To share a medium: different stations use different carrier frequencies.
Modulation changes a carrier wave (A sin(2πf_c t + φ)) in amplitude, frequency or phase according to the message. Demodulation recovers the message at the receiver. A modem (modulator-demodulator) does both.
Analogue modulation (analogue message)
| AM | FM | PM | |
|---|---|---|---|
| What changes | amplitude | frequency | phase |
| Bandwidth | 2 × message bandwidth (two sidebands) | wider (Carson's rule: 2(Δf + f_m)) | similar to FM |
| Noise | sensitive (noise adds to amplitude) | much better | good |
| Use | AM radio (MW, 10 kHz channels) | FM radio (200 kHz channels, 88-108 MHz) | inside digital systems |
Worked example. An AM station sends audio up to 5 kHz on a 700 kHz carrier: sidebands 695-705 kHz, bandwidth 10 kHz. An FM station with 75 kHz deviation and 15 kHz audio: Carson's bandwidth = 2(75 + 15) = 180 kHz.
Digital modulation (digital data on an analogue carrier)
- ASK (amplitude-shift keying): 1 = carrier on, 0 = off (or two amplitudes). Simple, sensitive to noise; used in optical fibre (light on/off).
- FSK (frequency-shift keying): two frequencies for 0 and 1. Robust; early modems (Bell 103), caller-ID, some IoT radios.
- PSK (phase-shift keying): phase shifts. BPSK (0° and 180°: 1 bit/symbol), QPSK (four phases: 2 bits/symbol). Satellite links, Wi-Fi at low rates.
- QAM (quadrature amplitude modulation): amplitude and phase change together. 16-QAM: 4 bits/symbol; 64-QAM: 6; 256-QAM: 8 (used in Wi-Fi, 4G/5G and cable modems when the signal is strong).
- A constellation diagram plots each symbol as a point (amplitude as distance from the centre, phase as angle). More points pack more bits per symbol but sit closer together, so noise causes more errors: phones fall back to QPSK at the edge of a cell.
Worked example. A link at 1 million symbols per second: QPSK gives 2 Mbps, 64-QAM 6 Mbps.
Analogue data on a digital network: PCM
Pulse code modulation: filter the voice to about 4 kHz → sample at 8,000 times a second (Nyquist) → quantise each sample to one of 256 levels → encode as 8 bits → 64 kbps. Quantisation adds small errors (quantisation noise); companding (μ-law in North America, A-law in Europe and Africa) gives quiet sounds finer steps.
- Delta modulation sends only whether each sample is higher or lower than the last (1 bit per sample).
Demodulation in practice
Receivers recover the carrier (synchronisation), compare the received signal with the expected symbols and decide which was sent. Coherent detection (receiver knows the carrier phase) performs better than non-coherent detection but is more complex.
Exams usually ask: why modulation is needed; describe and sketch AM, FM, ASK, FSK and PSK waveforms for a bit pattern; compare them; QAM and constellations; bandwidth of AM and FM; the steps of PCM and the 64 kbps result.
Common mistake: sketching PSK by changing the amplitude. In PSK the amplitude and frequency stay fixed; only the phase jumps (a 180° shift looks like the wave suddenly flipping).
Written by the UniHive team in our own words. Spotted a mistake? Tell us on WhatsApp.
Read
-
Best pick MIT 6.02 notes: Modulation and demodulation
MIT course notes chapter (PDF, about 1.4 MB): fuller than our notes, with worked examples.
(opens ocw.mit.edu in a new tab)
MIT OpenCourseWare, MIT 6.02 notes: Modulation and demodulation, CC BY-NC-SA 4.0 · licence
-
Signal modulation
(opens en.wikipedia.org in a new tab)
Wikipedia, Signal modulation, CC BY-SA 4.0 · licence
-
Phase-shift keying
(opens en.wikipedia.org in a new tab)
Wikipedia, Phase-shift keying, CC BY-SA 4.0 · licence
-
Frequency-shift keying
(opens en.wikipedia.org in a new tab)
Wikipedia, Frequency-shift keying, CC BY-SA 4.0 · licence
-
Modem
(opens en.wikipedia.org in a new tab)
Wikipedia, Modem, CC BY-SA 4.0 · licence
Watch
We link to free material and never copy it. Every link was opened by our team before it went up; video data is a rough guide at 360p.