Big deviations between OpenEMS and HFSS #146
-
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 22 replies
-
|
Nearly forgot; here's my .m and result files. |
Beta Was this translation helpful? Give feedback.
-
|
Hello Nico, A portion of the differences you see is due to the dispersion Model of the used Substrate. I think HFSS Users the Djorjevic-Sarkar Model by default? Not sure. Please find further Information For the increasing return loss: Not sure right now. I Need to Look at your script Can you Upload a Touchstone file Export of your HFSS Simulation? Regards |
Beta Was this translation helpful? Give feedback.
-
|
Hey @thliebig , hey @toammann , thanks a lot for your help until here! For the other simulation now that I took the screenshot from - it was built on top of the "OpenEMS\matlab\examples\transmission_lines\MSL_Losses.m" example file with values changed to the ones I simulated in HFSS. I re-checked, there is enough air clearance over the trace itself (7.5 mm) and zero clearance under it because there's a PEC acting as ground. About the tip of my colleague, yeah, that absolutely makes sense. I wasn't sure if the 50 Ohm-Port correctly terminates the strip or if it only uses that impedance to calculate values, and also how big of an impact the measurement shift has, so I gave it a try. As next steps I will take a look at the links you sent me and also try to re-generate the file step by step from the example file. I re-evaluated the example file, and the S11 has the correct shape there. best wishes and have a great start into the week, |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
Hello everyone, sorry for taking so long. There are several cases I tried; to make ientification easier, I will enumerate them. @VolkerMuehlhaus That's interesting, didn't know that. Thanks for the tip! I thought it might be okay as it was done like that in this OpenEMS example. However, moving the feed indeed gave a slight improvement. I moved it all the way to the beginning of the port now (by removing the 'feed_shift' parameter): Case 1
You can find that model here: https://datashare.tu-dresden.de/s/JycX7ejx53mqwzT Case 2@toammann Sadly, moving the probes away from the feed (feed_shift is 10 mm now) makes the situation worse again: Case 3For the ports impedance, I tried removing the 'feed_R' parameters, but that leaves the simulation running forever because of the wave travelling along the strip getting reflected back and forth without actual decay. So as you see, no more reflections from the ends, much smoother curve on the S11 (maybe even too smooth? especially when compared to the HFSS results). But the imaginary part of the impedance still persists. But... S21 stays well unter the 0 dB line all the time! Even if it might be too small and should be a few mor dB into the negative. (Reminder: This is all for a line terminated by 50 Ohm at each end with the feed and so also the impeance sitting at the diret end. Ports are 5mm off the ends at a overall line length of 40mm) Case 4I also tried to decrease the impedance values (2x feed_R of ports, 1x calc_ports) to 45 ohms as that's what the simulation suggests. Now it looks as follows: I uploaded this case here: https://datashare.tu-dresden.de/s/LtsKtYdEMGSRbJk Case 5To evaluate that, I checked against that case also in HFSS: @VolkerMuehlhaus you said that the problem is the stringing fields at the probes caused by the broad stripe, and making it thinner reduces that error here - so it's not because of the better matcing between the feed impedance(s) and the line impedance? Ah, and is it better/easier for you if I upload and link a model for each separate case in the future? best wishes and have a great week, |
Beta Was this translation helpful? Give feedback.
-
|
Hello @VolkerMuehlhaus , thanks a lot for your help! It indeed solved many points. I will answer back thoroughly next week as I'm on a road trip right now (: best wishes, |
Beta Was this translation helpful? Give feedback.

























Hello again Nico,
I looked at your model file and found a few issues and misunderstandings. For example, you try to calculate S12 and S22 without running a simulation where port 2 (and ONLY port 2) is excited.
Another misunderstanding seems to be line length in this example: the line length parameter should be the "net" length of your device under test, excluding additional length added for the feed. The "trick" here is to shift the port reference plane (=measurement plane, the location of the port's voltage probe) to the interface where the DUT line length starts/ends. In your model, you messed up DUT line length by subtracting port_dist.
Regarding the MUR boundary in your model: I had p…