04:27
bluezinc has joined #scopehal
09:14
_whitelogger has joined #scopehal
15:53
<
bvernoux >
does anyone have took time to check my simulation with Qucs / Sonnet Lite ?
15:53
<
bvernoux >
will be interesting to improve them or to add comment on the accuracy
15:54
<
bvernoux >
for me Sonnet is wrong for the Impedance
15:54
<
bvernoux >
expected impedance for that simulation is between 49.2Ohms to 49.8Ohms
15:54
<
bvernoux >
and not 54 or 55Ohms
15:54
<
bvernoux >
So I suspect I have probably missed something with Sonnet ..
15:55
<
bvernoux >
or that old version Lite is a bit limited ...
17:01
<
azonenberg >
bvernoux: what's the exact geometry you're testing?
17:02
<
bvernoux >
it is very basic I have provided all files on my web page
17:02
<
bvernoux >
just a ground and a microstrip line 0.4mm x 60mm
17:02
<
azonenberg >
i wanted to start from scratch in case you did something wrong with the setup
17:02
<
bvernoux >
ground is separated by 0.18mm from microstrip line
17:03
<
bvernoux >
so by simulation it is about 50Ohm (between 49.2Ohms up to 49.8Ohms depending on computation)
17:03
<
bvernoux >
it is corrected specifications for OSHPark 4 layers in fact
17:03
<
azonenberg >
and dielectric constant you used was 3.33?
17:03
<
bvernoux >
Er is 3.33 too
17:03
<
bvernoux >
and not 3.66
17:03
<
bvernoux >
anyway there is not a huge difference
17:04
<
bvernoux >
especially up to 6GHz
17:04
<
bvernoux >
there is all details here
17:04
<
azonenberg >
ok so first off in order to use a smaller cell size in the available ram i'm going to make the line shorter than 60 mm
17:04
<
azonenberg >
this shouldnt change impedance
17:05
<
bvernoux >
with exactly same parameters
17:05
<
bvernoux >
(except if you find an error ;)
17:05
<
azonenberg >
I'm using free space for the top and bottom box covers
17:06
<
bvernoux >
yes 60mm shall not change anythign for impedance
17:06
<
bvernoux >
you can try with 20mm
17:06
<
bvernoux >
or even 10mm
17:07
<
bvernoux >
I suspect it is a bug/limitation of Sonnet Lite as it is pretty old in fact
17:08
<
bvernoux >
I have compared with different tools
17:08
<
bvernoux >
I'm very confident with Saturn PCB ;)
17:08
<
azonenberg >
And you're measuring from what
17:08
<
azonenberg >
say 100 MHz to 6 GHz?
17:09
<
bvernoux >
ha yes the whole test is from 0.1GHz to 10GHz
17:09
<
bvernoux >
for the s-param / simulation
17:09
<
bvernoux >
expected Impedance is 49.78Ohm @ 1GHz ;)
17:10
<
bvernoux >
depending on copper weight/plating thickness
17:10
<
azonenberg >
And what did sonnet give you?
17:10
<
bvernoux >
it can be 49.2 Ohms
17:10
<
bvernoux >
Sonnet say 54Ohm up to 55Ohms
17:10
<
azonenberg >
Ok see, I got 47.5 ohms super flat with this configuration, let me use a smaller cell size and tweak a few things
17:11
<
azonenberg >
Saturn was designed to track results from Sonnet
17:11
<
azonenberg >
So the two should agree very closely for simple geometry
17:11
<
bvernoux >
Yes Saturn is very near latest Sonnet
17:11
<
bvernoux >
not the LIte ;)
17:12
<
azonenberg >
I'm using lite though
17:12
<
bvernoux >
as Author of Saturn PCB use Sonnet full version ...
17:12
<
bvernoux >
me too I have only Sonnet Lite
17:12
<
bvernoux >
which is in fact very old as latest version is 17.x
17:12
<
bvernoux >
but not available as free demo
17:12
<
azonenberg >
ok with a slightly larger box (less edge effects) and a finer cell size
17:13
<
bvernoux >
I want to do same test with OpenEMS
17:13
<
bvernoux >
but I need to understand how it works ;)
17:13
<
azonenberg >
I get 49.95 - 49.95 ohms from 0.1 to 10 GHz
17:13
<
bvernoux >
ha ok good
17:13
<
bvernoux >
so it is strange why I obtain 54
17:13
<
bvernoux >
I have provided project source
17:13
<
bvernoux >
if you can share yours it is interesting to find the potential mistake in mine
17:14
<
azonenberg >
I'm using a 1mm long line, not 60mm, in order to get finer resolution
17:14
<
azonenberg >
1.2mm high box
17:14
<
azonenberg >
and 10 micron mesh size in both directions
17:14
<
azonenberg >
then free space as top and bottom box covers
17:15
<
bvernoux >
what is not clear in Sonnet is what they call GND
17:15
<
azonenberg >
So that might be your problem. I'm not using the box covers as a return path
17:15
<
bvernoux >
in fact it is not a GROUND of a PCB like we can think ;)
17:15
<
bvernoux >
as there is not material
17:15
<
azonenberg >
I have two metal layers with a solid pour on the lower layer
17:15
<
bvernoux >
in my simulation anyway I have 2 layers
17:15
<
bvernoux >
TOP 0 1 GND
17:16
<
bvernoux >
as before without the 1 Z0 was totally wrong ;)
17:16
<
bvernoux >
in fact lot of parameters seems ok
17:16
<
azonenberg >
Yeah. Ok so let me make the mesh finer as i'm only using 1 MB of RAM
17:16
<
azonenberg >
now trying 2.5 um mesh
17:16
<
bvernoux >
even Phase is very near what obtained with Qucs or QucsStudio only Impedance is wrong by about 4 to 5 Ohms
17:17
<
azonenberg >
i think you probably had too tight a box and got edge effects or something?
17:17
<
bvernoux >
yes I hope it is an error in my test somewhere
17:18
<
bvernoux >
I cannot have a smaller mesh too in Lite
17:18
<
bvernoux >
it say it is a limitation of demo ...
17:18
<
azonenberg >
what mesh did you use?
17:18
<
bvernoux >
the default one
17:18
<
azonenberg >
afaik the only limit in lite wrt mesh size is ram
17:19
<
azonenberg >
but since a transmission line is linear time invariant for the most part, you can make a really short line to analyze in extreme detail
17:19
<
azonenberg >
i wouldnt trust numbers from a 60mm long line in lite because your meshing is probably massive
17:19
<
bvernoux >
if you try subdivide circuit
17:20
<
bvernoux >
it say => Sonnet Lite Limitation
17:20
<
bvernoux >
Circuit Subdivision exceeds your Sonnet Lite license.
17:20
<
bvernoux >
for me it is the way to have finer resolution
17:20
<
bvernoux >
especially to have a granularity better than mm
17:20
<
azonenberg >
yeah you dont want to do it that way
17:20
<
azonenberg >
circuit | box
17:20
<
azonenberg >
specify box and cell size
17:21
<
azonenberg >
I get 49.56 ohms super flat with 2.5 um mesh
17:22
<
bvernoux >
when you say mesh is through box settings only ?
17:22
<
bvernoux >
Cell Size ?
17:23
<
bvernoux >
let's try 0.01mm on my side for X & Y
17:23
<
bvernoux >
yes seems very good with theory
17:23
<
azonenberg >
that's the response and current density plot i calculated
17:23
<
azonenberg >
So i dont think this is a sonnet bug, i think it's a PEBKAC problem :)
17:24
<
bvernoux >
let's try with 60m ;)
17:24
<
bvernoux >
yes I have the same
17:25
<
bvernoux >
Metal-1 & 2 are Copper on my side
17:25
<
azonenberg >
note the use of free space covers, not conductive
17:25
<
bvernoux >
I have not set gold
17:25
<
azonenberg >
i used ideal conductors, it shouldnt change much besides loss
17:25
<
bvernoux >
as in theory it is gold because OSHPark is gold plated / ENIG
17:25
<
bvernoux >
but that shall not change lot of things
17:27
<
bvernoux >
whoo simulation is so slow ;)
17:27
<
azonenberg >
And the gold is only a few tens to maybe low hundred nm thick. At most frequencies, i dont think that will carry much current
17:27
<
azonenberg >
at GHz frequencies i think most of the current is in the Ni
17:27
<
azonenberg >
hence enig loss
17:27
<
bvernoux >
yes I have not found the way to configure the plating
17:27
<
bvernoux >
without adding again some layers
17:29
<
azonenberg >
You might find this interesting btw. SEM EDS mapping of a solder joint between a Ni+Sn plated phosphor bronze contact at left, and an ENIG PCB at right
17:29
<
azonenberg >
R/G/B channels are Cu/Sn/Ni respectively
17:30
<
azonenberg >
normalized to full scale amplitude
17:30
<
azonenberg >
scale is about 45 nm/pixel
17:31
<
azonenberg >
https://www.antikernel.net/temp/p.png here's phosphorus density, note that some of the inclusions in the solder layer as well as the PCB nickel plating, but not the contact's plating, have a fair bit of phosphorus
17:31
<
azonenberg >
plus trace quantities in the solder joint that i think dissolved in from the PCB plating
17:32
<
bvernoux >
very nice
17:33
<
bvernoux >
it is a cross section ?
17:34
<
azonenberg >
yeah this is a cross section of one of gregdavill's connectors on a pcb
17:34
<
azonenberg >
at the joint from pcb to connector. I was trying to do a study of the intermetallic layers to see if anything was fishy with his joints
17:34
<
bvernoux >
I confirm with thinner cell size the accuracy ob Impedance is better and better
17:34
<
azonenberg >
there looks to be a lot of voiding and nonmetallic inclusions but i want to do a section of one of my pcbs to compare
17:35
<
bvernoux >
I was not suspecting Impedance was so hard to simulate and requires very thin Cell Size
17:35
<
azonenberg >
I think in general accurate anything is going to require a small cell size to get good resolution
17:35
<
azonenberg >
especially for edge effects
17:35
<
azonenberg >
if you look at the 'view currents' display you can see that most current is flowing on the very edges of the trace, not the middle
17:36
<
bvernoux >
yes but the simulation is so slow ;)
17:37
<
bvernoux >
and in Lite version it is not using multiple core
17:37
<
azonenberg >
Yeah i want the full version but i'm not made of money sooooo...
17:38
<
bvernoux >
On my side I will try OpenEMS as it is clearly a good challenger ;)
17:39
<
bvernoux >
I tried to contact QucsStudio guy too but his old email is unreachable
17:39
<
bvernoux >
as he has integrated OpenEMS in his latest QucsStudio 3.3.1
17:39
<
bvernoux >
but this version is not available ...
17:40
<
bvernoux >
look those amazing features in the unreleased 3.3.1 (which is 6 months old)
17:41
<
bvernoux >
you see in the background the meshes
17:41
<
bvernoux >
as it run OpenEMS ...
17:47
<
bvernoux >
so now I know if I want accurate Impedance value I need really thin meshes ..
17:48
<
bvernoux >
but simulation time explode ;)
17:49
<
bvernoux >
here with Cell Size X/Y => 0.025mm I obtain about 52Ohms Z
20:32
<
bvernoux >
hmm the same with Cell Size X/Y = 0.01 about 52Ohms
20:33
<
bvernoux >
so the accuracy for Impedance is not good when size is 60mm long ...
20:33
<
bvernoux >
it use already 21MB and Subs 1621
20:34
<
bvernoux >
so it is a good point as Sonnet Lite shall be used on small area ;)
20:34
<
bvernoux >
for any simulation exceeding 3cm it does not work correctly for some parameters especially Z
20:35
<
bvernoux >
or it needs hugh meshes and exceed demo version ...
20:35
<
bvernoux >
and take days ;)
20:36
<
bvernoux >
will be very interesting to compare it vs OpenEMS when I will know how to use EMS ;)
20:47
<
_whitenotifier >
[scopehal] azonenberg d276ed0 - Initial support for temperature reading on multimeters. Added negative Y coordinate support to Graph widget.
20:47
<
_whitenotifier >
[scopehal-apps] azonenberg b11749f - Initial version of reflowmon
20:48
<
_whitenotifier >
[scopehal-cmake] azonenberg 9976d85 - Updated submodules, added reflowmon
21:24
<
_whitenotifier >
[scopehal-apps] azonenberg d8ecf5a - Added peak temperature logging
22:17
bvernoux has quit [Quit: Leaving]