26
PSPICE Fundamentals

VLSI Introduction to PSPICE

Embed Size (px)

Citation preview

Page 1: VLSI Introduction to PSPICE

PSPICE Fundamentals

Page 2: VLSI Introduction to PSPICE

Introduction to PSPICE• PSpice is an acronym for Personal Simulation Program with

Integrated Circuits Emphasis

• The software is used to create electronic schematics and electronic prints for manufacturing PCBs

• The basic input file for PSpice is a text file that has the file type “.CIR”

• The generated output file is a text file of type “OUT”, along with the other auxiliary files - .DAT, .PRB

Page 3: VLSI Introduction to PSPICE

Acquiring PSPICEGo to the following website:

http://www.electronics-lab.com/downloads/schematic/013/

Page 4: VLSI Introduction to PSPICE
Page 5: VLSI Introduction to PSPICE
Page 6: VLSI Introduction to PSPICE

Setting up PSPICE• Make a folder on the Desktop called “temp”• Locate the downloaded file called 91psptu.exe• Run the executable file (Open the file)

• Click “Unzip”

Page 7: VLSI Introduction to PSPICE

Setting up PSPICE• Should receive the following message

• Open the “temp” folder on the desktop• Run the executable file “Setup.exe”• Follow the on-screen instructions, make sure to select

“Yes” when prompted for administrative privileges • Select both Capture and Schematics to be installed

Page 8: VLSI Introduction to PSPICE

Setting up PSPICE• Select installation directory

default location (C:\Program Files\OrCAD_Demo)• Select the program folder for launching the software• Finally click Next to confirm installation

• When the setup is completed, click Finish

Page 9: VLSI Introduction to PSPICE

Additional SupportAlternate instructions available:https://www.youtube.com/watch?v=tCFjjHY94Ro

Once again, PSPICE can be downloaded here:http://www.electronics-lab.com/downloads/schematic/013/

Page 10: VLSI Introduction to PSPICE

PSPICE InterfaceExample 1: Diode Characteristics

Page 11: VLSI Introduction to PSPICE

General structure and syntaxTITLE STATEMENT

ELEMENT STATEMENTS .. COMMAND (CONTROL) STATEMENTS OUTPUT STATEMENTS .END

Devices (sources, elements)device_name nc+ nc- type device_value init_condition

.MODEL Model_name Device_name(Parameter_values)

Page 12: VLSI Introduction to PSPICE

PSPICE InterfaceExample 1: Diode Characteristics

Page 13: VLSI Introduction to PSPICE

Diode Characteristics Codev1 1 0 dc 1d1 1 2 moda.model moda Dr1 2 0 1k.dc v1 0 1 0.001.print dc v(1,2).probe.end

Page 14: VLSI Introduction to PSPICE

Output File• To access the output file, go to View > Output File

• The output file provides information regarding the circuit evaluation.

• As well as device model parameters

• Most importantly, it contains the simulation data required for graphical representation.

• For the diode characteristics, we can observe the DC transfer curves, as shown in the next slide.

Page 15: VLSI Introduction to PSPICE

Simulation Results• To observe the simulation results, go to View >

Simulation Results

Page 16: VLSI Introduction to PSPICE

High Pass Filter

Page 17: VLSI Introduction to PSPICE

High Pass Filter CodeVin 1 0 AC 1.0VR1 2 0 1.59C1 1 2 100uF.AC DEC 20 100Hz 100kHz.PROBE.END

Page 18: VLSI Introduction to PSPICE

Simulation Results

Page 19: VLSI Introduction to PSPICE

Various PSPICE commands.model Describes a set of device parameters which are

used in the netlist.ac Calculates the frequency response over a specified

frequency range.dc Used to find the DC bias point of the circuit while

specified variable is varying.tf Calculates the small signal transfer function of the

circuit.print Creates a table of output signals in the .out file.probe Used for saving signal data into PROBE.dat,

for viewing simulation results and curve tracings.end Indicates the end of the circuit description

Page 20: VLSI Introduction to PSPICE

AC Coupled Amplifier using NMOS

Page 21: VLSI Introduction to PSPICE

General structure and syntaxTITLE STATEMENT

ELEMENT STATEMENTS .. COMMAND (CONTROL) STATEMENTS OUTPUT STATEMENTS .END

Devices (sources, elements)device_name nc+ nc- type device_value init_condition

.MODEL Model_name Device_name(Parameter_values)

Page 22: VLSI Introduction to PSPICE

AC Coupled Amplifier CodeVi i 0 sin 0 10mV 1khzC1 i g 100mfVdd dd 0 30vR1 dd g 92.7kR2 g 0 7.3kRd dd d 5kM1 d g 0 0 my2N7000C2 d o 100ufRL o 0 10k.model my2N7000 NMOS (kp=0.15 vto=2.0).tran 1m 10m 0m 0.01m.probe.end

Page 23: VLSI Introduction to PSPICE

Simulation Results: Vi

Page 24: VLSI Introduction to PSPICE

Simulation Results: Vo

Page 25: VLSI Introduction to PSPICE

Bibliography• CMOS Digital Integrated Circuits,

by Sung-Mo Kang & Yusuf Leblebici

• www.uta.edu• www.engr.uky.edu• http://stuffle.net/references/PSpice_help• http://ecee.colorado.edu/• http://home.olemiss.edu/

Page 26: VLSI Introduction to PSPICE

THANK YOU