跳到主要内容

東京大学 工学系研究科 電気系工学専攻 2019年8月実施 問題3 情報工学I

Author

donguri0912

Description

I

Answer the following questions on information theory. Suppose that we transmit information by using a time-discrete communication channel CC, whose input and output are designated as X{1,1}X \in \{-1,1\} and Y{1,1}Y \in \{-1,1\}, respectively. The input and output relation of the ii-th communication via CC is represented as Yi=Zi×Xi(i=1,2,)Y_i = Z_i \times X_i(i = 1,2,\cdots), where ×\times means the multiplication of integers. Zi{1,1}Z_i \in \{-1,1\} is an internal state of the channel at the ii-th communication, and its value can change depending on the current or past states of the input and on the past states of the output. Both sender and receiver are unable to observe the value of ZiZ_i directly although they can have knowledge about how ZiZ_i changes depending on the input and output. Use the logarithm base 22 for your answers of the following questions. You may also use the following approximations upon necessity: log23=1.585\log_23 = 1.585, log25=2.322\log_25 = 2.322, log27=2.807\log_27 = 2.807.

(1) Let XiX_i be an ideally independent random variable that takes Xi=1X_i = 1 with probability μ\mu and Xi=1X_i = -1 with probability 1μ1 - \mu. Assume that ZiZ_i becomes 11 with probability 11 when Xi=1X_i = 1 and that it takes either 11 or 1-1 with equal probability when Xi=1X_i = -1.

  • (1-i) Obtain the entropies H[X]H[X] and H[Y]H[Y] and the conditional entropy H[YX]H[Y|X] of CC.
  • (1-ii) Obtain the channel capacity of CC.

(2) Assume that Z1Z_1 takes either 11 or 1-1 with equal probability and that, for i2i \ge 2, the value of ZiZ_i becomes the same as the previous output value Yi1Y_{i-1} with probability 11 as Zi=Yi1Z_i = Y_{i-1}.Obtain the maximum bits that can be transmitted by using this channel nn times.

(3) Assume that Z1Z_1 takes either 11 or 1-1 with equal probability when ii is odd and that ZiZ_i keeps its previous value with probability 11 as Zi=Zi1Z_i = Z_{i-1} when ii is even.Obtain the channel capacity of CC and show a code that can achieve the capacity.

(4) Assume that Z1=1Z_1 = 1 with probability 11 and that, for i2i \ge 2, the value of ZiZ_i becomes the same as the previous input value Xi1X_{i-1} with probability 11 as Zi=Xi1Z_i = X_{i-1}. Let XiX_i be an ideally independent random variable that takes Xi=1X_i = 1 with probability μ\mu and Xi=1X_i = -1 with probability 1μ1 - \mu.Calculate the probability qq that Yi=1Y_i = 1 at the stationary state for sufficiently large ii.

II

Answer the following questions on signal processing. Consider the two infinite impulse response systems shown in Figs. 11 and 22. x1(n)x_1(n) and y1(n)y_1(n) are the input and output signal sequences of system 11 in Fig. 11, respectively, and represent the signal values at time nT(T>0)nT(T > 0) for n=0,1,n = 0,1,\cdots.Similarly, x2(n)x_2(n) and y2(n)y_2(n) are the input and output sequences of system 22 in Fig. 22. The circuits consist of adders, coefficient multipliers, and delays, whose respective functions are described in Fig. 33.

(1) Obtain the impulse response of system 11, h1(n)h_1(n), and its zz-transform H1(z)H_1(z).

(2) Calculate the frequency response of system 1 and explain the filtering function of this system on the input signal.

(3) Obtain the parameter values of a,ba,b and cc that makes system 22 equivalent to system 11.

(4) Draw an equivalent circuit of system 22 that has a smaller number of delays than the original system 22 shown in Fig. 22.

Kai

I

(1)

H()\mathcal{H}(\cdot) はエントロピー関数

(1-i)
H[X]=H(μ)=μlogμ(1μ)log(1μ)H[X] = \mathcal{H}(\mu) = -\mu\log\mu - (1 - \mu)\log(1 - \mu)
H[Y]=H(0.5(1μ))=0.5(1μ)log0.5(1μ)0.5(1+μ)log0.5(1+μ)=0.5(1μ)log(1μ)0.5(1+μ)log(1+μ)0.5(1μ)log0.50.5(1+μ)log0.5=0.5(1μ)log(1μ)0.5(1+μ)log(1+μ)+1\begin{aligned} H[Y] &= \mathcal{H}(0.5(1 - \mu)) \\ &= -0.5(1 - \mu)\log0.5(1 - \mu) - 0.5(1 + \mu)\log0.5(1 + \mu) \\ &= -0.5(1 - \mu)\log(1 - \mu) - 0.5(1 + \mu)\log(1 + \mu) - 0.5(1 - \mu)\log0.5 - 0.5(1 + \mu)\log0.5 \\ &= -0.5(1 - \mu)\log(1 - \mu) - 0.5(1 + \mu)\log(1 + \mu) + 1 \\ \end{aligned}
H[YX]=μH(1)+(1μ)H(0.5)=1μH[Y|X] = \mu\mathcal{H}(1) + (1 - \mu)\mathcal{H}(0.5) = 1 - \mu
(1-ii)
I(X;Y)=H[Y]H[YX]=0.5(1μ)log(1μ)0.5(1+μ)log(1+μ)+1(1μ)=0.5(1μ)log(1μ)0.5(1+μ)log(1+μ)+μ\begin{aligned} &I(X;Y) = H[Y] - H[Y|X] \\ &= -0.5(1 - \mu)\log(1 - \mu) - 0.5(1 + \mu)\log(1 + \mu) + 1 - (1 - \mu) \\ &= -0.5(1 - \mu)\log(1 - \mu) - 0.5(1 + \mu)\log(1 + \mu) + \mu \end{aligned}
dCcdμ=0.5log(1μ)+0.5loge20.5log(1+μ)0.5loge2+1=0.5log1μ1+μ+1=0\begin{aligned} \frac{dC_c}{d\mu} &= 0.5\log(1 - \mu) + \frac{0.5}{\log_e2} - 0.5\log(1 + \mu) - \frac{0.5}{\log_e2} + 1 \\ &= 0.5\log\frac{1 - \mu}{1 + \mu} + 1 = 0 \end{aligned}

となる時、つまり μ=35\mu = \frac{3}{5} で最小となる。

このとき

I(X;Y)μ=35=0.525log250.585log85+35=15log245log8+log5+35=0.322\begin{aligned} I(X;Y)|_{\mu = \frac{3}{5}} &= -0.5\frac{2}{5}\log\frac{2}{5} - 0.5\frac{8}{5}\log\frac{8}{5} + \frac{3}{5} \\ &= -\frac{1}{5}\log2 - \frac{4}{5}\log8 + \log5 + \frac{3}{5} \\ &= 0.322 \end{aligned}

よって、求める通信路容量 CC=maxμI(X;Y)=0.322C_C = \max_{\mu}I(X;Y) = 0.322

(2)

nn 回目に送信できる最大のビットは nn 回目の通信路容量 CnC_n に等しく、nn 回目の通信路はそれぞれ 22 元対称通信路として考えられることから Cn=maxI(X;Y)=max(H[Y])H[YX]C_n = \max I(X;Y) = \max(H[Y]) - H[Y|X] と計算できる。

n=1n = 1 のとき、n1n - 1 回目の YY が分かっているので、Cn=1H(1)=1C_n = 1 - \mathcal{H}(1) = 1 よって、nn 回で遅れるビット数は n1n - 1 ビットである。

(3)

通信路は 22 元対称通信路として考えられることから、奇数回目の時、

C奇数回目=maxI(X;Y)=max(H[Y])H[YX]=1H(0.5)=0C_{\text{奇数回目}} = \max I(X;Y) = \max(H[Y]) - H[Y|X] = 1 - \mathcal{H}(0.5) = 0

偶数回目の時、前回の ZZ が分かっていれば、符号は連続した奇数回目と偶数回目を一つの符号として、1 11 11\ 1、1\ -1 を符号語にし、復号領域としてそれぞれ {1 1,11}\{1\ 1,-1-1\}{11,1 1}\{1-1,-1\ 1\} を設ければよい。

(4)

ii が十分大きい場合について、XiX_i, Xi1(=Zi)X_{i-1}(=Z_i) は独立な確率変数である。よって、Yi=1Y_i = 1 となる確率 qq

q=μ2+(1μ)2=2μ22μ+1q = \mu^2 + (1 - \mu)^2 = 2\mu^2 - 2\mu + 1

II

(1)

x1(n)x_1(n)x2(n)x_2(n)zz 変換を X1(z)Y1(z)X_1(z)、Y_1(z) となる。

Y1(z)=110.5z1×2X1(z)X1(z)H1(z)=Y1(z)X1(z)=210.5z11h1(n)=δ(n)+2×0.5n\begin{aligned} &Y_1(z) = \frac{1}{1 - 0.5z^{-1}} \times 2X_1(z) - X_1(z) \\ &H_1(z) = \frac{Y_1(z)}{X_1(z)} = \frac{2}{1 - 0.5z^{-1}} - 1\\ &h_1(n) = \delta(n) + 2 \times 0.5^n \end{aligned}

2×0.5n2 \times 0.5^nu(n)u(n) をつけても良い。

(2)

H1(z)=210.5z11=1+0.5z110.5z1H_1(z) = \frac{2}{1 - 0.5z^{-1}} - 1 = \frac{1 + 0.5z^{-1}}{1 - 0.5z^{-1}}

ゼロ点は z=2e±jπz = 2e^{\pm j\pi}、極は z=2e0z = 2e^0 である。 よって高周波をカットするローパスフィルタである。

(3)

x2(n)x_2(n)y2(n)y_2(n)zz 変換を X2(z)X_2(z)Y2(z)Y_2(z) とする。

Y2(z)=aX2(z)+bz1X2(z)+cz1Y2(z)(1cz1)Y2(z)=(a+bz1)X2(z)Y2(z)X2(z)=a+bz11cz1\begin{aligned} &Y_2(z) = aX_2(z) + bz^{-1}X_2(z) + cz^{-1}Y_2(z) \\ &(1 - cz^{-1})Y_2(z) = (a + bz^{-1})X_2(z) \\ &\frac{Y_2(z)}{X_2(z)} = \frac{a +_ bz^{-1}}{1 - cz^{-1}} \end{aligned}

これが H1(z)H_1(z) と一致するとき、a=1a = 1b=0.5b = 0.5c=0.5c = 0.5

(4)