Previous in Forum: Allowable Simultaneous Loads in NozzlePro   Next in Forum: How to install INPOUT32.DLL
Close
Close
Close
6 comments
Rate Comments: Nested
Associate
France - Member - New Member

Join Date: May 2007
Location: nargis (Loiret, France)
Posts: 42

Compact FFT Codes for Microcontrollers

06/04/2009 8:22 AM

I would like to read about compact FFT codes for common microcontrollers, such as ATMEL, and wether there is some recent implementation of logarithmic step FFT.
Such processing has been used in an old publication (ca 1970) of Hyde from Imperial Chemical Industries for low frequency analysis of dielectrics.
The FFT processor was hard wired at that time.T.Y.

__________________
nitrosamine
Register to Reply
Interested in this topic? By joining CR4 you can "subscribe" to
this discussion and receive notification when new comments are added.
Guru

Join Date: Dec 2005
Location: Etats Unis
Posts: 1871
Good Answers: 45
#1

Re: Compact FFT Codes for Microcontrollers

06/04/2009 11:04 PM

Look at Microchip DSPic series. The have application notes for FFTs.

__________________
The hardest thing to overcome, is not knowing that you don't know.
Register to Reply
Guru

Join Date: Aug 2005
Location: Hemel Hempstead, UK
Posts: 5826
Good Answers: 322
#2

Re: Compact FFT Codes for Microcontrollers

06/05/2009 3:43 AM

Disclaimer: I know nothing about this sort of thing, so, just ignore if rubbish- but:-

There was an article this morning from DSPdesignline on DSP on Intel Architecture. I see that the folder structure includes the term processors_fpga . Might be worth following up.

http://www.dspdesignline.com/howto/processors_fpga/217701677

__________________
If you spend all your time looking for people and things to complain about: trust me, you will find plenty to complain about.
Register to Reply
Power-User

Join Date: Dec 2008
Location: Anthem, AZ
Posts: 392
Good Answers: 8
#3

Re: Compact FFT Codes for Microcontrollers

06/05/2009 10:34 AM

The FFT has been used as a pre-processor to obtain 1/3 octave spectra for over 40 years. It is a non-real time solution, as the FFT must be done in multiple sample rates to achieve ANSI class 1/3 octave filter shapes. This also implies that you need programmable anti-aliasing filters to block out the higher frequencies when using the lower sampling rates.

Here is a URL for a free PC-based program that will do 1/3 octave:

Visual Sound Instrument 3.20C

Register to Reply
Associate
France - Member - New Member

Join Date: May 2007
Location: nargis (Loiret, France)
Posts: 42
#4
In reply to #3

Re: Compact FFT Codes for Microcontrollers

06/08/2009 1:34 AM

I thank you for your replies.

Indeed; the chinese program for 1/3 octave compression & FFT display looks usefull.
I just have to charge the battery of my function generator to test it.
Also, MICROCHIP DSPic is a good advice: there is the code of compact FFT for the PIC 17C42.

However, I have a further question:

The 17C42 microcontroller is already obsolescent. I shall buy 3 of these to test the FFT, indeed I just want to build one or two setups, so there is no need for the supply of, says, 1000 devices for commercial purpose.
However, to you believe that it would be not too much difficult:

1)to convert from a linear frequency to a logarithmic frequency( I want to display from 1 millihertz to 10 megahertz,on powers of 2)

2)to adapt for less expensive EEROM Flash devices instead of windowed EPROMs, which are far more expensive.
Thank you.

__________________
nitrosamine
Register to Reply
Guru

Join Date: Dec 2005
Location: Etats Unis
Posts: 1871
Good Answers: 45
#5
In reply to #4

Re: Compact FFT Codes for Microcontrollers

06/08/2009 1:45 AM

You stopped too soon, keep looking on the Microchip website. There is application code for the DSPic30 and 33 series which is modern and uses flash program memory so there is no need to mess with windowed parts.

Can't really help you with the log issue but I believe it would require generating a non-linear array of constants that are used in the MAC calculations of the FFT.

__________________
The hardest thing to overcome, is not knowing that you don't know.
Register to Reply
Power-User

Join Date: Dec 2008
Location: Anthem, AZ
Posts: 392
Good Answers: 8
#6
In reply to #4

Re: Compact FFT Codes for Microcontrollers

06/08/2009 11:46 AM

This URL has a PDF that discusses in detail one way to get a log "FFT" :

http://www.acoustics.hut.fi/~aqi/papers/waspaa01.pdf

Your desire to go from 1 mHz up implies you are willing to sample for 1000 seconds ! I hope you don't need any averaging !

Register to Reply Off Topic (Score 5)
Register to Reply 6 comments
Copy to Clipboard

Users who posted comments:

anitoff (1); Randall (1); rcapper (2); WoodwardDL (2)

Previous in Forum: Allowable Simultaneous Loads in NozzlePro   Next in Forum: How to install INPOUT32.DLL

Advertisement