Google

main
dspblog
cyclic_signals
FFT_interpolation
FFT_interpolation_how_does_it_work
FFT_smoothness_cyclic
discrete_time_reconstruction
discrete_time_reconstruction2
Nyquist_on_the_edge
FFT_delay_special_case
Fourier_reconstruction
pulse_and_Nyquist
FFT_complexError
matlabOctave
matlab_upsampling
matlab_downsampling
FFT_delay
FFT_filter_example
FFT_interpolation_example
FFT_bin_frequencies
fit_signal
FFT_peaksearch_audio_example
matlab_binary_readwrite
Octavesvg
C
FFTW_example
looprecord
SNR
SNR3
SNR_example_96kAudio
SNR_FFT_correlation_example
lua
luagpib
luasplit
luadump
mnoofltk
wxLuaDll
wxLua_loadAsDll
wxLua_HelloWorld
wxLua_simpleButton
wxLua_resourceManagement
wxLua_XMLparser
DSP
IQ_LO
IQ_LO_2
optimum_receiver
DSP_basics
sampleRateChange_terms
dirac_pulse
freqresp_s
zfilter_example
freqresp_z
freqresp_z_sign
misc
zero_forcing_equalizer_example
nonminphase_inverse
periodic_spectrum
lagrange_multipliers
Entropy
RC_chopper
TRex450_setup
EP100
EP100SE
EP100Gremlins
essential_spares
tail_rotor
motoradjustment
blade_balancing
blade_repair
GAUI_SAE12A
Walkera43


valid html (click to verify)



prevupnextdisable ads

The cyclic nature of FFT

Summary

FFT is by definition cyclic. The transition from end to start is part of the signal.
The time domain samples may represent samples of a cyclic, continuous-time waveform.
The bandwidth is limited, leading to the “smoothest possible” waveform through the points.
But the “smoothness” is also enforced across the transition over the end of the period!

This can lead to unwanted consequences, when a signal has a sharp discontinuity that isn't actually part of the signal.

Example

Consider the “sawtooth” wave in Figure 1.
The blue line is not the equivalent continous-time signal, but wishful thinking:
Figure 1: Sawtooth generator? Not!

Figure 2 shows the sequence of samples for one single period:
Figure 2: Samples

Now there is a sharp discontinuity at the end, when one period leads into the next.

An ideal lowpass filter (FFT) reconstructs the continuous-time signal, as shown in Figure 3:

Figure 3: Continuous-time signal, reconstructed by ideal LP filter

This result is correct - the waveform passes through all the samples.
And looking at several periods of the cyclic signal confirms that the signal is the “smoothest possible signal” that can follow the transition into the next cycle!

Figure 4

It does not matter, whether the discontinuity occurs between start- and endpoint, or somewhere else:
The first (or last) point have no different role than all other points.
A time-shifted version of the signal shows exactly the same “ringing”:

Figure 5

The blue line sketched out in Figure 1 is simply not possible, and requires change. For example,
  • increase the sample rate
  • use a longer ramp cycle
  • change the waveform to a shape that contains less high-frequency content (triangular)



prevupnextdisable ads

© Markus Nentwig 2007-2008
The content of this page is provided without any warranty and may not be reproduced without permission.

Comments? Questions?

Please send me a mail! mnentwig@elisanet.fi