what is an FFT graph? - diyAudio
 what is an FFT graph?
 User Name Stay logged in? Password
 Home Forums Rules Articles diyAudio Store Blogs Gallery Wiki Register Donations FAQ Calendar Search Today's Posts Mark Forums Read Search

 Everything Else Anything related to audio / video / electronics etc) BUT remember- we have many new forums where your thread may now fit! .... Parts, Equipment & Tools, Construction Tips, Software Tools......

 Please consider donating to help us continue to serve you. Ads on/off / Custom Title / More PMs / More album space / Advanced printing & mass image saving
 8th September 2006, 03:11 AM #1 keantoken   diyAudio Member     Join Date: Aug 2006 Location: Texas what is an FFT graph? I was looking for a way to find distortion with my simulator and found in another thread that someone used an FFT. I use LTSpice/SWCADIII and I have found the FFT option but I don't know what an FFT is or how to use it to calculate distortion (is it specifically for distortion?) . Any replies are appreciated! __________________ The Kmultiplier rail filter! -=- The Simple Kuartlotron Superbuffer! Need something built, repaired or modded? PM me and ask what I can do!
 8th September 2006, 03:26 AM #2 HFGuy   diyAudio Member   Join Date: Sep 2004 Location: Toronto, Ontario Fast Fourior Transform Basically its the approximate spectral energy of your signal. In english that means the frequency content of your signal. A pure sine wave will have one impulse at that frequency. A square wave will have a large peak at its fundamental and then odd harmonics until the system starts to roll off. An FFT is only a approximation because for a wave to be a single frequency it needs to go on infinity, but the FFT samples your signal in finite periods so its just an approximation.
 8th September 2006, 03:30 AM #3 SY   On Hiatus     Join Date: Oct 2002 Location: Chicagoland Basically, an FFT is a computer algorithm to efficiently calculate an approximate Fourier Transform. A Fourier Transform, to anticipate the next question, is a means of converting from the time domain to the frequency domain (and vice versa). For example, consider a 1kHz sine wave. If we graph amplitude versus time, we get the familiar wavy trace. If we graph amplitude versus frequency, it's zero everywhere except for an infinitely narrow spike at 1kHz. That's the Fourier Transform of the sine wave. The sine wave is the inverse FT of the infinitely narrow spike. Every periodic function of time (and under certain formal assumptions every nonperiodic function) has its own frequency spectrum and vice versa. That's the basic thing to understand. The formal mathematical definition can be found in any college-level physics text. If your calculus is still working, it's basically the integral over time of the time domain function times exp(-iwt), where w is two pi times the frequency and i is the square root of -1. __________________ "You tell me whar a man gits his corn pone, en I'll tell you what his 'pinions is."
keantoken
diyAudio Member

Join Date: Aug 2006
Location: Texas
Okay, so an FFT basically plots a curve that shows the volume of the different frequencies at the probe? Just so I understand properly, which I frequently have problems with (maybe because I'm 13), could you analyze the plot of an amp I made? Whether it's the worst amp you have ever seen, or it is impossibly pure, I want your input! here it is:
Attached Images
 compampfft.png (23.7 KB, 224 views)
__________________
The Kmultiplier rail filter! -=- The Simple Kuartlotron Superbuffer!
Need something built, repaired or modded? PM me and ask what I can do!

 8th September 2006, 03:44 AM #5 keantoken   diyAudio Member     Join Date: Aug 2006 Location: Texas The input signal is a 1kHz sine wave at .01V/~1uA. I will only show my design if I am asked to due to the fact that I have sometimes gotten some sarcastic comments. I also have not found a way to properly bias this design so it cannot be official. if you want to see it, ask, and you will be given. __________________ The Kmultiplier rail filter! -=- The Simple Kuartlotron Superbuffer! Need something built, repaired or modded? PM me and ask what I can do!
 8th September 2006, 03:49 AM #6 HFGuy   diyAudio Member   Join Date: Sep 2004 Location: Toronto, Ontario Its easier to get a PASS/FAIL kind of figure from the THD+N. I find the FFT useful for determining the cause of the distortion and not as a figure of merit.
 8th September 2006, 03:55 AM #7 poobah   diyAudio Member     Join Date: Nov 2005 Use your spice and do an FFT of a squarewave. You will see your fundamental frequency as a spike on the left. Let's just say it's at 100 dB (height or magnitude). Then you will see 3 times that frequency at 90.5 dB... then 5 times at 86 dB. Now to see how these harmonics add up... write a program in EXCEL to graph one cycle of a sine wave... like: Y = sin (X) Then do Y = sin (X) + (sin 3*X)/3 Then do: Y = sin (X) + (sin 3*X)/3 + (sin 5*X)/5 You can keep going if you want with more "odd" numbered harmonics. You will see how the harmonics add together to form a squarewave. This should give you an "a-ha" moment.
 8th September 2006, 04:00 AM #8 keantoken   diyAudio Member     Join Date: Aug 2006 Location: Texas hmm... so how can I get a distortion figure? how do I tell if my circuit passes or fails? I am quite a noober at amps and biasing. I know what harmonics are... I am supposing that if the output is a pure sinewave then there won't be many notches and dips... Am I right? Every step is supposedly a victory... I might need to run a marathon! __________________ The Kmultiplier rail filter! -=- The Simple Kuartlotron Superbuffer! Need something built, repaired or modded? PM me and ask what I can do!
 8th September 2006, 04:15 AM #9 poobah   diyAudio Member     Join Date: Nov 2005 Yes... you are right. Not so much notches and dips... but a floor with spikes... Here is good write up on the method for calculating THD.
 8th September 2006, 04:22 AM #10 SY   On Hiatus     Join Date: Oct 2002 Location: Chicagoland Don't worry, at your age I was still doing ham radio. It took a couple more years for me to discover audio. OK, you've filled in context. In your case, you're feeding in a sine wave at a single frequency, and the frequency spectrum would ideally just have a peak at that frequency. Fourier's Theorem says that any periodic function can be broken down into a sum of harmonic frequencies, so distortion will show up as additional spikes at whole-number multiples of the test frequency. In your case, there's something goofy in some setting somewhere in your software- you shouldn't see the baseline tilt, the scale is suspicious, and the noise doesn't look natural. A good spectrum (and I mean good in a measurement sense, not an amplifier sense) should have a flat baseline, maybe some small spikes at line frequency (50 or 60 Hz) and its multiples, a big peak at the test frequency, and smaller peaks at whole-number multiples of the test frequency. __________________ "You tell me whar a man gits his corn pone, en I'll tell you what his 'pinions is."

 Posting Rules You may not post new threads You may not post replies You may not post attachments You may not edit your posts BB code is On Smilies are On [IMG] code is On HTML code is Off Forum Rules
 Forum Jump User Control Panel Private Messages Subscriptions Who's Online Search Forums Forums Home Site     Site Announcements     Forum Problems Amplifiers     Solid State     Pass Labs     Tubes / Valves     Chip Amps     Class D     Power Supplies     Headphone Systems Source & Line     Analogue Source     Analog Line Level     Digital Source     Digital Line Level     PC Based Loudspeakers     Multi-Way     Full Range     Subwoofers     Planars & Exotics Live Sound     PA Systems     Instruments and Amps Design & Build     Parts     Equipment & Tools     Construction Tips     Software Tools General Interest     Car Audio     diyAudio.com Articles     Music     Everything Else Member Areas     Introductions     The Lounge     Clubs & Events     In Memoriam The Moving Image Commercial Sector     Swap Meet     Group Buys     The diyAudio Store     Vendor Forums         Vendor's Bazaar         Sonic Craft         Apex Jr         Audio Sector         Acoustic Fun         Chipamp         DIY HiFi Supply         Elekit         Elektor         Mains Cables R Us         Parts Connexion         Planet 10 hifi         Quanghao Audio Design         Siliconray Online Electronics Store         Tubelab     Manufacturers         AKSA         Audio Poutine         Musicaltech         Aussie Amplifiers         CSS         exaDevices         Feastrex         GedLee         Head 'n' HiFi - Walter         Heatsink USA         miniDSP         SITO Audio         Twin Audio         Twisted Pear         Wild Burro Audio

 Similar Threads Thread Thread Starter Forum Replies Last Post knifeinthesink Multi-Way 6 7th June 2008 07:15 AM JoeBob Parts 4 13th November 2004 04:12 AM Danielb Multi-Way 9 3rd November 2004 12:26 AM pjacobi Solid State 3 18th February 2004 01:56 AM tda Multi-Way 20 15th January 2004 02:19 PM

 New To Site? Need Help?

All times are GMT. The time now is 06:50 AM.