Author Topic: PCB layout full-wave simulator and SPICE co-simulation  (Read 2238 times)

0 Members and 1 Guest are viewing this topic.

Offline r0d3z1Topic starter

  • Regular Contributor
  • *
  • Posts: 116
  • Country: it
PCB layout full-wave simulator and SPICE co-simulation
« on: December 14, 2017, 12:48:48 pm »
Hello everyone,

I have been impressed by this articles of texas instruments https://www.ti.com/seclit/ml/slup344/slup344.pdf where there is a chapter about the Co-simulation of pcb layout using a full-wave
simulator and SPICE. They used CST to simulate the parasitic effect of track and plane on layout and then spice to simulate the signal in the various point of the PCB. Anyone here have experience on this topic ? I'm looking for some info to move the first steps in this field.
 
The following users thanked this post: xzswq21

Offline blackfin76

  • Regular Contributor
  • *
  • Posts: 79
  • Country: nl
Re: PCB layout full-wave simulator and SPICE co-simulation
« Reply #1 on: January 16, 2018, 09:17:59 am »
The software they use is very expensive and requires a very skilled person to use. I'm not sure how many non professional people use this type of software to do analysis, most likely not many. However due to higher signal frequencies and the ever increase in in wireless connectivity in more applications it may become more relevant.

What is your specific interest for the use of this technology? 
 

Offline r0d3z1Topic starter

  • Regular Contributor
  • *
  • Posts: 116
  • Country: it
Re: PCB layout full-wave simulator and SPICE co-simulation
« Reply #2 on: January 16, 2018, 11:31:06 am »
I want to learn the basic of post-layout simulation. I my case is more for education purpose, it would be nice to see the current flow at various frequency in a DCDC converter layout or other power electronics devices.
 

Offline T3sl4co1l

  • Super Contributor
  • ***
  • Posts: 21675
  • Country: us
  • Expert, Analog Electronics, PCB Layout, EMC
    • Seven Transistor Labs
Re: PCB layout full-wave simulator and SPICE co-simulation
« Reply #3 on: January 17, 2018, 12:58:13 am »
Right. Very expensive. It's out there, it definitely exists and works -- but if you aren't doing large scale commercial production... do you really care?  There are cheaper methods to figure it out (including not needing to at all :P ).

I half-ass it by using:
1. A layout approach which produces a simple inductor matrix, and
2. approximating that matrix with estimated inductances in the simulation.

Between any pair of connected pads on a PCB, there is a winding on a transformer; the coupling between all of these windings can be represented by an NxN matrix of coupling coefficients.  Most of these will be near zero, meaning that the traces are very distant and do not interact significantly.  These can be first approximated as zero, giving a sparse matrix.

The matrix can be further reduced by assuming that ground inductances are negligible or zero, or can be moved to supply or device connections instead.  This is a poor assumption, to be used carefully, but a useful one.

If the only significant couplings are self-inductance, then you don't need any coupling terms at all, and can use lone inductors in the model.

To achieve this in the layout, first and foremost you must have significant shielding between any traces for which coupling will be a problem.  That means ground plane, solid, well stitched.  The PCB does not need to be multilayer, but it cannot be an extremely dense layout on 2 layers: you must reserve enough space between components and subcircuits to fill and bond that ground around them.

"Ground" does not necessarily mean circuit or earth ground, but whatever the local return current path is in a given location.

That key assumption I mentioned, has these implications:
- Even for a solid ground plane, there are ground loop voltages induced in it.  Ground will not be "ground" in some absolute sense, at any point on the board.  It may be close, but not exactly (and things are worse at higher frequencies and currents).
- Ground is a local concept: the local current return path, the local voltage reference plane.  Design the circuit and layout around the concept of a subcircuit reading its inputs against local ground.  If local ground will be at a different (AC or DC) potential than where the signal comes from, add local filtering, or differential sensing.  (This concept hints at how one might connect a coaxial cable to a circuit, while avoiding traditional problems with galvanic connections (ground loop) or EMI susceptibility.)

Otherwise -- if you meant in terms of how fields are distributed over the board, you can apply the same principles at design time: for example, a trace running over a ground plane will produce so-and-so current distribution.  As long as it's not crossing other traces, you can take that assumption and run with it, no problem.  But if you have to jumble traces together and you want to know where the signals are going, or if you're dumping a lot of power into some weird shaped polygons or planes, or you simply need a more accurate answer than a hand-wave; you can only solve that the hard way: with a simulator.

Tim
Seven Transistor Labs, LLC
Electronic design, from concept to prototype.
Bringing a project to life?  Send me a message!
 
The following users thanked this post: MixedSignalSystems

Offline r0d3z1Topic starter

  • Regular Contributor
  • *
  • Posts: 116
  • Country: it
Re: PCB layout full-wave simulator and SPICE co-simulation
« Reply #4 on: January 17, 2018, 11:20:32 am »
...or if you're dumping a lot of power into some weird shaped polygons or planes, or you simply need a more accurate answer than a hand-wave; you can only solve that the hard way: with a simulator.

this is exactly my case. However I find your ground concept in the previous answer very useful. Tnx.
 

Offline TheUnnamedNewbie

  • Super Contributor
  • ***
  • Posts: 1208
  • Country: 00
  • mmwave RFIC/antenna designer
Re: PCB layout full-wave simulator and SPICE co-simulation
« Reply #5 on: January 22, 2018, 04:27:43 pm »
I would like to add to this that not just the software is expensive, but the hardware to run it on is too... These simulation problems grow more-than-linear, so going from a simple lumped-element SPICE to a FEM simulation or parasitic extraction (PEX) into spice takes a heck of a lot of time. I've use similar thing in IC design, and that simple 10-transisotr amplifier that took 5 minutes to simulate before suddenly takes 12 hours....

CST has some stuff. Keysight also makes ADS which can do similar. HFSS can also do things but I've never used it for anything but hardcore EM-wave simulations for stuff like filters and waveguide components.

But these are tools that are easily in the 6-figure pricetag. And they are not easy to use - Colleagues who have been using HFSS for years still have many, many help-tabs open at all times, and at least two copies of the manual.
The best part about magic is when it stops being magic and becomes science instead

"There was no road, but the people walked on it, and the road came to be, and the people followed it, for the road took the path of least resistance"
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf