<< Chapter < Page Chapter >> Page >

Estimation of spectrum and power via dft

Spectrum for finite energy signals

The Fourier integral is intended for non-periodic signals, since the periodicity will lead to problems with the convergence of the integral. In fact, the Fourier integral [link] is defined rigorously only for signals with finite energy (see next section below). Recall that finite energy signals can never be periodic. For an alternative wayof defining X ( f ) for periodic signals see the next bullet just below).

However, in order to make the DFT also useful for non-periodic finite energy signals, we can consider any signal x ( t ) as being restricted to the interval [ - L / 2 , L / 2 ] and then extended periodically. Denote this new L -periodic signal by x ˜ ( t ) with Fourier coefficients X ˜ k . When L is large, comparing [link] with [link] gives

X ˜ k = 1 L - L / 2 L / 2 x ˜ ( t ) e - j 2 π k t / L d t 1 L - x ( t ) e - j 2 π k t / L d t = 1 L X ( k L ) .

The notation X ˜ k instead of X k should remind the reader, that x itself is not periodic.

If not the entire signal x but only some K samples x n = x ( n L / K ) of the signal are given, we may use the DFT as in [link] and combine it with [link] to get for k = - K / 2 , . . , K / 2 - 1

finite energy: X ( k L ) L · X ˜ k L K x ˆ k .

Note that this approximation improves in quality as L becomes larger; the factor L / K indicates that K would have to be made proportionally larger at the same time. For an illustration see [link] , [link] , and [link] , left column, with L = 20 , K = 50 . Imagine that we reduce L to half, i.e. to L * = 10 , leading to a new signal x * . This would mean to discard half of the samples, thus leading to K * = 25 . Since the discarded samples are practically zero, using [link] shows that x * ˆ k x ˆ 2 k . This agrees with [link] since L * / K * = L / K and X ( k / L * ) = X ( 2 k / L ) .

signal with 50 sample points I DFT I/(sample rate)
Spectral Estimation via DFT. A finite energy signal (Gaussian kernel).
signal with 30 sample points I DFT I/(sample size)
Spectral Estimation via DFT. The sampled periodic signal x ( t ) = 1 + sin ( 2 π t ) + sin ( 3 · 2 π t ) + sin ( 4 · 2 π t ) (period T = 1 , length L = 3 ). The larger the sample-size K , the better are the locations (0, 1, 3 and 4) and amplitudes (1, 0.5, 0.5 and 0.5) of the delta peaks of X approximated by | x ^ k | / K .
signal with 50 sample points I DFT I/(sample size)
Spectral Estimation via DFT. The sampled periodic signal x ( t ) = 1 + sin ( 2 π t ) + sin ( 3 · 2 π t ) + sin ( 4 · 2 π t ) (period T = 1 , length L = 3 ). The larger the sample-size K , the better are the locations (0, 1, 3 and 4) and amplitudes (1, 0.5, 0.5 and 0.5) of the delta peaks of X approximated by | x ^ k | / K .

Spectrum for periodic signals

For T -periodic signals, the Fourier integral [link] does not converge in the usual sense. One can still define a Fourier transform X ( f ) consisting of Dirac delta functions:

X ( f ) = k X k δ ( f - k / T ) k 1 K x ˆ k δ ( f - k / T ) .

With this setting we have x ( t ) = X ( f ) e j 2 π f t d f also for periodic signals. Note that the Delta-functions in [link] are “infinitely large” at f = k / T , in agreement with [link] where L should ideally be “infinitely large”.

However, “infinitely large” values are not useful when one wants to read off an amplitude. Comparing [link] and [link] we see that the DFT x ˆ k should be normalized differently for non-periodic finite energy signals than for periodic signals.Dividing the DFT by the sampling rate for non-periodic signals provides an estimation of the Fourier transform via [link] . Dividing the DFT by the sample size for periodic signals provides an estimation of the peak heights of the Dirac delta functionsin [link] (see [link] and [link] ).

Energy and Power from Sampling

First of all, note that the energy of a periodic signal is infinite because there are infinitely many periods with the same energy. On the other hand,the power of a finite energy signal is zero since it is the average energy of an infinitely long interval.

Short, only one measure is meaningful for a signal: either the power or the energy, depending on context. Nevertheless, we may compare power and energy of the various ways of representing asignal: as a finite energy signal, as a signal on a given finite interval (extending it periodically) or through its samples.

Comparing the power of a T -periodic signal with its samples over an interval of length L , where L is an integer multiple of the period T , we find in the frequency domain (using [link] and [link] )

P x ( cont ) = k = - X k 2 k = - K / 2 K / 2 X k 2 k = - K / 2 K / 2 1 K 2 | x ˆ k | 2 = P x ( sampled )

Computing in the time domain (using a Riemann Sum) we arrive at the same conclusion:

P x ( cont ) = 1 L - L / 2 L / 2 | x ( t ) | 2 d t 1 L n = - K / 2 K / 2 L K | x ( n L K ) | 2 = 1 K n = - K / 2 K / 2 | x n | 2 = P x ( sampled )

Comparing the energy for finite energy signals and for their samples on an interval of length L we find

Energy = | | x | | 2 - L / 2 L / 2 | x ( t ) | 2 d t = L · P x ( cont ) L · P x ( sampled )

where we used [link] in the last step.

In summary, using sufficiently many samples taken over sufficiently large intervalsshould allow to compute the power or energy of signals in either of the three representations, thereby approximating power with energy per time over a long interval.

As an important conclusion we note that the power of a periodic signal should not depend on the number of samples taken, at least approximatively, and as long as sufficient many samplesare taken. We will later make precise how many samples are sufficient. Similar for the energy of a finite energy signal.

As a final remark we note that the name “power spectrum” used for | X ( f ) | 2 , | X k | 2 and | x ^ k | 2 is appropriate since they indicate how the power is distributed of the spectrum of frequencies, i.e., which frequencies contribute much and which less to the power.

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Sampling rate conversion. OpenStax CNX. Sep 05, 2013 Download for free at http://legacy.cnx.org/content/col11529/1.2
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Sampling rate conversion' conversation and receive update notifications?

Ask