Трассировка с контролируемым импедансом

Вы просматриваете версию 15.1. Для самой новой информации, перейдите на страницу Трассировка с контролируемым импедансом для версии 25
 

With increasing device switching speeds, controlled impedance routing has become the hot topic for the digital designer. This article will discuss how you can use Altium Designer's Signal Integrity analysis engine to match component impedances, and the controlled impedance routing capabilities in the PCB editor.

There is a saying bandied about in engineering circles - there are only two kinds of electronics engineers working in digital design: those who have had signal integrity problems, and those who will. Not so many years ago the term signal integrity was one for the specialist, you only had to deal with it on high speed designs. But the device switching speeds in those high speed designs are no longer anything special, in fact they are rapidly becoming the norm. As improving integrated circuit technology drives the size of the transistor down, the speeds at which they can switch goes up. And it is this switching speed that affects the integrity of digital signals.

Thankfully many potential signal integrity issues can be avoided by following good design principals, and implementing the design as an controlled impedance board. Achieving this does require specific design tool capabilities - you need analysis tools that can detect nets with potential ringing and reflection issues, and board design tools that allow the designer to achieve the correct routing impedances. Altium Designer has these capabilities.

This article will help you understand what causes signal integrity issues, and if your board is likely to suffer from them. It will also discuss the two design approaches you must employ to minimizing potential SI issues ­- matching component impedances, and controlled impedance routing.

Do I Need Controlled Impedance Routing?

Do I need to bother with controlled impedance routing, you ask?

In an ideal situation all of the energy that comes out of a component output pin would be coupled into the connected track on the PCB, flow through the PCB routing to the load input pin at the other end, and be absorbed by that load. If all the energy is not absorbed by the load then the left over energy can be reflected back into the PCB routing, flowing to the source output pin. This reflected energy can interact with the original signal, adding to and subtracting from it (depending on the polarity of the energy), resulting in ringing. If the ringing is large enough it will affect the integrity of the signal, resulting in unpredictable, erroneous circuit behavior.

And how do you know if this might occur? If the source pin is able to complete its edge transition before the signal reaches the load pin, then the conditions exist for your design to be impacted by reflected energy. A common rule of thumb that is used to determine if SI issues are likely is the "1/3 rise time" rule. This rule states that if the trace is more than 1/3 of a rise time long, reflections (ringing) can occur. If the source pin has a 1 nSec rise time, then a route longer than .33 nSec - which is approximately 2 inches in FR4 - must be considered to be a transmission line, a candidate for signal integrity issues. If your devices have this sort of rise time and you know you will have routing of this sort of length, then you might well end up with signal integrity issues on the PCB.

The speed at which the electrical energy can travel along the route is known as the propagation velocity, where:

Vp = speed of light / √ dielectric constant

Using:

Time = 1/3 * rise time
eR = 4 (approximation for FR4)
C = 11.811 in/nSec (speed of light, in inches per nanosecond)

√ is the square root symbol

To find the length of route above which the integrity of the signal could become a problem:

LR = Time * Vp
LR = Time * C / eR
LR = .33 * 11.811 / 2
LR = 1.95 in

How do I Control the Impedances?

So how do you avoid this situation where there is energy being reflected back and forth between the source and the load - you avoid it by matching the impedances. Impedance matching ensures that all the energy is coupled from the source into the routing, and then from the routing into the load. Routing the board with regard to the impedance is referred to as controlled impedance routing, or another way of saying it is that a board where impedances have been managed is called a controlled impedance PCB.

There are two distinct elements to achieving impedance matching: the first is matching the components; and the second is routing the board to give the required impedance.

Impedance Matching the Components

You cannot achieve a controlled impedance PCB with routing alone. Firstly you must check, and if necessary, match the impedances of the components.

Ideally you want to detect nets that could have potential signal integrity issues during the design capture phase, so that any additional termination components can be included before the board design process starts. And since output pins are low impedance and input pins high impedance, it is likely that you will need to add termination components to the design to achieve impedance matching.

In Altium Designer you can perform a signal integrity analysis on your design at the schematic capture stage. If you do (Tools menu), you will be prompted to provide an average track impedance and route length, and define the supply nets. Once this is done the design can be analyzed, and any potential problem nets identified in the Signal Integrity panel, as shown below.

Testing the design for potential signal integrity issues during design capture.Testing the design for potential signal integrity issues during design capture.

From the panel you can perform a reflection analysis on selected nets. You can also experiment with possible termination configurations and values, note that the Termination region of the Signal Integrity panel shown in the image above has the Serial Res option enabled. The section of the panel just below that shows a series termination resistor, this is where you define the minimum and maximum series termination resistance values that will be used for the reflection analysis.

The images below show two graphs of a net displaying ringing. The first is the net without termination, the second with the theoretical series termination resistance included at the source pin.

Ten passes of the reflection analysis were performed, with the theoretical terminator stepping from 25 ohms to 150 ohms. The 10 passes are listed down the right-hand side of the graph, clicking on each highlights that result, and displays the theoretical termination resistance value at the bottom right. For this net a series termination resistance of 38.89 ohms would produce the graph selected in the image on the right. Press F1 over any panel for more information on using the features in the panel.

The graph on the left shows a net with potential signal integrity issues, the graph on the right is the same net with a theoretical series termination resistor of approximately 40 ohms added. The graph on the left shows a net with potential signal integrity issues, the graph on the right is the same net with a theoretical series termination resistor of approximately 40 ohms added.

What Determines the Routing Impedance?

The second part of achieving a controlled impedance PCB is to route the board so that the tracks are a defined impedance. There are a number of factors that influence the impedance of your signal routing, including the physical dimensions and properties of the materials used to fabricate the PCB.

Below are the two formulas that Altium Designer uses to calculate the routing impedance, the appropriate one being selected depending on whether the route has a plane layer present on only one side of it (referred to as a microstrip), or has planes present on both sides (referred to as a stripline). Note that if the plane layer(s) are not adjacent to the signal layer then the nearest plane layer(s) will be used in the calculations. Note also that an offset stripline configuration is not supported.

Microstrip characteristic impedance formula

Zo=(87/SQRT(Er+1.41))*LN(5.98*TraceToPlaneDistance/(0.8*TraceWidth + TraceHeight))

Stripline characteristic impedance formula

Zo=(60/SQRT(Er))*LN((1.9*PlaneToPlaneDistance)/(0.8*TraceWidth + TraceHeight))

From the formulae you can see that the copper and insulation (dielectric) thicknesses, the routing width, and the Er all contribute to the impedance. Er is the dielectric constant of the dielectric material, for the standard fiberglass dielectric most commonly used in PCB fabrication (FR-4) this can vary by up to 20%, over the range of 4 to 5. There are other more stable dielectric materials available, such as polyimide and Teflon.

These formula are user-definable, edit them in the Impedance Formula Editor, accessed through the Layer Stack Manager.

Calculating the Routing Width for Each Layer

As you can see from the formula there are many inter-related values that contribute to the routing impedance. To complicate matters, as the board designer you have to consider these requirements alongside the normal tradeoffs you have to make - such as selecting the most appropriate routing widths / clearances and minimizing the layer count to meet the project budget.

Ideally you will have an impedance that you have been asked to achieve, typically something in the range of 40 to 90 ohms. Rather than you needing to calculate the routing width for each layer so that you can achieve the specified impedance, Altium Designer lets you specify the impedance, and it will calculate the routing width required on each layer to achieve this.

To do this simply enable the Characteristic Impedance Driven Width option when you are setting up the Routing Width design rule in the PCB Rules and Constraint Editor, then enter the required minimum/preferred/maximum impedances - these will automatically be translated into widths for each signal layer. A six layer (4 signal + 2 plane) example is shown in the image below.

Enable the Characteristic Impedance Driven Width option to specify the Width as an impedance.Enable the Characteristic Impedance Driven Width option to specify the Width as an impedance.

As you route the board and change layers, Altium Designer will automatically adjust the track width to the size needed to achieve the specified impedance. This interactive controlled impedance routing greatly simplifies the task of designing a controlled impedance PCB.

Note that the built-in impedance calculator does not account for the affect of vias, it assumes lossless transference from one signal layer to the next. Additionally, it only takes into account single-ended structures (not differential), and determines the routing width of target nets on a whole-layer basis.

Defining the Layer Stackup

A fundamental requirement for controlling the impedance is to include power planes. These planes should be distributed through the board stackup, ideally they are arranged so that there is at least one plane adjacent to each signal layer. The adjacent plane provides each signal return path, and for reasons that will not be covered here, does so regardless of the DC voltage distributed by that plane.

The return path current flowing through the plane will attempt to follow the same physical path as the route on the signal layer, so it is important to always try to avoid introducing discontinuities, such as a split or blowout in the power plane, underneath any critical routing.

As well as the selecting a suitable order for signal and plane layers, you also need to define the material properties of each layer, including:

  • Copper thickness
  • Dielectric thickness
  • Dielectric constant

These values, and the routing width, all contribute to the final impedance. Achieving the required impedance then becomes a process of tuning all these values. Keep in mind that possible copper and dielectric thickness values may be limited too, determined by the materials available from your PCB fabricator.

For example, typical values of copper thickness used are 0.7mil (1/2 oz) for signal layers, and 1.4mil (1 oz) for plane layers. But if your stackup is such that one signal and one plane layer are a pair on either side of one of the original thin panels used in the multilayer process, then they may need to have the same copper thickness, or be plated up during fabrication.

A diagram of a six-layer stackup, note that each of the internal signal layers is paired with a plane layer, as shown in the balloon.A diagram of a six-layer stackup, note that each of the internal signal layers is paired with a plane layer, as shown in the balloon.

Ideally you would have used 0.7mil thickness for all signal layers, which would have resulted in the routing thicknesses shown in the image below. Note that the Preferred Size tracks are all very close to 7mil, making the routing process straightforward.

Routing widths required to achieve 70 ohm impedance, using 0.7mil thick signal layers.Routing widths required to achieve 70 ohm impedance, using 0.7mil thick signal layers.

But if the fabrication process requires that MidLayer1 and 2 use 1.4mil thick copper since each of them is paired with one of the plane layers, then the routing widths show in the image below must be used to achieve the 70 ohm impedance. In this case the range of preferred routing width values is still acceptable, but you need to keep this in mind.

Like copper thickness, core thickness will only be available in specific increments since the core thickness is defined by the thickness of the layer-pair panel used in the multilayer process. You will probably have greater freedom with prepreg thicknesses. And then there is the overall final board thickness, this must also be a realistic value (around 62mils is typical).

From this simple example you can see that there is a process of working from available materials and desired impedances to arrive at the final board stackup and routing widths.

Routing widths required to achieve 70 ohm impedance, using 1.4mil thick copper internal signal layers.

Testing the Signal Integrity of the Routed Board

In the same way that you tested the nets during design capture using an assumed routing length and routing impedance, once the routing is complete you should repeat this process on the board to check for potential impedance mismatches and reflection issues. Launch the Signal Integrity command from the PCB editor Tools menu. Since the PCB is part of the project Altium Designer will now use the material properties and dimensions defined in the Layer Stack Manager and the actual widths of the routes on the board to calculate the impedances it uses for the signal integrity tests.

Achieving the Specified Impedances

Beyond the iterative dimension tuning process that you go through to achieve the correct impedances, there are other factors that influence the final impedance that will be achieved on your fabricated PCB. These include the consistency and stability of the dielectric material used in the PCB, and also the consistency and quality of the etching process. If you require a controlled impedance PCB you should discuss this with your PCB fabricator. Some fabricators can advise on track geometries if you supply them with your preferred stackup. Many will also be able to include an impedance test coupon on each panel that they fabricate - this can be used to measure the real impedances achieved on the board.

Additional Reading and Resources

This article gives an introduction to the topic of signal integrity and controlled impedance PCB design. Use the following links to learn more, where you can access resources developed by recognized industry experts.

If you find an issue, select the text/image and pressCtrl + Enterto send us your feedback.
Примечание

Набор доступных функций зависит от вашего уровня доступа к продуктам Altium. Ознакомьтесь с функциями, включенными в различные уровни Подписки на ПО Altium, и функциональными возможностями приложений, предоставляемых платформой Altium 365.

Если вы не видите в своем ПО функцию, описанную здесь, свяжитесь с отделом продаж Altium, чтобы узнать больше.

Content