LTspice XVII Basic Lab Class

Slides:



Advertisements
Similar presentations
 Use the Left and Right arrow keys or the Page Up and Page Down keys to move between the pages. You can also click on the pages to move forward.  To.
Advertisements

Getting Started with Cadence Compiled by Ryan Johnson April 24, 2002  Open Orcad Capture under Engineering Software  Under FILE, choose NEW, PROJECT.
PSPICE Tutorial Spring 2015
Microsoft Word 2010 Lesson 1: Introduction to Word.
PSPICE Tutorial. Introduction SPICE (Simulation Program for Integrated Circuits Emphasis) is a general purpose analog circuit simulator that is used to.
Introduction to PSpice Simulation Software. The Origins of SPICE In the 1960’s, simulation software begins –CANCER Computer Analysis of Nonlinear Circuits,
Black Box Electronics An Introduction to Applied Electronics for Physicists 5. Pushing the Limits With Spice University of Toronto Quantum Optics Group.
Computer Modeling of Electronic Circuits with LT SPICE PHYS3360/AEP3630 Lecture 20/21 1.
This document is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS DOCUMENT. © 2007 Microsoft Corporation. All.
Technical Support: (989) GIS and Mapping Procedures in ArcMap 9.x Creating an ArcMap Project Editing an ArcMap Project Printing an ArcMap Project.
Getting Started with Cadence Prepared by Ryan Johnson, 2002  Open Orcad Capture under Engineering Software  Under FILE, choose NEW, PROJECT  The following.
1 Introduction to OBIEE: Learning to Access, Navigate, and Find Data in the SWIFT Data Warehouse Lesson 5: Navigation in OBIEE – Touring the Catalog Page.
Outlook 2007 Tips, Tricks, and Tools. Overview Main Screen Navigation Pane View Pane Reading Pane To–Do Bar Create a New Message Contacts Create a Signature.
Abdülkadir ERYILDIRIM Turgut Ozal University. The Objectives:  Open and Save New Project File  Create a Circuit Schematic  Get Place, Place Parts i.e.
Microsoft Office 2007 Access 2007 Chapter 9 Administering a Database System.
Basic Pspice Instructions Stuart Tewksbury
Office 2003 Advanced Concepts and Techniques M i c r o s o f t Access Web Feature Data Access Pages.
Introduction to Windows7
Wimba Presenters Guide North Dakota University System 2009.
ECE122 – Digital Electronics & Design
Computing Fundamentals Module Lesson 3 — Changing Settings and Customizing the Desktop Computer Literacy BASICS.
Windows Tutorial Common Objects ACOS: 1, 4. Using the Taskbar 1. Using the taskbar, you can switch between open programs and between open documents within.
© Paradigm Publishing Inc. MICROSOFT WINDOWS XP MAINTAINING FILES AND CUSTOMIZING WINDOWS Section 2.
Lesson 11: Looking at Files and Folders what a file or folder is on the computer how to recognize a file or folder on the desktop how to recognize the.
Basic Editing Lesson 2.
Microsoft Access 2010 Chapter 10 Administering a Database System.
CIS111 PC Literacy Getting Started with Windows XP.
Lesson 2: Manipulating Text Courseware #: 3240
Introduction to PSpice
XP New Perspectives on Microsoft Office FrontPage 2003 Tutorial 7 1 Microsoft Office FrontPage 2003 Tutorial 8 – Integrating a Database with a FrontPage.
ECE122 – Digital Electronics & Design Tanner Tools Tutorial Ritu Bajpai September 4, 2008.
LT-Spice - IUCEE – Components Updated March 8, 2016 Copyright LTspiceman.
Copyright © 2007 by Pearson Education 1 UNIT 6A COMBINATIONAL CIRCUIT DESIGN WITH VHDL by Gregory L. Moss Click hyperlink below to select: Tutorial for.
Chapter 5 Using a Template to Create a Resume and Sharing a Finished Document Microsoft Word 2013.
Chapter 8 Using Document Collaboration, Integration, and Charting Tools Microsoft Word 2013.
Project 3 File, Document, and Folder Management and Windows XP Explorer.
Pasewark & Pasewark 1 Windows Vista Lesson 1 Windows Vista Basics Microsoft Office 2007: Introductory.
Copyright 2007, EMC Paradigm Publishing Inc. WINDOWS VISTA BACKNEXTEND 1-1 LINKS TO OBJECTIVES Starting Windows Using the Taskbar, open & switch programs.
Note to trainers The videos in this presentation provide closed-caption files, and they’re on by default because it’s often easier for viewers of all.
Practical Office 2007 Chapter 2
Introduction to LTspice IV
Computer Literacy BASICS
Chapter 2: The Visual Studio .NET Development Environment
Getting Started with Application Software
Introduction to PSPICE
Microsoft Excel.
Maintaining a Database
RAD-IT Architecture Software Training
GIS - NetmapWEB Training Slides
INTRODUCTION Spice Excel.
Windows Internet Explorer 7-Illustrated Essentials
Microsoft Office Illustrated Introductory, Windows XP Edition
Microsoft Windows 2000 Professional
Exploring Microsoft® Access® 2016 Series Editor Mary Anne Poatsy
Microsoft Excel All editions of Microsoft office.
INTRODUCTION Spice.
MicroEconomix 1500 RSLogix 500 LAB#1
Chapter 2 – Introduction to the Visual Studio .NET IDE
Basic Editing Lesson 2.
Windows xp PART 1 DR.WAFAA SHRIEF.
Key Applications Module Lesson 12 — Word Essentials
Benchmark Series Microsoft Word 2016 Level 1
Benchmark Series Microsoft Word 2016 Level 2
Key Applications Module Lesson 12 — Word Essentials
Using Microsoft Outlook: Outlook Support Number
HIBBs is a program of the Global Health Informatics Partnership Learning the Basics of Microsoft Word 2019 and Microsoft office support TFN
Chapter 8 Using Document Collaboration and Integration Tools
MAINTAINING FILES AND CUSTOMIZING WINDOWS Section 2
Introduction to PSpice
Presentation transcript:

LTspice XVII Basic Lab Class Joe Weadick (FAE, Illinois & Wisconsin) Joe.Weadick@analog.com (847) 612-7983

Why Use LTspice? Stable SPICE circuit simulation with: Unlimited number of nodes Schematic/symbol editor Waveform viewer Library of passive devices Fast simulation of switch mode power supplies Steady state detection Turn on transient Step response Efficiency / power computations Advanced analysis and simulation options Not covered in this lab class (sort of) Outperforms or as powerful as pay-for tools In other words LTspice is free! Automatically builds syntax for common tasks 2500+ macromodels of Legacy Linear Technology products 1500+ power products 300+ Legacy ADI Products (power and amps) SPICE = Simulation Program with Integrated Circuit Emphasis LTspice is also a great schematic capture / BOM tool

How Do I Get LTspice and Documentation? Go to http://www.analog.com/LTspice Left-Click on Download LTspice for Windows 7, 8 and 10 Follow the instructions to install LTspice is a standalone application that runs on your computer At this link, you will also find: LTspice Download Links LTspice Demo Circuits LTspice Documentation LTspice Technical Articles & Videos SPICE Models

How Do I Get Started using LTspice?

How Do I Get Started Using LTspice? Demo Circuits: Use one of the 100’s of demo circuits available at analog.com Designed and Reviewed by Factory Apps Group Go to http://www.analog.com/LTspice or browse through the part’s webpage for LTspice simulation information JIG Files: Use a pre-drafted test fixture (JIG) Provides a good starting point, but is not production-ready Used to prove out part models, and are not complete designs Components are typically “ideal” components and will need to be modified based on your operating conditions Use simulation circuits posted on the LTspice Yahoo! User’s Group URL = https://groups.yahoo.com/neo/groups/LTspice/info Also contains many very helpful discussion threads and tutorials Use the schematic editor to create your own design LTspice contains models for most LTC power devices, opamps, and many more ADI opamp models are being added to the LTspice library (nearly 100 ADI models to date) LTspice can be used to simulate any analog circuit you can think of!

Demo Circuits at analog.com Go to http://www.analog.com/LTspice and scroll down to the demo circuits section: What if I’m browsing the part’s webpage?

Demo Circuits at analog.com (cont.) Go to the part’s webpage (LT8641 example): Click on “Tools & Simulations” to find reference LTspice circuit(s) http://www.analog.com/LT8641

What if I cannot find a LTspice demo circuit ? What are Demo Circuits ?  LTspice demo circuits are designed and reviewed by the LTC factory apps group What if I cannot find a LTspice demo circuit ? It remains the customer’s responsibility to verify proper and reliable operation in the actual application. Printed circuit board layout may significantly affect circuit performance and reliability.

How Do I Get Started Using LTspice? Demo Circuits: Use one of the 100’s of demo circuits available at analog.com Designed and Reviewed by Factory Apps Group Go to http://www.analog.com/LTspice or browse through the part’s webpage (right column) JIG Files: Use a pre-drafted test fixture (JIG) Provides a good starting point, but is not production-ready Used to prove out part models, and are not complete designs Components are typically “ideal” components and will need to be modified based on your operating conditions Use simulation circuits posted on the LTspice Yahoo! User’s Group URL = https://groups.yahoo.com/neo/groups/LTspice/info Also contains many very helpful discussion threads and tutorials Use the schematic editor to create your own design LTspice contains models for most LTC power devices, opamps, and many more ADI opamp models are being added to the LTspice library (nearly 100 ADI models to date) LTspice can be used to simulate any analog circuit you can think of!

Pre-drafted Test Fixture These simulations / designs are not production-ready, but are a great starting point! Used to prove out part models, and are not complete designs Components are typically “ideal” components and will need to be modified based on your operating conditions It remains the customer’s responsibility to verify proper and reliable operation in the actual application. Printed circuit board layout may significantly affect circuit performance and reliability.

1. Edit menu, select “Component” Opening a Test Fixture 3. Click Here 1. Edit menu, select “Component” 2. Search for macromodel (ex. LTC3412A)

Opening a Test Fixture Voilà !

New Components in LTspice Library With AD, ADP, ADM, and ADuM Prefixes

How Do I Get Started Using LTspice? Demo Circuits: Use one of the 100’s of demo circuits available at analog.com Designed and Reviewed by Factory Apps Group Go to http://www.analog.com/LTspice or browse through the part’s webpage (right column) JIG Files: Use a pre-drafted test fixture (JIG) Provides a good starting point, but is not production-ready Used to prove out part models, and are not complete designs Components are typically “ideal” components and will need to be modified based on your operating conditions Use simulation circuits posted on the LTspice Yahoo! User’s Group URL = https://groups.yahoo.com/neo/groups/LTspice/info Also contains many very helpful discussion threads and tutorials Use the schematic editor to create your own design LTspice contains models for most LTC power devices, opamps, and many more ADI opamp models are being added to the LTspice library (nearly 100 ADI models to date) LTspice can be used to simulate any analog circuit you can think of!

LTspice Yahoo! User’s Group https://groups.yahoo.com/neo/groups/LTspice/info Join the group here. As of March 2019, there are over 69,000 members! Several hundred message posts a month!

How Do I Get Started Using LTspice? Demo Circuits: Use one of the 100’s of demo circuits available at analog.com Designed and Reviewed by Factory Apps Group Go to http://www.analog.com/LTspice or browse through the part’s webpage (right column) JIG Files: Use a pre-drafted test fixture (JIG) Provides a good starting point, but is not production-ready Used to prove out part models, and are not complete designs Components are typically “ideal” components and will need to be modified based on your operating conditions Use simulation circuits posted on the LTspice Yahoo! User’s Group URL = https://groups.yahoo.com/neo/groups/LTspice/info Also contains many very helpful discussion threads and tutorials Use the schematic editor to create your own design LTspice contains models for most LTC power devices, opamps, and many more ADI part models are actively being added to the LTspice library (nearly 100 ADI models to date) LTspice can be used to simulate any analog circuit you can think of!

Start With a New Schematic To open up a blank schematic screen select “File” Menu and “New Schematic” Blank schematic a.k.a. MasterPiece in progress

Using the Schematic Editor in LTspice

How to Wire up a Simple RC Circuit The completed exercise:

Toolbar and Keyboard Shortcuts Place Circuit Element [F2] Place Diode [D] Draw Wire [F3] Place Ground [G] Label Node [F4] Place Resistor [R] Place Capacitor [C] Place Inductor [L] Zoom In Pan Zoom Out Autoscale Paste b/t Schematics [Ctrl+V] Duplicate [Ctrl+C] Find [Ctrl+F] Delete [Del] Place SPICE directive [S] Place Comment/text [T] Mirror [Ctrl+E] Rotate [Ctrl+R] Redo [Shift+F9] Undo [F9] Drag [F8] Move [F7]

How to Wire up a Simple RC Circuit Step 1: Open up a blank schematic screen Select “File” Menu and “New Schematic”

How to Wire up a Simple RC Circuit Step 2: Add the passives and grounds Using the toolbar, select Resistor, Capacitor and Ground. Place these symbols on the schematic as shown below. Use Ctrl+R to rotate before placement. Select and place res, cap & GND, or use keyboard keys R, C, and G Tip: Ctrl+R to rotate before placement

How to Wire up a Simple RC Circuit Step 3: Add the voltage source Select “Edit” Menu and “Component”. From the component window, start typing “voltage” in the dialog box, and click “OK” 2. Type “Voltage” 3. Click “OK” 1. Edit menu, select “Component”

How to Wire up a Simple RC Circuit (cont.) Step 4: Wire up the circuit Using the toolbar, select Wire, or, press F3 1. Select “Wire” button

How to Wire up a Simple RC Circuit (cont.) Step 4: Wire up the circuit (cont.) Left-Click ground “Pull” wire up through the source Left-Click here to anchor “Pull” wire through the resistor Left-Click here to anchor “Pull” wire down through the capacitor Left-Click here to anchor & finish Hint: Press the ESC key at any time to clean up the schematic

How to Wire up a Simple RC Circuit (cont.) Step 5: Add net labels Using the toolbar, select Label Net (or press F4). Label the input/output nodes as shown below 1. Select “Label Net” 2. Enter net name 3. Place on wire

How to Wire up a Simple RC Circuit (cont.) Step 6a: Component values Right-Click on each component symbol to change its value as shown below Right-click on symbol Or Right-click on value

Using Labels to Specify Units for Component Attributes M = m = milli = 10-3 U = u = micro = 10-6 N = n = nano = 10-9 P = p = pico = 10-12 F = f = femto = 10-15 K = k = kilo = 103 MEG = meg = 106 G = g = giga = 109 T = t = tera = 1012 Hints Use MEG (or meg) to specify 106, not M Enter 1 for 1 Farad, not 1F

Editing Components Right-Click on the component to edit attributes You can also edit the visible attribute and label by pointing at the text with the mouse and then right-clicking Mouse cursor will turn into a text caret

Component Database Resistors, capacitors, inductors, diodes, Bipolar transistors, MOSFET transistors, JFET transistors, Independent voltage and current sources You can access a database of known devices

How to Wire up a Simple RC Circuit (cont.) Step 6b: Source parameters Right-Click on the voltage source and enter the parameters shown below under the “Advanced” tab. Click “Advanced” Right-click source

How to Wire up a Simple RC Circuit (cont.) Step 6b: Source parameters Select the PULSE button and enter the parameters shown below:

Running and Probing a Circuit in LTspice

Summary of Hotlinks Used in This Presentation The following hotlinks are used in this presentation for opening up LTspice simulation files Note: Presentation Mode must be used for the hotlinks to work Class exercise Solution to exercise Circuits to explore at your leisure

Running the RC Circuit Simulation – Transient Analysis With the RC circuit in the active window, click on the RUN button on the toolbar The Edit Simulation Command window will appear. Set the Stop Time to 60m and click OK. Using the mouse, click on the IN node and OUT node to display the input and output voltage waveforms. Run Click here for output waveform RCFilterTimeDomain.asc

Running the RC Circuit Simulation – Transient Analysis To add a measurement cursor to the waveform window, left+click the mouse on the waveform name. To add a second measurement cursor (paired cursors), just left+click on the waveform name again. Click to display measurement cursor. Click and drag cursor position. RCFilterTimeDomain.asc

Running the RC Circuit Simulation – Transient Analysis To display the current in the resistor, just left+click on the resistor. Click here for resistor current waveform RCFilterTimeDomain.asc

Running the RC Circuit Simulation – Transient Analysis Split the plot pane by selecting “Add Plot Pane” under the Plot Settings pull-down menu. Drag and drop the I(R1) waveform title into the new plot pane RCFilterTimeDomain.asc

Summary of the Waveform Viewer LTspice integrated waveform viewer: Plot the voltage on any wire by a simple point and click Plot the current through any component by clicking on the body of the component When using the current probe, the convention of positive current is from netlist pin #1 to pin #2. Add a waveform measurement cursor by left+clicking on the waveform name. Add a second measurement cursor by left+clicking on the waveform name again. Voltage probe cursor Current probe cursor

AC Analysis

AC Analysis Overview Performs small signal AC analysis linearized about the DC operating point Useful for analysis of filters, networks, stability analysis, and noise considerations

Simulating AC Analysis – RC Filter Single pole filter using RC network Syntax: .ac <oct, dec, lin> <Nsteps> <StartFreq> <EndFreq> Example: RC network and .ac dec 100 .01 1MEG -3dB point: 1/(2*pi*R*C) = 159Hz AC amplitude of 1 sets magnitude to 0dB Right-click on .tran command and select “AC Analysis”

Simulating AC Analysis – RC Filter Right-click on the .tran command Select AC Analysis tab Enter the following parameters:

Simulating AC Analysis – RC Result Click here for Bode plot

Simulating AC Analysis – Active Filter Single pole active filter using an opamp (AD8672) Click here for Bode plot ActiveFilterACSweep.asc

Defining a Component Value as a Variable (a taste of intermediate & advanced topics)

Defining a Component Value as a Variable (Using Parameters) The .param SPICE directive allows the creation of user-defined variables. To define a component value as a variable, replace the component value with a variable name enclosed in curly braces. Example: {X} Right+click to change the component value to {X} Add the .param SPICE directive (press S on the keyboard) RCFilterACAnalysis_Param.asc

Defining a Component Value as a Variable (Using Parameters) The simulation results are the same as when the component value was defined as 10K. Click here for Bode plot RCFilterACAnalysis_Param.asc

Defining a Component Value as a Variable (Stepping Parameters) The .STEP command can be used to vary a component variable over a range of values to plot a family of curves. This is very powerful and can be used for sensitivity and Monte Carlo Analysis. Right+click to change SPICE directive to the .step command RCFilterACAnalysis_Step Command.asc

Defining a Component Value as a Variable (Stepping Parameters) For this AC analysis example, the simulation result includes three Bode plots, one each for R = 10K, 20K, and 30K Click here for Bode plot RCFilterACAnalysis_StepCommand.asc

Running a DC/DC Converter Simulation and Analyzing Circuit Performance

Running a DC/DC Converter Simulation Access the LTC3412A circuit Click File ---> Open, and navigate to the LTspice Lab folder on your desktop. Look for the file titled “LTC3412A_DC_Load.asc” Or click “c” symbol on the right LTC3412A_DC_Load.asc

Viewing Voltage Waveforms Plot the voltage on any wire by Left-Clicking it Tip: All Demo Circuits have INs and OUTs clearly labeled to help you quickly select them Click here for output waveform LTC3412A_DC_Load.asc

Viewing Current Waveforms Plot the current through any component by Left-Clicking on the body of the component Current flowing into a node is defined as being positive Click here for inductor current waveform LTC3412A_DC_Load.asc

Zooming In and Out on a Waveform In the waveform window, use the mouse to zoom in and out. Click and drag a box about the region you wish to see drawn larger Using the toolbar, click on “Zoom full extents”, to zoom back out Zoom Full Extents LTC3412A_DC_Load.asc

Measuring V, I and Time in the Waveform (Measurement Using Cursors) Right-Click on the waveform name in the waveform window For “Attached Cursor”, select “1st & 2nd” Position cursors to make desired measurements 1. 2. 3. Result LTC3412A_DC_Load.asc

Measuring V, I and Time in the Waveform (Measurement Using Zoom Window) Drag a box about the region you wish to measure Left-Click, drag, and hold View the lower left corner of the window for the status bar. The dx and dy measurement data is displayed here. Use Undo from the File menu or press “F9” LTC3412A_DC_Load.asc

Viewing Differential Voltage Waveforms Left-Click on one node and drag the mouse to another node Red voltage probe at the first node Black probe on the second LTC3412A_DC_Load.asc

Viewing Differential Voltage Waveforms To create a measurement reference node, Right-Click on the desired node and select “Mark Reference” A black voltage probe is anchored to the selected node All measurements in the circuit are now referenced to the node with the black probe Hit the ESC key to remove the reference mark LTC3412A_DC_Load.asc

Viewing Wire Current Waveforms Plot the current through any wire by Alt+Left-Clicking on the wire An ammeter will appear to indicate that the wire current will be displayed LTC3412A_DC_Load.asc

Average & RMS Calculations Average & RMS Current, Voltage, or Power Dissipation Calculated only for the visible area of the plot window Click on inductor L1 to display the inductor current waveform Ctrl+Left-Click the I(L1) trace label in the waveform view Example: Measure average and RMS current for inductor in LTC3412A circuit. Zoom in as shown for this waveform. LTC3412A_DC_Load.asc

Instantaneous & Average Power Dissipation Instantaneous Power Dissipation Alt+Left-Click on the symbol of the LTC3412A Waveform is displayed in units of Watts Average Power Dissipation Click, hold, and drag in the waveform window to display waveform at steady state Ctrl+Left-Click on the Power Dissipation Trace Label in the waveform view Waveform summary window will appear which shows power dissipation in the IC Example: Measure the power dissipation in the LTC3412A IC LTC3412A_DC_Load.asc

Deleting Waveforms Method #1: Right-Click on a trace label to be deleted Select “Delete this Trace” Deletes only the selected trace LTC3412A_DC_Load.asc

Method #2: If the plot window is active hotkey F5 is equivalent Deleting Waveforms Method #2: If the plot window is active hotkey F5 is equivalent Cursor turns into scissors Left-Click on one or more trace labels to delete. ESC to quit LTC3412A_DC_Load.asc

Method #3: Plot the same waveform twice in succession Deleting Waveforms Method #3: Plot the same waveform twice in succession Deletes all but that waveform Click, click LTC3412A_DC_Load.asc

Net Labeling

Advantages of Labeling Replaces the default SPICE node names with node names and waveform titles that are easy to understand and remember Allows LTspice circuit nodes to match those on your production schematic, i.e. “TP15” Without With LTC3412A_DC_Load.asc

Labeling - Trick Highlight net from waveform viewer Alt-Left-Click on the label in the waveform viewer (i.e. V(n006)) and it will now highlight that particular net on the schematic. You can also use the search function ( ) Alt-Left-Click Net Highlighted LTC3412A_DC_Load.asc

Generating a BOM and Efficiency Report

BOM Under View select Bill of Material Displayed on Diagram Paste to Clipboard LTC3412A_DC_Load.asc

Steps to Computing Efficiency Note: Efficiency will only be calculated in the steady state condition 1.) Right-Click the .tran statement on the schematic to bring up the Edit Simulation Command dialog box 2.) Check the box “Stop simulating if steady state is detected” … 2. Check Box 1. Simulate menu, select “Edit simulation Cmd” LTC3412A_DC_Load.asc

Steps to Computing Efficiency 3.) Load must be a current source or a resistor labeled Rload** 4.) Run the simulation … The Good The Bad This will be treated just like any other resistor – efficiency will read ZERO

Steps to Computing Efficiency 5.) Upon completion select the View dropdown menu, Efficiency Report, then Show on Schematic 6.) Efficiency report will be pasted under the schematic LTC3412A_DC_Load.asc

SMPS Efficiency Tips LTspice will not always be able to determine steady state, but this is rare! Workaround: Alt+Left-Click on individual component and integrate waveform Probe the various nodes and verify the circuit is stabilized If not, edit the .tran statement and increase the Stop Time parameter. Re-run simulation For multiple output and/or multiple input supplies, efficiency must be determined partially by hand from the efficiency report Alternatively use behavioral models Right-Click any component will report power dissipation if steady state has been detected or Mark Start/End has been used If circuit has stabilized for a long time and LTspice still hasn’t detected the steady-state Use Mark Start/End (Simulate pull-down menu ---> Efficiency Calculation ---> Select Mark Start/End) Only steady-state data is displayed before Mark End

Simulating a Transient Response

Current Load and Pulse Function You can simulate a load with a Resistor or Current (active) load In particular, the Pulse function with a current load is helpful for transient response analysis Steps a current load from one load value to another load value LTC3412APulseLoadSolution.asc

Edit the Current Load to a Pulse Function Edit the .tran directive in the LTC3412A simulation to disable steady state detection Right-Click on the current load Select “Pulse” Modify the attributes (see below). Click “OK” Forces current to be zero when voltage is zero *

Run the Simulation for Transient Response Click on the OUT node to display Vout Click on the output current load to display Iout Notice the presence of the pulse load Use the application of the pulse load / transient response to verify stability and modify the compensation components as necessary. LTC3412APulseLoadSolution.asc

Importing Third Party SPICE Models

Importing Third Party SPICE Models Steps for importing a third-party SPICE model: 1.) Download the SPICE model file from the manufacturer’s website 2.) Place the SPICE model file in the same directory as the LTspice simulation file (simplest). It can be placed in another folder on your computer or even on a network drive. 3.) Open up the SPICE model file and note the device name 4.) Add the following SPICE directive to the LTspice simulation schematic (Edit pull-down menu ---> SPICE Directive): .include spice_model_file_name.abc 5.) Modify the device name on the LTspice schematic to match the device name listed in the SPICE model file (Right+Click on the device name on the simulation schematic and modify accordingly).

Importing Third Party SPICE Models The following items are CRITICAL! 1.) The file name in the .include statement must match the SPICE model file name identically! The file name syntax is can be anything, just make sure that all of the characters match. 2.) The device name on the LTspice simulation schematic must match the device name in the SPICE model file identically! The device name syntax can be anything, just make sure that all of the characters match.

Importing Third Party SPICE Models SPICE Model Example #1: File name = 1N5244B.mod Model name = 1N5244B1 Summary: The file and device names are irrelevant. Just make sure that the LTspice simulation device name and .include file name match those of the SPICE model file. SPICE Model Example #2: File name = Joe.txt Model name = Everest

Importing Third Party SPICE Models Hands-on Exercise: 1.) Navigate to the LTspice Training Files folder 2.) Open up the simulation file titled “Zener Import Example.asc” 3.) Open up the SPICE model file titled “1N5244B.mod” and note the device name. 4.) Modify the simulation file so that it uses the 1N5244B third-party SPICE model based on the instructions provide on the previous slides 5.) Run the simulation and probe the IN and OUT nodes

Importing Third Party SPICE Models Solution: 1.) Zener name changed to 1N5244B1 to match device name in the SPICE model file. Right+Click on the diode name text to change. 2.) .include SPICE directive added to link to the SPICE model file. Use the Edit pulldown menu ---> SPICE Directive to add this SPICE directive to your simulation. 3.) Result after clicking on the Running Person symbol on the toolbar and probing the IN and OUT nodes.

Importing Third Party SPICE Models: Practical Example Using AD8237 Steps: 1.) Download the AD8237 SPICE model from the ADI website 2.) Open up the AD8237 SPICE model using LTspice 3.) Use LTspice to autogenerate the schematic symbol (right-click on the .SUBCKT statement) 4.) Wire up the circuit

Importing Third Party SPICE Models: Practical Example Using AD8237 Autogenerated Schematic Symbol:

Importing Third Party SPICE Models: Practical Example Using AD8237 Final Implementation:

More Information and Support

ADI / LTC Design Tools That Autogenerate LTspice Simulation Circuits 1.) LTpowerCAD http://www.analog.com/LTpowerCAD 2.) Analog Filter Wizard http://www.analog.com/designtools/en/filterwizard/ 3.) Photodiode Circuit Design Wizard http://www.analog.com/designtools/en/photodiode/

Reminder to Periodically Sync Release It is important to sync your release of LTspice periodically to get the latest updates Software updates and bug fixes Models Sample circuits and examples Tools pull-down menu ----> Sync Release **May need to run LTspice as administrator or run “Elevated”

Reminder to Periodically Sync Release (Windows) Vista, Win7, and Win8 users (any UAC-enabled OS) You must “Run as administrator” LTspice.exe or its shortcut even if you are logged in as an administrator

Reminder to Periodically Sync Release (Mac) 2. Under “Operation” 1. Open “Control Panel” 3. “Sync Release” for Mac

Built-in Help System

Appendices

Other Resources LTspice forum: Use simulation circuits posted on LTspice Yahoo! User’s Group Go to https://groups.yahoo.com/neo/groups/LTspice/info Also contains many very helpful discussion threads Educational Files: Check out LTspice capabilities using the education examples Available on C:\Program Files\LTC\LTspiceXVII\examples\Educational LTspice videos: Video tutorials by Linear’s technical staff LTspice Videos at www.analog.com LTspice Videos on YouTube! https://www.youtube.com/results?search_query=ltspice LTwiki: Undocumented features … http://ltwiki.org/ Wurth LTspice Book – available at Amazon, or, contact your local Wurth field sales engineer

Other Resources – Educational Files Design examples demonstrating LTspice capabilities

Other Resources – LTwiki http://ltwiki.org/

Other Resources – LTspice Book

Appendix - Steps to Calculate Power Supply Efficiency Efficiency will only be calculated in the steady state condition Right-Click the .tran statement on the schematic to bring up the Edit Simulation Command dialog box Check the box “Stop simulating if steady state is detected” Load must be a current source or resistor labeled Rload Run the simulation Upon completion select the View dropdown menu, then Efficiency Report, then Show on Schematic Efficiency report will be pasted under the schematic

Appendix – Summary of Special Mouse and Keyboard Commands Schematic-Based Special Commands Alt-Left-Click on a wire This will display the waveform for the current flowing in the wire Alt-Left-Click on a component This will display the instantaneous power dissipation in the component Ctrl-Right-Click on a component Allows you to edit embedded component attributes Waveform-Based Special Commands Ctrl-Left-Click on a waveform title Displays the average and RMS values for the waveform Left-Click on node and drag to another node Displays differential voltage Alt-Left-Click on the label in the waveform viewer (i.e. V(n006)) Particular net on the schematic is highlighted

Appendix – Summary of Additional Features Pause a simulation “Simulate” pull down menu ---> Pause There is no toolbar button for this function Zoom in/out using the schematic editor: Just use the wheel on your mouse Pan around a schematic Left-Click-Hold the mouse, then drag Tilt wheel to move right and left Move a window to another monitor (new to LTspice XVII) Right-Click on window contents, then from the context menu check box “Float Window” Left-Click-Hold the window title bar to drag to another monitor

Thank you for attending, and happy simulating! Homework: Once you return to the office, go back over the training materials within a week!