Product Documentation
PSpice Help
Product Version 17.4-2020, June 2020


About PSpice

What is PSpice?

PSpice1 is a simulation program that models the behavior of a circuit containing any mix of analog and digital devices. You can think of PSpice as a software-based breadboard of your circuit that you can use to test and refine your design before ever touching a piece of hardware.

Because the analog and digital simulation algorithms are built into the same program, PSpice simulates mixed-signal circuits with no performance degradation because of tightly coupled feedback loops between the analog and digital sections.

PSpice can perform the following types of analyses:

Models

PSpice includes model libraries that feature over 15,000 analog and 1,600 digital models of devices manufactured in North America, Japan, and Europe. Among these libraries are numerous models with parameters that you can tweak for a given device. These include independent temperature effects.

PSpice also supports analog and digital behavioral modeling, so you can describe functional blocks of circuitry using mathematical expressions and functions.

The range of models built into PSpice include not only those for resistors, inductors, capacitors, and bipolar transistors, but also the following:

Related Topics

For information about…

Click this topic…

What Probe is…

What is Probe?

The types of analyses you can run with PSpice …

Types of analyses you can run with PSpice

More resources and training for PSpice …

Additional sources of information about PSpice

What is Probe?

After completing the simulation, PSpice plots the waveform results so you can visualize the circuits behavior and determine the validity of your design. You can use the waveform analysis features of PSpice to visually analyze and interactively manipulate the waveform data produced by circuit simulation. This built-in waveform analyzer is referred to as Probe.

Probe uses high-resolution graphics so you can view the results of a simulation both on the screen and in printed form. On the screen, waveforms appear as plots displayed in Probe windows within the PSpice workspace.

In effect, waveform analysis is a software oscilloscope. Performing a PSpice simulation corresponds to building or changing a breadboard, and performing waveform analysis corresponds to looking at the breadboard with an oscilloscope. Taken together, simulation and waveform analysis is an iterative process. After analyzing simulation results, you can refine your design and simulation settings and then perform a new simulation and waveform analysis.

With waveform analysis you can:

What you can plot in Probe depends on the types of analyses you run. Bode plots, phase margin, derivatives for small-signal characteristics, waveform families, and histograms are only a few of the possibilities. You can also plot other waveform characteristics such as rise time versus temperature, or percent overshoot versus component value.

PSpice generates two forms of output: the simulation output file and the waveform data file. The calculations and results reported in the simulation output file act as an audit trail of the simulation. However, the graphical analysis of information in the waveform data file is the most informative and flexible method for evaluating simulation results. The waveform data file is used by Probe to generate the waveforms displayed in the PSpice workspace.

Related Topics

For information about…

Click this topic…

How to view simulation results…

Viewing results

How to configure the display of simulation results…

Configuring PSpice Display of Simulation Results

Using and configuring Probe windows…

Using Probe windows

Types of analyses you can run with PSpice

Basic analyses

Click any of the following analysis types for more information:

Advanced multi-run analyses

The multi-run analyses-parametric, temperature, Monte Carlo, and sensitivity/worst-case-result in a series of DC sweep, AC sweep, or transient analyses, depending on which basic analyses you enabled.

Click any of the following analysis types for more information:

AC sweep and noise

These AC analyses evaluate circuit performance in response to a small-signal alternating current source. The table below summarizes what PSpice calculates for each AC analysis type.

For this AC analysis...

PSpice computes this...

AC sweep

Small-signal response of the circuit (linearized around the bias point) when sweeping one or more sources over a range of frequencies. Outputs include voltages and currents with magnitude and phase; you can use this information to obtain Bode plots.

Noise

For each frequency specified in the AC analysis:

  • Propagated noise contributions at an output net from every noise generator in the circuit
  • RMS sum of the noise contributions at the output
  • Equivalent input noise
To run a noise analysis, you must also run an AC sweep analysis.

DC sweep & other DC calculations

These DC analyses evaluate circuit performance in response to a direct current source. The table below summarizes what PSpice calculates for each DC analysis type.

For this DC analysis...

PSpice computes this...

DC sweep

Steady-state voltages, currents, and digital states when sweeping a source, a model parameter, or temperature over a range of values

Bias point detail

Bias point data in addition to what is automatically computed in any simulation

DC sensitivity

Sensitivity of a net or part voltage as a function of bias point

Small-signal DC transfer

Small-signal DC gain, input resistance, and output resistance as a function of bias point

Transient and Fourier

These time-based analyses evaluate circuit performance in response to time-varying sources. The table below summarizes what PSpice calculates for each time-based analysis type.

For this time-based analysis...

PSpice computes this...

Transient

Voltages, currents, and digital states tracked over time

For digital devices, you can set the propagation delays to minimum, typical, and maximum. If you have enabled digital worst-case timing analysis, then PSpice considers all possible combinations of propagation delays within the minimum and maximum range

Fourier

DC and Fourier components of the transient analysis results

To run a Fourier analysis, you must also run a transient analysis.

Parametric and temperature

For parametric and temperature analyses, PSpice steps a circuit value in a sequence that you specify and runs a simulation for each value. The table below shows the circuit values that you can step for each kind of analysis.

For this analysis...

You can step one of these...

Parametric

  • global parameter
  • model parameter
  • component value
  • DC source
  • operational temperature

Temperature

  • operational temperature

Monte Carlo and sensitivity/worst-case

Monte Carlo and sensitivity/worst-case analyses are statistical. PSpice changes device model parameter values with respect to device and lot tolerances that you specify, and runs a simulation for each value. The table below summarizes how PSpice runs each statistical analysis type.

For this statistical analysis...

PSpice does this...

Monte Carlo

For each simulation, randomly varies all device model parameters for which you have defined a tolerance

Sensitivity/worst-case

Computes the probable worst-case response of the circuit in two steps:

  1. Computes component sensitivity to changes in the device model parameters. This means PSpice varies device model parameters in a non-random manner for which you have defined a tolerance, one at a time for each device and runs a simulation with each change.
  2. Sets all model parameters for all devices to their worst-case values (assumed to be at one of the tolerance limits) and runs a final simulation.

Frequency Response Analysis

Frequency Response Analysis is typically used to get frequency response of the non-linear switching circuits having varying operating point. This analysis injects transient signals into the loop of interest and then extracts frequency data using Fourier analysis to plot gain/phase response.

Following options have been added in Capture – PSpice flow to enable Frequency Response Analysis:

The text following @PSpice: is treated as SPICE directive.

For more information on the usage of MINSIMPTS option and .PROBE64 command in Frequency Response Analysis, see the example at <Installation Directory> \tools\pspice\capture_samples\anasim\fra.

Files used by PSpice (input files)

To simulate your design, PSpice needs to know about:

This information is provided in various data files.

Some of these are generated by schematic editors2, others come from libraries, and still others are user-defined.

Files Generated by Schematic Editors or Design Entry Programs

Capture is a design entry program in which you need to prepare your circuit for simulation. This means:

For more information about designing circuits with Capture, see their respective online helps.

When you begin the simulation process, the design entry programs first generate files describing the parts and connections in your circuit. These files are the netlist file and the circuit file that PSpice reads before doing anything else.

The netlist file contains a list of the device names and their values, and the connections between the devices. The name that design entry programs generate for this file is DESIGN_NAME.net. The netlist file is located in the directory:

<project_directory>\worklib\<design_name>

sp_sim_1\

The circuit file contains commands describing how to run the simulation. This file also refers to other files that contain netlist, model, stimulus, and any other user-defined information that apply to the simulation. The name that the design entry programs generate for this file is PROFILE_name.cir.

Other Input Files

Before starting the simulation, PSpice needs to read other files that contain simulation information for your circuit. These are model files, and if required, stimulus files and include files.

Related Topics

For information about

Click this topic…

What model libraries are

Model libraries

What stimulus files are

Stimulus files

What include files are

Include files

Preparing and configuring input files

Preparing and configuring input files

Model libraries

A model library is a file that contains the electrical definition of one or more parts. PSpice uses this information to determine how a part will respond to different electrical inputs.

These definitions take the form of either a:

The most commonly used models are available in the PSpice model libraries shipped with your programs. The model library names have a .LIB extension.

Stimulus files

A stimulus file contains time-based definitions for analog and/or digital input waveforms. You can create a stimulus file using a standard text editor, to create the definition (a typical file extension is .STM).

Not all stimulus definitions require a stimulus file. In some cases, like DC and AC sources, you must use a schematic symbol and set its properties.

Include files

An include file is a user-defined file that contains:

You can create an include file using any text editor, such as Notepad. Typically, include file names have a .INC extension.

Preparing and configuring input files

You must first prepare the circuit design using Capture as the primary design entry program. Entering the design in Capture is the most efficient way to draw up the circuit and define the various parameters required for simulation. Once the circuit is entered in the design entry programs, you can configure the input files for analysis by PSpice.

Along with the netlist and circuit files generated by the design entry programs, PSpice searches model libraries, stimulus files, and include files for any information it needs to complete the definition of a part or to run a simulation.

How you configure your model libraries and other files determines the way PSpice uses those files. Much of the configuration is set up for you automatically. However, you can do the following yourself:

For more detailed information about designing circuits and configuring files, see the Capture Help.

Files generated by PSpice (output files)

After reading the circuit file, netlist file, model libraries, and any other required inputs, PSpice starts the simulation. As simulation progresses, PSpice saves results to two files-the waveform data file and the PSpice output file.

Waveform data file

The waveform data file contains simulation results that can be displayed graphically. PSpice reads this file automatically and displays waveforms reflecting circuit response at nets, pins, and parts that you marked in your schematic (cross-probing). You can set up your design so PSpice displays the results as the simulation progresses or after the simulation completes.

There are two ways to add waveforms to the display:

After PSpice reads the data file and displays the initial set of results, you can add more waveforms and perform post-simulation analysis of the data.

PSpice output file

The PSpice output file is an ASCII text file that contains:

Its content is determined by:

Documentation

To access online documentation, you must open the Cadence Help window.

  1. From the programs folder in the Windows Start menu, choose PSpice for TI 2020 – PSpice for TI 2020 Help.
  2. From the Library pane, click the PSpice category to show the documents in the category.
  3. Double-click a document title to open that document.

You can also open PSpice specific documents by choosing Help – Documentation from the PSpice window.

Additional sources of information about PSpice

Recommended textbooks

Many textbooks and technical articles have been written in several languages about how to use PSpice when doing circuit analysis. The following is a brief list of some useful resources.

  1. Depending on the license and installation, either PSpice or PSpice Simulator is installed. However, all information about PSpice provided in this manual is true for PSpice Simulator.
  2. Schematic editor or design entry programs refer to OrCAD Capture.

Return to top