circuitRF New User's Guide

Welcome to circuitRF!

Never used a circuit simulator before? Perfect — this guide starts from the very beginning and gets you to your first working simulation. No prior EDA experience assumed, and no question is too basic.

1 · Why simulate? And what circuitRF does

Building RF hardware is expensive and slow. A circuit simulator lets you predict how a design behaves before you build it — and lets you ask "what if?" a hundred times in an afternoon. circuitRF answers questions like: How much does this amplifier gain at 2 GHz? How much power does it put out before it saturates? How efficient is it? What load impedance makes it happiest?

circuitRF is built specifically for RF and microwave work. You'll hear it's "not a SPICE simulator" — that just means it focuses on the questions RF designers ask (frequency response, gain, efficiency, intermodulation, loadpull) rather than the time-domain waveforms a SPICE tool chases. If those RF words are new, don't worry — you'll meet them gently below.

The fastest way in

Open circuitRF, choose File → New Schematic, and you have a blank sheet to drop parts onto and simulate — no setup, no project to create first. Everything below builds on that.

2 · The circuitRF window

Here is what you will be looking at. The middle of the window is the document area and holds your documents — schematics, layouts, plots — one per tab. Around them sit the tool panels: the Project panel on the left is the folder you are working in, the Library on the right is every part you can place, Properties shows whatever you have selected, and Messages along the bottom is the application telling you what it did.

Amplifier Design — circuitRF File Edit Design Simulate Tools View Window Help Amplifier Design FET Amplifier Mitred Bend PCB 2-Layer.ctech Workspace Component Angelov Q1 Type label Instance name Ipk 0.1 A Vpk -1 V P1 1 P2 0 P3 0 Alpha 2 Lambda 0 Cgs 1 pF Cgd 0 pF CapModel 1 Help Properties Analyses Properties + − + − Vdc V1 Vdc = VGS V I IProbe IGS + − Term Term1 Num = 1 Z = 50 Ω C C1 C = 1 mF L L1 L = 1 mH Angelov Q1 Ipk = 0.1 A Vpk = -1 V P1 = 1 Alpha = 2 VAR VAR VAR1 VGS = -2 VDS = 48 I IProbe IDS C C2 C = 1 mF L L2 L = 1 mH + − Vdc V2 Vdc = VDS V + − Term Term2 Num = 2 Z = 50 Ω Welcome Mitred Bend.clay FET Amplifier.csch Opened workspace 'Amplifier Design'. Opened schematic 'FET Amplifier'. Opened layout 'Mitred Bend'. Messages DRC LVS Messages All Search… R GND L M M C NonlinearC + − Term + − TermG VAR VAR MEAS I IProbe V VProbe + − Vdc P1Tone ITone + − VTone 1 2 S2P G L WSProbe 1 2 3 S3P 1 2 SPICE Library Amplifier Design — circuitRF File Edit Design Simulate Tools View Window Help Amplifier Design FET Amplifier Mitred Bend PCB 2-Layer.ctech Workspace Layout Select a shape or instance to inspect. Properties Analyses Properties EM Layer: Bottom Copper Technology: PCB 2-Layer Unit: mil Snap: 1 mil Shapes: 4 Instances: 0 Extent: 11.811 × 10.6299 mil X: — Y: — -6 -4 -2 0 2 4 6 8 10 12 14 16 -4 -2 0 2 4 6 8 Welcome FET Amplifier.csch Mitred Bend.clay Opened workspace 'Amplifier Design'. Opened schematic 'FET Amplifier'. Opened layout 'Mitred Bend'. Messages DRC LVS Messages All Search… R GND L M M C NonlinearC + − Term + − TermG VAR VAR MEAS I IProbe V VProbe + − Vdc P1Tone ITone + − VTone 1 2 S2P G L WSProbe 1 2 3 S3P 1 2 SPICE Library
The workspace window: a schematic open in the document area, the Project, Properties, Library and Messages panels around it, and a layout waiting in the second tab.

Every region of that window, numbered and named: The Workspace ▸ The regions of the window.

The folder behind it is called a workspace. It is an ordinary folder on disk with a .cws file in it and one sub-folder per cell — nothing hidden, nothing in a database — which is why the Project panel and your file browser always agree with each other.

Move anything, and put it all back

Every panel and every tab can be dragged somewhere else — tabbed together, docked against an edge, or pulled out into a window of its own — and where you left them is remembered per workspace. If it ever gets away from you, View ▸ Reset Layout puts everything back. See Moving, hiding and resetting the layout.

3 · The Library: your box of parts

Every part you can place lives in the Library, shown as the Library Palette — a panel of tiles, each a component. Resistors, capacitors, inductors, sources, transistors, transmission lines, and more. You can filter by category or type in the search box (try "cap" or "tline"). To place one, click its tile and then click on the canvas (or drag the tile onto the canvas).

A library is also where reusable building blocks you create yourself live — which brings us to cells.

4 · Cells — symbol, schematic and layout

A cell is circuitRF's reusable building block. Think of it like a chip you can drop into a bigger design. A cell has up to three views — three ways of looking at the same block:

Why a symbol and a schematic? Because the symbol is the convenient outside view and the schematic is the detailed inside view. When you use an amplifier cell ten times in a design, you want to see ten tidy amplifier symbols — not ten copies of the full transistor-level schematic cluttering your screen. The symbol hides the detail; the schematic holds it.

And why a layout as well? Because above a couple of gigahertz the wiring stops being wiring. A 90° bend, a length of line and the gap between two traces all have electrical behaviour of their own, and none of it is in the schematic. The layout is where that behaviour comes from — you draw the artwork, and the planar method-of-moments solver turns it into S-parameters you can put back into the circuit.

A cell does not need all three. A test bench is usually schematic-only; a piece of artwork imported from GDSII may be layout-only. The two are kept in step in either direction by Design ▸ Update Layout from Schematic and Update Schematic from Layout, which reconcile the components in one against the artwork in the other.

5 · Hierarchy: circuits inside circuits

Because a cell can contain other cells, designs are hierarchical — circuits nested inside circuits, as deep as you like. A two-stage amplifier might be one cell that contains two "single-stage amplifier" cells, each of which contains a transistor cell and a matching-network cell.

To look inside a cell, push into it (open its schematic); when you're done, pop back out. Editing a cell changes every place it's used — fix the amplifier once, and all ten instances update. That reuse is the whole point of hierarchy: build a thing once, use it everywhere, maintain it in one place.

6 · Parameters & editing values

A parameter is a value you can change — a resistor's resistance, an inductor's inductance, a source's power. Cells can declare their own parameters too (say, an amplifier cell with a Gain parameter), and when you place that cell you can override the parameter for that one instance. Values flow top-down: the parent sets a value, the cell uses it. (circuitRF also catches circular definitions and tells you, so you can't tie yourself in knots.)

Just double-click it

The quickest way to change a value: double-click the value label right on the schematic and type the new one — 50 Ω, 1.2 nH, 2 GHz — then press Enter. The inline editor accepts units directly. (Double-click the component body for the full parameter editor with every setting.)

circuitRF - Schematic + − R1 R = 50 Ω 50 Ω circuitRF - Schematic + − R1 R = 50 Ω 50 Ω
Double-clicking a value label edits it in place: a 50 ohm resistor with the inline editor open on R.

7 · Pins, Ports, and Terms

These three sound alike but do different jobs, and keeping them straight saves confusion later:

Why it matters: a Pin just exposes a connection for reuse; a Term actively defines where and how the simulator excites and measures. Use the wrong one and you'll either have no measurement port or an unintended source impedance. The Reference Guide shows each with pictures.

Pin A cell's own connection point. Lives on the cell's symbol, carries no electrical model — pure connectivity. Use it to expose a reusable cell's connections to its parent. + − Term A numbered S-parameter port termination, 50 Ω by default. The point an S-parameter analysis injects a wave and measures the scattered result. Pin A cell's own connection point. Lives on the cell's symbol, carries no electrical model — pure connectivity. Use it to expose a reusable cell's connections to its parent. + − Term A numbered S-parameter port termination, 50 Ω by default. The point an S-parameter analysis injects a wave and measures the scattered result.
The two symbols that realise a port: Pin, a cell's connectivity-only interface terminal, and Term, a numbered S-parameter port termination.

8 · The simulation types

Different questions need different analyses. circuitRF offers four big ones:

AnalysisAnswers…Reach for it when…
DCWhat are the steady voltages and currents with no signal applied? You want the bias point — and it's the foundation HB builds on.
S-parametersHow does this network respond, frequency by frequency, at low signal levels? Gain, matching, filters, isolation — anything linear vs. frequency.
Harmonic BalanceHow does it behave when driven hard, where it's nonlinear? Power amplifiers, mixers — output power, compression, efficiency, intermodulation.
LoadpullWhich load impedance gives the best power/efficiency? Tuning a power amplifier's output match. (See §11.)

You don't have to choose perfectly up front — start with S-parameters to see a network's frequency response, then move to harmonic balance when you want to drive it into nonlinear territory.

9 · The Data Display & plot types

Results appear in the Data Display, where you choose how to view them. Why several plot types? Because RF data comes in different flavors:

Why are some results "complex"?

An S-parameter like S21 isn't just a size — it has a magnitude and a phase (how big, and how shifted in time). Mathematically that's a complex number. Smith and polar plots show complex values directly; on a rectangular plot you pick what to show — magnitude in dB, phase in degrees, real part, etc. You can change that complex-number format per trace, and in a Table you can switch how complex values are written (magnitude/angle, real/imag, dB/angle).

10 · Two worked examples

A. The simplest possible DC simulation

  1. New Schematic. Place a Vdc source and a Resistor; place a Ground.
  2. Wire the source across the resistor, and connect the bottom to ground. Set the source to 10 V and the resistor to 100 Ω (double-click each value).
  3. Add a DC analysis in the Analyses panel and press Run.
  4. Open a Data Display → Table to read the node voltage and current. (Ohm's law says 0.1 A — a good first sanity check that everything's wired right.)
circuitRF - Example_DC_Ohms_Law + − + − Vdc V1 Vdc = 10 V R R1 R = 100 Ω circuitRF - Example_DC_Ohms_Law + − + − Vdc V1 Vdc = 10 V R R1 R = 100 Ω
The New User's Guide's first worked example: 10 V across 100 ohms, with a DC analysis.

B. A first S-parameter simulation

  1. Place two Terms (they auto-number 1 and 2) and a small network between them — for example a series inductor and a shunt capacitor, or a TLIN transmission line.
  2. Add an S-Parameter analysis over, say, 1–5 GHz.
  3. Run, then open a Data Display. On a Rectangular plot, add S(2,1) with the dB20 transform to see insertion loss vs. frequency; on a Smith chart, add S(1,1) to see the input match.

Build the schematic below and you should get the response beside it — a series 2 nH and a shunt 0.8 pF between two 50 Ω Terms, swept 1–5 GHz.

circuitRF - Example_SParam_LC + − + − Term1 Num = 1 L L1 L = 2 nH C C1 C = 0.8 pF + − Term2 Num = 2 circuitRF - Example_SParam_LC + − + − Term1 Num = 1 L L1 L = 2 nH C C1 C = 0.8 pF + − Term2 Num = 2
The second worked example: a series 2 nH and a shunt 0.8 pF between two 50 ohm Terms.
circuitRF - Data Display ExampleSParam circuitRF 1 2 3 4 5 -2.4 -2 -1.6 -1.2 -0.8 -0.4 0 freq (GHz) SP1.S(2,1) dB20 circuitRF - Data Display ExampleSParam circuitRF 1 2 3 4 5 -2.4 -2 -1.6 -1.2 -0.8 -0.4 0 freq (GHz) SP1.S(2,1) dB20
What that schematic produces: S(2,1) in dB against frequency, 1-5 GHz.

11 · Loadpull, contours & Pursuit

For a power amplifier, the load impedance you present to the transistor's output dramatically changes its power and efficiency. Loadpull finds the sweet spot: circuitRF sweeps the load reflection coefficient over a grid of points on the Smith chart, runs a harmonic-balance simulation at each, and draws contours — like a topographic map where the "hills" are high output power or high efficiency. You read off the impedance at the peak and design your output match toward it.

Two things make this delightful in circuitRF:

12 · Matching networks: the Match component

Sooner or later you will want to get from the impedance your transistor presents to the 50 Ω the rest of the world runs at. circuitRF has a component that designs the network for you: place a Match, double-click it, and the Match Designer opens.

One thing to know before you open it, because it is the thing every experienced RF engineer trips over:

Match is a matching tool, but it works over a band

If you have used a single-frequency matching tool — the kind where you give it a target impedance and it hands back two parts — Match will look unfamiliar. It asks for a band, an order and a ripple, which is filter vocabulary. That is not a detour: a network that matches over a band is a filter, so those three words are simply how you say how wide and how well. You are still designing a match.

Two things follow. You get more parts than a two-element L-match — but some of them are your device's own capacitance, absorbed into the network rather than bought. And parts that run to ground are normal: a ladder alternates series arms and shunt arms, and a shunt arm goes to ground by definition.

There is also one button worth reading about before you press it. Shunt DC Block is not the series blocking capacitor you may be expecting in the signal path — it stops a shunt inductor from shorting your bias supply to ground, so the capacitors it adds appear in the arms that run to ground. The reference chapter explains it, and the tooltip on the button says the same thing in two sentences.

The full story — what absorption buys you, how to read the solutions list, and the two worked amplifier examples — is in The Match Component.


Ready for specifics? The Reference Guide documents every component, every analysis setting, and the plot types in detail. Already comfortable with simulators? The Quick Start is the fast path.