One Sine and One Cosine ``Phase Quadrature'' Case
Figure 1.14 shows a similar spectrum analysis of two sinusoids
using the same frequency separation and window lengths. However, now
the
sinusoids are 90 degrees out of phase (one sine and one cosine).
Curiously, the top-left case (

) now appears to be resolved! However, closer inspection (see
Fig.
1.15) reveals that the ``resolved'' spectral peaks
are significantly far away from the
sinusoidal frequencies. Another
curious observation is that the lower-left case (

) appears worse off than it did in
Fig.
1.13, and worse than the shorter-window analysis at
the top right of
Fig.
1.14. Only the well resolved case at the lower right
(spanning two full cycles of the difference frequency) appears
unaffected by the relative phase of the two sinusoids under analysis.
Figure 1.15 shows the same plots as in
Fig.1.14, but overlaid. From this we can see that the peak
locations are biased in under-resolved cases, both in amplitude
and frequency.
Figure:
Overlay of the plots in Fig.1.14.
![\includegraphics[width=\textwidth ]{eps/resolvedSinesC2C}](http://www.dsprelated.com/josimages/sasp/img216.png) |
The preceding figures suggest that, for a rectangular window of length
, two sinusoids are well resolved when they are separated in
frequency by
where the frequency-separation

is in radians per sample. In
cycles per sample, the inequality becomes
where the

denotes normalized frequency in
cycles per sample. In Hz, we have
or
Note that

is the number of samples in one
period of a
sinusoid at frequency

Hz, sampled at

Hz. Therefore, we have
derived a rule of thumb for frequency resolution that requires at
least
two full cycles of the difference-frequency under the
rectangular window.
A more detailed study [1] reveals that
cycles
of the difference-frequency is sufficient to enable fully accurate
peak-frequency measurement under the rectangular window by means of
finding FFT peaks. In §1.7 below, additional minimum duration
specifications for resolving closely spaced sinusoids are given for
other window types as well.
In principle, we can resolve arbitrarily small frequency
separations, provided
- there is no noise, and
- we are sure we are looking at the sum of two ideal sinusoids under the window.
One method for doing this is described in §
4.8.2.
However, in practice, there is almost always some
noise and/or
interference from other
signals, so we normally prefer to require
sinusoidal frequency separation by on the order of one main-lobe
width or more.
The rectangular window provides an abrupt transition at its edge.
While it remains the optimal window for sinusoidal peak estimation, it
is by no means optimal in all spectrum analysis and/or signal
processing applications involving spectral processing. Windows with a
more gradual transition to zero have lower side-lobe levels, and this
is beneficial for spectral displays and various signal processing
applications based on the FFT. An introduction to various window
types is given in Chapter 3.
Previous:
Two Cosines (``In-Phase'' Case)Next:
Main-Lobe Bandwidth
written by Julius Orion Smith III
Julius Smith's background is in electrical engineering (BS Rice 1975, PhD Stanford 1983). He is presently Professor of Music and Associate Professor (by courtesy) of Electrical Engineering at
Stanford's Center for Computer Research in Music and Acoustics (CCRMA), teaching courses and pursuing research related to signal processing applied to music and audio systems. See
http://ccrma.stanford.edu/~jos/ for details.