The behavior of a circuit is affected when certain parameters in specific components change. With Parameter Sweep Analysis, you can verify the operation of a circuit by simulation across a range of values for a component parameter. The effect is the same as simulating the circuit several times, once for each value. You control the parameter values by choosing a start value, end value, type of sweep that you wish to simulate and the desired increment value. There are three types of analysis that can be performed on the circuit while the component is manipulated: DC Operating Point , Transient Analysis and AC Analysis.You will find that some components have more parameters that can be varied than others. This will depend on the model of the component. Active components such as op-amps, transistors, diodes and others will have more parameters available to perform a sweep than passive component such as resistors, inductors and capacitors. For example the inductance is the only parameter available for an inductor as compared to a diode model that contains approximately 15 to 25 parameters.
Consider the series RLC circuit shown in Figure 1. According to the theory the characteristic equation modeling this circuit can be represented as:
Where α is the damping factor and ω0 the natural frequency (or resonant frequency). They are defined by:
From the above equations you can see that as the value of R increases α increases and the RLC circuit is driven towards an overdamped response since the value of α in relation to ω0 determines the behavior of the circuit’s response. There are three possible responses:
In this example you will use Parameter Sweep Analysis to plot the transient step responses of the RLC circuit when R is varied.
Figure 1. Series RLC circuit.
Complete the following steps to configure and run a Parameter Sweep Analysis:
Table 1. Parameters used in Parameter Sweep Analysis.
Select a sweep parameter by choosing a parameter type (Device or Model) from the Sweep Parameter drop-down list, then enter information in the Device Type, Name, and Parameter fields. A brief description of the parameter appears in the Description field and the present value of the parameter is displayed in the Present
Sweep Variation Type
Dictates how to calculate the interval between the start and stop values. Parameter Sweep Analysis plots the appropriate curves sequentially. The number of curves is dependent on the type of sweep as shown below:
Analysis to sweep
Select the analysis to sweep. There are four options:
You can set the analysis parameters by clicking the Edit Analysis button.
Figure 2. Analysis parameters for the Parameter Sweep Analysis.
Note that in this case the analysis will sweep the parameter R (resistance) using the following values: 40 W, 200 W and 1 kW, therefore, three curves will be generated.
Figure 3. Sweep of Transient Analysis window.
Refer to the Transient Analysis tutorial for more details on how to configure the Analysis Parameters tab.
Figure 4. Output variable for the Parameter Sweep Analysis.
Figure 5. Parameter Sweep Analysis results.
Figure 6. Parameter Sweep Analysis settings for a linear sweep.
You can also perform nested sweeps, combining various levels of device/model parameter sweeps.
Collaborate with other users in our discussion forums
A valid service agreement may be required, and support options vary by country.