Exercise 4.3: Natural and Discrete Sampling
Ideal sampling can be described in the time domain by multiplying the analog source signal q(t) by a Dirac comb pδ(t) :
- qA(t)=pδ(t)⋅q(t).
Dirac combs- infinitely narrow and infinitely high - and accordingly also the Dirac comb pδ(t) cannot be realized in practice, however. Here we must assume instead the square pulse pR(t) where the following relation holds:
- pR(t)=[1TA⋅pδ(t)]⋆gR(t)withgR(t)={11/20forforfor|t|<TR/2, |t|=TR/2, |t|>TR/2.
The duration TR of a rectangular pulse gR(t) should be (significantly) smaller than the distance TA of two samples.
In the diagram this ratio is chosen very large with TR/TA=0.5 to make the difference between "natural sampling" and "discrete sampling" especially clear:
- In natural sampling, the sampled signal qA(t) is equal to the product of square pulse pR(t) and analog source signal q(t):
- qA(t)=pR(t)⋅q(t)=[1TA⋅pδ(t)⋆gR(t)]⋅q(t).
- In contrast, the corresponding equation for discrete sampling is:
- qA(t)=[1TA⋅pδ(t)⋅q(t)]⋆gR(t).
In the graph, these signals are sketched in blue (natural sampling) and green (discrete sampling) respectively.
For signal reconstruction, a rectangular low-pass filter H(f) with cutoff frequency fG=fA/2 and gain TA/TR is used in the passband:
- H(f)={TA/TR 0forfor|f|<fA/2, |f|>fA/2.
Hints:
- The exercise belongs to the chapter Puls Code Modulation.
- Reference is made in particular to the page Natural and discrete sampling.
- The sampled source signal is denoted by qA(t) and its spectral function by QA(f).
- Sampling is always performed at ν⋅TA.
Questions
Solution
- GR(f)=TR⋅si(πfTR)withsi(x)=sin(x)/x→GR(f)TA=TRTA⋅si(πfTR)
- →GR(f=0)TA=TRTA=0.5_.
(2) The correct solution is the second suggested solution:
- From the given equation in the time domain, the convolution theorem gives:
- qA(t)=[1TA⋅pδ(t)⋆gR(t)]⋅q(t)⇒QA(f)=[1TA⋅Pδ(f)⋅GR(f)]⋆Q(f)=[Pδ(f)⋅GR(f)TA]⋆Q(f).
- The first proposed solution is valid only for ideal sampling (with a Dirac comb) and the last one for discrete sampling.
(3) The answer is YES:
- Starting from the result of the subtask (2) using the spectral function of the Dirac comb, we obtain.
- QA(f)=[Pδ(f)⋅GR(f)TA]⋆Q(f)=[GR(f)TA⋅+∞∑μ=−∞δ(f−μ⋅fA)]⋆Q(f).
- When the sampling theorem is satisfied and the low-pass filter is correct, of the infinite convolution products, only the convolution product with μ=0 lie in the passband.
- Taking into account the gain factor TA/TR we thus obtain for the spectrum at the filter output:
- $$V(f) = \frac{T_{\rm A}}{T_{\rm R}} \cdot \left [ \frac{G_{\rm R}(f = 0)}{{T_{\rm A}} \cdot \delta(f )\right ] \star Q(f)= Q(f) \hspace{0.05cm}.$$
(4) The last suggested solution is correct.
- Shifting the factor 1/TA to the rectangular pulse, we obtain with discrete sampling using the convolution theorem:
- qA(t)=[pδ(t)⋅q(t)]⋆gR(t)TA⇒QA(f)=[Pδ(f)⋆Q(f)]⋅GR(f)TA.
(5) The answer is NO:
- The weighting function G_{\rm R}(f) now involves the inner kernel (μ = 0) of the convolution product.
- All other terms (μ ≠ 0) are eliminated by the low-pass filter. One obtains here in the relevant range |f| < f_{\rm A}/2:
- V(f) = \frac{T_{\rm A}}{T_{\rm R}} \cdot \frac{G_{\rm R}(f )}{{T_{\rm A}}} \cdot Q(f) = 2 \cdot 0.5 \cdot {\rm si}(\pi f T_{\rm R})\cdot Q(f) \hspace{0.3cm}\Rightarrow \hspace{0.3cm}V(f) = Q(f) \cdot {\rm si}(\pi f T_{\rm R})\hspace{0.05cm}.
- If no additional equalization is provided here, the higher frequencies are attenuated according to the \rm si function.
- The highest signal frequency (f = f_{\rm A}/2) is attenuated the most here:
- V(f = \frac{f_{\rm A}}{2}) = Q( \frac{f_{\rm A}}{2}) \cdot {\rm si}(\pi \cdot \frac{T_{\rm R}}{2 \cdot T_{\rm A}})= Q( \frac{f_{\rm A}}{2}) \cdot {\rm si}(\pi \cdot \frac{\sin(\pi/4)}{\pi/4})\approx 0.9 \cdot Q( \frac{f_{\rm A}}{2}) \hspace{0.05cm}.