Automatic Formulation of Circuit Equations

Similar documents
Formulation of Circuit Equations

ECE 546 Lecture 16 MNA and SPICE

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

ENGR 2405 Class No Electric Circuits I

48520 Electronics & Circuits: Web Tutor

Electric Circuits I. Nodal Analysis. Dr. Firas Obeidat

ECE2262 Electric Circuit

Sinusoidal Steady State Analysis (AC Analysis) Part I

Kirchhoff's Laws and Circuit Analysis (EC 2)

Module 2. DC Circuit. Version 2 EE IIT, Kharagpur

ECE 2100 Circuit Analysis

ECE 497 JS Lecture - 11 Modeling Devices for SI

Problem info Geometry model Labelled Objects Results Nonlinear dependencies

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

Electrical Circuits I

First-order transient

Chapter 2. Engr228 Circuit Analysis. Dr Curtis Nelson

Series & Parallel Resistors 3/17/2015 1

SYMBOLIC ANALYSIS OF LINEAR ELECTRIC CIRCUITS

Notes for course EE1.1 Circuit Analysis TOPIC 4 NODAL ANALYSIS

A~(A'~) = i,(t) (1.34)

EE292: Fundamentals of ECE

Network Graphs and Tellegen s Theorem

Midterm Exam (closed book/notes) Tuesday, February 23, 2010

E2.2 Analogue Electronics

Chapter 10: Sinusoidal Steady-State Analysis


Introduction to Simulation - Lecture 2. Equation Formulation Methods. Jacob White. Thanks to Deepak Ramaswamy, Michal Rewienski, and Karen Veroy

ECE 1311: Electric Circuits. Chapter 2: Basic laws

Solution: Based on the slope of q(t): 20 A for 0 t 1 s dt = 0 for 3 t 4 s. 20 A for 4 t 5 s 0 for t 5 s 20 C. t (s) 20 C. i (A) Fig. P1.

EE292: Fundamentals of ECE

Lecture #3. Review: Power

Massachusetts Institute of Technology Department of Electrical Engineering and Computer Science : Circuits & Electronics Problem Set #1 Solution

Integrating Circuit Simulation with EIT FEM Models

Variational Integrators for Electrical Circuits

BFF1303: ELECTRICAL / ELECTRONICS ENGINEERING

1. Review of Circuit Theory Concepts

Chapter 10 AC Analysis Using Phasors

Delhi Noida Bhopal Hyderabad Jaipur Lucknow Indore Pune Bhubaneswar Kolkata Patna Web: Ph:

Propedeútico: Circuitos 2. Systematic Nodal Analysis. Dr. Arturo Sarmiento Reyes. INAOE Coordinación de Electrónica CA D Group. Mayo 16 Junio 10, 2016

COOKBOOK KVL AND KCL A COMPLETE GUIDE

mywbut.com Mesh Analysis

Consider the following generalized simple circuit

Electrical Circuits I

Simulation of RF integrated circuits. Dr. Emad Gad

Outline. Week 5: Circuits. Course Notes: 3.5. Goals: Use linear algebra to determine voltage drops and branch currents.

Fast FDTD Simulation Using Laguerre Polynomials in MNA Framework

The Harmonic Balance Method

Basics of Network Theory (Part-I)

Basic Electrical Circuits Analysis ECE 221

Chapter 2 Analysis Methods

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

Lab 9/14/2012. Lab Power / Energy Series / Parallel Small Signal Applications. Outline. Power Supply

To find the step response of an RC circuit

Texas A & M University Department of Mechanical Engineering MEEN 364 Dynamic Systems and Controls Dr. Alexander G. Parlos

ENGG 225. David Ng. Winter January 9, Circuits, Currents, and Voltages... 5

Basic Electronics. Introductory Lecture Course for. Technology and Instrumentation in Particle Physics Chicago, Illinois June 9-14, 2011

Source-Free RC Circuit

Chapter 10 Sinusoidal Steady State Analysis Chapter Objectives:

Chapter 9 Balanced Faults, Part II. 9.4 Systematic Fault Analysis Using Bus Impedance Matrix

Unit-2.0 Circuit Element Theory

ECE2262 Electric Circuits. Chapter 6: Capacitance and Inductance

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

NETWORK MATRICES. voltages through the branch impedance matrix and branch admittance matrix: ELOOP = ZLOOP ILOOP ILOOP = YLOOP ELOOP (11)

EECE251 Circuit Analysis I Lecture Integrated Program Set 1: Basic Circuit Concepts and Elements

Variational integrators for electric and nonsmooth systems

CIRCUIT ANALYSIS TECHNIQUES

INTEGRATION OF INTERCONNECT MODELS IN A CIRCUIT SIMULATOR

9. Introduction and Chapter Objectives

ENGR 2405 Chapter 8. Second Order Circuits

APPLICATION TO TRANSIENT ANALYSIS OF ELECTRICAL CIRCUITS

Electric Circuits II Sinusoidal Steady State Analysis. Dr. Firas Obeidat

Identification of Electrical Circuits for Realization of Sparsity Preserving Reduced Order Models

Appendix A Installing QUCS

EIT Review. Electrical Circuits DC Circuits. Lecturer: Russ Tatro. Presented by Tau Beta Pi The Engineering Honor Society 10/3/2006 1

ECE2262 Electric Circuits. Chapter 6: Capacitance and Inductance

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

ELECTRONICS E # 1 FUNDAMENTALS 2/2/2011

QUESTION BANK SUBJECT: NETWORK ANALYSIS (10ES34)

THERE are numerous number of products powered by

Chapter 6: Operational Amplifiers

ES250: Electrical Science. HW1: Electric Circuit Variables, Elements and Kirchhoff s Laws

NONLINEAR DC ANALYSIS

Voltage Dividers, Nodal, and Mesh Analysis

Fundamental of Electrical circuits

AC Circuit Analysis and Measurement Lab Assignment 8

ENGR 2405 Chapter 6. Capacitors And Inductors

Sinusoidal Steady State Analysis (AC Analysis) Part II

Electric Circuits Fall 2015 Solution #5

ELECTRIC POWER CIRCUITS BASIC CONCEPTS AND ANALYSIS

Distributed Optimization: Analysis and Synthesis via Circuits

Phasors: Impedance and Circuit Anlysis. Phasors

Control Systems (ECE411) Lectures 7 & 8

Scanned by CamScanner

CHAPTER 2 CAPACITANCE REQUIREMENTS OF SIX-PHASE SELF-EXCITED INDUCTION GENERATORS

Lecture 8: 09/18/03 A.R. Neureuther Version Date 09/14/03 EECS 42 Introduction Digital Electronics Andrew R. Neureuther

Chapter 28. Direct Current Circuits

Circuits with Capacitor and Inductor

SINUSOIDAL STEADY STATE CIRCUIT ANALYSIS

DC NETWORK THEOREMS. Learning Objectives

Transcription:

ECE 570 Session 3 IC 752-E Computer Aided Engineering for Integrated Circuits Automatic Formulation of Circuit Equations Objective: Basics of computer aided analysis/simulation Outline:. Discussion of methods 2. Review of modified nodal analysis 3. Example of model equations 4. Computerized formulation of equations Supplemental reading: Ruehli, Vol. 3 - Part, Chpt. 2 (by K. Singhal and J. Vlach)

. Discussion of methods STA - direct assembly of KCL, KVL, and CE, many redundant variables. MTA - obtained from STA by elimination of branch voltages using KVL, fewer redundant variables. MNA - obtained from MTA via elimination of branch currents in elements with admittance representation, fewest redundant variables. 2. Review of MNA in traditional variables (nodal voltages, currents) 2.. Start with the partition of branch currents vector I I 2 J currents in resistors/conductors, capacitors, dependent current sources (admittance representation possible) currents in inductors, voltage sources, controlling currents, currents for output (no admittance representation) independent current sources 2

2.2. KCL are written in the form and the KVL are A I A I = A J () 2 2 J T V = A vn T V2 = A2 vn T VJ = AJ vn The constitutive equations complete the networ model. (2) 3

3. Example of model equations 3.. The constitutive equations are: A) for the elements with admittance representation A) for the capacitors C V ( ) dv dt I = (3) A2) for the dissipative elements (resistors, conductors) Γ V = I (4) 4

Assembling the equation for the A) type elements C ( V ) dv 0 I V = 0 dt Γ I (5) ( ) C V or else in the compact matrix form ( ) dv G C V GV = I (6) dt I 5

B) for the elements without admittance representation B) for the inductors L I ( ) di dt K V = (7) 2 2 2 2 B2) for the voltage sources K V 2 2 w S (8) Assembling the equations L ( I ) 2 di 2 K 0 2 V2 = 0 dt K w 2 S (9) ( ) L I 2 K w s 6

or in the compact matrix form di L 2 ( I2 ) KV2 ws dt = (0) Formulating the final equations Equation (6) and the first KVL (2a) submitted the KCL () yields: dv A C ( V ) A A GA v A I A J dt T n T n 2 2 = J () The remaining equation are determined by (0) rewritten with the elimination of V 2 with the use of second KVL (2b) yielding 7

di ( ) 2 T L I KA v w dt 2 2 n = S (2) Assembling the equations in the matrix form results in ( ) T T A vn A GA A vn AJ J C V A 0 d 2 = T 0 L( I ) dt I 2 I w 2 S KA2 0 2 ( ) C x The model equations in compact form C ( x) dx Gx w dt = This equation will be useful in future discussion of numerical methods including traditional time marching techniques also called discrete variable techniques (SPICE) and spectral methods based on Chebyshev and Fourier series. x G w 8

4. Computerized formulation of circuit equations A circuit is specified using an input file which contains: connectivity information specification of components (models). The input file is parsed, sub-circuits and complex elements are developed into networs composed of basic elements, such that constitutive equation can be formed. The networ of basic elements determines the system matrix. In case of nonlinear elements a linearization procedure is used to form a linear, companion networ, which is solved iteratively to obtain the solution of original nonlinear networ. Each basic element of the networ contributes to the system matrix in a specific way. The contribution can be determined by the inspection of the input file without matrix computations. Consequently each element is characterized by a stamp, which determines its contribution to the system matrix. 9

Constructing the incidence matrix (A). An entry aij of the A matrix is determined as follows a ij 0 if the node i is not connected to the branch j = if the node i is the positive node of the branch j if the node i is the negative node of the branch j This rule is used to construct the sub-matrix A 2 if there are no current controlled, current defined branches. 0

Stamps of basic elements Resistor Schematics symbol N N- i R Description on the simulator input file Example of description (SPICE) RK N N- RKVAL

Stamp of resistor (contribution to the admittance matrix) N N N R R N R R 2

Capacitor Schematics symbol Entry on a typical input file N N- CK N N- CVAL i C Capacitor stamp N N d d CVAL CVAL N dt dt N d d CVAL CVAL dt dt 3

Inductor N i L N- branch equation di L v = 0 dt N N i N N d L dt Inductor stamp branch equation 4

Independent voltage source i - N N- E v v = E n, N n, N 5

N N i 0 v n N 0 0 N 0 0 = I2 0 0 E 0 Independent voltage stamp 6

Independent current source i N Input: i N N I I Stamp N- I N = I N 7

Controlled sources CCVS VN N i VN i j - N v = H i j - Input file: VK N N HK I ( VN, VN _) The stamp of CCVS is shown in the next page. 8

N N V N V N i i 0 N N V N = V N j H 0 j 9

CCCS VN i j v N i i = F i j VN - N Input file: IK N N FK I ( VN, VN ) The stamp of CCCS is shown in the next page. 20

j branch eq. branch eq. N N VN VN i i 0 N N VN = VN j F 0 j 2

VCCS NC v - c NC v - N N i i = g v c SPICE input entry: GK N N- NC NC- g The stamp is shown in the next page. 22

23 N N NC NC N g g N g g Y NC NC =

VCVS NC N v - j v - i v = E v j NC - N Input file: VK N N NC NC EK The stamp is shown in the next page. 24

25 N N NC NC i N N NC NC E E branch equation