Don’t Let Ground’s Non-Ideal Nature Get In The Way Of Your Design

May 5, 2011
How to track down ground problems in electronic circuits.

1 of Enlarge image
 

Fig 1. This layout of an op amp in a SOT-23 package highlights the location of bypass capacitors.

Fig 2. This PCB layout includes two inputs to two separate op amps feeding a multiplexer. The green dashed lines show an example path that signals take through the ground plane back to the ground pins of the input connector. The longer the green dashes, the higher the concentration of ground current.

Fig 3. Cut-outs in the ground plane eliminate any crosstalk between the return ground paths of input A and input B.

Ground is supposed to be ideal. It should be a black hole for stray currents where the voltage is always zero. Unfortunately, those stray currents travel through some non-superconducting material, so small voltages arise. You may not notice small changes in ground potential. Instead, you may notice surplus noise or instability or other unwanted attributes in your system.

Every circuit is unique, and grounding paths are different for every device on your board and in your system. Therefore, an intuitive approach can give you a feel for the paths that currents choose to travel and how that affects the ideal assumption of ground being 0 V.

First, remember that circuits are only complete when current has a complete path to travel. (That is why a switch can be placed anywhere along that path to interrupt flow and function.) The power supply creates a potential difference, a push, for the current if a path exists for it to travel.

Assuming a single-supply system, it’s natural for us to ensure that the positive supply connection is as short and clean as possible. We add bypass capacitors, sometimes multiple values and types of bypass capacitors, to filter the power-supply voltage where it enters every critical chip. Then, since there is a ground pin on our IC, we dutifully hook it to a grounded wire or ground plane. For many of us, that’s the last we think about ground—unless there’s a problem.

Applying Solutions

One of the common methods for tracking down a problem is to probe important nodes in the circuit with a digital multimeter (DMM). If that doesn’t illuminate the problem, try probing ground in a variety of places. You might be surprised with what you find.

The ground in a system is quite like the ground we find in nature. There are holes from burrowing animals as well as a variety of materials like sand, clay, soil, and types of rock. The consistency and structure of the materials affects how things like water, animals, and tree roots travel through the ground. All three of these travelers choose the path of least resistance. They naturally avoid, or travel around, obstacles in their path.

In circuits, many factors can affect flow in the ground plane—for example, the purity of the metal comprising the plane and the consistency with which is it applied to the printed-circuit board (PCB). There are vias connecting to or through the ground plane. There also are currents from other ICs making their way through ground to the power supply.

Ever wonder why we place bypass capacitors as close to the IC as possible? It’s because the placement provides a high-frequency path to short any high frequencies that may exist or even be gathered on the power-supply line. (A copper wire is a fine dipole antenna. The frequencies it picks up depend greatly on the length of the trace and/or wire.)

Earlier we referenced the practice of probing nodes with a DMM. When referring to the placement of bypass capacitors, it would be more revealing to probe with an oscilloscope. Not only will you find frequencies that circulate in your system, you also will likely find signals from local radio stations or one of the many wireless transmissions surrounding our everyday lives. These are the signals that couple in through longer traces and wreak havoc on the operations of our systems. Not only do they exist on power-supply lines, they circulate in the ground, too.

Tracing The Paths

Figure 1 shows an example of bypass capacitor placement. The SOT-23 package pads in the center will hold an op amp. A bypass capacitor is connected on each of the dual supply pins. Notice that the opposite sides of the capacitors are connected to ground. The ground connection is not a long wire eventually connecting to the ground plane. Instead, a large rectangle of top layer metal allows high-frequency currents to easily coast through two nearby vias to the ground plane.

Once the unwanted signals reach the ground plane, they don’t magically disappear. They continue to travel through the ground plane. During this journey, they can couple into other signals in the system and affect more than just the IC with the long trace.

To see how the current travels, refer to Figure 2. You’ll notice that the op-amp layout in Figure 1 is duplicated twice on the inputs of the circuit in Figure 2. We now follow the current through the ground connection we highlighted as a common connection between the bypass capacitors in Figure 1. Most of the current takes a direct path to the ground pins of the input connector.

However, notice how the density of the current spreads. It travels in a wider arc that you might imagine. Now superimpose the paths of signals through every other ground via back to the connector grounds. (If we tried to draw them all on another figure, it would look more like fireworks.) That is how signals from one IC couple to another and how interference signals can couple into every part of your system.

Notice that two characteristics will affect the spreading of the current and the shape of the return path. The first is distance. The drive to make consumer products smaller greatly helps with this aspect. However, as the PCBs get smaller, the devices get closer together. Distance is reduced, but now the multiple ground return paths are closer together. When the fringes of current overlap, the signals intertwine.

What can we do? Careful layout is a must. Keep high-frequency circuitry as compact as possible. You might even choose to isolate these devices with metal traces or cuts in ground planes. Figure 3 gives you an example. The return current of input A no longer overlaps with the return current of input B.

In this case, knowing the nonideal nature of ground allows us to improve the operation of our system. A full ground “plane” will not work as well as one with cuts to guide the return current. If we had assumed ground was ideal, we would have not have been able to make this improvement.

Sponsored Recommendations

What are the Important Considerations when Assessing Cobot Safety?

April 16, 2024
A review of the requirements of ISO/TS 15066 and how they fit in with ISO 10218-1 and 10218-2 a consideration the complexities of collaboration.

Wire & Cable Cutting Digi-Spool® Service

April 16, 2024
Explore DigiKey’s Digi-Spool® professional cutting service for efficient and precise wire and cable management. Custom-cut to your exact specifications for a variety of cable ...

DigiKey Factory Tomorrow Season 3: Sustainable Manufacturing

April 16, 2024
Industry 4.0 is helping manufacturers develop and integrate technologies such as AI, edge computing and connectivity for the factories of tomorrow. Learn more at DigiKey today...

Connectivity – The Backbone of Sustainable Automation

April 16, 2024
Advanced interfaces for signals, data, and electrical power are essential. They help save resources and costs when networking production equipment.

Comments

To join the conversation, and become an exclusive member of Electronic Design, create an account today!