Pspice: by Sujay Pujari

You might also like

Download as ppt, pdf, or txt
Download as ppt, pdf, or txt
You are on page 1of 31

PSpice

By Sujay Pujari
What is PSpice

http://www.scribd.com/doc/51705830
Netlist:
*demo of a simple AC circuit
v1 1 0 ac 12 sin
r1 1 2 30
c1 2 0 100u
.ac lin 1 60 60
.print ac v(1,2) v(2)
Simple AC resistor-capacitor circuit
.end

Ref: http://www.allaboutcircuits.com
*Demo 2 of a simple AC circuit
v1 1 0 ac 12
r1 1 2 30
c1 2 0 100u
.ac DEC 30 500 15MEG
.print ac v(1,2) v(2)
.plot ac v(1,2) v(2)
.end
C SINEWAVE VOLTAGE SOURCES (when NOT using .ac card to specify frequency):
General form: v[name] [+node] [-node] sin([offset] [voltage] + [freq] [delay] [damping
factor])

Example 1: v1 1 0 sin(0 12 60 0 0)

Parameter definitions:
offset = DC bias voltage, offsetting the AC waveform by a specified voltage.
voltage = peak, or crest, AC voltage value for the waveform.
freq = frequency in Hertz.
delay = time delay, or phase offset for the waveform, in seconds.
damping factor = a figure used to create waveforms of decaying amplitude.
*Demo 3 of a simple AC circuit
*v1 1 0 ac 12
v1 1 0 sin(0 15 60 0 0)
r1 1 2 30
c1 2 0 100u
.tran .5m 25m
.plot tran v(1,0) v(1,2) v(2,0)
.end
*Demo 4 of a simple AC circuit
*v1 1 0 ac 12
v1 1 0 sin(0 15 60 0 0)
r1 1 2 30
c1 2 0 100u
.tran .5m 25m
.plot tran v(1,0) v(1,2) v(2,0)
.PROBE
.end
*Demo 5 of a simple AC circuit
V1 1 0 AC 12V 0 ;r1 1 2 30
c1 2 0 100u
.AC DEC 20 10KHZ 1MEGAHZ
.PROBE
.end
Netlist:
*common source jfet amplifier
vin 1 0 sin(0 1 60 0 0)
vdd 3 0 dc 20
rdrain 3 2 10k
rsource 4 0 1k
j1 2 1 4 mod1
.model mod1 njf
Common-source JFET amplifier with self-bias .tran 1m 30m
.plot tran v(2,0) v(1,0)
.end

Ref: http://www.allaboutcircuits.com
Ref:
http://www.seas.upenn.edu/~jan/spice/PSpicePrimer.pdf
**** INCLUDING new_project-SCHEMATIC1.net ****
* source NEW_PROJECT
R_R1 N00837 N00718 10k
R_R2 0 N00718 10k
V_V1 N00837 N02177 20Vdc
I_I1 0 N00718 DC 1mAdc
C_C1 0 N00718 5u

**** RESUMING new_project-SCHEMATIC1-Bias.sim.cir ****


.END

**** 03/28/11 15:53:46 ************** PSpice Lite (Mar 2000) *****************

** Profile: "SCHEMATIC1-Bias" [ C:\Program Files\OrcadLite\New_project\new_project-SCHEMATIC1-Bias.sim ]

**** SMALL SIGNAL BIAS SOLUTION TEMPERATURE = 27.000 DEG C

******************************************************************************

NODE VOLTAGE NODE VOLTAGE NODE VOLTAGE NODE VOLTAGE

(N00718) 10.0000 (N00837) 10.0000 (N02177) -10.0000


Ref
http://www.seas.upenn.edu/~jan/spice/spice.overview.html
- a brief overview of SPICE
http://www.electronics-lab.com/downloads/schematic/013/tutorial/PSPCREF.pdf
-PSpice ref Manuel
http://www.electronics-lab.com/downloads/schematic/013/tutorial/PSPICE.pdf-
PSpice user guide
http://www.scribd.com/doc/28752796/Pspice-Coding-Demo
-PSPICE CODING–HOW TO ENTER AND RUN: A BASIC DEMONSTRATION
http://larc.ee.nthu.edu.tw/~cthuang/courses/cs2100/lectures/cs2100-pspice.pdf
PSpice quick start
http://www.ecircuitcenter.com/demos.htm -demos and download
http://home.anadolu.edu.tr/~ubasaran/Ptutor.pdf -Basics steps
http://www.uta.edu/ee/hw/pspice/index.php -Very good tutorial
http://www.allaboutcircuits.com/vol_5/chpt_7/1.html - good Examples

http://home.olemiss.edu/~atef/engr360/tutorial/qgspice.html
-PSpice Quick Guide and Tutorial

You might also like