
Home  Forums  Rules  Articles  diyAudio Store  Gallery  Wiki  Blogs  Register  Donations  FAQ  Calendar  Search  Today's Posts  Mark Forums Read  Search 
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 

Thread Tools  Search this Thread 
16th January 2002, 05:42 PM  #1 
diyAudio Member
Join Date: Dec 2001
Location: Pittsburgh, PA, USA

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(1X/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 
17th January 2002, 07:17 PM  #2 
The one and only

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 ruleofthumb, of course. 
17th January 2002, 09:09 PM  #3 
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 (2order 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? 
17th January 2002, 09:48 PM  #4 
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 nonlinearities 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 pickup near 180degrees phaseshift 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 
18th January 2002, 01:40 PM  #5 
diyAudio Member
Join Date: Dec 2001
Location: Pittsburgh, PA, USA

Thanks for your responses. They have been helpful.

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)) 
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:


23rd January 2002, 11:02 AM  #8 
diyAudio Member
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 opamp could be realized with discrete parts ala' the N.Pass article on same.

23rd January 2002, 01:35 PM  #9 
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 generalpurpose DSP. Better analog EQ design gives me a better target. :) 
23rd January 2002, 01:57 PM  #10 
diyAudio Member
Join Date: Nov 2001
Location: Montreal, Canada

1/3 oct EQ with only one opamp? That sounds interesting, have a page on it?

Thread Tools  Search this Thread 


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  MultiWay  8  19th October 2004 04:53 PM 
New To Site?  Need Help? 