Using LTSPICE to Analyze Circuits

Similar documents
Introduction to LT Spice IV with Examples

EE 221 L CIRCUIT II. Learn to use LTspice to run circuit simulations for voltage, current, etc.

EE 210 Lab Exercise #3 Introduction to PSPICE

Introduction to SwitcherCAD

1. Hand Calculations (in a manner suitable for submission) For the circuit in Fig. 1 with f = 7.2 khz and a source vin () t 1.

Getting Started with Qucs

Class #8: Experiment Diodes Part I

EXPERIMENT NUMBER 10 TRANSIENT ANALYSIS USING PSPICE

Active Clamp Forward Step-by-Step Guide

LTSpice Basic Tutorial

ELEC3106 Electronics. Lab 4: EMI simulations with SPICE. Objective. Material. Simulations

Engineering 3821 Fall Pspice TUTORIAL 1. Prepared by: J. Tobin (Class of 2005) B. Jeyasurya E. Gill

An Introductory Guide to Circuit Simulation using NI Multisim 12

ET 304A Laboratory Tutorial-Circuitmaker For Transient and Frequency Analysis

MultiSim and Analog Discovery 2 Manual

Class #7: Experiment L & C Circuits: Filters and Energy Revisited

Introduction to Pspice

Lab 1: Non-Ideal Operational Amplifier and Op-Amp Circuits

Introduction to PSpice

Experiment Number 2. Revised: Summer 2013 PLECS RC, RL, and RLC Simulations

Lab #2 First Order RC Circuits Week of 27 January 2015

1.5k. (a) Resistive Circuit (b) Capacitive Circuit

EE 2274 RC and Op Amp Circuit Completed Prior to Coming to Lab. Prelab Part I: RC Circuit

E B C. Two-Terminal Behavior (For testing only!) TO-92 Case Circuit Symbol

Using LTspice a Short Intro with Examples

ECE4902 Lab 5 Simulation. Simulation. Export data for use in other software tools (e.g. MATLAB or excel) to compare measured data with simulation

Chapter 12: Electronic Circuit Simulation and Layout Software

Lab 2: Linear and Nonlinear Circuit Elements and Networks

Introduction to SPICE. Simulator of Electronic devices

LABORATORY 4. Palomar College ENGR210 Spring 2017 ASSIGNED: 3/21/17

Experiment Number 2. Revised: Fall 2018 PLECS RC, RL, and RLC Simulations

Figure AC circuit to be analyzed.

Ansoft Designer Tutorial ECE 584 October, 2004

Lab 1: Non-Ideal Operational Amplifier and Op-Amp Circuits

Background Theory and Simulation Practice

The version 2.0 of Solve Elec allow you to study circuits in direct current.

ECE 201 LAB 6 INTRODUCTION TO SPICE/PSPICE

Uncovering a Hidden RCL Series Circuit

PSPICE T UTORIAL P ART I: INTRODUCTION AND DC ANALYSIS. for the Orcad PSpice Release 9.2 Lite Edition

Experiment 8: An AC Circuit

Introduction to NI Multisim & Ultiboard Software version 14.1

Class #6: Experiment The 555-Timer & Pulse Width Modulation

EE 2274 DIODE OR GATE & CLIPPING CIRCUIT

Lab 3: Circuit Simulation with PSPICE

LABORATORY 2: Bridge circuits, Superposition, Thevenin Circuits, and Amplifier Circuits

UC Berkeley, EECS Department

Laboratory Project 1: AC Circuit Measurements and Simulation

Lab 3: Very Brief Introduction to Micro-Cap SPICE

ME Week 2 Project 2 Flange Manifold Part

Using HVOUT Simulator Utility to Estimate MOSFET Ramp Times

Revised: Summer 2010

Experiment P45: LRC Circuit (Power Amplifier, Voltage Sensor)

Lab 3 Introduction to SolidWorks I Silas Bernardoni 10/9/2008

14:332:223 Principles of Electrical Engineering I Instructions for using PSPICE Tools Sharanya Chandrasekar February 1, 2006

EE-3010 Lab # 5 Simulation of Operational Amplifier Circuits

Week 1: Preparing for PSpice Simulations

Experiment 2 Introduction to PSpice

Lab 12 Laboratory 12 Data Acquisition Required Special Equipment: 12.1 Objectives 12.2 Introduction 12.3 A/D basics

Introduction to OrCAD. Simulation Program With Integrated Circuits Emphasis.

Lab 9 Frequency Domain

Lab Equipment EECS 311 Fall 2009

Class #9: Experiment Diodes Part II: LEDs

EE320L Electronics I. Laboratory. Laboratory Exercise #6. Current-Voltage Characteristics of Electronic Devices. Angsuman Roy

University of North Carolina, Charlotte Department of Electrical and Computer Engineering ECGR 3157 EE Design II Fall 2009

Circuit Shop v December 2003 Copyright Cherrywood Systems. All rights reserved.

Time-Varying Signals

BIO 365L Neurobiology Laboratory. Training Exercise 1: Introduction to the Computer Software: DataPro

Xcircuit and Spice. February 26, 2007

University of Pennsylvania Department of Electrical and Systems Engineering. ESE 206: Electrical Circuits and Systems II - Lab

In-Class Exercises for Lab 2: Input and Output Impedance

Introduction to Simulink Assignment Companion Document

Dr. Charles Kim ELECTRONICS I. Lab 5 Bipolar Junction Transistor (BJT) I TRADITIONAL LAB

Lab 6: MOSFET AMPLIFIER

LAB1 WEBENCH SIMULATION EE562: POWER ELECTRONICS COLORADO STATE UNIVERSITY

Thermal Monitor. PI Feedback TL074. Opamp #3. Set Point Monitor. Figure 1. PI temperature control servolock circuit.

Lab 3: RC Circuits. Construct circuit 2 in EveryCircuit. Set values for the capacitor and resistor to match those in figure 2 and set the frequency to

Experiment 1 Introduction to Simulink

EECS 312: Digital Integrated Circuits Lab Project 2 Extracting Electrical and Physical Parameters from MOSFETs. Teacher: Robert Dick GSI: Shengshuo Lu

Simulating Circuits James Lamberti 5/4/2014

Homework Assignment 02

IME-100 ECE. Lab 1. Electrical and Computer Engineering Department Kettering University. G. Tewolde, IME100-ECE,

Exam Below are two schematics of current sources implemented with MOSFETs. Which current source has the best compliance voltage?

A Brief Handout for Introduction to

PreLab 7: LED Blinker (Due Oct 30)

EE320L Electronics I. Laboratory. Laboratory Exercise #3. Operational Amplifier Application Circuits. Angsuman Roy

EXPERIMENT 9 Problem Solving: First-order Transient Circuits

Physics 1021 Experiment 3. Sound and Resonance

The University of Evansville SwitcherCAD III Component Library

AN294. Si825X FREQUENCY COMPENSATION SIMULATOR FOR D IGITAL BUCK CONVERTERS

M. Conner Name: AP Physics C: RC Circuits Lab

Real Analog - Circuits 1 Chapter 1: Lab Projects

University of Michigan EECS 311: Electronic Circuits Fall 2008 LAB 4 SINGLE STAGE AMPLIFIER

Lab 1B LabVIEW Filter Signal

Introduction PNP C NPN C

Example Application C H A P T E R 4. Contents

Melcosim IGBT Loss Simulator

EXPERIMENT 2. NMOS AND BJT INVERTING CIRCUITS

FACULTY OF ENGINEERING LAB SHEET

Homework Assignment 07

Bring your textbook to lab.

Transcription:

Using LTSPICE to Analyze Circuits Overview: LTSPICE is circuit simulation software that automatically constructs circuit equations using circuit element models (built in or downloadable). In its modern form the software uses a graphical user interface to enter the circuit (the jargon is a schematic capture tool) which it then translates into equations. The software then simulates the behavior of the circuit by integrating the equations forward in time. Finally it provides an interface for measuring currents, voltage, amplitudes, etc. Other SPICEs exist and have differing strengths. Using the lab computers Loging in Each electronics lab computer has a local account that you should use Login: zm****/electronics Password: student You will need to replace the *s in zm**** using the rest of the number on the PROPERTY OF SUNY CORTLAND sticker on the computer tower. Running LTSpice The LTSpice program is in the bar at the bottom of the screen. Circuit schematic entry You will enter your circuit s schematic using menus to choose circuit elements from. Some common elements (wire, ground, resistor, capacitor, inductor, etc.) are on the bar at the top, a portion of which appears in Fig. 1. Others such as Transistors (npn, pnp, MOSFETs), Op Amps, voltage sources, current sources, etc. are available under the symbol (an AND gate). Symbols that have not yet been placed can be rotated and/or Figure 1 LTSpice menu bar, the symbols are wire, ground, label, resistor, capacitor, inductor, and diode respecively. transposed using buttons. Once you place the circuit elements assign their values (e.g., resistance, capacitance, rating, precision) by right clicking on the element. For place value SPICE understands SI prefixes with some modification mega=1e6=10 6 k=10 3 m=10-3

u=10-6 The simulation is a computer code and as with all code is clearer if you provide some explanation in the form of comments. Comments are added to your schematic using the tool. Simulation selection With a schematic drawn it is time to configure the simulation you wish to run simulation. The simulation command does this configuration. Under the Simulation menu by select Edit Simulation Command and select Transient analysis, this is the most common simulation we will do. While there are many values that you could set, the minimum that you must set are Stop Time: the duration of the simulation and Time to Start Saving Data: which specifies how much of the transient response to throw away. The program composes a.tran command and clicking OK allows you to place it in the schematic window. You are now ready to run the simulation. Do this by clicking on the icon of the running person. Accessing the output Once LTSpice has finished the simulation a blank graph will pop-up ready to display traces of voltage and current. Hover the cursor over a wire or terminal and the program shows a voltage probe icon. Hover over a circuit element (e.g. a resistor) or a tap for an element and the program shows a current clamp (with an arrow specifying the assumed direction of the current). Press alt over an element and a temperature gauge appears, click with this gauge to display the power dissipated by the circuit element. In all cases a single click adds the trace to the graph and a double click makes that the only trace on the graph. Once you have added a trace displayed you can manipulate it. To focus on a particular region of the trace by highlighting the region you are interested in (click and drag a box around the part of the trace you wish to zoom in on. Zoom back out to view everything with ctrl e. To find the numerical value of a particular moment, left clicking on a trace s name to brings up a cursor and a dialog box with the numerical value of the trace at the moment selected. Click and drag the center of the cursor to change the moment with information displayed. To do algebra on the trace displayed or change the color of the trace, right clicking on the trace s name. To find integrals (e.g., average voltage, RMS voltage, integrated power) of the trace control left click on the trace. Change the limits of integration by changing the region in view (see above).

Today s tasks Task 1 By Hand: In your lab groups sketch on piece of paper the schematic for voltage divider with: One 10V DC voltage source One 1kOhm resistor One 2kOhm resistor Be explicit about where you have placed your ground. By hand calculate the voltage across each element, the current through each element and the power dissipated by each element. Spice: Construct an LTSPICE schematic for the circuit you have drawn. Run a simulation for 10s collecting data for the last 9 seconds. Use the software to display traces of the voltage across, current through, and power dissipated by each element. Compare them to the results of your hand calculation. Task 2 By Hand: Sketch on piece of paper the schematic for voltage divider with: 1 3V, 1kHz AC voltage source 1 1kOhm resistor 1 2kOhm resistor Be explicit about where you have placed your ground. By hand calculate the voltage across each element, the current through each element and the power dissipated by each element. Spice: Construct an LTSPICE schematic for the circuit you have drawn. Run a simulation for 0.52s collecting data for the last 0.02 seconds. Use the software to display traces of the voltage across, current through, and power dissipated by each resistor and find their RMS values. Compare the LTSpice results to those from your hand calculations.

Task 3 By Hand: Construct an LTSPICE schematic placing the following three things in series 1 3V, 1kHz AC voltage source 1 1kOhm resistor 1 1F capacitor. Situate your ground at the negative end of the voltage source. By hand calculate the voltage across each element, the current through each element and the power dissipated by each element. Spice: Run a simulation for 0.52s collecting data for the last 0.02 seconds. Use the software to display traces of the voltage across, current through, and power dissipated by each resistor and find their RMS values. Compare the LTSpice results to those from your hand calculations. Make two sketches 1. voltage across the resistor and current through the resistor as a function of time 2. voltage across the capacitor and current through the capacitor as a function of time Question: Explain what the difference is between the two sketches you just made that causes the large difference in power dissipated by the resistor vs the capacitor.

Results Task 1 Hand sketch of schematic Hand calculation result LTSpice result V R1 V R2 I R1 I R2 P R1 P R2 P source Task 2 Hand sketch of schematic (RMS voltages and currents) Hand calculation result LTSpice result V R1 V R2 I R1 <P R1> <P R2>

Task 3 Hand sketch of schematic (RMS voltages and currents) Hand calculation result LTSpice result V R V C I R <P R> <P c> <P source> Sketch of V&I vs t for R Sketch of V&I vs t for C