Advertisement

Blog

Looking for Trouble in All the Wrong Places

Editor’s note: The column, “Rarely Asked Questions: Strange but true stories from the call logs of Analog Devices,” will be published monthly in Planet Analog for your learning enjoyment. Here is the first installment.

Technological troubleshooting, insight and ideas from the experts at Analog Devices to help solve your real-world application challenges.

Q: I see a lot of ringing and overshoot at the output of my amplifier. I’ve followed the data sheet guidelines and think that the layout is clean. What could I be doing wrong?

A: This is the type of problem that perplexes and frustrates us. Engineering is a science, so the result of doing A and B should be C. If you’ve been designing circuits for a while, you know that engineering is also an art. Bob Pease, God rest his soul, sent me an autographed copy of his book Troubleshooting Analog Circuits. He inscribed it with: “May all your troubles be middle sized so you can find them.” I have always liked this quote, and wish that it could always be true.

This engineer had read the data sheet. It’s always a good start, but you’d be surprised by how many times it doesn’t happen. So we started to delve into the problem. The first thing we looked at was the schematic, “eyeballs in motion” as a former colleague called it. We looked for the usual suspects: amplifier noise gain, bypass capacitors, load, and supply voltages. Why these?

The noise gain determines the amplifier’s stability. If the phase margin is low, the output can ring and overshoot. Bypass capacitors keep noise out of the amplifier and store charge right at the power supply pins. This is especially important when the amplifier needs a stiff supply with ample current, because its output is changing rapidly. If the power supply voltage changes while the output is slewing, the variation will surely find its way to the output. The load can cause problems if the capacitance or inductance gets too big, or if the load resistance gets too small. The performance of some amplifiers degrades when supply voltages get too big or small, so check the supply voltages against those shown in the data sheet.

If all those look good, what do you do? More troubleshooting. Next, we looked at the layout. Were there long traces with parasitic inductance? Were any bypass capacitors far from the supply pins, allowing parasitic inductance to form a tank circuit with the capacitors? Did the ground plane creep under the input and output pins, forming parasitic capacitors that could lead to ringing and overshoot? In this case, the layout looked good as well.

Ok, what next? How were they testing it? Was the input clean, and was it properly terminated? The engineer saw a little ringing on the input, but not much. As we all know, garbage in equals garbage out, so we tried to clean up the input. It was properly terminated, so we swapped generators to see if that was the problem. The new generator was a little better, but the input and output were still ringing. Then the light bulb went off. I asked the engineer if he was using a cable or scope probe to check the signal. He was using a scope probe, so I asked if it had a ground clip. It did, and it was about 3 inches long. I guessed that this was the problem, and instructed him to remove the clip lead, unscrew the plastic barrel that covered the probe tip, and to use the metal liner of the scope probe to pick up the ground close to the signal. When he did this, the ringing disappeared. Voila! So what was going on?

The ground clip had series inductance, the probe had capacitance, and the traces at the probe site had parasitic capacitance. The capacitance and inductance formed a tank circuit that oscillated when energized by fast rising edges from the circuit, causing ringing and overshoot on the input and output. Another tip: always calibrate the scope probe before making measurements, as this can help reduce the peaking too. Another case closed!

Troubleshooting is a methodical approach to finding a problem, but there’s also an art to it. Looking for trouble in all the wrong places eventually leads you to the right place!

I invite you to comment on Troubleshooting in the Analog Dialogue Community on EngineerZone.

Related posts:

— John Ardizzoni [john.ardizzoni@analog.com], a former designer and applications engineer, is currently a product manager in the Linear Products Group. John joined Analog Devices in 2002, and received his BSEE from Merrimack College in North Andover, Mass. He has over 30 years’ experience in the electronics industry.

7 comments on “Looking for Trouble in All the Wrong Places

  1. geek
    March 28, 2014

    “Troubleshooting is a methodical approach to finding a problem, but there's also an art to it. Looking for trouble in all the wrong places eventually leads you to the right place!”

    From my experience as a support engineer in the software world, there are two approaches that you can take while troubleshooting a software. One is to start with the symptom and analyze it while gradually moving up. The other is to have a holistic approach where you test everything regardless of where the symptom is occuring. While the latter takes a lot of time and effort, it is more effective in the long run as it also takes care of potential issues that may have risen in the future.

  2. Netcrawl
    March 29, 2014

    Good point @tzubair, troubleshooting is a systematic approach in solving or fixing specific problem, the first step in troubleshooting is to describe and understand the problem completely. We need to know where to start and what causes the problem. Determining where the problem really originates is not an easy task but its one of the most important things in solving problem. Our main goal here is to determine why something does not work as expected and find out any possible solutions for that problem.   

  3. geek
    March 30, 2014

    “Our main goal here is to determine why something does not work as expected and find out any possible solutions for that problem.”

    @Netcrawl: I think for this reason many companies lay so much emphasis on quality control techniques like TQM or Six Sigma. That takes care of the fact that you don't fix the problems, you fix the causes of the problem and lead your system to be of a higher quality in the long-run.

  4. chirshadblog
    March 30, 2014

    @tzubair: IMO I feel many companies are not willing to take the next step and go ahead by taking a risk. Many are focusing on short term goals right now to stay in the market which is wrong 

  5. etnapowers
    March 31, 2014

    “The performance of some amplifiers degrades when supply voltages get too big or small, so check the supply voltages against those shown in the data sheet.”

     

    This is really a common issue when working with amplifiers, the supply voltage value and driving capability of the feed lines in terms of rise time, and fall time is really an aspect you would not consider at all if you have a theoretical knowledge of amplifiers but it's a pratical issue to be solved.

  6. Davidled
    April 1, 2014

    ->One is to start with the symptom and anlalyze it while gradually moving up

    I wonder whether it is possible that more detail is described as adding a specific s/w tool, actual method analytical graphic or flowchart used in the project.

  7. RedDerek
    April 9, 2014

    Design from the back to the front. Then trouble shoot the probem from the front to the back. Simple attack method I use.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.