1 References: G. W. Roberts, A. Sedra, SPICE, © Oxford University Press, 2/e, 1977 Tutorial on PSPICE.

Slides:



Advertisements
Similar presentations
Variation Aware Gate Delay Models Dinesh Ganesan.
Advertisements

Operational Amplifiers
Operational Amplifiers 1. Copyright  2004 by Oxford University Press, Inc. Microelectronic Circuits - Fifth Edition Sedra/Smith2 Figure 2.1 Circuit symbol.
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.
Experiment 17 A Differentiator Circuit
PSPICE Tutorial Spring 2015
PSpice Tutorial October 13, 2004 Franklin Chiang.
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.
Spice Enrico Santi. Types of Analysis Bias point (always performed).TRANtransient analysis.ACAC analysis (on linearized system).FOURFourier analysis.DCDC.
INTRODUCTION Spice Excel. SPICE Simulation Program with Integrated Circuit Emphasis.
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.
Using Spice in Lab Practicing for Analog ASIC Design Goran Jovanović, Faculty of Electronic Engineering University of Niš Serbia and Montenegro.
What is Spice? Spice is the short form of: Simulated Program with Integrated Circuit Emphasis.
LAB No.3 Introduction to PSpice Engr. Mian Shahzad Iqbal Lecturer Department of Telecommunication Engineering Digital Electronics.
Introduction to CMOS VLSI Design SPICE Simulation
Computer Modeling of Electronic Circuits with LT SPICE PHYS3360/AEP3630 Lecture 20/21 1.
Introduction  SPICE is a general-purpose circuit simulation program for nonlinear DC, nonlinear transient, and linear AC analyses.  Circuits may contain.
Introduction The input network of the power amplifier will be designed in the example. The network synthesized will be expanded to allow for biasing of.
AC modeling of quasi-resonant converters Extension of State-Space Averaging to model non-PWM switches Use averaged switch modeling technique: apply averaged.
CIRCUIT ANALYSIS USING PSPICE Writing Netlist
Introduction to PSpice R. E. Abdel-Aal February 2005.
S. Reda EN160 SP’07 Design and Implementation of VLSI Systems (EN0160) Prof. Sherief Reda Division of Engineering, Brown University Spring 2007 [sources:
EE 2303 Week 2 EE 2303 Week 2. Overview Kirchoff’s Current Law (KCL) Kirchoff’s Voltage Law (KVL) Introduction to P-spice.
Fm Transmitter By Samuel Nyall Stearley!!! 12/6/2002.
Lecture 27: Graph Theory in Circuit Analysis Suppose we wish to find the node voltages of the circuit below. We know how to do this by hand. For large-scale.
PSPICE Graphical Tutorial Based on the PSPICE in BR 123.
1 Midterm statistics – On campus students only ECEN 5817 Midterm Exam, Spring 2008 On-campus students Average = 86.3 % Averages by problem: / 35.
EE141 Spring 2003 Discussion 1 Tips for Using SPICE.
Lecture 24 Introduction to state variable modeling Overall idea Example Simulating system response using MATLAB Related educational modules: –Section 2.6.1,
Chapter 25 Nonsinusoidal Waveforms. 2 Waveforms Used in electronics except for sinusoidal Any periodic waveform may be expressed as –Sum of a series of.
A Differentiator Circuit.  All of the diagrams use a uA741 op amp. ◦ You are to construct your circuits using an LM 356 op amp.  There is a statement.
Experiment 17 A Differentiator Circuit
The George Washington University School of Engineering and Applied Science Department of Electrical and Computer Engineering Circuit Design Verification.
W. G. Oldham EECS 40 Fall 2001 Lecture 5 Copyright Regents of University of California 1 Review of charging and discharging in RC Circuits Lectures 2 and.
Electronic Circuits Laboratory EE462G Lab #4 DC Power Supply Circuits Using Diodes.
CIRCUIT ANALYSIS USING NGSPICE
Chapter 17 – Methods of Analysis and Selected Topics (AC) Introductory Circuit Analysis Robert L. Boylestad.
Electronic Circuits Laboratory EE462G Simulation Lab #9 The BJT Differential Amplifier.
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.
EENG 2610: Circuit Analysis Class 10: Capacitors and Inductors
SPICE Simulation Program with Integrated Circuit Emphasis –Developed in 1970’s at Berkeley –Many commercial versions are available –Used for simulating.
EE 211 Lecture 6 Feb. 24, Topics Mid term exam Prelab policy Pspice Analysis Frequency Response.
Chapter 8 The Operational Amplifier (Part I) ~ Using PSpice
PSPICE – Windows Version
Introduction to Matlab Module #9 Page 1 Introduction to Matlab Module #9 – Simulink Topics 1.Simulink Textbook Reading Assignments Practice Problems.
EE141 Fall 2004 Discussion 1 Tips for Using SPICE.
Introduction to PSpice
Simulation Using WinSPICE David W. Graham Lane Department of Computer Science and Electrical Engineering West Virginia University © David W. Graham 2007.
ELECTRIC CIRCUITS ECSE-2010 Spring 2003 Class 13.
Chapter 8 – Methods of Analysis Lecture 9A - Tutorial by Moeen Ghiyas 13/03/
It’s always important that all of your nodes be numbered. So the way to do that is to go to Options at the top of the screen then select Preferences. When.
Lab 1 LTspice Intro EC538 Selected Topics in Electronics 1 Eng. Nihal Tawfik.
1 Second Order Circuits SEE 1023 Circuit Theory Introduction to Transient Response.
Introduction to LTspice IV
EMT 251 SPICE NETLIST.
Graph Theory in Circuit Analysis
Generating Circuit Equations
INTRODUCTION Spice Excel.
Spice Seminar Simulation Program with Integrated Circuit Emphasis.
INTRODUCTION Spice.
Mechatronics Engineering
Lecture 06 - Node Voltage Analysis
Spice Seminar Simulation Program with Integrated Circuit Emphasis.
State Equations: State determined system is a system in which the time derivatives of the variables describing the state (the state variables) are.
Lecture 07 - Node Voltage Analysis
Presentation transcript:

1 References: G. W. Roberts, A. Sedra, SPICE, © Oxford University Press, 2/e, 1977 Tutorial on PSPICE

Introduction SPICE = Simulation Program with Integrated Circuits Emphasis SPICE underlying engine solves numerically the various continuous time differential equations describing the circuit How to use SPICE ? We have to write an input file, also called “deck”. DeckOutput SPICE Engine ASCII Program

The SPICE deck The input file must contain: 1. Title statement : always on the first line of the input file 2..END statement : always on the last line of the input file 3. Circuit statements :lines that contains the description of a circuit element 4. Control statements : lines that contains an analysis request or measurements nodes or model parameters 5. Comment statements :lines starting with an asterisk (*)  The order of the SPICE lines is not important except for the title line and the.END line  SPICE is case insensitive and words can be separated by any number of spaces  Components must be uniquely labeled  Every node of the circuit is designated by a number. The ground node is labeled 0.

Example of an input file Low Pass Filter ** Circuit Description Vin 1 0 PWL(0s, 0V, 1ms, 0V, ms, 1V) R kohm C uF * Analysis Request.OP.TRAN 0.1ms 5ms.end Title Positive Terminal (n+) Negative Terminal (n-).END command The + sign means that the previous statement is continued on this line.

Dimensions and scale-factors

Common circuit elements First letterElement Ccapacitor Ddiode Rresistor Linductor Qbipolar transistor MMOS Field Effect transistor Iindependent current source Vindependent voltage source Evoltage-controlled voltage source Fcurrent-controlled current source Gvoltage-controlled current source Hcurrent-controlled voltage source

Independent Sources

Analysis and output requests Besides the circuit description we need to: Specify the type of analysis for our simulation Choose the circuit variables that we want to display

Analysis Requests Operating point.OP DC sweep.DC source_name start_value stop_value step_value AC frequency response.AC DEC points_per_decade freq_start freq_stop.AC OCT points_per_octave freq_start freq_stop.AC LIN total_points freq_start freq_stop Transient response.TRAN printing_time_step time_stop [time_start, max_time_step]

Output Requests

Sub circuits The definition in SPICE for a subcircuit is as follow:.SUBCKT subcircuit_name list_of_nodes Circuit Description.ENDS To incorporate the sub circuit into the main design use the following statement, which starts with the letter “X”: Xname node_connections subcircuit_name

Example using a sub circuit