EMA Academy

Quick How-Tos

Home > EMA Academy > How-Tos > How to Expedite PSpice Analysis by Saving Measurements

How to Expedite PSpice Analysis by Saving Measurements

Often, circuit analysis requires detailed measurements to understand specific circuit behavior and verify design functionality. These measurements can be time consuming and tedious to set up. Saving measurements and display settings from previous simulations with OrCAD PSpice Designer expedites circuit analysis.

This how-to will provide step-by-step instructions for:

  • Viewing a simulation with the same settings as the previous simulation
  • Saving Measurements
  • Saving Traces Displayed in PSpice Results
  • Creating a template containing display settings and measurements
  • Applying a template for quick analysis of results for future simulations

To follow along with this tutorial, download the provided files above the table of contents.

How-To Video

Performing a PSpice Simulation

Step 1: Open the provided design, Boost_Converter.opj, in OrCAD PSpice Designer.

Running a PSpice Simulation

Step 2: Select PSpice > Run from the menu or the Run button on the toolbar.

Step 3: View the result window.

Note: The simulation plot is blank as there are no probes placed in the schematic nor any trace expressions added to the plot.

Adding a Trace to Waveform Results in PSpice

Step 4: Select Trace > Add Trace from the menu.

Step 5: From the Simulation Output Variables list, select I(L2) and I(D2). Click OK.

Adding Measurements

Viewing Measurement Results in PSpice

Step 6: Select View > Measurement Results from the menu. This will open the Measurement Results pane.

Note: If the Measurements Results are not visible, close the Output Window.

Evaluating Measurements in PSpice

Step 7: Select Click here to evaluate a new measurement. This will open the Evaluate Measurement window.

Defining Measurements with Functions and Variables in PSpcie

Step 8: From the Functions or Macros dropdown, select Measurements. Select Max(1).

Step 9: From the Simulation Output Variables list, select I(L2).

Adding Measurement Expressions in PSpice

Step 10: Click OK. The trace expression has been added.

Step 11: Select Click here to evaluate a new measurement again to add a new measurement.

Step 12: From the Functions or Macros dropdown, select Measurements. Select Max(1).

Step 13: From the Simulation Output Variables list, select I(D2).

Analyzing Measurements in PSpice Simulations

Step 14: Click OK. The trace expression has been added.

Saving Plot Settings

Editing Simulation Profiles in PSpice

Step 15: Select Simulation > Edit Profile from the menu or the Edit Simulation Settings button from the sidebar.

Step 16: Select Probe Window from the menu on the left.

Displaying Results with Previous Plot Settings in PSpice

Step 17: Select Last Plot under Show. Click OK.

Note: This will automatically configure the results window for the next simulation run to contain the display settings currently visible.

Step 18: Close out of the simulation.

Modifying the Simulation

Step 19: Double-click the value of Vs1, 40Vdc, to change it.

Editing a Voltage Source in PSpice

Step 20: Change the value to 12Vdc. Click OK.

Step 21: Select PSpice > Run from the menu or the Run button on the toolbar.

Viewing Simulation and Measurement Results in PSpice

Step 22: View the results.

Note: The same trace expressions, I(L2) and I(D2), have been automatically added to the plot.

Saving Measurements and Displays

Creating a Template for PSpice Results

Step 23: To create a template containing the current display settings and measurements to be applied to future simulations, select Window > Display Control from the menu. The Display Control window will open.

Step 24: Enter MAX IL ID as the name. Select Save To.

Saving a Template to Display Results in PSpice

Step 25: Choose Other File and select the B to browse.

Step 26: Browse to a location to save the file. Name the file MAX IL ID and select Open. Click OK.

Step 27: Select Close to close the Display Control window and close out of the simulation.

Opening a New PSpice Design

Step 28: Back in the schematic, close out of boost_converter.opj. Select No to All when prompted.

Opening a Demo Design in PSpice

Step 29: Select File > Open > Demo Designs from the menu.

Demo Designs in PSpice

Step 30: Scroll down and select Buck Converter. Click Open.

Step 31: Select PSpice > Run from the menu or the Run button on the toolbar.

Applying a Plot Template

Step 32: In the simulation window, select Window > Display Control.

Loading a Display Template in PSpice

Step 33: In the Display Control window, select Load.

Step 34: Browse to the saved MAX IL ID.prb file and select it. Select Open.

Applying a Display Template in PSpice

Step 35: Select the MAX IL ID entry added to the display list and click Restore.

Viewing Simulation and Measurement Results based on a Templated Display in PSpice

Step 36: View the results. Max(I(L2)) and Max(I(D2)) have been added to the Measurement Results pane, and I(L2) & I(D2) have been added as traces.

Note: If the Measurements Results are not visible, close out of the Output Window.

Wrap Up & Next Steps

Expedite analysis of circuit simulations by creating templates, saving measurements and display settings for future analysis with OrCAD PSpice Designer. Learn more about PSpice and get your free trial here.

Follow Along, Download the Pre-Packaged Design Files

Current Offers

Get access to the latest and greatest CAD tools today.

Table of Contents

How To was created with:
Share:
LinkedIn
Email
EMA Design Automation