THD calculations - diyAudio
Go Back   Home > Forums > Amplifiers > Solid State

Solid State Talk all about solid state amplification.

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
Reply
 
Thread Tools Search this Thread
Old 16th January 2002, 05:42 PM   #1
tiroth is offline tiroth  United States
diyAudio Member
 
Join Date: Dec 2001
Location: Pittsburgh, PA, USA
Default THD calculations

If one has, say, two unity gain buffers with a known THD of X%, can one put some bounds on the THD of a signal which passes through both buffers?

I am assuming noise is incoherant and ignoring its contribution at the moment. My first thought would be that the distortion would be 1-(1-X/100)^2 but I have a feeling this is not very sharp.

I would like to have a better idea of the overall contributed distortion caused as signals travel through various functional components, so this seems like an important thing to know!

Thanks,
Tyler
  Reply With Quote
Old 17th January 2002, 07:17 PM   #2
The one and only
 
Nelson Pass's Avatar
 
Join Date: Mar 2001
Assuming that the distortion of both buffers is low,
say 1% of less, than the upper boundary is the
addition of the two distortion figures, and the lower
boundary is something slightly greater than 0.

If the two buffers are identical and fairly low distortion,
you should assume the distortion to be about twice the
value of one.

All this is strictly rule-of-thumb, of course.
  Reply With Quote
Old 17th January 2002, 09:09 PM   #3
tiroth is offline tiroth  United States
diyAudio Member
 
Join Date: Dec 2001
Location: Pittsburgh, PA, USA
Aren't these exactly the bounds? i.e. the range {0, sum of distortions}? The worst case being each buffer distorts by adding exactly some x to the waveform, and the best case being buffer one adds x and buffer two adds -x? I would think that this was sharp, but I may be ignoring some subtlety.

I've noticed that in some cases (2-order IIR implementation of eq filter) the total THD from the two stages is much less than the combined distortion figures.

In this example:
Filter 1: 0.0004% THD
Filter 2: 0.0004% THD
Filter 1+2 cascaded: 0.0005% THD

The upper bound would have been 0.0008% by the above logic. These distortion figures may seem trivial, but I am considering the case of, say, 1/3 octave EQ with 30 filters. How the distortion sums is thus the difference between 0.012% distortion (-78dB) and <.001% (-100dB).

I'm guessing there is no rule of thumb other than to assume that your buffers are doing "similar" things internally, and thus to assume the distortion will be nearly double. Is this the thought process behind your statement?
  Reply With Quote
Old 17th January 2002, 09:48 PM   #4
13DoW is offline 13DoW  England
diyAudio Member
 
Join Date: Jan 2002
Location: Orange County, Ca.
If the two buffers are identical and unity gain then they both see the same peak input voltage (as long as the first doesn't distort grossly and compress) and the harmonics generated by the non-linearities in their transfer functions will be the same and sum directly (not rms).

(I'm not sure about the realtive phases of, say, Xth harmonic generated in the first buffer passing through the second and the Xth harmonic generated in the second by the fundamental. If they are different you could get partial or even complete cancellation of particular harmonics but not all at the same time.
If cancellation does happen it would only affect high order harmonics relative to the passband where you can pick-up near 180degrees phase-shift from the second buffer.)

If the two buffers are identical and have gain then the second will dominate because it will see a larger input and it will distort more.

Cascading filters could be more complicated because the second filter can remove harmonics generated by the first.

Regards,
13th Duke of Wymbourne
  Reply With Quote
Old 18th January 2002, 01:40 PM   #5
tiroth is offline tiroth  United States
diyAudio Member
 
Join Date: Dec 2001
Location: Pittsburgh, PA, USA
Thanks for your responses. They have been helpful.
  Reply With Quote
Old 20th January 2002, 03:56 PM   #6
diyAudio Member
 
Join Date: Jan 2002
noise of N stages in series add in rms power: distortion of N stages = srqt N x distortion of one stage

in dBv scale that means adding 20log(sqrt(N)) db

Remark:
N opamps paralel REDUCES distortion by 20log(sqrt(N))
  Reply With Quote
Old 22nd January 2002, 08:46 PM   #7
diyAudio Member
 
Join Date: Jan 2002
Location: California
Overall distortion is calculated by "summing the squares" of each individual component and taking the square root of the total. Similar to pythagreon's theorem, a^2 + b^2 = c^2, where C (the diagonal of a triangle) is the total distortion, A and B are individual components. The same process can be applied to any amount of distortion components.

This assumes there is no clipping at the time =).. the same process is used for summing noise contributions.

Hope it helps,




Quote:
Originally posted by tiroth
Aren't these exactly the bounds? i.e. the range {0, sum of distortions}? The worst case being each buffer distorts by adding exactly some x to the waveform, and the best case being buffer one adds x and buffer two adds -x? I would think that this was sharp, but I may be ignoring some subtlety.

I've noticed that in some cases (2-order IIR implementation of eq filter) the total THD from the two stages is much less than the combined distortion figures.

In this example:
Filter 1: 0.0004% THD
Filter 2: 0.0004% THD
Filter 1+2 cascaded: 0.0005% THD

The upper bound would have been 0.0008% by the above logic. These distortion figures may seem trivial, but I am considering the case of, say, 1/3 octave EQ with 30 filters. How the distortion sums is thus the difference between 0.012% distortion (-78dB) and <.001% (-100dB).

I'm guessing there is no rule of thumb other than to assume that your buffers are doing "similar" things internally, and thus to assume the distortion will be nearly double. Is this the thought process behind your statement?
  Reply With Quote
Old 23rd January 2002, 11:02 AM   #8
djk is offline djk
diyAudio Member
 
djk's Avatar
 
Join Date: Feb 2001
Location: USA
I can show you how to build a 1/3rd oct EQ with only one op- amp. Of course the op-amp could be realized with discrete parts ala' the N.Pass article on same.
  Reply With Quote
Old 23rd January 2002, 01:35 PM   #9
tiroth is offline tiroth  United States
diyAudio Member
 
Join Date: Dec 2001
Location: Pittsburgh, PA, USA
I'll be watching carefully for clipping ;)

djk,

I'd be interested to see your design. For an actual EQ I'm going to be operating strictly in the digital domain, since I'm not aware of anything that uses real resistors and opamps that can achieve the specs of cascaded TAS3001 (30 channels, >103db S/N, <-94dB THD+N, constant Q, near linear phase response) or similar algorithms implemented on a general-purpose DSP. Better analog EQ design gives me a better target. :)
  Reply With Quote
Old 23rd January 2002, 01:57 PM   #10
JoeBob is offline JoeBob  Canada
diyAudio Member
 
JoeBob's Avatar
 
Join Date: Nov 2001
Location: Montreal, Canada
1/3 oct EQ with only one opamp? That sounds interesting, have a page on it?
  Reply With Quote

Reply


Hide this!Advertise here!
Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
BIB Calculations davidallancole Full Range 44 11th March 2007 03:04 PM
Need help with calculations please. Wynand Solid State 6 27th June 2006 01:00 PM
x over calculations bcycle Subwoofers 10 8th February 2006 06:58 AM
calculations lXxAndyxXl Multi-Way 8 19th October 2004 04:53 PM


New To Site? Need Help?

All times are GMT. The time now is 11:25 AM.


vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2014 DragonByte Technologies Ltd.
Copyright 1999-2014 diyAudio

Content Relevant URLs by vBSEO 3.3.2