Professional Documents
Culture Documents
net/publication/3321510
CITATIONS READS
211 3,282
2 authors:
All content following this page was uploaded by Richard G. Lyons on 05 June 2015.
IQ
B
second or third θ = π/2 −
Q 2 + 0.28125I 2
ecause of our contin-
IQ ued investigation of
fourth or fifth θ = π + 2
I + 0.28125Q 2 the sliding DFT
(SDFT), and the
IQ
sixth or seventh θ = −π/2 − interest the March
Q 2 + 0.28125I 2
2003 article [1] generated among
our DSP brethren, we provide this
update to our readers:
▲ 1) Referring to [1], while the
number residing in any octant. We The fifth octant θ is then estimated typical Goertzel algorithm descrip-
do this by using the rotational sym- using I and Q with tion in the literature specifies the
metry properties of the arctangent frequency resonance variable k in
θ5th oct. = −3π/4
(2) and Figure 1 to be an integer
I Q (making the Goertzel filter’s output
tan−1 (−Q /I ) = −tan−1 (Q /I ) (3) − . equivalent to an N-point DFT bin
Q 2 + 0.28125I 2
tan−1 (Q /I ) = π/2 −tan−1 (Q /I ) output), k can in fact be any value
(5)
(3 ) between 0 and N –1 giving us full
flexibility in specifying a Goertzel
Concluding Remarks filter’s resonance frequency.
Those properties allow us to create This arctangent algorithm may be ▲ 2) Since we wrote the article,
Table 1, listing the appropriate arc- useful in a digital receiver applica- we’ve been made aware of several
tan approximation based on the tion where I 2 and Q 2 have been other versions of the SDFT expres-
octant location of complex x. previously computed in conjunction sion, S k (n) in (4). While (4) in [1]
So we have to check the signs of with an amplitude modulation provides the correct DFT magni-
Q and I, and see if |Q | > |I |, to demodulation process or envelope tude results for real-time spectrum
determine the octant location and detection associated with automatic analysis, its S k (n) phase contains a
then use the appropriate approxima- gain control. fixed offset requiring correction if
tion in Table 1. The maximum DFT phase results are required. A
angle approximation error is 0.26◦ Richard Lyons is a consulting sys- better expression for the SDFT is
for all octants. tems engineer and lecturer with
When θ is in the fifth octant, the Besser Associates in Mt. View,
above algorithm will yield a θ that’s California. He has been the lead S k (n) = e j 2π k/N [S k (n − 1) + x (n)
more positive than +π radians. If hardware engineer for numerous − x (n − N )]. (1 )
we need to keep the θ estimate in multimillion dollar signal processing
the range of −π to +π , we can systems for both the National
rotate any θ residing in the fifth Security Agency and TRW Inc. and Equation (1 ), implemented with a
quadrant +π/4 rad (45◦ ) by multi- has taught at the University of comb filter followed by a complex
plying (I + j Q ) by (1 + j ), placing California Santa Cruz Extension. An resonator, as shown in Figure 1,
it in the sixth octant. That multipli- associate editor for IEEE Signal provides both correct DFT magni-
cation yields new real and imaginary Processing Magazine, he is also the tude and phase results.
parts defined as author of Understanding Digital ▲ 3) We’ve discovered a useful prop-
Signal Processing (Prentice-Hall, erty of the SDFT that’s not widely
1997). He is a member of the IEEE known but is important. If we change
I = (I − Q ) and Q = j (I + Q ). and the Eta Kappa Nu honor society the SDFT’s comb filter feedforward
(4) and rides a 1981 Harley Davidson. coefficient from –1 to +1, the
Imaginary Part
Imaginary Part
Imaginary Part