Archive for Patrick Carrier

9 September, 2014

I have recently been blogging about signal and power integrity, how the two are related, and how they can cross over.  This was prompted by an article I recently wrote for the DesignCon branch of EDN.  Twenty years ago, one of the biggest barriers to designing high-speed PCBs was ensuring signal integrity.  About ten years ago, power integrity started becoming a serious issue.  So what is next?  Is there another type of “integrity” we need to start analyzing?

No – at this point we pretty much have everything covered.  No more integrities on the horizon.  But what likely will change is how much we analyze in each of these analysis types…  For instance, if we look at vias, they used to be short enough to just model as a simple capacitor, then a simple L-C, and now for high-speed differential signals we need a full-wave 3D EM model of the via to properly characterize it for simulation.  For single-ended vias, we need to know the entire PDN to get an accurate signal model for the via.  And that is another trend that is permeating analysis needs – the impending crossover between signal and power integrity.  Eventually integrity analysis will encompass both, as well as other disciplines, all on the way to being able to create “virtual prototypes” of our PCBs, being able to predict their performance in a number of realms before the first prototype is manufactured.

8 September, 2014

There are a lot of reasons to mix SI and PI analysis – trying to figure out a worst-case stimuli to determine PDN performance, trying to see the effect of a poor PDN on signals due to SSN issues, or just being able to properly analyze a single-ended via.  In fact, to get an accurate model of a single-ended via, you have to mix SI and PI.  The reason is that the power distribution network, or PDN – decoupling capacitors, stitching vias, and plane pairs – make up the signal return path for a single-ended via, thus determining the “impedance”, delay, and crosstalk characteristics of the via.  This is especially crucial when modeling very fast, single-ended signals like DDR3 and DDR4 signals.  In HyperLynx, you can extract via models which include the PDN; this is achieved by the PI engine running in the background during the via model extraction.  The result is a very accurate wideband single-ended via model that properly captures the via’s electrical characteristics.  Once extracted, this model can be used in other simulations again and again.  Another option is to use the SI/PI co-simulation option, which generates these models on-the-fly.

To learn more about mixing SI and PI, take a look at this article in EDN:
http://www.edn.com/design/designcon/4433827/Signal-integrity-and-power-integrity-in-high-speed-design

3 September, 2014

Power integrity (PI) is an analysis discipline that has been around for years.  Signal integrity (SI) has been around for a few more years.  Basically, they both deal with the proper analog operation of digital circuits.  So why these specific realms of analysis?  The main issue is that there is no such thing as “digital” – what we call “digital” data transmission is really just voltages compared to thresholds, so making sure we have the right voltages at the right times is the essence of signal integrity.  Power integrity is a bit more broad in its scope, but a “power integrity” failure usually leads to the same results as a signal integrity failure – some kind of erroneous data.  It is tempting to try to analyze everything in a PCB design as one big “virtual prototype”, but modeling and computing limitations keep that from being practical.  Furthermore, the design process is made a bit easier by dividing up these problems.  For instance, a signal integrity problem can be solved by changing the line impedance, adding termination, or adjusting spacing to control crosstalk.  It is helpful to be able to analyze just the signal integrity of a circuit to look for these types of solutions.  Similarly, for power integrity, possible solutions might be adding more metal to control a DC Drop problem or changing the way capacitors are mounted to improve the PDN performance at higher frequencies.
For more information, check out the following article in EDN: Signal Integrity and Power Integrity in High-Speed Design.

Whatever your chosen flavor of integrity, be sure to simulate it early in the design cycle, otherwise you might get left with a bad taste in your mouth…

28 July, 2014

Earlier this year I wrote an article on maximizing capacitor effectiveness.  I have since received a number of inquiries on mounting capacitors directly to a power via on the opposite side of the board from the IC.  This is actually a fairly common design practice that I have seen on many boards.  And, the question is, is this better than mounting the capacitors around the outside of the IC on the top side of the board?  What do you think?

It is a question easily answered by spending a few minutes in the PDN Editor in LineSim.  If you don’t have a license for HyperLynx PI, you can try it out for free in the HyperLynx Virtual Lab:

http://www.mentor.com/pcb/product-eval/hyperlynx-online-trial

It seems like the best place to mount a capacitor would be directly to a power via, as it is the closest you an get to those power pins.  Will that always be better than mounting the capacitor on the same side of the board as the IC?  Well, like anything else in signal and power integrity, it depends.  In this case, the answer depends on where in the stackup your power/ground plane pair lies.  Using the same example stackup that I used in the above-mentioned article, I used the PDN editor in LineSim to look at the mounted impedance of a 220nF 0402 capacitor mounted 1 inch away from the power pin on the top of the board, and also mounted directly to the power via on the opposite side of the board.  With the power/ground plane pair closest to the top (VCC1/GND1 in the reference stackup), the capacitor mounted an inch away on the top actually exhibited a much lower impedance than the capacitor directly connected to the power via on the opposite side of the board.  This is shown in the pic below: the impedance of the top-side cap is shown in yellow, while the cap connected to the power via is shown in pink.

top_side_v_back_side

That may seem non-intuitive, since the opposite-side cap is only 62 mils (the board thickness) away from the IC, whereas the same-side cap is 1000 mils away!  But the key factor is inductance, not distance.  Even if we use an 0402 cap and via-in-pad, the distance between the mounting vias is still 40 mils.  Compared to the 3-mil spacing between the planes, that creates a much larger loop area, and much higher inductance.  The plane-pair connection is much lower inductance, so much so that even for a much longer connection distance, it still creates a lower-impedance connection for the capacitor.

5 May, 2014

I guess that all depends on what you are talking about… for Signal Integrity, trace width is very important, as it is one of the main factors in determining the characteristic impedance of a trace.  For Power Integrity, trace width becomes important the longer your traces are.  But in general, when you say “long traces” and “power integrity” in the same sentence, you are headed for some problems.  A great way to figure out how bad your problems might be is to run some simulations – and that is where the PDN Editor in LineSim is an indispensable tool.  You can modify things like trace width and see how much your DC voltage drop changes.  You can also see the effect trace width will have on your decoupling capacitors.  Earlier this year I blogged about an article I wrote for PCD and F, where I explored some more common capacitor mounting methods and their effect on the PDN impedance.  I actually found that adjusting the spacing between the capacitor vias had a much more dramatic effect than the width of the traces connecting the capacitor to the vias.  Obviously this is best achieved by using via-in-pad.  But this effect can be further enhanced by using reverse-aspect-ratio capacitors, like 0204s.
So, in this case, no, trace width did not matter much.  But don’t take my word for it – experiment yourself using the PI Virtual Lab, available at:
http://www.mentor.com/pcb/product-eval/hyperlynx-online-trial
There are a number of tutorials that walk through the process of analyzing power integrity on a PCB, and you can open up the LineSim PDN Editor and experiment with things like trace width, via spacing, number of vias, number of capacitors, capacitor values, stackup, plane spacing, and more to really quantify different design tradeoffs in designing a PCB power distribution network.

13 January, 2014

Capacitors are the backbone of a board power distribution network, or PDN.  However, just as important as having the capacitors connected to the PDN is how they are connected.  If you think that connecting them with inch-long 5-mil traces is a good idea, you might want to reconsider (or maybe you are still living in the ’70s?).  Obviously that is an extreme example, but there are a number of nuances to connecting capacitors to the board to maximize their effectiveness as part of the PDN.  I actually analyzed and quantified some common capacitor mounting methods in the following article: http://www.pcdandf.com/pcdesign/index.php/current-issue/241-designer-s-notebook/9233-designers-notebook-1401

Among the variables explored are the connections to the planes, and that doesn’t just mean the connections themselves, but the plane configuration.  This can have a huge effect on the mounted inductance of the capacitor.  The separation between the power and ground planes is probably the most important.  Planes which are very close together are actually much more effective in minimizing the mounted inductance of the capacitor than planes which are further apart but closer to the capacitor (like in layers closer to the top).  In fact, that is one of the many tradeoffs you can analyze in the PDN editor in HyperLynx LineSim when trying to plan your PDN design.

9 January, 2014

A common question when designing a PDN (power distribution network) for a printed circuit board is which capacitor values to use.  A common practice is to use values in each decade – values like 10uF, 1uF, 0.1uF, and 0.01uF… and there is some reasoning behind that, but a little knowledge of decoupling capacitors can help you pick values that make more sense.  There is a great deal of information on designing a PDN in the following article:

Printed Circuit Design & Fab: Maximizing Capacitor Effectiveness

One of the items discussed is picking capacitors that have the most capacitance for a given body size.  The reasoning behind this is that the limiting factor for a capacitor’s performance is the inductance.  Capacitors with smaller body sizes have the least inductance, and also allow for the least amount of mounted inductance.  An 0402 capacitor, for example, typically comes in values up to 0.22uF.  So, using 0.22uF 0402 capacitors is a better idea than using 0.1uF capacitors, as you get over twice the capacitance for the same amount of inductance.  But in order to get a significant amount of capacitance, you need to use a large number of these capacitors in parallel.  These are the “high-frequency” capacitors of the PDN, because they are the capacitors that are effective at higher frequencies, because of their small inductance.  Axial-leaded caps, on the other hand, have much larger capacitance, but also large inductance, and thus are only effective at decoupling lower frequencies.  You can play with different capacitor values to optimize your PDN using the HyperLynx PDN Editor.

3 July, 2013

When designing a PCB, part of the design process is making sure the PCB works correctly.  At the very least, someone does some functional testing.  But what happens if problems are found?  A more detailed look at the design must be performed.  And in fact, the best way to end up with a working design is to check the performance during the design process.

So if you have to choose between simulating or measuring your boards, which would you choose?  I would say the best answer is to make time for both.  Don’t choose: simulate your cake and measure it, too.

Most people would be tempted to say just measure the board, because that will always be the closest to reality.  But that is not always the case, especially with the fast busses used on PCB designs today.  Edge rates are so fast that measuring the actual system is not practical, because you would really have to measure inside of the chip to get an accurate view of the performance.  Measurements need to be taken on test boards or with special test fixtures, which may not represent the actual system.  This is where simulation is indispensable, as it can allow you to look in places the probes can’t touch.

If you are interested in more on this topic, please take a look at the following article:
http://electronicdesign.com/what-s-difference-between/what-s-difference-between-simulation-and-measurement

,

28 June, 2013

We go through great pains to ensure that our analysis tools give highly accurate answers in the most efficient manner possible.  That requires accurate field solving – in both 2 dimensions and 3 dimensions, as appropriate – as well as accurate simulation.  Accurate simulation includes simulation of S-parameters in the time domain, which requires appropriate handling of causality and passivity issues, proper concatenation of multiple S-parameters, and the avoidance of common pitfalls from brute-force methods like convolution (we use complex pole-fitting instead, which is accurate and efficient).  It also means appropriately handling all determinsitic and random jitter sources by utlizing worst-case bit sequences to accurately predict BER down to 10^-18 and beyond.  All of this becomes crucial at multi-GBs SERDES speeds.  An example of SERDES simulation/measurement correlation can be found in the following article: http://electronicdesign.com/what-s-difference-between/what-s-difference-between-simulation-and-measurement

It is important to make sure that all of your inputs into the simulation are accurate.  That starts with something as simple as getting the board stackup and trace widths to match what is actually manufactured – take a look at the references at the end of the article above (or some of my previous blogs) for more info.  For SERDES speeds specifically, that means making sure any models used, like SPICE and S-parameters, have the the appropriate bandwidth, and that all the pieces of the channel have been solved with the appropriate field solver.  Even for PI, it is important to make sure that capacitor ESL is appropriately understood and the correct method of modeling ESL is used, as this can have a dramatic effect on the results of a PI analysis.

If you take the time to make sure you are feeding HyperLynx the right information, it will give you the answers you seek about the true performance of your design.

26 June, 2013

A few months ago my colleague Chuck Ferry posted a blog about a correlation study he did for DesignCon, where he compared results from a multi-Gbs SERDES simulation to some measured results and showed excellent correlation.  If you are interested, scroll down and you can find that blog, or you can click on this link: http://blogs.mentor.com/hyperblog/blog/2013/02/07/developing-confidence-in-your-analysis-tool-hyperlynx-9-0-demonstration/.

Correlating simulation and measurement is not a particularly “easy” task, since it requires advanced knowledge of simulation as well as measurement.  Very often designers will rely on one more than the other, usually depending on their expertise.  But going through the exercise of comparing the two will be of great benefit to anyone designing a PCB, as it can reveal limitations in simulation as well as measurement, and what steps need to be taken to ensure that simulations match measurements, and measurements match simulations.  An understanding of the difference between them is a good first step, and can be found in the following article:  http://electronicdesign.com/what-s-difference-between/what-s-difference-between-simulation-and-measurement
Some of the material from Chuck’s correlation study was used for the article.

Simulation and measurement technology continue to evolve to meet the needs of ever-increasing performance of our electronics designs, and understanding how to utilize them in the design process can lead to more reliable products.  At today’s speeds, running “blind” and using neither will almost surely result in design failure.


Try HyperLynx Free

Get immediate, hands-on access to a variety of HyperLynx features. Built-in data files and tutorials will help you become familiar with the HyperLynx environment and experience the power of the HyperLynx tools.

Get Started Now

@MentorPCB tweets

  • Only one more week until the European U2U Conference! Register here if you haven't already: http://t.co/0Vh0TqonjB
  • Mentor Graphics Announces Xpedition System Designer for Comprehensive Multi-board systems development. http://t.co/uBJe9PVYfp
  • Only two more days until U2U Conference in Bangalore! Register here for the event happening October 31st: http://t.co/w0fDzGfCD7

Follow MentorPCB