Path: csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Joerg Newsgroups: sci.electronics.design Subject: Re: more AD7793 fun. Date: Wed, 27 Apr 2016 09:56:00 -0700 Lines: 190 Message-ID: References: <675d814b-d796-40cb-8899-60c0dfc4e41f@googlegroups.com> <811044ba-c85b-4b9d-8d7c-40d42af4c9ad@googlegroups.com> <97902036-e768-4f95-bc99-71ea1987aa8d@googlegroups.com> <571E7F4A.4000909@electrooptical.net> <7YCdnY1hzqD1H4LKnZ2dnUU7-RGdnZ2d@supernews.com> <8dadnXPsgIiVNILKnZ2dnUU7-ffNnZ2d@supernews.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net QVWETno3+1Dohw6zrs/bGwDfJUjlQFwAPgd4H9ipZztN+mzdUO Cancel-Lock: sha1:8o6bxd8ra/AHzFDFpyChvZGr8mU= User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.6) Gecko/20070728 Thunderbird/2.0.0.6 Mnenhy/0.7.6.666 In-Reply-To: Xref: csiph.com sci.electronics.design:409476 On 2016-04-27 09:24, John Larkin wrote: > On Wed, 27 Apr 2016 07:55:28 -0700, Joerg > wrote: > >> On 2016-04-26 10:44, Phil Hobbs wrote: >>> On 04/26/2016 12:17 PM, Joerg wrote: >>>> On 2016-04-26 07:59, Phil Hobbs wrote: >>>>> On 04/26/2016 10:55 AM, Joerg wrote: >>>>>> On 2016-04-25 13:34, Phil Hobbs wrote: >>>>>>> On 04/25/2016 12:39 PM, Joerg wrote: >>>>>>>> On 2016-04-24 11:29, Phil Hobbs wrote: >>>>>>>>> On Sunday, April 24, 2016 at 5:19:34 PM UTC, Phil Hobbs wrote: >>>>>>>>>> On Sunday, April 24, 2016 at 3:19:09 PM UTC, Joerg wrote: >>>>>>>>>>> On 2016-04-23 18:02, bill.sloman@ieee.org wrote: >>>>>>>>>>>> On Sunday, April 24, 2016 at 4:56:12 AM UTC+10, Joerg wrote: >>>>>>>>>>>>> On 2016-04-22 19:32, bill.sloman@ieee.org wrote: >>>>>>>>>>>>>> On Saturday, April 23, 2016 at 6:33:46 AM UTC+10, Joerg >>>>>>>>>>>>>> wrote: >>>>>>>>>>>>>>> On 2016-04-22 13:23, makolber@yahoo.com wrote: >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> We suspected that a lot of RF could bang ESD diodes >>>>>>>>>>>>>>>>> inside the chip, but our common-mode voltage is 2.5, >>>>>>>>>>>>>>>>> with a 5 volt supply, which means we'd need a huge >>>>>>>>>>>>>>>>> amount of RF, which we don't see. >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> RF rectification can oocur at any junction, not just >>>>>>>>>>>>>>>> the ESD diodes. >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> The classic scenarios are BE junctions at the first pair. >>>>>>>>>>>>>>> Could be CMOS here though which avoid that problem. >>>>>>>>>>>>>> >>>>>>>>>>>>>> It doesn't, but it does raise the threshold voltage, With >>>>>>>>>>>>>> bipolar junctions you need about 50mV of high-frequency >>>>>>>>>>>>>> signal to push the pair into non-linearity, while pairs of >>>>>>>>>>>>>> field-effect transistors need something closer to a volt. >>>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> Microvolts suffice on a bipolar process. RF gets rectified at >>>>>>>>>>>>> the first BE junction and then the rectified signal attacks >>>>>>>>>>>>> inside the loop. Meaning at the full open loop gain of the >>>>>>>>>>>>> opamp. This is why one often hears rat-tat-tat-POP when >>>>>>>>>>>>> placing a cell phone near a stereo. >>>>>>>>>>>> >>>>>>>>>>>> Perhaps. A low signal levels you don't have much non-linearity. >>>>>>>>>>>> Once you get above about 50mV in bipolars you get effective >>>>>>>>>>>> half-wave rectification. Nothing is being "rectified" but the >>>>>>>>>>>> output looks as if it is. >>>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> You get rectification at the microvolt level, there is no 50mV >>>>>>>>>>> threshold. A BE junction in the conductive region is always >>>>>>>>>>> non-linear. For all practical purposes the stuff connected to the >>>>>>>>>>> emitter in an opamp and other ICs can be considered a "heavy >>>>>>>>>>> load" for RF in the GHz range. Then any ever so small RF signal >>>>>>>>>>> entering the base will be rectified and the rectified signal >>>>>>>>>>> drives the works inside the loop. >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> Hmm. Given that rectification is a quadratic process, it seems as >>>>>>>>>> though very small signals ought not to be such a big problem. If it >>>>>>>>>> takes 25 mV to give you an order-unity perturbation, then 1 uV >>>>>>>>>> ought to be nearly 100 dB down, not to mention the rolloff with >>>>>>>>>> frequency. N'est ce pas? >>>>>>>>> >>>>>>>>> (That of course assumes that the RF and baseband signals are of about >>>>>>>>> the same size. Otherwise it might be 200 dB.) >>>>>>>>> >>>>>>>> >>>>>>>> They are usually in the same ballpark. GSM is the worst. For whatever >>>>>>>> reason they start the handshake at full power. On-off-on-off-on-off >>>>>>>> and >>>>>>>> it sounds like rat-tat-tat. Not sure what you mean with order-unity >>>>>>>> but >>>>>>>> the issue is that this goes in at full open loop gain. If we assume a >>>>>>>> modest 100dB of open loop gain then a 1uV rectified signal turns into >>>>>>>> 100mV at the output. 25mV would rail the amp hard. >>>>>>> >>>>>>> The point I'm making is that if it takes 25 mV to produce an order-1 >>>>>>> change of forward current, which it does, then a 1 uV RF signal will >>>>>>> produce only 1/(25000 ** 2)/2! = 7E-10 relative change. >>>>>>> >>>>>>> If you're talking about a microvolt of rectified DC, i.e. 1 part in >>>>>>> 25000, that makes more sense. But to get that much, you'd need around >>>>>>> >>>>>>> sqrt(2*1/25000)*25mV = 2.2 mV, not counting the AC rolloff. That's a >>>>>>> fair amount of RF. >>>>>>> >>>>>> >>>>>> >>>>>> I am still not quite following. If the BE diode path is operated in the >>>>>> very low current regions, which it usually is, then an excursion of 0.1% >>>>>> in voltage results in a 1% current change. Add in the usual parasitic >>>>>> capacitances and you can have a very efficient RF rectifier. >>>>> >>>>> It's quadratic, though. For small swings the two half cycles almost >>>>> cancel out when it comes to generating DC. To make DC out of sin(omega >>>>> t) you need an even-order nonlinearity. For the linear term, >>>>> superposition applies and so it doesn't cause interference with normal >>>>> operation. >>>>> >>>> >>>> How would they cancel out? The nonlinerity makes it favor one half-cycle >>>> over the other, thus moving the average substantially. That "hump" in >>>> average is what creates the noise into the first device. >>> >>> Only if it's comparable in size to 25 mV. >>> >>> Let's plug it into the Taylor series and see. >>> >>> I(V) = exp(Vf/25mV) = I(V_0) exp(dV/25mV) >>> >>> = I(V_0) * (1 + u + u**2/2! + u**3/3! + ....) >>> >>> where u = dV/25mV. Taking just the normalized perturbation X, >>> >>> X = I(V)/I(V_0)-1, we get >>> >>> X = u + u**2/2! + u**3/3! + .... >>> >>> If u = A sin(wt), then up to second order, >>> >>> X = A sin(wt) + A**2(1-cos(2wt))/(2*2!) + ....) >>> >>> where I've used the usual identity for sin**2. >>> >>> All the odd order terms are at harmonics of w, but the even order terms >>> also contribute DC, i.e. rectification. You can't get a DC component >>> without an even-order nonlinearity, due to the behaviour of powers of >>> sin(x). >>> >>> In particular, the linear term A sin(wt) is just reproduced as an RF >>> signal and doesn't do anything to the other things. (First order terms >>> obey superposition, in other words.) >>> >>> Thus the rectified contribution is >>> >>> X_dc = A**2/4 + O(A**4). >>> >>> (It really is quadratic for small signals.) >>> >>> I'm entirely in agreement about your interference measurements >>> themselves, of course, but it needs more RF than you think. >>> >> >> And I don't doubt your math :-) >> >> The problem is, I could really make opamps rail with just a few hundred >> uV of RF into the input (when clients had a hard time believeing the >> effect). It can't really be simulated. Or maybe with some expensive >> parasitic extraction tool and fancy simulator but not with SPICE behavioral. > > It might be possible for the input diff pair to have actual gain at > RF, with the second stage doing the rectifying. That would be more > likely at low RF frequencies. > Possible, although not too likely at 2GHz depending on resistances used around the first pair. > I should remember to hold my cell phone close to any analog-circuit > breadboards or first articles. But I've found that RF suceptability > tends to happen at fairly sharp resonances, so a sweep would be needed > to find the bad spots. > Absolutely. Sometimes all is well with cell phones and then in the field it isn't because the maintenance folks use portable radios at a very different frequency. Also happened: Disturbance only on one particular day. Turned out that was the day when the military held air exercises with low passes of fighter jets. Really low. With their Radar turned on ... > I should get one of those surfboard-type wideband antennas and get > more systematic about testing products. I have a few old HP and GR > tube-type RF generators that have nice twirly frequency-set knobs and > lots of power. > But they'd have to go to at least 3GHz or so. I have a Signalhound TG44A track gen for that, plus a near field probe kit. That usually spots such RF interference problems. It even has a sniffing dog logo on there. -- Regards, Joerg http://www.analogconsultants.com/