Skip to the content
PCBKitNew board
2 layers49.7 × 49.3 mmAntTest, the printed circuit board in 3D

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.

Size
49.7 × 49.3 mm
Copper layers
2
Thickness
1.6 mm
Parts
10
Nets
5
Pads
24
Tracks, vias
29, 236
Pours
3
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
12 Apr 2026
Updated
9 Aug 2026

Overview

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.

README

README.md

2.4 GHz MIFA Antenna: HFSS Simulation and PCB Implementation

Antenna dimensions schematic

Project Overview

Goal: Design, simulate, and measure a custom Meandered Inverted-F Antenna (MIFA) for the 2.4 GHz ISM band (Wi-Fi/Bluetooth).

Project Scope:

  • Literature Review: Studied reference designs and application notes from credible silicon manufacturers (TI, NXP).
  • RF Simulation: Modeled and optimized the antenna geometry using Ansys HFSS.
  • Hardware Prototyping: Exported the optimized geometry to KiCad, designed a 2-layer test PCB, and manufactured the prototype.
  • VNA Verification & Matching: Measured the physical antenna with a LiteVNA to verify simulation results, and designed a Pi matching network to correct impedance offsets.

Antenna Design & Simulation

Ansys ss front ansys ss back

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:

  • Substrate Material: FR4
  • Dielectric Constant (Er): 4.4
  • Substrate Thickness: 1.6 mm
  • Total PCB Dimensions: 50.3 x 30.3 mm
  • Top/Bottom GND Plane: 40 x 30.3 mm

Simulation Results

S11 Reflection Coefficient

S11 graph

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

smith chart

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

donut graph

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.


Hardware Implementation & Troubleshooting

kicad pcb

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.

VNA Measurements & Diagnostics

measuremets ss

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.

correct gerber problem pcb

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.


Impedance Matching (Pi Network)

comp network correction smitch chart

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:

  • Shunt Capacitor: 1.6 pF
  • Series Inductor: 3.9 nH
  • Shunt Capacitor: 1.3 pF

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).

Parts

10
QtyValueFootprintReferences
4DNPCapacitor_SMD:C_0402_1005MetricC101, C102, C103, C104
20HInductor_SMD:L_0402_1005MetricL101, L102
2Conn_CoaxialConnector_Coaxial:U.FL_Molex_MCRF_73412-0110_VerticalJ101, J102
1TI RefRF_Antenna:Texas_SWRA117D_2.4GHz_RightAE101
1The StizzMIFA:Blaze_2.4GHz_MIFAAE102

Questions

How big is the AntTest PCB?

It measures 49.7 × 49.3 mm and has 2 copper layers, 1.6 mm thick.

What parts does the AntTest use?

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.

Where can I download the AntTest KiCad files?

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.

Can I use the AntTest design in my own project?

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).

Similar boards

  • 2 layers57 × 55.2 mmLogicAnalyzer, the printed circuit board in 3D

    LogicAnalyzer

    gusmanb/logicanalyzer

    24 channel, 100Msps logic analyzer hardware and software

    10 parts5.1kGPL-3.0
  • 2 layers32.2 × 15.4 mmProtector, the printed circuit board in 3D

    Protector

    byrantech/laptop

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

    10 parts4.3kMIT
  • 2 layers26 × 18 mmConn, the printed circuit board in 3D

    Conn

    yaqwsx/KiKit

    Automation tools for KiCAD

    10 parts2.1kMIT
  • 2 layers44.3 × 30.5 mmLime2-SATA RevA, the printed circuit board in 3D

    Lime2-SATA RevA

    OLIMEX/OLINUXINO

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

    10 parts1.5k
  • 2 layers17.8 × 43.2 mmNano Adapter, the printed circuit board in 3D

    Nano Adapter

    VoronDesign/Voron-Hardware

    Cool Hardware designed by the Voron Design group

    10 parts1.1kGPL-3.0
  • 2 layers53.9 × 23.2 mmBuffer, the printed circuit board in 3D

    Buffer

    hoglet67/RGBtoHDMI

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

    10 parts1kGPL-3.0