112 年 國立臺灣聯合大學系統(清華、政治、陽明交通、中央四校聯招)研究所電機類《通訊系統》

📄 試題原卷 免費註冊後即可對照原始考卷 PDF免費註冊

第 1 題

台灣聯合大學系統 112 學年度碩士班招生考試試題
類組:電機類 科目:通訊系統(通訊原理)(300E) 共 5 頁 第 1 頁
計算題(計算題應詳列計算過程,無計算過程者不予計分)

  1. For the graph below, answer the following questions.
    🖼️【此處有附圖,請對照原卷】
    Note that the argument of Λ(⋅)\Lambda(\cdot) will be specified in the subproblems.
    (a) (3%) Can Λ(τ)\Lambda(\tau) be the autocorrelation function of a (possibly complex-valued) wide-sense stationary (WSS) random process? Justify your answer.
    (b) (3%) Can Λ(f)\Lambda(f) be the power spectrum density (PSD) of a real-valued WSS random process? Justify your answer.
    (c) (3%) Suppose λ(t)\lambda(t) is the inverse Fourier transform of Λ(f)\Lambda(f). Plot the Fourier transform of λ(2t)\lambda(2t).
    (d) (3%) Suppose a(t)=∑n=−∞∞λ(t−n)a(t) = \sum_{n=-\infty}^{\infty} \lambda(t-n), where λ(t)\lambda(t) is the inverse Fourier transform of Λ(f)\Lambda(f). Plot the Fourier transform of a(t)a(t).
    (e) (4%) Plot the Fourier transform of s(t)=Re{λ(t)ej2πfct}s(t) = \text{Re}\{\lambda(t)e^{j2\pi f_c t}\}, where λ(t)\lambda(t) is the inverse Fourier transform of Λ(f)\Lambda(f) and fc≫2f_c \gg 2.
🖼️ 本題含圖表,以下為原卷對應頁面:
原卷第 1 頁

登入後即可作答並保存紀錄。

這一題的完整詳解

核心觀念

採用傅立葉轉換定義

X(f)=∫−∞∞x(t)e−j2πft dt.X(f)=\int_{-\infty}^{\infty}x(t)e^{-j2\pi ft}\,dt.

本題用到四項性質:

  • WSS 過程的自相關函數必須滿足共軛對稱:R(−τ)=R∗(τ)R(-\tau)=R^*(\tau)。
  • 實值 WSS 過程的功率頻譜密度必須非負且為偶函數。
  • 時間縮放:x(bt)⟷1∣b∣X(f/b)x(bt)\longleftrightarrow \frac{1}{|b|}X(f/b)。
  • 時域週期化會產生離散線頻譜;取實部則會產生共軛鏡射的頻譜。

解題方法

原圖縱軸為 Λ(⋅)\Lambda(\cdot),以下記為 A(⋅)A(\cdot);圖形在負半軸為零,於 (0,1)(0,1) 有實心點,再沿直線下降至 (2,0)(2,0),其餘位置為零。因此

A(x)={1−x2,0≤x≤2,0,其餘.A(x)= \begin{cases} 1-\dfrac{x}{2},&0\le x\le 2,\\ 0,&\text{其餘}. \end{cases}

原卷 (c) 要求的是 λ(2t)\lambda(2t) 的傅立葉轉換。

(a) 能否作為 WSS 過程的自相關函數?

即使過程為複數值,自相關仍須滿足

R(−τ)=R∗(τ).R(-\tau)=R^*(\tau).

本圖的 A(τ)A(\tau) 是實值函數,因此若作為自相關,必須是偶函數。然而

A(1)=12,A(−1)=0,A(1)=\frac12,\qquad A(-1)=0,

不符合共軛對稱條件。

故 不能作為實值或複數值 WSS 過程的自相關函數。

(b) 能否作為實值 WSS 過程的 PSD?

實值 WSS 過程的自相關為實值偶函數,其傅立葉轉換也必須滿足

SX(−f)=SX(f).S_X(-f)=S_X(f).

圖中的 A(f)A(f) 雖然非負,卻不是偶函數:

A(1)=12≠A(−1)=0.A(1)=\frac12\ne A(-1)=0.

故 不能作為實值 WSS 過程的 PSD;僅有非負性並不足夠。

(c) λ(2t)\lambda(2t) 的傅立葉轉換

由 λ(t)⟷A(f)\lambda(t)\longleftrightarrow A(f),利用時間縮放性質:

G(f)≡F{λ(2t)}=12A(f2).G(f)\equiv\mathcal F\{\lambda(2t)\} =\frac12A\left(\frac f2\right).

代入原圖:

G(f)={12−f8,0≤f≤4,0,其餘.G(f)= \begin{cases} \dfrac12-\dfrac f8,&0\le f\le 4,\\ 0,&\text{其餘}. \end{cases}

頻譜由 (0,12)(0,\frac12) 線性下降至 (4,0)(4,0):

示意圖

縮放後寬度加倍、高度減半,面積仍為 11,符合 λ(2t)\lambda(2t) 在 t=0t=0 的值 λ(0)=1\lambda(0)=1。

(d) a(t)=∑n=−∞∞λ(t−n)a(t)=\sum_{n=-\infty}^{\infty}\lambda(t-n) 的傅立葉轉換

a(t)a(t) 是週期為 11 的週期化訊號,因此其傅立葉轉換為整數頻率上的脈衝:

F{a(t)}=∑k=−∞∞ckδ(f−k).\mathcal F\{a(t)\} =\sum_{k=-\infty}^{\infty}c_k\delta(f-k).

依通常的對稱求和解讀此無窮級數,Poisson 求和公式在頻譜跳躍點取左右極限平均:

ck=A(k−)+A(k+)2.c_k=\frac{A(k^-)+A(k^+)}{2}.

連續點則直接取 A(k)A(k)。各整數頻率的係數為

c0=0+12=12,c1=A(1)=12,c2=0+02=0,\begin{aligned} c_0&=\frac{0+1}{2}=\frac12,\\ c_1&=A(1)=\frac12,\\ c_2&=\frac{0+0}{2}=0, \end{aligned}

其餘整數處也皆為零。故

F{a(t)}=12δ(f)+12δ(f−1).\boxed{\mathcal F\{a(t)\} =\frac12\delta(f)+\frac12\delta(f-1)}.
示意圖

其中箭頭標示的是脈衝權重。對應的時域訊號為

a(t)=12+12ej2πt.a(t)=\frac12+\frac12e^{j2\pi t}.

可由原級數驗算 t=0t=0:逆轉換給出

λ(0)=∫02(1−f2)df=1,\lambda(0)=\int_0^2\left(1-\frac f2\right)df=1,

而非零整數 mm 處,分部積分可得

λ(m)=∫02(1−f2)ej2πmf df=j2πm.\lambda(m) =\int_0^2\left(1-\frac f2\right)e^{j2\pi mf}\,df =\frac{j}{2\pi m}.

正負整數項成對抵消,因此 a(0)=1a(0)=1,與上述兩個脈衝的權重總和一致。

(e) s(t)=Re⁡{λ(t)ej2πfct}s(t)=\operatorname{Re}\{\lambda(t)e^{j2\pi f_ct}\} 的傅立葉轉換

先將實部展開:

s(t)=12λ(t)ej2πfct+12λ∗(t)e−j2πfct.s(t)=\frac12\lambda(t)e^{j2\pi f_ct} +\frac12\lambda^*(t)e^{-j2\pi f_ct}.

利用頻移及共軛性質:

S(f)=12A(f−fc)+12A∗(−f−fc).S(f)=\frac12A(f-f_c)+\frac12A^*(-f-f_c).

因為 A(f)A(f) 為實值,故

S(f)=12A(f−fc)+12A(−f−fc).\boxed{S(f)=\frac12A(f-f_c)+\frac12A(-f-f_c)}.

正頻率部分由 (fc,12)(f_c,\frac12) 下降至 (fc+2,0)(f_c+2,0);負頻率部分為其鏡射,由 (−fc−2,0)(-f_c-2,0) 上升至 (−fc,12)(-f_c,\frac12):

S(f)={12+f+fc4,−fc−2≤f≤−fc,12−f−fc4,fc≤f≤fc+2,0,其餘.S(f)= \begin{cases} \dfrac12+\dfrac{f+f_c}{4}, &-f_c-2\le f\le -f_c,\\[4pt] \dfrac12-\dfrac{f-f_c}{4}, &f_c\le f\le f_c+2,\\[4pt] 0,&\text{其餘}. \end{cases}
🔒

後續完整解題步驟與【答案】

免費註冊,享三天全站完整詳解閱覽。

免費註冊

第 2 題

台灣聯合大學系統112學年度碩士班招生考試試題
類組:電機類科目:通訊系統(通訊原理)(300E) 共5頁第2頁
2. Below are the diagrams of the DSB-SC coherent receiver and the DSB-C envelop detector, respectively.
🖼️【此處有附圖,請對照原卷】
In both diagrams, w(t)w(t) is the additive white Gaussian noise with two-sided PSD N0/2N_0/2, and
x(t)=s(t)+n(t)x(t) = s(t)+n(t),
where
n(t)=nI(t)cos⁡(2πfct)−nQ(t)sin⁡(2πfct)n(t) = n_I(t)\cos(2\pi f_c t) - n_Q(t)\sin(2\pi f_c t)
is the filtered white noise with E[n(t)]=E[nI(t)]=E[nQ(t)]=0E[n(t)] = E[n_I(t)] = E[n_Q(t)] = 0 and E[n2(t)]=E[nI2(t)]=E[nQ2(t)]=2WN0E[n^2(t)] = E[n_I^2(t)] = E[n_Q^2(t)] = 2WN_0. Let m(t)m(t) be a zero-mean wide-sense stationary (WSS) process with E[m2(t)]=PE[m^2(t)] = P and with bandwidth WW.
(a) (7%) Find the output signal-to-noise ratio SNRO\mathrm{SNR}_O of the DSB-SC coherent receiver, where s(t)=Acm(t)cos⁡(2πfct)s(t) = A_c m(t)\cos(2\pi f_c t). Note that y(t)y(t) is the output induced by passing input v(t)v(t) via an ideal lowpass filter of bandwidth WW.
Hint: SNRO\mathrm{SNR}_O is the average power of the signal content in y(t)y(t) divided by the average power of the noise content in y(t)y(t).
(b) (7%) Subject to
∣Ac[1+kam(t)]∣≫nI2(t)+nQ2(t)|A_c[1 + k_a m(t)]| \gg \sqrt{n_I^2(t)+n_Q^2(t)},
find the SNRO\mathrm{SNR}_O of the DSB-C envelop detector, where
s(t)=Ac[1+kam(t)]cos⁡(2πfct)s(t) = A_c[1 + k_a m(t)]\cos(2\pi f_c t).
Note that the output of the envelop detector due to input x(t)=xI(t)cos⁡(2πfct)−xQ(t)sin⁡(2πfct)x(t) = x_I(t)\cos(2\pi f_c t) - x_Q(t)\sin(2\pi f_c t) is given by u(t)=xI2(t)+xQ2(t)u(t) = \sqrt{x_I^2(t)+x_Q^2(t)}, and y(t)=u(t)−E[u(t)]y(t) = u(t) - E[u(t)].

🖼️ 本題含圖表,以下為原卷對應頁面:
原卷第 2 頁

登入後即可作答並保存紀錄。

這一題的完整詳解

核心觀念

輸出訊雜比定義為

SNRO=輸出訊號平均功率輸出雜訊平均功率.\mathrm{SNR}_O=\frac{\text{輸出訊號平均功率}}{\text{輸出雜訊平均功率}}.

同調解調利用乘法器與低通濾波器取出同相分量;包絡檢波則取同相、正交分量所形成的振幅大小,因此必須保留絕對值。題目已給定

E[nI2(t)]=E[nQ2(t)]=2WN0,E[n_I^2(t)]=E[n_Q^2(t)]=2WN_0,

可直接用來計算輸出雜訊功率。以下採用加性雜訊與訊息 m(t)m(t) 獨立的標準模型。

解題方法

由原圖可讀出:(a) 帶通濾波後的 x(t)x(t) 與振幅為 11 的本地載波 cos⁡(2πfct)\cos(2\pi f_ct) 相乘,再通過頻寬為 WW 的理想低通濾波器;(b) 則先取包絡 u(t)u(t),再扣除其平均值,得到 y(t)y(t)。

(a) DSB-SC 同調接收機

將訊號與帶通雜訊合併:

x(t)=[Acm(t)+nI(t)]cos⁡(2πfct)−nQ(t)sin⁡(2πfct).x(t)=\bigl[A_cm(t)+n_I(t)\bigr]\cos(2\pi f_ct) -n_Q(t)\sin(2\pi f_ct).

乘上本地載波,利用三角恆等式得

v(t)=x(t)cos⁡(2πfct)=Acm(t)+nI(t)2[1+cos⁡(4πfct)]−nQ(t)2sin⁡(4πfct).\begin{aligned} v(t) &=x(t)\cos(2\pi f_ct)\\ &=\frac{A_cm(t)+n_I(t)}{2} \bigl[1+\cos(4\pi f_ct)\bigr] -\frac{n_Q(t)}{2}\sin(4\pi f_ct). \end{aligned}

低通濾波器去除中心位於 2fc2f_c 的高頻項,保留基頻部分:

y(t)=Ac2m(t)⏟訊號+12nI(t)⏟雜訊.y(t)=\underbrace{\frac{A_c}{2}m(t)}_{\text{訊號}} +\underbrace{\frac12n_I(t)}_{\text{雜訊}}.

因此,輸出訊號與雜訊功率分別為

Ps,O=Ac2P4,Pn,O=14(2WN0)=WN02.P_{s,O}=\frac{A_c^2P}{4}, \qquad P_{n,O}=\frac14(2WN_0)=\frac{WN_0}{2}.

故

SNRO,DSB-SC=Ac2P2WN0.\boxed{\mathrm{SNR}_{O,\mathrm{DSB\text{-}SC}} =\frac{A_c^2P}{2WN_0}}.

(b) DSB-C 包絡檢波器

令

a(t)=Ac[1+kam(t)].a(t)=A_c[1+k_am(t)].

此時 xI(t)=a(t)+nI(t)x_I(t)=a(t)+n_I(t)、xQ(t)=nQ(t)x_Q(t)=n_Q(t),因此包絡為

u(t)=[a(t)+nI(t)]2+nQ2(t).u(t)=\sqrt{[a(t)+n_I(t)]^2+n_Q^2(t)}.

由題目的高訊雜比條件,將包絡對雜訊作一階展開:

u(t)=∣a(t)∣1+2nI(t)a(t)+nI2(t)+nQ2(t)a2(t)≃∣a(t)∣+sgn⁡(a(t))nI(t).\begin{aligned} u(t) &=|a(t)| \sqrt{1+\frac{2n_I(t)}{a(t)} +\frac{n_I^2(t)+n_Q^2(t)}{a^2(t)}}\\ &\simeq |a(t)|+\operatorname{sgn}(a(t))n_I(t). \end{aligned}

關鍵在於 a2(t)=∣a(t)∣\sqrt{a^2(t)}=|a(t)|;高訊雜比並不保證 a(t)a(t) 為正。

由雜訊與訊息獨立且 E[nI(t)]=0E[n_I(t)]=0,

E[sgn⁡(a(t))nI(t)]=0.E[\operatorname{sgn}(a(t))n_I(t)]=0.

扣除直流項後,

y(t)≃∣a(t)∣−E[∣a(t)∣]⏟訊號+sgn⁡(a(t))nI(t)⏟雜訊.y(t)\simeq \underbrace{|a(t)|-E[|a(t)|]}_{\text{訊號}} + \underbrace{\operatorname{sgn}(a(t))n_I(t)}_{\text{雜訊}}.

兩部分互不相關,且在題設高訊雜比條件下,

Ps,O=Var⁡(∣a(t)∣),Pn,O=E[nI2(t)]=2WN0.P_{s,O}=\operatorname{Var}(|a(t)|), \qquad P_{n,O}=E[n_I^2(t)]=2WN_0.

所以一般情況的一階近似結果為

SNRO,DSB-C≃Var⁡ ⁣(∣Ac[1+kam(t)]∣)2WN0.\boxed{ \mathrm{SNR}_{O,\mathrm{DSB\text{-}C}} \simeq \frac{\operatorname{Var}\!\left(|A_c[1+k_am(t)]|\right)} {2WN_0} }.
🔒

後續完整解題步驟與【答案】

免費註冊,享三天全站完整詳解閱覽。

免費註冊

第 3 題

台灣聯合大學系統112學年度碩士班招生考試試題
類組:電機類科目:通訊系統(通訊原理)(300E) 共5頁第3頁
3. Let x(t)=a⋅g(t)+w(t)x(t) = a \cdot g(t) + w(t), 0≤t≤T0 \le t \le T, where a=1a = 1 or −1-1, g(t)g(t) is a nonzero deterministic pulse signal, and w(t)w(t) is a white noise process of zero mean and power spectral density N02\frac{N_0}{2}. Let h(t)h(t) be the impulse response of a linear filter, and let
y(t)=x(t)∗h(t)=go(t)+wo(t)y(t) = x(t) * h(t) = g_o(t) + w_o(t), where ∗* denotes convolution, go(t)≜a⋅g(t)∗h(t)g_o(t) \triangleq a \cdot g(t) * h(t), and wo(t)=w(t)∗h(t)w_o(t) = w(t) * h(t). We wish to find h(t)h(t) such that the signal-to-noise ratio ∣go(T)∣2/E[wo2(T)]|g_o(T)|^2/E[w_o^2(T)] at t=Tt = T is maximized.
(a) (3%) For g(t)=T−tTg(t) = \frac{T-t}{T}, 0≤t≤T0 \le t \le T, what is the desirable h(t)h(t)?
(b) (12%) For given arbitrary g(t)g(t), write the desirable h(t)h(t) in terms of g(t)g(t) and show how you obtain the h(t)h(t). (Hint: you may need Schwarz's inequality:
∣∫−∞∞ϕ1(t)ϕ2(t) dt∣2≤∫−∞∞∣ϕ1(t)∣2 dt∫−∞∞∣ϕ2(t)∣2 dt\left|\int_{-\infty}^{\infty} \phi_1(t)\phi_2(t)\,dt\right|^2 \le \int_{-\infty}^{\infty}|\phi_1(t)|^2\,dt\int_{-\infty}^{\infty}|\phi_2(t)|^2\,dt
with equality if and only if ϕ1(t)=γϕ2∗(t)\phi_1(t) = \gamma\phi_2^*(t), where γ\gamma is any nonzero number and ∗* denotes complex conjugate.)
(c) (7%) Assume that a=1a = 1 or a=−1a = -1 with equal probability, and we obtain a normalized quantity y~(T)=a+w~\tilde{y}(T) = a + \tilde{w}, where w~\tilde{w} is Gaussian r.v. with zero mean and variance σ2\sigma^2. Form a maximum-likelihood decision a~\tilde{a} of aa given y~(T)\tilde{y}(T), and derive the probability Pr⁡(a~≠a)\Pr(\tilde{a} \ne a). (Hint: The pdf of a zero-mean Gaussian r.v. vv with variance σ2\sigma^2 is
f(v)=12πσexp⁡(−v22σ2)f(v) = \frac{1}{\sqrt{2\pi}\sigma}\exp\left(-\frac{v^2}{2\sigma^2}\right).
Please express the probability Pr⁡(a~≠a)\Pr(\tilde{a} \ne a) in terms of
erfc⁡(u)=2π∫u∞exp⁡(−z2) dz\operatorname{erfc}(u) = \frac{2}{\sqrt{\pi}}\int_u^{\infty}\exp(-z^2)\,dz.

🖼️ 本題含圖表,以下為原卷對應頁面:
原卷第 3 頁

登入後即可作答並保存紀錄。

這一題的完整詳解

核心觀念

本題考查:

  1. 白雜訊通過線性濾波器後的輸出雜訊功率。
  2. 以 Cauchy–Schwarz 不等式推導最佳濾波器,即「匹配濾波器」。
  3. 二元 antipodal signal {+1,−1}\{+1,-1\} 的最大概似決策與錯誤率。

由圖可讀得第 (a) 小題的訊號為

g(t)=T−tT,0≤t≤T.g(t)=\frac{T-t}{T},\qquad 0\le t\le T.

解題方法

在 t=Tt=T 時,

y(T)=∫−∞∞x(τ)h(T−τ) dτ.y(T)=\int_{-\infty}^{\infty}x(\tau)h(T-\tau)\,d\tau.

因此輸出訊號部分為

go(T)=a∫−∞∞g(τ)h(T−τ) dτ.g_o(T)=a\int_{-\infty}^{\infty}g(\tau)h(T-\tau)\,d\tau.

白雜訊 w(t)w(t) 的雙邊功率頻譜密度為 N0/2N_0/2,所以輸出雜訊變異數為

E{∣wo(T)∣2}=N02∫−∞∞∣h(T−τ)∣2 dτ.E\{|w_o(T)|^2\} =\frac{N_0}{2}\int_{-\infty}^{\infty}|h(T-\tau)|^2\,d\tau.

令 u=T−τu=T-\tau,則最佳化的訊雜比為

SNR=∣∫g(τ)h(T−τ) dτ∣2N02∫∣h(T−τ)∣2 dτ.\mathrm{SNR} = \frac{ \left|\displaystyle\int g(\tau)h(T-\tau)\,d\tau\right|^2 }{ \displaystyle\frac{N_0}{2}\int |h(T-\tau)|^2\,d\tau }.

(a) 求最佳 h(t)h(t)

由匹配濾波器結果,

h(t)=γg∗(T−t),h(t)=\gamma g^*(T-t),

其中 γ\gamma 為任意非零常數。

本題的 g(t)g(t) 為實數函數,因此

h(t)=γg(T−t).h(t)=\gamma g(T-t).

代入

g(t)=T−tT,g(t)=\frac{T-t}{T},

得

h(t)=γT−(T−t)T=γtT,0≤t≤T.h(t) = \gamma\frac{T-(T-t)}{T} = \gamma\frac{t}{T}, \qquad 0\le t\le T.

所以可取

h(t)=tT,0≤t≤T\boxed{ h(t)=\frac{t}{T},\quad 0\le t\le T }

其餘時間為 00。濾波器整體乘上一個非零常數不影響訊雜比,因此 γ\gamma 可任意指定。


(b) 任意 g(t)g(t) 的最佳濾波器

令

ϕ1(τ)=g(τ),ϕ2(τ)=h∗(T−τ).\phi_1(\tau)=g(\tau),\qquad \phi_2(\tau)=h^*(T-\tau).

則

∫g(τ)h(T−τ) dτ=∫ϕ1(τ)ϕ2∗(τ) dτ.\int g(\tau)h(T-\tau)\,d\tau = \int \phi_1(\tau)\phi_2^*(\tau)\,d\tau.

由 Cauchy–Schwarz 不等式,

∣∫ϕ1(τ)ϕ2∗(τ) dτ∣2≤(∫∣ϕ1(τ)∣2 dτ)(∫∣ϕ2(τ)∣2 dτ).\left| \int \phi_1(\tau)\phi_2^*(\tau)\,d\tau \right|^2 \le \left(\int|\phi_1(\tau)|^2\,d\tau\right) \left(\int|\phi_2(\tau)|^2\,d\tau\right).

因此

∣∫g(τ)h(T−τ) dτ∣2≤(∫∣g(τ)∣2 dτ)(∫∣h(T−τ)∣2 dτ).\left| \int g(\tau)h(T-\tau)\,d\tau \right|^2 \le \left(\int|g(\tau)|^2\,d\tau\right) \left(\int|h(T-\tau)|^2\,d\tau\right).

等號成立的條件為

ϕ2(τ)=γϕ1(τ),\phi_2(\tau)=\gamma\phi_1(\tau),

亦即

h∗(T−τ)=γg(τ).h^*(T-\tau)=\gamma g(\tau).

取共軛並令 t=T−τt=T-\tau,得到最佳濾波器

h(t)=γg∗(T−t)\boxed{ h(t)=\gamma g^*(T-t) }

這就是以 TT 為取樣時刻的匹配濾波器。

若 g(t)g(t) 為實數訊號,則簡化為

h(t)=γg(T−t).\boxed{ h(t)=\gamma g(T-t) }.

此時最大輸出訊雜比為

SNRmax⁡=2N0∫−∞∞∣g(t)∣2 dt.\mathrm{SNR}_{\max} = \frac{2}{N_0} \int_{-\infty}^{\infty}|g(t)|^2\,dt.

(c) 最大概似決策與錯誤率

已知

y~(T)=a+w~,a∈{+1,−1},\widetilde y(T)=a+\widetilde w, \qquad a\in\{+1,-1\},

且

w~∼N(0,σ2).\widetilde w\sim\mathcal N(0,\sigma^2).

最大概似決策

當 a=+1a=+1 時,

fy~∣a(y∣+1)=12πσexp⁡[−(y−1)22σ2].f_{\widetilde y|a}(y|+1) = \frac{1}{\sqrt{2\pi}\sigma} \exp\left[-\frac{(y-1)^2}{2\sigma^2}\right].

當 a=−1a=-1 時,

fy~∣a(y∣−1)=12πσexp⁡[−(y+1)22σ2].f_{\widetilde y|a}(y|-1) = \frac{1}{\sqrt{2\pi}\sigma} \exp\left[-\frac{(y+1)^2}{2\sigma^2}\right].

由於兩種符號的先驗機率相同,最大概似判決為選擇較大的條件機率密度:

fy~∣a(y∣+1)≷a^=−1a^=+1fy~∣a(y∣−1).f_{\widetilde y|a}(y|+1) \mathop{\gtrless}_{\widehat a=-1}^{\widehat a=+1} f_{\widetilde y|a}(y|-1).

比較指數中的平方項:

🔒

後續完整解題步驟與【答案】

免費註冊,享三天全站完整詳解閱覽。

免費註冊

第 4 題

台灣聯合大學系統112學年度碩士班招生考試試題
類組:電機類科目:通訊系統(通訊原理)(300E) 共5頁第4頁
4. Let p(t) be a continuous time function, and let P(f) be the Fourier transform of
p(t), defined by
P(f) = { (W-|f|)/W, -W≤f≤W
{ 0, f ∉ [-W,W]
where W is some constant with W > 1.
(a) (4%) Let T = 1/W. What is the discrete time function a[n] = p(nT) for n =
0,±1, ±2,...?
(b) (4%) Let H(f) be the frequency response of a time function h(t) with
H(f) = { 1, -W≤f≤W
{ (2W-|f|)/W, W ≤ |f| ≤ 2W
{ 0, f ∉ [-2W,2W].
Let p[n] = p(nT) for n = 0, ±1, ±2,..., where T is a positive number, not yet
specified. Can you reconstruct p(t) from p[n] with h(t)? If yes, how do you
make it? (Hint: Specify the value of T yourself.)

登入後即可作答並保存紀錄。

這一題的完整詳解

核心觀念

本題考查三角形頻譜的傅立葉反轉換,以及取樣後利用重建濾波器消除頻譜複本。採用頻率變數為 ff 的傅立葉轉換定義:

P(f)=∫−∞∞p(t)e−j2πft dt,sinc⁡(x)=sin⁡(πx)πx,P(f)=\int_{-\infty}^{\infty}p(t)e^{-j2\pi ft}\,dt, \qquad \operatorname{sinc}(x)=\frac{\sin(\pi x)}{\pi x},

其中 sinc⁡(0)=1\operatorname{sinc}(0)=1。

若以間隔 TT 進行脈衝取樣,取樣頻率為 fs=1/Tf_s=1/T,則取樣訊號的頻譜為

Ps(f)=1T∑k=−∞∞P(f−kfs).P_s(f)=\frac{1}{T}\sum_{k=-\infty}^{\infty}P(f-kf_s).

重建時必須同時處理頻譜複本與振幅因子 1/T1/T。

解題方法

原卷的 P(f)=(W−∣f∣)/WP(f)=(W-|f|)/W 是支撐於 [−W,W][-W,W]、峰值為 11 的三角形頻譜;H(f)H(f) 在 ∣f∣≤W|f|\leq W 時為 11,並在 W≤∣f∣≤2WW\leq |f|\leq2W 線性下降至 00。因此,重建所選的取樣頻率須讓其他頻譜複本避開 H(f)H(f) 的非零範圍。

(a)求 a[n]=p(nT)a[n]=p(nT)

利用三角形頻譜與平方 sinc⁡\operatorname{sinc} 函數的轉換對:

sinc⁡2(Wt)  ↔F  {1W(1−∣f∣W),∣f∣≤W,0,∣f∣>W,\operatorname{sinc}^{2}(Wt) \;\xleftrightarrow{\mathcal F}\; \begin{cases} \displaystyle \frac{1}{W}\left(1-\frac{|f|}{W}\right), & |f|\leq W,\\ 0,& |f|>W, \end{cases}

可得

p(t)=Wsinc⁡2(Wt).p(t)=W\operatorname{sinc}^{2}(Wt).

代入 T=1/WT=1/W:

a[n]=p ⁣(nW)=Wsinc⁡2(n).a[n]=p\!\left(\frac{n}{W}\right) =W\operatorname{sinc}^{2}(n).

因為非零整數 nn 均滿足 sin⁡(πn)=0\sin(\pi n)=0,所以

a[n]={W,n=0,0,n≠0,=Wδ[n].\boxed{ a[n]= \begin{cases} W,&n=0,\\ 0,&n\neq0, \end{cases} =W\delta[n]. }

由頻譜面積也可確認原點值:

p(0)=∫−WWW−∣f∣W df=12(2W)(1)=W,p(0)=\int_{-W}^{W}\frac{W-|f|}{W}\,df =\frac{1}{2}(2W)(1)=W,

與上述結果一致。

(b)利用 h(t)h(t) 重建 p(t)p(t)

選取

T=13W,fs=3W.\boxed{T=\frac{1}{3W},\qquad f_s=3W.}

中央頻譜位於 [−W,W][-W,W];最接近的兩個頻譜複本分別位於

[2W,4W],[−4W,−2W].[2W,4W], \qquad [-4W,-2W].

這兩個複本均落在 H(f)=0H(f)=0 的範圍內,邊界 f=±2Wf=\pm2W 也有 H(f)=0H(f)=0。另一方面,中央頻譜所在的 [−W,W][-W,W] 內恰有 H(f)=1H(f)=1。

將樣本形成脈衝列:

ps(t)=∑n=−∞∞p[n]δ(t−nT).p_s(t)=\sum_{n=-\infty}^{\infty}p[n]\delta(t-nT).

通過 h(t)h(t) 後,其輸出頻譜為

Y(f)=H(f)Ps(f)=1TH(f)∑k=−∞∞P(f−kfs)=1TP(f).\begin{aligned} Y(f) &=H(f)P_s(f)\\ &=\frac{1}{T}H(f) \sum_{k=-\infty}^{\infty}P(f-kf_s)\\ &=\frac{1}{T}P(f). \end{aligned}

因此,濾波後再乘上 TT,即可精確重建:

p(t)=13W∑n=−∞∞p[n] h ⁣(t−n3W),p[n]=p ⁣(n3W).\boxed{ p(t)=\frac{1}{3W} \sum_{n=-\infty}^{\infty} p[n]\, h\!\left(t-\frac{n}{3W}\right), \qquad p[n]=p\!\left(\frac{n}{3W}\right). }
🔒

後續完整解題步驟與【答案】

免費註冊,享三天全站完整詳解閱覽。

免費註冊

第 5 題

台灣聯合大學系統112學年度碩士班招生考試試題
類組:電機類科目:通訊系統(通訊原理)(300E) 共5頁第4頁
5. (10%) Consider a direct sequence spread spectrum system with an m-sequence c of
length n and message u ∈ {-1,+1} with probability Pr(u = -1) = 0.8 and the
input signal is x=Ebucx = \sqrt{E_b}uc. The received signal is
y = x + w,
where w∼N(0,(N0/2)I)w \sim \mathcal{N}(0, (N_0/2)I).
Show that the optimal receiver is of the form cTy≷+1−1ηc^T y \underset{-1}{\overset{+1}{\gtrless}} \eta. Derive the η. Also, derive
the processing gain.

登入後即可作答並保存紀錄。

這一題的完整詳解

核心觀念

本題考「非等機率二元訊號的最佳偵測」與「直接序列展頻的處理增益」。在最小錯誤率準則下,應採用最大後驗機率(MAP)判決;由於兩個訊息的先驗機率不同,判決門檻不為零。

將長度為 nn 的 mm 序列寫成雙極性碼向量 c\mathbf c,各碼片 ci∈{−1,+1}c_i\in\{-1,+1\},因此

cTc=n.\mathbf c^T\mathbf c=n.

解題方法

原卷給定 x=Eb uc\mathbf x=\sqrt{E_b}\,u\mathbf c、Pr⁡(u=−1)=0.8\Pr(u=-1)=0.8,以及雜訊共變異矩陣 (N0/2)I(N_0/2)\mathbf I。因此 Pr⁡(u=+1)=0.2\Pr(u=+1)=0.2,兩種訊息對應的接收向量平均值分別為 ±Ebc\pm\sqrt{E_b}\mathbf c。

一、由 MAP 準則推導最佳接收器與門檻

最小錯誤率判決為

p(y∣u=+1)Pr⁡(u=+1)≷+1−1p(y∣u=−1)Pr⁡(u=−1).p(\mathbf y\mid u=+1)\Pr(u=+1) \underset{-1}{\overset{+1}{\gtrless}} p(\mathbf y\mid u=-1)\Pr(u=-1).

移項並取自然對數,得到

ln⁡p(y∣u=+1)p(y∣u=−1)≷+1−1ln⁡0.80.2=ln⁡4.\ln\frac{p(\mathbf y\mid u=+1)} {p(\mathbf y\mid u=-1)} \underset{-1}{\overset{+1}{\gtrless}} \ln\frac{0.8}{0.2} =\ln4.

因為雜訊為高斯分布,且兩個假設下的共變異矩陣相同,

p(y∣u)=1(πN0)n/2exp⁡(−∥y−Eb uc∥2N0).p(\mathbf y\mid u) =\frac{1}{(\pi N_0)^{n/2}} \exp\left( -\frac{\|\mathbf y-\sqrt{E_b}\,u\mathbf c\|^2}{N_0} \right).

所以對數概似比為

ln⁡p(y∣u=+1)p(y∣u=−1)=∥y+Ebc∥2−∥y−Ebc∥2N0=4EbN0 cTy.\begin{aligned} \ln\frac{p(\mathbf y\mid u=+1)} {p(\mathbf y\mid u=-1)} &=\frac{ \|\mathbf y+\sqrt{E_b}\mathbf c\|^2 -\|\mathbf y-\sqrt{E_b}\mathbf c\|^2 }{N_0}\\ &=\frac{4\sqrt{E_b}}{N_0}\,\mathbf c^T\mathbf y. \end{aligned}

代回判決式,即得

cTy≷+1−1η,η=N04Ebln⁡4.\boxed{ \mathbf c^T\mathbf y \underset{-1}{\overset{+1}{\gtrless}} \eta,\qquad \eta=\frac{N_0}{4\sqrt{E_b}}\ln4 }.

因此,最佳接收器先將接收向量與展頻碼做相關運算,再與門檻比較;大於門檻判為 +1+1,小於門檻判為 −1-1。等於門檻時可任取一種判決,因為連續高斯分布下,此事件的機率為零。

二、推導處理增益

相關器輸出為

z=cTy=Eb u cTc+cTw=nEb u+v,z=\mathbf c^T\mathbf y =\sqrt{E_b}\,u\,\mathbf c^T\mathbf c+\mathbf c^T\mathbf w =n\sqrt{E_b}\,u+v,

其中輸出雜訊滿足

Var⁡(v)=cT(N02I)c=nN02.\operatorname{Var}(v) =\mathbf c^T\left(\frac{N_0}{2}\mathbf I\right)\mathbf c =\frac{nN_0}{2}.

以條件訊號振幅平方除以雜訊變異數計算,相關器的輸出訊雜比為

SNRout=(nEb)2nN0/2=2nEbN0.\mathrm{SNR}_{\mathrm{out}} =\frac{(n\sqrt{E_b})^2}{nN_0/2} =\frac{2nE_b}{N_0}.
🔒

後續完整解題步驟與【答案】

免費註冊,享三天全站完整詳解閱覽。

免費註冊

第 6 題

台灣聯合大學系統112學年度碩士班招生考試試題
類組:電機類科目:通訊系統(通訊原理)(300E) 共5頁第4頁
6. Let X be a random variable with the probability mass function [0.48, 0.26, 0.13,
0.03, 0.02, 0.04, 0.04].
(a) (7%) Construct two different Huffman codes whose sets of codeword lengths
are not the same.
(b) (7%) Compute the expected lengths of the two codes constructed in part (a).
Also, are the expected lengths smaller than the entropy H(X) (in bits)?

登入後即可作答並保存紀錄。

這一題的完整詳解

核心觀念

本題考查:

  1. Huffman 演算法:每次合併機率最小的兩個節點。
  2. 碼字長度與平均碼長:
    Lˉ=∑ipili\bar{L}=\sum_i p_i l_i
  3. 熵:
    H(X)=−∑ipilog⁡2piH(X)=-\sum_i p_i\log_2 p_i
  4. Huffman 碼的基本性質:
    H(X)≤LˉHuffman<H(X)+1H(X)\leq \bar{L}_{\text{Huffman}}<H(X)+1

因此,任何 Huffman 碼的平均碼長都不會小於熵。

解題方法

令七個符號依機率表示為

符號x1x2x3x4x5x6x7p(xi)0.480.260.130.030.020.040.04\begin{array}{c|ccccccc} \text{符號} & x_1&x_2&x_3&x_4&x_5&x_6&x_7\\ \hline p(x_i)&0.48&0.26&0.13&0.03&0.02&0.04&0.04 \end{array}

依機率由小到大排列:

0.02, 0.03, 0.04, 0.04, 0.13, 0.26, 0.480.02,\ 0.03,\ 0.04,\ 0.04,\ 0.13,\ 0.26,\ 0.48

Huffman 合併過程為:

0.02+0.03=0.050.02+0.03=0.05

0.04+0.04=0.080.04+0.04=0.08

0.05+0.08=0.130.05+0.08=0.13

此時有原本的 0.130.13 與新形成的 0.130.13,合併為

0.13+0.13=0.260.13+0.13=0.26

接著:

0.26+0.26=0.520.26+0.26=0.52

最後:

0.48+0.52=10.48+0.52=1

因此各符號的碼字長度固定為:

機率符號碼字長度0.48x110.26x220.13x330.04x650.04x750.03x450.02x55\begin{array}{c|c|c} \text{機率} & \text{符號} & \text{碼字長度}\\ \hline 0.48 & x_1 & 1\\ 0.26 & x_2 & 2\\ 0.13 & x_3 & 3\\ 0.04 & x_6 & 5\\ 0.04 & x_7 & 5\\ 0.03 & x_4 & 5\\ 0.02 & x_5 & 5 \end{array}

(a) Huffman 碼

依上述合併樹,可建構一組 Huffman 碼:

符號p(xi)碼字x10.480x20.2610x30.13110x40.0311100x50.0211101x60.0411110x70.0411111\begin{array}{c|c|c} \text{符號} & p(x_i)&\text{碼字}\\ \hline x_1&0.48&0\\ x_2&0.26&10\\ x_3&0.13&110\\ x_4&0.03&11100\\ x_5&0.02&11101\\ x_6&0.04&11110\\ x_7&0.04&11111 \end{array}

另一組不同的 Huffman 碼可由交換左右分支得到:

符號p(xi)碼字x10.481x20.2600x30.13010x40.0301100x50.0201101x60.0401110x70.0401111\begin{array}{c|c|c} \text{符號} & p(x_i)&\text{碼字}\\ \hline x_1&0.48&1\\ x_2&0.26&00\\ x_3&0.13&010\\ x_4&0.03&01100\\ x_5&0.02&01101\\ x_6&0.04&01110\\ x_7&0.04&01111 \end{array}

這兩組碼字不同,但其碼字長度集合皆為

{1,2,3,5,5,5,5}\{1,2,3,5,5,5,5\}

因此,依標準 Huffman 演算法,本題要求的「兩組碼字長度集合不相同」無法成立。機率合併過程中,雖然在 0.13+0.130.13+0.13 處存在相同機率節點,但交換這兩個節點只會改變碼字配置,不會改變碼字長度。

(b) 平均碼長與熵

兩組 Huffman 碼的碼字長度完全相同,所以平均碼長皆為

Lˉ=0.48(1)+0.26(2)+0.13(3)+(0.03+0.02+0.04+0.04)(5)=0.48+0.52+0.39+0.65=2.04 bits/symbol\begin{aligned} \bar{L} &=0.48(1)+0.26(2)+0.13(3)\\ &\quad +(0.03+0.02+0.04+0.04)(5)\\ &=0.48+0.52+0.39+0.65\\ &=\boxed{2.04\text{ bits/symbol}} \end{aligned}

計算熵:

🔒

後續完整解題步驟與【答案】

免費註冊,享三天全站完整詳解閱覽。

免費註冊

第 7 題

台灣聯合大學系統112學年度碩士班招生考試試題
類組:電機類科目:通訊系統(通訊原理)(300E) 共5頁第5頁
7. Let C be a binary linear code with the following parity check matrix
H =
「1 1 1 1 000
[0 1 1 0 1 1 0
[0 1 0 1 0 1 1
(a) (6%) Find a generator matrix G for C.
(b) (4%) Determine the code rate of C.
(c) (6%) Let v = [1, 0, 1, 1, 0, 0, 0] be the received signal. Compute the syndrome.
Find an error vector of weight 1 that has the same syndrome of v. Use syn-
drome decoder to decode v.

登入後即可作答並保存紀錄。

這一題的完整詳解

核心觀念

本題考查二元線性碼的生成矩陣、碼率與症候解碼。題目的同位檢查矩陣為

H=[111100001101100101011].H= \begin{bmatrix} 1&1&1&1&0&0&0\\ 0&1&1&0&1&1&0\\ 0&1&0&1&0&1&1 \end{bmatrix}.

所有運算均在二元有限體 GF(2)\mathrm{GF}(2) 上進行,因此加法為模 22 加法,且 1+1=01+1=0。

  • 碼字條件:列向量 cc 是合法碼字,若且唯若 HcT=0Hc^T=0。
  • 生成矩陣:對 [n,k][n,k] 線性碼,GG 是秩為 kk 的 k×nk\times n 矩陣,且滿足 HGT=0HG^T=0;訊息 uu 對應的碼字為 c=uGc=uG。
  • 碼率:R=k/nR=k/n,其中 k=n−rank⁡(H)k=n-\operatorname{rank}(H)。
  • 症候解碼:若接收向量 v=c+ev=c+e,則 s=HvT=H(c+e)T=HeT.s=Hv^T=H(c+e)^T=He^T. 因此症候只由錯誤向量決定。找到相同症候的錯誤向量 e^\hat e 後,解碼結果為 c^=v+e^\hat c=v+\hat e。

解題方法

(a) 求生成矩陣 GG

令任意碼字為 c=(x1,x2,…,x7)c=(x_1,x_2,\ldots,x_7)。由 HcT=0Hc^T=0 得

{x1+x2+x3+x4=0,x2+x3+x5+x6=0,x2+x4+x6+x7=0.\begin{cases} x_1+x_2+x_3+x_4=0,\\ x_2+x_3+x_5+x_6=0,\\ x_2+x_4+x_6+x_7=0. \end{cases}

採用自由變數法,將四個自由變數選為

x3=a,x4=b,x6=d,x7=f.x_3=a,\qquad x_4=b,\qquad x_6=d,\qquad x_7=f.

第三式先給出

x2=b+d+f.x_2=b+d+f.

代入第一式與第二式,可得

x1=x2+x3+x4=(b+d+f)+a+b=a+d+f,x5=x2+x3+x6=(b+d+f)+a+d=a+b+f.\begin{aligned} x_1&=x_2+x_3+x_4 =(b+d+f)+a+b=a+d+f,\\ x_5&=x_2+x_3+x_6 =(b+d+f)+a+d=a+b+f. \end{aligned}

因此,所有碼字均可表示成

c=(a+d+f, b+d+f, a, b, a+b+f, d, f).c=(a+d+f,\ b+d+f,\ a,\ b,\ a+b+f,\ d,\ f).

依序取 (a,b,d,f)(a,b,d,f) 為四個單位向量,即得到四個基底碼字:

c1=(1,0,1,0,1,0,0),c2=(0,1,0,1,1,0,0),c3=(1,1,0,0,0,1,0),c4=(1,1,0,0,1,0,1).\begin{aligned} c_1&=(1,0,1,0,1,0,0),\\ c_2&=(0,1,0,1,1,0,0),\\ c_3&=(1,1,0,0,0,1,0),\\ c_4&=(1,1,0,0,1,0,1). \end{aligned}

故一組生成矩陣為

G=[1010100010110011000101100101].G= \begin{bmatrix} 1&0&1&0&1&0&0\\ 0&1&0&1&1&0&0\\ 1&1&0&0&0&1&0\\ 1&1&0&0&1&0&1 \end{bmatrix}.

GG 的第 3,4,6,73,4,6,7 欄組成 I4I_4,故四列線性獨立;又各列均滿足碼字條件,因此

rank⁡(G)=4,HGT=03×4.\operatorname{rank}(G)=4,\qquad HG^T=0_{3\times4}.

(b) 求碼率

HH 有七欄,所以碼長為 n=7n=7。其第 1,5,71,5,7 欄分別為

[100],[010],[001].\begin{bmatrix}1\\0\\0\end{bmatrix},\qquad \begin{bmatrix}0\\1\\0\end{bmatrix},\qquad \begin{bmatrix}0\\0\\1\end{bmatrix}.

這三欄線性獨立,故 rank⁡(H)=3\operatorname{rank}(H)=3。因此

k=7−3=4,R=kn=47.k=7-3=4,\qquad R=\frac{k}{n}=\frac47.

(c) 計算症候並解碼

接收向量為

v=(1,0,1,1,0,0,0).v=(1,0,1,1,0,0,0).

其症候為

🔒

後續完整解題步驟與【答案】

免費註冊,享三天全站完整詳解閱覽。

免費註冊

其他考古題