THD calculations
 User Name Stay logged in? Password
 Home Forums Rules Articles diyAudio Store Blogs Gallery Wiki 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
 16th January 2002, 06:42 PM #1 tiroth   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-(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
 17th January 2002, 08:17 PM #2 Nelson Pass   The one and only     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.
 17th January 2002, 10:09 PM #3 tiroth   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?
 17th January 2002, 10:48 PM #4 13DoW   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
 18th January 2002, 02:40 PM #5 tiroth   diyAudio Member   Join Date: Dec 2001 Location: Pittsburgh, PA, USA Thanks for your responses. They have been helpful.
 20th January 2002, 04:56 PM #6 awhobbyboy 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))
R. McAnally
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?

 23rd January 2002, 12:02 PM #8 djk 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 op-amp could be realized with discrete parts ala' the N.Pass article on same.
 23rd January 2002, 02:35 PM #9 tiroth   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. :)
 23rd January 2002, 02:57 PM #10 JoeBob   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?

 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 Forum Rules
 Forum Jump User Control Panel Private Messages Subscriptions Who's Online Search Forums Forums Home Site     Site Announcements     Forum Problems Amplifiers     Solid State     Pass Labs     Tubes / Valves     Chip Amps     Class D     Power Supplies     Headphone Systems Source & Line     Analogue Source     Analog Line Level     Digital Source     Digital Line Level     PC Based Loudspeakers     Multi-Way     Full Range     Subwoofers     Planars & Exotics Live Sound     PA Systems     Instruments and Amps Design & Build     Parts     Equipment & Tools     Construction Tips     Software Tools General Interest     Car Audio     diyAudio.com Articles     Music     Everything Else Member Areas     Introductions     The Lounge     Clubs & Events     In Memoriam The Moving Image Commercial Sector     Swap Meet     Group Buys     The diyAudio Store     Vendor Forums         Vendor's Bazaar         Sonic Craft         Apex Jr         Audio Sector         Acoustic Fun         Chipamp         DIY HiFi Supply         Elekit         Elektor         Mains Cables R Us         Parts Connexion         Planet 10 hifi         Quanghao Audio Design         Siliconray Online Electronics Store         Tubelab     Manufacturers         AKSA         Audio Poutine         Musicaltech         Aussie Amplifiers         CSS         exaDevices         Feastrex         GedLee         Head 'n' HiFi - Walter         Heatsink USA         miniDSP         SITO Audio         Twin Audio         Twisted Pear         Wild Burro Audio

 Similar Threads Thread Thread Starter Forum Replies Last Post davidallancole Full Range 44 11th March 2007 04:04 PM Wynand Solid State 6 27th June 2006 02:00 PM bcycle Subwoofers 10 8th February 2006 07:58 AM lXxAndyxXl Multi-Way 8 19th October 2004 05:53 PM

 New To Site? Need Help?

All times are GMT. The time now is 02:29 AM.