Electronic Design Automation

DC Analysis

/dee-see uh-nal-uh-sis/
Before any frequency-domain simulation can run, a circuit solver must find the steady-state DC voltages and currents that every device settles into with no signal applied. DC analysis performs this by opening all capacitors and shorting all inductors, reducing the circuit to a nonlinear resistive network, then iterating the nodal equations until they converge. The resulting operating point fixes each transistor's transconductance and output conductance, which in turn become the small-signal model that AC, noise, S-parameter, and harmonic-balance analyses are linearized around. A wrong or non-converged bias point invalidates every downstream result, which is why DC analysis is the first and most fundamental step in EDA circuit simulation.
Category: Electronic Design Automation
SPICE card: .OP / .DC
Solver: Newton-Raphson

How the Operating Point Is Solved

Every transient, AC, and large-signal simulation begins with a DC analysis because the device equations are nonlinear and must be linearized about a known bias state. The simulator first builds the modified nodal analysis (MNA) matrix from Kirchhoff's current law, treating capacitors as open circuits and inductors as short circuits so that only conductances, controlled sources, and DC supplies remain. The system of equations f(v) = 0 is generally nonlinear because diodes and transistors contribute exponential or square-law current terms, so a direct matrix solve is not possible.

Newton-Raphson iteration handles the nonlinearity. At each step the solver evaluates every device's current and its derivative (the small-signal conductance), assembles the Jacobian matrix, and solves a linearized system for a voltage update. The process repeats until consecutive node voltages and branch currents change by less than the tolerance settings. For a well-conditioned RF bias network this takes only a handful of iterations, but circuits with sharp junction nonlinearities or feedback can stall, which is when GMIN stepping or source stepping is invoked.

Once the operating point is found, the solver reports node voltages, supply currents, and the linearized device parameters such as gm, gds, and the junction capacitances. A power-amplifier designer reads these directly to confirm a GaN HEMT is biased in its target class, while the AC and S-parameter engines consume the same numbers automatically to build the small-signal equivalent circuit.

DC Operating-Point and Convergence Equations

Nonlinear nodal system (reactances removed):
f(v) = G · v + iNL(v) − isrc = 0

Newton-Raphson update (iteration k):
v(k+1) = v(k) − J−1(v(k)) · f(v(k)),  where Jij = ∂fi / ∂vj

Diode current and its Jacobian conductance:
ID = IS(eV/nVT − 1),  gd = ∂ID/∂V ≈ ID / (nVT),  VT ≈ 25.85 mV @ 300 K

Convergence test (per node):
|vn(k+1) − vn(k)| < RELTOL × |vn| + VNTOL  AND  |iresidual| < ABSTOL

Typical SPICE defaults: RELTOL = 1×10−3, VNTOL = 1 μV, ABSTOL = 1 pA, GMIN = 1×10−12 S, ITL1 = 100 DC iterations.

DC Analysis Modes and Defaults

Mode / SettingSPICE CardWhat It DoesTypical DefaultWhen to Adjust
Operating point.OPOne bias solution + small-signal paramsnominal suppliesAlways (auto before AC/TRAN)
DC sweep.DC src start stop stepSteps a source, traces I-V curveslinear sweepLoad-line, transfer curves
Transfer function.TFDC gain, input/output resistancen/aBias-network sensitivity
GMIN steppingauto / GMINRamps shunt conductance to aid solve1×10−12 SJunction-rich circuits stall
Source steppingauto / .OPTIONSRamps supplies 0 → finalfallbackGMIN stepping fails
Initial guess.NODESET / .ICSeeds node voltages near solution0 VMulti-stable / feedback nodes
Common Questions

Frequently Asked Questions

How does a SPICE simulator solve the DC operating point?

It opens every capacitor and shorts every inductor, leaving a nonlinear resistive network described by the modified nodal analysis equations f(v) = 0. Each device is linearized about the current guess via its small-signal conductance (the Jacobian), and Newton-Raphson iterates until the node-voltage change is below RELTOL × |v| + VNTOL (1 μV) and residual currents satisfy ABSTOL (1 pA). A typical RF bias point converges in 5 to 20 iterations, with junction exponentials limited each step to prevent overflow.

Why does my DC analysis fail to converge and how do I fix it?

The usual culprits are steep forward-biased junction curves, floating nodes with no DC path to ground, or feedback loops with no stable equilibrium. GMIN stepping adds a small shunt conductance (default 1×10−12 S) to every node and ramps it down; source stepping ramps the supplies from zero if that fails. Practical fixes: add a large resistor from any floating node to ground, supply .NODESET or .IC guesses, loosen RELTOL to 1×10−2, and raise ITL1 from 100 to 500.

What is the difference between a DC operating point and a DC sweep?

An operating point (.OP) computes one steady-state solution at nominal conditions and reports the small-signal model (gm, gds, capacitances) used by AC and S-parameter runs. A DC sweep (.DC) repeats that solve while stepping a source, for example VGS from 0 to 3 V for a transfer curve or VDS to trace the output I-V family that defines the load line. Each step reuses the prior solution as its initial guess, speeding convergence and tracing smooth curves.

RF Component Engineering

Bias It Right the First Time

Our amplifier and converter modules ship with verified DC bias networks and operating-point data so your simulations match the hardware. Tell us your target class and supply rails.

Get in Touch