Analogue, Mixed Signal, LSI


Layout techniques for analog and digital signals

26 February 2003 Analogue, Mixed Signal, LSI

Although the move to digital design is providing significant advances in electronics end products, there will always be a portion of circuit design that interfaces with the analog real world. There are some similarities in layout strategies between these two domains, but the differences can make a circuit layout less than optimum. In this article we discuss the fundamental similarities and differences between analog and digital layout with respect to bypass capacitors, power supply and ground layout, voltage errors, and electromagnetic interference (EMI) due to PCB layout.

Similarities of analog and digital layout practices

Bypass or decoupling capacitors - both analog and digital devices require these types of capacitors. In both cases, devices require a capacitor of around 0,1 µF as close to the power pin(s) as possible. Also, a capacitor of about 10 µF is required at the power supply. The positioning of these capacitors is shown in Figure 1. Their values can vary by a factor of around 10, but both must have short leads and be close to the devices or power supply source respectively.

Figure 1. Positioning of the capacitors
Figure 1. Positioning of the capacitors

Bypass or decoupling capacitors and their placement on the board are common sense for both types of designs, but interestingly enough, for different reasons. In the analog design, bypass capacitors generally redirect high frequency signals on the power supply that would otherwise enter the sensitive analog chip through the power supply pin. Generally speaking, these high frequency signals occur at frequencies beyond the analog device's rejection capability. The possible consequences of not using a bypass capacitor are the addition of undue noise to the signal path and, worse yet, oscillation.

Decoupling capacitors are also required for digital devices, but for different reasons. One of these is to serve as a 'mini' charge reservoir. A great deal of current is often required in digital circuits to execute the transitions of the changing gate states. Therefore, having additional charge 'on call' is an advantage. The consequence of not having enough charge locally to execute this switching action could be a significant change in the power supply voltage. When the voltage change is too large, it will cause the digital signal level to go into the indeterminate state, probably resulting in erroneous operation of the state machines in the digital device. The switching current passing through the circuit board traces would cause this change in voltage. These traces have parasitic inductance, and the change in voltage can be calculated using the formula:

V = L ΔI/Δt

Where V = voltage change.

L = board trace inductance.

ΔI = change in current through the trace.

Δt = the time it takes for the current to change.

So for a number of reasons, it is a good idea to bypass (decouple) the power supply at the power supply and at the supply pin of active devices.

* The power and ground should be routed together - when power and ground traces are well matched in terms of location, the opportunities for interference are reduced. If they are not matched, the resulting system loops can produce inexplicable 'noisy' results. An example of a PCB designed with the power and ground traces not matched is shown in Figure 2.

Figure 2. The power and ground traces to the device use different routes on this board. This mismatch opens the opportunity for EMI into the electronics of this board
Figure 2. The power and ground traces to the device use different routes on this board. This mismatch opens the opportunity for EMI into the electronics of this board

The loop area here is 697 cm2. Induced voltages in the loop, from radiated noise on or off the board, can be reduced dramatically using the approach shown in Figure 3.

Figure 3. In this one-layer board, the power trace and ground trace are laid next to each other on their way to the device. The potential for interference to be coupled into the electronics is reduced by 679/12,8, or approximately 54 times
Figure 3. In this one-layer board, the power trace and ground trace are laid next to each other on their way to the device. The potential for interference to be coupled into the electronics is reduced by 679/12,8, or approximately 54 times

Where the domains differ

* Ground planes can be a problem - the fundamentals of circuit board layout apply to both analog and digital circuits. One fundamental rule of thumb is to use uninterrupted ground planes. This common practice reduces the effects of ΔI/Δt in digital circuits, which in turn affects the noise injected into the analog circuits. When mixing digital and analog circuits, the layout techniques are essentially the same, with one important exception. The added precaution that should be taken with mixed-signal circuits is to keep the digital signal lines and return paths in the ground plane as far away from the analog circuitry as possible. This can be done by connecting the analog ground plane separately to the system ground connect or having the analog circuitry at the farthest side of the board, ie, at the end of the line. This ensures that the signal paths receive the minimum amount of interference from external sources. Digital circuitry does not have the same difficulty; it can tolerate a great deal of noise on the ground plane before problems start to appear.

* Location of components - in every PCB design, the noisy and quiet portions of the circuit should be separated as mentioned above. Generally speaking, the digital circuitry is 'rich' with noise and in turn less sensitive to this type of noise (because of the larger voltage noise margins). In contrast, the voltage noise margins of the analog circuitry are much smaller. Of the two domains, the analog domain is most sensitive to switching noise. In the layout of a mixed-signal system, the two domains should be separated - as shown in Figure 4.

Figure 4. If possible: (a) the digital and analog portion of circuits should be separated in order to separate the digital switching activity from the analog circuitry; (b) additionally, the high frequency should be separated from the low frequency, keeping the higher frequency components closer to the board connector
Figure 4. If possible: (a) the digital and analog portion of circuits should be separated in order to separate the digital switching activity from the analog circuitry; (b) additionally, the high frequency should be separated from the low frequency, keeping the higher frequency components closer to the board connector

* Parasitics designed into the PCB - two fundamental parasitic components - capacitors and inductors - can accidentally be designed into the PCB and cause problems. A capacitor is designed into a board simply by placing two traces close to each other; either on top of each other on two layers or side-by-side on the same layer, as shown in Figure 5. In both configurations, changes in voltage with time (ΔV/Δt) on one trace could generate a current on a second trace. If the second trace is high impedance, this current will convert into a voltage.

Figure 5. Capacitors can accidentally be fabricated into a PCB by laying out two traces in close proximity. With this type of capacitor, fast voltage changes on one trace can initiate a current signal in the other trace
Figure 5. Capacitors can accidentally be fabricated into a PCB by laying out two traces in close proximity. With this type of capacitor, fast voltage changes on one trace can initiate a current signal in the other trace

Fast voltage transients are most typically found on the digital side of the mixed signal design. If traces carrying these transients are close to high impedance analog traces, the analog circuitry can be disrupted. This phenomenon can be easily minimised using one of two techniques. The most commonly used is to change the dimensions between the traces as the capacitor equation suggests. The most effective dimension to change is the distance between the two offending traces. As 'd' is increased, the capacitance will decrease. Also, if the length 'L' is reduced the capacitance between the two traces will also be reduced. Another technique is to lay a ground trace between the two offending traces. Not only is the ground trace low impedance, but it will break up the E-fields that are causing the disturbance.

An inductor can be accidentally designed into a board in a similar way to a capacitor, as shown in Figure 6. In both trace configurations, changes in current with time (ΔI/Δt) on one trace could generate a voltage in the second trace and initiate a proportional current. If the voltage change is high enough on the primary trace, the disturbance can reduce the voltage margin of the digital circuitry enough to cause errors. This phenomenon is not necessarily reserved for digital circuits, but is more common in that environment because of the larger, rapidly changing switching currents.

To eliminate potential noise for EMI sources it is best to separate quiet analog lines from noisy I/O ports. Try to implement low impedance power and ground networks, minimise inductance in conductors for digital circuits and minimise capacitive coupling in analog circuits.

Conclusion

When the domains meet, careful layout is critical. Layout strategies usually are presented as rules of thumb because it is difficult to test the success of your final product in a lab environment. So, although there are some similarities in layout strategies between the digital and analog domain, the differences should be recognised.

For more information contact Willem Hijbeek, Tempe Technologies, 011 452 0530, [email protected]

References:

1 Henry W. Ott, Noise Reduction Techniques in Electronic Systems, 2nd ed., Wiley, 1998;

2 Ralph Morrison, Noise and Other Interfering Signals, Wiley and Sons, 1992



Credit(s)



Share this article:
Share via emailShare via LinkedInPrint this page

Further reading:

Infineon launches Edge Ai software solution
Altron Arrow Analogue, Mixed Signal, LSI
Infineon has introduced DEEPCRAFT, a new software solution category brand for Edge AI and machine learning, after the company recognised the huge potential of Edge AI for the market.

Read more...
16-bit voltage output denseDAC
Altron Arrow Analogue, Mixed Signal, LSI
The AD5766 uses a versatile four-wire serial interface that operates at clock rates of up to 50 MHz for write mode, and is compatible with SPI, QSPI, MICROWIRE, and DSP interface standards.

Read more...
AFE enables the software-defined factory
Avnet Silica Analogue, Mixed Signal, LSI
With its software configurable analogue inputs, where each input can be configured for voltage, current, resistance, or temperature, NXP’s N-AFE enables a new level of flexibility.

Read more...
Precision voltage reference
Altron Arrow Analogue, Mixed Signal, LSI
The ADR1001 is a fully integrated, ultra-low drift, buried Zener precision voltage reference solution in a single chip.

Read more...
Microphones enable low-power always-on state
Avnet Abacus Analogue, Mixed Signal, LSI
TDK Corporation has announced its InvenSense SmartSound T5848 I2S microphones to enable intelligent keyword, voice command, and sound detection at ultra-low power.

Read more...
Low power, low-noise amplifier
Altron Arrow Analogue, Mixed Signal, LSI
The ADL8141 is a low power consumption, low-noise amplifier that operates from 14 to 24 GHz, and draws a supply current of 25 mA from a 2 V supply.

Read more...
QLC Flash memory with the latest BiCS technology
EBV Electrolink Analogue, Mixed Signal, LSI
KIOXIA has implemented the groundbreaking CBA (CMOS directly Bonded to Array) technology, which enables the creation of higher density devices and an industry-leading interface speed of 3,6nbsp;Gbps.

Read more...
Precision op-amp
Altron Arrow Analogue, Mixed Signal, LSI
The ADA4099-1 and ADA4099-2 are single/dual robust, precision, rail-to-rail input/output operational amplifiers with inputs that operate from -VS to +VS and beyond, which is referred to as Over-The-Top.

Read more...
Using linear regulators as a filter
Altron Arrow Editor's Choice Analogue, Mixed Signal, LSI
Different circuits can be used to filter a supply voltage, and this article explains the main differences between using an LC filter and a linear regulator for filtering.

Read more...
High-speed PIN diode
Altron Arrow Analogue, Mixed Signal, LSI
Vishay’s new high-speed Silicon PIN diode is able to detect both visible and near infra-red radiation over a wide spectrum range from 350 to 1100 nm.

Read more...