#65: Basics of using FFT on an oscilloscope

Поділитися
Вставка
  • Опубліковано 27 лис 2024

КОМЕНТАРІ • 190

  • @camiemengineer
    @camiemengineer 5 місяців тому +2

    11 years on and you're still the best and electronic master. Just to let you know:- One of the finest videos you made was on the CMOS Phase Locked Loop, (CD 4046). That was truly a master class! Thank you Mr. Wolfe!

  • @jacobfaseler5311
    @jacobfaseler5311 4 роки тому +13

    That explanation of a window function is golden. I came thinking “I know how to use the FFT - I’ve done it before, but this is good television”, but even in that regard I learned oodles about the parameters.
    I’d pay out of pocket for another degree if you were on teaching staff.

  • @1959Berre
    @1959Berre 7 років тому +6

    You really explain things the best way. Anyone who takes the time to actually draw on paper with a pencil deserves a big thumbs up. Those 4 morons who did not like this video should be ashamed!

  • @garywinders3707
    @garywinders3707 6 років тому +8

    Thanks for a superb demonstration of FFT for audio frequencies. I've only recently upgraded from an old analog CRO to a DSO. I design, build & repair valve (tube) guitar amplifiers and was particularly interested in FFT for audio and your excellent, detailed demonstration has nailed it for me. Thanks again.

  • @ykalidas
    @ykalidas 8 років тому +2

    Thank you for putting out this very helpful tutorial. The basic idea of how FFT would have been contemplated by early thinkers is clear now.

  • @williamogilvie6909
    @williamogilvie6909 6 місяців тому +1

    Your videos are all top quality. There are so many utubers who just do so much hand waving and yabba-dabba, on EE subjects. I produced an FFT programs a few years back. I took the code from Frank Press's book "Mathematical Algorithms" and got it working on a PC-104 486 board connected to a quarter res LCD. I used a DOS graphics library I had developed earlier.
    I really like the MDS4000 scopes. One company I worked for put one on my desk. I used it a lot and left a write-up on one of their products, complete with signal graphs. I wish I could afford one.

  • @TonyG8WBI
    @TonyG8WBI 10 років тому +1

    Well I never really understood what FFT was, so thank you very much for that. A picture paints a thousand words.

  • @sebrura
    @sebrura Рік тому +2

    Thank you! Just got a second hand R&S scope for the sole purpose of having frequency distribution from DC to 9 kHz, and couldn’t get the span narrower than 10 MHz. Though I had made a mistake. Seeing your vid made it all work out as expected. TY!

  • @TheHarmonicOscillator
    @TheHarmonicOscillator 4 роки тому +1

    Excellent video as usual! Thanks! I can see using FFT on a digital scope to sound proof a room or reduce sound as well as wear and tear in a machine.

  • @gregjohnson5194
    @gregjohnson5194 Рік тому +1

    That was very helpful, thank you for you time on this topic.

  • @asifsurti9154
    @asifsurti9154 3 роки тому +1

    Thanks a lot sir. Your videos are really easy to understand and helps me get the concept really fast. Really appreciate the practical nature of the demo. Thanks again!

  • @tonysfun
    @tonysfun 4 роки тому

    Love your demos/videos very much! Whatever I didn't completely understood I now understand. Thank you again!

  • @whiskyguzzler982
    @whiskyguzzler982 2 місяці тому +1

    Wonderful presentation. Thanks for making this understandable!

  • @muppetpaster
    @muppetpaster 5 років тому +4

    Great idea!!!! Let's take your scope to a hardwarestore to examine the "noise"of your soon to be new drill

  • @mikefinn2101
    @mikefinn2101 2 роки тому +1

    Very Excellent explanation well done and well presented. Learned something new Great Job

  • @spankymitch
    @spankymitch 8 років тому +6

    As a recent EE grad, I could only wish my instructors taught as well as you. Thanks for taking time to explain these fundamentals.

  • @thewii552
    @thewii552 12 років тому +2

    Great job, and very interesting as always. It's always a nice day to see that you've posted a video, even if it doesn't even remotely apply to me.

  • @HiFiWright
    @HiFiWright Рік тому +1

    Awesome video. Video instructors like yourself are a godsend & especially to people like me who are trying to modify and build amplifiers with no electrical engineering background or former electronics education other than what we have been able weave through on the internet. Thank you very much! Still trying to decide whether to purchase a used but working/calibrated analog scope (I lost a bid the other day on a GW 20mhz semi-modern analog scope w/digital buttons for $42 lightly used *sigh*😣) or one of the modern cheap digital units that does a simple 100khz or similar simply for the math and fft functions like in the video. Im torn lol i like the simplicity and real time accuracy of the analogs ive seen...but i also really want to be able to have fft capability as well as the simplified time saving math functionality. Oh, plus at this very minute my budget is limited to maybe slightly over $100 (the biggest handicap of the matter 😅) to spend on such - so used is thr only real option 😬

  • @AshokRajpilli
    @AshokRajpilli 6 років тому

    Thanks I have struggled in this fft, but after seeing your video I understand how it works

  • @marcdraco2189
    @marcdraco2189 4 роки тому

    Now that is how to teach! I wish this guy had been one of my tutors.

  • @kkingkrylon
    @kkingkrylon 6 років тому

    I don't know how to thank you for all the good videos!! Thanks you so much!!!

  • @mjlorton
    @mjlorton 10 років тому +11

    Thanks good man. Great tutorial as always.

  • @DrCassette
    @DrCassette 8 років тому +3

    This video was indeed very helpful. Thanks!

  • @krish2nasa
    @krish2nasa 8 років тому

    Hey Alan, Excellent Explanation. Thank you very much for your time and efforts.

  • @CorbbinGoldsmith
    @CorbbinGoldsmith 12 років тому +1

    That makes so much sense!!! And, THANK YOU SO MUCH!!! You've just been put on my "best friends forever" list! Lemme go try this! thanks again! I have Native Instruments Reaktor to check this on, so it's pretty much like programming, but with modules and in real time.

  • @BM-jy6cb
    @BM-jy6cb 2 роки тому

    I can't be the only one who winced at the thought of a drill so close to that scope!

  • @richpaul8132
    @richpaul8132 2 роки тому +1

    Very Good! Even an entry-level hobbyist like myself understood that entire video! I wish I knew why I understood it now, but when I read about the FFT function, I thought to myself "...I must be dumber than a box of hammers because I have no idea what I just read..."
    Thanks for the video and the reaffirmation in my own mind that I may not be as stupid as my dad (rest his soul), said I was, lol.
    Rich

  • @dbeierl
    @dbeierl 5 років тому +1

    Nyquist limit applies to every frequency in the signal you're examining, not just the ones you're interested in. Those high-frequency components you don't care about will still give you aliases. In this case though I imagine the speaker is rolling off the higher frequencies pretty well.

  • @kv3x
    @kv3x 11 років тому +3

    Excellent introduction, thanks!

  • @mandomonica
    @mandomonica 9 років тому

    Thanks for posting. You have done a great job explaining things.

  • @HansVanIngelgom
    @HansVanIngelgom 12 років тому +1

    I still vividly remember how I struggled to understand all that. I hope I have given you some clues that point you in the right direction.

  • @JAKOB1977
    @JAKOB1977 Рік тому

    That was solid and comprehendible.

  • @saurabh8998
    @saurabh8998 12 років тому +6

    First of all let me take a pleasure to appreciate this video. I am neither designer or musician, I am engineering student struggling with my Digital signal processing(DSP) course. Everything seems perfect in theory class but I am still doubtful as to how I am gonna use this in my project that aims at building voice controlled security system, recording particular voice in say more noisy region. (thinking of this for my final year project). I need some help in visualizing all these DSP tools...

  • @nnamrehck
    @nnamrehck 7 місяців тому +1

    Excellent video!

  • @sdmoonlitsea12
    @sdmoonlitsea12 7 років тому +1

    Thanks for this great tutorial on fft. I am taking a receivers class this semester and I need to know how all this works.

  • @nathanhaltman7235
    @nathanhaltman7235 7 років тому

    It is worth to note the dynamic range of the measurement. Pending on scope settings, the spurious dynamic range is only about 40 to 50 dB. Most oscilloscopes are limited by a 8 bit analog-to-digital converter. However, the scope may show a noise floor well under 50 dB with erroneous harmonics.

  • @hyedenny
    @hyedenny 4 роки тому

    Very nicely presented!! Thank you!

  • @xlimage1
    @xlimage1 2 роки тому +1

    why were my tutors so bad? Wish they had been as good as you!

  • @HansVanIngelgom
    @HansVanIngelgom 12 років тому +1

    Concerning the negative value: the phase could be 180 degrees off. In fact to correctly do an FFT you not only need to multiply it with a sine, but have to do the same again with a cosine (something I had omitted because explaining an TTF in 500 chars is a bit challenging :)).
    These two values then make x and y values of a vector where the the angle is the phase, and the magnitude is the signal strength of that frequency.

  • @bigcx21
    @bigcx21 8 років тому

    awesome video and explanation as always, thanks.

  • @yizhang2646
    @yizhang2646 3 роки тому +1

    Very nice explanation

  • @CorbbinGoldsmith
    @CorbbinGoldsmith 12 років тому

    Oh! I looked at that video a while back, now it makes more sense. Thank you so much. I was sweeping the frequency of a bandpass filter instead of a the frequency of a sinewave. *facepalm*

  • @harrisaastamoinen
    @harrisaastamoinen 3 роки тому

    You are also getting the magnetic field inductively, mixing into the signal. The effect of that may (or may not) be quite significant.

  • @ruhnet
    @ruhnet 3 роки тому

    Never thought about the "audio quality" of my drills before. 🤯🤣

  • @mamaurax25
    @mamaurax25 11 років тому +1

    Thanks man. If it was not you. I would no longer high marks on this

  • @TonyButchT
    @TonyButchT 12 років тому

    Thank you for your effort and sharing this interesting information!

  • @HansVanIngelgom
    @HansVanIngelgom 12 років тому

    PS: That's one reason why complex numbers are often used in DSP: one complex number can hold both the phase and the amplitude. You have to envision a complex sine wave as a spiral going along the time axis. Another advantage is that you can define both positive and negative frequencies (going clockwise or counterclockwise).
    E.g. doing AM demodulation of a signal using complex numbers is trivial: you just take the amplitude of each complex sample and you're done! Try that using just real numbers.

  • @jagardina
    @jagardina 7 років тому

    Thanks, this was a very good refresher. Very clear and concise.
    Of course you would use a better microphone with a known frequency response if you really wanted to measure accurately.

  • @californiakayaker
    @californiakayaker 10 місяців тому

    I'm also thinking of incorporating a audio sweep generator into along with fft from my scope. What sort of things would you see ? What would you need to consider ? What if you were to use a noise generator ? N6GRG

  • @mlynch001
    @mlynch001 6 років тому

    I have 3 scopes with this feature and now I know how to use them.

  • @montegary19
    @montegary19 11 років тому +1

    hey, guess its kindda ages after you have posted this video... but a really good job giving the bacics of FFT..i really wud love to find some more stuff on FFT can you refer me to some of that? Thanks

  • @pollada1
    @pollada1 3 роки тому +1

    Thank you sir!

  • @SIXSTRING63
    @SIXSTRING63 4 роки тому +1

    I’ve said it before, Alan, Paul Carlson (Mr. Carlson’s Lab), TRX Bench, The Signal Path, The Post Apocalyptic Inventor and Joe Smith are the smartest electrical engineers on UA-cam. I know I have missed a few guys, sorry Dave Jones fanboys, not a fan. Way smarter than me but a bit too cocky to watch most of his videos. He didn’t take criticism very well on his problem plagued 121 GW meter. Not his fault I’m sure but you better be sure of what you stake your name and reputation on.

  • @AboubakrA
    @AboubakrA 6 років тому

    Sorry for popping up randomly in the comments of your old videos, but I recently discovered your channel and I wish I had discovered it earlier, it's awesome, thank you.
    One question on the video: can you actually determine the rpm of the drill, maybe form the lowest frequency peak ?

  • @BruceNitroxpro
    @BruceNitroxpro 4 роки тому

    It's almost as though you knew what you were talking about! LOL Good show!

    • @w2aew
      @w2aew  4 роки тому +1

      ...almost! ;-)

    • @BruceNitroxpro
      @BruceNitroxpro 4 роки тому

      @@w2aew , So cool. So calm and reassuring compared with the mixed messages from the EEBlog... LOL

  • @AnandMMisra
    @AnandMMisra 3 роки тому

    can you please recommend a book on exploiting an oscilloscope for its functions including that of a FFT

  • @Boretoto
    @Boretoto 4 роки тому

    Excellent, does is need a 1k Ohm resistance on the cables between the sound card and the computer or oscilloscope with FFT function?
    Thank s

  • @HansVanIngelgom
    @HansVanIngelgom 12 років тому

    The windowing is not essential to the FFT, it is the method for 'cutting' a piece of signal out of a continuous stream. See it like a fade in/fade out.
    One important property that enables Fourier analysis is that if you take two sine waves, multiply them, and then integrate the resulting signal, you get 0 if the two frequencies are different. This is easy to check e.g. with a spreadsheat (make two columns with sine wave values, multiply the columns and sum the results).

  • @jadonbull1601
    @jadonbull1601 3 роки тому

    Hi Alan,
    Thanks for the video, I am using a similar oscilloscope to the one in the video (Tektronix DPO400 series) and trying to measure values between 30Hz-150kHz using the FFT mode. When comparing the results of the measurements at two test frequencies (120Hz and 125Hz), I noticed significant difference in FFT max value vs. the Vrms value of the time domain signal at the same input value.. At 120Hz, I'd see 6.35Vrms for both FFT and time domain Vrms. At 125Hz, I'd see 5.39Vrms for FFT and 6.35Vrms for time domain.
    I'm assuming this has to do with what you were describing when talking about windowing and the signal beginning and ending at the same value. How would I go about solving this issue in this case?
    Thanks,
    Jadon

  • @CorbbinGoldsmith
    @CorbbinGoldsmith 12 років тому

    If you can, could you explain how FFT works? I've been trying to wrap my head around the windowing methods. like, how it figures out each of the frequencies. If you could, that'd be great! Thanks again!

  • @funkyironman69
    @funkyironman69 5 років тому

    Great video, thanks.

  • @jaguar65100
    @jaguar65100 10 років тому

    Nice explanation of using FFT on a scope. Just a couple of questions, Is the window effectively a built in apodization function? I always looked at the FFT as capturing the frequency content of a time domain signal at a specific instant in time.
    I am curious when we look at the audio spectrum as typically 20 Hz - 20 kHz, if we take a sample longer than 50 microseconds don't we begin losing resolution of the signal at high frequency since the signal is possibly changing this quickly?
    What I guess I am getting at is that if we sample at more than double the Nyquist frequency for the frequency band in question, and we capture 400 ms of samples the FFT could change dramatically over that time with a complex audio (music) signal, so is the oscilloscope just averaging all of these samples?
    Thanks for your instructive demo!

    • @w2aew
      @w2aew  10 років тому +1

      The window function is a selection available as part of the FFT math function. The FFT cant measure frequency content at a specific instant, for the same reason that you can't tell how fast something is moving from just a snapshot. There has to be an observation time to see the variations over time.
      Longer acquisitions give you better frequency resolution in the FFT. the sample rate determines the frequency range given by the FFT. In order to see 20kHz in an FFT, the sample rate has to be greater that 40kHz. If the signal is changing during the acquisition used for the FFT, then the FFT will show basically all of the frequency components that appear in the acquisition. The amplitude of each frequency component will be proportional to how long that component lasted with respect to the acquisition length used for the FFT.

    • @arlindoqueiroz2723
      @arlindoqueiroz2723 7 років тому

      jaguart65100

  • @KX36
    @KX36 6 років тому +1

    I can't find much by googling about the window factors involved in frequency resolution mentioned in this video (freq res = w.f. / t_duration), only about window correction factors to correct amplitude or power of peaks for different window functions. e.g. for Hamming 1.85 for amplitude and 1.59 for power. Are they the same thing?

    • @w2aew
      @w2aew  6 років тому +1

      Here are a few blog posts that discuss the function and purpose of the window functions:
      www.tek.com/blog/spectrum-trace-processing-rsa
      www.tek.com/blog/window-functions-spectrum-analyzers

  • @byronwatkins2565
    @byronwatkins2565 3 роки тому

    A speaker works as a microphone but not "just as well." The inertia and spacial extent of the cone attenuates high frequencies and the coil couples directly to the motors' changing magnetic fields.

  • @CorbbinGoldsmith
    @CorbbinGoldsmith 12 років тому

    Cool, I'll check them out as well!

  • @David_94
    @David_94 4 роки тому

    Thanks for the video Alan, I have a question, how do I measure the dynamic range of a signal with the FFT function in the scope? How do I know where is my noice floor and how to improve it?

    • @w2aew
      @w2aew  4 роки тому

      The noise floor is affected by two things - sample rate and record length. A higher sample rate results in an FFT that covers a wider frequency range - thus the scope's noise floor is spread out over a wider range, which make it lower at any given point in the FFT result. A longer record length improves the frequency resolution, essentially a narrower resolution BW, thus the power in each of the resulting trace points (FFT bins) is lower.

  • @rajeevmech9
    @rajeevmech9 Рік тому

    Very good video

  • @MikeOBrien0
    @MikeOBrien0 8 років тому +1

    Love your vids! Thx!

  • @nelsongracia
    @nelsongracia 6 років тому

    Hi , I would like to know if it is possible to measure in a specifit frecuency the exact value of the ohms in a crossover 2nd order ? thank You

  • @leonverycool
    @leonverycool 11 років тому +1

    thanks you that's a good video you made

  • @AnandMMisra
    @AnandMMisra 4 роки тому

    Can an oscilloscope with FFT do a spectrum analysis for power frequency voltage and currents? I am typically interested in analyzing motor currents(50Hz) to look at components of 2x, 3x, 4x and other higher-order harmonics.

    • @w2aew
      @w2aew  4 роки тому +1

      Yes, but you will need to adjust the scope horizontal scale to give you a few hundred milliseconds of capture (at least) in order to get sufficient frequency resolution in the FFT result.

    • @AnandMMisra
      @AnandMMisra 3 роки тому

      thanks for your reply. I had forgotten that I had asked you this question and I was struggling with the poor frequency resolution of the FFT waveform. on increasing the record length to 250ms, the resolution improved, as you have rightly pointed out in your reply. thanks very much.

  • @quantomic1106
    @quantomic1106 10 років тому +1

    Hey Alan!
    This might be a dumb question; but can you do a bode plot using FFT? If so, can you show us how.
    Thanks!

    • @w2aew
      @w2aew  10 років тому +5

      You can, but only if you apply a noise source to the device under test, or apply a sweep. If you apply a sweep, you could just show the device response vs. the sweep time, which will basically be the frequency response.

    • @quantomic1106
      @quantomic1106 10 років тому +3

      ***** Great! Thanks! Maybe you should do a small video about it. I think it will make a good topic.
      Thanks again and please keep us educated : )

  • @kevinvanlandingham8938
    @kevinvanlandingham8938 4 роки тому

    Would you be able to upload your Notes to this video? Thank you so much for your Videos!

    • @w2aew
      @w2aew  4 роки тому

      Unfortunately this video is 8 years old and my paper copy of the notes are long lost/gone. However, the notes from another video on FFTs might help you out: www.qsl.net/w/w2aew//youtube/FFTonTDS2000.pdf

  • @qwaqwa1960
    @qwaqwa1960 12 років тому

    I've written a couple of introductory FFT blogs at Scope Junction...may be of use.

  • @GOWTHAMKRISHGowthamShanmugaraj
    @GOWTHAMKRISHGowthamShanmugaraj 8 років тому

    can u make a video on how a to d and d to a "audio" converters work???

  • @DavePKW
    @DavePKW 6 років тому

    Good stuff. Thanks.

  • @alexmessina7652
    @alexmessina7652 5 років тому

    HI there, this was very interesting for a novice. I use a scope in automotive applications but I'm not expert. I am however trying to work out if I can use the FFT function to detect a momentary frequency drop out in a constant frequency signal. My expectation is that I would see a spike at the low end of the spectrum? Appreciate your thoughts.
    Alex

    • @w2aew
      @w2aew  5 років тому

      Probably not because good resolution requires long record lengths which would mask any short dropouts.

    • @alexmessina7652
      @alexmessina7652 5 років тому

      w2aew damn! Thanks for that ... didn’t realise the long record time was required

  • @bulghurbulghur3698
    @bulghurbulghur3698 10 років тому +4

    I definitely find that the Dewalt has a smoother top end and more pronounced mids than the Sears. Just kidding, GREAT video. Very useful...

    • @jasoneyes01
      @jasoneyes01 7 років тому

      Sears sounds better on everyday incuding Sunday. The Dewalt has a slight ringing overshoot.

    • @friedmule5403
      @friedmule5403 6 років тому

      Bulghur Bulghur What if you change to silver cable or get rubber boots to minimize the vibrations? :-)

  • @streamnoremorse
    @streamnoremorse 4 роки тому

    Great video but I can not see difference in spectrum of drills.

  • @ornithopterindia
    @ornithopterindia 6 місяців тому

    👍Thank you sir.

  • @Popart-xh2fd
    @Popart-xh2fd 8 років тому

    Nice video. In Acquisition Mode 9:19 what is the difference between Hi Res and Average?

    • @w2aew
      @w2aew  8 років тому +1

      Average mode will average the waveform samples on successive acquisitions - so it requires several triggered acquisitions in order to work. Hi-Res mode is used when the scope's sample rate is faster than what is needed to produce the waveform record requested - it averages a group of successive sample points into the waveform points - thus it works even on a single acquisition. These modes are more fully explained in this video:
      ua-cam.com/video/E09IjTzslA0/v-deo.html

  • @fredriko.zachrisson9711
    @fredriko.zachrisson9711 7 років тому

    I would like to see how you find the spatial resonant frequency of a inductor using the fft function of the oscilloscope.

    • @w2aew
      @w2aew  7 років тому +1

      I'm not familiar with the term "spatial" resonant frequency. Are you referring to the self-resonant frequency?

    • @fredriko.zachrisson9711
      @fredriko.zachrisson9711 7 років тому

      w2aew i actually mean spatial resonant frequency.
      There is a guy called Dr Ronald Stiffler that has been developing technology called SEC Exciter.
      Are you firmilar with it? Like the Slayer Exciter, but the original tech if you will.
      Finding the self resonant frequency with the FFT function would be very interesting too ofcourse. :)

  • @jj-js5sx
    @jj-js5sx 4 роки тому

    Thanks for your great video.
    Question: Why is it so difficult to find a "swept-tuned" frequency analyzer for audio? My scope does FFT, but I would like to use swept-tuned. It seems they all want to start at 9KHz and go up, not down. (I'm guessing cost is a factor, but why?)

    • @w2aew
      @w2aew  4 роки тому +1

      Not enough of a market demand. Can easily be done with s/w and a soundcard, in realtime.

    • @jj-js5sx
      @jj-js5sx 4 роки тому

      @@w2aew Thanks for the quick reply. Interesting that higher frequency analyzers don't also use s/w and fft vs hardware swept-tuner. However, your answer still makes sense- there's a preference in the market and soundcards and pc's make it simple for s/w to manage the audio range analysis.
      Your videos are always superb. I've watched many many and learned from all.

    • @w2aew
      @w2aew  4 роки тому

      @@jj-js5sx Actually, many new analyzers DO employ digital IF processing, realtime FFTs, etc.

  • @xiaosun9111
    @xiaosun9111 3 роки тому

    we bought a oros nvgate for vibration and noise measurement, in the manual i saw selections such as rms, max, or min, are these the time domain displayed signal? how can i get these from the original value? and the frequency domain has inst. spectrum and avg. spectrum, are these the same?

    • @w2aew
      @w2aew  3 роки тому

      I am not familiar with the Oros Nvgate product, so I can't comment for sure.

  • @CorbbinGoldsmith
    @CorbbinGoldsmith 12 років тому

    So, it looks like: if waveform = the sinewave frequency, the value < 0. I'll study this thoroughly tonight until my brain is full, then I'll get brainwashed for a couple of hours and catch up on movies I never got to see. Thanks again!
    So, to make a spectrum analyzer, I'd need to sweep the frequency of the sine wave instead of the filter frequency? then of course, read it in, read it out to a scope, right? I'll give it a shot to see what happens!

  • @yaidontknowwhattoput
    @yaidontknowwhattoput 8 років тому +1

    I cant seem to unify the FFT from the scope with one that I am doing in python. It is off. Like really off. Used hanning, and converted to dBV. In what should I have confidence?

    • @w2aew
      @w2aew  8 років тому

      It's difficult to say. I don't know your scope, or how you implemented your FFT. I would tend to believe the scope since it was designed by a team of engineers. If you want them to match, then you'll have to match the FFT length, including any zero padding, as well as the window applied.

    • @yaidontknowwhattoput
      @yaidontknowwhattoput 8 років тому

      that's what I'm thinking. I'm running noise through the scope and exporting voltage and fft. I have tried to mimic the specs of the scope as best I could. I'm sure most manufacturers use similar algorithms to do the fft. Sample rate, aquire time, reference voltage, windowing are all the same. If the fft is run on the previous window data, I expect to get little/no correlation (meaning cross correlation) between the two. you seem to know your stuff and I wouldn't ask if I hadn't tried all the tools in my arsenal. thanks for the quick reply.

    • @w2aew
      @w2aew  8 років тому

      If the scope is truly doing an FFT, then you'll have to determine what the scope does in order to make the record length equal to a power of 2 in length. Is it truncating the waveform, or is it zero padding? Is it applying the window to FFT vector prior to zero padding or after zero padding? Lots of little subtle details that can affect the results.

  • @steelinhank
    @steelinhank 2 роки тому

    Allen, is it possible to use the FFT to measure phase noise in 1 Hz bandwidths of a oscillator or transmitter?

    • @w2aew
      @w2aew  2 роки тому

      In general, no, for a few reasons. In order to get a 1Hz resolution BW, you would need more than 1 second of time capture. If you're looking at an RF signal, then the sampling rate has to be much greater than the RF frequency. This translates to the need for a lot of memory (high sample rate capture for a long time), which most scopes don't have. Second, most scopes are 8-bit samplers, which won't have the dynamic range to see very low phase noise. Third, most scopes will have their own internal phase noise which will be greater than the device you're testing. There are exceptions (expensive exceptions) to this, but most affordable scopes can't meet that requirement.

  • @jamnutter349
    @jamnutter349 2 роки тому

    The guy is Mr. Wizzard!

  • @vishnudas9476
    @vishnudas9476 5 років тому

    Hi allen. Why do you need a spectrum analyzer-If we can get the spectral components through FFT. How is spectrum analyzer better than FFT ?

    • @w2aew
      @w2aew  5 років тому

      There are many ways that a spectrum analyzer is better than an FFT:
      - A spectrum analyzer will almost always have lower distortion, lower spurs, and better SFDR.
      - A spectrum analyzer will have much better selections for RBW, detector types, trace types, etc.
      - A scope FFT is fully dependent upon the acquisition settings on the scope (input BW, sample rate, acquisition depth), all of which affect the type of results you get.
      - Most scope FFT have limits on the FFT vector length which places a lot of restrictions on resolution.
      I could go on, but you get the idea.

    • @vishnudas9476
      @vishnudas9476 5 років тому

      Oh ok.So the scope spectrum is not as accurate.Its only as good as how well you are able to represent the actual signal. Thank you :)

  • @exgenica
    @exgenica 5 років тому

    I didn't see at all that the DeWalt had significantly "more energy" than the Craftsman at the higher frequency. The DeWalt had some isolated higher amplitude spikes on the display, but the energy content within a given frequency range seemed about the same or even lower overall than the Craftsman...unless I didn't understand to what exactly he was referring.
    He did not explain how one defines or determines "energy" content in a signal...He simply declared the DeWalt had "more energy" without showing us what in the waveforms makes that apparent to him. It would have been more helpful if he had gone ahead and saved the waveforms and then provided a direct comparison of the two, showing EXACTLY what he was talking about.
    I think it would have also been helpful to significantly change one of the measurement parameters he talked about (like the number of samples) and demonstrated exactly how it affected the results.
    The math discussion was good, but the presentation would have been much better with specific example follow-ups.
    Thanks for the video. It's a decent start just lacking a bit in the practical elements.

    • @TheBdd4
      @TheBdd4 5 років тому

      I agree with you, I like and appreciate w2aew very much but thought I saw more DeWalt energy at the left of the display (low frequency, higher amplitude zone).

  • @Dr_Xyzt
    @Dr_Xyzt 7 років тому

    Does the FFT speed up if you go to increments of say, 10 hz?

    • @w2aew
      @w2aew  7 років тому

      FFT speed is primarily driven by the size of the vector or array of data being processed - i.e. waveform record length. This is determined by the sample rate and time duration. The waveform sample rate will determine the FFT frequency range, and the waveform time duration will determine the FFT frequency resolution (bin size). Slower sample rate and shorter time duration leads to faster FFT processing.

    • @Dr_Xyzt
      @Dr_Xyzt 7 років тому +1

      I see. Does a, 93ms sample length sampled at about 100khz run fairly fast on a machine like this? I'd like to get a Tektronix 1052B and an inverter so I can check pulse width modulation on cars, and then audio equipment for frequency response/distortion, so I'll need a reasonable FFT. You know the oscilloscope app you can get for your phone? I need that kind of speed, but better resolution. For microcontrollers, a slow FFT is fine.

    • @w2aew
      @w2aew  7 років тому

      93ms sample length sampled at 100kHz results in about a 9300 samples. FFT lengths have to be a power-of-2 long, so this would result in a 16k sample FFT - certainly not the fastest...

    • @Dr_Xyzt
      @Dr_Xyzt 7 років тому

      I see what you mean. Search in bands. I can live with that. 0.1ms sample at 100Khz.

  • @Arijit_VU3ICT
    @Arijit_VU3ICT 3 роки тому

    Thank you sir..

  • @dierenfilmpjes5136
    @dierenfilmpjes5136 2 роки тому

    Fantastic

  • @nopenadanowaynohow
    @nopenadanowaynohow 6 років тому

    Thank You !!

  • @divyanshmittal772
    @divyanshmittal772 4 роки тому

    Hi, I have designed my own FFT on Verilog HDL and I want to verify that, how I can do that?

    • @w2aew
      @w2aew  4 роки тому

      Feed it with sampled sinewaves at different frequencies and verify that the result appears in the appropriate FFT bins.

    • @divyanshmittal772
      @divyanshmittal772 4 роки тому

      @@w2aew Thankyou for your reply, Can you tell me about more resource, because I an designing 1536pt fft on Hardware and I want to gain as much as theoretical and a practical knowledge as I can

  • @user-su5sq5ib3i
    @user-su5sq5ib3i 4 роки тому

    Can the fft function be used like a spectrum analyzer? For RF?

    • @w2aew
      @w2aew  4 роки тому +1

      To some extent, yes. The scope bandwidth has to exceed the RF frequency you want to measure. The main problem is that it may be difficult or impossible to get nice low RBW around a specific RF frequency due to sample rate and memory limits.

  • @SurvivalSquirrel
    @SurvivalSquirrel 6 місяців тому

    Where does the scale and reference come from on the FFT?

    • @w2aew
      @w2aew  6 місяців тому

      Frequency scale from an fft is from DC to half the sample rate. Vertical reference level comes from the volts/Div setting on the channel.

  • @gearstil
    @gearstil 4 роки тому

    Why is the frequency span half the sample rate of the scope at that particular measurement?

    • @w2aew
      @w2aew  4 роки тому +1

      A signal must be sampled at least twice per cycle in order to properly determine its frequency. This is called the Nyquist Criteria. In order to have at least two samples per cycle, the sample rate has to be greater than twice the signal frequency. If you don't meet this criteria, the signal will be "aliased". A visual example of this is the old western movies on TV where the wagon wheels appear to be rotating backwards. Since signal frequencies above 1/2 the sample rate won't be displayed properly, they are not displayed at all.

    • @gearstil
      @gearstil 4 роки тому +1

      @@w2aew thanks for the quick and detailed answer!

  • @yoramstein
    @yoramstein 4 роки тому

    Thanks

  • @janwatters635
    @janwatters635 8 років тому

    thanks very helpful