Get a Quick Online Quote: Register or Login

High-Speed Circuit Design for Modern Circuitry

Fundamentals of Signal Integrity at Various Frequencies

Tips and tricks for applications of all speeds, from 1MHz to gigabit level.

How do you know a high-speed design application from an ordinary one? What qualifies as high-speed and when do you actually need to ramp up on design rigor?

With CAD tools available to help enforce design rules and the internet at our fingertips, PCB designers may implement “best practice” techniques without truly understanding their importance. They may also be missing some less common, very powerful, and effective techniques as well.

The content of this article targets a broad range of designers and runs the gamut of lower-speed designs up to gigabit-level speeds. We’ll go over board-level tips and tricks but also explain why these tips are important and the nature of the physics behind them. Whether you’re designing with simple I2C or gigabit ethernet, there’s something to be gained by considering even the simplest additions to your design.

Throughout, we’ll explore the common themes throughout all speed applications and the best practices that could extend beyond board-level traces and planes.

Let’s start on the slower end and work our way up.

pcdand 0924 cover highspeed This article was published in PCD&F magazine. View the issue online here

Low-Medium Speeds (1MHz – 100Mhz)

Any competent PCB design should understand the relationship that clock and data frequencies have with a PCB’s physical characteristics, which includes when to increase design rigor. Simple serial interfaces (including single-ended and differential) can produce signal integrity issues if laid out incorrectly, so it’s important to understand the fundamentals of signal integrity, even at these lower speeds.

Here’s a list of common, industry-standard interfaces that warrant special consideration when performing PCB layout. Note that the clock or bus frequency is what we are looking at here, not necessarily the data rate. The table below should indicate where your design sensitivity might sit concerning these rising and falling edges for lower speeds.

1MHz or less 1-50MHz 50-100MHz

I2C

USB Full Speed

Octo-SPI

UART (typical)

SD (default/high speed)

SD Ultra High Speed (UHS)

I2S (depending on sampling rate)

 

 

CAN

 
 

Ethernet (10BASE-T)

 
 

SPI

 

Ethernet (100BASE-T)

 

LVDS

 

PCI

 

RS485

Some of the protocols described above have good protocol-layer protection and can help improve data integrity (not necessarily signal integrity). CAN is a good example of this, given its failure detection mechanisms.

But let’s look at some of the physical signal integrity issues we might encounter at these lower speeds.

Transmission Line Effects and Propagation Delays

For circuit boards including a serial or parallel bus, there is a typical minimum speed (threshold frequency) at which a designer should consider transmission line effects such as reflections, EMI cross-talk, and other issues, based on the physical length of the signal path (and a few other things). A widely accepted, general rule of thumb is 1/10th of the signal wavelength, but let’s explore that a bit.

Consider the equation: λ = wv / f

Signal wavelength (λ) = signal propagation speed (wv or wave velocity) / frequency (f)

On a PCB, propagation speed is impacted by many things including parasitic capacitances, impedance mismatches, and reflections. But assuming our example contains a well-laid out circuit with minimal issues, the dielectric material effect but can be approximated by:

wv = c / √(ε)

Propagation speed (wv) = speed of light (c) / square root of the relative permittivity of FR4 dielectric material (around 4.5).

This equates to:

wv = 3x108m/s / √(4.5) = 1.42x108m/s.

Let’s say we’re staying within a rather large, 10”x10” PCB design. Consider 20cm (~8”) as a typical trace length of an I2C or UART bus. If we’re estimating the frequency associated with a 1/10th wavelength, then we end up with:

λ = wv / (f*10) → f = wv / (λ*10)

f = (1.42x108m/s / 10*0.2m) = 71MHz

See the image below, indicating a design containing an I2C bus and a total signal length of over 17 inches. A designer might run a sanity check on this to make sure they’re still within a reasonable margin of seeing reflections and cross-talk.

circuit board i2c frequency limit
Circuit board design highlighting “SCK” signal. Calculating frequency limitations for I2C bus stretching over 17 inches (f = (1.42x108m/s / 10*0.43m) = 33MHz)). This is much higher than the expected data frequency which may be up to 1MHz

These 33MHz and 71MHz estimated threshold values fall within our 1-100MHz table including SPI, SD, and RS485 applications operating at higher speeds and are well out of reach from slower protocols such as I2C. As pointed out in the above walk-through other parameters can impact propagation speeds and greatly impact this threshold frequency if best practice is not followed. That includes impedance matching and some other tips included in this article.

Implementing the following design choices to applications, including the slower speeds (1MHz-50MHz), can help keep propagation delays to a minimum as well as avoid cross-talk and typical EMI issues:

  • Using the “star” topology in an I2C application (and slower SPI speeds) is a myth and shouldn’t have any major impact on signal integrity, as shown in the calculations above. If the bus isn’t operating above the 50MHz range, then bus reflections likely won’t occur. At some point, it does matter and you’ll want to try to avoid a “star” topology when laying out a communication interface. It’s better to “snake” a bus around a PCB starting with the master or host at one end and the slave devices connected along the path rather than branching out in too many different locations.

    daisy chaining star topologies
    Daisy chaining (left) and star (right) topologies

  • Routing traces alongside a PCB edge increases your chances of EMI susceptibility from nearby, off-board radiators. Keep your buses protected and if needed, establish a grounding barrier with vias to help keep EMI off your board edges.

    emi sensitive design pcb
    Example of an EMI-sensitive design containing a signal routed on the outer edge of a PCB. This should be moved off of the board edge and routed through the polygon pour

  • Limit the amount of vias used when routing signals from one layer to the next. In this speed range, it’s best to limit the amount of vias (per signal) to no more than three.

  • Pull-up and pull-down resistors typically have a positive effect on signals and help accelerate rise times or fall times while preventing stray signals, though depending on the driving circuit, may require some tuning. This improved propagation timing helps keep delays to a minimum and out of the danger zone with respect to transmission line effects. The value of the pull-up/pull-down resistor is usually specific to the signal and its conditions and often times is recommended by a chip manufacturer or even an IEEE standard.


    Example of a port expander’s I2C bus containing a very typical 2.2kΩ pull-up resistance, while its interrupt signal contains another very standard 10kΩ pull-up resistance.

  • For applications in the 50-100MHz domain that may experience some transmission line reflections, it’s common to slow down the driving signal and dampen the ringing with the placement of a series resistor. This can be done for longer SPI bus layouts where you place a resistor (typically 22-33Ω which typically helps achieve a 50Ω target line impedance) in line with each source. So these resistors would get placed near the MOSI, SCLK, and CS pins at the master end and the MISO pin at each slave’s end.

    Reference link: https://resources.altium.com/p/there-spi-trace-impedance-requirement

    schematic spi bus termination resistors

    impact source termination resistors high speed signal waveform
    Schematic description of SPI bus termination resistors (top) and the impact of source termination resistors on a high-speed signal waveform (bottom)
    Source: https://www.sitime.com/support/resource-library/application-notes/an10002-termination-recommendations-single-ended

High Speeds (100MHz – 1Ghz)

Now that we’ve discussed some of the basic details to consider at lower speeds, let’s kick it up a notch.

Here’s another list of common, industry-standard interfaces that require closer consideration during PCB layout for higher speeds. We will also be focusing a bit more on rise and fall time considerations.

100-500MHz 500MHz-1GHz

DDR1 RAM

DDR2 RAM

PCI-e 1.0

DDR3 RAM

USB (high speed)

 

Ethernet (1000BASE-T)

 

MIPI

HDMI

DisplayPort

With clock and data frequencies operating above 100MHz, a designer must pay close attention to the relationship between rise time and frequency.

In general, a rise or fall time is defined as the transitional period of a signal’s edge, typically making up 10-90% of the edge, and ruling out the first and final 10% zones due to anomalies and differences seen in switching patterns from one device to the next (some have slow roll-off, etc.). A circuit can never support zero rise or fall time, it’s impossible. There will always be some sort of delay in this transition. But the key is that it must support fast enough transitions to not lose valuable information at higher frequencies.

Going too fast may cause undesired effects as well. So, these rise and fall times must be characterized and controlled.

rise and fall time visual indication of a signal
Rise and fall time visual indication of a signal
Source: https://www.ni.com/docs/en-US/bundle/ni-hsdio/page/hsdio/facwfmchar.html

A good rule of thumb here when relating expected rise or fall times to frequency is:

TR/F = 1 / (f * π)

For a frequency of 100MHz, a designer should expect (or strive for) a rise or fall time on the order of 3-4ns. 500MHz should be more in the 0.5-1ns range. We can use this to determine what an acceptable trace length would be for a given signal, and we’ll see here that they are proportional to each other.

Another general rule of thumb: the critical or maximum trace length for a given signal should allow for a propagation time of no longer than half the rise or fall time. This can be written as:

Critical Trace Length = wv * ½ TR/F

Let’s apply this to an example. Let’s say that we have a 100MHz signal, which is estimated to have a 3ns or so rise time. Incorporating our previously calculated propagation speed of 1.42x108m/s, we get the following:

Critical Trace Length = (1.42x108m/s * 3x10-9s) / 2 = 21cm (~8 inches)

Applying this same formula to something operating at 500MHz produces a much shorter critical trace length:

Critical Trace Length = (1.42x108m/s * 0.6x10-9s) / 2 = 4cm (~1.6 inches)

These calculations assume (as was done before) that our propagation delays are minimal. Any negative impacts to this propagation timing or the rise and fall times (such as parasitic capacitance, inductance due to ground bounce, reflections, etc.) greatly impact this critical length, and it’s why we must incorporate more rigorous tips/tricks with the PCB layout.

So, here is a list of higher-speed tips and tricks for the 100MHz-1GHz range.

  • At these speeds, a clean power source needs to be used for all digital ICs involved. This includes using higher-quality ceramic capacitors like MLCCs that are good at reducing local EMI, decoupling noise, and reducing voltage ripple. Use linear regulators whenever possible but if incorporating a switching supply, make sure to source a quality, low-noise supply and implement a good practice layout for the switching paths to minimize board parasitics and transients. Also, be generous with ferrite beads, especially if a power source is coming from an off-board source.

    effects of larger switcher area trace length parasitic capacitance unstable regulation
    Effects of a larger SW area/trace length, resulting in more parasitic capacitance and unstable regulation
    Source: https://www.ti.com/document-viewer/lit/html/SSZT209

  • Impedance control greatly helps reduce reflections, cross-talk, and inductive coupling. There are many factors involved in impedance control including PCB stack-up materials and their dielectric constants, trace width, thickness, and spacing. PCB materials and controlled build specifications become much more crucial beyond 1Ghz as we’ll see in the next section. Length tuning is part of this impedance-matching activity and ensures that there are minimal differences in propagation delay between signal pairs. Serpentine routing on differential pairs is the ideal form of length tuning for interfaces that contain several lanes of differential pairs (all of which need to be tuned together).

    example of serpentine length tuning altium designer
    An example of serpentine length tuning (in Altium Designer)
    Source: https://www.altium.com/documentation/altium-designer/length-tuning-pcb?version=20.2

  • The well-known, “3W” rule for impedance control states that, to minimize cross-talk between two traces, the designer should allow for a minimum spacing between the differential pairs equal to 3 times the width of the track (measured from center to center of the trace).

    example differential pair 12mil traces 36mil spacing

    differential pair 12mil traces 36mil spacing
    An example of a differential pair including 12mil traces, separated by 3X (36mils)
    Source: https://www.autodesk.com/products/fusion-360/blog/10-high-speed-pcb-design-rules/

  • Implement shielding wherever possible, including the use of ground planes, stitched vias, and off-board connections.

  • Layer stack-up is important, especially if internal layers are used for routing sensitive signals. Ground planes can be used as shields for applications involving several layers and can also be used to minimize cross-talk by maintaining sufficient spacing between signals and planes. A designer can implement something called “plane pairing”, similar to having adjacent power planes and signal planes reduce current loops and lower EMI radiation.

  • Avoid using vias on data and clock signals in general. Using vias on high-speed signals extends their length and exposes them to inner layers, increasing opportunities for inductive coupling and EMI impacts. If you must use vias, then try to at least avoid stubs (utilize blind and buried vias) as these can cause reflections.

  • Avoid routing sensitive signals across two different planes or over top of other (unshielded) nearby signals on different layers. If you have to, then at least route the traces such that they cross in a perpendicular direction rather than parallel.

    route sensitive signal over reference ground no cross other grounds

    route high speed signals perpendicular to other traces
    Route a sensitive signal overtop its reference ground and not across other ground reference planes (top), and route high-speed signals in a more perpendicular fashion with respect to traces on other layers (bottom)
    Source: https://www.ti.com/lit/an/scaa082a/scaa082a.pdf

Super Speeds (1Ghz – 10GHz)

Finally, we arrive at super speeds. These are the fast digital interfaces that are used today and require the utmost attention to detail during PCB layout. Rise and fall times will be in the picoseconds so the associated trace lengths and EMI protections are critical.

At this level, it is crucial to understand the fabrication and layer stack-up specifications, as well as communicate those to the PCB vendor for DFM feedback.

1GHz – 10GHz

DDR4 RAM

DDR5 RAM (up to 8.4GHz!)

PCI-e

USB 3.x

Thunderbolt

Here are some considerations for these super-speed applications:

  • It’s important to use PCB materials with a low dielectric constant to minimize timing delays. Higher-performance materials such as PTFE may drive cost but provide lower losses at higher frequencies. Work with your PCB vendor on recommended materials and cost/benefit trade-offs and utilize layer stack-up tools such as Speedstack by Polar Instruments.

  • Understand when to use microstrip (outer layers) and stripline (inner layers) for routing data and clock signals, and how to configure ground planes associated with the signals. Impedance control will be different for outer layers versus inner layers and should be calculated using CAD. Also, be sure to understand the source and load characteristics of these traces as well.

  • Be generous with ground planes in designs featuring several layers. Each digital interface may require its own designated inner layer with ground planes above and below to shield from EMI as well as provide minimized ground loops and clean return paths. Try to keep all byte lanes on the same layer if possible but if needed, then alternate the byte lanes across two different layers. See the image below indicating several layers containing high-speed signals. Some layers are paired with others and are part of the same bus, such as orange and purple.

    multiple high speed lanes inner layers same bus example
    Example of multiple high-speed lanes routed on several inner layers, some of which are part of the same bus
    Source: https://resources.pcb.cadence.com/jbj-pcb-design-from-start-to-finish/jbj-section-6-pcb-design-digital-routing

  • While adding layers to your design, keep an eye on layer stack-up symmetry to provide mechanical stability. This includes evenly distributed copper across the stack-up which should prevent warping.

  • When routing clock and data traces, maintain the critical length rule described in the previous section. It’s also ideal to avoid any corners at all (even 45-degree bends), and keep all traces serpentine if possible. Right angle traces can act as antennas and cause radiation due to added capacitance in the corner. Minimize this by rounding off the corners of sensitive signals.

    poor vs good right angle bends indication
    Figure 15. Indication of poor and good right-angle bends
    Source: https://www.ti.com/lit/an/scaa082a/scaa082a.pdf

  • High frequency typically translates to high heat. Make sure to plan on thermal management and proper heat dissipation including thermal vias, heat sinks, and polygon pours.

  • Simulate and test your designs as much as possible. This includes eye diagrams, thermal management, insertion/return loss, and voltage ripple on associated power rails. Eye diagrams (which can be both modeled and tested) provide a great metric for jitter and timing as well as ensuring that your data and clock signals fall within the acceptable limits of a standard. Thermal management can typically be modeled and reveal potential hotspots but should be measured on prototype designs. S-parameters are used to characterize high-frequency behavior and include analysis of expected losses and transmission efficiencies. Depending on the manufacturer, low-noise power supplies can typically simulate voltage ripple and loading effects.

    eye diagram jitter normal distribution 0 level

    eye diagram interpretation keeping traces out of mask area
    Eye diagram indicating jitter and normal distribution of 0-level (top), and a demonstration of how to interpret an eye diagram and ensure that all signal traces stay out of the mask area (bottom)
    Source: https://resources.system-analysis.cadence.com/blog/cmos-noise-margin-values

  • Finally, it is always ideal to build a good relationship with your board supplier and ensure that proper DFM feedback is being provided, as well as guidance in many aspects such as material selection, clearances and tolerances, and layer stack-up. Begin by basing your design on vendor design rules. Don’t wait to check and make sure you’re following a reasonable set of specifications.

Ultimately, it helps to know when to incorporate the proper rigor for PCB layout and it’s important to understand the physics involved with these widely accepted “rules of thumb”.

By understanding the fundamentals behind signal integrity at higher frequencies, you’re less likely to end up with a design with reliability problems during both initial board bring-up and system integration. Lastly, there will always be a trade-off between cost and complexity.

By consulting with your PCB vendor regularly and performing due diligence upfront, a designer can find an ideal balance that is both cost-effective and high-performing.

Get your PCBs Built-Fast.

Contact us for a PCB quote
or call us at 1-800-SFC-5143

PCB Line Spacing: A Comprehensive Breakdown for High Voltage Applications

PCB School

PCB Line Spacing: A Comprehensive Breakdown for High Voltage Applications

PCB line tracing relates to both function and safety in circuitry. We discuss the significance of careful line tracing through both clearance and creepage.

Read More

Via Tenting Principles in PCB Layouts

PCB School

Via Tenting Principles in PCB Layouts

Via tenting is the application of soldermask to encase or seal the via’s opening. A via is essentially a hole drilled into the PCB that facilitates connections between multiple PCB layers. An untented via, on the other hand, remains uncovered by a soldermask layer. The decision to expose or cover these vias carries both advantages and disadvantages contingent upon your specific design and manufacturing requirements.

Read More

PCB Assembly Drawings: Polarities, Pin1 & Anode/Cathode Markings

PCB School

PCB Assembly Drawings: Polarities, Pin1 & Anode/Cathode Markings

The Essential Guide to PCB Assembly Drawings: Understanding Polarities, Pin1 Marking & Anode/Cathode Markings. Learn more about understanding the XY File, component locations, & polarized component orientations.

Read More

PCB Insertion Loss

PCB School

PCB Insertion Loss

This article explores insertion loss: its properties, how loss occurs throughout a signal path in a system, and things we can do to minimize it.

Read More

PCB Dimensional & Thermal Stability

PCB School

PCB Dimensional & Thermal Stability

There are a number of factors to consider with the mechanical aspects of a PCB. In this article, we are going to dive into the various ways a PCB designer can help to deliver a board meeting mechanical and thermal requirements while staying competitive on cost.

Unnecessarily tight constraints on the board will be a cost driver. Meanwhile, an insufficient set of physical parameters leaves the potential for a board that does not meet the necessary requirements in the field.

One's goal is to find the sweet spot between precision and price. Believe it or not, that is possible to do.

Read More

How Do You Manage Copper Pads, Copper Traces, & Planes in High-Load Applications?

PCB School

How Do You Manage Copper Pads, Copper Traces, & Planes in High-Load Applications?

At what point is a load considered high voltage or high current, and what does that mean for the PCB design process? There are several factors that must be considered when specifying components and laying out a PCB for these kinds of conditions. Here's what you need to know to properly manage copper pads, copper traces, an copper planes.

Read More

San Francisco Circuits, Inc.

1660 S Amphlett Blvd #200
San Mateo,CA 94402
Toll-Free: (800)732-5143
E-mail: sales@sfcircuits.com

 NIST LogoITAR Compliance Seal  IPC International, Inc. Membership Seal SAM

San Francisco Circuits - San Diego

3914 Murphy Canyon Rd., Suite A244
San Diego, CA 92123
Local: (858)576-7202

Follow us

Twitter Logo Facebook Logo LinkedIn Logo

©Copyright 2005 - 2024 - San Francisco Circuits, Inc. - All rights reserved

Latest News

09-09-2024

San Francisco Circuits covers board-level tips for the design & layout of high-speed circuits in advanced applications.

Read more

06-10-2024

PCB Line Spacing: A Comprehensive Breakdown for High Voltage Applications. As PCBs become more complicated, more precise measurements and spacing are required. This article explains PCB line spacing, tracing, clearance, and creepage.

Read more

User Login