High Speed PCB Layout
High Speed PCB Layout
High Speed PCB Layout
Scenario: You have spent several days, no maybe weeks, perfecting a design on paper and also using Spice to ensure the design exceeds all expectations. You hand the schematic to your layout person who puts all everything on a printed circuit board (PCB). The PCB comes back in a week or two and is finally populated and ready to test. But it doesnt work!!!! Why not? On paper it works!! Spice said it works!! But it doesnt work!! This scenario happens more often than not and the reason many circuits do not work as expected is due primarily to the PCB layout. This section looks at some key fundamentals of high speed PCB layout techniques so that hopefully the above scenario will never happen to you.
PCB Components
Component: Copper Traces Purpose: Interconnect two or more points Problem: Inductance and Capacitance
r h w t
x = length of trace (cm) w = width of trace (cm) h = height of trace (cm) t = thickness of trace (cm) er = PCB Permeability
Z 0 ( ) = 31.6
L(nH) C(pF)
0.8mm (0.031) trace on 0.8mm (0.031) thick PCB (FR-4) has: 4nH and 0.8pF per cm er = PCB material permeability (FR-4 4.5) 10nH and 2.0pF per inch
The PCB consists of layers of metal and insulator and can consist of several layers. Examining some common elements of a PCB will help the reader understand what many people believe is Black Magic. Copper traces are utilized to connect one element node to another node. The shape of these traces determine one very important aspect of a PCB the characteristic inductance, capacitance, and ultimately the characteristic impedance. Resistance is generally ignored as most designs do not carry more than several mA of current and the results can often be negligible. Characteristic impedance (Z0) was covered previously, so this will not be discussed here. But what is important is the inductance and capacitance as determined by the trace dimensions and the PCB dielectric (r). FR-4, probably the most common PCB material used by manufacturers today and has a permeability range normally from 4.0 to 5.0, but 4.5 is often used as a typical permeability. Check with the PCB manufacturer to determine what material they utilize and the associated permeability. NOTE: Reference the book entitled High-Speed Digital Design A Handbook for Black Magic written by Howard Johnson and Martin Graham, 1993, Prentice-Hall, ISBN 0-13-395724-1.
PCB Components
Component: Copper Planes Purpose: Used For Ground Planes and Power Planes Problem: Stray Capacitance on Signal Traces Benefit: Large Bypass Capacitance & Minimal Inductance
w
C(pF)
l
0.0886 r A h
h = separation between planes (cm) A = area of common planes = l*w (cm2) er = PCB Permeability
0.8mm (0.031) thick PCB (FR-4) has: 0.5pF per cm2 32.7pF per inch2
Copper planes are typically found when power planes and ground planes are utilized. Planes make an excellent high frequency capacitor and can often be utilized for high frequency bypassing in complement with traditional capacitors. The use of a solid ground plane is generally preferred over a grid plane. A solid plane minimizes inductance to the absolute minimum which is a desirable trait for high speed signals which includes both Analog and Digital signals. But, as will be discussed later, this plane can cause capacitance problems to sensitive nodes of the circuit. Be aware of all attributes of the circuit and do not blindly use planes everywhere. A side benefit of a solid plane is it becomes a very good thermal conductor and can act as a heat sink to keep thermal levels of all devices minimized. But on the flip side, temperature sensitive components may not want to have the ground plane nearby due to this heat spreading.
PCB Components
Component: Vias Purpose: Interconnect traces on different layers Problem: Inductance and Capacitance
L(nH)
C(pF)
Z 0 ( ) = 31.6 L(nH) C(pF)
h 4h 1 + ln 5 d
0 . 0555 r h d 1 d 2 d1
T p ( ps/cm ) = 31.6 L(nH)C(pF)
0.4mm (0.0157) via with 1.6mm (0.063) thick PCB has 1.2nH 1.6mm (0.063) Clearance hole around 0.8mm (0.031) pad on FR-4 has 0.4pF
4.5)
Vias are utilized to simplify trace routing around other components or when there is a high density of interconnections to be made (i.e. BGA packages). Just as a PCB trace had inductance and capacitance, so to does a via. Generally these elements are ignored as the length of the vias are typically very small relative to the rest of the trace. But, this Can cause issues if the signals are very high frequency (>100MHz) or have energy / harmonics at high frequencies. The easiest way to minimize problems of a via is to simply not use them with signal traces. At the very least it should be minimized. If vias must be used, there are other issues to worry about that will be discussed later.
Current Density
i(A/cm) = IO h 1 D 1+ h
2
h r w t
IO = total signal current (A) h = height of trace (cm) D = distance from trace (cm)
i(A/cm)