Simulate PCB traces and boards in your browser

NobuRF is a free 3D field solver that runs in Chrome or Edge. Besides antennas, it solves the copper on a PCB: a microstrip line's impedance, a differential pair's mixed-mode S-parameters and skew, and boards you import from your layout tool.

The Line tab for a microstrip on 1.6 mm FR-4: a TDR plot of impedance against time from each port, and readouts of Z0 and effective permittivity at 2.5, 5 and 7.5 GHz.
Figure 1. A 50 Ω microstrip on 1.6 mm FR-4, solved in 3D: Z0 reads 50.9, 52.3 and 54.2 Ω at 2.5, 5 and 7.5 GHz, with εeff from 3.46 to 3.51.

A 50 Ω microstrip line, step by step

Open the workbench in Chrome or Edge 113 or later. The line comes from a template.

  1. Start a microstrip line

    Choose New in the toolbar. Leave the board size empty and the template sizes the board from the design.

    1. Microstrip line: a 50 Ω line between two ports.
    2. Design frequency, 5 GHz.
    3. Substrate thickness, 1.6 mm.
    4. Substrate, FR-4. Then Create.
    The New project dialog with Microstrip line chosen, 5 GHz, 1.6 mm and FR-4 filled in, and the Create button.
  2. Check the model

    The template draws a strip over a ground plane on a 23 by 20 mm board and puts a port at each end. Its width comes from a closed-form formula for 50 Ω, and it is a variable, so you can change it and solve again.

    1. line_w, the strip width: 3.059 mm.
    2. The two ports, p1 and p2, each 50 Ω. They show as 1 and 2 on the board.
    The workbench with the new line: the project tree listing variables, stackup, copper and ports, and the board in 3D with a strip from port 1 to port 2.
  3. Solve

    Press Solve. NobuRF drives one port at a time, so two ports take two runs. On a laptop's GTX 1660 Ti both took 24 s.

    1. Which run, and what it is doing.
    2. The time so far.
    3. The mesh size and the number of runs: 0.54 million cells here.
    The progress bar during the solve, run 1 of 2, and the console line Solving on WebGPU: 103 by 95 by 55 cells, 0.54 million, 2 runs.
  4. Read the line

    Open the Line tab. It reads the impedance and effective permittivity from the field along the strip, the way the drawing below shows.

    1. Z0 and εeff at 2.5, 5 and 7.5 GHz, the frequencies under "Report Z at": 50.9, 52.3 and 54.2 Ω.
    2. They come from the middle 8.3 mm of the 18 mm line, away from the ports.
    3. The TDR, from each end. The two bumps are the port connections, at this end and at the far port, which the dotted line marks. Between them, mid-line, the trace dips to about 50 Ω. After the far port the plot shows the 50 Ω load.
    The Line tab: a TDR plot of impedance against time from p1 and p2, and readouts of Z0, effective permittivity, the fitted length, fit residual and TDR rise time.

What the Line tab measures

Where the Line tab reads a microstrip Top: the 18 mm strip seen from above, with port p1 at one end and p2 at the other. Only the middle 8.3 mm, away from both ports, is used to fit Z0 and effective permittivity. Bottom: the cross-section, a 3.06 mm strip on 1.6 mm of FR-4 over a ground plane, with field lines from the strip to the ground. p1 p2 fit window, 8.3 mm strip, 18 mm, from above w = 3.06 mm cross-section FR-4, h = 1.6 mm ground
Not to scale along the line. Near each port the field is still settling from the port's own discontinuity, so the fit uses only the middle, and the ports do not enter Z0 or εeff.

The field solve reads Z0 a little above the closed-form 50 Ω, and the reading rises with frequency more than closed-form dispersion models predict. I haven't traced that rise yet, and the Line tab's method hasn't been checked against another solver. The solver under it has: on the microstrip benchmark in section 7.3 of the validation report, εeff is within 0.7 % of the closed form and Z0 within about 2 % of openEMS.

A differential pair, step by step

NobuRF solves the four ports of a pair one at a time and reads the 4 by 4 result as a pair: mixed-mode S-parameters, differential impedance, delay and skew.

  1. Open the example

    The example is a pair on a 10 by 20 mm board of 0.5 mm FR-4, and its negative line takes a detour, so it arrives later than the positive one.

    1. Examples, then diff-pair-detour.json.
    2. Four ports, each 50 Ω: p1 and n1 at one end, p2 and n2 at the other.
    3. The detour on the negative line.
    The diff-pair-detour example from the top: two parallel lines with ports 1 and 2 at the bottom and 3 and 4 at the top, the right-hand line jogging sideways partway along, and the project tree listing ports p1, n1, p2 and n2.
  2. Read the pair

    Press Solve. Four ports take four runs, on a mesh of 0.48 million cells here, 27 s in all on the same laptop GPU. Then open the Differential tab.

    1. The pairing: D1 is p1 and n1 at one end, D2 is p2 and n2 at the other. Swap + and − here if they are the wrong way round.
    2. The differential reference. Empty means twice the port impedance, 100 Ω here; type your interface's, such as 90 Ω for USB.
    3. Differential impedance along the middle of the line: 93.5 Ω, from 92.2 to 96.8 Ω.
    4. Insertion loss, Sdd21: −0.2, −0.6 and −0.8 dB at 2.5, 5 and 7.5 GHz.
    5. Intra-pair skew: 10.56 ps, with the negative line later because of its detour.

    The detour also converts some of the differential signal to common mode: Scd21 reaches −10.1 dB.

    The Differential tab: the pairing bar and references, Sdd21, Scd21 and Sdd11 against frequency, a differential TDR from each end, and readouts of impedance, loss, return loss, mode conversion, delay and skew.

The pair analysis is post-processing of the single-ended S-parameters, so it also runs on a Touchstone file from another solver or a VNA; see differential pairs. On a real board, import the Gerber files and cut a section around the pair.

Getting your own board in

  1. New starts a microstrip line, a differential pair, a patch antenna or a blank board from the design frequency, the laminate and its thickness.
  2. Import takes copper and board outlines from Gerber, DXF or STEP, and plated holes from an Excellon drill file. Import Gerber files and simulate a PCB section walks through a real four-layer board.
  3. You can also draw rectangles (R) and polygons (P) on any layer, place ports (T), and add layers, vias and lumped parts from the project tree.

Other results

Every project gets S-parameters, a Smith chart and impedance, exported as Touchstone. The Emissions tab maps the near field over the board (see near-field scans and emissions), Sensitivity shows which variables move a one-port result most, and Mesh check solves again on a finer mesh to put an error bar on it.

What it doesn't do yet

The ports on these boards are lumped, and a lumped port is a discontinuity of its own. A port's "De-embed feed" setting removes the port and a length of its feed line from the result; see de-embedding ports. A whole board at a fine mesh can be more than a browser GPU holds, which is what the Section tool is for. And no board designed in NobuRF has been measured on a VNA yet.