Spectrum Software
spacer
Industrial Strength Simulation
select:

divider

 

News:

Spectrum Software has released Micro-Cap 11, the eleventh generation of our SPICE circuit simulator.

For users of previous Micro-Cap versions, check out the new features available in the latest version. For those of you who are new to Micro-Cap, take our features tour to see what Micro-Cap has to offer.

 

divider

 

Stepping

 

How do I step multiple resistors, capacitors, or inductors?

 

There are two methods to step multiple resistors, capacitors, or inductors. In the following two examples, two resistors will be stepped from 10k to 100k. These methods may be used for more than two resistors, or for capacitors and inductors.

Using Model Statements
Place two resistors in the schematic with their attributes defined as follows:

PART R1 R2
VALUE 10k 10k
MODEL RDY RDY

The RDY model statement should read:

.model RDY RES (R=1)

This model statement can be edited in the text area of the schematic or through the Attribute dialog box, but the default model statement appears as above. Enter the appropriate analysis. Click on the Stepping command button in the Analysis Limits dialog box. In the Stepping dialog box, make sure that the Parameter Type is set to Model. The text fields in the Stepping dialog box should appear as:

Step What RES RDY
R
From 1
To 10
Step Value 1

The parameter R multiplies its value by the VALUE attribute of the resistors that reference it (10k in this case) to get the final resistance value. In this case, it will step the resistance from 10k*1 to 10k*10.

Using Symbolic Parameters
Place two resistors in the schematic with their attributes defined as follows:

PART R1 R2
VALUE RVAL RVAL
MODEL

In either the text area or the schematic itself, place the text '.define RVAL 10k'. Enter the appropriate analysis. Click on the Stepping command button in the Analysis Limits dialog box. In the Stepping dialog box, make sure that the Parameter Type is set to Symbolic. The text fields in the Stepping dialog box should appear as:

Step What RVAL
From 10k
To 100k
Step Value 10k

This steps the symbolic parameter RVAL from 10k to 100k, and subsequently steps the two resistors that reference this parameter.

 

 

 

 

Categories


AC Analysis
Analysis - General
DC Analysis
Dynamic DC
Incompatibilities
Initial Conditions
Miscellaneous
Models
Monte Carlo
Output
Probe
Schematic Editor
Stepping
Transient Analysis