Performing a DC Sweep and Transient Analysis

1. Double click on the DR. SPICE™ icon to begin.

2. Select ckt1.cir from the C:\drspice\examples directory, then check the Interactive button.

3. Click OK

Within the editor window you will see this circuit:

CKT1.CIR Netlist

4. Next, from the Analysis Menu, select Run C:\drspice\examples\ckt1.cir. This will perform a simulation for each analysis statement found in the circuit file. In this example, the circuit file will perform one DC analysis based on the .DC statement and one transient analysis based on the .TRAN statement.

Analysis Menu

You are now prompted to select the waveforms you wish to see as the simulation progresses.

5. Select the v[out] vector to view by clicking once in the scrolling list (a second click will deselect the vector(s) to be shown).

“Select waveform to view during simulation” Dialog Box

NOTE: You may select more than one waveform to view at a time.

6. Click OK.

The following waveforms appear. Notice the effects of crossover distortion within the Transient simulation results.

Completed Transient Simulation (with crossover distortion)

7. To view the .DC sweep analysis results, bring the .DC window to the foreground by clicking on the title bar.

Completed DC Sweep Simulation (with crossover distortion)

Next, we will run a second circuit file that contains the fixes for the effects of crossover distortion.

8. From the File Menu, select Open.

9. Double-Click on ckt2.cir and the following Netlist appears:

CKT2.CIR Netlist

NOTE: Make sure the editor window containing ckt2.cir is in the foreground.

10. Select from the Analysis menu, Run C:\drspice\examples\ckt2.cir.

11. As in step 5, select the v(out) in the “Select Waveforms” dialog box, click OK and the new waveform is:

Completed Transient Simulation (crossover distortion fixed)

Return to top

Return to main help menu