Quick Tutorial: How to Utilize the Scheduling Command for precise simulation with PSpice

December 14, 2021 Team EMA

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, achieving the necessary detail in the area of interest while reducing simulation run time. This tutorial provides step-by-step instructions to implement the Schedule Command in worst-case transient simulations in PSpice.

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.

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.

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.

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

Note: 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.

 

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.

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)

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.

Previous Article
Meet Power Delivery Requirements Upfront with Power-First PCB Implementation
Meet Power Delivery Requirements Upfront with Power-First PCB Implementation

Next Article
PCB Post-Layout Simulation While You Design
PCB Post-Layout Simulation While You Design

PCB post-layout simulation can help designers find and correct signal and power integrity problems in their...

Start My Free Trial Today

Start Now