E8-262: Basics of Circuit Simulation/SPICE. Lecture: 4+5

Similar documents
Automatic Formulation of Circuit Equations

ECE 546 Lecture 16 MNA and SPICE

Parallel VLSI CAD Algorithms. Lecture 1 Introduction Zhuo Feng

Integrating Circuit Simulation with EIT FEM Models

ECE 497 JS Lecture - 11 Modeling Devices for SI

APPLICATION TO TRANSIENT ANALYSIS OF ELECTRICAL CIRCUITS

E2.2 Analogue Electronics

Analog Simulation. Digital simulation. Analog simulation. discrete values. discrete timing. continuous values. continuous timing

Model-Order Reduction of High-Speed Interconnects: Challenges and Opportunities

IBIS Modeling Using Latency Insertion Method (LIM)

Advanced Computational Methods for VLSI Systems. Lecture 4 RF Circuit Simulation Methods. Zhuo Feng

To link to this article:

Notes for course EE1.1 Circuit Analysis TOPIC 10 2-PORT CIRCUITS

SPICE Differentiation Mike Engelhardt

Hence a root lies between 1 and 2. Since f a is negative and f(x 0 ) is positive The root lies between a and x 0 i.e. 1 and 1.

9.1 Preconditioned Krylov Subspace Methods

Introduction. HFSS 3D EM Analysis S-parameter. Q3D R/L/C/G Extraction Model. magnitude [db] Frequency [GHz] S11 S21 -30

Iterative Methods. Splitting Methods

Electromagnetic Modeling and Signal Integrity Simulation of Power/Ground Networks in High Speed Digital Packages and Printed Circuit Boards

SPICE Like Sparse Transient Analysis

Fast FDTD Simulation Using Laguerre Polynomials in MNA Framework

Computer-Aided Circuit Simulation and Verification. CSE245 Fall 2004 Professor:Chung-Kuan Cheng

Introduction to Scientific Computing

The Harmonic Balance Method

BACHELOR OF COMPUTER APPLICATIONS (BCA) (Revised) Term-End Examination December, 2015 BCS-054 : COMPUTER ORIENTED NUMERICAL TECHNIQUES

Lecture 17: Iterative Methods and Sparse Linear Algebra

Introduction to Heat and Mass Transfer. Week 7

Appendix A Installing QUCS

A Very Fast Method for the DC Analysis of Diode Transistor Circuits

Achieving Accurate Results With a Circuit Simulator. Ken Kundert and Ian Clifford Cadence Design Systems Analog Division San Jose, Calif 95134

= V I = Bus Admittance Matrix. Chapter 6: Power Flow. Constructing Ybus. Example. Network Solution. Triangular factorization. Let

NONLINEAR DC ANALYSIS

Electromagnetics in COMSOL Multiphysics is extended by add-on Modules

AIMS Exercise Set # 1

An Equivalent Circuit Formulation of the Power Flow Problem with Current and Voltage State Variables

A New Simulation Technique for Periodic Small-Signal Analysis

48520 Electronics & Circuits: Web Tutor

A Unified Approach for the Analysis of Networks Composed of Transmission Lines and Lumped Circuits

Problem info Geometry model Labelled Objects Results Nonlinear dependencies

ECEN 615 Methods of Electric Power Systems Analysis Lecture 18: Least Squares, State Estimation

Computer Aided Design of Thermal Systems (ME648)

Tool for Modeling and Analysis of Electronic Circuits and Systems. Technical Report

' Dipatrlirnenlo di Malernalica, Polilecnico di Bari, Via E. Orabona no 4,70125 Bari, ILaly

Lecture 18 Classical Iterative Methods

Combined FDTD/Macromodel Simulation of Interconnected Digital Devices

A Survey of Fast Analog Circuit Analysis Algorithm using SPICE

EE 330. Lecture 35. Parasitic Capacitances in MOS Devices

ECE 497 JS Lecture - 13 Projects

****** bjt model parameters tnom= temp= *****

Numerical Analysis: Solutions of System of. Linear Equation. Natasha S. Sharma, PhD

Parallel Iterative Methods for Sparse Linear Systems. H. Martin Bücker Lehrstuhl für Hochleistungsrechnen

Inducing Chaos in the p/n Junction

Fundamental Numerical Methods for Electrical Engineering

BEHAVIORAL MODELING AND TRANSIENT ANALYSIS WITH ANALOG INSYDES

The Physical Structure (NMOS)

Parallel-Distributed Time-Domain Circuit Simulation of Power Distribution Networks with Frequency-Dependent Parameters

ECE414/514 Electronics Packaging Spring 2012 Lecture 5 Electrical C: Transmission lines (Transmission line reflections) Lecture topics

Mixed Type Simulation Guide

ENGR 2405 Class No Electric Circuits I

LAPLACE TRANSFORMATION AND APPLICATIONS. Laplace transformation It s a transformation method used for solving differential equation.

Implementation of a Transmission Line Model with the PEEC Method for Lightning Surge Analysis

AMS526: Numerical Analysis I (Numerical Linear Algebra for Computational and Data Sciences)

Computing DC operating points of non-linear circuits using homotopy methods

Sparse LU Factorization on GPUs for Accelerating SPICE Simulation

Virtual Prototyping for Power Electronics

IC MACROMODELS FROM ON-THE-FLY TRANSIENT RESPONSES

To find the step response of an RC circuit

Effective ramping algorithm and restart algorithm in the SPICE3 implementation for DPTA method

YEAR III SEMESTER - V

ECE414/514 Electronics Packaging Spring 2012 Lecture 6 Electrical D: Transmission lines (Crosstalk) Lecture topics

Chapter 10 Sinusoidal Steady State Analysis Chapter Objectives:

Lecture 8: Fast Linear Solvers (Part 7)

ECEN689: Special Topics in High-Speed Links Circuits and Systems Spring 2012

MOSFET and CMOS Gate. Copy Right by Wentai Liu

EE 581 Power Systems. Admittance Matrix: Development, Direct and Iterative solutions

NUMERICAL METHODS FOR ENGINEERING APPLICATION

Network Analysis at IIT Bombay

Integrated Circuits & Systems

LECTURE 8 RC AND RL FIRST-ORDER CIRCUITS (PART 1)

Generalized Analysis for ZCS

Project Components. MC34063 or equivalent. Bread Board. Energy Systems Research Laboratory, FIU

The Accurate Electro-Thermal Model of Merged SiC PiN Schottky Diodes

The Inverter. Digital Integrated Circuits A Design Perspective. Jan M. Rabaey Anantha Chandrakasan Borivoje Nikolic

An Algorithm for Numerical Reference Generation in Symbolic Analysis of Large Analog Circuits

Numerical Algorithms for ODEs/DAEs (Transient Analysis)

UNIVERSITY OF CALIFORNIA, BERKELEY College of Engineering Department of Electrical Engineering and Computer Sciences

RECURSIVE CONVOLUTION ALGORITHMS FOR TIME-DOMAIN SIMULATION OF ELECTRONIC CIRCUITS

Chapter 3. Steady-State Equivalent Circuit Modeling, Losses, and Efficiency

An Accelerated Block-Parallel Newton Method via Overlapped Partitioning

Circuits with Capacitor and Inductor

Window-Based Susceptance Models for Large-Scale RLC Circuit Analyses

ECE1750, Spring Week 11 Power Electronics

Next topics: Solving systems of linear equations

Linear Solvers. Andrew Hazel

Inductor Coupling (and Magnetic Core) Transmission Line Coupling

Model Order Reduction using SPICE Simulation Traces. Technical Report

HAL501...HAL506, HAL508 Hall Effect Sensor ICs MICRONAS INTERMETALL MICRONAS. Edition May 5, DS

THE EVER-INCREASING integration density of modern

Numerical Methods for Engineers

Small Signal Model. S. Sivasubramani EE101- Small Signal - Diode

Transcription:

E8-262: Basics of Circuit Simulation/SPICE Lecture: 4+5

Module 1: Electrical Challenges in High-Speed CPS Types of packages and PCBs Packaging Trends Review of Electromagnetic and Circuit basics Signal Integrity Introduction Power Integrity Introduction Electromagnetic Interference and Electromagnetic Compatibility Introduction Review of SPICE basics Lumped models, distributed RLGC, S/Y/Z parameters 2

Topics: Modified Nodal Analysis Parser Linear Element: DC Operating Point Analysis Linear Element: Transient Analysis +Non-linear Element: DC Operating Point Analysis +Non-linear Element: Transient Analysis Electromagnetic Models in SPICE 3

References L.O. Chua and P.M. Lin, Computer-Aided Analysis of Electronic Circuits: Algorithms and Computational Techniques, Prentice- Hall, 1975. J. Vlach and K. Singhal, Computer Methods for Circuit Circuit Analysis and Design, Van Nostrand Reinhold, New York William McCalla, Fundamentals of Computer-Aided Circuit Simulation, Kluwer Academic Publisher 4

History of SPICE: http://www.omega-enterprises.net/the%20origins%20of%20spice.html 1970: CANCER Project, R. Rohrer, L. Nagel and others class project from Berkeley Laurence W. Nagel and Ronald A. Rohrer, Computer Analysis of Nonlinear Circuits, Excluding Radiation, IEEE Journal of Solid State Circuits, vol SC-6, pp. 166-192. 1972-To Date: SPICE Simulation Program with Integrated Circuit Emphasis HSPICE owned by Synopsys; PSPICE owned by Cadence; TISPICE (TI), Lynx (Intel), PowerSPICE (IBM), Titan (Infineon), Mica (Freescale) 5

Parser Sources: VName N+ N- V_value IName N+ N- I_value DC Linear Elements: RName N+ N- R_value EName N+ N- NC+ NC- E_val (VCVS) FName N+ N- NC+ NC- F_val (CCCS) GName N+ N- NC+ NC- G_val (VCCS) HName N+ N- NC+ NC- H_val (CCVS) 6

Parser Linear Elements in transient analysis: CName N+ N- C_value LName N+ N- L_value Non-Linear Elements: Dname N+ N- Dmodelname Pname Nd Ng Ns Nb Pmodelname Nname Nd Ng Ns Nb Nmodelname 7

Example * Test circuit o check the inverter performance Vin 1 0 1 pm 2 1 3 0 pmos1 r1 2 0 5000 v1 3 0 2.5.option post.tran 0us 45ms 100us.alter Vin 1 0 sin (0 16.8 60 0ms 0 0) *.dc VSource 1.88 1.89 0.01.print v(0).print v(1).print v(2).print v(3).model pmos1 cmosp ( W=10e-6 L=1e-6 ).end 8

Linear Elements: DC operating point analysis 9

Resistor Stamp N+ N- N+ 1/R -1/R N- -1/R 1/R Matrix RHS 10

Current Source Stamp N+ N- N+ -Ik N- +Ik Matrix RHS 11

Voltage Source Stamp N+ N- i_k N+ +1 N- -1 i_k +1-1 V_k Matrix RHS 12

G Stamp (VCCS) N+ N- Nc+ Nc- N+ +G_k -G_k N- -G_k +G_k Nc+ Nc- Matrix RHS 13

F Stamp (CCCS) N+ N- Nc+ Nc- i_j N+ F_k N- -F_k Nc+ 1 Nc- -1 i_j 1-1 Matrix RHS 14

E Stamp (VCVS) N+ N- Nc+ Nc- i_k N+ 1 N- -1 Nc+ Nc- i_k 1-1 +E_k -E_k Matrix RHS 15

H Stamp (CCVS) N+ N- Nc+ Nc- i_k i_j N+ 1 N- -1 Nc+ 1 Nc- -1 i_k 1-1 -H_x i_j 1-1 Matrix RHS 16

Matrix Solution Direct - Gaussian Elimination/ Sparse LU - Pkgs: Sparse1.3, SuperLU, Pardiso, MUMPS Iterative - Stationary Methods: Gauss-Seidel Gauss-Jacobi Successive Over Relaxation (SOR) - Krylov subspace methods 17

LU Sparsity Before LU X X X X X X X X X X X X X After LU X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X 18

Linear Elements: Transient Analysis 19

Transient Sources Pulse Exp Sin PWL 20

21 Forward Euler Backward Euler Trapezoidal Integration Methods n n n t y h h t y t y ) ( ) ( n n n t y h t y h t y ) ( ) ( ) ( 2 1 ) ( ) ( 1 n n n n t y t y h t y h t y Other: Explicit and Implicit LMS

Capacitor Stamp 22

Capacitor Stamp N+ N- N+ C/h -C/h C/h. v(t-h) N- -C/h C/h -C/h. v(t-h) Matrix RHS 23

Capacitor Stamp (MNA) N+ N- i_k N+ +1 N- -1 i_k C/h -C/h -1 C/h. v(t-h) Matrix RHS 24

Inductor Stamp 25

Inductor Stamp N+ N- i_k N+ +1 N- -1 i_k +1-1 -L/h -L/h. i(t-h) Matrix RHS 26

Non-Linear Elements: DC Operating Point Transient Analysis 27

Newton-Raphson 28

Diode Stamp 29

Diode Stamp N+ N- N+ G 0 -G 0 -I 0 N- -G 0 G 0 I 0 Matrix RHS 30

Diode Stamp 31

MOSFET Stamp 32

MOSFET Stamp 33

MOSFET Stamp Nd Ns Ng Nd gds -gds-gm gm -I Ns -gds gds+gm -gm +I Ng Matrix RHS 34

Newton-Raphson Challenges Oscillatory functions Bad initial guess Derivative error Discontinuity 35

Electromagnetic Models in SPICE: All Linear Models Heavily Coupled Models 36

Lumped vs. Distributed https://ccrma.stanford.edu/~jos/numericalint/lumped_vs_distributed_systems.html 37

RLGC Models: Lumped R, L, G, C (and coupling elements) extracted using quasi-static analysis Accuracy? 1. Approximation of distributed effect by Lumped Elements: Not Accurate 2. Distributed problem is solved in EM tool and the result expressed as Lumped elements: Fairly Accurate - Quasi-static EM tool: Not accurate at high frequency - Full-wave EM tool: Sometimes not accurate in lumped element conversion using fitting 38

Transmission Line Models: Distributed Accuracy? 1. 2D approximation: cross-section unchanged in length 2. TEM approximation in cross-section 39

S/Y/Z Models: Distributed Accuracy? 1. Accurate but time expensive both in extraction and simulation 40

Conductor Geometry PEEC: Lumped or Distributed? + - + - Accuracy? 1. Accurate but time expensive 2. Conventional SPICE do not support delay elements 41