DC sweep

Step a source through a range, solve the operating point at each step, and plot what follows.

A DC sweep changes one source a little at a time and finds the operating point at each value. Plot the result to get a transfer curve.

The DC Sweep panel: three diode curves for V2 = 0, 1 and 2 V, with the Sweep and Nested Sweep settings below.
The DC Sweep panel, sweeping V1 from 0 to 2 V with V2 stepped through three values.

Quick sweep with Run#

  1. Choose DC Sweep in the run setup.
  2. In Settings › Simulation, choose the Source and set Start, Stop and Step. Leave Stop empty to sweep from 0 to the source’s value; leave Step on Automatic for 100 points. Or put .dc V1 0 5 0.01 in a SPICE directive part.
  3. Press ⌘R. The curve opens in the graph tab.

The DC Sweep panel#

For more control, choose DC Sweep… from the toolbar’s Sweep menu, or double-click DC sweep under Instruments › Sweeps and Statistics.

  1. Under Sweep, choose the Source. The range resets to run from 0 to its value.
  2. Choose Steps:
StepsFields
LinearStart, Stop, Step
OctaveStart, Stop, Points per Octave
DecadeStart, Stop, Points per Decade
ListValues, such as 1k, 2.2k, 4.7k
  1. Under Plot, check the traces. V(probe) is added for up to four probes; type any expression in Add Trace…. Refer to the swept value as x or by the source’s name.
  2. Click Sweep.

Nested sweep#

Under Nested Sweep, choose a second source in Then Step and give it a few values, such as 0 V, 1 V, 2 V. You get one curve per value, with a legend.

Tips#

  • Sweep a diode’s current source on a Decade scale to see its characteristic over many decades.
  • The IV analyser draws diode and transistor curves with no setup.

Applies to Coppa 0.1 Preview 14. Last updated 22 November 2026.