more realistic power grid verification based on
play

More Realistic Power Grid Verification Based on Hierarchical Current - PowerPoint PPT Presentation

More Realistic Power Grid Verification Based on Hierarchical Current and Power constraints 2 Chung-Kuan Cheng, 2 Peng Du, 2 Andrew B. Kahng, 1 Grantham K. H. Pang, 1 Yuanzhe Wang, 1 Ngai Wong Grantham K. H. Pang, Yuanzhe Wang, Ngai Wong 1.


  1. More Realistic Power Grid Verification Based on Hierarchical Current and Power constraints 2 Chung-Kuan Cheng, 2 Peng Du, 2 Andrew B. Kahng, 1 Grantham K. H. Pang, 1 §Yuanzhe Wang, 1 Ngai Wong Grantham K. H. Pang, §Yuanzhe Wang, Ngai Wong 1. The University of Hong Kong 2. University of California, San Diego

  2. Outline  Background  Background  Problem formulation  Efficient solver Effi i t l  Experimental results  Conclusion 2

  3. Background g Power grid -> RCL network External voltage sources -> ideal voltage sources Transistors, logic gates, etc -> ideal current sources 3

  4. Background g External voltage source power grid transistors, logic gates, etc Voltage+Z s Current Logic error Voltage drop Voltage drop Timing error # Gates ↑ Voltage drop ↑ Current density ↑ Line width ↓ Noise margin ↓ External voltage ↓ Power grid voltage drop verification is becoming indispensable 4

  5. Background g 1. Simulation-based power grid verification capacitance admittance input distribution inductance impedance matrix    Cx t ( ) Gx t ( ) Bu t ( ) nodal voltages current patterns transient analysis current patterns t tt voltage drops lt d 5

  6. Background g 2. Worst case power grid verification max Voltage_Drop Design experience s bject to C rrent Constraints subject to: Current_Constraints Design requirements 1. Early-stage verification – current patterns unknown 1 E l t ifi ti t tt k 2. Uncertain working modes – too many possible current patterns current patterns Check : max{ Voltage Drop } < Noise Margin { p } g _ _ g 6

  7. Background g x k : nodal voltage at k   T max max x x c i c i i : current sources t i k I L : local current bounds   Ui I G     I G : global current bounds G g subject to subject to  0 i I c : relationship between voltage and L current U : current distribution matrix U : current distribution matrix Worst-case voltage drop prediction via solving linear programming problems i bl D. Kouroussis and F. N. Najm, A static pattern-independent technique for power grid voltage integrity verification 2003 technique for power grid voltage integrity verification , 2003 7

  8. Background g Solving linear programs: 1. Simplex algorithm: theoretically NP-hard; O(n 3 ) in practice. 2. Ellipsoid algorithm: O(n 4 ) 3. Interior-point algorithm: O(n 3.5 ) n is usually large (> millions) Existing work (for higher efficiency): Geometric method -> trade-off with accuracy ( Ferzli, ICCAD ’07) Dual algorithm -> still large complexity (convex optimization) ( Xi ( Xiong, DAC ’07 ) DAC ’07 ) 8

  9. Outline  Background  Background  Problem formulation  Efficient solver Effi i t l  Experimental results  Conclusion 9

  10. Problem formulation Relationship between voltage drop and currents    Cx t ( ) Gx t ( ) Bu t ( ) Backward Euler C C        ( G ) ( x t t ) x t ( ) Bu t ( t )   t t Numerically equivalent to transient analysis 10

  11. Problem formulation Hierarchical current and power constraints 1: Local current constraints 1: Local current constraints 2 Bl 2: Block-level current constraints k l l t t i t Different from previous work, U is a “0/1” matrix with each column containing at most one “1”. t i i t t “1” This is the requirement of hierarchy y 11

  12. Background g 3: Block-level power constraints i i t t current constraints => peak power constraints => area value of current waveform under current waveform 12

  13. Problem formulation 4: High level power constraints are 0/1 matrices with each column containing at most one “1” U U , ,..., U 1 1 2 2 r r Hi Hierarchical hi l Constraints 13

  14. Problem formulation Worst-case voltage drop occurs at the final time step ( (see the paper for detailed proof). th f d t il d f) Thus the linear programming problem reads: 14

  15. Outline  Background  Background  Problem formulation  Efficient solver Effi i t l  Experimental results  Conclusion 15

  16. Efficient solver Coefficient computation We do not have to solve c i,k for every i (those i to be solved form a set Ω ) • • Solving those nodes with current sources attached Solving those nodes with current sources attached (# current sources usually < # of nodes) • Solving those “critical nodes” which have great g g influence on circuit performance 16

  17. Efficient solver A parallel algorithm without matrix inversion is desired. transpose 1. Requiring one sparse-LU and k t forward/backward substitutions 2. Parallelizable 17

  18. Efficient solver c i k known now c i,k known now Rename variables by treating each entry of each u(k ∆ t) as independent variables as independent variables The objective function can be rewritten as 18

  19. Efficient solver Each constraint represents p that the sum of some variables belonging to a set is smaller than a bound set is smaller than a bound 19

  20. Efficient solver The problem is rewritten as The constraints here are hierarchical which follows that for The constraints here are hierarchical , which follows that for any two sets , at least one of the 3 equations holds: 20

  21. Efficient solver Lemma: The objective function reaches maximum when all the variables all the variables associated with negative are associated with negative are set to zero. Intuitive interpretation: Intuitive interpretation: 1. The objective function is smaller when variables with negative variables are positive; 2. Set these variables to zero will not decrease the feasible set defined by constraints. 21

  22. Efficient Solver Set all the variables associated with negative coefficients as zero and sort the remaining coefficients in the d t th i i ffi i t i th descending order: The problems becomes Th bl b Then it can be proven that a sorting-deletion algorithm can give the optimal solution. g g p 22

  23. Efficient solver Intuitive interpretation: Intuitive interpretation: Give the variable associated with the largest coefficient the largest possible value. Then delete this variable from the problem and do the same procedure again. 23

  24. Efficient solver Complexity of the sorting-deletion algorithm 1. Coefficient sorting: (using the most efficient sorting algorithm) O mk ( log mk ) t t 2. Deletion procedure: ( r is the # of level in the hierarchical structure mk is # of variables) hierarchical structure, mk t is # of variables) O mk r ( ) t Much lower than standard algorithms M h l th t d d l ith     3 O mk ( log mk ) O mk r ( ) O ( mk ) t t t t 24

  25. Outline  Background  Background  Problem formulation  Efficient solver Effi i t l  Experimental results  Conclusion 25

  26. Experimental results p Models used: 3-D power grid structure with 4 metal layers 1. Compare the voltage drop predictions with and 1 C th lt d di ti ith d without power constraints 2 Compare the CPU time using sorting-deletion 2. Compare the CPU time using sorting deletion algorithm and standard algorithms 26

  27. Experimental results p Worst-case current patterns with and without power constraints (pc’s). Introduction of power constraints may reduce over-pessimism. 27

  28. Experimental results p Worst-case voltage drop predictions with and without power constraints (pc’s). Introduction of power constraints may reduce over-pessimism. 28

  29. Experimental results p (1) Standard LP solver fails due to too many iterations (1) Standard LP solver fails due to too many iterations CPU time comparison between standard algorithms and sorting-deletion algorithm. Significant speed-up is achieved. ti d l ti l ith Si ifi t d i hi d 29

  30. Conclusion  Introduction of power constraints provide more  Introduction of power constraints provide more realistic current patterns and less pessimistic voltage drops.  Efficient and parallelizable coefficient computation is proposed.  Sorting-deletion algorithm significantly reduces the CPU time to solve the linear programming problems. bl 30

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend