CSE245: Computer-Aided Circuit Simulation and Verification - PowerPoint PPT Presentation

About This Presentation
Title:

CSE245: Computer-Aided Circuit Simulation and Verification

Description:

UCSD CSE245 Notes -- Spring 2006. CSE245: Computer-Aided Circuit ... IL(i) as sources, i.e. Ic(i 1)=CVc(i) and VL(i 1)=LIL(i), derive Vc(i 1), IL(i 1) ... – PowerPoint PPT presentation

Number of Views:23
Avg rating:3.0/5.0
Slides: 20
Provided by: vincen61
Learn more at: https://cseweb.ucsd.edu
Category:

less

Transcript and Presenter's Notes

Title: CSE245: Computer-Aided Circuit Simulation and Verification


1
CSE245 Computer-Aided Circuit Simulation and
Verification
  • Lecture Notes
  • Spring 2006
  • Prof. Chung-Kuan Cheng

2
Motivation
  • Why
  • Whole Circuit Analysis
  • Interconnect Dominance
  • Wires smaller ? R increase
  • Separation smaller ? C increase
  • What
  • Power Net, Clock, Interconnect Coupling, Parallel
    Processing
  • Where
  • Matrix Solvers, Integration For Dynamic System
  • RLC Reduction, Transmission Lines, S Parameters
  • Whole Chip Analysis
  • Thermal, Mechanical, Biological Analysis

3
Formulation
  • General Equation (a.k.a. state equations)
  • Equation Formulation
  • Conservation Laws
  • KCL (Kirchhoffs Current Law)
  • n-1 equations, n is number of nodes in the
    circuit
  • KVL (Kirchhoffs Voltage Law)
  • m-(n-1) equations, m is number of branches in the
    circuit.
  • Branch Constitutive Equations
  • m equations

4
Conservation Laws
  • KCL
  • KVL

n-1 independent cutsets
m-(n-1) independent loops
5
Branch Constitutive Laws
  • Each branch has a circuit element
  • Resistor
  • Capacitor
  • Forward Euler (FE) Approximation
  • Backward Euler (BE) Approximation
  • Trapezoidal (TR) Approximation
  • Inductor
  • Similar approximation (FE, BE or TR) can be used
    for inductor.

6
Formulation - Cutset and Loop Analysis
  • Select tree trunks and links
  • find a cutset for each trunk
  • write a KCL for each cutset
  • find a loop for each link
  • write a KVL for each loop

cutset matrix
loop matrix
7
Formulation - Cutset and Loop Analysis
  • Or we can re-write the equations as
  • In general, the cutset and loop matrices can be
    written as

8
Formulation State Equations
  • From the cutset and loop matrices, we have
  • Combine above two equations, we have the state
    equation
  • In general, one should
  • Select capacitive branches as tree trunks
  • no capacitive loops
  • for each node, there is at least one capacitor
    (every node actually should have a shunt
    capacitor)
  • Select inductive branches as tree links
  • no inductive cutsets

9
Formulation An Example
Output Equation (suppose v3 is desired output)
State Equation
10
Responses in Time Domain
  • State Equation
  • The solution to the above differential equation
    is the time domain response
  • Where

11
Exponential of a Matrix
  • Calculation of eA is hard if A is large
  • Properties of eA
  • k! can be approximated by Stirling Approximation
  • That is, higher order terms of eA will approach 0
    because k! is much larger than Ak for large ks.

12
Responses in Frequency Domain LapLace Transform
  • Definition
  • Simple Transform Pairs
  • Laplace Transform Property - Derivatives

13
Responses in Frequency Domain
  • Time Domain State Equation
  • Laplace Transform to Frequency Domain
  • Re-write the first equation
  • Solve for X, we have the frequency domain solution

14
Serial Expansion of Matrix Inversion
  • For the case s?0, assuming initial condition
    x00, we can express the state response function
    as
  • For the case s??, assuming initial condition
    x00, we can express the state response function
    as

15
Concept of Moments
  • The moments are the coefficients of the Taylors
    expansion about s0, or Maclaurin Expansion
  • Recall the definition of Laplace Transform
  • Re-Write as
  • Moments

16
Concept of Moments
  • Re-write Maclaurin Expansion of the state
    response function
  • Moments are

17
Moments Calculation An Example
18
Moments Calculation An Example
  • A voltage or current can be approximated by
  • For the state response function, we have

19
Moments Calculation An Example (Contd)
  • (1) Set Vs(0)1 (suppose voltage source is an
    impulse function)
  • (2) Short all inductors, open all capacitors,
    derive Vc(0), IL(0)
  • (3) Use Vc(i), IL(i) as sources, i.e.
    Ic(i1)CVc(i) and VL(i1)LIL(i), derive
    Vc(i1), IL(i1)
  • (4) i, repeat (3)
Write a Comment
User Comments (0)
About PowerShow.com