Advanced PCB Engineering
Lecture 6:
Advanced Digital Layout and Via Management
University of California, Berkeley
IEEE Student Branch
University of California, Berkeley
IEEE Student Branch
Logistics
University of California, Berkeley
IEEE Student Branch
When is it Digital Design?
University of California, Berkeley
IEEE Student Branch
Single Ended vs Differential vs OD/OC
University of California, Berkeley
IEEE Student Branch
Single-Ended vs Differential Routing
Differential Pairs: two tracks routed in parallel carrying a data signal and its inversion to suppress common mode noise that would affect a high speed signal
Each trace in the pair should have a specific impedance, that impedance enables a certain speed of signal to be transmitted across the diff pair
University of California, Berkeley
IEEE Student Branch
Manhattan Routing
University of California, Berkeley
IEEE Student Branch
Clock Trace Routing
University of California, Berkeley
IEEE Student Branch
Clock Routing Style
We want to divide our clock out to all peripherals without adding excessive loops so we use the Star-Routing style
If we have BGA IC’s using the clock, we can use daisy chain routing
University of California, Berkeley
IEEE Student Branch
Impedance Profiles
University of California, Berkeley
IEEE Student Branch
Setting a Net Class or Trace Impedance Profile
University of California, Berkeley
IEEE Student Branch
Differential Impedance Profiles
Under ‘Type’, we can set Differential/Single
Specify the impedance in ‘Target Impedance’
Specify the precision in ‘Target Tolerance’
University of California, Berkeley
IEEE Student Branch
Microstrip vs Stripline Impedance
University of California, Berkeley
IEEE Student Branch
Bad Diff Routing
Why?
University of California, Berkeley
IEEE Student Branch
Good Diff Routing
University of California, Berkeley
IEEE Student Branch
Length Tuning
University of California, Berkeley
IEEE Student Branch
Length Variation Formula
First, we need the propagation of our signal, while c is a good approximation, this is dependent on you dielectric, generally c/2 is used
From there we can get trace length delay from allowable time delay
For time delay, depends on signal, but generally can use 10% of period
University of California, Berkeley
IEEE Student Branch
Length Match Example
Let’s consider an example where we need to determine the trace length required to achieve a time delay of 1 nanosecond, given a PCB material with a dielectric constant of 4.
FR-4 tends to actually have a Dk of 4.2-4.5
University of California, Berkeley
IEEE Student Branch
SPI Clocking Walkthrough
University of California, Berkeley
IEEE Student Branch
How to Length Tune
University of California, Berkeley
IEEE Student Branch
What if I have series resistors or AC caps in the bus?
University of California, Berkeley
IEEE Student Branch
Length Tuning Shapes
University of California, Berkeley
IEEE Student Branch
Sizing Tuning Loops
University of California, Berkeley
IEEE Student Branch
Spacing Tuning Loops
University of California, Berkeley
IEEE Student Branch
Minimize Crosstalk and Loops
Bad
Bad
University of California, Berkeley
IEEE Student Branch
How Do You Length Match This Bus?
University of California, Berkeley
IEEE Student Branch
University of California, Berkeley
IEEE Student Branch
Why is it important for all data lines in a high speed bus to change the same number of layer and to the same layer
University of California, Berkeley
IEEE Student Branch
Strategic Via Placement to Prevent Crosstalk
Bad
Good
University of California, Berkeley
IEEE Student Branch
BGA Routing
common practice to place the largest BGA component first and use it to start floorplanning the PCB layout
Two escape/fanout methods: dogbone(for larger pitch BGAs) or via-in-pad(for small pitch or impedance controlled BGAs)
The easiest way to manage the power connections into a BGA is to use power rails, typically on one or two plane layers.
University of California, Berkeley
IEEE Student Branch
Why BGA?
Fewer damaged leads—BGA leads consist of solid solder balls, which are less likely to suffer damage during handling.
More leads per unit area
Smaller footprints—BGA packages are usually 20% to 50% smaller than QFP packages
Integrated circuit speed advantages—BGA packages operate well into the microwave frequency spectrum and achieve high electrical performance by using ground planes, ground rings, and power rings in the package construction.
Improved heat dissipation—Because the die is located at the center of the BGA package and most GND and VCC pins are located at the center of the package, the GND and VCC pins are located under the die.
University of California, Berkeley
IEEE Student Branch
BGA-driven Layer Stackup
University of California, Berkeley
IEEE Student Branch
Via-in-pad Design
For via-in-pad, always make sure the via is smaller than the pad itself around 90-75% of pad size is ok
Make sure you don’t tent vias-in-pad or your pads will be covered with solder mask
Vias-in-pad need to be conductive so we will fill with resin or copper and cap with a pad to ensure solder doesn’t drip into the via
University of California, Berkeley
IEEE Student Branch
Via Types
University of California, Berkeley
IEEE Student Branch
Return Paths
University of California, Berkeley
IEEE Student Branch
Board Stack-ups for High Speed
University of California, Berkeley
IEEE Student Branch
Preventing Crosstalk
University of California, Berkeley
IEEE Student Branch
Parasitics
University of California, Berkeley
IEEE Student Branch
Parasitic Inductance
When working with any components that switch quickly, especially switching power supplies, the momentary burst of current from the switching component and the propagating signal along a trace will induce a voltage spike in a nearby trace. A trace with a larger parasitic inductance will experience a larger induced voltage spike. This generally increases bit error rates in digital systems, although in power electronics, this can cause involuntary switching in nearby logic circuits.
Reducing parasitic inductance requires making the equivalent loop area covered by traces as small as possible. The best way to do this is to place the ground plane for critical traces directly above the layer containing your ground plane. (Minimize Ground Loop)
While making layers in your layer stack thinner will decrease the loop area and the parasitic inductance, it will increase parasitic capacitance. Therefore, you need the sweet spot where inductance is minimized and capacitance is minimized
Resistors exhibit parasitic inductance at high frequencies, which can distort signal integrity:
University of California, Berkeley
IEEE Student Branch
Parasitic Resistance
Choose Inductors with low ESR
Short wide traces
Have enough solder on connections, but not too much
University of California, Berkeley
IEEE Student Branch
Questions?
University of California, Berkeley
IEEE Student Branch
Lab Time
University of California, Berkeley
IEEE Student Branch