Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Can anyone explain a simple way to measure thd of an audio circuit using signal generator and scope please? Datasheet for device in question recommends Sine @10khz 0db. I have included thd trim and would like a BASIC way of measuring.
Thanks in advance.
Something just occurred: if I only want to trim the output signal could I not just compare the peaks of the in/ out waves on a dual trace scope?
Keep in mind that your input source has to have significantly lower THD than your output.
Not necessarily; it depends on the method being used. For example, using this null method:
**broken link removed**
the author says:
"There are several advantages to this method:
An ultra low distortion signal generator is not needed. The signal generator distortion and noise are cancelled along with the undistorted component. On one occasion I measured distortion components around 0.00001% using a signal generator with over 0.5% t.h.d."
Hi,
The way i've always done it in the past is to use a THD meter. These things are not cheap however.
If you are going to try the null method, you'll need a way to adjust both the amplitude and the phase shift. You might get away with a good quality op amp to do the subtraction. Test it first.
Post #11 has a link to the null method. It sounds good, but it's a real bear to adjust.Hi,
Yes i didnt think you'd want to buy one. That's very understandable.
The adjustments for the nulling would of course include amplitude, so that you can null out the first harmonic whatever amplitude it happens to come out of the amplifier under test (AUT) at. If you input say 1v and you get 2v out, then you've got to be able to null out 2v or if attenuated back down to 1v then you've got to be able to null that out. The amplifier could very well introduce some phase shift too however, so you would have to be able to adjust the phase shift. Just in case the amp puts out an inverted signal you would also need a 180 phase shifter which could be done with an op amp as an inverter.
A regular low pass filter provides a phase shift, and a two or three stage low pass filter provides even more of a phase shift. You would possibly use that plus an op amp amplifier to adjust gain. The low pass filter resistor(s) could be a potentiometer and that would give you phase adjustment, or you could look into an all pass filter. Either way, you would get phase shift adjustment, and adjusting the output attenuation (perhaps a pot too) you could null out the signal generators frequency out of the output. That would leave just the junk which would be taken to be the distortion.
To test you could probably introduce a small phase shift with another low pass (in place of the AUT) and see if you can null it out. You might also start with say a 1kHz signal and mix in some 60Hz or 50Hz signal of lower amplitude, then see if you can null out the 1kHz and see only the 60Hz (or 50Hz) signal. Just in case you want to test your setup first.
A low pass filter can be made with a resistor and capacitor. Changing the value of cap and/or resistor changes the phase shift. The amplitude also goes up or down too though depending on the desired phase shift, so you have to readjust the amplitude.
I think the best way to look for a null is with a scope. Maybe a band pass filter too so you can concentrate on the first harmonic.