250 likes | 277 Views
Introduction to PSpice. Simulation Software. Ref: Different online sources…. The Origins of SPICE. In the 1960’s, simulation software begins CANCER C omputer A nalysis of N onlinear C ircuits, E xcluding R adiation Developed at the University of California, Berkley
E N D
Introduction to PSpice Simulation Software Ref: Different online sources…..
The Origins of SPICE • In the 1960’s, simulation software begins • CANCER • Computer Analysis of Nonlinear Circuits, Excluding Radiation • Developed at the University of California, Berkley • Funded by United States public funds
The Origins of SPICE • From CANCER to SPICE • SPICE developed in the 1970’s • Simulation Program with Integrated Circuit Emphasis • PSpice is a PC version of SPICE and HSpice is a version that runs on workstations and larger computers.
Types of Analysis In PSPICE • Non-linear DC analysis • Non-linear transient analysis • Linear AC Analysis • Noise analysis • Sensitivity analysis • Distortion analysis • Fourier analysis • Monte Carlo Analysis
That Was Then • The original way of entering circuit information • A text file with syntax specific to the simulator • Easy to remember commands and syntax • R – Resistor • C – Capacitor • L – Inductor • {Element} {node1} {node2} {value} • Entered into any text editor with proper syntax
That Was Then • The circuit above is shown in the text file to the right
This Is Now • New user interface • Graphical circuit diagrams • Variation of simulation parameters with a few clicks
Things to remember before starting • PSpice is not case sensitive • All element names must be unique • There must be a node designated "0" (Zero). This is the reference node against which all voltages are calculated. • If any change is made in circuit make sure you create netlist again before simulating it.
First Look at Capture • First window you will see when you open Capture • Create a new Project • File New Project • This will open a new window
New Project Window • Select a project name • PSpice Lab Simulation • Select a project location • C:\PSpice\{YourName} • Select what type of project • Analog or Mixed A/D • Click OK
Create PSpice Project • This window will open • Select the bottom option • Create a blank project • Click OK
The Project Windows • The Main Project Window • Two other information windows • Session Log Window • Project File Window • Our main window • Schematic 1: Page 1
Place Parts • Place the 5 resistors • Using Place Part • Type ‘R’ in Part Field • Place the Voltage Source • Using Place Part • Type ‘Vdc’ in Part Field • Right click and choose “End Mode”
Rotate and Move Resistors • Click on the resistor • Use ‘Ctrl+R’ to rotate • Repeat for 4 resistors • Move and place the resistors in parallel • Change the values • Double Click on the ‘1k’ and enter ‘4k’ of the parallel resistors
Change the Voltage and Wire • Change DC Voltage • Double Click on ‘0Vdc’ and enter ’16Vdc’ • Now wire the circuit • Using Place Wire • Click on one node, and ‘draw’ to the other and click again • Right click and select “End Mode”
Placing the Ground • Every PSpice circuit must have a ground • Use the icons on the right • 9th icon down • This opens the “Place Ground” window • Select the ‘0/Source’ • Click OK
Simulation Profile • Need to create a simulation profile • PSpice New Simulation Profile • Name the profile • DC Solution • Click OK
Edit the Simulation Profile • Go to the Analysis Tab • Under the Analysis type, choose Bias Point • This is to find the DC solution • Click OK • Ready to Simulate
Running the Simulation • The last step is to RUN the simulation • Do this by selecting PSpice Run • After running the simulation a new window will open • Close this window and return to the Schematic 1: Page 1 window • Use the “V” and “I” (and maybe “W”) icons on the top of the screen • For finding voltages and currents (and power)
Now You Know • With this basic underlying knowledge • Can change • Resistor values • Voltage supply values • Resistor configuration • Can learn • More simulation parameters • More components for simulation • Time for Lab – Good Luck
Lab Work Find out the currents and voltages of the following circuit using PSPICE • Simplify the circuit R4||R3 = 2*4/(2+4) = 4/3 Ohms • Assign I1, I2, and I3 current • Set up equations: 0 = 5I1 + 2I2 – 10 ---1) 0 = 3I3 – 2I2 + (4/3)I3 + 20 ---2) I1 = I3 + I2---3) • Ans: I1 = 0.58A. I2 = 3.55A. I3 = -2.98A 2 3 1 0 4