{"title":"rfx: An End-to-End Differentiable 3-D FDTD Simulator for RF and Microwave Engineering","authors":"Byungkwan Kim","doi":"10.1109/TMTT.2026.3729863","DOIUrl":null,"url":null,"abstract":"Gradient-based inverse design is standard in computational photonics but rare in radio frequency (RF) and microwave engineering, where optimization still relies on derivative-free metaheuristics. We present <monospace>rfx</monospace>, a GPU-accelerated 3-D finite-difference time-domain (FDTD) simulator, written in JAX, in which the entire simulation—from time stepping and absorbing boundaries to port extraction and the near-to-far-field (NTFF) transform—forms a single differentiable graph. One reverse-mode automatic-differentiation (AD) pass returns the gradient of RF observables—<inline-formula> <tex-math>$S$ </tex-math></inline-formula>-parameters, directivity—with respect to all design variables at a few times the cost of a forward solve, independent of their number; this backward pass is the discrete adjoint of the FDTD recursion, assembled automatically rather than hand-derived per objective. Forward accuracy is validated against closed-form References and a four-solver patch cross-validation including CST; the AD gradient is verified against central finite differences for every smooth observable class. Three examples of increasing dimensionality (one to 2883 design cells)—a microstrip notch filter, a waveguide taper, and a beam-steering superstrate—drive <inline-formula> <tex-math>$S$ </tex-math></inline-formula>-parameter and far-field objectives directly; openEMS corroborates the optimized notch and steered beam. On the 30-variable taper, particle-swarm and genetic search at an equal-or-larger solve budget trail the gradient by at least 11.6 dB, and one backward pass returns all 2883 beam-steering cell sensitivities. Reoptimized at fabrication resolution, the taper matches—does not beat—a discretized Klopfenstein design. The designs exercise continuous permittivity and relaxed metal; free-form metal topology and conformal PEC remain open. The contribution is a differentiable formulation of RF observables, realized as an open-source simulator; sensitivity analysis and model calibration follow from the same gradient.","PeriodicalId":13272,"journal":{"name":"IEEE Transactions on Microwave Theory and Techniques","volume":"74 10","pages":"8796-8810"},"PeriodicalIF":5.2000,"publicationDate":"2026-10-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"IEEE Transactions on Microwave Theory and Techniques","FirstCategoryId":"5","ListUrlMain":"https://ieeexplore.ieee.org/document/11684485/","RegionNum":1,"RegionCategory":"工程技术","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"2026/9/9 0:00:00","PubModel":"Epub","JCR":"Q2","JCRName":"ENGINEERING, ELECTRICAL & ELECTRONIC","Score":null,"Total":0}
引用次数: 0
Abstract
Gradient-based inverse design is standard in computational photonics but rare in radio frequency (RF) and microwave engineering, where optimization still relies on derivative-free metaheuristics. We present rfx, a GPU-accelerated 3-D finite-difference time-domain (FDTD) simulator, written in JAX, in which the entire simulation—from time stepping and absorbing boundaries to port extraction and the near-to-far-field (NTFF) transform—forms a single differentiable graph. One reverse-mode automatic-differentiation (AD) pass returns the gradient of RF observables—$S$ -parameters, directivity—with respect to all design variables at a few times the cost of a forward solve, independent of their number; this backward pass is the discrete adjoint of the FDTD recursion, assembled automatically rather than hand-derived per objective. Forward accuracy is validated against closed-form References and a four-solver patch cross-validation including CST; the AD gradient is verified against central finite differences for every smooth observable class. Three examples of increasing dimensionality (one to 2883 design cells)—a microstrip notch filter, a waveguide taper, and a beam-steering superstrate—drive $S$ -parameter and far-field objectives directly; openEMS corroborates the optimized notch and steered beam. On the 30-variable taper, particle-swarm and genetic search at an equal-or-larger solve budget trail the gradient by at least 11.6 dB, and one backward pass returns all 2883 beam-steering cell sensitivities. Reoptimized at fabrication resolution, the taper matches—does not beat—a discretized Klopfenstein design. The designs exercise continuous permittivity and relaxed metal; free-form metal topology and conformal PEC remain open. The contribution is a differentiable formulation of RF observables, realized as an open-source simulator; sensitivity analysis and model calibration follow from the same gradient.
期刊介绍:
The IEEE Transactions on Microwave Theory and Techniques focuses on that part of engineering and theory associated with microwave/millimeter-wave components, devices, circuits, and systems involving the generation, modulation, demodulation, control, transmission, and detection of microwave signals. This includes scientific, technical, and industrial, activities. Microwave theory and techniques relates to electromagnetic waves usually in the frequency region between a few MHz and a THz; other spectral regions and wave types are included within the scope of the Society whenever basic microwave theory and techniques can yield useful results. Generally, this occurs in the theory of wave propagation in structures with dimensions comparable to a wavelength, and in the related techniques for analysis and design.