Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Electronic Equipment > Digital Signal Processing (DSP) > Re: Implementin...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 4 Topic 13256 of 14333
Post > Topic >>

Re: Implementing FFT on Microchip DSPIC

by "SteveSmith" <Steve.Smith1@[EMAIL PROTECTED] > Jun 29, 2008 at 02:10 PM

Hi Filippo,
It’s clear that you need to understand the DFT/FFT better, and I have
provided some links below. Here are some ideas that might get you started
in the right direction.  

If you want to look at the harmonics of 50 Hz, up to the 50th harmonic,
you should probably sample at 50 Hz x 128 = 6,400 samples per second. 
This
would require you to provide an anti-alias filter that p***** frequencies
up to 2,500 Hz (i.e., 50 Hz x 50), and blocks all frequencies above 3,200
Hz (i.e., one-half the sampling rate).    

Then, take the FFT with N=128, convert the output from rectangular to
polar form, and discard the phase.  This will give you 65 data points,
providing the amplitudes of the sinusoids: DC, 50Hz, 100 Hz, 150Hz, 200
Hz,
... 3,200 Hz. 

Good luck!
Steve

http://www.dspguide.com/ch3/2.htm
  
http://www.dspguide.com/ch3/4.htm
http://www.dspguide.com/ch8/2.htm
  and forward
http://www.dspguide.com/ch12.htm
   and forward
 




 4 Posts in Topic:
Implementing FFT on Microchip DSPIC
"bwake" <pie  2008-06-29 08:35:43 
Re: Implementing FFT on Microchip DSPIC
"SteveSmith" &l  2008-06-29 14:10:51 
Re: Implementing FFT on Microchip DSPIC
"bwake" <pie  2008-07-30 04:18:56 
Re: Implementing FFT on Microchip DSPIC
stevepierson <gkicompu  2008-06-29 15:54:10 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Tue Dec 2 6:24:38 CST 2008.