Can you have zero THD and nonzero IMD? - diyAudio
 Can you have zero THD and nonzero IMD?
 User Name Stay logged in? Password
 Home Forums Rules Articles The diyAudio Store Gallery Blogs Register Donations FAQ Calendar Search Today's Posts Mark Forums Read Search

 The Lounge A place to talk about almost anything but politics and religion.

 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
 19th December 2014, 03:36 PM #1 diyAudio Member   Join Date: Jun 2011 Can you have zero THD and nonzero IMD? There it is. Does zero THD = no nonlinearity = zero IMD? A lot of people complain that THD is not reflective of SQ, and that IMD is much more irritating. Could we set an upper bound to the IMD based on the THD? __________________ Now I am Become Death, the Destroyer of Words
diyAudio Member

Join Date: Jan 2004
Location: cambridge ma
Quote:
 Originally Posted by counter culture There it is. Does zero THD = no nonlinearity = zero IMD? A lot of people complain that THD is not reflective of SQ, and that IMD is much more irritating. Could we set an upper bound to the IMD based on the THD?
You would have a hard time contriving a physically real circuit with that property. In general this is not possible
__________________
"The question of who is right and who is wrong has seemed to me always too small to be worth a moment's thought, while the question of what is right and what is wrong has seemed all-important."

 19th December 2014, 04:48 PM #3 diyAudio Member   Join Date: May 2007 Non-zero THD and non-zero IMD are both created by nonlinearity, so they are unlikely to differ very much. It is possible, to a limited extent, to vary one without varying the other so I suppose this could be done by accident. For example, a cathode decoupler (or screen grid decoupler) might adequately decouple audio frequencies but not subsonics. Two tones separated by a small frequency shift might separately generate harmonics (and so contribute to THD) and together generate second-order IMD at their sum and difference frequencies. The difference frequency IMD could appear across the inadequate decoupling cap and so create extra re-entrant distortion which will appear as further (third-order) IMD. Thus varying the capacitor value will vary the IMD but not the THD. However, the source of both THD and IMD are the same (device) nonlinearity. I would say that in most cases you can estimate either from the other.
diyAudio Member

Join Date: Sep 2006
Quote:
 Originally Posted by counter culture There it is. Does zero THD = no nonlinearity = zero IMD? A lot of people complain that THD is not reflective of SQ, and that IMD is much more irritating. Could we set an upper bound to the IMD based on the THD?
Low distortion oscillator?

Intermodulation Distortion Values below THD Values by SS Amps - is this possible ??

Sometimes, a sufficiently high intermodulation level can drive away THD (and lower frequency IM products):
A dive into the past
__________________
. .Circlophone your life !!!! . .
♫♪ My little cheap Circlophone© ♫♪

diyAudio Member

Join Date: Jun 2011
Quote:
 Originally Posted by DF96 I would say that in most cases you can estimate either from the other.
That's more what I was suggesting, but I was wondering about an absolute calculation.

Forgive me if my mathematical definitions are letting me down, but isn't the THD a consequence of the transfer function? And the IMD a similar consequence of the transfer function? So if we took all the harmonic power and put it in the (say) the second, could we calculate the worst case IMD for any 2 inputs? I hate trig, and Laplace is rusty.

Or just plot a load of points, THD vs. IMD, and see if we can draw a line through them?

Thanks for the links Elvee. I didn't know there was existing conversation.
__________________
Now I am Become Death, the Destroyer of Words

diyAudio Member

Join Date: Sep 2006
Quote:
 Originally Posted by counter culture Forgive me if my mathematical definitions are letting me down, but isn't the THD a consequence of the transfer function? And the IMD a similar consequence of the transfer function?
Yes, and in fact you could say that only IMD exists, the THD being a particular case/subset of the more general IMD, where the signal intermods with itself.
Specific differences seem to appear, but they are caused by the fact that certain products cancel each other: a typical and extreme example is a symetrical clipping circuit, where all the even products cancel between the positive and negative half-cycles
__________________
. .Circlophone your life !!!! . .
♫♪ My little cheap Circlophone© ♫♪

 Yesterday, 11:07 AM #7 diyAudio Member   Join Date: May 2007 If you take a simple system, with no filters etc., then the harmonic and intermodulation distortion arise from the same nonlinearity so must be equal. As Elvee says, harmonic distortion is merely a special case of IMD. Real systems are not quite so simple, but it is still true that most distortion arises in the same way. My suspicion is that people who wish to completely separate harmonic distortion from IMD simply don't know enough algebra and trigonometry, so they can't understand how distortion products arise from nonlinearities.
 Yesterday, 01:45 PM #8 diyAudio Member   Join Date: Mar 2002 Location: Glasgow To a first approximation, I would expect THD and IMD to measure the same, since as pointed out above, THD is just IMD with 2 tones of the same frequency. So for example I would expect the 10kHz THD measurement to be roughly the same as the 10+11kHz IMD and so on. IMD might measure somewhat greater than THD at high frequencies, because more of the harmonic energy ends up in band. If you measure 20kHz THD with an 80kHz measurement bandwidth, you start to lose energy beyond the 4th harmonic. But the 4th order IMD product of a 19+20kHz test signal is at 2kHz. This is also the reason why IMD might be perceived as "more irritating than THD" (though this is inaccurate as IMD and THD are not separate phenomena, they're two ways of measuring the same nonlinearity) If you take a sluggish solid-state amp and wrap lots of feedback around it, you get THD that looks good at 1kHz but increases rapidly at high frequencies. You can make this look good by measuring with an 80kHz bandwidth to exclude most of the harmonics. But if you do a 19+20kHz IMD test, or listen to music with complex high frequency content through it, things don't look so great. For people who use soundcards to measure amplifier performance, these considerations are even more important. Even if you run at 96kHz, you can only see the 2nd harmonic of a 20kHz THD test, everything else is brickwall filtered away. You will get more useful results by doing IMD testing instead, assuming your soundcard actually has good IMD performance. __________________ "Some of the arguments conjure images of white-coated engineers with putty in their ears, designing audio equipment and not caring how it sounds, only how it measures. I have never met such a person"http://scopeboy.com/amps
diyAudio Member

Join Date: Feb 2003
Location: ..
actually IMD products are reduced by the amount of feedback at the product frequency just like any other error measured by the input stage

so its expected for a dominant pole compensated high loop gain amp to have ~40x less 1 kHz IMD vs 39 kHz in the 19k+20k test

Quote:
Quote:
Originally Posted by jcx
people do the 2-tone IMD, multitones with real hardware too - including Groner

Hofer and Cabot at AudioPrecision have several articles that are useful if you want to know how audio systems are measured by actual professional engineers, what test signals are "standard" nowadays (for many decades actually)

as you increase the number of frequencies in a multitone you have to decrease the level of each frequency component - greatly reducing sensitivity for higher order distortion mechanisms

single sine harmonic distortion and 2-tone IMD sweeps in level and frequency do find almost everything unless you have deliberately designed multiple frequency filters feeding analog multipliers and summing them in your output

I use 2-tone in sim quite often, with a modern PC, LTspice it really isn't a problem to do with fine enough time step, long enough # of periods

Quote:
 looking at the .tran distortion sim a interesting test is to use 2 sine inputs in series, 1:1 level of 600mV each to give near full output, fix one at 20 KHz, step the other from 1k to 19k in 1 kHz steps - the critical measure of quality is the IMD products below 20 kHz - also has the harmonic distortions of the lower tone when this stepped 2-tone is done you can plot the combined fft, see just how "bad" the "rising distortion with frequency" is (not) the yellow line is ~ -120 dB re the peak of the combined 2 tones you can see all audio frequency harmonics of the 1-19 kHz stepped frequency tones and the IMD difference products of all orders with the 20 kHz constant tone all audio frequency distortions just barely breaks above -120 dB below the combined 2 tone peak amplitude in the 18, 19 kHz bins - with the original op amp the level of all of the audio band distortions are all inaudible - below human hearing threshold in quiet if the speaker were giving 120 dB SPL with the amp's full output
with higher loop gain op amp you can keep every audio frequency distortion product below -120 dB in the sim

Last edited by jcx; Yesterday at 02:06 PM.

diyAudio Member

Join Date: May 2007
Quote:
 Originally Posted by jcx actually IMD products are reduced by the amount of feedback at the product frequency just like any other error measured by the input stage
Yes. It is surprising how often this is ignored or even denied. It could be part of the reason why some (SS?) people often claim that THD and IMD are separate phenomena.

 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 OffTrackbacks are Off Pingbacks are Off Refbacks are Off Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post w5jag Tubelab 10 9th April 2012 05:35 AM Eugene Dvoskin Solid State 24 1st January 2011 07:11 PM percy Multi-Way 29 19th October 2010 08:45 PM ygg-it Solid State 1 13th June 2010 08:54 AM gmikol Chip Amps 4 4th January 2006 08:45 PM

 New To Site? Need Help?

All times are GMT. The time now is 07:10 PM.