Carriers and mixing: AM, DSB-SC and sharing a channel by frequency or time
لم يُترجم بعد؛ يُعرض باللغة الإنجليزية
عن هذا الدرس
To send a message by radio you move it up to a high frequency. Follow one: a 1 kHz tone is multiplied by a 10 kHz carrier, which splits it into sidebands at 9 and 11 kHz (DSB-SC); add the carrier back and you get conventional AM, easy to receive but costly in power. A receiver multiplies by the same carrier and low-pass filters to get the message back. Then a second station shares the air on its own band (FDM), and the two take turns in time slots instead (TDM). Every spectrum is a real DFT, and you will check one with numpy. This goes deeper than the Hardware lesson on radio-frequency basics and the Networking lesson on wireless basics; it uses the Fourier transform and spectra from earlier in this course.
The message
Message A is a 1 kHz tone: m(t) = cos(2π·1000·t) volts. Its spectrum is one line at 1 kHz. A signal that sits near 0 Hz like this is called baseband.
m(t) = cos(2π·1000·t) (volts, t in seconds) spectrum: one line, 1 V at 1 kHz baseband = the frequencies sit near 0 Hz (speech: about 0.3 to 3.4 kHz) to send it by radio, an antenna about a quarter wavelength long works well: λ = c / f = 3×10⁸ / 1000 = 300 km. Too big.
اقرأ الدرس خطوة بخطوة
The message
Message A is a 1 kHz tone: m(t) = cos(2π·1000·t) volts. Its spectrum is one line at 1 kHz. A signal that sits near 0 Hz like this is called baseband.
m(t) = cos(2π·1000·t) (volts, t in seconds) spectrum: one line, 1 V at 1 kHz baseband = the frequencies sit near 0 Hz (speech: about 0.3 to 3.4 kHz) to send it by radio, an antenna about a quarter wavelength long works well: λ = c / f = 3×10⁸ / 1000 = 300 km. Too big.The carrier
An oscillator makes a fast, steady wave: the carrier, c(t) = cos(2π·10000·t). On its own it carries no news. Its job is to move the message up to a frequency that antennas can send.
c(t) = cos(2π·10000·t) spectrum: one line, 1 V at 10 kHz here 10 kHz so the plots stay readable; AM radio uses carriers near 1 MHz, Wi-Fi near 2.4 and 5 GHz the carrier is a sine you know exactly: the receiver can make the same oneMixing is multiplying
A mixer multiplies: s(t) = m(t)·c(t). The carrier now swells and shrinks inside the dashed outline ±m(t). Since cos a·cos b = ½cos(a−b) + ½cos(a+b), the product is two tones: 9 kHz and 11 kHz.
s(t) = m(t)·c(t) = cos(2π·1000t)·cos(2π·10000t) = ½cos(2π·9000t) + ½cos(2π·11000t) cos a·cos b = ½cos(a−b) + ½cos(a+b) spectrum: 0.5 V at 9 kHz and 11 kHz the message moved from 0 Hz to 10 kHzDSB-SC: two sidebands, no carrier
There is no line at 10 kHz: the carrier is suppressed. The copies below and above it are the lower and upper sidebands. This is double-sideband suppressed-carrier (DSB-SC) modulation. It takes 2 × 1 kHz = 2 kHz of spectrum.
DSB-SC = double sideband, suppressed carrier lower sideband fc − fm = 9 kHz upper sideband fc + fm = 11 kHz carrier line none bandwidth = 2·fm = 2 kHz where m(t) < 0 the wave flips by 180°: its outline crosses zeroAM: add the carrier back
Conventional AM sends s(t) = [1 + μ·m(t)]·c(t) with modulation index μ = 0.5 (how deep the outline swings). Now a 1 V carrier line sits between sidebands of 0.25 V. The outline 1 + 0.5·m(t) stays between 0.5 and 1.5: never below zero.
s(t) = [1 + μ·m(t)]·c(t), μ = 0.5 = c(t) + μ·m(t)·c(t) spectrum: 10 kHz 1.00 V (carrier) 9 kHz 0.25 V (μ/2) 11 kHz 0.25 V (μ/2) outline 1 + 0.5·m(t): 0.5 .. 1.5 V μ ≤ 1 keeps it above zeroAM: cheap to receive, costly to send
Because the outline never crosses zero, a diode and a capacitor can follow it: an envelope detector, the classic cheap radio. The price is power: the carrier line takes 88.9% of it and carries no message. Only 11.1% is sideband.
power of each line (1 Ω): A²/2 carrier 1²/2 = 0.500 sidebands 2 × 0.25²/2 = 0.0625 total = 0.5625 useful share = (μ²/2) / (1 + μ²/2) = 11.1% (μ = 0.5) even at μ = 1 it is only 33% DSB-SC wastes none, but needs a harder receiver (next step)The receiver mixes again
DSB-SC has no clean outline to follow, so the receiver multiplies by its own 10 kHz carrier: y(t) = s(t)·c(t) = m/2 + (m/2)·cos(2π·20000·t). One copy lands back at 1 kHz; another goes up to 20 kHz. The two carriers must be in phase.
y(t) = m(t)·c(t)·c(t) = m(t)·cos²(2π·fc·t) cos²θ = ½ + ½cos 2θ = m/2 + (m/2)·cos(2π·20 kHz·t) spectrum: 0.5 V at 1 kHz 0.25 V at 19 and 21 kHz the receiver's carrier must match: phase error φ -> output (m/2)·cos φ φ = 90° gives nothing (coherent = in step)A low-pass filter keeps the message
A low-pass filter passes frequencies below 2.5 kHz and blocks the rest. The 19 and 21 kHz lines vanish and m(t)/2 comes out: the message, at half size. An amplifier can restore the size.
low-pass filter, cut-off 2.5 kHz 1 kHz passes 19, 21 kHz blocked out(t) = m(t) / 2 = 0.5·cos(2π·1000·t) modulate: multiply by c(t) demodulate: multiply by c(t), then low-pass (synchronous or coherent detection)Two stations, two bands
Station B sends a 2 kHz tone on a 15 kHz carrier, at the same time. Its sidebands land at 13 and 17 kHz, clear of A's 9 to 11 kHz, with a 2 kHz guard band between. Sharing by frequency is FDM.
station A: 1 kHz on 10 kHz -> 9 .. 11 kHz station B: 2 kHz on 15 kHz -> 13 .. 17 kHz guard band: 11 .. 13 kHz (2 kHz) the air adds the two waves: s(t) = sA(t) + sB(t) both send all the time, each in its own band FDM = frequency-division multiplexing (radio and TV stations, cable TV)Tuning picks one band
Mixing with 10 kHz moves A to 1 kHz, but B only to 3 and 7 kHz (and 23, 27 kHz). The 2.5 kHz low-pass keeps A alone. To hear B instead, tune the receiver's oscillator to 15 kHz: B returns at 2 kHz.
receiver mixes with 10 kHz: A: 9, 11 kHz -> 1 kHz (+ 19, 21) B: 13, 17 kHz -> 3, 7 kHz (+ 23, 27) low-pass 2.5 kHz keeps only 1 kHz out(t) = mA(t)/2, no trace of B tuning = choosing the oscillator frequency (and a band-pass in front)Or take turns in time
Time division (TDM) shares the channel differently: each message is sampled 8000 times a second and the samples take turns: A, B, A, B. Each slot lasts 62.5 µs. FDM gives each user a band; TDM gives each a time slot.
TDM = time-division multiplexing each channel: 8000 samples per second (more than 2 × 2 kHz, so B is safe) two channels -> 16000 slots per second one slot = 1 / 16000 s = 62.5 µs FDM: own band, all the time TDM: whole channel, own time slot (digital telephone lines, GSM time slots)Mixing in Python
With numpy, mixing is one multiplication of two arrays. np.fft.rfft gives the spectrum: 800 samples at 80 kHz put a line every 100 Hz, and the only two lines are at 9000 and 11000 Hz.
import numpy as np t = np.arange(800) / 80000 m = np.cos(2*np.pi*1000*t) s = m * np.cos(2*np.pi*1e4*t) S = np.abs(np.fft.rfft(s)) np.flatnonzero(S > 1) * 100 array([ 9000, 11000]) fs = 80000 samples/s, N = 800 line spacing fs / N = 100 Hz rfft gives N/2 + 1 = 401 lines |S| at 9 and 11 kHz = N·0.5/2 = 200 (Python 3 with numpy)
أسئلة سريعة: 5
اختر إجابة واحدة لكل سؤال. يمكنك تغيير اختياراتك قبل التحقق منها.
01A 3 kHz tone is multiplied by a 100 kHz carrier (DSB-SC). Which frequencies are in the result?
cos a·cos b = ½cos(a−b) + ½cos(a+b): the product holds 100 − 3 = 97 kHz and 100 + 3 = 103 kHz. With no added carrier there is no line at 100 kHz; that is what suppressed carrier means.
02What bandwidth does a DSB-SC or AM signal need for a message whose highest frequency is W?
Both sidebands are sent, one from fc − W to fc and one from fc to fc + W, so the signal spans 2W.
03Conventional AM with a tone and modulation index μ = 0.5: what share of the transmitted power is in the sidebands?
The carrier has power ½ and the two sidebands together μ²/4 = 0.0625, so the useful share is (μ²/2)/(1 + μ²/2) = 1/9 ≈ 11.1%. The other 88.9% is carrier, which carries no message.
04A coherent receiver's oscillator is 90° out of phase with the transmitter's carrier. What comes out of the low-pass filter?
With a phase error φ the low-pass output is (m/2)·cos φ. At φ = 90°, cos φ = 0, so the message vanishes. That is why DSB-SC receivers must lock to the carrier's phase.
05Two users share one channel. Which statement describes TDM?
Time-division multiplexing gives each user short time slots in turn (A, B, A, B ...). Giving each user its own band all the time is frequency-division multiplexing (FDM).
المسرد
- Carrier
- A steady high-frequency sinusoid, c(t) = cos(2π·fc·t), that a message is put onto so it can be sent by radio.
- Mixer
- A circuit that multiplies two signals. Multiplying by a carrier shifts a spectrum up (or down) by the carrier frequency.
- Sidebands
- The copies of the message spectrum just below (lower sideband) and just above (upper sideband) the carrier frequency.
- DSB-SC
- Double-sideband suppressed-carrier modulation: s(t) = m(t)·c(t). Both sidebands, no carrier line; needs a coherent receiver.
- AM and modulation index μ
- Conventional amplitude modulation: s(t) = [1 + μ·m(t)]·c(t). With μ ≤ 1 the envelope never crosses zero, so an envelope detector can recover m(t).
- Coherent (synchronous) demodulation
- Multiplying the received signal by a carrier of the same frequency and phase, then low-pass filtering, to recover the message.
- FDM
- Frequency-division multiplexing: users share a channel by each using its own non-overlapping frequency band, often with guard bands between.
- TDM
- Time-division multiplexing: users share a channel by taking turns in short time slots.
الملاحظات والمصادر
- The frequencies are scaled down so the waves can be drawn: a 1 kHz message on a 10 kHz carrier. Real AM broadcast carriers sit between about 0.5 and 1.7 MHz. Every curve and spectrum line is computed from this model; the spectra are real DFTs.
- The low-pass filter is ideal (it keeps every DFT line below 2.5 kHz and drops the rest). A real filter rolls off gradually, which is why stations leave guard bands.
- Tokens and radio crests move in slow motion and are not to scale; the plots show the true waves.
- A. V. Oppenheim, A. S. Willsky, S. H. Nawab, Signals and Systems, 2nd ed., Pearson (ch. 8: communication systems: sinusoidal AM, demodulation, FDM, pulse-train carrier and TDM)
- J. G. Proakis, M. Salehi, Fundamentals of Communication Systems, 2nd ed., Pearson (ch. 3: DSB-SC AM §3.2.1, conventional AM §3.2.2, multiplexing)
- MIT OpenCourseWare 6.003 Signals and Systems (D. Freeman, Fall 2011), lecture notes: Modulation, parts 1 and 2
- MIT OpenCourseWare 6.02 Introduction to EECS II: Digital Communication Systems (Fall 2012)
- MIT OpenCourseWare 6.450 Principles of Digital Communications I (R. Gallager, L. Zheng, Fall 2006)
- A. V. Oppenheim, R. W. Schafer, J. R. Buck, Discrete-Time Signal Processing (the DFT; course text listed on MIT OCW 6.341 readings)
- Amplitude modulation (Wikipedia): sidebands, modulation index, at least two-thirds of the power in the carrier, diode envelope detector
- Double-sideband suppressed-carrier transmission (Wikipedia): coherent demodulation by multiplying with the carrier, then low-pass
- Envelope detector (Wikipedia): the diode detector for AM
- Frequency-division multiplexing (Wikipedia): non-overlapping frequency bands, one per signal
- Time-division multiplexing (Wikipedia): time slots, E1/T1 telephone frames, GSM
- Medium wave (Wikipedia): AM broadcast carriers 531-1602 kHz (9 kHz spacing) and 530-1700 kHz (10 kHz spacing)
- NumPy documentation: numpy.fft.rfft (n//2 + 1 output lines)
اختبار يتاح بعد الخطوة الأخيرة.