Lumped port: partial overlap with conductor metal allowed? #162
-
|
Hello forum, In a recent discussion here I claimed that the lumped port must not overlap the metal wire, because that would partially short the port. However in the same thread I was told that my assumption is wrong. To find out if lumped ports in openEMS may partially overlap with metal or not, I created the testcase shown below. UPDATE: This initial testcase seems to show that openEMS tolerates this situation, but this testcase is incomplete and results are misleading. Don't miss the amendment with more dense mesh here. Why did I believe that lumped ports must not overlap with metal?The simple reason is my experience with the commercial FDTD solver that I use at work. In the testcase shown below, the 50 Ohm lumped ports extend through the 1.5mm substrate and also through the 1.0mm bottom metal. Using this commercial FDTD solver, this shorts the lower part of the port that is embedded inside metal. We can see that by looking at the input impedance into port 1 at low frequency: we get 30 Ohm instead of the expected 50 Ohm from port 2. That 30 Ohm is exactly the fraction of the port 2 termination resistor that is not shorted by the bottom metral: 1.5mm/2.5mm*50 Ohm = 30 Ohm (The solver supports priority concept just like openEMS, but something is obviously different in the implemention of ports) How does openEMS handle this partial overlap between lumped port and metal?To verify the behaviour of openEMS, I created the exact same scenario. The overlap in the bottom metal is not seen in AppCSXCAD screenshot, but we can see it when disabling bottom metal display. Excitation and termination resistor of both ports extends to the bottom of the lower metal layer. Different from the commercial solver results documented above, openEMS seems to tolerate this partial short, and gives the desired 50 Ohm input impedance into the structure. UPDATE: Not quite true, this test is incomplete! Don't miss the amendment with more dense mesh here. The openEMS testcase is attached below. Best regards |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 14 replies
-
|
I don't understand this example or how this should show nesting port is allowed. I looked on your example and simulate it using openEMS and got your graph but your meshing is too coarse like is visible on first image. So I changed line: #max_cellsize = 2 # using lambda/20 would be too large here, creating abrupt steps in cell size -> use smaller value for nicely graded mesh
max_cellsize = 0.1and got fine mesh, it has simulate for 20min and got almost same result like from commercial solver, Zin=32Ohm |
Beta Was this translation helpful? Give feedback.
-
|
Hi Lubomir, I don't understand why you always have trouble with mesh not aligned to the geometries???? In the code there is function AddEdges2Grid() and this works just fine on my openEMS installation for Windows, see screenshot below. The AppCSXDAD view is in 2D mode, to avoid perspective distortion. Everything nicely aligned with the mesh! This is a coarse mesh only, and was meant to work good enough at low frequency. No fancy RF effects required for this test, just a very basic conductor loop with two ports, where we expect to see port2 impedance at the input. So the coarse mesh is "good enough" to model the simple conductor loop - at least I though that's the case. But you now point me to a weakness in my test: the bottom metal is meshed by only one cell in my test, and this doesn't proof that everything works if the port fraction embedded into the bottom metal is meshed by multiple cells! Your result seems to show that something might go wrong then. You wrote "and got fine mesh, it has simulate for 20min and got almost same result like from commercial solver, Zin=32Ohm" and that would mean we get wrong results using that model. For the short metal loop we need to see 50 Ohm, which is the input impedance into port 2. To avoid misunderstanding: The commercial solver result shown above is an example for WRONG results from incorrect modelling where the port is extending into the metal. BR, Volker PS: You might wonder why I used this strange configuration. My main requirement/application for openEMS is simulation of RFIC structures, where the conductor thickness is on the order of dielectrics, and users are tempted to place ports on via layers that penetrate into the planar metals. This is exactly the "port partially embedded into a metal" case that I thought would be critical. That's the motivation why I look at this specific topic. The related project is this and some openEMS examples are here. |
Beta Was this translation helpful? Give feedback.
-
|
Yes, I just noticed the same thing: the test with port overlapping the metal by 1 mesh cell was incomplete and misleading, thanks for double checking! I also tested this, by just placing some more mesh lines into the bottom metal layer, and then results no longer show the correct port 2 impedance of 50 Ohm. So it seems the same rule applies that I know from the commercial FDTD solver: place ports between metal edges, and don't let them penetrate into the metal. Overlap will partially short the internals of the port, such as the termination resistor. Great to have this community which double checks things :-) |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
Thank you very much one more time, sorry for my misunderstanding, now I realized that I have one model of discone antenna in cylindrical coordinates and couldn't make it running due I have small gap there and too much nested port and always I got numerical instabilities there and the reason is for sure wrong port, this is exact reason why it's not running, this seems trivial but the way how I am using openEMS in conjunction with modelling SW this is crucible, I will resimulate it and will post here there are nice animations from these antennas |
Beta Was this translation helpful? Give feedback.














Yes, I just noticed the same thing: the test with port overlapping the metal by 1 mesh cell was incomplete and misleading, thanks for double checking!
I also tested this, by just placing some more mesh lines into the bottom metal layer, and then results no longer show the correct port 2 impedance of 50 Ohm. So it seems the same rule applies that I know from the commercial FDTD solver: place ports between metal edges, and don't let them penetrate into the metal. Overlap will partially short the internals of the port, such as the termination resistor.
Great to have this community which double checks things :-)