
LogicAnalyzer
gusmanb/logicanalyzer
24 channel, 100Msps logic analyzer hardware and software

2.4 GHz MIFA trace antenna design and simulation. Modeled using Ansys HFSS with Optimetrics sweeps to optimize geometry. Implemented on a custom 2-layer KiCad PCB using a coplanar waveguide. Includes LiteVNA verification diagnostics and a calculated Pi impedance matching network.
AntTest is an open-source printed circuit board by Blaze-Pascal, from the Blaze-Pascal/EKA-PiF-MIFA repository on GitHub, published under the MIT licence. It is a 2-layer board of 49.7 × 49.3 mm with 10 parts on 5 nets, routed with 29 tracks and 236 vias.
Its parts include 4 capacitors, 2 connectors and 2 inductors. It belongs with the radio and wireless boards of this library.
Goal: Design, simulate, and measure a custom Meandered Inverted-F Antenna (MIFA) for the 2.4 GHz ISM band (Wi-Fi/Bluetooth).
Project Scope:
The baseline parametric model was created in Ansys HFSS based on Texas Instruments' AN043. Following best practices from PCBSync’s guide on 2.4 GHz PCB trace antennas, the initial dimensions were iteratively adjusted. To streamline the simulation space, the feed line and connector were omitted from the HFSS model, a standard approximation technique outlined in NXP Semiconductors' AN11994.
The design relies heavily on the ground counterweight for the monopole. Because altering the ground plane drastically shifts the resonant frequency, Ansys Optimetrics sweeps were utilized to calculate multiple variables automatically, locking in the geometry that provided the best response on a minimum 30x30 mm ground plane.
Key PCB Simulation Parameters:
S11 Reflection Coefficient
The target acceptable S11 reflection parameter was < -10dB in the target 2.4–2.5 GHz Wi-Fi band. The optimized HFSS geometry successfully met this criteria.
Smith Chart & Impedance
While the S11 parameter was acceptable, the Smith chart indicated that ideal 50Ω matching was not achieved. At 2.45 GHz, the normalized impedance was 1.3 + 0.46j, requiring a matching network for optimal power transfer.
Directional Gain
The peak directional gain simulated at -0.97 dB (approximately 80% isotropic power). While a perfectly tuned directional antenna should exhibit higher gain, this result suggests strong capacitive coupling to the ground plane resulting in signal power loss.
The HFSS dimensions were mapped directly into KiCad to create a custom footprint. The antenna feed was routed to a U.FL connector using a grounded coplanar waveguide (CPW). Calculating the feed line as a CPW rather than a standard microstrip allowed for a physically narrower 50Ω trace on the 1.6 mm 2-layer board.
To calibrate the LiteVNA for the U.FL connector, a custom Short-Open-Load calibration was performed directly on the unpopulated Pi filter pads.
Initial VNA measurements diverged entirely from the HFSS simulations, presenting an open circuit with fully capacitive loading. Physical inspection of the PCB revealed the root cause: a manufacturing defect left the CPW feed line and the antenna trace unconnected.
Left: Intended Gerber trace. Right: Actual manufactured PCB showing the broken feed.
Due to timeline constraints, fabricating a corrected board was not feasible. Instead, the troubleshooting process successfully validated the VNA setup, and the HFSS simulation data was deemed verified for the purpose of designing the compensation network.
Using the simulated antenna impedance of 65 + 23j Ω, a Pi filter compensation network was designed using onlinesmithchart.com. By plotting the antenna's load impedance and navigating to the 50Ω center point, the necessary passive components were calculated.
As seen from the transceiver to the antenna, the matching network consists of:
This network successfully transforms the simulated antenna impedance to a near-perfect match of 51 + 2.7j Ω. (Note: If this antenna were paired with a transceiver requiring a different characteristic impedance, the Pi filter values would need to be recalculated accordingly).
| Qty | Value | Footprint | References |
|---|---|---|---|
| 4 | DNP | Capacitor_SMD:C_0402_1005Metric | C101, C102, C103, C104 |
| 2 | 0H | Inductor_SMD:L_0402_1005Metric | L101, L102 |
| 2 | Conn_Coaxial | Connector_Coaxial:U.FL_Molex_MCRF_73412-0110_Vertical | J101, J102 |
| 1 | TI Ref | RF_Antenna:Texas_SWRA117D_2.4GHz_Right | AE101 |
| 1 | The Stizz | MIFA:Blaze_2.4GHz_MIFA | AE102 |
It measures 49.7 × 49.3 mm and has 2 copper layers, 1.6 mm thick.
10 parts. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.
From the Blaze-Pascal/EKA-PiF-MIFA repository on GitHub, at the commit this page was made from: the board is KiCad/AntTest.kicad_pcb and its schematic KiCad/AntTest.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Its repository publishes it under the MIT licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).

gusmanb/logicanalyzer
24 channel, 100Msps logic analyzer hardware and software

byrantech/laptop
anyon_e, a highly integrated, high end, open source laptop. Attempt the impossible.

joeycastillo/Sensor-Watch
A board replacement for the classic Casio F-91W wristwatch


OLIMEX/OLINUXINO
OLINUXINO is Open Source / Open Hardware, low cost from EUR 24 Linux Industrial grade Single Board Computer capable to operate -25+85C

rusefi/rusefi
rusefi - GPL internal combustion engine control unit

VoronDesign/Voron-Hardware
Cool Hardware designed by the Voron Design group

hoglet67/RGBtoHDMI
Bare-metal Raspberry Pi project that provides pixel-perfect sampling of Retro Computer RGB/YUV video and conversion to HDMI