Docsity

Sensitivity Analysis - Circuit Simulation - Lecture Slides, Slides of Computer Science

Partial preview of the text

Download Sensitivity Analysis - Circuit Simulation - Lecture Slides and more Slides Computer Science in PDF only on Docsity!

Sensitivity Analysis by Adjoint

Network

CSE 245: Computer Aided Circuit

Simulation and Verification

Outline

  • Tellegen’s Theorem
  • Resistive Network
  • Dynamic System

Tellegen’s Theorem

Vb T I b = 0

1 3

2

4

12 1 13 2 20 3 30 4 34 40

1 1 0 0 1 0 1 0 0 1 0 0 0 0 1 0 0 0 1 1 0 0 0 1

v v v v v v v v v v

 −^     (^) −         ^            =       ^   (^) −           ^ 

I.

n b

E T^ V =V

Tellegen’s Theorem (con’t)

1 3

2

4 

−

−

−

0

0

0

0

0 0 0 0 1 1

0 1 0 1 1 0

1 0 1 0 0 0

1 1 0 0 0 0

40

34

30

20

13

12

i

i

i

i

i

E I b = 0 i

T T T T

Vb I b = ^ E Vn  I b = Vn EIb =

I. Vb T I b = 0

Tellegen’s Theorem (con’t)

II. Vb T I b = 0

Example case: Two circuits with the same topology

12 13 20 30 34 40

2 1 4 3 2 1 v v v v v v    −     (^) −    (^)         =     (^)             (^)  

      (^) 

−

−

=

0

0

1

1

1

1

~

~

~

~

~

~

40

34

30

20

13

12

i

i

i

i

i

i (^12) 13 20 30 34 40

2 1 2 1 4 3 v v v v v v    −        (^)         =    (^)  −    (^)  (^) −        (^)   

−

−

−

−

1

1

1

2

2

2

40

34

30

20

13

12

i

i

i

i

i

i

Vb T I b = Vb T I b^ = Vb T I b = Vb T Ib^ = 07

Outline

  • Tellegen’s Theorem
  • Resistive Network
  • Dynamic System

Example of Sensitivity Calculation

v (^1) R’’’

R’=R+∆R

i 3 R’’

i (^2)

  • _
Given circuit
y =v 1 + 2i 2 + 4i 3

Adjoint Network for Resistive Network

Vk

i (^) k

-f (^) k

gk +_

_+ __

original network adjoint network

b T^ b bT b (^ k k k k )^ (^ k k k k )^ (^ k k k k) k A k B k D

V I V I v i v i v i v i v i v i ∈ ∈ ∈

 (^) −  (^) = (^) ∑  (^) −  (^) + (^) ∑  (^) −  (^) + (^) ∑  − 

R+∆R R

Adjoint Network for Resistive Network

(con’t)

For set B (branch current),

original network adjoint network

vk = g (^) k where ik is unknown

k k k k k k 0 k k k

v i v i g i i g i

− = − ×

^ ^ 

ik where v (^) k = 0

i (^) k

gk +_

Adjoint Network for Resistive Network

(con’t)

For set D (resistance),

original network adjoint network

vk = ( Rk + ∆R k )×ik

k k k k k k k k (^ k k ) k k k k

v i v i i R i i R R i i R i

− = − + ∆ = ∆

^ ^ ^  

vk = ikR k

R+∆R R

Outline

  • Tellegen’s Theorem
  • Resistive Network
  • Dynamic System

Dynamic System

  • Metric
    • A: branch voltage
    • B: branch current
  • Sensitivity Calculation
    • D is the set of resistance
    • E is the set of capacitance

0 0

( ) ( ) ( ) ( )

T T y = (^) k∑ ∈A ∫ f (^) k t vk t dt +∑k ∈B∫g (^) k t ik t dt

R





∂∂ ∀ ∈

∂∂ ∀ ∈ Cy k^ E

Ry k D

k

k C

L

0

( ) ( ) ( ) ( ) 0

T ∫ vb^ T^ −^ t ib^ t^ −^ vb^ t ib^ T^ −^ t dt=

Vb (t)

i (^) b (t)

We omit L here which is similar to C (^) Docsity.com 17

Adjoint Network for Dynamic System (con’t)

For set A (branch voltage),

_+ __

original network adjoint network

v (t)k where ik ( )t = −f (^) k( )t

( ) 0 0

( ) ( ) ( ) ( ) ( )

T T ∫ vk^ T^ −^ t ik^ t^ −^ vk^ t ik^ T^ −^ t dt^ = ∫ f^ k^ t vk^ t dt

v (t)k where ik ( )t = 0

v (^) k(t)

-f (^) k(T- t)

Adjoint Network for Dynamic System (con’t)

For set B (branch current),

original network adjoint network

ik ( )t where v k( )t = 0 vk ( T − t ) = g k ( )t where ik( )t is unknown

i (^) k(t)

gk(T- t) +_

( ) 0 0

( ) ( ) ( ) ( ) ( )

T T ∫ vk^ T^ −^ t ik^ t^ −^ vk^ t ik^ T^ −^ t dt^ =∫g^ k^ t ik^ t dt