TI Staff Writer
This is a guest technical article from Cadence® Design Systems.
So, you have designed a circuit and are ready to start your simulation. How do you begin?
To start, you need to define a simulation profile. Simulation profiles define the various aspects of a simulation or analysis for various simulators, including PSpice® for TI. Definitions may include the analysis you want to perform and the resources you want to use. Your simulator application will use the circuit you created in the schematic editor of your choice, as well as the profile, to run the simulation and give you tailored results.
This article will specifically explain how to create a simulation profile in the new PSpice for TI design and simulation tool. You can read more about this tool in the technical article, “How to simulate complex analog power and signal-chain circuits with PSpice for TI.”
In PSpice for TI, simply choose PSpice – New Simulation Profile from the main menu and give the profile a name. Select a meaningful name, such as “trans,” for a transient analysis profile. This opens the Simulations Settings dialog as shown in Figure 1.
PSpice for TI is a mathematical tool that provides a simple mechanism to perform some of the most complex tasks on the planet. However, you can always use netlist and simulation files instead of the easier graphical user interface (GUI) method described here. We will cover text-based simulation in a future installment of this series.
The moment the new profile dialog appears, you will notice that Analysis is selected by default. And, as Figure 2 shows, the default analysis type is Time Domain (Transient).
Here’s a guide to the analysis options:
Of course, depending on the analysis type, you have several options and parameters at your disposal. The default selection of options is usually good enough, but when necessary, you might benefit from the added power of several other advanced analyses supported by PSpice for TI – such as the Monte Carlo analysis, for example, to determine yield.
When you select Configuration Files, you are presented with options to set up files in three categories: Stimulus, Library and Include. The Configuration Files tab is shown in Figure 3.
Selecting Stimulus lets you add analog or digital input signals or stimuli for use in simulation. Selecting Library lets you add the libraries containing the PSpice models. Selecting Include lets you add PSpice commands that you want loaded before loading the circuit for analysis. Ensure that all the paths are set correctly here so the simulator can find the necessary files while running simulations.
For now, just ensure that the Library is configured correctly and accept the default for Stimulus and Include.
When you select Options, you see various options in four categories, shown in Figure 4. These options let you fine-tune your simulations. For example, you can specify default values for various parameters, such as speed level (SPEED_LEVEL), relative tolerance (RELTOL), absolute tolerance (ABSTOL) and so on. Again, you will most often use the default values supplied with most of the parameters. But you can always try out different combinations of values to get a better understanding of the performance of your device.
The Data Collection options shown in Figure 5 allow you to restrict the simulation data you capture.
For example, you can collect voltages only where a marker is located by specifying At Markers Only for Voltages, as shown in Figure 6, instead of the default, which is All but Internal Subcircuits.
Most likely, you will want to use the defaults for this section as well.
The Probe Window options shown in Figure 7 let you set how to view the results. The options are self-explanatory. For example, although the default is to display the probe window only when the simulation finishes running, there is an option to keep the probe window open during simulation to dynamically update the waveform as the simulation progresses; you then need not wait for the simulation to complete to view the results.
Creating a simulation profile is the first and most important thing to do to simulate a circuit. This should help understand the requirements to get started with the PSpice for TI simulation tool. There are many additional features and capabilities that we will cover in future installments of this series.
We encourage you to download PSpice® for TI to start evaluating, verifying and debugging your circuit designs.
Read more in this series
TI PROVIDES TECHNICAL AND RELIABILITY DATA (INCLUDING DATASHEETS), DESIGN RESOURCES (INCLUDING REFERENCE DESIGNS), APPLICATION OR OTHER DESIGN ADVICE, WEB TOOLS, SAFETY INFORMATION, AND OTHER RESOURCES “AS IS” AND WITH ALL FAULTS, AND DISCLAIMS ALL WARRANTIES, EXPRESS AND IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT OF THIRD PARTY INTELLECTUAL PROPERTY RIGHTS.
These resources are intended for skilled developers designing with TI products. You are solely responsible for (1) selecting the appropriate TI products for your application, (2) designing, validating and testing your application, and (3) ensuring your application meets applicable standards, and any other safety, security, or other requirements. These resources are subject to change without notice. TI grants you permission to use these resources only for development of an application that uses the TI products described in the resource. Other reproduction and display of these resources is prohibited. No license is granted to any other TI intellectual property right or to any third party intellectual property right. TI disclaims responsibility for, and you will fully indemnify TI and its representatives against, any claims, damages, costs, losses, and liabilities arising out of your use of these resources.
TI’s products are provided subject to TI’s Terms of Sale (www.ti.com/legal/termsofsale.html) or other applicable terms available either on ti.com or provided in conjunction with such TI products. TI’s provision of these resources does not expand or otherwise alter TI’s applicable warranties or warranty disclaimers for TI products.
Mailing Address: Texas Instruments, Post Office Box 655303, Dallas, Texas 75265
Copyright © 2023, Texas Instruments Incorporated