← 總目錄 / Contents

Chapter 02 · Wireless Communication

無線通訊基礎|English + 中文

根據第 02 章講義整理;英文概念後附中文解說。 / Based on lecture 02; English explanations are paired with Chinese.

重點筆記 / Core concepts

Signals, bandwidth and capacity

Frequency f is cycles per second; wavelength λ=c/f in free space. Bandwidth is the frequency range in hertz, whereas bit rate is bits per second. Noise reduces achievable rate; do not confuse bandwidth with throughput.

頻率 f 是每秒週期數;自由空間波長 λ=c/f。頻寬以赫茲表示頻率範圍,位元率則以 bits/s 表示。雜訊會降低可達速率,頻寬與吞吐量並不相同。

Propagation

Path loss reduces average received power with distance; shadowing is blockage by obstacles; multipath produces delayed copies, fading and inter-symbol interference. Diversity, equalization and coding help, while MIMO can exploit multiple spatial paths under suitable channel conditions.

路徑損耗令平均接收功率隨距離下降;遮蔽由障礙物造成;多徑產生延遲副本、衰落及符號間干擾。分集、均衡和編碼可改善接收;在合適通道條件下,MIMO 也可利用多條空間路徑。

Modulation and multiplexing

ASK changes amplitude, FSK frequency and PSK phase; QAM changes amplitude and phase. FDMA divides frequency, TDMA divides time, CDMA separates users with codes and SDMA uses spatial separation. OFDM uses orthogonal subcarriers.

ASK 改變振幅,FSK 改變頻率,PSK 改變相位;QAM 同時改變振幅及相位。FDMA 分頻、TDMA 分時、CDMA 以碼區分用戶、SDMA 以空間區分;OFDM 使用正交子載波。

Spread spectrum and access

FHSS hops across frequencies; DSSS spreads data with a higher-rate code. ALOHA sends without sensing; slotted ALOHA constrains starts to slots. CSMA listens first, but hidden terminals remain possible. RTS/CTS reserves a period around sender and receiver, reducing hidden-terminal collisions; it does not eliminate every collision.

FHSS 以跳頻方式傳送;DSSS 以較高速率的碼擴頻。ALOHA 不先偵聽;時隙 ALOHA 限制在時隙開始傳送。CSMA 先偵聽,但仍有隱藏終端問題。RTS/CTS 在發送端與接收端附近預留時間,減少碰撞,但不能消除所有碰撞。

Hidden and exposed terminals

Hidden: A and C cannot hear each other but both interfere at B. Exposed: B hears A transmitting to another receiver and unnecessarily defers, although B’s own transmission might be safe. RTS/CTS helps hidden terminals; MACAW includes data/ACK reservation and can still make exposed nodes defer.

隱藏終端:A、C 互相聽不到,但同時傳給 B 會碰撞。暴露終端:B 聽到 A 向其他接收端傳送而不必要地等待,即使 B 的傳輸可能安全。RTS/CTS 有助隱藏終端;MACAW 的資料/確認預留仍可令暴露節點等待。

2.1 Data, signal and spectrum · Slides 3–15

Data is the information represented; a signal is its physical representation. Analog signals vary continuously; digital signals have discrete levels. A time-domain waveform describes amplitude over time, while a frequency-domain view shows constituent frequencies. For a band from fL to fH, bandwidth B=fH−fL; a wider band is not the same thing as a particular data rate.

資料是要表示的資訊;訊號是資料的物理表示。類比訊號連續變化;數碼訊號採用離散電平。時域波形顯示振幅隨時間的變化,頻域則顯示組成頻率。頻帶由 fL 至 fH 時,頻寬 B=fH−fL;頻寬較大不等同某個固定資料速率。

2.2 Antennas and free-space propagation · Slides 17–21

An antenna converts electrical signals to electromagnetic waves and vice versa. Under ideal free-space line-of-sight assumptions, received power Pr = Pt Gt Gr (λ/(4πd))², with consistent linear power and antenna gains. Doubling distance reduces power to one quarter, or about 6 dB; obstacles and multipath mean real environments may differ substantially.

天線把電訊號轉換為電磁波,接收時則反向轉換。理想自由空間直視條件下,接收功率 Pr = Pt Gt Gr (λ/(4πd))²,功率及天線增益須用一致的線性單位。距離加倍時功率降為四分之一,即約減 6 dB;真實障礙物及多徑可令結果不同。

2.3 Multipath, fading and delay spread · Slides 21–28

Reflection, diffraction and scattering create copies arriving with different delays and phases. Their combination can be constructive or destructive; delay spread can make consecutive symbols overlap. Diversity provides different versions of a signal; equalization and OFDM can help combat delay spread; MIMO uses multiple antennas and can improve reliability or spatial throughput depending on channel conditions.

反射、繞射和散射產生不同延遲及相位的訊號副本;疊加可增強或削弱訊號,延遲擴散亦可令相鄰符號重疊。分集提供不同版本的訊號;均衡與 OFDM 有助處理延遲擴散;MIMO 使用多個天線,在適當通道條件下可改善可靠性或空間吞吐量。

2.4 Modulation and symbol rate · Slides 30–39

Modulation maps information onto a carrier. ASK, FSK and PSK vary amplitude, frequency and phase respectively; QAM combines amplitude and phase. With M distinguishable equally used symbols, each ideal symbol represents log₂M bits, so raw bit rate equals symbol rate × log₂M before coding and overhead. More complex constellations require adequate signal quality.

調變把資訊映射到載波。ASK、FSK、PSK 分別改變振幅、頻率及相位;QAM 同時改變振幅及相位。若有 M 個可區分且等用的符號,每個理想符號表示 log₂M 位元;編碼及額外開銷前,原始位元率 = 符號率 × log₂M。更複雜的星座圖需要足夠訊號品質。

2.5 Error detection and correction · Slides 40–45

Error detection, such as a CRC, identifies many corrupted frames and may trigger retransmission; it does not reconstruct the original data on its own. Forward error correction adds structured redundancy so the receiver can correct some errors without a retransmission. Coding consumes capacity but can improve reliability at a given SNR; error detection and FEC can be combined.

錯誤偵測例如 CRC 可辨識許多受損資料幀並觸發重傳,但本身不會還原原始資料。前向錯誤更正 FEC 加入有結構的冗餘,讓接收端毋須重傳也能修正部分錯誤。編碼消耗容量,但可改善指定 SNR 下的可靠性;兩者可以一起使用。

2.6 Duplex and multiplexing · Slides 47–61

Multiplexing shares a resource among streams; duplexing separates opposite transmission directions. FDD uses separate frequency bands for uplink and downlink; TDD separates directions in time and can allocate an asymmetric time split, subject to synchronization and interference constraints. OFDM divides a channel into closely spaced orthogonal subcarriers and is not by itself a complete multiple-access protocol.

多工讓多個資料流共享資源;雙工則區分上下行方向。FDD 為上、下行使用不同頻帶;TDD 在時間上分隔,可設定不對稱時隙比例,但要處理同步及干擾。OFDM 把通道分為緊密排列的正交子載波,本身並非完整的多址協定。

2.7 DSSS, FHSS and CDMA · Slides 63–72

DSSS multiplies data by a faster spreading sequence; the receiver uses a matching sequence to despread. FHSS changes carrier frequency following a shared hopping pattern. In CDMA, users share time and spectrum but use distinct codes; imperfect code separation, interference and the near-far problem can limit performance, so power control matters. Spreading is not equivalent to encryption.

DSSS 把資料與較快的擴頻序列結合,接收端以相符序列解擴。FHSS 按共同跳頻模式改變載波頻率。CDMA 用戶共享時間及頻譜但使用不同碼;碼分離不完美、干擾及遠近問題會限制效能,因此功率控制重要。擴頻不等同加密。

2.8 Random access and carrier sensing · Slides 74–90

Pure ALOHA permits transmission at any time; slotted ALOHA limits starts to slot boundaries, reducing the vulnerable period. In the ideal infinite-user Poisson model their maximum throughputs are 1/(2e)≈0.184 and 1/e≈0.368 successful frames per frame time. CSMA senses the medium first, but propagation delay and hidden nodes mean collisions still occur.

純 ALOHA 可隨時開始傳送;時隙 ALOHA 把開始時間限制在時隙邊界,縮短易碰撞期間。在理想無限用戶泊松模型中,最大吞吐量分別為 1/(2e)≈0.184 及 1/e≈0.368 個成功幀/幀時間。CSMA 先偵聽媒介,但傳播延遲及隱藏節點仍可造成碰撞。

2.9 MACA, MACAW and polling · Slides 91–95

MACA uses RTS/CTS to let nodes near the receiver learn a reservation, addressing hidden terminals. MACAW adds mechanisms including data-sending and acknowledgement signaling and backoff refinements; a node hearing reservations may still defer even if spatial reuse could have been safe, so exposed-terminal inefficiency can remain. Polling lets a coordinator invite nodes to transmit, reducing contention at the cost of polling and coordination overhead.

MACA 使用 RTS/CTS,讓接收端附近節點得知預留,處理隱藏終端。MACAW 增加資料發送、確認訊號及退避改進;節點聽到預留後仍可能等待,即使空間重用本可安全進行,因此暴露終端效率問題仍可能存在。輪詢由協調者邀請節點傳送,減少競爭,但引入輪詢及協調開銷。

逐頁講義原文 / Slide-by-slide source text

以下為講義英文文字的自動提取,讓你逐頁核對上方中英筆記及搜尋細節;它不是逐頁中文翻譯。圖表、公式排版及部分旋轉文字可能缺失,請以原 PDF 為準。
Automatically extracted English lecture text for checking the bilingual explanations. Figures, formula layout and some rotated text may be missing; consult the original PDF.
講義第 1 頁 / Lecture slide 1
                  Wireless Communication
                                                                Basics
講義第 2 頁 / Lecture slide 2
Outline
Understand basic concepts and principles of
    wireless communications
    Basic concepts of wireless communications
    Signal propagation
    Modulation techniques
    Multiplexing techniques
    Spread spectrum techniques
    Media   access control methods
講義第 3 頁 / Lecture slide 3
Wireless Communications
      A wireless communication uses electromagnetic waves to transfer signals
      through the air
            Electromagnetic waves contain different frequency bands in the
            electromagnetic spectrum
                  Electromagnetic spectrum is the frequency range of electromagnetic radiation
                  A frequency band is a small section of the spectrum
                  The spectrum is a continuum; the boundaries between different bands don’t exist
                  naturally, but are invented by scientists trying to classify them according to their
                  features
講義第 4 頁 / Lecture slide 4
Frequency Ranges for
Wireless Communications
      Majority of wireless communications use radio/microwave, some use
      Infrared (e.g., for household devices)
            Radio
                 Frequency range from 30 MHz to 1 GHz
                 Suitable for omni-directional applications, such as radio broadcasting, TV, and
                 early mobile systems
            Microwave
                 Frequency range from 1 GHz to 40 GHz
                 Suitable for directional transmission, modern cellular (4G/5G)/Wi-Fi /satellite /
                 radar communications; also used for heating
                 Millimeter wave (mmWave >24 GHz): Enable the ultra-high speeds of 5G and
                 beyond.
            Infrared
                 Roughly, frequency range from 300 GHz to 200 THz
                 Useful in local point- to-point / multipoint applications within confined areas
                 Remote control, optical networks
      Spectrum Management: Access to this resource is managed by national
講義第 5 頁 / Lecture slide 5
A Simplified Wireless
Communication   System
    Transmitter: Convert the source information (data) into an
    electromagnetic wave (signal).
         Data conveys     information; signal represents the data
         The signal is manipulated and then transmitted
         to wireless medium via antenna
    Wireless medium: The transmission medium                                                                   Wireless
                                                                                                               medium
     through which the signal travels.
         The signal propagates from transmitter’s antenna
         to receiver’s antenna over the medium
    Receiver:
         Receive the signal from wireless medium via antenna
         Convert the signal to data and derive the information carried by the data
講義第 6 頁 / Lecture slide 6
Data vs Signals
   Data conveys meaning or information
        Data can be analog or digital
              Analog data, such as voice, have continuous values
              Digital data, such as text, have discrete values
   Signals are the representation of data in
   the physical world
        Signal can be a function of time, whose                                               1
        parameters represent the value of data
        Signal can also be analog or digital                                                  0
              Analog signal has continuous values over continuous                             1
              time
              Digital signal has discrete values over discrete time                           0
講義第 7 頁 / Lecture slide 7
Analog vs. Digital
     Analog or digital data can be represented by either analog
     or digital signals in different systems
       Analog signal                                                Digital signal
             Analog data can be easily                                   Robust to noise interference
             converted to analog signal                                  Suffer more from attenuation
             Some transmission media,                                          Endanger the integrity of data
             such as atmosphere, can                                           Need repeaters to retransmit the
             only propagate analog                                             signal for longer distance
             signals
講義第 8 頁 / Lecture slide 8
Signals
     Signals can be represented as a function of time or
     frequency
          Time-domain representation shows how a signal's amplitude
          changes over time.
          Frequency-  domain representation shows a signal's frequency
          content and the power at each frequency.
     One signal looks very differently in the time domain and
     frequency domain.
講義第 9 頁 / Lecture slide 9
Time Domain Signals
    Sinusoidal wave s(t ) = A sin(2π  ft + φ) is a periodic signal (most basic one)
         Amplitude ( A): maximum strength of the signal over time (measured in volts)
         Frequency (f ): rate at which the signal repeats, measured by cycles per
         second (called Hertz (Hz))
         Period (T): amount of time it takes for one repetition of the signal
               Relation: T = 1/f
         Phase (φ): the relative position to the origin within a single cycle of a signal
         Wavelength (λ): distance occupied by a single cycle of the signal (the distance
         between two points of corresponding phase of two consecutive cycles)
               Relation: λ = cT = c/f,  c ≅ 3x108m/s (speed of light)
講義第 10 頁 / Lecture slide 10
Time Domain Signals
     The shape of a sinusoidal wave s(t ) = A sin(2πft + φ) is
     determined by the three parameters A, f, φ
          (a) A = 1, f = 1 Hz, φ = 0; T = 1s (b) Reduced peak amplitude; A=0.5
          (c) Increased frequency; f = 2, T = ½s (d) Wave shift; φ = π/4
          radians
講義第 11 頁 / Lecture slide 11
Frequency Domain Signals
   Based on Fourier analysis, any signal is made up
   of a number of components, each component is
   a sinusoidal wave with different amplitudes,
   frequencies, and phases
        S(t) = sin(2πft  ) + (1/3)sin(2π(3f)t)
講義第 12 頁 / Lecture slide 12
Frequency Domain Signals
   Digital square signal s(t) alternates its signal
   strength between a high voltage and a low voltage.
   Digital square signal s(t) has an infinite number of
   frequency components.
      1                                                           1
      0                                                           0
                                      t                                                            t
         digital square signal                                     real composition
                                                                   (based on harmonics)
                                            1       ∞                       ∞
                                   g(t)  =  2 c +  ∑   an                 πsin(2π   ∑nft)bncos(2)
                                                   n=          +1                                                   nftn=1
講義第 13 頁 / Lecture slide 13
Bandwidth of Signals
     Spectrum - the range of frequencies that a signal contains
           E.g., S(t) = (4/π)[sin(2πft) + (1/3)sin(2π(3f)t)]  has spectrum from 1Hz to
           3Hz
           E.g., digital square signal s(t) has the spectrum from 0 to ∞
     Bandwidth (BW) - the width of the spectrum of a signal, i.e.,
     the difference between the highest and lowest frequencies
     contained in a signal
           E.g., S(t) = (4/π)[sin(2πft) + (1/3)sin(2π(3f)t)]  has the bandwidth of 2Hz
           E.g., a general signal has a limited bandwidth
           E.g., digital square signal has an infinite bandwidth
講義第 14 頁 / Lecture slide 14
Channel Capacity
    Transmission medium provides channels for signal transmissions
          Channel is a single path provided by a transmission medium via
                Physical separation, e.g.  by cable
                Logical separation, e.g.  by frequency- or time- division multiplexing
          Each channel   has an upper limit for signal transmissions -- channel capacity
                The available bandwidth of user’s signal is upper limited by the channel capacity of
                the communication system
                  The signal's bandwidth determines the amount of spectrum it occupies (what if BW >
                   channel capacity?)
                In analog communications, channel capacity is measured by bandwidth , i.e., the
                width of signal frequencies that the channel can be supported
                  E.g., telephone lines have each channel with a bandwidth of 3100Hz to carry voice signals
                  Measured in Hz, KHz, MHz and GHz
                In digital communications, channel capacity is measured by data rate, i.e. the
                number of unit bits that be transmitted in a unit of time (per second)
                  E.g., optical fibre can carry digital signals with a data rate of 20 Gbps
                  Measured in bps, Kbps, Mbps, and Gbps
                Both are used for describing the information transmission capability of a
                communication system
講義第 15 頁 / Lecture slide 15
Channel Capacity
   Shannon’s channel capacity theorem
        The theoretical limit of a channel capacity is determined by
        bandwidth (B) and signal-to-noise ratio (SNR).
                    C = B×log     2​(1+SNR)
              C is capacity (bps)
              B is bandwidth (Hz)
              SNR is the signal-to-    noise power ratio.
 Takeaway message
      You can increase channel’s data rate by increasing
      bandwidth or improving signal quality (SNR).
講義第 16 頁 / Lecture slide 16
Outline
    Basic concepts of wireless communications
    Signal propagation
    Modulation techniques
    Multiplexing techniques
    Spread spectrum techniques
    Media   access control methods
講義第 17 頁 / Lecture slide 17
Signal Propagation via Antennas
   Signals are propagated through the wireless channel
        The transmitter generates electromagnetic signals and delivers them to
        the transmitting antenna.
        The transmitting antenna radiates these signals into the surrounding
        environment as radio or microwave waves.
        The radiated signals travel through the wireless channel to reach the
        receiver.
        The receiving antenna captures the propagated signals from the
        environment and converts them into alternating current for the
        receiver.
   The wireless channel is the most unpredictable part of the
   system.
   As a result, signals are often distorted or even corrupted
   during propagation before reaching the receiving antenna.
講義第 18 頁 / Lecture slide 18
Antennas
    Isotropic radiator                                                                                     y
          Equal radiation in all directions (three                                                                       z
          dimensional)
          Only a theoretical reference antenna                                                                           x
    Real antennas
                                                                                         Ideal isotropic radiator
          Not isotropic radiators
          Some simple antennas
                Quarter wave (λ/4) Marconi antenna on car
                roofs or half wave (λ/2) dipole
                     size of antenna proportional to wavelength for
                      better transmission/receiving performance
                                                         λ/4                          λ/2
講義第 19 頁 / Lecture slide 19
Signal Propagation Model
    Signal propagation in free space is a straight light
    (line of sight, LOS)
    Free space propagation model
         Receiver’s received power decreases with the square of
         distance d - path loss.
                                                                                                𝜆𝜆      2
                                d                                    𝑃𝑃𝑟𝑟 = 𝐺𝐺𝑟𝑟𝐺𝐺𝑡𝑡         4𝜋𝜋 𝑑𝑑        𝑃𝑃𝑡𝑡
                                                                       Pr: received power
                                                         ground        Pt: transmitted power
                                                                       Gr, Gt: receiver and
                                                                          transmitter antenna gains
                                                                      λ (=c/f): wave length
講義第 20 頁 / Lecture slide 20
Signal Propagation Ranges
    The distance over which communication is possible depends
    on
          Transmission power, frequency of operation, antenna gains,
          environmental factors (Line-of-sight, obstacles)
    The maximum range is limited by the point where the
    received signal is too weak or the SNR is too low for reliable
    detection.
          Transmission range
               communication is possible
               low error rate                                                      sender
          Interference range                                                                       d
               communication is impossible                                      Transmission
               signal interferes other transmissions                                range
                                                                                 Interference              receiver
                                                                                    range
講義第 21 頁 / Lecture slide 21
Signal Propagation: Complexity
    Signal propagation is additionally influenced by
         Shadowing after passing through obstacles
         reflection at large obstacles
         scattering at small obstacles
         diffraction at edges of obstacles
            shadowing                   reflection            scattering                diffraction
講義第 22 頁 / Lecture slide 22
Multipath Propagation
   Signal can take many different paths from sender to receiver
   due to reflection, scattering, diffraction
                                                                                      LOS pulses    multipath
                                                                                                    pulses
              signal at sender
                                                                                         signal at receiver
   The signals along different paths arrive at different times
     one symbol may interfere with “neighbor” symbols: Inter Symbol
    Interference (ISI)
   The signals reaching a receiver may have different phases, or
   may be completely out of phase to cancel each other
      signal’s distortion depends on the phases of the different parts
講義第 23 頁 / Lecture slide 23
Fading Effects                                                                 power                                 slow fading
    Channel characteristics change over time and
   location due to
          change of signal paths
          different delay variations of different signal paths
          different phases of different signal paths                               fast fading                               time
   cause rapid fluctuations in the received power
   (fast fading / short term fading)
    Pass loss due to
          the distance and shadowing from surrounding obstacles
   cause slow changes in the average power received
                                                                                                                     Fast fading
   (slow fading / long term fading)                                                Received
                                                                                    Signal                           Slow fading
                                                                                    Power
                                                                                    (dB)                   path loss
講義第 24 頁 / Lecture slide 24
MIMO: Beyond a Single Antenna
    Limitation: Traditional wireless systems use one antenna at the
    transmitter and one at the receiver (SISO - Single Input Single Output).
    Challenge: As we demand higher data rates and more reliable
    connections, we are hitting the physical limits of power and bandwidth.
    Solution: Use multiple antennas at both the transmitter and the receiver
    (MIMO – Multiple-Input Multiple-Output).
講義第 25 頁 / Lecture slide 25
Types of MIMO Systems
    Types of MIMO systems
         SISO (Single Input, Single Output): 1 Tx, 1 Rx. Basic, no spatial
         diversity.
         SIMO (Single Input, Multiple Output): 1 Tx, multiple Rx. Used for
         receive diversity (better reception).
         MISO (Multiple Input, Single Output): Multiple Tx, 1 Rx. Used for
         transmit diversity (e.g., Alamouti code).
         MIMO (Multiple Input, Multiple Output): The full system. Provides
         both diversity and multiplexing.
         Massive MIMO: A key 5G technology using a very large number of
         antennas (e.g., 64 or 128) at the base station to create highly
         focused beams (beamforming) and serve many users simultaneously
         with extreme efficiency.
講義第 26 頁 / Lecture slide 26
MIMO: Solution to Multipath
    Multipath is a double-Edged sword problem
         In a rich multipath environment, each signal bounce creates a
         different path from the transmitter to receiver and causes multiple
         copies of a signal to arrive at the receiver at different times
         (multipath), inducing destructive interference (fading).
         Traditional thinking
               Engineers tried to minimize reflections and use directional antennas to
               avoid multipath.
         Modern insight: What if we could use those reflected paths to our
         benefit?
         Introducing MIMO
               With multiple antennas, the transmitter and receiver can send and
               receive multiple versions of the signal across these independent paths.
               The receiver uses sophisticated signal processing techniques to
               distinguish these paths and reconstruct the original data.
講義第 27 頁 / Lecture slide 27
MIMO: Core Benefits
Benefit                What it does                          Why it matters for propagation
Diversity gain       Send the same information                           Fight fading: Even if one path is
                           over multiple independent                     blocked or fades, another path likely
                           paths. The receiver combines                  has a strong signal. This increases
                           the redundant copies.                         reliability and transmission range.
Array gain                 Adjust the phase of the signal                Focus power: Instead of radiating
(Beamforming)              from each antenna so they                     energy in all directions (wasting
                           combine constructively in a                   power), it concentrates the signal
                           specific direction.                           toward the receiver. This increases
                                                                         the signal-to-noise ratio (SNR) at the
                                                                         receiver.
        Diversity
講義第 28 頁 / Lecture slide 28
MIMO: Powerful PHY Layer Tech.
   MIMO is a powerful physical-layer technique that uses
   multiple antennas to combat the negative effects of the
   wireless channel.
   It improves reliability (via diversity) and SNR (via
   beamforming).
   4G, 5G, and modern Wi-Fi use multiple antennas not only to
   achieve high data rates, but also to ensure the connection to
   stay stable even in challenging environments.
   Later, we will see how these antenna arrays can also be used
   to increase overall data rate by creating separate "spatial
   pipes" for different data. That is a Space Division Multiplexing
   (SDM) technique.
講義第 29 頁 / Lecture slide 29
Outline
    Basic concepts on wireless communications
    Signal propagation
    Modulation techniques
    Multiplexing techniques
    Spread spectrum techniques
    Media   access control methods
講義第 30 頁 / Lecture slide 30
Modulation                                                                     Baseband        Modulator         Modulated
                                                                                                                   Signal
    Modulation                                                                                   Carrier
          The process how carrier signal is manipulated to carry
          data information
                Information signal
                     Typically a low frequency signal (baseband signal)
                Carrier signal
                     A higher frequency sinusoid wave
                     do not carry any information in its pure form
                Modulated signal
                     Some parameters of carrier (A, f, and φ) need to be varied over time to
                      represent the baseband signal
    Demodulation
          The reverse process of modulation that extracts the data
          information from received signals
講義第 31 頁 / Lecture slide 31
Modulation and Demodulation
                                                       analog
           digital                                     baseband
           data                      digital           signal              analog
          101101001              modulation                             modulation                                   transmitter
                                                                    radio
                                                                    carrier
                                                      analog
           digital                                    baseband
           data                     digital           signal               analog
          101101001            demodulation                           demodulation                                  receiver
                                                                    radio
                                                                    carrier
講義第 32 頁 / Lecture slide 32
Why Not Send the Baseband
Signal Directly?
    voice                              Transmitter
                        20Hz~20KHz                 Antenna:size ~ wavelength
   At 3 KHz,
                        Antenna is too large!
講義第 33 頁 / Lecture slide 33
Analog Modulation
    Analog modulation shifts center frequency of baseband signal
    up to the frequency range of the radio carrier
        x(t)
                                        t
                                       Baseband          Modulator          Modulated
                                                                              Signal
                 X(  f )                                   Carrier                    XAM(f)
                                                      carrier fc
       -f   m                       f m    f                                                                                       f
                     0                                                                                          fc
   Information source is typically a low                                   Modulated signal is shifted to the
   frequency signal - baseband signal                                      frequency range of the radio carrier
講義第 34 頁 / Lecture slide 34
Why Need Analog Modulation?
    To reduce size of antenna (size ∝
    wavelength) to be a practical size
    To allow multiple signals to share the same
    medium (multiplexing)
    To reduce the impact of noise and
    interference due to wireless medium
    characteristics
講義第 35 頁 / Lecture slide 35
Analog Modulation
      Basic schemes
            Amplitude modulation (AM)
              s(t ) = A(t) sin(2π  ft)
            Frequency modulation (FM)
              s(t ) = A sin(2π  f(t)t )
            Phase modulation (PM)
              s(t ) = A sin(2π  ft + φ(t))                   AM
        Differences in how carrier
        signal s(t ) = A sin(2π  ft + φ)                      PM
        is used to represent data for
        transmission
                                                               FM
講義第 36 頁 / Lecture slide 36
Digital Modulation
    Digital modulation
          Digital data is translated into an analog signal (baseband)
                Also known as shift keying
                Wireless medium only allows analog signal transmission
          Basic schemes                                                                  1     0     1
                Amplitude Shift Keying (ASK)
                    Vary amplitude to represent '1' and '0’                                                 t
                    Susceptible to noise
                Frequency Shift Keying (FSK)                                             1     0     1
                    Vary frequency to represent bits                                                        t
                    More robust
                Phase Shift Keying (PSK)                                                 1     0     1
                                                                                                             t
                    Vary phase of the carrier
講義第 37 頁 / Lecture slide 37
Advanced Phase Shift Keying
     BPSK (Binary Phase Shift Keying):                                                                Q
           Bit value 0: sine wave
           Bit value 1: inverted sine wave                                                       1         0    I
           Very simple PSK
           Low spectral efficiency                                                          10        Q        11
           Robust, used e.g. in satellite systems
     QPSK (Quadrature Phase Shift Keying):                                                                      I
           Use 4 different phase shifts to encode 2
           bits per symbol.                                                                 00                 01
           Symbol determines shift of sine wave                             A
           Doubles data rate over BPSK without
           needing more bandwidth
           More complex                                                                                             t
           DQPSK (Differential QPSK): Transmission of                           11       10            00        01
           relative, not absolute phase shift
講義第 38 頁 / Lecture slide 38
Quadrature Amplitude Modulation
      Quadrature Amplitude Modulation (QAM): combines
      amplitude and phase modulation
           Code n bits using one symbol (e.g., 4 bits for 16-    QAM, 8 bits for
           256-     QAM).
           2n discrete levels, n=2 identical to QPSK
           Bit error rate increases with n, but less errors compared to
           comparable PSK schemes                                                    0010 0110Q  1110  1010
                                                                                     0011  0111  1111  1011
  Example: 16-   QAM (4 bits = 1 symbol)                                                            φ
                                                                                                      A      I
           Symbols 1111 and 1010 have the same phase φ,                              0001  0101  1101  1001
            but different amplitude A.                                               0000  0100   1100 1000
           Symbols 1010 and 1000 have the same amplitude A,
                                                                                              1000
            but different phase φ.
講義第 39 頁 / Lecture slide 39
Hierarchical Modulation
    Modulates two separate data streams onto a single stream
         High Priority (HP) stream embedded within a Low Priority (LP) stream
         Multicarrier system, about 2000 or 8000 carriers
         16-    QAM, 64-   QAM
                                                                                     Q
  Example: 64-   QAM
         For good reception: resolve the entire
         64-    QAM constellation                                 10
         For poor reception, mobile reception:                                                          I
         resolve only QPSK portion
         6 bit per QAM symbol, 2 most
         significant determine QPSK                               00
         HP stream coded in QPSK (2 bits),                           001100             010101
         LP stream uses remaining 4 bits
講義第 40 頁 / Lecture slide 40
Error Control Coding
    Problem: noise corrupts bits
         Higher-order modulation (e.g., 64-QAM) gives higher data
         rates, but at the cost of being more susceptible to noise.
         Result: bits get flipped during transmission (a '1' becomes a
         '0').
    Question:
         How to make the link reliable without simply increasing
         transmit power (which drains batteries and causes
         interference)?
    Answer:
         Error Control Coding – adding structured redundancy to the
         data so the receiver can detect and fix errors.
講義第 41 頁 / Lecture slide 41
Two Approaches: Detection vs.
Correction
    Detection approach: Error detection + Retransmission
    (ARQ)
         What it does?
              Detects errors and asks for a retransmission.
         How it works?
              Transmitter adds a checksum/CRC in the packet and sends it.
              Receiver checks the packet; if corrupted, it sends a NACK (Negative
              Acknowledgment) back to the transmitter.
         Suitable for
              Non-realtime data (file downloads, web browsing, email).
講義第 42 頁 / Lecture slide 42
Two Approaches: Detection vs.
Correction
    Correction approach: Forward Error Correction (FEC)
         What it does?
               Corrects errors without retransmission.
         How it works?
               Transmitter adds redundant bits that allow the receiver to
               mathematically reconstruct the original data, even if some bits are
               corrupted.
         Suitable for
               Real-time services (voice calls, video streaming) where
               retransmission would cause unacceptable delay.
講義第 43 頁 / Lecture slide 43
FEC: The Key Trade-off
    The transmitter encodes the data with redundant bits before transmission.
    Key metric:
          Code rate: R = Original Data Bits/Total Transmitted Bits
          Example 1: R = 1/2
                Each data bit becomes 2 bits (50% redundancy).
                High protection, but the data rate decreased by half.
          Example 2: R = 3/4
                Each 3 data bits become 4 bits (25% redundancy).
                Less protection, but higher data rate.
    Trade-off:
          Lower code rate → More error protection → Lower effective data rate.
          Higher code rate → Less error protection → Higher effective data rate.
    Real-world: 4G/5G dynamically adjusts the code rate based on channel
    conditions.
          Poor channel? Use R = 1/3.
          Good channel? Use R = 5/6.
講義第 44 頁 / Lecture slide 44
Coding Gain – The Real Benefit
    What is the coding gain?
          The improvement in SNR required to achieve a
          certain Bit Error Rate (BER) when using coding vs.
          no coding.
          E.g., to achieve a BER of 10-6 (1 error per 1
          million bits), the uncoded system might need 15
          dB SNR. The coded system might only need 10 dB
          – a 5 dB coding gain.
    Why this matters?
          Extend range: Users at the cell edge can still                              •  Uncoded curve - A steep downward
                                                                                         curve trend showing BER dropping
          communicate reliably.                                                          as SNR increases.
          Save power: Devices can transmit at lower power                             •  Coded curve - The same curve
                                                                                         trend, but shifted to the left.
          and still achieve the same performance.
          Enable higher-order modulation:
                Without coding, 256-QAM would be unusable in
                most real environments.
                With coding, it works reliably in good conditions.
講義第 45 頁 / Lecture slide 45
Real-World Systems Use Both
    The system designer chooses the right combination based on
    the application, channel conditions, and user requirements.
         Modulation determines how many bits per symbol (data rate).
         Error control coding determines how reliably those bits survive the
         channel.
         Together, they form a critical trade-off: Speed vs. Reliability.
         System       Modulation         Error Control
         Wi-    Fi 6         Up to 1024-       QAM   LDPC Codes + ARQ
         4G LTE         Up to 64-   QAM       Turbo Codes + HARQ
         5G NR          Up to 256-     QAM     LDPC (Data) + Polar (Control) + HARQ
         Satellite TV   Up to 32-   APSK      LDPC Codes + FEC
講義第 46 頁 / Lecture slide 46
Outline
    Basic concepts of wireless communications
    Signal propagation
    Modulation techniques
    Multiplexing techniques
    Spread spectrum techniques
    Media   access control methods
講義第 47 頁 / Lecture slide 47
Multiplexing
    Capacity of transmission medium usually exceeds required
    transmission BW for a single user - how to use the
    transmission medium more efficient?
          Multiplexing allows multiple users’ signals to be carried on a single
          medium
    The medium is always shared in wireless communication –
    how to ensure low interference ?
          Divide medium into several channels that can be used
          independently without interferences
講義第 48 頁 / Lecture slide 48
Multiplexing
     4 ways of multiplexing
             frequency (f)                                                   channels ki
             time (t)                                                             k1         k2        k3         k4        k5         k6
             code (c)
             space (s)
     Goal: multiple use of a shared medium
講義第 49 頁 / Lecture slide 49
Frequency Division M ultiplexing (FDM)
      Separate the whole spectrum into smaller non-  overlapping frequency
      bands
      A channel gets a certain band of the spectrum for the whole time
      Advantages
            no dynamic coordination                                     k1       k2       k3       k4       k5      k6
            necessary                                               c
            work for analog signals                                                                                       f
      Disadvantages
            waste of bandwidth
            if the traffic is
            distributed unevenly
            inflexible
            guard spaces needed
                                      t
講義第 50 頁 / Lecture slide 50
Time Division Multiplex    ing (TDM)
     Divide the time into discrete time slots
     A channel gets the whole spectrum for a certain
     amount of time slots
     Advantages                                                      k1       k2      k3      k4       k5      k6
          only one carrier in the
          medium at any time                                       c
          high throughput even                                                                                       f
          for many users
     Disadvantages
          need precise time
          synchronization
                                t
講義第 51 頁 / Lecture slide 51
Duplexing: Two-Way                                                                               Downlink
Communication                                                                                      Uplink
     Wireless communication is inherently two-way:
          Uplink (UL): from the mobile device (user) to the base station
          (network)
          Downlink (DL): from the base station to the mobile device
     Challenge
          A device cannot simply transmit and receive on the exact same
          frequency at the exact same time without causing self- interference
          (its own powerful transmission would deafen its own receiver).
     Solution
          Duplexing is used to manage the separation of Uplink and Downlink
          transmissions so they don't interfere.
講義第 52 頁 / Lecture slide 52
Frequency Division Duplexing
(FDD)
   Uplink and downlink operate simultaneously, but
   on two distinct, separate frequency bands.                                       downlink
   Guard band: The gap between the two bands acts
   as a buffer to prevent the transmitter from
   interfering with the receiver on the same device.
   Advantages:
         Continuous transmission/reception (low latency)
         Simpler scheduling
   Disadvantages:
         Requires paired spectrum (must have two frequency
         bands), which is expensive and less flexible.
   Real-world use: 2G/3G/4G LTE-FDD, satellite.                                                                  uplink
講義第 53 頁 / Lecture slide 53
Time Division Duplexing (TDD)
   Uplink and downlink use the same single frequency
   band, but take turns transmitting in different time
   slots.
   Guard time: A very short gap between time slots to
   ensure devices have time to switch between
   transmitting and receiving modes.                                                   1 2 3     1112 1  2 3    11 12
                                                                                          downlink                 uplinkt
   Advantages:
         Do not require paired spectrum (more flexible, cheaper).
         Can dynamically adjust the ratio of UL/DL time slots
         based on traffic demand (e.g., more DL slots for video
         streaming).
   Disadvantages:
         Require strict time synchronization.
         Introduce slight latency due to the switching gaps.
   Real-world use: Wi- Fi, Bluetooth, 4G LTE-TDD, 5G NR
   (highly flexible), and cordless phones.
講義第 54 頁 / Lecture slide 54
FDD vs. TDD – How to Choose?
         Feature         FDD                                                        TDD
         Channel         Needs paired symmetrical frequency                        Uses unpaired time slots.
                            bands
         Traffic            Fixed UL/DL bands. Inefficient if data is              Highly flexible. Can allocate more time
         Asymmetry          mostly downloads (as UL band is                        slots to DL if users are mainly
                            wasted).                                               downloading.
         Coverage        Better coverage generally, as                             Coverage can be limited by the guard
                            continuous transmission helps with                     time (needs to be short for small cells).
                            signal tracking.
         Complexity     Simpler radio frequency (RF) design,                       More complex time synchronization, but
                            but requires expensive duplex filters.                 cheaper filters.
         Modern             Still widely used in macro cellular.            Dominant for 5G and dense urban
         Trend                                                                     deployments due to spectrum efficiency
                                                                                   and massive MIMO compatibility (TDD
                                                                                   works better with beamforming).
講義第 55 頁 / Lecture slide 55
Code Division Multiplex    ing (CDM)
     All channels use the same spectrum
     at the same time                                               k1       k2      k3       k4       k5      k6
     Each channel has a unique code
     The channels are separated by assigning                                                     c
     them their unique ‘code’s
     Advantages
          bandwidth efficient
          no coordination and synchronization necessary
          good protection against interference                                                                        f
     Disadvantages
          lower user data rates
          more complex signal regeneration
                                                                             t
講義第 56 頁 / Lecture slide 56
Time and F requency Division
Multiplexing
     Combination of both methods
          a channel gets a certain frequency band for a certain amount of time
     Advantages
          protection against frequency
          selective interference                                         k1       k2       k3       k4       k5       k6
          higher data rates compared to
          code multiplex                                             c
     Disadvantages                                                                                                        f
          precise coordination
          required
                                        t
講義第 57 頁 / Lecture slide 57
Orthogonal Frequency Division
Multiplexing (OFDM)
     Multiple channels overlapped to save bandwidth
           signals at difference channels do not interference at certain frequencies
     Advantages
           overlapped frequency                          Ch.1    Ch.2     Ch.3     Ch.4     Ch.5     Ch.6     Ch.7     Ch.8     Ch.9     Ch.10
           channels save bandwidth
           support higher data rates
           compared to FDM
     Disadvantages
                                                    Conventional frequency division multiplexing                          frequency
           precise time
           synchronization required                          Ch.2  Ch.4  Ch.6   Ch.8  Ch.10
                                                          Ch.1 Ch.3  Ch.5   Ch.7  Ch.9
                                                                                                     Saving of bandwidth
                                                                                              50% bandwidth saving
                                                    Orthogonal frequency division multiplexing                             frequency
講義第 58 頁 / Lecture slide 58
Space Division Multiplexing (SDM)
      Separate the whole space into cells
      A cells uses a certain band of the spectrum for signal transmission
      Advantages                                                       channels ki
            Very simple
            Increase the capacity by reusing                               k1        k2       k3       k4        k5       k6
            the frequency in different cells
      Disadvantages
            inflexible                                                                          f4
            Need handoff                                                              f3                   f6
                                                                           f2                   f5                    f3
                                                                                      f1                   f2
                                                                           f4                   f7                    f1
                                                                                      f6
講義第 59 頁 / Lecture slide 59
SDM: MIMO
    MIMO antenna arrays enables SDM
         Use the physical separation of antennas and propagation paths to
         create multiple independent channels in the same frequency and time
         slot.
         Instead of sending the same data for reliability (diversity), MIMO sends
         different data streams simultaneously over different spatial paths.
    How it works
     1.   A high-  speed data stream is split into N lower- speed streams.
     2.   Each stream is transmitted from a different antenna.
     3.   Each stream travels via a slightly different physical path.
     4.   The receiver, with its M antennas, uses signal processing to separate
           these streams and recombine them.
    Result: the data rate increases by a factor of up to min(N, M).
講義第 60 頁 / Lecture slide 60
From SU-MIMO to MU-MIMO
    SU-MIMO (Single-User MIMO):
         All spatial streams are dedicated to a single
         user to increase that user's peak data rate.
         (e.g., a laptop with 4 antennas connecting
         to a Wi-Fi router).
    MU-MIMO (Multi-User MIMO) / SDMA:
         The base station uses its antenna array to
         create distinct spatial beams pointing to
         different users simultaneously, all on the
         same frequency and time.
    Benefit: A resource-sharing tech. that
    dramatically increases not only the
    peak date speed for one, buy also the
    total network capacity (sum throughput
講義第 61 頁 / Lecture slide 61
MIMO + OFDM: Modern Standard
      Dream team: MIMO + OFDM
           Why combine them?
                 Problem: Wideband signals (high data rates) suffer from frequency-
                 selective fading  (different frequencies fade differently).
                 Solution: OFDM divides the wideband signal into many narrowband sub-
                 carriers, each experiencing flat (non-selective) fading.
           MIMO + OFDM: a perfect pair
                 OFDM handles the frequency domain (robustness against fs-fading).
                 MIMO handles the spatial domain (higher speed, capacity, and
                 reliability).
                 It allows the system to allocate both frequency-time resources (OFDMA)
                 and spatial resources (MIMO) dynamically based on user demand and
                 channel conditions.
           MIMO + OFDM is the foundation of all modern high-  speed wireless
                 4G LTE & 5G NR (Cellular)
                 Wi-    Fi 6 / 7 (Wireless LAN)
講義第 62 頁 / Lecture slide 62
Outline
    Basic concepts of wireless communications
    Signal propagation
    Modulation techniques
    Multiplexing techniques
    Spread spectrum techniques
    Media   access control methods
講義第 63 頁 / Lecture slide 63
Spread Spectrum Techniques
    Spread spectrum uses a wide range of frequencies
    to transmit a narrowband signal to defend against
    interferences
         Problem of radio transmission: narrow band signals can
         be wiped out for duration of the interference
         Solution: spread the narrow band signal into a broad
         band signal using a special code to protect against
         narrow band interference
power            signal        power                                       power
 interference                     interference             spread                       signal
                                                      signal                                     spread
                     spreading                                 detection at                      interference
                                                               receiver
                          f                                    f                                    f
講義第 64 頁 / Lecture slide 64
Spreading and Interference
          dP/df                spreading           dP/df
  i)                                      ii)
                                 f  sender                               f
          dP/df                                    dP/df                                    dP/df
                                decoding                                     filtering
iii)                                     iv)                                       v)
                                f  receiver                              f                                        f
                                                                                   user signal
                                                                                   broadband interference
                                                                                   narrowband interference
講義第 65 頁 / Lecture slide 65
Spreading and Frequency Selective Fading
      channel
        quality
                       1        2                         5       6                            narrowband channels
                                        3
                                                 4
                                                                       frequency
              narrow band                         frequency
                      signal               selective fading
    channel
      quality
                                                     2 2
                                                 2 2                                        spread spectrum channels
                                             1 2
                     spread                                            frequency
                  spectrum
講義第 66 頁 / Lecture slide 66
Spread Spectrum Techniques
     Two different spread spectrum approaches
         DSSS (Direct Sequence Spread Spectrum)
         FHSS (Frequency Hopping Spread Spectrum)
講義第 67 頁 / Lecture slide 67
DSSS                                                                                               spread                    transmit
                                                                                                   spectrum                  signal
    For transmitter                                                           user data      X     signal      modulator
          Before the msg is transmitted,
         each msg data stream is mixed                                        spreading                     radio
                                                                              code                          carrier
         with the spreading code                                                                  transmitter
                Spreading code: m-   bit chipping
                sequence                                                               tb
                The effect is spreading the signal                                                                    user data
                spectrum across a wider frequency
                band                                                                   0                    1           XOR
                One technique is using exclusive-OR                                      tc
                to mix the msg  data stream with the                                                                  chipping
                spreading code                                                                                        sequence
                                                                               0    1    1 0       1    0 1 01    0          0    1          11=
          The spread spectrum signal will
          then be modulated with the carrier                                                                          resulting
                                                                                                                      signal
          for the transmission                                                 0    1    1 0       0    1 0 11    0          1    0          01
                                                                                        tb: bit period
講義第 68 頁 / Lecture slide 68
DSSS
      For receiver
             The received signal is first demodulated to the baseband signal
             The same spreading code is used to decode the baseband signal to
             the msg data stream via the correlator
                                                                          correlator
                    received                            lowpass        products                sampled
                    signal                              filtered                               sums                   data
                                                        signal
                                    demodulator                     X             integrator            decision
                                radio                 spreading
                                carrier               code
                                               receiver
講義第 69 頁 / Lecture slide 69
                                                                                                                                                                                                XOR    0     1
DSSS Example
                                                                                                                                                                                                  0     0     1
                                                                                                                                                                                                  1     1     0
                User data bits  A                             1                   0                   1                   1                  0                   1                    0                0
             Spreading code  B                          1    0   0  1     0   1  1   0    1    0  0    1    0   1   0   0   1    0    1    0    1  1   0  0   1     0   1  1   0    1   1   0
                                                                                                                                                                                                             transmitter
             Transmitted signal                         0   1   1   0    0   1  1    0    0   1  1    0   1    0    1  1   1     0   1     0  0  0    1   1   1   0    1  1    0   1   1   0
             C = A ⊕ B
              Received signal                           0   1   1   0    0   1  1    0    0   1  1    0   1    0    1  1   1     0   1     0  0  0    1   1   1   0    1  1    0   1   1   0
                                                                                                                                                                                                               receiver
                Spreading code                          1    0   0  1     0   1  1   0    1    0  0    1    0   1   0   0   1    0    1    0    1  1   0  0   1     0   1  1   0    1   1   0
               Decoded data                                    1                   0                   1                   1                  0                   1                    0                0
               A = C ⊕ B
講義第 70 頁 / Lecture slide 70
FHSS
    For transmitter
          A number of carrier frequencies are allocated
           based on pseudo random hopping sequences
          Data stream is converted to baseband signal
          Baseband signal is modulated with the selected carrier signal
                At one time interval, transmitter operates at one carrier frequency to
                modulate the baseband signal
                At each successive interval, a new carrier frequency is selected
                for modulation
                So the modulated signal is transmitted from frequency to frequency at
                fixed intervals (frequencies hop randomly)
                                                  narrowband                spread
                                                                            transmit
                          data        digital     signal       analog       signal
                                   modulator                 modulator
                       transmitter       hopping              frequency
                                         sequence            synthesizer
講義第 71 頁 / Lecture slide 71
FHSS
     For receiver
           Choose the same carrier frequency sequences
            and synchronize with transmitter in frequencies
            to receive the signal.
                  Receiver uses the selected carrier to demodulate
                  the received signal to the baseband signal
                  Baseband signal can further be demodulated to
                  the data stream
                               received                      narrowband
                               signal          analog        signal         digital        data
                                            demodulator                 demodulator
                        hopping              frequency
                        sequence            synthesizer                receiver
講義第 72 頁 / Lecture slide 72
Features of Spread Spectrum
    Allow multiple users to use the same frequency
    band
         To the dedicated receiver that knows the patterns of the
         transmitting signal, the spread-spectrum signal is easily
         detected
         To everyone else, the spread-spectrum signal looks like
         background noise
    Higher reliability and security
         Resist to frequency selective fading and interference
         Provide secure communication and resist to
         eavesdropping
講義第 73 頁 / Lecture slide 73
Outline
    Basic concepts of wireless communications
    Signal propagation
    Modulation techniques
    Multiplexing techniques
    Spread spectrum techniques
    Media   access control methods
講義第 74 頁 / Lecture slide 74
Medium Access Control (MAC)
    Medium access control (MAC) methods regulate
    multiple terminals to access  the shared medium
         Determine how to allocate medium resource
         (frequencies, time slots, or spreading codes, etc.)  to
         terminals that share the medium
         Just like the traffic control system: when vehicles try to
         cross the same street intersection, they need traffic
         regulations (traffic lights) to avoid collisions
    Two different approaches
         Channel-based methods
         Packet-based methods
講義第 75 頁 / Lecture slide 75
MAC Methods
    Channel-based MAC methods
         Use multiplexing techniques to coordinate multiple
         terminals to share medium - each terminal is assigned
         its separated   paired channels in the medium for
         transmission
              In FDD systems, a paired channels for UL and DL.
              In TDD systems, a paired time slots for UL and DL.
         Provide collision-    free multiple access to the medium
         More suitable for wireless networks that are designed to
         carry voice: GSM, AMPS, IS-95,…
講義第 76 頁 / Lecture slide 76
MAC Methods
    SDMA (Space Division Multiple Access)
         Based on SDM – Segment space into cells
         E.g., cell structure in cellular networks
    FDMA (Frequency Division Multiple Access)
         Based on FDM – Allocate frequencies to channels or define a
         frequency hopping pattern
         E.g., 1G system, FH for 2G system
    TDMA (Time Division Multiple Access)
         Based on TDM – Allocate time slots to channels in a fixed pattern
         Time can be allocated on demand and in a distributed fashion
         E.g., 2G system
    CDMA (Code Division Multiple Access)
         Based on CDM – Assign codes to separate different users in code
         space
         E.g., 3G system
講義第 77 頁 / Lecture slide 77
SDMA Example: Cellular Network
                                                                                                       c
                                                                                                       120o
                                                                                                                   a
                                                                                                       b
                                                                                                            f
                                                                                                    e      60o      a
                                                                                                    d       c      b
                       Cell splitting                                                         Cell sectoring
講義第 78 頁 / Lecture slide 78
FDMA Example: GSM
                               f     960 MHz
                                                                     124
                                    935.2 MHz                    downlink                                200 kHz
                                                                      1
                                    915 MHz                                                    20 MHz
                                                                     124
                                                                  uplink
                                                                      1
                                     890.2 MHz                                                                        t
講義第 79 頁 / Lecture slide 79
TDMA Example: DECT
                          417 µs
                               1    2     3             11    12     1     2     3             11   12
                                         downlink                      uplink                                 t
講義第 80 頁 / Lecture slide 80
CDMA Example: CDMA
    Sender A
          sends Ad = 1, key Ak = 010011 (assign: “0“= -1, “1“= +1)
          Ad = +1       Ak = (-1, +1, -1, -1, +1, +1)
          sending signal
          As = A     d * A    k = (+1) * (- 1, +1, -1, -1, +1, +1)
                              = (-1, +1, -1, -1, +1, +1)
    Sender B
          sends Bd = 0, key Bk = 110101 (assign: “0“= -1, “1“= +1)
          Bd = -   1       Bk = (+1, +1, -1, +1, -1, +1)
          sending signal
           Bs = B     d * B    k = (-1) * (+1, +1, -1, +1, -1, +1)
                               = (-1, -1, +1, -1, +1, - 1)
    Both signals superimpose in space
          interference neglected (noise etc.)
          S =    As + B     s = (    -1, +1, - 1, -1, +1, +1) + (-1, -1, +1, -1, +1, - 1)
                             = (-2,   0,   0, -2, +2,    0)
講義第 81 頁 / Lecture slide 81
CDMA Example: CDMA
    Receivers receive the combined signal S = (-2, 0, 0, -2, +2, 0)
    Receiver A
          apply key Ak to inner product the signal S
                Ae = S • Ak = (-2, 0, 0, -2, +2, 0) • (-1, +1, -1, -1, +1, +1)
                                  = (-2)*(-1)+0*(+1)+0*(-1)+(-2)*(- 1)+(+2)*(+1)+0*(+1)
                                  = 2 + 0 + 0 + 2 + 2 + 0 = 6
          decision: result Ae > 0   =>  original bit was “1“
    Receiver B
          apply key Bk to inner product the signal S
                Be = S • Bk = (-2, 0, 0, -2, +2, 0) • (+1, +1, -1, +1, -1, +1)
                                  = (-2)*(+1)+0*(+1)+0*(-1)+(-2)*(+1)+(+2)*(-1)+0*(+1)
                                  = -2 + 0 + 0 - 2 -    2 + 0 = -6
          decision: result Be < 0   =>  original bit was “0“
講義第 82 頁 / Lecture slide 82
MAC Methods
    Packet-based MAC methods
         Network channels are accessed by terminals on demand
         - there is no dedicated channel for each terminal
         Terminals need to compete for the use of channels to
         send packets and collision may occur
         MAC protocols are used to regulate multiple terminals to
         randomly access the shared medium
              Need to resolve transmission collisions
         More suitable for wireless networks that are designed to
         send data packets: wireless LANs, ad hoc networks,
         bluetooth, ….
講義第 83 頁 / Lecture slide 83
MAC Methods
    Aloha/Slotted Aloha
    DAMA (Demand Assigned Multiple Access)
    CSMA (Carrier Sense Multiple Access)
         CSMA/CD (Carrier Sense Multiple Access with
         Collision Detection)
    MACA (Multiple Access with Collision Avoidance)
    MACAW (Multiple Access with Collision Avoidance
    for Wireless)
    Polling
講義第 84 頁 / Lecture slide 84
Aloha
     The grandmother of all random access protocols
     Stations access channel at will and may cause
     collisions
                                                                     collision
            sender A
            sender B
            sender C
                                                                                                                   t
講義第 85 頁 / Lecture slide 85
Slotted Aloha
    Channel time is divided into slots
    Stations access channel at beginning of each slot
    Frame transmission occupies the entire slot
    Frame is wiped out by collision if one or more
    other stations also access the same slot
                                                          collision
           sender A
           sender B
           sender C
                                                                                                t
講義第 86 頁 / Lecture slide 86
DAMA
   Channel throughput for Aloha is low
       18% for Aloha, 36% for Slotted Aloha
   DAMA increase       s throughput to 80%
       Aloha mode for reservation
              Sender   has to compete with others to reserve a future time-slot,
              collisions possible
       Reserved mode for data transmission
              When successful reserved slot, sender can send data without
              collisions
                                                    collision
                                                                                                          t
       Aloha      reserved       Aloha      reserved       Aloha      reserved       Aloha
講義第 87 頁 / Lecture slide 87
Carrier Sense Multiple Access (CSMA)
   CSMA - sender will sense the carrier before sending a packet
         Persistent CSMA
               When the medium is busy, a station can persistently wait for the
               medium to become idle, and then transmit with a probability p
         Non-persistent CSMA
               When the medium is busy, a station does not monitor the wireless
               medium all the time, but listens   to the medium again at
               predefined time
講義第 88 頁 / Lecture slide 88
CSMA
    CSMA/CD is an enhancement of CSMA
          CD (collision detection)
                Sender terminates the transmission as soon as a collision is detected
    CSMA/CD works well for wired networks, but not for wireless networks
          In wired networks, sender can
                apply CS mechanism to detect if the medium is occupied
                apply CD mechanism to detect if the signal is collided
          In wireless networks, CS and CD do not work
                CS does not work if a sending terminal is “hidden” to the sender (out of
                the transmission range of the sender). The sender cannot sense the
                transmission.
                CD does not work since collisions that happens at the receiver cannot be
                detected by the sender
講義第 89 頁 / Lecture slide 89
CSMA
     Hidden terminal problem
           A sends to B, C cannot receive A
           C wants to send to B, C senses a “free” medium (CS fails)
           Collision at B, A cannot detect the collision (CD fails)
           A is “hidden” for C -> cause collisions
                                    A                    B                      C
講義第 90 頁 / Lecture slide 90
CSMA
    Exposed terminal problem
          B sends to A
            C wants to send to D,   CS signals a medium in use, C has
          to wait
          Since A is outside radio range of C, waiting is not
          necessary
          B is “exposed” to C –> unnecessary blocking
                                      Range of B                     Range of C
                               A                  B               C                   D
                                      sending
講義第 91 頁 / Lecture slide 91
Multiple Access with Collision
Avoidance (MACA)
    MACA uses short signaling packets
    (RTS/CTS) for collision avoidance
         RTS - request (or ready) to send                                               A                 B
              If the sender wants to send a data packet , it                                   RTS
              first broadcasts a short RTS packet to the                                       CTS
              receiver to request the right
                                                                                              DATA
         CTS - clear to send
              The receiver grants the right by broadcasting a                              MACA
              CTS packet as soon as it is ready to receive
         DATA
              When the sender receives the CTS, it sends the
              data to the receiver
講義第 92 頁 / Lecture slide 92
MACA
     MACA avoids hidden terminal problem
           A and C want to send to B
           A sends RTS first
           C waits after receiving CTS from B
                                         Range of A                  Range of B
                                                     A     RTS         B              C
                                                                            CTS
                                                           CTS
講義第 93 頁 / Lecture slide 93
MACA
     MACA avoids exposed terminal problem
           B wants to send to A and C wants to send to D
           Now C does not have to wait as it cannot receive CTS
           from A
                                     Range of A                            Range of C
                                           A        RTS       B    RTS        C                  D
                                                    CTS
                                                     Range of B
講義第 94 頁 / Lecture slide 94
Multiple Access with Collision
Avoidance for Wireless (MACAW)
   MACAW enhances MACA by requiring                                       A            B
   the receiver sends acknowledgements                                          RTS
   (ACK) after each successful data                                             CTS
   transmission                                                                DATA
   The transmission error can be quickly                                        ACK
   recovered in MAC layer than the upper                                    MACAW
   network layer
   MACAW can solve the hidden terminal
   problem, but generally do not solve
   the exposed terminal problem
講義第 95 頁 / Lecture slide 95
Polling                                                                               MT3
    One “central” terminal (base station /                                                  BS/AP
    access point that can be heard by all                                                           MT2
    others) can poll all other terminals
    according to a certain schedule                                                 MT1
Example: Randomly Addressed Polling
          Base station (BS) broadcasts readiness signal to all mobile terminals
          (MTs)
          MTs ready to send can transmit a random number to BS without
          collision (random number used as the dynamic address of MT)
          BS randomly chooses one address from the list of all random
          numbers for polling the MT
               Collision occurs if two MTs choose the same address
          BS acknowledges correct packets from that MT and continues polling
          next MT
          This cycle repeats after all MTs of the list are polled
講義第 96 頁 / Lecture slide 96
Summary
What have we discussed?
         Concepts of wireless communications
         Signal propagation
         Modulation techniques
         Multiplexing techniques
         Spread spectrum techniques
         Media access control methods
References:
     Mobile Communications: chapter 2 & chapter 3