This content was uploaded by our users and we assume good faith they have the permission to share this book. If you own the copyright to this book and it is wrongfully on our website, we offer a simple DMCA procedure to remove your content from our site. Start by pressing the button below!
), respectively, and "amplitude" and "spectral amplitude" to denote A(t) and B(u). 4. Functions. We often use the variable to denote a function. That is, f(x) and f(y) may not necessarily be the same function, the individuality of the functions being denoted by the variable, x ox y. Where confusion may arise we will use different notation to emphasize the distinction. 5. Averages. Global and conditional averages are denoted by the following conventions: (w) (w) h cr^ = (w2) - (w)2 a t\h = {w2)h- (w)l
e.g., average weight e.g., average weight for a given height e.g., standard deviation of weight e.g., standard deviation of weight for a given height
6. Operators. Symbols in calligraphic letters are operators. For example, the frequency operator, W, and time operator, T, are
xv
Time-Frequency Analysis
Chapter 1
The Time and Frequency Description of Signals
1.1
INTRODUCTION In this chapter we develop the basic ideas of time and frequency analysis from the perspective that the standard treatments already contain the seeds and motivations for the necessity of a combined time-frequency description. Signal analysis is the study and characterization of the basic properties of signals and was historically developed concurrently with the discovery of the fundamental signals in nature, such as the electric field, sound wave, and electric currents. A signal is generally a function of many variables. For example, the electric field varies in both space and time. Our main emphasis will be the time variation, although the ideas developed are easily extended to spatial and other variables, and we do so in the latter part of the book. The time variation of a signal is fundamental because time is fundamental. However, if we want to gain more understanding, it is often advantageous to study the signal in a different representation. This is done by expanding the signal in a complete set of functions, and from a mathematical point of view there are an infinite number of ways this can be done. What makes a particular representation important is that the characteristics of the signal are understood better in that representation because the representation is characterized by a physical quantity that is important in nature or for the situation at hand. Besides time, the most important representation is frequency. The mathematics of the frequency representation was invented by Fourier, whose main motivation was to find the equation governing the behavior of heat. The contributions of Fourier were milestones because indeed he did find the fundamental equation governing heat, and, in addition, he invented the remarkable mathematics to handle discontinuities (1807). He had to be able to 1
2
Chap. 1 The Time and Frequency Description of Signals
handle discontinuities because in one of the most basic problems regarding heat, namely, when hot and cold objects are put in contact, a discontinuity in temperature arises. Fourier's idea, that a discontinuous function can be expressed as the sum of continuous functions - an absurd idea on the face of it, which the great scientists of that time, including Laplace and Lagrange, did not hesitate to call absurd in nondiplomatic language - turned out to be one of the great innovations of mathematics and science.1 However, the reason spectral analysis is one of the most powerful scientific methods ever discovered is due to the contributions of Bunsen and Kirchhoff about sixty years after Fourier presented his ideas (1807) and about 35 years after his death in 1830. Spectral analysis turned out to be much more important than anyone in Fourier's time could have envisioned. This came about with the invention of the spectroscope2 and with the discovery that by spectrally analyzing light we can determine the nature of matter; that atoms and molecules are fingerprinted by the frequency spectrum of the light they emit. This is the modern usage of spectral analysis. Its discoverers, Bunsen and Kirchhoff, observed (around 1865) that light spectra can be used for recognition, detection, and classification of substances because they are unique to each substance. This idea, along with its extension to other waveforms and the invention of the tools needed to carry out spectral decomposition, certainly ranks as one of the most important discoveries in the history of mankind. It could certainly be argued that the spectroscope and its variations are the most important scientific tools ever devised. The analysis of spectra has led to the discovery of the basic laws of nature and has allowed us to understand the composition and nature of substances on earth and in stars millions of light years away. It would be appropriate to refer to spectral analysis as Bunsen-Kirchhoff analysis.
TIME DESCRIPTION OF SIGNALS Fundamental physical quantities such as the electromagnetic field, pressure, and voltage change in time and are called time waveforms or signals. We shall denote a signal by s (t). In principle, a signal can have any functional form and it is possible to produce signals, such as sound waves, with extraordinary richness and complexity. Fortunately, simple signals exist, hence the motivation to study and characterize the simple cases first in order to build up one's understanding before tackling the more complicated ones. 1 Laplace and Lagrange weren't thrilled about Fourier's theory of heat either. However, his ideas were eventually widely accepted in his own lifetime and he succeeded to Lagrange's chair. Fourier was heavily involved in politics and had his ups and downs in that realm also. At one time he accompanied Napoleon to Egypt and had a major impact in establishing the field of Egyptology. 2 The spectroscope was invented by Fraunhofer around 1815 for the measurement of the index of refraction of glasses. Fraunhofer was one of the great telescope makers and realized that the accurate determination of the index of refraction is essential for building optical instruments of high quality. In using the spectroscope for that purpose Fraunhofer discovered and catalogued spectral lines which have come to be known as the Fraunhofer lines. However, the full significance of spectral analysis as a finger print of elements and molecules was first understood by Bunsen and Kirchhoff somefiftyyears after the invention of the spectroscope.
Sec. 2
Time Description of Signals
3
The simplest time-varying signal is the sinusoid. It is a solution to many of the fundamental equations, such as Maxwell equations, and is common in nature. It is characterized by a constant amplitude, a, and constant frequency, UJ0, s(t) = acoscjo*
(1-1)
We say that such a signal is of constant amplitude. This does not mean that the signal is of constant value, but that the maxima and minima of the oscillations are constant. The frequency, LJQ, has a clear physical interpretation, namely the number of oscillations, or ups and downs, per unit time. One attempts to generalize the simplicity of the sinusoid by hoping that a general signal can be written in the form s(t) = a{t) costf(t)
(1.2)
where the amplitude, a(t), and phase, i?(i), are now arbitrary functions of time. To emphasize that they generally change in time, the phrases amplitude modulation and phase modulation are often used, since the word modulation means change. Difficulties arise immediately. Nature does not break up a signal for us in terms of amplitude and phase. Nature only gives us the left-hand side, s(t). Even if the signal were generated by a human by way of Eq. (1.2) with specific amplitude and phase functions, that particular a(t) and i?(i) would not be special since there are an infinite number of ways of choosing different pairs of amplitudes and phases that generate the same signal. Is there one pair that is special? Also, it is often advantageous to write a signal in complex form s(t) = A(i)eJ>W - sr+jai
(1.3)
and we want to take the actual signal at hand to be the real part of the complex signal. How do we choose A and ip or, equivalently, how do we choose the imaginary part, Si? It is important to realize that the phase and amplitude of the real signal are not generally the same as the phase and amplitude of the complex signal. We have emphasized this by using different symbols for the phases and amplitudes in Eqs. (1.2) and (1.3). How to unambiguously define amplitude and phase and how to define a complex signal corresponding to a real signal will be the subject of the next chapter. From the ideas and mathematics developed in this chapter we will see why defining a complex signal is advantageous and we will lay the groundwork to see how to do it. In this chapter we consider complex signals but make no assumptions regarding the amplitude and phase. Energy Density or Instantaneous Power. How much energy a signal has and specifically how much energy it takes to produce it is a central idea. In the case of electromagnetic theory, the electric energy density is the absolute square of the electric field and similarly for the magnetic field. This was derived by Poynting using Maxwell's equations and is known as Poynting's theorem. In circuits, the energy
4
Chap. 1
The Time and Frequency Description of Signals
density is proportional to the voltage squared. For a sound wave it is the pressure squared. Therefore, the energy or intensity of a signal is generally | s(t) | 2 . That is, in a small interval of time, At, it takes | s(t) \2At amount of energy to produce the signal at that time. Since | s(t) | 2 is the energy per unit time it may be appropriately called the energy density or the instantaneous power since power is the amount of work per unit time. Therefore | s(t) | 2 = energy or intensity per unit time at time t (energy density or instantaneous power) | s(t) | 2 At
= the fractional energy in the time interval At at time t
Signal analysis has been extended to many diverse types of data, including economical and sociological. It is certainly not obvious that in those cases we can meaningfully talk about the energy density per unit time and take | s(t) | 2 to be its value. However, that is what is done by "analogy", which is appropriate if the results are fruitful. Total Energy. If | s(t) | 2 is the energy per unit time, then the total energy is obtained by summing or integrating over all time, E = I \s(t)\2dt
(1.4)
For signals with finite energy we can take, without loss of generality, the total energy to be equal to one. For many signals the total energy is infinite. For example, a pure sine wave has infinite total energy, which is reasonable since to keep on producing it, work must be expended continually. Such cases can usually be handled without much difficulty by a limiting process. Characterization of Time Wave Forms: Averages, Mean Time, and Duration. If we consider | s(t) | 2 as a density in time, the average time can be defined in the usual way any average is defined: ( 0 = ft\s(t)\2dt
(1.5)
The reasons for defining an average are that it may give a gross characterization of the density and it may give an indication of where the density is concentrated. Many measures can be used to ascertain whether the density is concentrated around the average, the most common being the standard deviation, crt, given by T 2 = a\
=
f(t-(t)f\s(t)\2dt
(1.6)
=
-2
(1.7)
Sec. 2
5
Time Description of Signals
where ( t 2 ) is defined similarly to (t). The standard deviation is an indication of the duration of the signal: In a time 2at most of the signal will have gone by. If the standard deviation is small then most of the signal is concentrated around the mean time and it will go b y quickly, which is a n indication that w e have a signal of short duration; similarly for long duration. It should be pointed out that there are signals for which the standard deviation is infinite, although they may be finite energy signals. That usually indicates that the signal is very long lasting. The average of any function of time, g(t), is obtained by = j'g(t)\s(t)\2dt
(g{t))
(1.8)
Note that for a complex signal, time averages d e p e n d only o n the amplitude. Example 1.1: Gaussian Envelope. Consider the following signal where the phase is arbitrary a(t) = (a/7r)l/ie-ait-to)2/2+jvW
(1.9)
The mean time and duration are calculated to be = */2 /te-Q('-to)2dt
{t) (t2)
£
=to
/'t2c-«(t-«0)adt:=
•n J
1
(1.10) +t2
( i n )
2a
Hence < =
C1-")
The mean time and duration are (t)
Z"*2 tdt
1 = J~[-i
f'2
1 = T^til 2
=|(*2+ti)
*"* = l ( * a + * » ' i + ' ? )
(1.14) ( L15 )
which gives
a
1
^w^~ix)
(L16)
For this case the signal unambiguously lasts (t 2 - h ). However, 2) and s(t) are uniquely
Sec. 3
7
Frequency Description of Signals
related we may think of the spectrum as the signal in the frequency domain or frequency space or frequency representation. Spectral Amplitude and Phase. As with the signal, it is often advantageous to write the spectrum in terms of its amplitude and phase, S(u) = B M e * '
(1.19)
We call B(w) the spectral amplitude and ip(u) the spectral phase to differentiate them from the phase and amplitude of the signal. Energy Density Spectrum. In analogy with the time waveform we can take | S(u) | 2 to be the energy density per unit frequency: | S(UJ) | 2 = energy or intensity per unit frequency at frequency w (energy density spectrum)
| S(u>) | 2 Aui — the fractional energy in the frequency interval Aw at frequency u That | S(UJ) | 2 is the energy density can be seen by considering the simple case of one component, s(t) = S(LJQ) ejWot, characterized by the frequency, ui0. Since the signal energy is | s(t) | 2 , then for this case the energy density is | S(LOQ) I2- Since all the energy is in one frequency, | S(u>o) | 2 must then be the energy for that frequency. In Chapter 15 we consider arbitrary representations and discuss this issue in greater detail. Also, the fact that the total energy of the signal is given by the integration of | S{u) | 2 over all frequencies, as discussed below, is another indication that it is the density in frequency. The total energy of the signal should be independent of the method used to calculate it. Hence, if the energy density per unit frequency is | S(UJ) j 2 , the total energy should be the integral of | S{u>) | 2 over all frequencies and should equal the total energy of the signal calculated directly from the time waveform E = f | s(t) | 2 dt = ( \ S{UJ) | 2 du
(1.20)
This identity is commonly called Parceval's or Rayleigh's theorem. 3 To prove it consider 3 The concept of the expansion of a function in a set of orthogonal functions started around the time of Laplace, Legendre, and Fourier. However, the full importance and development of the theory of orthogonal functions is due to Rayleigh some one hundred years later, around 1890.
8
Chap. 1 The Time and Frequency Description of Signals E=
f \s{t)\2dt = i =
fffs*(ij')S(uj)ej^-u''^dwcLj'dt
j f S*{u')S{u)6{u-uj')duj