This tutorial demonstrates how to setup a PSpice simulation in version 17.4 (2021). After you complete this tutorial, you will be able to:
- Perform bias point and DC sweep simulations
- Add traces to a plot
- Add voltage probes to the circuit
- Export simulation information
To follow along, continue working with the design completed in PSpice Walk-through 3 or open the provided design file, PSpice Walk-through 4_Probes and Simulations.
- Double click on 0VDC of V1.
- Change the value to 5V and click OK.
- Select PSpice > New Simulation Profile from the menu.
- Name the Simulation Profile Bias_Point and click Create.
Note: The Inherit From drop list provides the ability to create a new simulation from scratch or copy a simulation profile from another project. Setting Inherit From as None will create a new simulation with default settings.
5. In the Analysis Type drop-down, select Bias Point and click OK.
Note: Bias Point Simulation show values of voltage, current and power in your circuit at a bias point.
6. Select PSpice > Run from the menu.
Note: This will invoke the PSpice A/D Window. A bias point simulation will not show anything in this window.
7. Back in the schematic, select the VD, CD, and PD (Enable Bias Display) buttons on the toolbar or select PSpice > Bias Points to view the values for Voltage, Current, and Power.
8. Select PSpice > New Simulation Profile from the menu.
9. Name the Simulation Profile DC_Sweep and click Create.
10. In the Analysis Type drop-down, select DC Sweep.
11. Set the Sweep Variable as Voltage Source and assign V1 for the name.
12. Set the Sweep Type to Linear.
13. Set the Start Value to 0.
14. Set the End Value to 10.
15. Set the Increment to 1.
16. Click OK.
17. Select PSpice > Run from the menu.
Note: The PSpice A/D window is blank as no probes were placed in the schematic.
18. In the PSpice A/D window, select Trace > Add Trace from the menu (Insert).
19. In Simulation Output Variables, select V(input) and V(output). Click OK.
20. Right click on the V(Input) trace and select Trace Property.
Note: Here you can select the color, width, and pattern for the trace.
21. Change the Width and click OK.
22. View the PSpice A/D window and Close.
23. In the schematic, select the Voltage Probe button on the toolbar or select PSpice > Markers > Voltage Level from the menu.
Note: Voltage probes can be placed on any node.
24. Click to place a probe at the Input and Output.
25. Right click and select End Mode (ESC).
26. Select PSpice > Run from the menu.
27. View the PSpice A/D Window.
28. Back in the schematic, select the probes and press Delete.
Note: If you need to copy the plot, select Window > Copy to Clipboard from the menu. Select the desired view settings. Paste (CTRL+V) the plot into a document. If you need the data points, select the desired trace and Copy (CTRL+C). Paste (CTRL+V) the data points into a spreadsheet. To export a CSV file, select File > Export > Comma Separated File.