PSpice Tutorial October 13, 2004 Franklin Chiang.

Slides:



Advertisements
Similar presentations
EE 積體電路設計導論 Introduction to HSPICE
Advertisements

1 Analysis and Simulation Exercises ~DC Circuit Analysis (1) Basic Circuit Laws (Kirchhoff ’ s Voltage/ Current Law) Thévenin’s Theorem Norton ’ s Theorem.
EEL102 Introduction to SPICE. Spice – Introduction Spice is a short form of : Simulated Program with Integrated Circuit Emphasis Used for circuit analysis.
S. Reda EN160 SP’08 Design and Implementation of VLSI Systems (EN1600) lecture10 Prof. Sherief Reda Division of Engineering, Brown University Spring 2008.
Chapter 4 – Bipolar Junction Transistors (BJTs)
PSPICE Tutorial. Introduction SPICE (Simulation Program for Integrated Circuits Emphasis) is a general purpose analog circuit simulator that is used to.
Introduction to SPICE. History  SPICE stands for Simulation Program with Integrated Circuit Emphasis  In 1960 ECAP was developed by a team of IBM programmers.
INTRODUCTION Spice Excel. SPICE Simulation Program with Integrated Circuit Emphasis.
1 References: G. W. Roberts, A. Sedra, SPICE, © Oxford University Press, 2/e, 1977 Tutorial on PSPICE.
Introduction to PSpice Simulation Software. The Origins of SPICE In the 1960’s, simulation software begins –CANCER Computer Analysis of Nonlinear Circuits,
EMT 251 SPICE NETLIST. Introduction SPICE (Simulation with Integrated Circuits Emphasis) SPICE (Simulation with Integrated Circuits Emphasis) General.
What is Spice? Spice is the short form of: Simulated Program with Integrated Circuit Emphasis.
The George Washington University School of Engineering and Applied Science Department of Electrical and Computer Engineering ECE122 Lab 4: VTC & Power.
Computer Modeling of Electronic Circuits with LT SPICE PHYS3360/AEP3630 Lecture 20/21 1.
ECE 3130 – Digital Electronics and Design Lab 4 VTC and Power Consumption Fall 2012 Allan Guan.
Introduction  SPICE is a general-purpose circuit simulation program for nonlinear DC, nonlinear transient, and linear AC analyses.  Circuits may contain.
PSPICE - Review Kishore C. Acharya. Kishore Acharya2 Starting Simulation with PSPICE Launch PSPICE design Manager Create a New Work Space or Open an Existing.
Computer Aided Design Course 2. Setting up Analyses In order to measure a circuit performance, it is necessary to simulate its behavior. PSpice A/D is.
Rowan Hall 238A April 24, 2007 Electronics I for M.E. ECE Load Line Exercises James K. Beard, Ph.D.
PSPICE Graphical Tutorial Based on the PSPICE in BR 123.
SIMULATION OF AMPLIFIERS USING NGSPICE VISHNU V 2 nd Year M.Tech VLSI and Embedded Systems Govt. Model Engineering College, Thrikkakara TECHNICAL WORKSHOP.
Amplifier Circuit This amplifier circuit DC analysis.
The George Washington University School of Engineering and Applied Science Department of Electrical and Computer Engineering Circuit Design Verification.
Abdülkadir ERYILDIRIM Turgut Ozal University. The Objectives:  Open and Save New Project File  Create a Circuit Schematic  Get Place, Place Parts i.e.
Modeling of the Memristor in SPICE Introduction In 1971, professor Chua predicted the existence of the fourth circuit element – memristor [3]. The memristor.
Electronic Circuits Laboratory EE462G Lab #7 NMOS and CMOS Logic Circuits.
Automatic Holiday Light Display. Goal of Experiment Design an automatic light display in which a set of blinking lights (LEDs) turns on as the amount.
1 Circuit Simulation using PSPICE PSPICE Seminar.
Basic Pspice Instructions Stuart Tewksbury
CIRCUIT ANALYSIS USING NGSPICE
Islamic Azad University - Qazvin Branch1 HSPICE ® Introduction Autumn 2006.
 Lab assistants are: Dilara YALÇIN–Kami ÇEVİK  Labs are divided into two sections (same as course sections). Verify your section as soon as possible.
0 Chap. 4 BJT transistors Widely used in amplifier circuits Formed by junction of 3 materials npn or pnp structure.
THE INVERTERS. DIGITAL GATES Fundamental Parameters l Functionality l Reliability, Robustness l Area l Performance »Speed (delay) »Power Consumption »Energy.
The George Washington University School of Engineering and Applied Science Department of Electrical and Computer Engineering ECE122 Lab 4: VTC & Power.
ECE122 – Digital Electronics & Design
EENG 2920: Circuit Design and Analysis Using PSpice Class 3: DC and Transient Analysis Oluwayomi Adamo Department of Electrical Engineering College of.
Lecture on PSpice. Introduction to SPICE  SPICE was originally developed at the University of California, Berkeley (1975).  Simulation Program for Integrated.
ELECTRIC CIRCUITS ECSE-2010 Spring 2003 Class 3. ASSIGNMENTS DUE Today (Thursday): Will introduce PSpice Activity 3-1 (In Class) using PSpice Will do.
Lumped versus Distributed: A component must be considered as distributed when the physical dimensions of an element become significant with respect to.
ECE201 Lect-261 AC PSpice Analysis (7.9) Dr. S. M. Goodnick October 29, 2003.
スパイスモデル解析精度比較検証 デジタルトランジスタ 型名: DTC144EE 比較対象のスパイスモデル ビー・テクノロジーのモデル ⇒スパイス・パークからダウンロード ロームのモデル ⇒メーカー・サイトからダウンロード 比較対象のスパイスモデル ビー・テクノロジーのモデル ⇒スパイス・パークからダウンロード.
PSPICE – Windows Version
Introduction to PSpice
Electronic Circuits Laboratory EE462G Lab #7 NMOS and CMOS Logic Circuits.
1. Digital cmos.2 10/15 Figure 10.1 Digital IC technologies and logic-circuit families. Digital IC Technologies CMOS & Pass Transistor Logic dominate.
Introduction to Elementary Circuit Simulations with PSpice
Introduction to IC Design
PSPICE 仿真. OP … NODE VOLTAGE NODE VOLTAGE ( 1) ( 2) ( 3).6954 ( 4) ( 5) VOLTAGE SOURCE CURRENTS NAME CURRENT V_V E+00.
Circuit from Model for RF power input Note rectification of the signal: low-pass filter this (which happens.
ECE122 – Digital Electronics & Design Tanner Tools Tutorial Ritu Bajpai September 4, 2008.
CMOS 2-Stage OP AMP 설계 DARK HORSE 이 용 원 홍 길 선
A Requirement for Superposition. Objective of Lecture Introduce the property of linearity Chapter 4.2.
Chapter 4 – Bipolar Junction Transistors (BJTs) Introduction
LECTURE 1: BASIC BJT AMPLIFIER -AC ANALYSIS-
Introduction to LTspice IV
EMT 251 SPICE NETLIST.
Introduction to PSPICE
EKT104 ANALOG ELECTRONIC CIRCUITS [LITAR ELEKTRONIK ANALOG] BASIC BJT AMPLIFIER (PART I) DR NIK ADILAH HANIN BINTI ZAHRI
ORCAD PSPICE.
INTRODUCTION Spice Excel.
Introduction to PSpice
Spice Seminar Simulation Program with Integrated Circuit Emphasis.
INTRODUCTION Spice.
Introduction to HSPICE
Lecture 8: SPICE Simulation
global parameter model parameter temperature
Lecture 8: SPICE Simulation
Lab Notebook: EECT 121 Evan Wilson
Spice Seminar Simulation Program with Integrated Circuit Emphasis.
Presentation transcript:

PSpice Tutorial October 13, 2004 Franklin Chiang

Orcad Programs PSpice –Use “netlists” to code up circuits. Text based. –Start  programs  Orcad Family Release 9.2  Orcad PSpice Capture –Use diagrams to draw up circuits and simulate. Graphics based. –Start  programs  Orcad Family Release 9.2 Lite  Capture Lite

Startup and Basic Syntax Start  Programs  Orcad Release 9.2  PSpice File  New  Text file 5 different “commands” you can use –Title: first line of code (always) –.END: last line of code (always) –Comment: line denoted by * –Element: Resistor, capacitor, etc. –Control: analysis

Passive Component Description Resistor –R –Ex. R –Names should not contain comma, space, or =, or parenthesis Capacitor –C –Ex CBYP uF Inductor –L

Units in PSpice T = tera = G = giga = 10 9 Meg = mega = 10 6 k = kilo 10 3 m = milli = u = micro = n = nano = p = pico = f = femto =

Source design Independent Voltage Source –V –VCC 10 0 DC 6 Independent Current Source –I –I_in 10 0 AC 3m

Voltage Sources DC: Vname n+ n- DC AC: Vname n+ n- AC Transient: –Vname n+ n- sin(Vo Va freq td damp) –Vname n+ n- pulse(V1 V2 td tr tf PW T) –Vname n+ n- PWL(t1, v1, t2, v2, …, tn, vn)

Active Devices (transistors!) Usually given a model file as text file Include it into pspice using: –.lib –ex:.lib 115cmodel.txt Make sure text file is in same directory

Including your own model files.model.model QPNP PNP(Is=650.6E-18 Xti=3 Eg=1.11 Vaf=100 Bf=150 Ne= Ise=54.81f Ikf=1.079 Xtb=1.5 Br=3.563 Nc=2 Isc=0 Ikr=0 Rc= Cjc=14.76p Mjc=.5383 Vjc=.75 Fc=.5 Cje=19.82p Mje=.3357 Vje=.75 + Tr=111.3n Tf=603.7p Itf=.65 Vtf=5 Xtf=1.7 Rb=10).model QNPN NPN(Is=14.34f Xti=3 Eg=1.11 Vaf=100 Bf=150 Ne= Ise=14.34f Ikf=.2847 Xtb=1.5 Br=6.092 Nc=2 Isc=0 Ikr=0 Rc=1 + Cjc=7.306p Mjc=.3416 Vjc=.75 Fc=.5 Cje=22.01p Mje=.377 Vje=.75 + Tr=46.91n Tf=411.1p Itf=.6 Vtf=1.7 Xtf=3 Rb=10) Copy, paste.

Declaring transistors BJT: –Q –Ex. Q npn MOSFET: –M –M nmos –M pmos L=10u W=5u AD=100p AS=100p PD=40u PS=40u

Building a circuit First, draw the diagram Label nodes Code in Pspice

Code

Analysis Types DC Analysis –DC transfer curve source and sweep.dc [src2 start2 stop2 incr2].DC VIN DC VDS VGS –“nested sweep”: for each VDS, sweep VGS from 0 to 5 incrementing by 1 each time. So total number of operations would be 20 * 5 = 100

Analysis Types Operating Point –.op –Calculates dc operating point of circuit with inductors shorted and capacitors open. –Useful in checking your work. –Results put in.txt file

Analysis types AC small signal –computes the ac output variables as a function of frequency –first computes the dc operating point of the circuit and determines linearized, small-signal models for all of the nonlinear devices in the –resultant linear circuit is then analyzed over a user-specified range of frequencies –Can be used to compute noise!

Analysis Types AC Analysis (cont) –.AC DEC ND FSTART FSTOP Dec = decade variation, ND = pts. / decade –.AC LIN NP FSTART FSTOP Lin = linear variation, NP = # pts –.NOISE OUTV INSRC NUMS OUTV = output voltage which defines summing point INSRC = name of independent source which is the noise input reference NUMS = summary interval

Analysis Types Transient (.tran ) –The transient analysis portion of SPICE computes the transient output variables as a function of time over a user specified time interval –The initial conditions are automatically determined by a dc analysis –Useful for 115C –.tran 1ns 1000ns 500ns

Back to Resistor Bridge Ex. Find voltage across R3 when Vin = 10V

Results

Transistor examples: IV curve Plot I-V characteristic of NMOS with: –W = 1.2um –L = 0.25 um –Set Vdd = Vg = 2.5V, Vs = 0V IDID G D S

Solution: 1) Draw circuit with sources 2) Label nodes! 3) Code in spice 3 0 2

Solution:

Graph

Inverter demonstration

Results