DSPRelated.com
Forums
Online · Live + on demand
February 9-11, 2027
Price goes up Jan 1: register now to lock in today's rate
Register Now →

Complexity of not 2^n FFT

Started by Roman Rumian ●February 3, 2004
On Tue, 03 Feb 2004 14:51:03 -0600, Richard Owlett
<rowlett@atlascomm.net> wrote:

>Ray Andraka wrote: >> >> The full citations >> are on the data sheet for the 16 point fft core found on my website. >> > >His data sheet says in part: > >"The FFT core is used to transform a time domain sequence >to a frequency domain representation of the data. Inverse >Fourier Transforms may be obtained by conjugating the >input and output of the FFT. When combined with >reordering memory and a phase rotator, this 16 point kernel >can be used as a building block for larger transforms." > > AND > >"The FFT core set uses the Winograd 16 point Fast Fourier >Transform algorithm to compute the 16 point discrete Fourier >transform of a complex vector. The core accepts 16 bit data >on the real and imaginary inputs and outputs 16 bit data on >each of the real and imaginary outputs." > > >1. Can someone point me to description of "Winograd" and/or other 16 >point transform? I suspect the smallness will allow me to see what's >going on. I suffer from plaint in another thread of getting lost in >'formal math'.
Hi Richard, Sorry for being silly in my first post. I'm ignorant of the "Winograd" transform. I tried to read a paper describing that transform once but it was so mathematical that I didn't have the time to slowly "plough" through it. Because I don't see much in the literature concerning "Winograd", I haven't made any further effort to learn about it. If I'm the "gentleman" of which you speak, the 2nd edition of my book doesn't cover "Winograd". But the 2nd edition does have a very good decription of the DFT (all of which applies to the FFT) for a beginner in DSP.
>2. Can someone point me to description of how one would combine "small >FFT's" to make a "large FFT"? Here i also suspect the explanation >would be illuminating of how/why FFT/FT works.
Darn, I'm striking out again here, because I don't recall, off the top of my head, any method of computing "small FFT's" to make a "large FFT". Seems to me that would be a useful process, but I'm not sure how you'd implement such a process. If someone's solved that problem, I'd sure like to learn about the process..
>[ Now if a certain gentleman on this forum could speed up publishing >process, I might decrease bandwidth. PS an interlibrary loan system >with acronym "MOIBUS" has first edition listed as available -- but CAN >NOT deliver ;[
In case I'm the "gentleman": Richard, do you mean (I'm unfamiliar with this "MOIBUS", or is it MOBIUS, system) that if you wanted to buy the 1st edition of my book, that it's unavailable for purchase? If so, I certainly want to know about that. Thanks, [-Rick-]
Richard Owlett <rowlett@atlascomm.net> wrote in message news:<102029je006lb5e@corp.supernews.com>...
> 2. Can someone point me to description of how one would combine "small > FFT's" to make a "large FFT"? Here i also suspect the explanation > would be illuminating of how/why FFT/FT works.
I'm not sure I understand what you mean when you say 'large FFT'. If you ask what the relation is between a 2 pt FFT and a 4 pt FFT, check out how the radix-2 FFT is made up of radix-2 'butterflies' that form a 'spider web' to build up the 2^N pt FFT. And you are right, that interaction between butterflies is indeed the key to understanding why the FFT is fast. Rune
On Tue, 03 Feb 2004 14:51:03 -0600, Richard Owlett
<rowlett@atlascomm.net> wrote:

  (snipped)
> >2. Can someone point me to description of how one would combine "small >FFT's" to make a "large FFT"? Here i also suspect the explanation >would be illuminating of how/why FFT/FT works.
Ya know, I'm startin' to think that there may well be a way to do this (if there's no time gap between the time-domain samples used to compute the "small size" FFTs). Humm, I'll have to look into this issue when I get more time. (Of course, there's always a chance that someone already explained how to do this in some past post here.) Assuming the process is possible, another important question is: Which process is more computationally efficient, 1) combining multiple small FFTs, or 2) computing one large FFT? [-Rick-]
Rick,

I'm surprised at you.  It sure is possible, but you need to buffer the
input data before you start because the first layer FFTs take every Nth
input sample at each of the M possible offsets.  A Cooley-Tukey FFT does
this by combining radix 2 FFTs doing phase rotations between each pass.
The more general method is the mixed radix algorithm.  Basically, you
arrange the inputs into an n x m array row by row.  Take the m n point FFTs
down the coumns, returning the results to the same columns.  now phase
rotate (twiddle) each entry by a phase angle proportional to the array
indices, then take the n M point FFTs across the rows.  Read out the
results down the columns.  That gives you an NM point FFT using a N and M
point kernels.  If the FFT sizes are relatively prime, then you can use the
prime factors algorithm which does not require the twiddles between the FFT
kernels.

Rick Lyons wrote:

> On Tue, 03 Feb 2004 14:51:03 -0600, Richard Owlett > <rowlett@atlascomm.net> wrote: > > (snipped) > > > >2. Can someone point me to description of how one would combine "small > >FFT's" to make a "large FFT"? Here i also suspect the explanation > >would be illuminating of how/why FFT/FT works. > > Ya know, I'm startin' to think that there > may well be a way to do this > (if there's no time gap between the time-domain > samples used to compute the "small size" FFTs). > > Humm, I'll have to look into this issue when > I get more time. > (Of course, there's always a chance that > someone already explained how to do this > in some past post here.) > > Assuming the process is possible, another important > question is: Which process is more computationally > efficient, 1) combining multiple small FFTs, or > 2) computing one large FFT? > > [-Rick-]
-- --Ray Andraka, P.E. President, the Andraka Consulting Group, Inc. 401/884-7930 Fax 401/884-7950 email ray@andraka.com http://www.andraka.com "They that give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." -Benjamin Franklin, 1759
Rick Lyons wrote:

>[snip] > >>[ Now if a certain gentleman on this forum could speed up publishing >>process, I might decrease bandwidth. PS an interlibrary loan system >>with acronym "MOIBUS" has first edition listed as available -- but CAN >>NOT deliver ;[ > > > In case I'm the "gentleman":
GUILTY as charged ;]
> Richard, do you mean (I'm unfamiliar with this > "MOIBUS",
You are lucky enough to not live in MO You missed a BAD pun ;) "MOIBUS" is acronym for states interlibrary loan system. Could be worse -- Ie "KLIEN" ;]
> or is it MOBIUS, system) that if you > wanted to buy the 1st edition of my book, that > it's unavailable for purchase? If so, I > certainly want to know about that.
NO! , I only wanted to borrow it. While I'm thinking of it, does the *SECOND* edition have an ISBN assigned yet? Thinking in terms that you and/or publisher might benefit from confirmed pre-publication orders.
Rune Allnor wrote:

> Richard Owlett <rowlett@atlascomm.net> wrote in message news:<102029je006lb5e@corp.supernews.com>... > >>2. Can someone point me to description of how one would combine "small >>FFT's" to make a "large FFT"? Here i also suspect the explanation >>would be illuminating of how/why FFT/FT works. > > > I'm not sure I understand what you mean when you say 'large FFT'. > If you ask what the relation is between a 2 pt FFT and a 4 pt FFT, > check out how the radix-2 FFT is made up of radix-2 'butterflies' > that form a 'spider web' to build up the 2^N pt FFT. And you are > right, that interaction between butterflies is indeed the key to > understanding why the FFT is fast. > > Rune
* YOU GOT IT IN ONE * I hate to say IT, BUT , tell me where to go ;]
Rick Lyons wrote:

>> > Assuming the process is possible, another important > question is: Which process is more computationally > efficient, 1) combining multiple small FFTs, or > 2) computing one large FFT? > >
Gee, might that be why I asked the question ;)
The FFT is an optimization of the DFT that takes advantage
of certain symmetries that exist.  It is easier to arrive at
those optimizations with small sized kernels, which is why
those have been well researched.  Higher order FFTs can
sometimes be more efficient, for example, a 16 point
Winograd has fewer operations than doing an 8 point
Winograd, twiddles and a radix two butterfly to arrive at a
16 point transform.  Efficiency is somewhat in the eye of
the beholder however.  Winograd is optimized to reduce the
number of multiplies.  Cooley Tukey is a method for building
arbitrary sized power of 2 FFTs using radix 2 kernels.
Trouble is, for sizes larger than 16, you'll have a tough
time finding anything that has been optimized.  Most of what
is larger, is made up of smaller FFTs combined using one of
the techniques such as prime factor algorithm or mixed radix
algorithm.  Cooley Tukey is similar to the mixed radix
algorithm.

Regarding the comment earlier, I didn't mean to imply that
the input to mixed radix is consecutive samples, it is not.
The input takes every Nth sample for the first FFT, every
Nth+1 for the next.  Ie  0,16,32,...1,17,33,....2,18,34,....
if the second FFT is a radix 16.

Richard Owlett wrote:

> Rick Lyons wrote: > > >> > > Assuming the process is possible, another important > > question is: Which process is more computationally > > efficient, 1) combining multiple small FFTs, or > > 2) computing one large FFT? > > > > > > Gee, might that be why I asked the question ;)
-- --Ray Andraka, P.E. President, the Andraka Consulting Group, Inc. 401/884-7930 Fax 401/884-7950 email ray@andraka.com http://www.andraka.com "They that give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." -Benjamin Franklin, 1759
Richard Owlett <rowlett@atlascomm.net> wrote in message news:<1022p71fu9mfg61@corp.supernews.com>...
> Rune Allnor wrote: > > > Richard Owlett <rowlett@atlascomm.net> wrote in message news:<102029je006lb5e@corp.supernews.com>... > > > >>2. Can someone point me to description of how one would combine "small > >>FFT's" to make a "large FFT"? Here i also suspect the explanation > >>would be illuminating of how/why FFT/FT works. > > > > > > I'm not sure I understand what you mean when you say 'large FFT'. > > If you ask what the relation is between a 2 pt FFT and a 4 pt FFT, > > check out how the radix-2 FFT is made up of radix-2 'butterflies' > > that form a 'spider web' to build up the 2^N pt FFT. And you are > > right, that interaction between butterflies is indeed the key to > > understanding why the FFT is fast. > > > > Rune > > * YOU GOT IT IN ONE * > > I hate to say IT, BUT , tell me where to go ;]
I must admit that I skip the "The Fast Fourier Transform" chapter when I read DSP books, so I don't want to give any advice on any particular book. That is easily available now. Come back in March/April or thereabouts, and I may give a different answer... ;) Nevertheless, most DSP books I know of on the primer/intro/intermediate levels do include a discussion of these issues. Rune

Rune Allnor wrote:
> > Nevertheless, most DSP books I know of on the primer/intro/intermediate > levels do include a discussion of these issues.
My favorite, "Digital Signal Processing" by Proakis and Manolokis does. I've rarely been let down by it when I want to understand something at a bit deeper level. It's also a text that I think one could start with. It doesn't touch multi-rate, though. For that it's Vadyanathan's "Multirate Systems and Filter Banks." Bob -- "Things should be described as simply as possible, but no simpler." A. Einstein