PCB Parasitic Inductance Analysis Using Q3D v2
PCB Parasitic Inductance Analysis Using Q3D v2
PCB Parasitic Inductance Analysis Using Q3D v2
5. Place a check next to all the Outputers you want, and then click on Release.
7. Under Releases, you will see the Project you released. Download the released
Project.
In this downloaded Project folder, the PCBs will be saved as CMPcbDoc files. To
import these into Q3D, they need to be saved as DXF files. For this conversion,
you will need Altium Designer.
3. Select the proper format for the export and click OK.
4. Navigate to the DXF file you exported from Altium Designer and Open that
file.
When the model is imported into Q3D, its units are in mm. For the purposes of
the analysis, we need to change it to mils:
Changing Materials:
Most of the layers and parts in the model are made of copper. However,
there are certain layers, such as the Core and the Pre-preg layers that are
made of FR4_Epoxy. All parts of the model import in without an assigned
material. To assign the material for an object:
1. Select all the objects you want to assign as a particular material, right
click and click Properties.
When the model is imported, the different layers and parts are
superimposed on one another. Because of that, we must appropriately
scale and move the different objects. Given below the scaling and moving
sub-sections are the layouts for 2-layer and 4-layer boards. When you
scale and move the layers of your board, you will have to refer to the
layouts given after these two sections.
Scaling:
6. Measure the edges of the imported layout and compare with the
measurements from the original PCB layout.
Usually Q3D will name the parts in the different layers in a procedural
manner, ie: TopLayer_*** where the asterisks are a unique number for the layer.
As a quality of life improvement, select all of the parts that belong to a particular
layer, and right click > group > create. This will create a group of the parts that
you can select to refer to all of the parts in a layer at one time. This will make it a
lot easier to create the model correctly, and make it a lot less likely that you will
accidentally misalign a piece in model reassembly. You will also be able to select
a layer and right click > view > show only selection to view only the layer(s) that
are most useful for your editing.
2. Right-click and select Edit > Arrange > Move. (or click the move tool
in the toolbar at the top)
4. Press Tab to take you down to where you can input how much you
want to move the object in the X, Y, and Z directions.
Given below are the two layouts for 2-layer and 4-layer boards as a reference for
the space that should be left between the layers in your board:
Almost all of the editing that will need to be done will be done through boolean
operations within Q3D. The modelling system is based on using primitive or
existing objects to edit other touching or overlapping objects to create complex
models useful to simulation. All Boolean operations are performed in basically
the same way.
2. Click on Modeler (or right click on an object) > Boolean > *Operation*.
The boolean operations that are most useful to the editing process for PCBs is
Unite and Subtract. Uniting two overlapping objects will delete any overlapping
To accomplish this you need to do two main things to your model. First identify
all of the shape pieces that just make up the shape of your traces. Then unite all of
those pieces so that you are left with traces with only pads that are overlapping.
Then subtract all of the pads/vias from the traces they are a part of, and remember
to clone tool parts. None of this need be done all at once, it is often easier to just
work your way through a few pieces at a time. Note that holding control and
clicking on the pieces you are interested in is often the simplest way to select the
pieces you want.
At any point you can hit the validate button on the toolbar at the top. Everything
will eventually need a check here, but for the modelling process this is the first
time that the 3D model should validate. It may be a good idea to periodically
check this to make sure you have not invalidated your model.
Now vias need to be added to your model if they were not included initially. This
may vary somewhat depending on your particular geometry, however one of the
easiest ways is to extrude the face of one of the placeholder disks to the plane it
goes to. If you have done the last step correctly, you should have disks in your
layers where the vias start and end. Look at the internal face of the disk, hit f to
enable face selection mode, and click on the internal face to select it.
It may be beneficial to unite the two end disks with the internal cylinder, to cut
down on part count and save time avoiding the extra mesh that would be created
in the disks. Once you have created all of the vias that will be necessary for the
PCB that you are modelling, it is a good idea to check the 3D model validation to
make sure that you still have a valid model.
1. Create the middle layers (the Core and Prepreg layers) of the board using
the Draw > Box command. To begin with you can create the box with
arbitrary sides since you will be immediately changing them to the correct
dimensions. Depending on your board, you may find that you want to
draw in the layers separately, or as one large box. If the layers are all the
same material, It should not matter as Q3D will treat the boundaries
between adjacent objects the same. Doing separate objects will cause there
to be more tetrahedrons created in the meshing process, so this may slow
down your initial solution passes.
a. Because of the way that the trace geometry is imported from your
file, there can be complications in the meshing step when you try
to simulate later on. It is possible for a model to verify, but then
fail meshing once the simulation begins, under certain
circumstances based on the imported geometry. By making the
FR4 layer completely engulf the traces on all sides (ie: make the
FR4 layer ~1 mil larger in all dimensions than the edges of the
traces), you can sometimes avoid some of these meshing mistakes.
This may not be appropriate for all geometries and designs, but
may also avoid complicated errors for cases where it is less
important. If you are have a validated model, and are getting errors
and this is not appropriate/does not solve the problem when you
analyse, you need to manually address the problem. This is more
complicated than the scope of this guide but you can start by
clicking Modeler>Model Analysis>Show Analysis Dialog> Last
Simulation Mesh to see the individual meshing errors from the last
simulation attempt.
3. In this layout, the via and the FR_4 layer occupy the same space. So, we
must subtract one from the other. This is similar to the subtraction
4. Click on FR_4 and the via. As long as your model is not ridiculously
complex, there is not really a downside to selecting all objects for the
subtraction operation at the same time. Doing this will ensure that you
dont forget about anything that may be overlapping with the dielectric
layer you just created.
8. Click OK.
Sources and Sinks are excitations assigned to each net, which are sometimes
needed to generate solutions for the analysis of parasitics. To generate a
capacitance solution, you do not need to assign any Sources or Sinks. However,
for resistive or inductive solutions, any net that you want to include in the matrix
solution must have at least one Source defined, and a single Sink. Attached to
each Source is an independent current source. The Sink collects all the current
injected at the Sources and allows it to flow out of the conductor and back into the
independent current sources, completing the electrical circuit. Imagine that the
current enters the trace at the Source and leaves at the Sink.
4. Select Source.
1. Right-click and click on Select Faces (if you have not already done so).
4. Select Sink.
If you have two conducting objects touching each other, Q3D treats them as one
combined object. Q3D can auto identify nets by finding these touching
conductors.
For our analysis, we will be measuring the inductance in a loop of traces. The Join
in Series option for reduction allow you to connect the Sink terminals of one or
more conductors (or Nets) to the Source terminal of another conductor. Then,
these conductors are treated as a single Net. There are also certain traces where
we will have two or more Sources that contribute equally to the current in the
trace. The Join in Parallel option for reduction allows you to connect these
Sources in parallel. These Source terminals are then treated as a single object.
3. Select a Sink terminal from one Net and a Source terminal from another, to
connect these Nets together.
2. Right-click on the last Reduced Matrix you created and select Join In Parallel.
4. Enter the New Net Name, the New Source Name, and the New Sink name.
After you have performed all the operations you need, you can delete all the
matrices except for the last one, and rename the last one into something of your
choice.
In the DC frequency region, both resistance and inductance are nearly constant
with frequency. In the AC frequency region, the inductance is nearly constant
with frequency, while the resistance increases in proportion to the square root of
the frequency. The AC self-inductance is lower than the DC value because of skin
effects. However, these effects modify the skin depth of the conductor, reducing
the effecting cross section of current flow, and increasing the resistance.
Subsection 1: AC or DC region
The range of frequencies that are in the AC region is given by the following
formula:
f d29
0 r
Here,
is the conductors conductivity in S/m.
d is the thickness of the conductor in m.
0 is the permeability of free space, which is 4107 Wb/Am
r is the conductors relative permeability.
The range of frequencies that are in the AC region is given by the following
formula:
f d21
0 r
Here,
is the conductors conductivity in S/m.
d is the thickness of the conductor in m.
After you have determined which solution, AC or DC, is valid for your solution
frequency, you can create the Solution Setup.
4. Place a check next to the solutions you wish to find. Depending on your
solution frequency, and the corresponding region, select either AC or DC in the
Solution Selection box.
When Q3D simulates your model in the adaptive pass mode, as it usually
will, the first step is to create a mesh for your model. It is somewhat of a complex
process, but basically the software will break your model down into tetrahedral
pieces that it solves for fields within and at the boundaries with neighboring
tetrahedrons. Q3D will create an initial mesh, and then for further passes, it will
refine the mesh, breaking the most important tetrahedrons down further into
multiple more tetrahedrons, to improve the accuracy of the solution further.
Because it is the basis of the solution method, your mesh is integral to the
accuracy and representation of your model in the final solution that Q3D creates.
The meshing algorithm will naturally create a lot of tetrahedrons in small,
intricate pieces, as well as on curved surfaces, so that the mesh will correctly
represent the model.
This can be good or bad, depending on the situation. If too fine a mesh is
created in an unimportant place, then a lot of solution time will be added while the
program solves for values in relatively insignificant places. If the mesh is too
coarse then it can potentially be inaccurate and/or miss essential geometry
features.
The most general way that you can work with these mesh operations is to just
specify the fineness to fit your model and the results that you are trying to get. To do this
go to the Mesh Operations icon in the project manager right click > Initial Mesh Settings
. There are a lot of specific settings you can tweak if you go into the manual mode, but
just using the slider provided works pretty well for the majority of cases.
This will bring up the following box that you can then use to change the HPC
options.
Hit Edit in the middle of the screen and change the field that says number
of cores to four so that it looks like the following picture.
If at simulation run time, the program errors for a reason related to licensure, then
the most likely cause is that your version of ansys does not have the required license
(pool/pack) for the HPC settings that you have selected. Returning the core number to 1
and the license type to None should allow you to run your simulation, albeit slowly.
If you are running a simulation for the first time on a new geometry, or
with more taxing settings, it may be a good idea to keep an eye on the resource
monitoring section of your task manager. The most common cause of
performance issues that have been run into as of writing this is for the RAM
utilization to exceed the cap that is set for Q3D. You can change this RAM cap in
the HPC options if it is necessary, but the default 90% is pretty good. If the Q3D
simulation exceeds the RAM cap, you will be able to see on the resource monitor.
If this happens then the simulation will begin to page virtual memory on your
hard drive, your drive utilization will likely rise to 100% and your computer will
appear to grind to a halt. Technically if you leave the simulation long enough it
will finish, but if this happens it is definitely the best course of action to stop it
and change some settings and try again.
The most common cause of this is that mesh creation creates too many
tetrahedrons for your machine to handle. There are a couple things that you can
try to remedy this.
If the simulation crashes after a couple passes in a simulation, but
was fine before, you can likely leave your settings as they were,
and reduce the number of passes, or the percent refinement per
pass, or increase the goal percent error in the analysis setup. This
will reduce the maximum number of tetrahedrons that the
simulation will produce after refining the mesh each pass.
Use mesh operations to either deprioritize less important areas of
your model, or change your initial mesh settings to be more coarse
in general. Both of these will lower the resolution of the mesh and
possibly the result, but may lower the tetrahedron count enough for
the simulation to run.
If none of the above work, then you may need to simulate a less
complicated model. Either strip away small and unimportant parts,
or change complex geometries into more simple representations.
The more simple the design, the less regions will be created so you
may be able to then run the simulation.
2. Select DC or AC analysis.
3. Select your Reduced Matrix. The inductance is the second number reported in
the units selected in the inductance units box. If more than one cell shows up here
then either your initial source/sink placement has extra paths, or your reduce
matrix does not reduce all of the sources/sinks to one path.