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.
- Select V1 and press Delete on the keyboard.
- 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.
- Select Sources > PWL.
- Assign the above values to configure the time and voltage pairs.
Note: This will simulate a change in voltage at the specified times.
- Select Place.
- Click to place in the schematic.
- 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.
- Select PSpice > Edit Simulation Profile from the menu.
- Change the Run to Time to 10m.
- In the Probe Window tab, select Last Plot.
- Click OK.
- Select PSpice > Run from the menu.
- In the plot window, select Trace > Add Trace from the menu.
- In Simulation Output Variables, select V(input) and V(output). Click OK.
- Back in the schematic, right click on V1 and select More > Edit Source Component.
- Select Repeat and set the value to 2.
- Select Update.
- Select PSpice > Run from the menu.
- View the repeated waveform in the Plot Window.
- Back in the schematic, select C1 and Delete.
- 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.
- Set the Tolerance to 5.
- Set the Initial Condition to 0.
- Select Place.
- Click to place in the schematic.
- Select PSpice > Run from the menu.
- In the Plot Window, view the results with the non-ideal capacitor.
- Back in the schematic, select V1 and press Delete on the keyboard.
- Select Source > Independent Sources from the Modeling Application.
- Select the Sine tab.
- Set AC to 10.
- Set DC to 10.
- Select Place.
- 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.