jyquist
06-15-2009, 12:43 PM
I am confused by the phase behavior of my FFT. I'm trying to get the phas
of the fundamental harmonic with the usual arctan. The Phase alternates 18
degrees on odd/even samples. Am I doing something wrong or is this just a
unadvertised feature of the FFT. Can I fix this?
Background:
FFT: 512 point 16 bit integer, 8051 8 bit cpu, 24mSec time
Windows: Hamming, Blackman-Harris, Flattop
Signal: 20-40Hz rpm dependent
Source: Engine vibration 1000-3000 rpm
Sampling: phase locked with rotation, about 300-700 samples/sec
Oversampling: 256 times and average (lots of time left on 2nd CPU)
Goal: first 6 harmonics log magnitude, fundamental mag & phase.
Thanks JY
of the fundamental harmonic with the usual arctan. The Phase alternates 18
degrees on odd/even samples. Am I doing something wrong or is this just a
unadvertised feature of the FFT. Can I fix this?
Background:
FFT: 512 point 16 bit integer, 8051 8 bit cpu, 24mSec time
Windows: Hamming, Blackman-Harris, Flattop
Signal: 20-40Hz rpm dependent
Source: Engine vibration 1000-3000 rpm
Sampling: phase locked with rotation, about 300-700 samples/sec
Oversampling: 256 times and average (lots of time left on 2nd CPU)
Goal: first 6 harmonics log magnitude, fundamental mag & phase.
Thanks JY