Communication, Networking, Signal and Image Processing (CS)
Question 3: Communications
August 2011
Question
Problem 1. Suppose a system is monitored daily, except on Sundays, because it is faulty half of the time. On Mondays, Wednesdays, and Fridays at noon, if everything checks out fine, a sensor sends a signal with amplitude $ -A $, where $ A $ is a positive constant, millivolts along a pair of wires. However, if there is a fault, the sensor sends a signal with amplitude $ A $ millibolts along the pair of wires. In both cases the duration of the signal from the sensor is ten seconds. The signals are fliped on Tuesdays, Thursdays, and Saturdays, that is, the positive polarity indicates that everything is fine and negative polarity indicates that there is a fault on these days. The additive white Gaussian two-sided noise power spectral density on the wires is $ N_0 $/2 = 5x$ 10^{-6} $ $ V^2 $/$ Hz $.
(a) Precisely define a receiver structure that takes the signal from the pairs of wires in order to determine whether a fault exists in the system from the pair of wires in order to determine whether a fault exists in the system on Mondays, Wednesdays, and Fridays. The receiver must minimize the probability of being wrong in this fault asessment. If there is any filtering of the signal on the wire, sampling, or comparison with a threshold in your design, precisely define all filters, sampling times, and threshold values.
(b) Explain how the system that you designed in Part (a) should be modified to work on Tuesdays, Thursdays, and Saturdays.
(c) Find the probability that the optimal system-fault-detecting receiver (of Part (a)) is wrong in its assessment of the condition of the system.
(d) Suddenly, the system is fixed and works perfectly, but now the clocked power to the sensor begins to fail so that half of the weeks the sensor works perfectly as described and half of the weeks it sends no signal at all. Precisely define (as before) a receiver structure that begins working at noon on Monday to detect whether the sensor is working or not and that minimizes the probability of being wrong in this assessment. It must report its answer by Sunday.
(e) Find the probability that the optimal sensor-fault-detecting receiver (of Part (d)) is wrong in its assessment of the condition of the sensor.
(f) How does your receiver design change in Part (d) if, because of temperature changes in the system, the two-sided noise power spectral density becomes 10x$ 10^{-6} $ $ V^2 $/$ Hz $ on Tuesdays, Thursdays, and Saturdays and remains at 5x$ 10^{-6} $ $ V^2 $/$ Hz $ on Mondays, Wednesdays, and Fridays?
Solution 1
$ \color{black}\text{(a) } T=10sec $
$ \color{black} s_0(t)=-A P_T(t), s_1(t)=A P_T(t) $
$ \color{black} h(t)=s_0(T-t)-s_1(T-t)=-2A P_T(T-t) $
$ \color{black} \mu_0=s_0(t)*h(t)|_{t=T}=2A^2T $
$ \color{black} \mu_1=s_1(t)*h(t)|_{t=T}=-2A^2T $
$ \color{black} r_m=\frac12(\mu_0+\mu_1)=0 $
$ \color{black}\text{(b) } T=10sec $
$ \color{black} s_0(t)=A P_T(t), s_1(t)=-A P_T(t) $
$ \color{black} h(t)=-2A P_T(T-t) $
$ \color{black} \mu_0=s_0(t)*h(t)|_{t=T}=-2A^2T $
$ \color{black} \mu_1=s_1(t)*h(t)|_{t=T}=2A^2T $
$ \color{black} r_m=\frac12(\mu_0+\mu_1)=0 $
$ \color{black}\text{(c) } \mu_1=-2A^2T=-20A^2 $
$ \color{black} \sigma^2=\frac{N_0}{2}\parallel h\parallel^2=\frac{N_0}{2}\cdot4A^2T=5\times10^{-6}\cdot4A^2\cdot10=2\times10^{-4}\cdot A^2 $
$ \color{black} P_{e,avg}=P_{e,m}=Q(\frac{r_m-\mu_1}{\sigma})=Q(\frac{0-(-20A^2)}{\sqrt{2\times10^{-4}\cdot A^2}})=Q(\frac{20A^2}{\sqrt{2}\times10^{-2}\cdot A})=Q(1000\sqrt{2}A) $
$ \color{black}\text{(d) } \text{Monday, Wednesday, and Friday} $
$ \color{black} s_0(t)=-AP_T(t), s_1(t)=0 $
$ \color{black} h(t)=s_0(T-t)-s_1(T-t)=-AP_T(T-t) $
$ \color{black} \mu_0=s_0(t)*h(t)|_{t=T}=A^2T $
$ \color{black} \mu_1=s_1(t)*h(t)|_{t=T}=0 $
$ \color{black} r_m=\frac{1}{2}(\mu_0+\mu_1)=\frac{1}{2}(A^2T+0)=\frac{A^2T}{2} $
$ \color{black} \text{Tuesday, Thursday, and Saturday} $
$ \color{black} s_0(t)=AP_T(t), s_1(t)=0 $
$ \color{black} h(t)=-AP_T(T-t) $
$ \color{black} \mu_0=s_0(t)*h(t)|_{t=T}=-A^2T $
$ \color{black} \mu_1=s_1(t)*h(t)|_{t=T}=0 $
$ \color{black} r_m=\frac{1}{2}(\mu_0+\mu_1)=\frac{1}{2}(-A^2T+0)=-\frac{A^2T}{2} $
$ \color{black} \text{Sunday } $
$ \color{black} \text{We cannot detect whether the sensor is working or not on Sunday.} $
$ \color{black}\text{(e) } \sigma^2=\frac{N_0}{2}\parallel h\parallel^2=\frac{N_0}{2}\cdot A^2T=5\times10^{-6}\cdot A^2\cdot10=5\times10^{-5}\cdot A^2 $
$ \color{black} \text{Monday, Wednesday, and Friday} $
$ \color{black} P_{e,avg}=Q(\frac{\mu_0-\mu_1}{2\sigma})=Q(\frac{A^2T-0}{2\sigma})=Q(\frac{A^2\cdot10}{2\sqrt{5\times10^{-5}\cdot A^2}})=Q(500\sqrt{2}A) $
$ \color{black} \text{Tuesday, Thursday, and Saturday} $
$ \color{black} P_{e,avg}=Q(\frac{\mu_0-\mu_1}{2\sigma})=Q(\frac{0-(-A^2T)}{2\sigma})=Q(500\sqrt{2}A) $
$ \color{black} \therefore P_{e,avg}=Q(500\sqrt{2}A) $
$ \color{black} \text{(f) The receiver does not need to change. Noise affects only the error probability.} $
Solution 2
Write it here.