[17.4] OrCAD PSpice Walk-through: Non-Ideal Components

This PSpice tutorial demonstrates use of the Modeling Application.  After you complete this PSpice demonstration, you will be able to:

  • Create and use a Piecewise Linear Source (PWL) in simulation
  • Create and use a non-ideal component in simulation

If you would like to follow along with this tutorial, you can visit our walk-through page to view video tutorials and download design files.

To follow the instructions presented in this tutorial, continue using the design you completed in PSpice Walk-through 5 or use the design file, PSpice Walk-through 6_Non-Ideal Components.

  1. Select V1 and press Delete on the keyboard.
  2. Select Place > PSpice Component > Modeling Application from the menu.

Note: The Modeling Application within PSpice allows you to quickly create models with your preferred parameters, attributes and tolerances and easily place them in your schematic.

  1. Select Sources > PWL.

  1. Assign the above values to configure the time and voltage pairs.

Note: This will simulate a change in voltage at the specified times.

  1. Select Place.

  1. Click to place in the schematic.

  1. From the existing simulation profiles, select Transient from the drop-down.

Note: Delete any existing probes by selecting the probes and pressing Delete on the keyboard.

  1. Select PSpice > Edit Simulation Profile from the menu.

  1. Change the Run to Time to 10m.
  2. In the Probe Window tab, select Last Plot.
  3. Click OK.
  4. Select PSpice > Run from the menu.
  5. In the plot window, select Trace > Add Trace from the menu.
  6. In Simulation Output Variables, select V(input) and V(output). Click OK.
  7. Back in the schematic, right click on V1 and select More > Edit Source Component.
  8. Select Repeat and set the value to 2.
  9. Select Update.
  10. Select PSpice > Run from the menu.

  1. View the repeated waveform in the Plot Window.
  2. Back in the schematic, select C1 and Delete.
  3. Select Passive > Capacitors from the Modeling Application.

Note: The capacitor found in the standard PSpice library is already completely charged.  The Modeling Application includes fields where you can set tolerances and initial conditions as well as parasitic properties and temperature and voltage coefficients to create a non-ideal component.

  1. Set the Tolerance to 5.
  2. Set the Initial Condition to 0.
  3. Select Place.
  4. Click to place in the schematic.
  5. Select PSpice > Run from the menu.

  1. In the Plot Window, view the results with the non-ideal capacitor.
  2. Back in the schematic, select V1 and press Delete on the keyboard.
  3. Select Source > Independent Sources from the Modeling Application.
  4. Select the Sine tab.
  5. Set AC to 10.
  6. Set DC to 10.
  7. Select Place.
  8. Click to place in the schematic.

Note: System Modules are also available in the Modeling Application. These include switches controlled by time voltage or current, single phase transformers, and voltage-controlled oscillators.
 

Previous Article
[17.4] OrCAD PSpice Walk-through: Generating a Smart PDF
[17.4] OrCAD PSpice Walk-through: Generating a Smart PDF

This tutorial demonstrates how to create a Smart PDF of your schematic design that you can view from a PDF ...

Next Article
[17.4] OrCAD PSpice Walk-through: Additional Simulation
[17.4] OrCAD PSpice Walk-through: Additional Simulation

This PSpice tutorial demonstrates how to setup additional PSpice simulations.

OrCAD Free Trial

Try OrCAD Today