Modulation and multiple access
Modulation methods (AM, FM, PM, ASK, FSK, PSK, QAM) and multiple-access techniques (FDMA, TDMA, CDMA, OFDMA, SDMA) used to put sensor data onto radio channels and share spectrum among many nodes.
Drafted with Aria, reviewed by the AiCanCode.org team · Updated . How we write and check our notes. Spotted an error? Use Give Feedback at the bottom of the page.
Why it matters
Wireless sensor network nodes must convert sensor data into radio signals (modulation) and share limited spectrum and time among many devices (multiple access). An engineer designs physical-layer links, selects modulation for range/energy/complexity trade-offs, and chooses MAC access schemes (FDMA/TDMA/CDMA/OFDMA) to meet throughput, latency and energy goals.
Key ideas
Start from first principles: a continuous-wave carrier is a sinusoid. A message (baseband) signal m(t) changes some parameter of this carrier to send information.
Carrier: a high-frequency sinusoid used to carry information. Represented by A_c cos(2πf_c t + φ_c) where A_c is amplitude, f_c frequency and φ_c phase. (Used everywhere below.)
Modulation: the process of varying a property of the carrier according to the message m(t).
Amplitude modulation (AM): vary the carrier amplitude. For single-tone message m(t)=A_m cos(2πf_m t) the standard (conventional) AM signal is s(t)=A_c[1 + μ cos(2πf_m t)] cos(2πf_c t) where μ is the modulation index (μ = A_m / A_c). Assumption: μ≤1 for no overmodulation.
- Draw: time-domain carrier (cosine) and overlaid amplitude envelope 1+μ cos(2πf_m t); label carrier amplitude A_c and envelope peaks.
- Spectrum: a delta at f_c (carrier) and two sidebands at f_c ± f_m with amplitudes proportional to μA_c/2. Draw frequency axis, mark f_c, f_c±f_m and relative amplitudes.
Angle modulation: change carrier phase or frequency.
- Phase modulation (PM): instantaneous phase φ_i(t)=2πf_c t + k_p m(t), where k_p is in radians per unit of m. For single-tone, spectrum is complex and described by Bessel functions.
- Frequency modulation (FM): instantaneous frequency f_i(t)=f_c + k_f m(t). Equivalent instantaneous phase φ_i(t)=2πf_c t + 2πk_f ∫ m(τ) dτ. Define frequency deviation Δf as the peak shift of carrier frequency for a given message amplitude, and modulation index β = Δf / f_m (for single-tone of freq f_m).
- Carson's rule (practical bandwidth estimate for FM single-tone): approximate bandwidth BW ≈ 2(Δf + f_m).
- Draw: FM time-domain showing carrier cycles compressing/expanding with instantaneous frequency; on frequency axis show many sidebands whose amplitude follows Bessel functions.
Digital modulation: map bits to discrete changes in amplitude, frequency or phase.
- ASK / OOK (On-Off Keying): amplitude levels represent bits (e.g., 0 -> zero carrier, 1 -> carrier). Simple but sensitive to noise.
- FSK (Frequency-Shift Keying): different frequencies represent symbols (binary: two frequencies). Orthogonal FSK is energy-efficient for noncoherent detection.
- PSK (Phase-Shift Keying): different phases represent symbols. BPSK uses two phases 0 and π (one bit per symbol). QPSK (also called 4-PSK) uses four phases (2 bits per symbol) — draw a 4-point constellation at 45°, 135°, 225°, 315° or standard 4 quadrants and label symbol bits.
- QAM (Quadrature Amplitude Modulation): combine amplitude and phase to form constellation points (e.g., 16-QAM has 16 points). Spectrally efficient but needs good SNR.
- For coherent detection, BPSK has the lowest BER among binary coherent schemes for a given Eb/N0. With Gray coding, QPSK has the same bit-error rate as BPSK at a given Eb/N0.
Multiple access: methods to allow many users to share spectrum.
- FDMA (Frequency Division Multiple Access): assign disjoint frequency bands to users. Requires filters and guard bands.
- TDMA (Time Division Multiple Access): users transmit in assigned time slots in a repeating frame. Requires tight time synchronization.
- CSMA/CA (Carrier Sense Multiple Access with Collision Avoidance): contention-based random access used in low-power WSNs (e.g., IEEE 802.15.4). Nodes sense the channel, back off randomly, and use clear channel assessment; simple and flexible but collisions/hidden nodes can degrade throughput at high load. Variants include slotted CSMA/CA and slotted ALOHA.
- CDMA (Code Division Multiple Access): all users transmit over same band and time but use different spreading codes. Define spreading factor (processing gain) G_p = chip_rate / data_rate. Larger G_p increases resilience to noise and interference but costs bandwidth.
- OFDMA: divide band into many orthogonal subcarriers (like OFDM) and assign subcarrier sets to users; used where frequency-selective fading occurs.
- SDMA (Space Division Multiple Access): use spatial separation (directional antennas, MIMO beams) to serve users simultaneously.
- Important CDMA concept: near–far problem — a strong nearby transmitter can drown a weak distant one unless power control is used.
Spectral efficiency and capacity: Shannon capacity for AWGN channel: C = B log2(1+SNR) bits/s (where B is bandwidth in Hz). Defines maximum achievable rate; modulation and coding design aim to approach this bound.
Where exams ask for derivations, typical ones are: AM power derivation, FM Carson rule derivation/use, and probability-of-error for BPSK in AWGN (derive matched filter and Q-function result). Below we show these step-by-step where requested.
Formulas
s(t) = A_c cos(2π f_c t + φ_c) — carrier; A_c in volts (V), f_c in hertz (Hz), φ_c in radians. Applies always as carrier definition.
s_AM(t) = A_c [1 + μ cos(2π f_m t)] cos(2π f_c t) — conventional AM with single-tone message; μ is modulation index (unitless), applies for μ≤1 to avoid overmodulation.
μ = A_m / A_c — modulation index for single-tone AM; A_m message amplitude in V, A_c carrier amplitude in V.
P_c = A_c^2 / (2 R) — carrier power in resistive load R (ohm, Ω), A_c in V, power in watts (W). Applies when carrier is cosinusoid across R.
P_total(AM) = P_c (1 + μ^2 / 2) — total power transmitted by AM signal for single-tone modulation; P_c in W, μ unitless.
φ_i(t) = 2π f_c t + 2π k_f ∫ m(τ) dτ — instantaneous phase for FM; k_f in Hz per unit of m, m(t) message.
Δf = k_f A_m — frequency deviation for single-tone message amplitude A_m; Δf in Hz.
β = Δf / f_m — modulation index for FM (unitless) for single-tone message of frequency f_m in Hz.
Carson's rule: BW ≈ 2 (Δf + f_m) — approximate FM transmitted bandwidth in Hz for single-tone message.
G_p = W / R_b — processing gain for spread-spectrum/CDMA; W is chip (spread) rate in chips/s (Hz), R_b is data bit rate in bits/s (bps), G_p is unitless.
C = B log2(1 + S/N) — Shannon capacity in bits/s; B in Hz, S/N is signal-to-noise power ratio (unitless). Apply for AWGN channel and ideal coding.
R_b = R_s log2 M — relation between bit rate R_b (bits/s), symbol rate R_s (baud), and constellation size M for M-ary modulation.
E_b/N_0 = (E_s/N_0) · (R_s/R_b) = (E_s/N_0) / log2 M — relates bit and symbol energy-to-noise ratios.
E_b/N_0 = (S/N) · (B/R_b) — relates bit energy to SNR over bandwidth B (Hz).
P_b(BPSK) = Q(√(2 E_b / N_0)) — bit error probability for coherent BPSK in AWGN. E_b is energy per bit (J), N_0 is noise power spectral density (W/Hz). Q(x) = (1/√(2π)) ∫_x^∞ e^{-t^2/2} dt.
Worked examples
- AM total power calculation Given: carrier amplitude A_c = 2.00 V, load R = 50.0 Ω, single-tone modulation index μ = 0.60. Find carrier power P_c and total transmitted power P_total. Steps:
P_c = A_c^2 / (2 R)= (2.00^2) / (2·50.0) = 4.00 / 100 = 0.0400 W.P_total = P_c (1 + μ^2 / 2)= 0.0400·(1 + 0.60^2 / 2) = 0.0400·(1 + 0.36/2) = 0.0400·(1 + 0.18) = 0.0400·1.18 = 0.0472 W. Answer: P_c = 0.0400 W, P_total = 0.0472 W.
- FM bandwidth using Carson's rule Given: peak frequency deviation Δf = 5.0 kHz, highest modulating tone f_m(max) = 3.0 kHz. Find approximate bandwidth.
BW ≈ 2 (Δf + f_m)= 2·(5000 + 3000) Hz = 2·8000 Hz = 16000 Hz = 16.0 kHz.
- CDMA processing gain example Given: chip rate W = 1.2288 Mcps (1.2288×10^6 Hz), user data rate R_b = 19.2 kbps (1.92×10^4 Hz). Compute processing gain G_p.
G_p = W / R_b= 1.2288×10^6 / 1.92×10^4 ≈ 64.0. So processing gain = 64 (unitless). This means the spread signal occupies 64× more bandwidth than the data rate, improving interference tolerance.
Common mistakes
- Using Carson's rule without stating assumptions (single-tone max frequency f_m). Carson is an approximation, not exact.
- Mixing energy per bit E_b and energy per symbol E_s for multi-bit constellations (QPSK: E_s = 2 E_b for two bits per symbol if symbol energy defined differently). Always state symbol rate and bit rate.
- Treating orthogonal CDMA codes as perfectly orthogonal in multipath channels — multipath breaks orthogonality and requires RAKE or equalization.
- Quoting Shannon capacity as achievable without mentioning required coding and AWGN assumption.
For your exam
Question types you will see: definitions (e.g., define modulation index, processing gain), short notes (compare AM vs FM, FDMA vs TDMA vs CDMA), derivations (derive AM power, derive FM bandwidth using Carson's rule application, derive BER for BPSK), numericals (AM power, FM bandwidth, processing gain, spectral efficiency), and diagram questions (draw AM spectrum, QPSK constellation, TDMA frame showing slots and guard times).
What full-marks answers include:
- Precise definitions with bold term names (state assumptions, e.g., single-tone or AWGN channel).
- Key equations stated and derived step-by-step (show algebra when deriving AM power or BER expressions).
- Correct units and numerical substitution with intermediate steps (carry units through calculations).
- Diagrams described or sketched and labeled: for AM spectrum draw frequency axis and mark carrier and sidebands; for QPSK draw constellation with phase angles and bit mapping; for TDMA draw frame timeline with labelled slots and guard times.
Quick check
- What is the modulation index for AM if message amplitude A_m = 0.8 V and carrier amplitude A_c = 2.0 V?
- Using Carson's rule, what is FM bandwidth for Δf = 10 kHz and f_m = 4 kHz?
- If chip rate is 2 MHz and data rate is 50 kbps, what is the processing gain G_p? Answers: 1) μ = 0.8 / 2.0 = 0.40. 2) BW ≈ 2(10000 + 4000) = 28 kHz. 3) G_p = 2×10^6 / 5×10^4 = 40.
Finished this topic? Mark it so your progress, study plan and readiness keep up.
Stuck on something here?