Basics of Simulation Technology (SPICE), Virtual Instrumentation and Implications on Circuit and System Design



Similar documents
Best Practises for LabVIEW FPGA Design Flow. uk.ni.com ireland.ni.com

Medical Device Design: Shorten Prototype and Deployment Time with NI Tools. NI Technical Symposium 2008

DAQ in MATLAB HANS-PETTER HALVORSEN,

BUILD VERSUS BUY. Understanding the Total Cost of Embedded Design.

FRC WPI Robotics Library Overview

Siemens and National Instruments Deliver Integrated Automation and Measurement Solutions

Bioreactor Process Plant Powered by NI LabVIEW and NI CompactRIO

Department of Electrical and Computer Engineering Ben-Gurion University of the Negev. LAB 1 - Introduction to USRP

SignalPad Data Logging and Analysis Software

NI Platform for automotive measurement and test applications

Echtzeittesten mit MathWorks leicht gemacht Simulink Real-Time Tobias Kuschmider Applikationsingenieur

How To Secure Your Computer With Libreware Libreroview (Windows) And Libreros (Windows 2) (Windows 3.5) (For Windows) (Powerpoint) (Networking)

Table 1 Mixed-Signal Test course major topics. Mixed-signal Test and Measurement Concepts ENCT 351 What are Mixed-signal circuits

Virtuoso Analog Design Environment Family Advanced design simulation for fast and accurate verification

Increase System Efficiency with Condition Monitoring. Embedded Control and Monitoring Summit National Instruments

and Certification What Does It Take To Get Certified? Steven Hoenig NJ Business Unit Manager

Introduction to Data Acquisition

LABVIEW DSP TEST TOOLKIT FOR TI DSP

Sound and Vibration Analysis Software

How To Use First Robot With Labview

Lab 3: Introduction to Data Acquisition Cards

Quanser NI-ELVIS Trainer (QNET) Series: QNET HVAC. Heating, Ventilation, and Air Conditioning (HVAC) User Manual. User Manual

Summer of LabVIEW The Sunny Side of System Design

ni.com/academic NI Academic Products

Data Acquisition in LabVIEW

Computer Aided Design of Home Medical Alert System

N6171A MATLAB Data Analysis Software for Agilent Instruments

How To Develop An Iterio Data Acquisition System For A Frustreo (Farc) (Iterio) (Fcfc) (For Aterio (Fpc) (Orterio).Org) (Ater

Printed Circuit Boards. Bypassing, Decoupling, Power, Grounding Building Printed Circuit Boards CAD Tools

W a d i a D i g i t a l

ni.com/vision NI Vision

EDM SOFTWARE ENGINEERING DATA MANAGEMENT SOFTWARE

POCKET SCOPE 2. The idea 2. Design criteria 3

The Development of a Pressure-based Typing Biometrics User Authentication System

NI NI C Series Overview DATASHEET. 8-Channel Sinking Digital Input Module

Introduction to. Università degli Studi di Catania DIEEI

FAST Fourier Transform (FFT) and Digital Filtering Using LabVIEW

Developing reliable Multi-Core Embedded-Systems with NI Linux Real-Time

Condition Monitoring and Maintenance Systems. Condition Monitoring for Industrial Applications

EE 242 EXPERIMENT 5: COMPUTER SIMULATION OF THREE-PHASE CIRCUITS USING PSPICE SCHEMATICS 1

Product Development Flow Including Model- Based Design and System-Level Functional Verification

Modeling a GPS Receiver Using SystemC

PADS PCB Design Solutions

A DESIGN OF DSPIC BASED SIGNAL MONITORING AND PROCESSING SYSTEM

Creating a new project: Choose File> New Project. A dialog box appears and asking about the work directory that by default

Software Engineering for LabVIEW Applications. Elijah Kerry LabVIEW Product Manager

Introduction to Digital System Design

CONDUCTED EMISSION MEASUREMENT OF A CELL PHONE PROCESSOR MODULE

Measuring Temperature withthermistors a Tutorial David Potter

An Advanced Behavioral Buffer Model With Over-Clocking Solution. Yingxin Sun, Joy Li, Joshua Luo IBIS Summit Santa Clara, CA Jan.

Class D Audio Amplifier

Pulse Width Modulation (PWM) LED Dimmer Circuit. Using a 555 Timer Chip

Modular Instrumentation Technology Overview

Build Better Robots Faster. Radim ŠTEFAN

Implementing a Reliable Furnace Monitoring System

VSys Modular Asset Monitoring System

Next Generation Lab. A solution for remote characterization of analog integrated circuits

AC : PRACTICAL DESIGN PROJECTS UTILIZING COMPLEX PROGRAMMABLE LOGIC DEVICES (CPLD)

High-Level Synthesis for FPGA Designs

VIRTUAL INSTRUMENTATION

LabVIEW DSP Test Integration Toolkit for TI DSP

ISSN: ISO 9001:2008 Certified International Journal of Engineering Science and Innovative Technology (IJESIT) Volume 2, Issue 3, May 2013

Cell Phone Vibration Experiment

Harmonics and Noise in Photovoltaic (PV) Inverter and the Mitigation Strategies

Structural Health Monitoring Tools (SHMTools)

ugrid Testbed. Rein in microgrid complexity. With ease.

Continuous-Time Converter Architectures for Integrated Audio Processors: By Brian Trotter, Cirrus Logic, Inc. September 2008

AVX EMI SOLUTIONS Ron Demcko, Fellow of AVX Corporation Chris Mello, Principal Engineer, AVX Corporation Brian Ward, Business Manager, AVX Corporation

Introduction to LTspice

Circuit Simulation: Here are some of ADS analysis:

PADS PCB Design Solutions The standard in desktop PCB design

Arun Veeramani. Principal Marketing Manger. National Instruments. ni.com

IBIS for SSO Analysis

WIRELESS ASSET MONITORING

DATA PROCESSING SOFTWARE

AC : MATHEMATICAL MODELING AND SIMULATION US- ING LABVIEW AND LABVIEW MATHSCRIPT

Digital Systems. Role of the Digital Engineer

RF Measurements Using a Modular Digitizer

3. On the top menu bar, click on File > New > Project as shown in Fig. 2 below: Figure 2 Window for Orcad Capture CIS

Data Analysis with MATLAB The MathWorks, Inc. 1

Multicore Programming with LabVIEW Technical Resource Guide

GETTING STARTED WITH LABVIEW POINT-BY-POINT VIS

Using MCC GPIB Products with LabVIEW

Simplify Data Acquisition with a Built-in LXI Web Server

Component, Model and Library Concepts

OPC and Real-Time Systems in LabVIEW

Accurate Measurement of the Mains Electricity Frequency

(!' ) "' # "*# "!(!' +,

Embedded System Deployment and Management

Software Engineering for LabVIEW Applications

SIMPLE TECHNIQUES TO IMPROVE SOLAR PANEL EFFICIENCY USING A MICROCONTROLLER OR SOC

9/14/ :38

Agilent Technologies. Generating Custom, Real-World Waveforms Integrating Test Instrumentation into the Design Process Application Note 1360

CLIO 8 CLIO 8 CLIO 8 CLIO 8

PADS PCB Design Solutions

FUNDAMENTALS OF MODERN SPECTRAL ANALYSIS. Matthew T. Hunter, Ph.D.

7a. System-on-chip design and prototyping platforms

Using NI Vision & Motion for Automated Inspection of Medical Devices and Pharmaceutical Processes. Morten Jensen 2004

Transcription:

Basics of Simulation Technology (SPICE), Virtual Instrumentation and Implications on Circuit and System Design Patrick Noonan Business Development Manager National Instruments Electronics Workbench Group Robert Berger District Sales Manager Long Island National Instruments An Introduction Presented at the IEEE patrick.noonan@ni.com robert.berger@ni.com cell. (207) 415-7754 phone. (516) 507-7001 Long Island Chapter on 10/25/2007 2007 National Instruments Corporation.

Agenda Introduction to SPICE What is Virtual Instrumentation? Using SPICE and Virtual Instrumentation Together Implications in Circuit and System Design (Demonstrations) Circuit and Algorithm Development Virtual Test Question and Answer 2

Introduction to SPICE 3

Circuit Simulation SPICE History University of California at Berkeley- Larry Nagle 1969 CANCER (Computer Analysis of Nonlinear Circuits Excluding Radiation) 1972 SPICE 1 1975 SPICE 2 198 5 SPICE 3 1993 SPICE 3F4 Popular Commercial Versions Orcad PSPICE LTspice/SwitcherCAD III Multisim TINA by DesigSoft 4

SPICE Introduction SPICE Simulation Program with Integrated Circuit Emphasis Developed at University of California at Berkeley Three revisions, SPICE-3F5 is current Other simulation technologies XSPICE behavioral SPICE combines SPICE with component behavior in C VHDL Programmable Logic Design IBIS Used to model transfer function of sophisticated components (A/Ds, etc ) PSPICE, HSPICE commercial variations of the Berkeley SPICE. 5

SPICE Primer SPICE Circuit Built by creating a netlist of native SPICE primitive models. Netlist is a text file that lists all connections and model information. Schematic File Vendor specific May include package, footprint, and additional information SPICE adds analysis commands on top of SPICE file allowing a SPICE simulation to extract information out of circuit (Transient, AC, Monte Carlo etc ) Variety of native SPICE components: Resistors, Capacitors, Inductors, Sources, Transistors, etc Subcircuit models Can be derived to make higher order components out of these simple components 6

SPICE Examples Example SPICE netlist R1 input output 100 R2 output 0 100 C1 output 0 0.00001 Subcircuit models Command.subckt describes start of model Command.ends encloses end of circuit Example.subckt biplarjunctiontrans base collector emitter R1 base n100 200 C1 n100 emitter 1.000E-9 D1 n100 emitter DX e1 base n100 collector emitter 12.8 42917 R2 collector emitter 10.MODEL DX D(IS=1e-15 RS=1) 7

Introduction to Virtual Instrumentation 8

LabVIEW Everywhere Scalable from desktop to sensor Unified software paradigm Optimize code reuse LabVIEW Sensor Embedded FPGA LabVIEW Handheld Vision System Embedded Prototyping Platform (crio) Industrial and Real Time Controllers (PXI) PC Portable Multisim for Simulation & Circuit Design 9

Graphical System Design Design Algorithm Design System Identification Control Design Dynamic System Modeling Digital Signal Processing Prototype Tight Integration with I/O Off-the-Shelf Device Drivers LabVIEW Real-Time LabVIEW FPGA LabVIEW Embedded Deployable Devices PXI Deploy CompactRIO Single Board Computers Custom devices 10

System Level Integrated Design Flow Simulation and Virtual Instrumentation 1. Theory: Experience and Knowledge 2. Multisim and LabVIEW: Schematic, Simulation, Analysis, Real-World Input 3. Ultiboard: PCB Layout, Routing, Generation of Gerber Files 4. Prototype and LabVIEW: Virtual Measurement of Prototype 11

LabVIEW Toolkits Advanced Control Design (,system ID, Control Design, dynamic system simulation, etc) Digital Filter Design (FIR / IIR Filter Design, Quantization, Fixed-point Modeling/Simulation, etc) Advanced Signal Processing (Wavelets, Time-Series Analysis Time-Frequency Analysis, etc) Signal Processing (Signal Gen, Windows, Filters, Transforms, etc) Sound and Vibration (Distortion, Octave Analysis, Swept Sine, Freq Measurements, Transient, S&V Level, Weighting, Waterfall Plot) Mathematics (Numerics, Linear Algebra, Curve Fit, Prob/Stats, Optimization, Diff EQ, etc) Order Analysis (Order Tracking, Spectrum Selection, Tachometer Processing, Waterfall, Orbit / Polar Plots, Bode Plots, etc) Spectral Measurements (Zoom FFT, Power-in-Band, Adjacent Channel Power, etc) Modulation (Bit Error Rate, AWGN, Phase Noise, Constellation Plots, Eye Diagrams, etc) Measurements (Spectral, Tone Extraction, Pulse Params, Timing/Transition, Amp/Levels, etc) 12

Available Graphical System Design Tools Design, Prototype and Deploy Design Electronics Workbench Multisim NI-ELVIS with data acquisition LabVIEW and Design Toolkits PXI with Modular Instrumentation Signal Express Prototype LabVIEW RT & FPGA Compact RIO (crio) Custom crio module kit R Series DAQ Deploy LabVIEW RT & FPGA Compact RIO (crio) LabVIEW Embedded Electronics Workbench Ultiboard 13

Test Tools for Design Engineers Traditional fixed functionality bench-top Tools Engineer-defined computer based instrumentation 1. Automation (LabVIEW Signal Express) Scope 2. Flexibility (Custom Measurements) 3. Smaller Footprint Logic Analyzer Power Supply Function Generator DMM 14

Implications in Circuit and System Design 15

Design Examples Switching Power Supply 16

Example 1 : Using LabVIEW VI as a Signal Source Real World Signals: LabVIEW ECG Signal Generation + Impairments for Physiological Amplifier Development 17

Example 2 : Using LabVIEW for Custom Measurements within SPICE Power Quality Analysis Measurements using LabVIEW inside of Multisim 18

Example 3 : Physical Measurements from SPICE Simulation Derived Physical Measurements from SPICE - Optical Uniformity Measurements (Lumens) on a 4x4 LED Array from SPICE Simulation 19

Example 4 : Using LabVIEW for DSP Filter Development within SPICE simulation Sigma Delta ADC Circuit running in Multisim LabVIEW used to design and implement DSP Filter. Test VI on right showing implementation of ADC and good agreement between input and processed values. 20

Example 5 : Virtual Device Testing Signal Express Test Script Running Virtual Device simulation in Multisim to compare and correlate simulation with real test data. This example uses LabVIEW to control Multisim via ActiveX API 21

NI Multisim Tutorial [Not Given in Presentation] see ni.com/multisim An Introduction 22

LabVIEW Everywhere Scalable from desktop to sensor Unified software paradigm Optimize code reuse LabVIEW Sensor Embedded FPGA LabVIEW Handheld Vision System Embedded Prototyping Platform (crio) Industrial and Real Time Controllers (PXI) PC Portable Multisim for Simulation & Circuit Design 23

Multisim and LabVIEW Integration Multisim Great for rapid designing of a circuit (schematic entry and simulation) Placement and wiring technology speeds development Once circuit is wired simulation is ready to run. LabVIEW Great for rapid development of test, measurement and automation (Flowchart) Over 4000 instrument drivers directly accessible for LabVIEW Once control and functions objects are wired, program is ready to run. Multisim and LabVIEW Real stimulus signals can be directed added to circuit simulation Advanced LabVIEW measurements and algorithms can be tied into simulation LabVIEW can be used to drive the prototype and verify the design specs! 24

How Easy is to use LabVIEW Virtual Instruments in Multisim? 1. Utilize LabVIEW to measure and save real-world signals 2. LabVIEW VIs represented as part of Multisim simulation. Simply place the VI as you would a component 3. Input signals measured in in LabVIEW (step 1) into the VIs that are placed in Multisim (step 2) 4. Simulate! OR Create your own CUSTOM LabVIEW Instruments! 25

NI Multisim Where to Learn More For product information: ni.com/multisim Professional Resources: ni.com/multisim/professional Academic Resources: ni.com/academic/circuits Circuit Design Technical Library SPICE Simulation fundamentals Example Circuits Custom LabVIEW Virtual Instruments User Guides and Manuals Discussion Forum Support Page Free Component Evaluation Multisim - Analog Devices Edition ADI Edition: analog.com keyword search: multisim 26