Advanced Circuit Simulation Using Matrix Exponential Operators

Slide Note
Embed
Share

Explore the innovative approach of circuit simulation via matrix exponential operators as proposed by CK Cheng from UC San Diego. The method involves utilizing general matrix exponentials, Krylov spaces, Arnoldi orthonormalization, and inverting Krylov subspaces for accurate simulations. These techniques provide a deeper understanding of circuit behavior and allow for efficient analysis in complex systems.


Uploaded on Sep 25, 2024 | 0 Views


Download Presentation

Please find below an Image/Link to download the presentation.

The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author. Download presentation by click this link. If you encounter any issues during the download, it is possible that the publisher has removed the file from their server.

E N D

Presentation Transcript


  1. Circuit Simulation via Matrix Exponential Operators CK Cheng UC San Diego 1

  2. Outline General Matrix Exponential Krylov Space and Arnoldi Orthogonalization Matrix Exponential Method Krylov Subspace Approximation Invert Krylov Subspace Approximation Rational Krylov Subspace Approximation 2

  3. General Matrix Exponential ?0(At)= eAt ?1(At)= 0 ?2(At)= 0 ?eA(t ?) d?=A-1(eAt-I) ?eA(t ?) ?d?=A-2(eAt-A-I) ?k(At) = 0 ???(? ?)?k/k!d?=A k(eAt Ak 1/(k 1)! A I) Exercise: Expand the right hand side expression to remove the inverse operation. 3

  4. Krylov Space and Arnoldi Orthonormalization Input A and v1=x0/|x0| Output AV=VH+hm+1vm+1emT For i=1, , m Ti+1=Avi For j=1, , I hji=<Ti+1,vj> Ti+1=Ti+1-hjivj End For hi+1,i=|Ti+1| vi+1=1/hi+1 Ti+1 End For In other words, ? Avi- ?=1 hjivj =hi+1,ivi+1 4

  5. Standard Krylov Space Generate: AV=VH+hm+1vm+1emT Thus, we have eAhv1 VeHhe1 Residual r=Cdx/dt-Gx=-hm+1Cvm+1emTeHhe1 Derivation: Cdx/dt-Gx=CVHeHhe1-GVeHhe1 =(CVH-GV)eHhe1 = C(VH-C-1GV)eHhe1 =C(VH-VH-hm+1vm+1emT)eHhe1 =-hm+1Cvm+1emTeHhe1 5

  6. Standard Mexp = H A h h v v V Error e e e m m 1 2 Error trend sweep m and h 6

  7. Invert Krylov Space Generate: A-1V=VH+hm+1vm+1emT Let H=H-1, we have eAhv1 VeHhe1 Residual r=Cdx/dt-Gx=hm+1Gvm+1emTHeHhe1 Derivation: Cdx/dt-Gx=CVHeHhe1-GVeHhe1 =(CVH-GV)eHhe1 = G(G-1CVH-V)eHhe1 =G(A-1VH-V)eHhe1 =hm+1Gvm+1emTHeHhe1 7

  8. Invert Matrix Exponential large step size with less dimension h m 1 H = A h v v V error e e e sweep m and h m 1 2 8

  9. Rational Krylov Space Generate: (1-rA)-1V=VH+hm+1vm+1emT Let H=1/r (I-H-1) we have eAhv1 VeHhe1 Residual r=Cdx/dt-Gx=-hm+1(C/r-G)vm+1emTH-1eHhe1 Derivation: Cdx/dt-Gx=CVHeHhe1-GVeHhe1 =(CVH-GV)eHhe1 = (1/r CV(I-H-1)-GV)eHhe1 =(1/rCV(H-1)-GVH)H-1eHhe1 =((1/rC-G)VH-1/rCV)H-1eHhe1 =-hm+1(C/r-G)vm+1emTH-1eHhe1 9

  10. Rational Matrix Exponential large step size with less dimension h ~ H m = A fix , sweep m and h h v v V Error e e e m 1 2 10

  11. Different needs large m 11

  12. Different 12

  13. Spectral Transformation = 10f Small RC mesh, 100 by 100 Different h for Krylov subspace Different for rational Krylov subspace 13

  14. Spectral Transformation = 1p Small RC mesh, 100 by 100 Different h for Krylov subspace Different for rational Krylov subspace 14

  15. Spectral Transformation = 100p Small RC mesh, 100 by 100 Different h for Krylov subspace Different for rational Krylov subspace 15

  16. Sweep for Large Range 16

  17. Sweep for Large Range 17

  18. Difference Between Inverted and Rational 18

  19. Fixed = 1p, sweep time step h 19

  20. Fixed = 1n, sweep time step h 20

  21. Fixed = 1u, sweep time step h 21

  22. Fixed = 1m, sweep time step h 22

  23. Fixed = 1, sweep time step h 23

  24. Fixed = 1k, sweep time step h 24

  25. Fixed = 1M, sweep time step h 25

  26. Krylov Space Residual Generate: AV=VH+hm+1vm+1emT Thus, we have eAhv1 VeHhe1 Residual r=Cdx/dt-Gx=-hm+1Cvm+1emTeHhe1 Derivation: 1. Set Y=[e1 He1 H2e1 Hm-1e1] 2. We have YC=HY where C= zm+cm-1zm-1+ +c1z+c0=0 has roots ?1,?2, ?m 0 -c0 -c1 -c2 1 0 1 0 1 0 -cm-2 -cm-1 1 26

  27. Krylov Space Residual Residual r=Cdx/dt-Gx=-hm+1Cvm+1emTeHhe1 3. C=V-1DV (VC=DV), V= D=Diag(?1,?2, ?m) 4. H=YCY-1=YV-1DVY-1 5. eH=YV-1eDVY-1 6. emTeHhe1 =emTYV-1eDhVY-1e1 =emTYV-1eDh1, 1=[1,1, 1]T =emTYV-1[e?1h, e?2h, ,e?mh]T ?=1 ?1m-1 ?2m-1 . ?1 ?2 . 1 . 1 . . . . . . . . . . ?mm-1 ?m 1 . ? 1hi+1,ihm-1/(m-1)! 27

  28. Invert Krylov Space Residual Generate: A-1V=VH+hm+1vm+1emT Thus, we have eAhv1 VeHhe1 Residual r=Cdx/dt-Gx=-hm+1Cvm+1emTeHhe1 Derivation: 6. Exercise to derive: emTH-1eHhe1 ? 28

Related


More Related Content