Additional Simulations

This walk-through demonstrates how to setup additional PSpice simulations. After you complete this topic, you will be able to:

  • Perform Transient and AC sweep simulations
  • Export simulation information

To follow along, continue working with the design completed in PSpice Walk-through 4 or open the provided board file in the folder directory, PSpice Walk-through 5_Additional Simulations.

Step 1: Select V1 and press Delete on the keyboard.

Step 2: Select Place> PSpice Component > Modeling Application from the menu.

Step 3: In the Modeling Application, select Sources > Independent Sources.

Step 4: Select the Sine tab.

Step 5: Assign AC a value of 10.

Step 6: Assign DC a value of 10.

Step 7: Click Place.

Step 8: Click to place in the circuit.

Step 9: Double click the ResistorOne value of 100k.

Step 10: Change the value to 1k and click OK.

Step 11: Select PSpice > New Simulation Profile from the menu.

Step 12: Name the new simulation Transient and click Create.

Note: A transient simulation is a measurement of the circuit in the time domain. The results of the simulation are presented as if the circuit is being tested with an oscilloscope. This is the only type of simulation that can be performed on digital designs.

Step 13: Set the Run To Time to 100m. Click OK.

Note: Set maximum step size to determine how many points are measured during the run time. Setting up a maximum step allows you to set a step size that is less than the default.

Step 14: Select the Voltage probe button from the menu or PSpice > Markers> Voltage Level from the menu.

Step 15: Click to place voltage probes at the Input and Output.

Note: To rotate the voltage probe, press R on the keyboard.

Step 16: Right click and select End Mode (ESC).

Step 17: Select the Current probe button from the menu or PSpice > Markers> Current into Pin from the menu.

Step 18: Click to place the current probe on the ResistorOne pin.

Step 19: Right click and select End Mode (ESC).

Step 20: Select the Power probe button from the menu or PSpice > Markers> Power Dissipation from the menu.

Step 21: Click to place the power probe on component C1.

Step 22: Right click and select End Mode (ESC).

Note: Voltage probes can be placed on any node, current nodes must be placed on component pins, and power pins must be placed on a component. There are also advanced probes you can select such as Fourier, average, derivative and more.

Step 23: Select PSpice > Run from the menu.

Step 24: View the results in the PSpice A/D window.

Note: Traces are automatically added to the plot based on the probes placed in the schematic.

Step 25: Right click on the V(Input) trace and select Trace Property.

Note: Here you can select the color, width, and pattern for the trace.

Step 26: Change the Width and click OK.

Step 27: In the Plot Window, select the Edit Simulation Profile button.

Step 28: Set the Maximum Step Size to 100ns and click OK.

Step 29: Select the Run button on the toolbar or Simulation > Run SCHEMATIC1-Transient from the menu.

Step 30: Right click and select Add Y Axis.

Note: This allows you to view measurements on the same plot with a different y-axis scale.

Step 31: Right click and select Add Trace.

Step 32: In the Simulation Output Variables, select V(Output). Click OK.

Step 33: View the simulation results.

Step 34: In the Plot Window, select Edit Simulation Profile.

Step 35: Select Probe Window and show Last Plot.

Note: This will recall the settings of your current plot window, instead of resetting the plot each time a simulation is run.

Step 36: Select Trace > Cursor > Display from the menu or use the Toggle Cursor button on the toolbar.

Note: This will show measurements in the plot window such as peak, trough, slope, maximum, minimum or a specific point in the circuit.

Step 37: Back in the schematic, select PSpice > New Simulation Profile from the menu.

Step 38: Name the new simulation AC_Sweep and click Create.

Step 39: In Analysis Type, select AC Sweep/Noise.

Step 40: Set the Start Frequency to 10.

Step 41: Set the End Frequency to 100MEG.

Step 42: Set Points/Decade to 11. Click OK.

Step 43: Select PSpice > Run from the menu.

Step 44: In the Plot Window, select Trace > Add Trace from the menu.

Step 45: In Simulation Output Variables, select V(output). Click OK.

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.

EMA Design Automation