Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
11/12/06 03:33
Read: times


 
#127796 - Multiple cycles
Responding to: ???'s previous message
The more cycles you sample the better. The peaks of your output will be more resolved (smaller full-width-half-max). As for which peak is fundamental, it should be the largest amplitude and the lowest frequency.

Okay, that's a gross over-simplification. I'm assuming that your signal is essentially a sine wave, and that your algorithm limits the output to positive frequencies. But if your signal is a complex wave, like a note from a musical instrument, or worse yet a whole orchestra, there's no guarantee that any single peak will present as fundamental. What's the fundamental frequency of a chord?

The truth is that there are a number of variant FFT algorithms. Rather than risk giving you bad information I really recommend that you look up the details of how the algorithms work yourself. Try several until you find one you like, or one that gives you output that makes sense for your application.

Joe


List of 32 messages in thread
TopicAuthorDate
Measuring THD [ Total Harmonic distortion ]            01/01/70 00:00      
   ANalogue method.            01/01/70 00:00      
      Re: Analogue method.            01/01/70 00:00      
         fundamental flaw?            01/01/70 00:00      
            Re: Fundamental Flaw.            01/01/70 00:00      
               Digital filter            01/01/70 00:00      
                  Re: Fundamental Frequency.            01/01/70 00:00      
               FFT            01/01/70 00:00      
                  mains frequency            01/01/70 00:00      
                     Why rely on an assumption?            01/01/70 00:00      
                  Re: FFT            01/01/70 00:00      
                     FFT            01/01/70 00:00      
         What use?            01/01/70 00:00      
   Goertzel filters, maybe ?            01/01/70 00:00      
   FFT is the first choice            01/01/70 00:00      
      Is it?            01/01/70 00:00      
         If you know the fundamental.            01/01/70 00:00      
            Re: Fundamental            01/01/70 00:00      
               Multiple cycles            01/01/70 00:00      
                  The 50Hz fundamental must dominate            01/01/70 00:00      
               Fundamental and harmonics!            01/01/70 00:00      
                  Re: Fundamental and harmonics.            01/01/70 00:00      
                     You're getting into theory            01/01/70 00:00      
                     That is very simple!            01/01/70 00:00      
         I think, yes            01/01/70 00:00      
   Alfredos Code Doesnt seem to work properly.            01/01/70 00:00      
      Do you want it to write in "C"?            01/01/70 00:00      
         Yes Kai,            01/01/70 00:00      
      Eh? Endian issue.            01/01/70 00:00      
         Tags            01/01/70 00:00      
   How about this method for THD.            01/01/70 00:00      
      Mix of numerical calculation and FFT            01/01/70 00:00      

Back to Subject List