4.12 The Other Meaning of Frequency: x δ u a u (n) a u (−n − 1) u u z z - z - > - 2 -

Download as pdf or txt
Download as pdf or txt
You are on page 1of 5

4.12.

THE OTHER MEANING OF FREQUENCY

155

Many more special zTs and properties can be derived but this is enough for now. We will return to the zT when we study signal processing systems. Systems are often dened by complex recursions, and the zT will enable us to convert these into simple algebraic equations.

EXERCISES
4.11.1 Write a graphical program that allows one to designate a point in the z -plane and then draws the corresponding signal. 4.11.2 Plot the z transform of n,m for various m. 4.11.3 Prove the linearity of the zT. 4.11.4 Express zT(n xn ) in terms of x(z ) = zT(xn ). 4.11.5 What 1. 2. 3. 4. 5. is the z transform of the following digital signals? What is the ROC? n,2 un+2 an u(n) an u(n 1) 1n 3n 2 u n + 2 u n

4.11.6 What digital signals have the following z transforms? 1. z 2 2. z +2 1 3. 12 ROC |z | > |2| z 1 4.11.7 Prove 1. 2. 3. 4. 5. 6. the following properties of the zT: linearity time shift zTsnk = z k S (z ) time reversal zTsn = S ( 1 z) conjugation zTs = S ( z ) n z rescaling zT(n sn ) = S ( ) d z dierentiation zT(nsn ) = z dz S (z )

4.12

The Other Meaning of Frequency

We have discussed two quite dierent representations of functions, the Taylor expansion and the Fourier (or z) transform. There is a third, perhaps less widely known representation that we shall often require in our signal

156

THE FREQUENCY DOMAIN

processing work. Like the Fourier transform, this representation is based on frequency, but it uses a fundamentally dierent way of thinking about the concept of frequency. The two usages coincide for simple sinusoids with a single constant frequency, but dier for more complex signals. Let us recall the examples with which we introduced the STFT in Section 4.6. There we presented a pure sinusoid of frequency f1 , which abruptly changed frequency at t = 0 to become a pure sine of frequency f2 . Intuition tells us that we should have been able to recover an instantaneous frequency, dened at every point in time, that would take the value f1 for negative times, and f2 for positive times. It was only with diculty that we managed to convince you that the Fourier transform cannot supply such a frequency value, and that the uncertainty theorem leads us to deny the existence of the very concept of instantaneous frequency. Now we are going to produce just such a concept. The basic idea is to express the signal in the following way: s(t) = A(t) cos (t) (4.65)

for some A(t) and (t). This is related to what is known as the analytic representation of a signal, but we will call it simply the instantaneous representation. The function A(t) is known as the instantaneous amplitude of the signal, and the (t) is the instantaneous angle. Often we separate the angle into a linear part and the deviation from linearity s(t) = A(t) cos t + (t) (4.66)

where the frequency is called the carrier frequency, and the residual (t) the instantaneous phase. The instantaneous frequency is the derivative of the instantaneous angle 2f (t) = d(t) d(t) =+ dt dt (4.67)

which for a pure sinusoid is exactly the frequency. This frequency, unlike the frequencies in the spectrum, is a single function of time, in other words, a signal. This suggests a new world view regarding frequency; rather than understanding signals in a time interval as being made up of many frequencies, we claim that signals are fundamentally sinusoids with well-dened instantaneous amplitude and frequency. One would expect the distribution of dierent frequencies in the spectrum to be obtained by integration over the time interval of the instantaneous frequency. This is sometimes the case.

4.12. THE OTHER MEANING OF FREQUENCY

157

Consider, for example, a signal that consists of a sinusoid of frequency f1 for one second, and then a sinusoid of nearby frequency f2 for the next second. The instantaneous frequency will be f1 and then jump to f2 ; while the spectrum, calculated over two seconds, will contain two spectral lines at f1 and f2 . Similarly a sinusoid of slowly increasing instantaneous frequency will have a spectrum that is at between the initial and nal frequencies. This new denition of frequency seems quite useful for signals that we usually consider to have a single frequency at a time; however, the instantaneous representation of equation (4.65) turns out to very general. A constant DC signal can be represented (using = 0), but it is easy to see that a constant plus a sinusoid cant. It turns out (as usual, we will not dwell upon the mathematical details) that all DC-less signals can be represented. This leads to an apparent conict with the Fourier picture. Consider a signal composed of the sum of the two sinusoids with close frequencies f1 and f2 ; what does the instantaneous representation do, jump back and forth between them? No, this is exactly a beat signal (discussed in exercise 2.3.3) with instantaneous frequency a constant 1 2 (f1 + f2 ), and sinusoidally varying amplitude | f f | . Such a signal is depicted in Figure 4.13. The is with frequency 1 1 2 2 main frequency that we see in this gure (or hear when listening to such a combined tone) is the instantaneous frequency, and after that the eect of A(t), not the Fourier components. We will see in Chapter 18 that the instantaneous representation is particularly useful for the description of communications signals, where it is the basis of modulation. Communications signals commonly carry informa-

Figure 4.13: The beat signal depicted here is the sum of two sinusoids of relatively close frequencies. The frequencies we see (and hear) are the average and half-dierence frequencies, not the Fourier components.

158

THE FREQUENCY DOMAIN

tion by varying (modulating) the instantaneous amplitude, phase, and/or frequency of a sinusoidal carrier. The carrier frequency is the frequency one tunes in with the receiver frequency adjustment, while the terms AM (Amplitude Modulation) and FM (Frequency Modulation) are familiar to all radio listeners. Let us assume for the moment that the instantaneous representation exists; that is, for any reasonable signal s(t) without a DC component, we assume that one can nd carrier frequency, amplitude, and phase signals, such that equation (4.65) holds. The question that remains is how to nd them. The answering of this question is made possible through the use of a mathematical operator known as the Hilbert transform. The Hilbert transform of a real signal x(t) is a real signal y (t) = Hx(t) obtained by shifting the phases of all the frequency components in the spectrum of x(t) by 90 . Lets understand why such an operator is so remarkable. Assume x(t) to be a simple sinusoid. x(t) = A cos(t) Obtaining the 90 shifted version y (t) = Hx(t) = A cos t 2 = A sin(t)

is actually a simple matter, once one notices that y (t) = A cos t 2 =x t 2

which corresponds to a time delay. So to perform the Hilbert transform of a pure sine one must merely delay the signal for a time corresponding to one quarter of a period. For digital sinusoids of period L samples, we need L to use the operator z 4 , which can be implemented using a FIFO of length L/4. However, this delaying tactic will not work for a signal made up of more that one frequency component, e.g., when x(t) = A1 cos(1 t) + A2 cos(2 t) we have y (t) = Hx(t) = A1 sin(t) + A2 sin(t) which does not equal x(t ) for any time delay .

4.12. THE OTHER MEANING OF FREQUENCY

159

Hence the Hilbert transform, which shifts all frequency components by a quarter period, independent of frequency, is a nontrivial operator. One way of implementing it is by performing a Fourier transform of the signal, individually shifting all the phases, and then performing an inverse Fourier transform. We will see an alternative implementation (as a lter) in Section 7.3. Now let us return to the instantaneous representation x(t) = A(t) cos t + (t) (4.68)

of a signal, which we now call x(t). Since the Hilbert transform instantaneously shifts all A cos(t) to A sin(t), we can explicitly express y (t). y (t) = H x(t) = A(t) sin t + (t) We can now nd the instantaneous amplitude by using A(t) = x2 (t) + y 2 (t) (4.70) (4.69)

the instantaneous phase via the (four-quadrant) arctangent (t) = tan1 y (t) t x(t) (4.71)

and the instantaneous frequency by dierentiating the latter. (t) = d(t) dt (4.72)

The recovery of amplitude, phase, or frequency components from the original signal is called demodulation in communications signal processing. We have discovered a method of constructing the instantaneous representation of any signal x(t). This method can be carried out in practice for digital signals, assuming that we have a numeric method for calculating the Hilbert transform of an arbitrary signal. The instantaneous frequency similarly requires a numeric method for dierentiating an arbitrary signal. Like the Hilbert transform we will see later that dierentiation can be implemented as a lter. This type of application of numerical algorithms is what DSP is all about.

You might also like