Editor's Choice


Designing high-speed PCBs using four layers

18 July 2018 Editor's Choice Manufacturing / Production Technology, Hardware & Services

There is an ever-growing demand for high-performance electronics products to use printed circuit boards (PCBs) with an absolute minimum layer count. When the luxury of many signal and power layers are available to a PCB designer, there is far more flexibility to route the signals and to deliver multiple rails of power to support these very high-speed signals and processors.

In a four-layer PCB, this task is especially challenging due to the limited number of power and signal layers available to the designer.

Much research has been done and many papers have been published stating that it is necessary to have closely spaced power and ground planes in order to provide power plane capacitance to supply switching current at very high speeds to wide parallel buses such as PCI and DDR. Yet, these same buses function properly in four-layer PCBs that do not have any detectable interplane capacitance. Examples of products that function at very high data rates with four-layer PCBs are most desktop PCs as well as high-performance game consoles such as the Microsoft XBOX 1.

Figure 1. A typical four-layer PCB stackup.
Figure 1. A typical four-layer PCB stackup.

Figure 1 illustrates a typical stackup of a four-layer PCB with the planes L2 and L3 close to the outer layers, so that the signals on the two outer layers have correct desired impedances. Because of this build up, the distance between the two planes is fairly large, in this case 48 mils (1,2 mm). But to create any useful plane capacitance, the plane separation must be less than 4 mils (0,1 mm). So the question arises: how can a high-speed design work with such a stackup?

The design problem

The problem that first arises when a high-speed design does not have adequate interplane capacitance to support the switching-current transients associated with modern logic systems, is EMI failure due to the high-frequency energy radiating from the product. If the lack of capacitance is severe, logic failures can also appear.

Figure 2. A typical series terminated CMOS logic signal.
Figure 2. A typical series terminated CMOS logic signal.

To understand the source of this problem, it is useful to examine what occurs when high data rate signals switch from a logic 0 to a logic 1. Most CMOS logic signals are series terminated as shown in Figure 2.

When a logic state switches from 0 to 1, there is a requirement for current or charge from the power supply system. Figure 3 shows the voltage waveforms at the driver output (red) and at the load or input (yellow) for the circuit in Figure 2. As the signal travels down the transmission line, its parasitic capacitance is charged up to VDD by transferring charge from the power system capacitance to the line capacitance.

Figure 3. Switching voltage waveforms for the circuit in Figure 2.
Figure 3. Switching voltage waveforms for the circuit in Figure 2.

Figure 4. Switching voltage and current waveforms when going from logic 0 to logic 1.
Figure 4. Switching voltage and current waveforms when going from logic 0 to logic 1.

The diagram in Figure 4 is the current waveform that must be supplied by the power distribution system (PDS). To understand the frequencies that make up the current waveform in Figure 4, one must convert from the time domain to the frequency domain, and this is accomplished by using a Fourier transform. Figure 5 shows a Fourier transform of the switching waveform for the circuit in Figure 2 which has a clock frequency of 30 MHz.

Figure 5. Fourier transform of the current waveform in Figure 4.
Figure 5. Fourier transform of the current waveform in Figure 4.

The red waveform at the top of Figure 5 is the current waveform, with the positive-going excursion illustrating the current being drawn from the PDS when switching from 0 to 1, and the negative-going excursion illustrating the charge being removed from the parasitic capacitance of the line while switching from 1 to 0. Notice that the first frequency is about 85 MHz, it is not a harmonic of the 30 MHz clock frequency, and there are no harmonics of the 30 MHz clock frequency in the spectrum.

Traditional EMI rules suggest that EMI is a function of clock frequency, however the transform in Figure 5 shows that this is not true. The events that make up the frequency spectrum in Figure 5 are as follows: the lowest frequency in the spectrum will be set by the round trip delay of the transmission line, and the highest frequency will be set by the rise time of the signal.

Those who have experienced EMI failures may recognise the spectrum in Figure 5. The reason is, if the PDS capacitance is not capable of supplying this charge, there will be voltage variations (ripple) on VDD with this frequency spectrum. Any CMOS output that is at a logic 1 shorts its transmission line to VDD, hence these variations will appear on that line. If this line exits the product it will quite simply serve as an antenna, radiating its energy into space and thus causing the EMI failure.

Solving the EMI problem

The PDS will need to be redesigned if an EMI problem such as above occurs when providing the charge needed at the frequencies involved in the switching event. This means that physical capacitors with sufficient capacity must be added to the PDS so that when charge is drawn from them to support the switching activity, the drop in voltage (ripple) is small enough to eliminate the EMI problem.

If a system fails EMI, this is a red flag that the power delivery system does not have enough of the right kinds of capacitors to support the switching events during normal operation.

The frequency at which a capacitor is useful as a source of charge is determined by its value and the parasitic inductance inherent in connecting it to the PDS. The problem we have is that all real capacitors perform at a narrow band of frequencies limited by the parasitic inductance inherent in their design, in addition to the inductance added when connecting these capacitors to the power planes in the PDS.

Figure 6. Equivalent circuit of a capacitor.
Figure 6. Equivalent circuit of a capacitor.

Figure 6 shows the equivalent circuit of a typical capacitor. Notice that there are three components involved: ESL is the equivalent series inductance of the capacitor (to which the inductance of the mounting structure must be added); ESR is the equivalent series resistance of the capacitor (and its mounting structure) and C is the capacitor itself. This combination is often called a series-resonant circuit.

Figure 7. Impedance vs. frequency of the capacitor in Figure 6.
Figure 7. Impedance vs. frequency of the capacitor in Figure 6.

Figure 7 is the impedance vs. frequency of the capacitor in Figure 6. Notice that at both low and high frequencies the impedance is very high. The bottom of the curve is called series resonance. At the one frequency the reactance of the inductance and the capacitance cancel each other and the resultant impedance is the ESR or equivalent series resistance. It is at this frequency that it is easiest to deposit charge onto the capacitor and extract it to support the switching events. At values above and below the series resonance, the capacitor is unable to participate in the switching activities.

For the 1 μF, 0,1 μF and 0,01 μF capacitors commonly specified in most applications notes from IC manufacturers, analysis of the impedance vs. frequency plots shows that the 1 μF capacitor is series resonant at about 5 MHz, the 0,1 μF capacitor is series resonant at about 18 MHz and the 0,01 μF capacitor is series resonant at about 40 MHz. These frequencies are applicable to the capacitors before they are mounted onto a PCB. The mounting structures necessary to connect them to the power planes will add additional inductance, driving the series resonant frequencies even lower.

None of the commonly specified capacitors are capable of supplying the frequencies seen in Figure 5, resulting is excessive ripple on VDD, hence possible EMI problems.

Solving the inadequately performing capacitor problem

The foregoing discussion has shown that the capacitors usually specified in application notes cannot provide the high-frequency switching currents required by high-speed logic circuits.

In a presentation entitled ‘Power Bus Decoupling on Multilayer PCBs (by Todd Hubing, et al, IEEE Transactions on Electromagnetic Compatibility, Vol 7, Number 2, May 1995) “it was shown that the solution was to add interplane capacitance to the PCB to supply the charge needed by fast switching circuits.

“Why does interplane capacitance work when discrete capacitors do not? The answer is that the parasitic inductance of closely spaced plane pairs is far lower than what discrete capacitors can achieve. As a result of this observation, PDS engineers have been designing PCB stackups to guarantee enough interplane capacitance to support all the fast switching events in a design.”

Referring back to Figure 1 it can be seen that the two planes are so far apart that there is little if any interplane capacitance.

How, then, can such a stackup support very fast switching events on buses such as DDR and PCI?

Actually, processor and memory IC manufacturers such as Intel and AMD have known about this problem for a very long time. And they have solved the issue by providing the needed capacitance to support these switching events on the IC package and on the die itself. One needs to consult

the IC data sheets and applications notes in order to determine whether or not such capacitance has been provided in the devices themselves.

Most of the other suppliers of ICs such as FPGAs have not done this. As a result, designs containing these types of ICs will not work on a four-layer PCB. Recently, however, some of the FPGA manufacturers have begun to add capacitors in the die and package so as to make their devices function better on four-layer PCBs.

Figure 8 shows the stackup of a typical six-layer PCB. The left image depicts the stackup as originally designed, where the product failed EMI tests due to a lack of interplane capacitance. The right image depicts the same stackup after adding copper fill in the unused areas of the four signal layers.

Figure 8. Six-layer PCB stackup before and after adding signal layer fill.
Figure 8. Six-layer PCB stackup before and after adding signal layer fill.

Figure 9 shows the artwork for the six layers with the signal layer fill added. The copper fills applied to each of the four signal layers are in turn attached to appropriate power rails, so that the copper fill power plane is close to an opposite polarity power rail on the adjacent PCB layer, thus creating an interplane capacitor that was not there before. In this way we have created five capacitors as shown on the right side of Figure 8, as opposed to only one as shown on the left side of Figure 8. The result could possibly be an increase in plane capacitance from only 0,5 nF to more than 4 nF.

Figure 9. Six-layer PCB artwork layers showing signal layer fill.
Figure 9. Six-layer PCB artwork layers showing signal layer fill.

Figure 10 depicts the before and after results of an EMI scan of the PCB shown in Figure 9. The blue frequencies show the EMI before adding the signal layer copper fill shown in Figure 8 and the red frequencies are the EMI after adding the signal layer copper fill.

Figure 10. Before and after EMI scan for the PCB in Figure 8.
Figure 10. Before and after EMI scan for the PCB in Figure 8.

Some caution needs to be exercised though when applying this kind of signal layer copper fill. Notice that in Layer 3 the added copper fill is adjacent to signals in Layer 4. Clearly, this will alter the impedance of the trace in L4, sometimes to such as extent that it may create a signal integrity problem. Hence, if impedance matching is important on a trace or group of traces, one should rather avoid filling the adjacent layer with copper.

Caveats when designing high-speed four- or six-layer PCBs

The interplane capacitance associated with closely spaced power and ground pairs provides a very low impedance between the two layers. When a stackup has multiple power and ground layer pairs, all of the ground layers will be connected to each other wherever there is an interconnecting component ground pin.

Each VDD plane is effectively connected to its respective ground layer with the interplane capacitance, such that all of the planes are connected to each other at the AC frequencies contained in the switching signals. It is thus possible to change signal layers when routing, without a concern that the return currents will have a path from plane to plane. Similarly, when a signal crosses a split in a VDD plane (such as to accommodate two or more VDD voltages in the same plane), there won’t be a problem.

Please note that in a four-layer PCB with no plane capacitor, this does not apply. In this case, in order to have a continuous path for the return current, the signal traces must begin and end on the same layer and they must not cross any plane splits.

Summary

By following these carefully created guidelines, it is indeed possible to replace high-layer-count PCBs with four-layer PCBs. And for today’s high-speed and high-performance electronics product demands, this solution can be a much more efficient and cost-effective approach.



Credit(s)



Share this article:
Share via emailShare via LinkedInPrint this page

Further reading:

The ‘magic’ of photovoltaic cells
Editor's Choice
Everyone knows that solar generation converts sunlight to electricity, but what comprises a solar panel, and how do they actually work?

Read more...
Analysis of switch-mode power supply: inductor violations
Altron Arrow Editor's Choice Power Electronics / Power Management
Common switch-mode power supply (SMPS) design errors are discussed, and their appropriate rectification is specified, with details on complications that arise with the power stage design of DC-DC switching regulators.

Read more...
Bridging the gap between MCUs and MPUs
Future Electronics Editor's Choice AI & ML
The Renesas RA8 series microcontrollers feature Arm Helium technology, which boosts the performance of DSP functions and of AI and machine learning algorithms.

Read more...
Accelerating the commercialisation of the 5G IoT markets
Altron Arrow Editor's Choice Telecoms, Datacoms, Wireless, IoT
Fibocom unveils Non-Terrestrial Networks (NTN) module MA510-GL, enabling satellite and cellular connectivity to IoT applications.

Read more...
Hardware architectural options for artificial intelligence systems
NuVision Electronics Editor's Choice AI & ML
With smart sensors creating data at an ever-increasing rate, it is becoming exponentially more difficult to consume and make sense of the data to extract relevant insight. This is providing the impetus behind the rapidly developing field of artificial intelligence.

Read more...
Demystifying quantum
Editor's Choice
Quantum, often called quantum mechanics, deals with the granular and fuzzy nature of the universe, and the physical behaviour of its smallest particles.

Read more...
Service excellence with attention to detail
Deman Manufacturing Editor's Choice
The vision of industry pioneers Hugo de Bruyn and Charles Hauman led to the birth of Deman Manufacturing, a company that sets new standards for innovation and performance within the industry.

Read more...
What is an RF connector?
Spectrum Concepts Editor's Choice Interconnection
If you look across the broader electromagnetic spectrum, the selection of the 3 kHz to 300 GHz frequency range for RF signals is a result of a balance between propagation characteristics, data transmission requirements, regulatory allocations, and the compatibility of electronic components and devices.

Read more...
Make your small asset tracker last longer
Altron Arrow Editor's Choice Power Electronics / Power Management
This design solution reviews a typical asset tracking solution, and shows how the MAX3864x nanopower buck converter family, with its high efficiency and small size, enables longer battery life in small portables.

Read more...
The power of Matter
Editor's Choice Telecoms, Datacoms, Wireless, IoT
Matter offers a reliable, secure, seamless way to interconnect devices from different manufacturers, allowing a new level of interoperability to be enjoyed.

Read more...