9
\$\begingroup\$

I have a very good op amp (AD8551) that I use to dynamically amplify a very small signal (2x, 10x, 100x, 1000x gain).

The problem is that there is a noticeable noise level at 100x and 1000x gain, and it has a weird constant shape.

If I power the circuit with a poorly stabilized power supply and connect the input of the amplifier at GND, I get a large noise level at 1000x as seen in the picture bellow.

If I power the circuit with a better stabilized power supply, the noise is still present at 1000x with the same waveform, but lower amplitude. And no matter what power supply I use the weirdly shaped noise doesn't disappear.

Since my AD8551 has a PSSR of 130 dB, I thought that TL431 used for biasing the input may be at fault. So I left the poorly stabilized power supply for the op amp and used the better one for the TL431, but the output is the same. Stabilizing the voltage on the resistor in the cathode of TL431, doesn't change anything.

amplifier schematic

The image below is an output sampled by a microcontroller with it's internal ADC. As you can see at 1000x the output swings almost full range. The reason 100x is missing in this test is because I replaced the 1MΩ R21 with a 100KΩ resistor and 1KΩ R66 with a 100Ω one, resulting in 1.1X, 2X 10X and 1000X amplification. I did this because I was fearing that the feedback resistor R21 might be too big to bias the op amp negative input, even though AD8551's input bias current is rated max 2nA. The change did slightly diminish the amplitude of the noise. enter image description here

Does the Vcc have to be dead quiet even though the op amp's PSRR is 130 dB? Is it the input bias causing this problems?

I can't figure it out, especially since I don't have access to an oscilloscope. All I have are the readings from the microcontroller saved on a SD card.

\$\endgroup\$
14
  • \$\begingroup\$ This looks a lot to me like there is a bad connection somewhere. I am not confident that 1000 gain is too much. Please triple check that everything is OK like your switches, transistors, and solder joints. \$\endgroup\$
    – HL-SDK
    Dec 3, 2013 at 20:00
  • 1
    \$\begingroup\$ Can you include a photo showing how you constructed the circuit? \$\endgroup\$
    – The Photon
    Dec 3, 2013 at 20:14
  • \$\begingroup\$ Why does the opamp not have any decoupling cap? Did you decouple the ADC properly (as described in its datasheet). \$\endgroup\$
    – jippie
    Dec 3, 2013 at 20:26
  • \$\begingroup\$ What is the DC operating point of the MOSFET source pins? \$\endgroup\$
    – jippie
    Dec 3, 2013 at 20:28
  • 2
    \$\begingroup\$ You are using 4x N channel FETs and all the sources are floating - how can you expect this to work? They need to be grounded. \$\endgroup\$
    – Andy aka
    Dec 4, 2013 at 8:23

4 Answers 4

5
\$\begingroup\$

Looks like mains hum. (I'm assuming the annotations on the graph show you are changing the input gain during acquisition, so that the sinewave is not continuous).

Now we don't know:

  • the period of the observed "sine" wave
  • the ADC sampling rate
  • your mains frequency but you do, so you can work out if that's a possible hypothesis.

For example if you are sampling at 50Hz in a 50Hz mains country, and seeing a frequency less than 0.5Hz, chances are that you are aliasing mains hum down to the observed frequency.

And given the high input impedance opamp inputs, they look like a target for electrostatic coupling, rather than magnetic.

Now, on which input?

If you remove the sensor and short the input to ground, does the noise disappear? Then the sensor connection must be more carefully screened. Or you need a buffer amp at the sensor to reduce the sensor's output impedance.

If the noise remains: reduce R21 to 100k and R66 to 100 ohms. Did that attenuate the noise tenfold? If so, it is the negative input that's picking up. More likely both inputs are picking up noise, since they are both fairly high impedance points.

You can reduce electrostatic pickup by screening : experimentally, surround the amp with tinfoil (and ground the tinfoil to the amp's ground)

\$\endgroup\$
2
  • \$\begingroup\$ Yes, after 128 samples I'm changing gain and save data to SD card. The "sine" wave is indeed about 50Hz. The signal shown in the image is done with the input short to the ground. \$\endgroup\$
    – Chris
    Dec 3, 2013 at 20:43
  • 1
    \$\begingroup\$ yikes! if that is really neutral, not ground, then the first thing to try is an isolating transformer! And I withdraw my suggestion of connecting any metal shielding to it! Neutral will be relatively noisy, entirely apart from the safety aspects. \$\endgroup\$
    – user16324
    Dec 3, 2013 at 21:13
5
\$\begingroup\$

Add power supply decoupling caps to all IC's as near to its power pins as possible. A good value is usually 100nF, but you may want to double check the datasheet for the various chips you used. Saving money by leaving decoupling caps out is a bad design choice. Caps are cheap and troubleshooting/redesign time is expensive.

\$\endgroup\$
1
  • 1
    \$\begingroup\$ Well, I didn't skip the caps to save money, obviously they are dirt cheap, I did it to save space and PCB complexity. Besides, the manufacturer is advertising it's IC as "No external capacitors required". Although, maybe I should have added some just to be sure. \$\endgroup\$
    – Chris
    Dec 4, 2013 at 9:56
3
\$\begingroup\$

Although I can't tell from your plots what is going on, I would suggest the following.

Any time you build an amplifier circuit, such as yours, it is extremely wise to provide some high frequency feedback. To do this, place a small cap across R21. Typically 10 pF is enough. This will create a low pass response at Omega = 1/(R21*C), but that typically isn't a problem.

You need this cap to counter act the parasitic capacitance on the non-inverting terminal.

\$\endgroup\$
3
\$\begingroup\$

Why are you using such a HUGE value for R21 ?

A value this size will ensure that your circuit is very noisy and very obviously so with Av = 1000. A more realistic value for R21 would be 10k, although you would then need to consider the FET on resistances in calculating gain.

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.