What is the proper mesh density for an accurate electromagnetic simulation at millimeter wave frequencies?
EM Simulation Mesh at mmWave
Mesh quality is the most important factor in electromagnetic simulation accuracy. An insufficiently fine mesh produces inaccurate results regardless of the solver quality.
Mesh Guidelines by Structure
(1) Microstrip line: mesh along the trace width: minimum 5-10 elements across the width. Mesh through the substrate: minimum 3-5 elements through the thickness (for accurate impedance calculation). Mesh along the trace length: lambda_eff/10 element size. (2) Via transition: mesh around the via barrel: minimum 8-12 elements around the circumference. Mesh through the anti-pad: minimum 3 elements from the via to the anti-pad edge. Mesh in the z-direction: minimum 2-3 elements per dielectric layer that the via passes through. (3) Coupled lines: mesh the gap between coupled lines with minimum 3-5 elements. For a 0.1 mm gap at 77 GHz: elements < 0.02-0.03 mm in the gap. This captures the coupling capacitance accurately. (4) Patch antenna: mesh the patch area with minimum 20 × 20 elements across the patch surface. Mesh the substrate under the patch with 5+ elements through the thickness. The fringing fields at the patch edges require fine edge meshing (< 0.01 × lambda).
Computational Resources
(1) Memory: FEM (HFSS): memory scales as N^1.3 (N = number of mesh elements). For 1 million elements: approximately 8-16 GB RAM. FDTD (CST): memory scales as N (linear). For 10 million cells: approximately 3-5 GB RAM. MoM (Momentum, Sonnet): memory scales as N² (N = number of surface elements). For 50,000 surface elements: approximately 20 GB RAM. MoM is the most memory-intensive for large structures. (2) Computation time: FEM: solving a system of 1 million elements typically takes 10-30 minutes on a modern workstation. Adaptive meshing with 5 passes: 1-3 hours total. FDTD: 10 million cells with 10,000 time steps: 1-4 hours. Time-domain: includes all frequencies in one run (wideband analysis is efficient). MoM: 50,000 elements: 30-60 minutes per frequency point. 20 frequency points: 10-20 hours. (3) GPU acceleration: CST FDTD and HFSS FEM support GPU acceleration (NVIDIA CUDA). GPU can speed up simulation by 5-20× compared to CPU only. This is critical for large mmWave models.
77 GHz on substrate: < 0.2 mm
Via mesh: 8-12 elements around barrel
Gap mesh: 3-5 elements in coupling gap
Convergence: ΔS < 0.02 between passes
Frequently Asked Questions
How do I know if my mesh is fine enough?
The convergence test: (1) Run the simulation with the default (adaptive) mesh. Record the S-parameters. (2) Request 2-3 additional mesh refinement passes. Record the S-parameters after each pass. (3) If the S-parameters change by < 0.02 (in linear magnitude) between successive passes: the mesh is converged. If > 0.02: continue refining. An alternative: mesh sensitivity study. Manually set the maximum mesh size to lambda/10, solve. Reduce to lambda/15, solve. Reduce to lambda/20, solve. Plot S-parameters vs mesh density. The solution is converged when further refinement produces < 0.01 change in S11 and S21.
Can I reduce the simulation size?
Techniques for reducing computational cost: (1) Symmetry: if the structure has a plane of symmetry: use a symmetry boundary condition (electric wall or magnetic wall). This halves the simulation volume (and approximately halves the mesh count and computation time). (2) Port truncation: only simulate the region of interest (a few wavelengths around the DUT). Terminate the ports with proper boundary conditions. (3) 2.5D instead of 3D: for planar structures (microstrip, stripline, coupled lines): use a 2.5D solver (ADS Momentum, Sonnet). The 2.5D solver meshes only the conductor surfaces (not the volume), dramatically reducing the mesh count. Accuracy: 2.5D is very accurate for planar structures but cannot handle 3D features (vertical walls, waveguide bends, wire bonds). (4) Sub-structure analysis: simulate complex structures in sections (e.g., simulate the via transition separately from the matching network). Import the S-parameters of each section into the circuit simulator and cascade them.
What about de-embedding in EM simulation?
EM simulators include access structures (port transitions, feed lines) that are not part of the DUT. De-embedding removes the effect of these access structures. Methods: (1) Port calibration (built into most simulators): the simulator automatically accounts for the port transition. (2) TRL de-embedding: simulate separate Thru, Reflect, and Line structures. Use the TRL algorithm to de-embed the port effects. (3) Port extension: specify the length of the feed line, and the simulator mathematically removes its effect (assuming a perfect transmission line). De-embedding is essential for: accurate extraction of S-parameters for circuit simulation, comparing simulated results with measured data (the measurement also requires de-embedding).