CIRCUIT ANALYSIS USING PSPICE Writing Netlist For SEE 1003 2010/2011 - I
Objective: To show how to simulate a simple circuit using DC analysis in PSpice based on netlist.
PSpice Originated from Spice - Simulation Program with Integrated-Circuit Emphasis PSpice is the PC version of Spice developed in 1984 Developed by MicroSim later bought by Cadence Design Systems Where to get the student version of PSpice? http://encon.fke.utm.my/courses/see1003/downloads.html Google for “student version pspice 9.1 download”
Why PSpice ? Its part of the requirements for program accreditation It is becoming an Industry Standard for circuit simulation You will be using it again (and again) in future courses Used to verify your answers for your homework/assignment in SEE 1003 As part of your assignment – will not be asked in exams
Input file (*.cir) containing Steps in simulating circuit using PSpice Circuits Output file **** 07/21/10 10:19:34 *********** Evaluation PSpice (Nov 1999) ************** Test 1 **** CIRCUIT DESCRIPTION ****************************************************************************** i1 0 1 dc 1.5 r1 1 0 100 r2 1 2 150 r3 2 0 250 .dc i1 1.5 1.5 1 .print dc v(1) v(2) i(r1) i(r2) .end **** DC TRANSFER CURVES TEMPERATURE = 27.000 DEG C i1 V(1) V(2) I(r1) I(r2) 1.500E+00 1.200E+02 7.500E+01 1.200E+00 3.000E-01 JOB CONCLUDED TOTAL JOB TIME .02 Input file (*.cir) containing Netlist PSPICE
1 2 3 Steps in simulating circuit using PSpice Convert your circuit into a netlist. Save your netlist using text editor with extension .cir 2 Run PSpice and simulate your .cir file 3 Obtain the results from your output file
Examples – DC analysis This is how you write a PSpice netlist for the circuit: Test 1 i1 0 1 dc 1.5 r1 1 0 100 r2 1 2 150 r3 2 0 250 .dc i1 1.5 1.5 1 .print dc v(1) v(2) i(r1) i(r2) .end Title statement Data statement 1 Control statement Output statement End statement
2 Run PSpice and simulate your .cir file
3 Display the output This depends on what you write in the output statement
Examples