3. Digitization Flashcards

1
Q

What is digitization?

A

On the one hand, the time axis is discretized, an operation which is called sampling. On the other hand, a discretization of the amplitude axis is required, which is referred to as quantization. The combined process of sampling and quantization is called digitization.

(p. 44)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is sampling?
What is uniform sampling?

A

Sampling means that the amplitude of the analog signal x(t) is measured and recorded only at discrete time instances tk, k ∈ Z. Hence, the information carried by x(t) in between consecutive sampling instances tk and tk+1 is discarded and not further used.

Typically, the sampling is uniform, i.e. the sample instances are at equal distance tk+1 − tk = Ts from each other, whatever k. Upon sampling an analog signal of finite length, a finite number of signal samples x[k] result.

(p. 44)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the sampling time?
How does it relate to the sampling frequency?

A

Typically, the sampling is uniform, i.e. the sample instances are at equal distance tk+1 − tk = Ts from each other, whatever k. Parameter Ts is commonly referred to as the sampling time or sample period T.

The inverse of the sampling time is called the sampling frequency, sampling rate or sample rate:

                                        fs = 1/Ts

(p. 44)
.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is quantization?
What is linear quantization?

A

To further scale down the amount of information in the signal, the sample amplitudes need to be quantized. To that purpose, the signal amplitude range [xmin, xmax] is divided into a number of quantization levels. The quantized signal xQ[k] is then commonly obtained by rounding off (or truncating) the signal amplitudes x[k] to the closest quantization level. Notice that this comes down to a discretization of the amplitude axis.

Most of the time the amplitude axis is divided into intervals of the same length, as in figure 3.2. This is referred to as linear quantization. In that case the distance between consecutive quantization levels is a constant, which is called the quantization step (size).

(p. 44)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Give a definition of quantization step.

A

Most of the time the amplitude axis is divided into intervals of the same length, as in figure 3.2. This is referred to as linear quantization. In that case the distance between consecutive quantization levels is a constant, which is called the quantization step (size). If the amplitude range [xmin, xmax] is divided into N equidistant quantization levels, the quantization step is (typically) given by:

Q = (xmax − xmin)/N

(p. 44 - 45)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is the quantization error?

A

The difference between the quantized signal and the original signal amplitudes is called the quantization error :

                          eQ[k] = xQ[k] − x[k]

(p. 45)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is aliasing?
When does it occur?
Why is it undesired?

Make sure you can give a graphical example as in figures 3.3 and 3.4.

A

The fact that several frequency components are projected onto the same digital waveform, and hence, provoke ambiguity, confusion and loss of information (i.e. prevent the reconstruction of x(t) from xfs[k]), is called aliasing.

The observation can be generalized to: zie formule 3.11

(p. 48 - 49)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What does the frequency spectrum of a discrete-time signal : fmax ≤ fs/2 look like? Draw it.

A

Make sure you can reproduce figure 3.5. You are not supposed to be able to replicate the values on the vertical axes. Observe that the frequency spectrum of an aperiodic discrete-time signal is continuous and periodic with period fs.

(p. 50)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is the link between periodicity and discrete behavior/continuity between the two domaines?

A

Discrete behaviour in one domain brings about periodicity in the other domain and vice versa. Similarly, continuity in one domain leads to aperiodic behaviour in the other domain.

(p. 51)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What does the frequency spectrum of a discrete-time signal : fmax > fs/2 look like? Draw it.

A

Make sure you can reproduce figure 3.6. You are not supposed to be able to replicate the values on the vertical axes.

(p. 52)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Derive the Nyquist sampling theorem from figure 3.6

A

Observe that aliasing is inserted in figure 3.6 because the right tip of X(f) is at a higher frequency than the left tip of X(f − fs), in other words, fmax > fs − fmax. Note that this does not happen in figure 3.5 as fmax ≤ fs − fmax ⇔ 2fmax ≤ fs. It follows that the discrete-time signal is free of aliasing only if the sampling frequency fs is higher than twice the highest frequency fmax in the analog signal x(t), i.e. if:

                                                    fs ≥ 2fmax

This inequality represents the famous Nyquist sampling theorem. If fs < 2fmax, aliasing will most likely (but not always) occur.

(p. 51)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What does the Nyquist sampling theorem say?

A

Observe that aliasing is inserted in figure 3.6 because the right tip of X(f) is at a higher frequency than the left tip of X(f − fs), in other words, fmax > fs − fmax. Note that this does not happen in figure 3.5 as fmax ≤ fs − fmax ⇔ 2fmax ≤ fs. It follows that the discrete-time signal is free of aliasing only if the sampling frequency fs is higher than twice the highest frequency fmax in the analog signal x(t), i.e. if:

                                                    fs ≥ 2fmax

This inequality represents the famous Nyquist sampling theorem. If fs < 2fmax, aliasing will most likely (but not always) occur.

(p. 51)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is the Nyquist frequency?

A

In practice, the analog signal is not perfectly bandlimited and therefore fmax is infinite. The sampling theorem needs to be relaxed to fs >= 2fmm with fmm the highest frequency in the signal that is of interest. Frequencies above fs/2 are considered parasitic. The frequency fs/2 is commonly called the Nyquist frequency.

(p. 52 - 53)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is an analog-to-digital converter?
Which main building blocks are inside?
Why are they needed?

A

An analog-to-digital converter converts an analog signal into a digital signal.

The building blocks are an anti-aliasing filter followed by the sampling unit (see figure 3.7). In practice, an active or passive analog filter is used for the filtering circuit.

As aliasing is a severe type of nonlinear distortion that is to be avoided, it is mandatory to use an anti-aliasing filter in most applications.

(p. 53)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is an anti-aliasing filter?
Why is it needed?
How do you set the cut-off frequency?

A

To avoid aliasing insertion the analog signal x(t) is first lowpass filtered to remove the signal components above fs/2. In this way, a lowpass filtered version xLPF(t) of x(t) is obtained that can be sampled at rate fs (almost) free of aliasing. Such an analog lowpass prefilter is called an anti-aliasing filter.

By removing parasitic frequencies above fs/2 > fmm, aliasing insertion is greatly avoided whilst preserving the signal content that is of interest to the user.

The cut-off frequency fc of the filter has to be kept slightly below the Nyquist frequency, by setting fc e.g. to α · fs/2 with α = 0.8 . . . 0.95. Unfortunately, in this way, also frequency components that are (just) below fs/2 and that fall in the transition band of the filter, are attenuated. To minimize this type of spectral distortion α should be close to 1.

Keep in mind that the anti-aliasing filter is an analog lowpass filter that is put in front of the sampling unit.

(p. 52 - 53)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Draw the Fourier transform of a discrete-time signal : anti-aliasing filtering.

A

Make sure you can reproduce figure 3.8. You are not supposed to be able to replicate the values on the vertical axes.

(p. 54)

17
Q

What does the bandpass sampling theorem say?

A

The bandpass sampling theorem is an extension of the sampling theorem for analog bandpass signals whose frequency spectrum is non-zero only in a (small) frequency band with bandwidth B around fc != 0. This means that the analog signal contains frequencies between fc - B/2 and fc + B/2 (and corresponding negative frequencies) only. To avoid aliasing following the conventional sampling theorem, the signal needs to be sampled at a rate that is at least twice the highest frequency in that signal, in other words fs >= 2fc + B.

If the analog signal is a bandpass signal with bandwidth B ≪ fc, the sampling frequency can be significantly reduced whilst still ensuring aliasing-free operation. It can be shown that not fs ≥ 2fc + B but

                                 fs ≥ 2B

is a lower bound for the sampling frequency fs in that case.

(p. 55)

18
Q

What is a digital-to-analog converter?
Which main building blocks are inside?
Why are they needed?

A

A digital-to-analog converter is used to reconvert a digital signal into the analog domain.

The building blocks are amplitude modulation followed by an anti-imaging filter.

See figure 3.9.

(p. 55)

19
Q

What does the signal reconstruction theorem say?

A

The original spectrum can be retrieved from Xd^(c) (f) by applying an ideal (analog) lowpass filter with cut-off frequency fs/2 to xd^(c)(t). In the time domain this comes down to a convolution with the inverse Fourier transform of an ideal lowpass filter, which is a sinc.

The original analog signal x(t) can be reconstructed from the discrete-time samples x[k] through sinc interpolation. Keep in mind that the signal reconstruction theorem only holds as long as x[k] is an aliasing-free discrete-time approximation of x(t), i.e. if fs > 2fmax.

(p. 55 - 57)

20
Q

Draw signal reconstruction through sinc interpolation.

A

Make sure you can reproduce figure 3.10 and hence, prove formula 3.20 in a graphical way. You are not supposed to be able to replicate the values on the vertical axes.

Formula 3.20 can be found in the formulary.

(p. 56)

21
Q

What is an anti-imaging filter?
What is it needed for?
How do you set the cut-off frequency?

A

An analog lowpass filter at the output of the digital-to-analog converter that removes all frequency images, i.e. copies X(f − nfs) of the fundamental frequency pattern X(f). For this reason it is
called an ’anti-imaging filter’.

cut-off frequency fc = fs/2

Keep in mind that the anti-imaging filter is an analog lowpass filter that is connected at the output of the digital-to-analog converter.

(p. 57)

22
Q

What is a zero-order-hold digital-to-analog converter?

A

Instead of generating and weighting Dirac-like impulses, constant output levels are produced proportional to x[k], which are maintained during one sample period Ts (zero-order-hold operation). In this way, a staircase approximation xSH(t) of the analog waveform x(t) is obtained.

The output signal xSH(t) is smoothed with an anti-imaging filter to remove the frequency images.

(p. 57)

23
Q

What is sinc distortion?
Why is it undesired?
How can it be avoided?

A

It turns out that the magnitude of 1/fs * Xd^(c) (f) is scaled by |sinc(πf /fs)|, which ranges from 2/π ≈ −4 dB at the edges of the fundamental interval [−fs/2,fs/2] to 0 dB at the center, i.e. at DC. This leads to a mild spectral (lowpass) coloring of the resulting signal.

A pre-emphasis filter can be applied to compensate for the coloring introduced by the sinc distortion. High-quality solutions require a high-order analog filter to (jointly) remove the images and the sinc distortion whilst leaving the magnitude spectrum unchanged over the fundamental interval [−fs/2,fs/2]. As an alternative, oversampling techniques can be used.

Make sure you can reproduce figure 3.11. You are not supposed to be able to replicate the values on the vertical axes.

(p. 57 - 58)