EMA Academy

Quick How-Tos

Home > EMA Academy > How-Tos > How to Utilize the Schedule Command for Precise Simulation

How to Utilize the Schedule Command for Precise Simulation

Discrete electronics, such as automotive circuitry, can be highly susceptible to noise induced by ESD or EMI. To ensure functionality in the field, these circuits require thorough and detailed worst-case analysis; however, the level of detail required makes this extremely time consuming. OrCAD PSpice Designer allows you to dynamically adjust the amount of granularity throughout the entire simulation with the schedule command, achieving the necessary detail in the area of interest while reducing simulation run time.

This how-to provides step-by-step instructions to implement the Schedule Command in worst-case transient simulations in PSpice.

How-To Video

Creating the Design

Step 1: Open OrCAD PSpice Designer and complete the desired circuit configuration.

Note: Worst-case analysis is typically performed through transient analysis with a pulse/stimulus as the voltage source. For an accurate automotive simulation and analysis, utilize a specialized source from the AEi Power IC Model Library which incorporates realistic noise into the power source.

  1. Delete the existing source in the circuit.
  2. Select Place > Part from the menu.
  3. Click the Add Library button and browse to the location of the downloaded Power IC Model Library.
  1. Select AUTOMOTIVE_SOURCE.olb.
  1. Replace the power source with the CI230A from the library.

Configuring the Simulation

Create a New Simulation Profile in PSpice

Step 2: Select PSpice > New Simulation Profile from the menu or the New Simulation Profile button from the toolbar.

Step 3: Name the simulation AUTO_5V_TRANS and click Create.

Configuring a Simulation in PSpice

Step 4: Set the Analysis Type to Time Domain (Transient) and the Run To Time to 12 seconds.

Note: In worst-case analysis, detail is achieved by reducing the maximum step size for the entire simulation, so calculations are made more frequently. This is unnecessary if the majority of the simulation is at steady-state. The schedule command allows you to dynamically adjust the step size to increase detail on only the area of interest.

Scheduling Step Size in PSpice

Step 5: Under Maximum Step Size, type {SCHEDULE(0,10u,0.5,1.2)}.

Note: This will set the maximum step size to 10 microseconds at the start of the simulation, then change it to 1.2 seconds at the 0.5-second mark. The format for the schedule command is as follows: {SCHEDULE(time, step size, time, step size)}. These is no limit on defining time and step size.

Step 6: Click OK.

Note: If using a source from the AEi Power IC Library, the library will need to be configured before running the simulation.

  1. Select Configuration Files from the sidebar in the simulation window.
  1. Under Category, select Library.
  2. Click Browse. Browse to the location of the downloaded Power IC Model Library, select automotive_sources_encrypted.lib.
  1. Click Add to Design.

Performing the Simulation

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

Note: If you receive a “Large Data File” warning, the simulation will still complete; however, you can resolve the warning by shortening the time of interest.

Simulating

Step 8: View the results in the PSpice window.

Note: The schedule command can also be used to dynamically adjust the following:

  • Accuracy/Tolerance of Voltage and Current (RELTOL, ABSTOL, VNTOL)
  • Minimum Conductance (GMIN)
  • Number of Iterations (ITL4)

Wrap Up & Next Steps

Achieving the required accuracy for detailed, worst-case analysis of sensitive, discrete electronics can be time-consuming. Reduce simulation run time without sacrificing detail by dynamically adjusting granularity throughout the simulation with the schedule command in OrCAD PSpice. Check out AEi Power Model Library for accurate automotive simulation models and get your free trial of PSpice to efficiently simulate your designs.

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