本章路線圖 / Learning path
- 1. What is a radio signal?|甚麼是無線電訊號?
- 2. Signal, bandwidth and data rate|訊號、頻寬及資料率
- 3. SNR and Shannon capacity|訊雜比與香農容量
- 4. What happens while a signal propagates?|訊號傳播時會發生甚麼?
- 5. Modulation and error control|調變與錯誤控制
- 6. How users share the channel|多個用戶如何共享通道
- 7. Contention and hidden terminals|競爭與隱藏終端
開啟補充筆記、計算與自測 / Open additional notes, calculations and quiz →
1. What is a radio signal?|甚麼是無線電訊號?
A transmitter changes an electrical signal into an electromagnetic wave; a receiver captures the wave and estimates the transmitted information. Frequency f is cycles per second, measured in Hz. Period T is seconds per cycle, T=1/f. In free space, wavelength λ=c/f, with c approximately 3×10⁸ m/s.
發送端把電訊號轉成電磁波;接收端接收電磁波並估計原始資訊。頻率 f 是每秒週期數,以 Hz 表示。週期 T 是每個週期所需秒數,T=1/f。自由空間波長 λ=c/f,其中 c 約為 3×10⁸ m/s。
At 2.4 GHz, f=2.4×10⁹ Hz. Therefore λ=3×10⁸/(2.4×10⁹)=0.125 m. / 2.4 GHz 等於 2.4×10⁹ Hz,所以波長為 0.125 米。
2. Signal, bandwidth and data rate|訊號、頻寬及資料率
A signal carries data but is not the data itself. In a frequency plot, bandwidth is the range of frequencies occupied or available: B=fhigh−flow, in Hz. A data rate counts bits per second. They have different units; channel quality, coding and modulation determine how much data can be carried within a bandwidth.
訊號承載資料,但訊號本身不等同資料。頻域中的頻寬是佔用或可用的頻率範圍:B=fhigh−flow,單位 Hz。資料率是每秒位元數。兩者單位不同;通道品質、編碼及調變共同影響指定頻寬可承載多少資料。
A channel from 2.400 to 2.420 GHz has bandwidth .020 GHz=20 MHz; this does not by itself imply 20 Mbit/s. / 2.400 至 2.420 GHz 的頻道頻寬為 20 MHz,但不能直接推論資料率是 20 Mbit/s。
3. SNR and Shannon capacity|訊雜比與香農容量
SNR compares signal power with noise power. If given in decibels, convert first: SNRlinear=10^(SNRdB/10). The ideal AWGN capacity bound is C=B log₂(1+SNRlinear). It is an upper bound under its model, not a promise of application throughput.
SNR 比較訊號功率與雜訊功率。題目給 dB 時,先換算:SNRlinear=10^(SNRdB/10)。理想 AWGN 容量上限為 C=B log₂(1+SNRlinear)。這是模型下的理論上限,不保證應用程式達到該吞吐量。
B=1 MHz, SNR=10 dB → linear ratio 10 → C=10⁶log₂(11)≈3.46 Mbit/s. / B=1 MHz,SNR=10 dB,線性比為 10,容量約 3.46 Mbit/s。
4. What happens while a signal propagates?|訊號傳播時會發生甚麼?
Path loss is the decline of average signal power over distance. Shadowing occurs when obstacles block or weaken a path. Multipath occurs when reflections produce several delayed copies. These copies can reinforce or cancel, causing fading; delayed copies can overlap subsequent symbols.
路徑損耗是平均訊號功率隨距離下降。遮蔽是障礙物阻擋或削弱路徑。多徑是反射形成多個不同延遲的副本;副本可互相加強或抵消,造成衰落,亦可能與後續符號重疊。
Free-space model: if distance doubles while other terms stay fixed, received power becomes 1/4, corresponding to approximately −6 dB. / 自由空間模型下,距離加倍、其他條件不變時,接收功率降至四分之一,約 −6 dB。
5. Modulation and error control|調變與錯誤控制
Modulation maps bits to physical carrier states. ASK changes amplitude, FSK frequency, PSK phase, and QAM amplitude plus phase. An M-state constellation carries log₂M bits per ideal symbol. Forward error correction adds redundant information to correct some errors; detection such as CRC identifies errors but cannot by itself restore the data.
調變把位元映射到載波的物理狀態。ASK 改變振幅、FSK 改變頻率、PSK 改變相位、QAM 同時改變振幅及相位。M 個狀態的星座圖每個理想符號承載 log₂M 位元。FEC 加入冗餘以修正部分錯誤;CRC 等偵錯可發現錯誤,但本身不能還原資料。
16-QAM has log₂16=4 bits/symbol. At 1 Msymbol/s, raw rate is 4 Mbit/s before coding and overhead. / 16-QAM 每符號 4 位元;每秒 100 萬符號的原始速率為 4 Mbit/s,未扣編碼和開銷。
6. How users share the channel|多個用戶如何共享通道
FDMA separates users in frequency; TDMA separates them in time; CDMA uses different spreading codes; SDMA separates spatially. FDD separates uplink and downlink by frequency, whereas TDD separates directions in time. Multiplexing users and separating directions are related but distinct questions.
FDMA 按頻率分開用戶;TDMA 按時間分開;CDMA 使用不同擴頻碼;SDMA 利用空間區分。FDD 按頻率分開上、下行;TDD 按時間分開方向。多用戶共享與雙向分隔相關,但不是同一問題。
Example: different users take different timeslots (TDMA); uplink and downlink can also be assigned different times (TDD), subject to the system design. / 例子:不同用戶使用不同時隙是 TDMA;上、下行使用不同時間是 TDD,實際分配取決於系統設計。
7. Contention and hidden terminals|競爭與隱藏終端
When multiple devices transmit on a shared medium, frames may collide. ALOHA transmits without sensing; CSMA senses first. However A and C may not hear each other while both can reach B, so sensing at A cannot reveal C’s transmission. RTS from A and CTS from B can warn neighbors near B to defer.
多個裝置在共享媒介傳送時,資料幀可能碰撞。ALOHA 不先偵聽;CSMA 先偵聽。但 A 和 C 可能互相聽不到,卻都可到達 B,因此 A 偵聽不到 C 的傳送。A 發 RTS、B 回 CTS,可提醒 B 附近節點等待。
The RTS itself may collide and RTS/CTS has overhead. It reduces hidden-terminal collisions; it is not a guarantee of zero collisions. / RTS 本身仍可能碰撞,而且 RTS/CTS 有開銷;它減少隱藏終端碰撞,並不保證零碰撞。