← All writing

Understanding Digital Signal Processing

Introductory DSP reading notes on discrete sequences, signal magnitude and power, and linear time-invariant systems. Continues with sampling, aliasing and the discrete Fourier transform.

Understanding Digital Signal Processing

1 Discrete Sequences and Systems

1.1 DISCRETE SEQUENCES AND THEIR NOTATION

In general, the term signal processing refers to the science of analyzing time varying physical processes.

As such, signal processing is divided into two categories, analog signal processing and digital signal processing.

The term discrete-time signal is used to describe a signal whose independent time variable is quantized so that we know only the value of the signal at discrete instants in time.

In digital signal processing, we often find it necessary to characterize the frequency content of discrete time-domain signals. When we do so, this frequency representation takes place in what’s called the frequency domain.

domain

Pay particular attention to the word: domain, a very widely used term in DSP. For instance, a signal that uses time as the independent variable (i.e., the parameter on the horizontal axis), is said to be in the time domain. Another common signal in DSP uses frequency as the independent variable, resulting in the term, frequency domain.

1.2 SIGNAL AMPLITUDE, MAGNITUDE, POWER

The amplitude of a variable is the measure of how far, and in what direction, that variable differs from zero.

The vertical axis may represent voltage, light intensity, sound pressure, or an infinite number of other parameters. Since we don't know what it represents in this particular case, we will give it the generic label: amplitude.

The magnitude of a variable, on the other hand, is the measure of how far, regardless of direction, its quantity differs from zero.

The power of a signal is proportional to its amplitude (or magnitude) squared.

1.5 DISCRETE LINEAR SYSTEMS

If this system is that input xi(n)x_i(n) and output yi(n)y_i(n), then for any ci∈Rc_i \in \R we have

c1x1(n)+c2x2(n)→c1y1(n)+c2y2(n)c_1x_1(n)+c_2x_2(n)\rarr c_1y_1(n)+c_2y_2(n)

We call this system DISCRETE LINEAR SYSTEMS.

1.6 TIME-INVARIANT SYSTEMS

For any k∈Zk \in \Z,

x′(n)=x(n+k)→y′(n)=y(n+k)x'(n)=x(n + k) \rarr y'(n)=y(n + k)

1.7 THE COMMUTATIVE PROPERTY OF LINEAR TIME-INVARIANT SYSTEMS

Swapping the order of two cascaded systems does not alter the final output. Although the intermediate data sequences f(n) and g(n) will usually not be equal, the two pairs of LTI systems will have idenical y(n) output sequences.

2 Periodic Sampling

2.1 ALIASING: SIGNAL AMBIGUITY IN THE FREQUENCY DOMAIN

Suppose a continuous time-domain sinusoidal signal is

x(t)=sin⁡(2πfot)x(t)=\sin(2\pi f_ot)

whose frequency is fof_o.

Now let’s sample x(t)x(t) at a rate of fsf_s samples/second, i.e., at regular periods of ts seconds where ts=1/fst_s = 1/f_s.

we have

x(n)=sin⁡(2πfonts)x(n)=\sin(2\pi f_o nt_s)

Since sin⁡(x)=sin⁡(x+2mπ)\sin(x)=\sin(x + 2m\pi)

x(n)=sin⁡(2πfonts)=sin⁡(2πfonts+2mπ)=sin⁡(2π(fo+mnts)nts)x(n)=\sin(2\pi f_o nt_s)=\sin(2\pi f_o nt_s + 2m\pi)=\sin(2\pi(f_o + \frac m{nt_s})nt_s)

If we let m be an integer multiple of nn, i.e., m=knm = kn, we have

x(n)=sin⁡(2πfonts)=sin⁡(2π(fo+mnts)nts)=sin⁡(2π(fo+kts)nts)=sin⁡(2π(fo+kfs)nts)x(n)=\sin(2\pi f_o nt_s)=\sin(2\pi(f_o + \frac m{nt_s})nt_s)\\ =\sin(2\pi(f_o + \frac k{t_s})nt_s)\\ =\sin(2\pi(f_o + kf_s)nt_s)

When sampling at a rate of fsf_s samples/second, if kk is any positive or negative integer, we cannot distinguish between the sampled values of a sinewave of fof_o Hz and a sinewave of (fo+kfs)(f_o+kf_s ) Hz.

It’s true. No sequence of values stored in a computer, for example, can unambiguously represent one and only one sinusoid without additional information.

2.2 SAMPLING LOWPASS SIGNALS

Real Signals Have Symmetric Spectra.

If the spectral amplitude is zero above +B+B Hz and below –B–B Hz; i.e., the signal is band-limited.

A low-pass signal is a signal whose frequency content is concentrated at low frequencies, and it has little or no energy at high frequencies.

Since aliasing, our frequency will +kfs,k∈Z+kf_s, k\in\Z, so there is the spectral replication effects.

To avoid this, we need to set fsf_s bigger enough such that frequency never overlap.

This needs fs>2Bf_s > 2B. see figure 2.4 (page 39).

In practical A/D conversion schemes, fsf_s is always greater than 2B2B to separate spectral replications at the folding frequencies of ±fs/2±f_s/2. This very important relationship of fs≥2Bf_s ≥ 2B is known as the Nyquist criterion.

2.3 SAMPLING BANDPASS SIGNALS

We can use a technique known as bandpass sampling to sample a continuous bandpass signal that is centered about some frequency other than zero Hz.

We use the term bandpass sampling for the process of sampling continuous signals whose center frequencies have been translated up from zero Hz.

Nyquist criterion gives 2fmax2f_{max} sample frequency, however in this situation it can be optimized.

Let’s assume we have a continuous input bandpass signal of bandwidth BB. Its carrier frequency is fcf_c Hz, i.e., the bandpass signal is centered at fcf_c Hz.

Then the optimal sample frequency is fsf_s, and for any m∈Nm \in \N

fs>2Bmfs<2fmin(m+1)fs>2fmaxf_s > 2B\\ mf_s < 2f_{min}\\ (m+1)f_s > 2f_{max}

sine fc=fmax−B2=fmin+B2f_c= f_{max} - \frac B2=f_{min}+\frac B2, we have

fs>2B2fc+Bm+1<fs<2fc−Bmf_s>2B\\ \frac {2f_c + B}{m+1} < f_s < \frac {2f_c -B}{m}

However, there is a negative aspect associated with bandpass sampling. The signal-to-noise ratio (SNR), the ratio of the power of a signal over the total background noise power, of our digitized signal is degraded when we perform bandpass sampling.

3 The Discrete Fourier Transform

Although, for our purposes, a discrete signal sequence is a set of values obtained by periodic sampling of a continuous signal in the time domain, we’ll find that the DFT is useful in analyzing any discrete sequence regardless of what that sequence actually represents.

← Back to ArchiveBack to top ↑

Comments

No approved comments yet.

Your display name and plain-text comment become public only after owner approval. No account or email is required.