Skip to content
← All posts
8 min read

How to simulate a patch antenna, start to finish

Short answer
Estimate the patch dimensions from your substrate and target frequency with a closed-form calculator, draw the patch and ground on the correct stackup, add a feed and a port, run a full-wave solve, and read S11 to find the resonance. Move the feed position to set the match depth, then check the radiation pattern.

A rectangular patch is the antenna most RF engineers simulate first. The math gets you close, but fringing fields, the feed, and a finite ground plane all shift the real resonance, so the reliable path is to start from a calculator and finish with a full-wave solve. Here is the whole loop.

Step 1: get the starting dimensions

Begin with a closed-form patch calculator. You give it the substrate permittivity, the substrate height, and the target frequency, and it returns the patch length and width plus an estimate of the resonant length. Use the free patch antenna calculator for this. Treat the output as a starting point, not the final answer.

Why not stop at the calculator
The closed-form equations assume an idealized patch and ignore the feed and finite ground. They typically land within a few percent of the real resonance, which is close enough to start a simulation and far enough to matter for a tuned design.

Step 2: build the stackup and geometry

  1. Set the substrate as a dielectric layer with the permittivity and thickness you used in the calculator.
  2. Draw the patch on the top conductor at the calculated size.
  3. Place a full ground plane on the bottom conductor.
  4. Add the feed. An inset microstrip feed or a probe feed are the common choices. The feed position is what you will tune for the match.

In RayRF you draw this in the 2D layer editor, or import an outline from a DXF or PNG if you already have the layout. See the stackup and geometry docs for the editor details.

Step 3: add a port and run

Place a lumped port at the feed, set the frequency range to bracket your target, slide the quality preset, and run. The solver sweeps the whole band in one time-domain run, so you get S11 across frequency from a single solve. On a GPU this is seconds.

Step 4: read S11 and find resonance

Open the S-parameter tab. The resonance is the frequency where S11 dips. Two things to check:

  • Is the dip at your target frequency? If it is high, the patch is too short. If it is low, the patch is too long.
  • How deep is the dip? Depth is the match. A shallow dip means the feed position needs adjusting.

Step 5: tune the match

Resonant frequency is set mostly by the patch length. The match is set mostly by where you feed it. Move the feed inset in toward the center to lower the impedance, out toward the edge to raise it, and re-run. This is where an interactive workflow pays off: in Live Mode you drag the feed inset and watch the S11 dip and the Smith chart move in about a second, so tuning is a gesture instead of an edit-save-wait cycle.

Step 6: check the pattern

Once the match is set, open the radiation tab and confirm the pattern is sane: broadside main lobe, reasonable front-to-back, gain in the range you expect for a single patch. If the pattern looks wrong, the feed or the ground extent is usually the cause.

A correct example to start from

RayRF ships a 5.8 GHz patch example so you can run a known-good design before drawing your own. Open it, run it, and read the S11 dip to see the whole loop end to end. The same design is used across the validation work, so you can compare the simulation against a measured board.

Frequently asked questions

How do you simulate a patch antenna?
Estimate the patch length and width from the substrate and target frequency with a closed-form calculator, draw the patch and ground on the right stackup, add a feed and a port, then run a full-wave solver and read S11 to find the resonance. Adjust the feed position to set the match, and check the radiation pattern.
What frequency should I design a patch antenna for first?
A 2.4 GHz or 5.8 GHz patch is a good first design because the dimensions are convenient and the bands are well documented. RayRF ships a 5.8 GHz patch example so you can run a correct design before drawing your own.
Why is my simulated patch resonance off from the calculator?
Closed-form patch equations ignore fringing detail, feed effects, and finite ground, so they get you close but not exact. That gap is exactly why you run a full-wave simulation: the calculator gives the starting dimensions, the solver gives the real resonance and match.
How long does a patch antenna simulation take in RayRF?
On an NVIDIA GPU a single patch solve is seconds, not minutes. In Live Mode you can drag the patch width or feed inset and watch S11 and the pattern update in about a second.
Simulate your first patch in minutes

Open the bundled 5.8 GHz patch, run it, then draw your own. 30-day free trial, no card required.

Start the free trial
patch antennatutorialantenna design