#305

แชร์
ฝัง
  • เผยแพร่เมื่อ 6 มิ.ย. 2024
  • This video shows how to use the FFT function on an oscilloscope to measure the relative amplitude of the harmonic distortion components of a signal, and then take those results and compute the THD, or Total Harmonic Distortion. Actual measurements are shown, and results are validated by a THD calculator in the scope as well as a THD measuring multimeter.
    Videos mentioned in this video are:
    Audio Compressor project: • #157: Circuit fun: Aut...
    Demo of above: • #163: Automatic Volume...
    Basics of using FFT: • #65: Basics of using F...
    Basics of dB: • #136: What is a dB, dB...
    Notes from this video:
    www.qsl.net/w2aew/youtube/THD_...
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 218

  • @polymetric2614
    @polymetric2614 8 หลายเดือนก่อน +5

    This is what the internet was created for. I search "how to measure THD" and the first result is an absolutely excellent explanation without any beating around the bush!

  • @T2D.SteveArcs
    @T2D.SteveArcs 4 ปีที่แล้ว +10

    Fantastic as always I love getting a notification w2aew has uploaded yay time to learn something new Thank you for your time effort and knowledge it really is so valuable to folks who want to learn thanks to people like you we can and all you ask in return is the gratification of knowing your helping others you truly are a top fella Allan thanks again take care Steve

  • @stevenbacon3878
    @stevenbacon3878 4 ปีที่แล้ว +2

    Excellent video as always, you really have a great way of simplifying the more complex subjects! Keep up the good work!

  • @rdavis7729
    @rdavis7729 3 ปีที่แล้ว +7

    Clear, concise, great pace, excellant explanation and graphics. Thank you for not over/underestimating the intelligence and experience of your audience. I subscribed, looking forward to more.
    BTW, LOVED the 'organic' design of your little follower!

  • @_Pearls4Swine
    @_Pearls4Swine ปีที่แล้ว +1

    All your hard work is very appreciated Sir. You make the world a more precise place.

  • @xDR1TeK
    @xDR1TeK 4 ปีที่แล้ว +1

    Alan you are my honorary professor. Wonderful video, thanks.

  • @miguelangelsimonfernandez5498
    @miguelangelsimonfernandez5498 4 ปีที่แล้ว

    As always, a total joy to watch your videos

  • @sasines
    @sasines 4 ปีที่แล้ว +1

    Alan another superb video that explains things clearly and concisely. Thank you.

  • @acestudioscouk-Ace-G0ACE
    @acestudioscouk-Ace-G0ACE ปีที่แล้ว +3

    Thanks for this Alan. I've spent my working life in the visual arts, so maths doesn't come easy to me... but I was able to follow this information quite well, thanks to your delivery style. I'll watch a few times more till it sinks in. I really value the things I have learnt through your channel.

  • @kotaprolucharan4032
    @kotaprolucharan4032 4 ปีที่แล้ว +2

    Your videos have so much knowledge in them. I love your videos

  • @cesarbordallo8997
    @cesarbordallo8997 4 ปีที่แล้ว +1

    Excellent video, as usual! Thanks a lot for sharing your amazing knowledge! Cheers from Brazil!

  • @mosiotv
    @mosiotv 4 ปีที่แล้ว +6

    Another treasure from Alan! Great 👍 tysm!

  • @EngineeringVignettes
    @EngineeringVignettes 4 ปีที่แล้ว +6

    Thanks Alan. I always learn something from these and I have been doing electronics engineering for over 20 years.
    Hands down the best channel for down to earth solid content on RF electronics on TH-cam.
    Cheers,

    • @w2aew
      @w2aew  4 ปีที่แล้ว +2

      Thank you!

  • @josephcorteo
    @josephcorteo 4 ปีที่แล้ว +1

    Hello Alan,
    Thanks once again for an outstanding and concise video! It is so much appreciated! Take care.

  • @SamGallagher
    @SamGallagher 4 ปีที่แล้ว +4

    The distortion you're seeing appears to match a exp(sin(x)) shape, which is really common for linear BJT amplifiers with large signals and no feedback. Really cool video!

  • @NGinuity
    @NGinuity 4 ปีที่แล้ว +3

    I've tested for THD before and knew why it was bad but didn't know the mathematical component of what I was actually observing. This is fantastic....

  • @ahmedalshalchi
    @ahmedalshalchi 4 ปีที่แล้ว +1

    Thank u very much for the course of electronic measurements in deep , I have learnt a lot of THD and its measurement using FFT in DSOs....

  • @valeriavelarde9175
    @valeriavelarde9175 3 ปีที่แล้ว

    THANK YOU SO MUCH!!! I have a presentation in which I'll be defending my research protocol for biomedical engineering and this was a key component to it. THANK YOU

  • @jonmon6691
    @jonmon6691 4 ปีที่แล้ว

    I’m a big fan of these videos! Your word of caution at the end has me hoping you’ll make a video that illustrates the relationship between vertical resolution, dynamic range, and noise floor on digital oscilloscopes and spectrum analyzers!

    • @w2aew
      @w2aew  4 ปีที่แล้ว

      Hmm - I'll have to add that thought to my big list....

  • @JohnAudioTech
    @JohnAudioTech 4 ปีที่แล้ว +38

    For audio frequencies, I use a software called Arta. It will display THD in real time using the line in on the computer's sound port. Most computers audio will be of low distortion .1% or less. Mine goes to around -120dB (except for 1/f noise). Everything works in demo mode except for saving data. I recommend making an input protection circuit for your computer if you use it for this.

    • @Mr.Leeroy
      @Mr.Leeroy 4 ปีที่แล้ว +2

      topic worth a video

    • @hassanalavi180
      @hassanalavi180 4 ปีที่แล้ว

      Which module would you recommend for measuring harmonics in electric current and power?

    • @hellobooom
      @hellobooom 4 ปีที่แล้ว +3

      @Carl Jito you obviously got the wrong file of your computer is shit.

  • @thormusique
    @thormusique 4 ปีที่แล้ว +1

    Fascinating discussion and calculation, thanks!

  • @PapasDino
    @PapasDino 4 ปีที่แล้ว +8

    I recently inherited a HP 334A Distortion Analyzer (couldn't pass it up, it was free!). It does a great job of measuring THD, although a Keithley DMM sure would be a lot smaller! TNX for the lesson Alan! 73 - Dino KL0S

  • @KarlAdamsAudio
    @KarlAdamsAudio 4 ปีที่แล้ว +2

    Nice work. I quite like using the HP 3562A for THD measurement, as it automates the calculation while letting you eyeball the relative levels of the different harmonics, otherwise an analyzer like the ABO AVX-310 does a fine job if you just want a THD+N measurement. I quite like the technique of using the 3562A on the monitor output of an analyzer (such as the Leader LDM-171 or the AVX-310) as by notching out the fundamental you can look quite deeply into the harmonic content without taxing the dynamic range of your FFT instrument - a bit fiddly, but can be effective.

  • @rocklodge1048
    @rocklodge1048 3 ปีที่แล้ว +1

    Excellent practical and concise description on measuring audio THD. Since most hobbyists will have an 8 bit scope instead of a $10K+ 10 or 12 bit A/D scope like the MDO4104C you are using here (Nice!) your point about doing accurate measurements on a low distortion amp is important. It may require using a real spectrum analyzer as described in your video #46 which these days more people are adding to their test bench. The limitation is that the THD can only be done for frequencies above 9kHz, the bottom end of most RF spectrum analyzers. Also need to consider measuring the distortion of the function generator providing the signal input, and subtracting this from the amplified output otherwise its GIGO. Interesting topic for a follow on video if enough audiophiles are still building their own amps especially to consider class D designs which are now popular in consumer gear.

  • @-vermin-
    @-vermin- 4 ปีที่แล้ว +1

    Excellent content very well explained yet again. Thanks!

  • @kungfumaster8171
    @kungfumaster8171 4 ปีที่แล้ว +1

    Always interesting and always useful. Thank you

  • @koffibanan3099
    @koffibanan3099 4 ปีที่แล้ว +1

    Very interesting and educative, much appreciated. Thanks!!

  • @MIsam-fv9kb
    @MIsam-fv9kb 4 ปีที่แล้ว +6

    Great video Thanks for your effort and time

  • @marwanal-yoonus280
    @marwanal-yoonus280 4 ปีที่แล้ว

    Thank you for your good illustration.

  • @dl7majstefan753
    @dl7majstefan753 4 ปีที่แล้ว +1

    Thanks for this video and being so honest to state, that the THD-function in a standard 8bit scope can´t supersede a truly harmonic meter (bridge), which operates down to 0,0...%. That´s why i prefer my HP334A in combination with a HP652 oscillator.

  • @bfx8185
    @bfx8185 4 ปีที่แล้ว +1

    Excellent as always! Thank you so much.

  • @williamlancaster7035
    @williamlancaster7035 4 ปีที่แล้ว

    Excellent video. I used the Tektronix TDS2022C to do the same thing.

  • @paularob123
    @paularob123 2 ปีที่แล้ว

    Excellent explanation.

  • @migsvensurfing6310
    @migsvensurfing6310 4 ปีที่แล้ว

    Quality video as usual. Thanks !

  • @niuthon
    @niuthon 4 ปีที่แล้ว

    I will surely add it to my laboratory excercise on THD. Normally we only use analyser, and these are not common. Nice!

  • @Wheel_Horse
    @Wheel_Horse ปีที่แล้ว +1

    Thank you Alan! I used to know this, but needed a 'refresher' course! I'm measuring the THD of portable generator outputs... See ya on POTA! 73 OM!

    • @Wheel_Horse
      @Wheel_Horse ปีที่แล้ว

      Practicing with a really old General Radio 1330-A sig gen and my TDS 3012B scope, I was really surprised to find less than 1% THD output! Amazing... thanks again Allen! WR2E dit dit

    • @Wheel_Horse
      @Wheel_Horse ปีที่แล้ว

      Allen, would you think it's reasonable that the power company is supplying 3.5% THD AC to my home? This is what I came up with measuring the line coming in. I wanted to get a baseline before I measured the generators output. I presume this would be affected by the power factor of the things running in my home? Or would this be what is actually being supplied? I suppose that other loads on the line from neighbors homes for example, could/would also affect this?

    • @Pootycat8359
      @Pootycat8359 ปีที่แล้ว +1

      @@Wheel_Horse ONLY 3.5% ? Wow, I used to live in a place (S.E. Arizona) where the AC power line signal looked something like a triangular wave, withe a bunch of "squiggles" on it. Here (Central NM), it's a noticeably distorted sine-wave, but still recognizable as sinusoidal. Not only the P.F.s of what's in your home, but EVERY home & business, along with all those arcing insulators, and corona discharges.

  • @fullwaverecked
    @fullwaverecked 4 ปีที่แล้ว +3

    This would be fun to perform on a 5f1 Fender champ, or a Eico 147A Signal Tracer. Thanks for the awesome video!

  • @asaphemagno3044
    @asaphemagno3044 4 ปีที่แล้ว +1

    Thank you very much! Always Helpful.

  • @florentinmenage6230
    @florentinmenage6230 2 ปีที่แล้ว

    This video is really helpful, thank you!

  • @dentakuweb
    @dentakuweb 4 ปีที่แล้ว +2

    I learned something very useful today.

  • @mrjohhhnnnyyy5797
    @mrjohhhnnnyyy5797 4 ปีที่แล้ว +1

    I wanted to do such measurements for a long time now. Alan, thanks again for such educational videos!
    If I can't measure THD of my amp with the scope, I'm just gonna say THD

  • @caleb7799
    @caleb7799 4 ปีที่แล้ว

    Thank you Sir for sharing your knowledge.

  • @smartups1
    @smartups1 4 ปีที่แล้ว

    cool explanation and cool diagrams ....awesome

  • @asifsurti9154
    @asifsurti9154 3 ปีที่แล้ว

    Thank you!!! The video is very informative 👍🏼

  • @tomfy44
    @tomfy44 4 ปีที่แล้ว

    THank you so much. Interesting as all your videos!

  • @coffeecuppepsi
    @coffeecuppepsi 4 ปีที่แล้ว +2

    Awesome!!! I love your vids

  • @RapiBurrito
    @RapiBurrito 4 ปีที่แล้ว +1

    Thank you very much sir, another wisdom dump to add to the pile :D

  • @mrkattm
    @mrkattm 4 ปีที่แล้ว +1

    As always good job.

  • @smoua4588
    @smoua4588 3 ปีที่แล้ว

    Thank you so much for this video. Your the best.

  • @MichaelLloyd
    @MichaelLloyd 4 ปีที่แล้ว +2

    Great video!

  • @douglasposho9299
    @douglasposho9299 3 ปีที่แล้ว

    you are a star.
    I really appreciate.

  • @martinlorenrd4073
    @martinlorenrd4073 4 ปีที่แล้ว

    Thanks, will implement it in HScope!😁

  • @tamaseduard5145
    @tamaseduard5145 4 ปีที่แล้ว +2

    Very good job sir 👍 👌 🙏

  • @berniken6511
    @berniken6511 4 ปีที่แล้ว +2

    Thanks Alan, great video...............................................Berni

  • @SandersAmps
    @SandersAmps 2 ปีที่แล้ว +1

    Fantastic tutorial - thank you! Now, all I need is a decent Oscope.:)

  • @simonyoungglostog
    @simonyoungglostog ปีที่แล้ว

    Excellent.. Thank you.

  • @petersage5157
    @petersage5157 3 ปีที่แล้ว

    It never ceases to amaze me how much math in engineering and science goes back to the Pythagorean Theorem. Compare the math for THD to the formula for a right triangle; now compare that to Einstein's Law of General Relativity. Once you know what you're looking for, you'll see it popping out everywhere.

  • @wolfmonk9d
    @wolfmonk9d 4 ปีที่แล้ว +8

    IMHO, in sound frequency range applications 24 bit sound card and GNU Octave can be used for measuring THD. One can record a sinewave sample, then upload it into Octave and calculate FFT and THD. It's probably tricky and not a very precise way since the sound card is a device with unknown nonlinearity, but I think it should work at least for evaluation.

    • @Abossow77
      @Abossow77 4 ปีที่แล้ว +4

      it might be not very linear, but i think that if you're working relativelly inside the auditory range (20 - 20k Hz) and with voltage levels not too close to the input limits it should work fine enough
      Of course, best case scenario you would have a datasheet available to look for the response curve at the input

    • @PeregrineBF
      @PeregrineBF 4 ปีที่แล้ว

      @@Abossow77 Or a good audio-frequency sweep generator with known output characteristics so you can measure the linearity of the sound card.

  • @jangoofy
    @jangoofy 4 ปีที่แล้ว

    Since the measurements are all relative, one could set the V/DIV including fine adjust to span all +/-4 div. on the screen.
    Using average function to smooth out the FFT also makes for stable values ( but not more accurate, just help the operator to look instead of estimate :) )

  • @alessiocaligiuri
    @alessiocaligiuri 4 ปีที่แล้ว

    Very good video.

  • @robertcalkjr.8325
    @robertcalkjr.8325 4 ปีที่แล้ว +1

    Thanks Alan!

  • @saarike
    @saarike 4 ปีที่แล้ว

    Great info!

  • @AndreAndFriends
    @AndreAndFriends 4 ปีที่แล้ว +1

    Thx great info mate.

  • @David_94
    @David_94 4 ปีที่แล้ว +2

    Thank you Alan :)

  • @shivamprakash3216
    @shivamprakash3216 4 ปีที่แล้ว

    dude you are the best

  • @pasqualeiw0hex95
    @pasqualeiw0hex95 4 ปีที่แล้ว

    Thanks for your video and sharing, regards from Rome. 73s Pasquale IW0HEX

  •  3 ปีที่แล้ว

    Thank you for the video. 4:56

  • @prabhupillai9386
    @prabhupillai9386 4 ปีที่แล้ว +1

    excellent!!

  • @acceler9
    @acceler9 4 ปีที่แล้ว

    Great video, thanks for uploading!!! What type of pas are you using to write on? It looks digital, but also looks really good!

    • @w2aew
      @w2aew  4 ปีที่แล้ว

      it is from www.remarkable.com

  • @peteb2
    @peteb2 4 ปีที่แล้ว +1

    ReMarkable .... (wink). So high on my want list, so tired of bits of paper everywhere at my workbench. Oh & thanks for the refresher.... all to easy to forget the actual 'bones' of a spec when a test unit just gives you the number every time....

  • @sembadawangsa5161
    @sembadawangsa5161 3 ปีที่แล้ว

    thanks bro!

  • @fir3w4lk3r
    @fir3w4lk3r 4 ปีที่แล้ว

    Nice! The instrument you are using has a real spectrum analyzer. Will the FFT math function of a low end scope like DS1054z, do the trick?

    • @w2aew
      @w2aew  4 ปีที่แล้ว +1

      I wasn't using the "real" spectrum analyzer in this case, because the signal was at 1kHz and the spectrum analyzer only goes down to 9kHz. This will also work on the DS1054z, assuming that it's FFT gives you the result in dB_. Keep in mind that *any* 8-bit scope is going to be limited in how low it can measure THD because the scope channel itself will limit the performance. In the case of my scope - a proper THD measurement with my THD DMM on the clean input signal shows 0.03%, but if I measure it on the scope, it was closer to 0.4% due to the limitations of the 8-bit digitizer. If you have THD less than 1%, the scope FFT method really won't give you an accurate result.

  • @thomaslanghans5479
    @thomaslanghans5479 6 หลายเดือนก่อน

    Thank you for all of your great videos. In video #65 you state that one half the sample rate will be the highest frequency you will see out of the FFT; the sample rate was 25kS/s and the maximum FFT frequency was 12.5kHz, just as you state. In this video your sample rate is 500kS/s and the maximin FFT frequency is the same, 12.5kHz (1.25kHz per division, as shown on the math readout). Please explain how you got such a low FFT maximum frequency with such a high sample rate.

    • @w2aew
      @w2aew  6 หลายเดือนก่อน

      Because I "zoomed" the FFT result.

  • @philippe5394
    @philippe5394 4 ปีที่แล้ว

    Hello Alan, first, thank you for this vidéo. Very interesting for me. I will realize this BF circuit to experiment FFT function on my scope Rigol DS2072A, based on your instructions. At 3:54 of your video, you refer to videos #157 and #162. I think this is #163 instead of #162.
    Again, many thanks for all the videos.

    • @w2aew
      @w2aew  4 ปีที่แล้ว

      Oops, you are right! At least the link in the video description is correct.

  • @keithschreiter3885
    @keithschreiter3885 4 ปีที่แล้ว

    Great stuff, I have been collecting you notes on all of your other RF wisdom, Now for my question where can I downlode your PDF files on this great piece of info. Again Thanks for your time for doing the youtube on these. Thanks Keith

    • @w2aew
      @w2aew  4 ปีที่แล้ว

      As with most of my videos, there is a link to download a pdf of the notes in the text description of the video on the TH-cam page. You usually have to hit the “Show More” link.

    • @keithschreiter3885
      @keithschreiter3885 4 ปีที่แล้ว

      @@w2aew yes I did hit the show more tab , but no link to notes

    • @w2aew
      @w2aew  4 ปีที่แล้ว +2

      It’s there. And, now here:
      www.qsl.net/w2aew/youtube/THD_with_FFT.pdf

  • @TimothyK4TEP
    @TimothyK4TEP 4 ปีที่แล้ว

    keep up the great work I learn alot from your videos 73 from K4TEP

  • @byronwatkins2565
    @byronwatkins2565 3 ปีที่แล้ว

    You can also use a time series captured from a digital oscilloscope if you are willing to do a little math in Excel. Square the voltage measurements from a single period and add them up. This is proportional to the total power. The power in the fundamental is proportional to the peak (half of peak-peak) squared divided by 2.
    THD = 100% X (P_total - P_fundamental) / P_fundamental
    I should point out that you do need to eliminate any DC offset (e.g. use AC coupling or subtract the average before squaring) in order for this to work.

  • @jimmorrison2636
    @jimmorrison2636 4 ปีที่แล้ว

    Greetings from down under. Great video, so interesting and informative just like all your videos. Thanks so much. By the way my XYL is from Hillside New Jersey. 73 Gary VK6LX

    • @w2aew
      @w2aew  4 ปีที่แล้ว

      Very nice. Hillside is about 30 minutes away.

  • @eugenepohjola258
    @eugenepohjola258 4 ปีที่แล้ว

    Howdy. Nice presentation. One point however about audio amplifiers.
    I suspect most specs use only one base frequency. It is likely to be 1 kHz.
    I believe THD should be evaluated using several base frequencies from 20 Hz to 10.000 Hz. Harmonics of 10.000 Hz are not audiable. Base frequency spacing = double:
    f / Hz THD / %
    20
    40
    80
    160
    320
    640
    1280
    2560
    5120
    10.240
    To evaluate the overall THD the mean value of the THDs may be computed. However. I believe the rms should be used to evaluate the overall THD.
    Regards.

  • @arinascimento547
    @arinascimento547 ปีที่แล้ว

    Great!

  • @erodinesaguban5132
    @erodinesaguban5132 ปีที่แล้ว

    Nice Sharing Full Support

  • @robt7785
    @robt7785 ปีที่แล้ว

    Alan, I have found better resolution with a 2 channel function generator and DSO by taking a sample sine wave voltage out of the DUT and into a resistor matrix that allows me to add channel 2, 180 degrees out of phase, to cancel out the fundamental frequency. The 180 degree phase shift is just a starting point though due to phase shift in the DUT. I then adjust channel 2 phase and amplitude for maximum null and read the RMS voltage left over.

    • @w2aew
      @w2aew  ปีที่แล้ว

      Be careful with this - adding the inverted signal to itself it will also cancel the odd harmonics! Thus, will give you an artificially good THD result.

    • @robt7785
      @robt7785 ปีที่แล้ว

      @@w2aew Interesting. How is this different than using a notch filter to drop out the fundamental, like an analog distortion analyzer?
      The results I have gotten cross check with an HP331A. (Just to be clear, I am inverting channel 2 and adding it directly to the matrix without it going through the DUT. Only channel 1 signal goes through the DUT.)

    • @w2aew
      @w2aew  ปีที่แล้ว

      @@robt7785 Ah - it wasn't clear that you were subtracting the *input* signal, before the DUT. In this case, you should only be left with the distortion components added by your DUT.

    • @robt7785
      @robt7785 ปีที่แล้ว

      @@w2aew Thank you. Yes, I apologize for not being very clear.

  • @jbar6618
    @jbar6618 ปีที่แล้ว

    I really like your videos and have learned lots. I purchased a Siglent SDS1104xe scope awhile back an would like to use it to measure THD. However its FFT function doesn't have DBc units and only has DBm, DBVrms and Vrms. I was hoping you might provide a clue as to what math I would use to calculate THD based on the scales available to me? Thanks

    • @w2aew
      @w2aew  ปีที่แล้ว

      Easy... Take note of the dBm level of your fundamental - this is your reference. Then, simple subtract the dBm of each harmonic from the dBm level of your fundamental. This will give you the dBc level of each of your harmonics.

  • @toughwarrior8437
    @toughwarrior8437 4 ปีที่แล้ว +1

    Hi,
    Can you please tell me How we measure AC voltage by oscilloscope like Hantek 6022BE ? why it shows offset AC signal and the altitude is only 102 V instead of 120 V? thanks for your reply.

  • @waynegram8907
    @waynegram8907 3 ปีที่แล้ว

    How do you measure the signal to noise ratio using an Oscilloscope? or what lab equipment do you use to measure the S/N ratio in various power supplies because different types of power supplies when being applied to different types of amplifiers circuits like FET amplifiers, transistor amplifiers, IC op amplifiers, tube amplifiers circuits will raise the noise floor so you will hear hissing white noise, hum, ripple, Switching frequency from the power supply, etc. The hissing white noise is caused by the linear power supply or switching power supply? because the amplifier circuit will raise the noise floor higher so you hear the hissing white noise from the linear power supply and switching power supply?

  • @JediNg135
    @JediNg135 4 ปีที่แล้ว +5

    Funny, I was literally thinking about measuring THD yesterday :)

    • @JasonLeaman
      @JasonLeaman 4 ปีที่แล้ว +1

      Same

    • @JediNg135
      @JediNg135 4 ปีที่แล้ว

      @@JasonLeaman I forgot to mention that I was also thinking that I didn't know how to do it lol

  • @Torogol85
    @Torogol85 3 ปีที่แล้ว +1

    I love the subscription bell

  • @ovalwingnut
    @ovalwingnut 4 ปีที่แล้ว

    Yes. Very interesting. But also over my head 🤓 But that's OK 👍😁. TIP: I usually find the THC by looking in the user manual 😉

  • @electronic7979
    @electronic7979 4 ปีที่แล้ว +2

    👍

  • @mrnmrn1
    @mrnmrn1 4 ปีที่แล้ว +2

    Thanks a lot! I'm not the one who asked, but I also wondered how can this be calculated for years now. I was pretty sure it's possible. It was probably mentioned in school as well, but it was too long time ago. I can forget anything that I'm not applying within a few months.
    Too bad that none of the scopes I have access to has THD calculation in their FFT maths menu, but this manual method is not too much of a hassle to apply if needed. I wonder why don't every FFT capable oscilloscope has THD calculation amongst its maths functions. It can't be too complicated to implement, if it can be calculated manually within a minute.

    • @w2aew
      @w2aew  4 ปีที่แล้ว

      I guess it's because an oscilloscope is one tool you can use to compute THD, but it really isn't the best because accuracy really suffers when you go below several tenths of a percent. A spectrum analyzer is better, but many don't go to audio frequencies.

    • @T2D.SteveArcs
      @T2D.SteveArcs 4 ปีที่แล้ว

      @@w2aew Hi Allan how come they dont go down to DC why start 9khz or?

    • @w2aew
      @w2aew  4 ปีที่แล้ว +1

      Most are AC coupled, often due to mixer and preamp design.

    • @T2D.SteveArcs
      @T2D.SteveArcs 4 ปีที่แล้ว

      @@w2aew Thanks for reply

  • @theearmanshow203
    @theearmanshow203 ปีที่แล้ว

    Hi, my doubt is, why square root, your result of SUM its in terms of power not voltage. Thanks

  • @SirMo
    @SirMo 4 ปีที่แล้ว

    Alan, thank you for this very helpful video! Would measuring THD on a Spectrum Analyzer be more accurate? Could it perhaps be used to get measurements in sub 1% range?

    • @w2aew
      @w2aew  4 ปีที่แล้ว

      Yes, that would be much better. Spectrum analyzers usually have a spec on their harmonic performance too.

    • @SirMo
      @SirMo 4 ปีที่แล้ว

      @@w2aew Thanks Alan, I just realized though Spectrum Analyzers tend not to go that low in the audio range. Mine for instance starts at 9Khz.

    • @w2aew
      @w2aew  4 ปีที่แล้ว +1

      @@SirMo Yeah, that's typically the problem. There are some that go lower, but most do not.

  • @Bassguitarist1985
    @Bassguitarist1985 2 ปีที่แล้ว

    how do you get that THD harmonics application? Is possible to get on a Silgent scope? Very new to oscope use

    • @w2aew
      @w2aew  2 ปีที่แล้ว +1

      The THD application is something that is sometimes offered as an option on a real spectrum analyzer. I don't know if I have ever seen it available for a scope/FFT, so I doubt it is available for the Siglent scope.

    • @Bassguitarist1985
      @Bassguitarist1985 2 ปีที่แล้ว

      @@w2aew good info to know! Thank you! My application is to measure THD of portable generators, and to see specifically on inverter generators how well the output stage is filtered for EMC

  • @imNotDrivingBut_imRACEIST
    @imNotDrivingBut_imRACEIST 5 หลายเดือนก่อน

    why there is no more harmonics to de 2nd power in final calculations? it's just the sqrt of the sum (min 7:32)

  • @misium
    @misium 4 ปีที่แล้ว

    Nice e-paper device. What is it? Can you draw on it itself, or is it just display?

    • @w2aew
      @w2aew  4 ปีที่แล้ว

      The e-paper tablet is from www.remarkable.com

  • @gearstil
    @gearstil 4 ปีที่แล้ว

    I want to analyze some vibrations that are around 50Hz - 10,000Hz. Can I use a spectrum analyzer for frequencies below 9 KHz? Is there a workaround to feed the analyzer a bigger frequency correlated to my original frequency? The oscilloscope that I have access to, has a FFT based on 1 KPoints. FFT is basically a joke...

    • @w2aew
      @w2aew  4 ปีที่แล้ว

      There are some spectrum analyzers that are designed with a lower corner frequency, but they're not that common. You could upconvert using a mixer. I did a video on up-conversion in the context of monitoring HF radio signals on a USB-SDR receiver that didn't receive that low - this is the same concept: th-cam.com/video/XeQnDpzhcRo/w-d-xo.html

  • @jackofalltrades3727
    @jackofalltrades3727 4 ปีที่แล้ว

    Thanks this has been a great help how do you get -19,7 dbc into 10.715, I cant grasp that

    • @w2aew
      @w2aew  4 ปีที่แล้ว

      10^(-19.7/10) = 0.010715 = 10.715x10^-3 (engineer's habit of using scientific notation)

    • @jackofalltrades3727
      @jackofalltrades3727 4 ปีที่แล้ว

      @@w2aew thanks easy when you know how

  • @jackofalltrades3727
    @jackofalltrades3727 4 ปีที่แล้ว

    Hi I have a question about building Low Distortion," oscillator running at 1khz I would like check the THD And I am Thinking of buying a spectrum analyser, Because the analyzer I am thinking of buying starts at 9 kHz and the oscillator will be running at 1 kHz Could I run the oscillator say at 10 kHz and check the THD, would the harmonic distortion be a good representation as if I was to run it at 1khz, or would it be way out in your opinion Or would I need a spectrum analyzer that works at 1khz
    or below

    • @w2aew
      @w2aew  4 ปีที่แล้ว

      I don't think that the THD measured at 10kHz would be a good representation of the THD at 1kHz. You might be better off using a scope, or even some software on your computer and the the sound-card input.

    • @jackofalltrades3727
      @jackofalltrades3727 4 ปีที่แล้ว

      @@w2aew Thank you

  • @nedkonz3971
    @nedkonz3971 4 ปีที่แล้ว

    Good video, but I'm confused a bit. I have the same scope as you. According to the manual and the scope's user interface, it reads out in dBv, not dBc. But when I did the math using dBv I get the same expression as you.
    I figured that (since dBv=20*log(Vn/Vf)):
    (Vn^2/Vf^2) = (Vn/Vf)^2 = 10^(2*log(Vn/Vf)) = 10^(dBv/10)
    which is the same simplification you used for dBc.
    What gives?

    • @w2aew
      @w2aew  4 ปีที่แล้ว

      When you use the fundamental as the reference (Vn/Vf), you're effectively calculating dBc (dB relative to the carrier level).

  • @superconductorchip9072
    @superconductorchip9072 4 ปีที่แล้ว

    You were pointing at the first Harmonic and calling it the second harmonic, I'm a bit confused, great video.
    Cheers

    • @oldblokeh
      @oldblokeh 4 ปีที่แล้ว +3

      A common misunderstanding. Think of the fundamental as the first element of the harmonic series. The second element (twice the frequency of the fundamental) is called the second harmonic as it's the second element of the harmonic series. Although we tend to refer to any component that is not the fundamental as 'a harmonic', in reality they are all terms in the harmonic series. A bonus of this way of numbering the harmonics is that it tells you the frequencies. The second harmonic is twice the fundamental frequency, the third is three times, and so on.