PSpice Walk-through 6: Non-Ideal Components



This tutorial demonstrates use of the Modeling Application in version 17.4 (2021).  After you complete this PSpice tutorial, you will be able to:
 

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

To follow along, continue working with the design completed in PSpice Walk-through 5 or open the provided 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.
 

3. Select Sources > PWL.
 


 

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

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

5. Select Place.
 


 

6. Click the canvas to place in the schematic.
 


 

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

Note: If necessary, delete any existing probes by selecting the probes and pressing Delete on the keyboard.
 

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


 

9. Change the Run to Time to 10m.
10. Select PSpice > Run from the menu.
11. In the plot window, select Trace > Add Trace from the menu.
12. In Simulation Output Variables, select V(input) and V(output). Click OK.
13. Back in the schematic, right click on V1 and select More > Edit Source Component.
14. Select Repeat and set the value to 2.
15. Select Update.
16. Select PSpice > Run from the menu.
 


 

17. View the repeated waveform in the Plot Window.
18. Back in the schematic, select C1 and Delete.
19. 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.
 


 

20. Set the Tolerance to 5.
21. Set the Initial Condition to 0.
22. Select Place.
23. Click to place in the schematic.
24. Select PSpice > Run from the menu.

25. In the Plot Window, view the results with the non-ideal capacitor.
 

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
PSpice Walk-through 7: Generating a Smart PDF
PSpice Walk-through 7: Generating a Smart PDF

This tutorial demonstrates how to create a Smart PDF of your schematic design in version 17.4 (2021) that y...

Next Article
PSpice Walk-through 5: Additional Simulations
PSpice Walk-through 5: Additional Simulations

This tutorial demonstrates how to setup additional PSpice simulations in version 17.4 (2021).

OrCAD Free Trial

Try OrCAD Today