vlsi introduction to pspice

Post on 16-Jan-2017

488 Views

Category:

Engineering

3 Downloads

Preview:

Click to see full reader

TRANSCRIPT

PSPICE Fundamentals

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

Acquiring PSPICEGo to the following website:

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

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”

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

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

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/

PSPICE InterfaceExample 1: Diode Characteristics

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)

PSPICE InterfaceExample 1: Diode Characteristics

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

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.

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

Simulation Results

High Pass Filter

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

Simulation Results

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

AC Coupled Amplifier using NMOS

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)

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

Simulation Results: Vi

Simulation Results: Vo

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/

THANK YOU

top related