Hertzon
Get started · Tutorial

15. Connect subdesigns into one large schematic

Goal: the reflectometer test set of a two-port network analyzer at 2.45 GHz from finished blocks: a Wilkinson divider and two 15 dB coupled-line couplers of the Design Wizard, placed on one board and connected by the router with 50 Ω lines, round bends and the three lines to the receivers R, A and B matched in phase. The finished project is examples/VNA_TestSet_2G4.hzn (File > Open Example > VNA_TestSet_2G4).

15.1 Blocks from the Design Wizard

  1. File > New, Circuit, name VNA_TestSet_2G4, Create; rename the design to TestSet.
  2. Tools > Design Wizard, Wilkinson divider at 2.45 GHz on 0.508 mm RO4350B, Create. The wizard adds the 3D design Wilkinson_2.45GHz and its circuit Wilkinson_2.45GHz_Circuit. Then Coupled-line coupler with a coupling of 15 dB: Coupler_15dB_2.45GHz and its circuit.
  3. Drag Wilkinson_2.45GHz into the schematic (DIV) and the coupler twice (CPL1, CPL2). Each block takes the wizard's circuit as its circuit model. Choose the model per block: right-click > Use Circuit Model (red, CIRCUIT: milliseconds, no 3D solve needed) or Use Full-Wave FEM Model (blue, once the 3D design is solved). The example uses the circuit models, so everything in this section runs without a 3D solve.
  4. Add the ports of the analyzer model: SRC (1), R (2), A (3), B (4), DUT1 (5), DUT2 (6), TERM2 (7), and the two 50 Ω terminations of the unused coupler ports (R_iso1, R_iso2, 0603, each to a Via to Ground).
  5. Draw the connections as they belong together, with wires or net labels; where on the board they run does not matter yet: SRC to the divider input, one divider output to R, the other through CPL1 to DUT1; the coupled port of CPL1 to A; DUT2 through CPL2 to TERM2, the coupled port of CPL2 to B.

The test set schematic The schematic of the test set: three Design Wizard blocks (red: circuit model), the seven ports and the two terminations, connected by net labels. The block colours are explained in 14.3.

15.2 Place and Connect

  1. Simulation > Board Layout. Each block is one part with its copper seen from the top and a pin at every port; the lumped resistor of the divider is red. Drag the blocks roughly where they belong: the divider left, the couplers in a column right of it, the ports along the right and left edges, R turns a part.
  2. Set Z0 50 ohm and the bend style Arc in the toolbar, then Connect. For every connection still missing (only for the selected parts, if any are selected) Hertzon lays a microstrip line of 50 Ω on the circuit's substrate: at right angles round the other copper with a gap of 3 line widths, few bends, a circular bend of radius 3 W at each corner (Miter: 50 % mitered). Where a pin is more than 2 % wider or narrower than the line, a linear taper of 3 line widths joins them, so the impedance has no step.
  3. Hover a route for its length and its phase at f0. Double-click a bend to set its radius (or a 50 % miter for a 90 degree bend), for that bend or for all bends of the route.

15.3 Match the phase

The three receiver paths must have the same electrical length so that the ratios A/R and B/R do not turn with frequency more than needed.

  1. Set f0 2.450 GHz.
  2. Click the route from DIV to R, Ctrl+click the routes from CPL1 to A and from CPL2 to B.
  3. Match Phase. The dialog asks for each route's phase relative to the group: 0 for all is equal phase; +90 deg would make one route lag by 90 degrees more (the feed of a circularly polarized antenna, for example).
  4. OK. Each route that is short of the target gets a meander, a row of U-shaped detours in its longest straight piece, first from the electrical length and then corrected on the route's circuit model to within 0.2 degrees. In the example the three routes are 157.7 mm long and have 778.37 degrees at 2.45 GHz each.

Match Phase The Match Phase dialog for the three receiver routes: 0 deg for all, equal phase.

The connected board The board of the test set after Connect and Match Phase: 50 Ω lines with round bends, the meanders that give the lines to A and B the phase of the line to R, the terminations in line with the coupler ports.

Move a block: its routes turn red and no longer count as connections. Select them, Del, Connect and Match Phase again; matching again starts from the routes without their meanders.

15.4 Analyze the whole system and lay it out

  1. Back to the schematic (Schematic on the board toolbar) and Analyze. The routes are part of the circuit: the analysis replaces the ideal connections of the schematic by the chain of each route (straight pieces as microstrip lines, tapers as five steps, mitered bends as MMBEND, round bends as lines of their arc length) and says so in the messages.
  2. The report Test set paths shows the paths of the analyzer at 2.45 GHz: SRC to R −3.7 dB, SRC to DUT1 −3.9 dB, DUT1 to A −15.0 dB (coupled), DUT2 to B −15.0 dB, DUT2 to TERM2 −0.9 dB.
  3. Create 3D Layout copies the 3D design of every block into one layout, turned and moved as placed, with the routes as copper: the full-wave check of the whole board is one analysis away.

Paths of the test set The test set with the routed lines: the two halves of the divider (S21, S51), the coupled paths to A and B (S35, S46) and the through path to TERM2 (S76).

The 3D layout of the test set TestSet_Layout: the divider and the couplers from their 3D designs with the routes and the meanders as copper.

The microstrip coupler has a directivity of only a few dB (its even and odd modes travel at different speeds); the calibration of the analyzer removes it, as for every real test set. See the report Directivity of the A coupler.


View this page on GitHub