Sweep, Parameter sweeping

In this analysis, (actual Sweep.scp file), you need to identify the parameters you want to sweep symbolically, for example R1Vary, using the Tolerance/Sweep/Optimize tab for the appropriate part properties. You can use up to 2 symbols, one to name an outer sweep and the other for an inner sweep name. This works like the DC sweeps built into IsSpice, except with the sweep template you are not limited to a DC analysis.

Using the Simulation Control dialog, Advanced button select the Sweep tab. Fill in the Start, Stop and Step fields using Spice numbers (1u, 5m, …). The parameter field should be the one you assigned earlier, as illustrated using R1Vary. As in the Monte Carlo template, you can make measurements before and/or after running the simulation. For a single parameter sweep, use the Outer Sweep.

 

 

 

 

 

 

 

 

 

 

 

Then make sure the Sweep template is selected, and the radio button above the question mark is selected. The Data reduction should be set to Interactive and the Script checkbox must be checked. Then Select one of the appropriate Test Configurations and press Simulate Selections. Progress will be shown in the IsSpice output window. 

After the simulation has finished, you can use Scope5 to view the data. The Sweep button will be shown in the Add Waveforms dialog. A plot called sweep was made to hold the sweep results. If you didn't make measurements before running the sweep template, you can use the sweep dialog to add results to the sweep plot. You can plot data from the sweep plot using either the Add Waveforms dialog or the Sweep dialog.

Three special vectors were created; sweepdef (default), ramp and outer. Sweepdef is a sawtooth plot, which is the inner vector that repeats for each outer point. Outer is a staircase that steps up for each inner point. Ramp is a vector that goes from 0 to the product of (inner * outer - 1) points. Plotting a parameter versus ramp and then plotting the family, for example outer vs. inner, you can check the link box in the scaling dialog and drag cursor 1 along the plot with ramp in the x-axis and view the parametric value in the outer vs. default (inner) plot.