INTRODUCTION Spice Excel. SPICE Simulation Program with Integrated Circuit Emphasis.

Slides:



Advertisements
Similar presentations
Operational Amplifiers Digital Simulation Nate Moehring.
Advertisements

Chapter 7 Operational-Amplifier and its Applications
EEL102 Introduction to SPICE. Spice – Introduction Spice is a short form of : Simulated Program with Integrated Circuit Emphasis Used for circuit analysis.
UNLOCKING THE SECRETS HIDDEN IN YOUR DATA Part 3 Data Analysis.
Experiment 17 A Differentiator Circuit
Introduction To 2010 Excel Super-size Tool Bar: Ribbon Basic Tasks on Home Tab Math and Formula Statistical Functions (examples) Create A Chart Play with.
Getting Started with Cadence Compiled by Ryan Johnson April 24, 2002  Open Orcad Capture under Engineering Software  Under FILE, choose NEW, PROJECT.
Circuits II EE221 Unit 6 Instructor: Kevin D. Donohue Active Filters, Connections of Filters, and Midterm Project.
PSPICE Tutorial Spring 2015
Twin T Notch Filter.
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.
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.
Introduction  SPICE is a general-purpose circuit simulation program for nonlinear DC, nonlinear transient, and linear AC analyses.  Circuits may contain.
Linear Regression Using Excel 2010 Linear Regression Using Excel ® 2010 Managerial Accounting Prepared by Diane Tanner University of North Florida Chapter.
PSPICE - Review Kishore C. Acharya. Kishore Acharya2 Starting Simulation with PSPICE Launch PSPICE design Manager Create a New Work Space or Open an Existing.
Spreadsheets and Non- Spatial Databases Unit 4: Module 15, Lecture 2- Advanced Microsoft Excel.
Pnp transistor ECE Electronics - Dr. S. Kozaitis- Florida Institute of Technology – Fall 2002.
CIRCUIT ANALYSIS USING PSPICE Writing Netlist
Introduction to PSpice R. E. Abdel-Aal February 2005.
EE 2303 Week 2 EE 2303 Week 2. Overview Kirchoff’s Current Law (KCL) Kirchoff’s Voltage Law (KVL) Introduction to P-spice.
Using Excel for Data Analysis in CHM 161 Monique Wilhelm.
Circuit Theory What you will use this for –Power management –Signals between subsystems –Possible analog data types How the knowledge will help you –Understanding.
Electronic Circuits Laboratory EE462G Lab #8 BJT Common Emitter Amplifier.
Experiment 11: Non-Inverting Amplifier With Modifications that Require the Use of the Velleman Oscilloscope.
1 Mixers  Mixers plays an important role in both the transmitter and the receiver  Mixers are used for down frequency conversion in the receiver  Mixers.
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
Experiment 12 Non-Inverting Amplifier. Experimental Procedure Clarification in Step 3 (Modeling) – To perform the DC Sweep in the sinusoidal voltage source.
The George Washington University School of Engineering and Applied Science Department of Electrical and Computer Engineering Circuit Design Verification.
Chapter 5 Engineering Tools for Electrical and Computer Engineers.
CIRCUIT ANALYSIS USING NGSPICE
0 Chap. 4 BJT transistors Widely used in amplifier circuits Formed by junction of 3 materials npn or pnp structure.
ECE122 – Digital Electronics & Design
© 2013 The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill 6-1 Electronics Principles & Applications Eighth Edition Chapter 6 Introduction.
Electronics Principles & Applications Fifth Edition Chapter 6 Introduction to Small-Signal Amplifiers ©1999 Glencoe/McGraw-Hill Charles A. Schuler.
© 2013 The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill 6-1 Electronics Principles & Applications Eighth Edition Chapter 6 Introduction.
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.
TELECOMMUNICATIONS Dr. Hugh Blanton ENTC 4307/ENTC 5307.
Math & Formula Do math under any tab ■ Click the cell (B32) where put the result mean, and next to f x type: average(B2:B31) ■ (B2:B31) is define the data.
PSPICE – Windows Version
Introduction to PSpice
0 Chap 2. Operational amplifiers (op-amps) Circuit symbol of an op-amp Widely used Often requires 2 power supplies + V Responds to difference between.
3.TRANSISTOR CIRCUIT CONFIGURATION
Phasors and Kirchhoff’s Current Law
Simulated Inductance Experiment 25.
ECE122 – Digital Electronics & Design Tanner Tools Tutorial Ritu Bajpai September 4, 2008.
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.
Transient Response. Transient Analysis Plot of the voltages or currents as a function of time. – Output plot mimics the oscilloscope display. If simulating.
BJT Circuits Chapter 5 Dr.Debashis De Associate Professor
Introduction to LTspice IV
EMT 251 SPICE NETLIST.
Open book, open notes, bring a calculator
Introduction to Tanner EDA T-Spice
Bipolar Junction Transistor
Principles & Applications Small-Signal Amplifiers
INTRODUCTION Spice Excel.
Chapter 1 Introduction to Electronics
INTRODUCTION Spice.
Microelectronics.
Eviews Tutorial for Labor Economics Lei Lei
Circuits II EE221 Unit 6 Instructor: Kevin D. Donohue
Spice Seminar Simulation Program with Integrated Circuit Emphasis.
Introduction to PSpice
Presentation transcript:

INTRODUCTION Spice Excel

SPICE Simulation Program with Integrated Circuit Emphasis

SPICE is a program which can be used to simulate analog electronic circuits

Analog filter circuits have a parameter called a ‘Transfer Function’ which maps input to output with relation to frequency v_inv_outcircuit

Analog filter circuits have a parameter called a ‘Transfer Function’ which maps input to output with relation to frequency

A netlist is a text version of the circuit which describes the components and values for the computer to interpret and solve

* Basic DC circuit V R k R k V R k.OP.END

A netlist is a text version of the circuit which describes the components and values for the computer to interpret and solve * Series_RLC Circuit V1 1 0 SIN(0 5 1k) AC 1 R L mH C uF.AC DEC k.END

Spice is a software program that simulates electronic circuits and outputs the circuits’ basic characteristics such as: –Voltage –Current –Resistance at any location in the circuit HSpice is a version used in Unix PSpice is a version used in Windows T-Spice simpler tool meant for smaller circuits OptiSPICE is the best because it was written by your professor. WHAT IS SPICE?

Create an Spice input file that describes the circuit Run Spice Inspect the output WORKFLOW

R_R C_C u V_V1 2 0 dc 0.0 ac 1.0 sin( ) node value - A netlist describes the circuit to the program - Node 0 is always GROUND name THE NETLIST

-The title must be the first line in the netlist (in order to recognize the options command) - R1 = 100Ω (Ohms) - C1 = uF (micro Farads) with initial condition of 0 - V1 = sine wave with 1Hz frequency, 0 to 1V magnitude - Print ac voltage at node 1 - Want 100 frequency points from to 1e+06 Title “my filter circuit”.options ingold=2 R_R C_C u IC=0 V_V1 2 0 dc 0.0 ac 1.0 sin( ).print ac V(1).ac LIN e+06.op.END THE INPUT FILE

Using PSPICE Create a netlist file using notepad (Make sure you have a.probe) Save as “.cir” file on desktop Start up PSPICE Open the file in PSPICE Simulate “big green triangle” Use trace to bring up the plot window and pick things to show.

Using PSpice

All Programs ->Tanner EDA -> T- Spice... Other spices: likely won’t work

VIEWING OUTPUT

Using HSPICE

TRANSFER FUNCTION Magnitude Plot - DB vs Hz (log scale) Phase Plot - Degrees vs Hz Together these plots show the transfer function of the circuit at different frequencies For HSPICE and PSPICE use Excel to generate the plots

3-terminals: Collector, Base, and Emitter Common Emitter Amplifier input = base with respect to the emitter output = collector with respect to the emitter Most commonly used configuration for transistor-based amplifiers as it produces the highest voltage, current, and power gain. Input Voltage Output Voltage BIPOLAR JUNCTION TRANSISTOR

BJT

OUTPUT FROM HSPICE

SOME USEFUL NETLIST STATEMENTS Analysis Types: Operating Point (.OC) - Voltage at each node and current from voltage sources AC Analysis (.AC) - Small signal model output at different frequencies Transient (.TRAN) - Circuit output as time passes Scale factors: T : E+12 G : E+9 MEG : E+6 K : E+3 M : E-3 U: E-3 N: E-9 P: E-12 F: E-15

Components: SOME USEFUL NETLIST STATEMENTS Netlist NameComponent TypeExample RnameResistor Rname N+ N- Value CnameCapacitor Cname N+ N- Value LnameInductor Lname N+ N- Value VnameVoltage Source Voltage source: Vname N+ N- DCValue InameCurrent Source Current source: Iname N+ N- DCValue QnameBipolar Transistor Qname C B E BJT_modelName MnameMOSFET Mname ND NG NS ModName Sweep Distributions: - DEC : Log distributions of points - LIN: Linear distribution of points

TIPS IN EXCEL

In the menu, choose Format Cells Time [s]Vout [V] 0.E E E E E E E E E E E Scientific Notation: 0 decimals Number: 3 decimals FORMAT CELLS

Excel can split text from one column into multiple columns using the command “Text to Columns”

$ is used with cell coordinates, signifies leaving that coordinate constant Example: rearrange v=d/t to give d=v*t The code $

Other: transpose, add… Example: Make a row of data negative Copy cell with -1 value, highlight cells that you want to become negative of the current values, Edit Paste Special Multiply Positive “not yet Negative” PositiveNegative PASTE SPECIAL

Right-click on a data point, choose Add Trendline using type: Linear, options: display equation on chart and R squared value. BEST FIT LINE

must have the Analysis Toolpak (go to Tools Add-ins, and install). tools - data analysis - regression - x and y ranges - click residuals SUMMARY OUTPUT Regression Statistics Multiple R R Square Adjusted R Square Standard Error Observations4 End STATISTICS

NOW TO APPLY YOUR KNOWLEDGE!