Hertzon
Get started · Tutorial

14. A broadband diode mixer with harmonic balance

Goal: a double-balanced diode-ring mixer for RF and LO of about 1.25 to 4 GHz and an IF of 100 MHz: two baluns solved as a 3D design, the diode ring with the manufacturer's model card, and the conversion loss and the isolations over the band from a two-tone harmonic balance. The finished project is examples/Mixer_DBM.hzn (File > Open Example > Mixer_DBM), made by examples/make_mixer.py. Hertzon builds the network and solves the balun (EMerge); circuitRF runs the harmonic balance.

14.1 The balun as a 3D design

The design Balun is a broadside-coupled Marchand balun in stripline inside a standard 1.6 mm 4-layer board (RO4350B cores, RO4450F prepreg): the primary on layer 3, the two coupled secondaries on layer 2 right above it. Edge coupling on one layer is far too weak for a broadband Marchand balun; broadside coupling across the thin prepreg is what makes it work from 1.25 to 4 GHz. Its five Lumped Ports are the unbalanced input, the two balanced outputs and the two cold ends.

Analyze it first (a few minutes): select Balun and Analyze All. Its sweep runs from 0.05 to 26 GHz, far above the band, for a reason that 14.3 explains.

14.2 The mixer circuit

  1. Insert a circuit design (Project > Insert Design > Circuit), here Mixer.
  2. Drag the 3D design Balun from the Project Manager into the schematic twice: BalunLO and BalunRF. Each is a block with one pin per port.
  3. Nonlinear > SPICE Library LIB1, File mixer/hsms282x.lib (the HSMS-282x card of the Broadcom data sheet). Four Nonlinear Devices D1 to D4, Kind Model card, Model HSMS282X, Pins a k, as a ring a-b-c-d; the LO balun drives a-c, the RF balun b-d. LA to LD (0.5 nH) are the leads of the SOT-143 package.
  4. The IF comes from the cold ends of the RF balun: an 0402 bypass capacitor Cb1, Cb2 (10 pF with its series inductance) at each end, a coplanar line IF1, IF2 to the IF junction, the choke LCH (47 nH) and the Power Port IF. The cold ends of the LO balun are grounded.
  5. Three Power Ports: LO (1), RF (2), IF (3).

The mixer schematic The schematic of Mixer_DBM: the two balun blocks (grey, NO MODEL, until Balun is solved), the diode ring with the package leads, the IF path with the bypass capacitors, the coplanar lines and the choke.

14.3 Full-wave block or circuit model

The colour of a block says what the next analysis takes. A two-tone harmonic balance needs the network not only in the band but at every mixing product up to the mixing order times the highest frequency, here up to 5 × 5 GHz = 25 GHz. Block data are never extrapolated, so:

Block colour Meaning
blue, FULL-WAVE FEM the solved data cover every frequency the analysis needs
red, CIRCUIT the circuit model chosen for the block (right-click > Use Circuit Model)
red dashed, CIRCUIT (AUTO) the data were chosen but do not cover the analysis: the circuit model stands in, with a warning
grey, NO MODEL no usable model: not solved yet, or not covering the analysis and no circuit model; the analysis stops and names the ranges

That is why the balun is swept to 26 GHz. A block that has a circuit design with the same ports as its circuit model (the blocks of a Design Wizard structure, or a layout made with Create 3D Layout) can switch to it; the section below uses that.

14.4 The mixer analysis

  1. Right-click Analysis > Add Analysis, then set Analysis to Mixer in its properties: LO port LO, LO power 7 (dBm), RF port RF, RF power -20, IF port IF, RF start 1GHz, RF stop 5GHz, RF points 17, IF frequency 100MHz, LO side Low (f_LO = f_RF − f_IF), Mixing order 5. This is the setup Band of the example.
  2. A second analysis LODrive with LO power -3:1:13 and RF fixed at 3 GHz shows how much LO the ring needs.
  3. Analyze. circuitRF solves both tones at once on Hertzon's network; every point takes about 0.7 s at order
  4. The results are in mixer.csv of each setup: conversion loss, LO-to-RF, LO-to-IF, RF-to-IF and RF-to-LO isolation and the IF power for every LO power and RF frequency, with a flag for a point that did not converge (flagged, not dropped).

Conversion loss and isolation The results of Mixer_DBM from mixer.csv (plotted outside Hertzon; harmonic-balance results are not in the report dialog yet): conversion loss 4.4 to 8.2 dB from 1.25 to 4 GHz at +7 dBm LO, LO-to-RF isolation ≥ 52 dB and LO-to-IF ≥ 63 dB (ideal, identical diodes and baluns), and the conversion loss over the LO power at 3 GHz.

Mixing order: a diode ring at order 5 is within about 0.2 dB of order 9 (at most 0.7 dB), and the time grows fast with the order (3.6 s per point at 9). A single diode needs about 13. The harmonic balance of a single HSMS-282x diode was checked against an ngspice transient analysis within 0.13 dB (examples/mixer/check_ngspice.py).


View this page on GitHub