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 4 of 4 Topic 13256 of 14334
Post > Topic >>

Re: Implementing FFT on Microchip DSPIC

by stevepierson <gkicomputers@[EMAIL PROTECTED] > Jun 29, 2008 at 03:54 PM

On Jun 29, 6:35=A0am, "bwake" <pietrof...@[EMAIL PROTECTED]
> wrote:
> Hi all.
> Let me introduce my problem to you, hoping you can give me some useful
> directions to solve it. I'm developing my bachelor thesis on a smart THD
> sensor for a power distribution line but I'm just new to digital signal
> processing and I don't know much about implementing FFTs (or, better,
DFTs=
)
> in c language. I've search extensively through the net but all the
> algorithms I've found failed to compile (using MPLAB C30) because of
error=
s
> I really don't know anything of! This is not the real problem, anyway.
> My main concern is I don't know exactly what to look for... Here in
Europe=

> the power distribution system works at a fixed frequency of 50 Hz and my
> application should be able to detect harmonics of the 50=B0 order,
accordi=
ng
> to the specifications of power quality guidelines.
> According to Microchip's datasheet, using a DSPIC33 clocked at 120 MHz,
> the device is able of 1.1 Msps ADC acquisition, so a 256 points FFT
could
> detect frequencies up to 19 kHZ if applied to this kind of signal and
this=

> is dramatically low for my application!
>
> Hoping this brief explanation is enough for you to understand my needs,
> I'll be looking forward to having directions: articles, books, internet
> resources... Help me, I want to get into programming this sensor and I
nee=
d
> knowledge!
>
> Filippo

the relation****p between sampling rate, bin resolution and FFT size
(N) is

Bin_resoution =3D Sample_Rate/N

So you pick two and get the other, if the sample rate is 10Hz and N is
10, the bin resolution is 1 Hz, ( each bin is seperated by 1 Hz,  so
the bins would center on the following frequecies...0Hz, 1Hz, 2Hz, 3
Hz, 4 Hz, 5 Hz, 6Hz, 7Hz, 8Hz, 9Hz)

in the above case you need to filter out (in hardware) above 4Hz or so
to prevent aliasing (depends on how steep your filter is).
 




 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 7:34:45 CST 2008.