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

more realistic power grid verification based on
SMART_READER_LITE
LIVE PREVIEW

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.


slide-1
SLIDE 1

More Realistic Power Grid Verification Based

  • n Hierarchical Current and Power constraints

2Chung-Kuan Cheng, 2Peng Du, 2Andrew B. Kahng, 1Grantham K. H. Pang, 1§Yuanzhe Wang, 1Ngai Wong

Grantham K. H. Pang, §Yuanzhe Wang, Ngai Wong

  • 1. The University of Hong Kong
  • 2. University of California, San Diego
slide-2
SLIDE 2

Outline

 Background  Background  Problem formulation

Effi i t l

 Efficient solver  Experimental results  Conclusion

2

slide-3
SLIDE 3

Background g

Power grid -> RCL network External voltage sources -> ideal voltage sources

3

Transistors, logic gates, etc -> ideal current sources

slide-4
SLIDE 4

Background g

External voltage source power grid transistors, logic gates, etc Voltage+Zs Current Voltage drop Logic error Voltage drop Timing error # Gates ↑ Current density ↑ Voltage drop ↑ Line width ↓ External voltage ↓ Noise margin ↓

4

Power grid voltage drop verification is becoming indispensable

slide-5
SLIDE 5

Background g

  • 1. Simulation-based power grid verification

capacitance inductance admittance impedance input distribution matrix

( ) ( ) ( ) Cx t Gx t Bu t   

nodal voltages current patterns

t tt lt d transient analysis

5

current patterns voltage drops

slide-6
SLIDE 6

Background g

  • 2. Worst case power grid verification

max Voltage_Drop s bject to C rrent Constraints

Design experience

subject to: Current_Constraints

Design requirements

1 E l t ifi ti t tt k

  • 1. Early-stage verification – current patterns unknown
  • 2. Uncertain working modes – too many possible

current patterns current patterns

Check : max{Voltage Drop} <Noise Margin

6

{ g _ p} _ g

slide-7
SLIDE 7

Background g

xk : nodal voltage at k i t

max

T

x c i 

i : current sources IL : local current bounds IG : global current bounds

max subject to

k G

x c i Ui I    

G g

c : relationship between voltage and current U : current distribution matrix

subject to

L

i I    

U : current distribution matrix

Worst-case voltage drop prediction via solving linear i bl

  • D. Kouroussis and F. N. Najm, A static pattern-independent

technique for power grid voltage integrity verification 2003

programming problems

7

technique for power grid voltage integrity verification, 2003

slide-8
SLIDE 8

Background g

Solving linear programs:

  • 1. Simplex algorithm: theoretically NP-hard; O(n3) in practice.
  • 2. Ellipsoid algorithm: O(n4)
  • 3. Interior-point algorithm: O(n3.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

DAC ’07)

8

(Xiong, DAC ’07)

slide-9
SLIDE 9

Outline

 Background  Background  Problem formulation

Effi i t l

 Efficient solver  Experimental results  Conclusion

9

slide-10
SLIDE 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

slide-11
SLIDE 11

Problem formulation

Hierarchical current and power constraints

1: Local current constraints 1: Local current constraints 2 Bl k l l t t i t 2: Block-level current constraints

Different from previous work, U is a “0/1” matrix with each column t i i t t “1” containing at most one “1”. This is the requirement

  • f hierarchy

11

y

slide-12
SLIDE 12

Background g

3: Block-level power constraints

i i t t current constraints => peak value of current waveform power constraints => area under current waveform

12

slide-13
SLIDE 13

Problem formulation

4: High level power constraints

1 2

, ,...,

r

U U U

are 0/1 matrices with each column containing at most one “1”

1 2 r

Hi hi l Hierarchical Constraints

13

slide-14
SLIDE 14

Problem formulation

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

14

slide-15
SLIDE 15

Outline

 Background  Background  Problem formulation

Effi i t l

 Efficient solver  Experimental results  Conclusion

15

slide-16
SLIDE 16

Efficient solver

Coefficient computation

We do not have to solve ci,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

16

g g influence on circuit performance

slide-17
SLIDE 17

Efficient solver

A parallel algorithm without matrix inversion is desired.

transpose

  • 1. Requiring one sparse-LU and kt forward/backward

substitutions

17

  • 2. Parallelizable
slide-18
SLIDE 18

Efficient solver

ci k known now ci,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

slide-19
SLIDE 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

slide-20
SLIDE 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

slide-21
SLIDE 21

Efficient solver

Lemma: The objective function reaches maximum when all the variables associated with negative are all the variables 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

slide-22
SLIDE 22

Efficient Solver

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

22

slide-23
SLIDE 23

Efficient solver

Intuitive interpretation: Intuitive interpretation: Give the variable associated with the largest coefficient the largest possible value. Then delete this variable

23

from the problem and do the same procedure again.

slide-24
SLIDE 24

Efficient solver

Complexity of the sorting-deletion algorithm

  • 1. Coefficient sorting: (using the most efficient

sorting algorithm)

  • 2. Deletion procedure: (r is the # of level in the

hierarchical structure mk is # of variables)

( log )

t t

O mk mk

hierarchical structure, mkt is # of variables) M h l th t d d l ith

( )

t

O mk r

Much lower than standard algorithms

 

3

( log ) ( ) ( )

t t t t

O mk mk O mk r O mk  

24

slide-25
SLIDE 25

Outline

 Background  Background  Problem formulation

Effi i t l

 Efficient solver  Experimental results  Conclusion

25

slide-26
SLIDE 26

Experimental results p

Models used: 3-D power grid structure with 4 metal layers 1 C th lt d di ti ith d

  • 1. Compare the voltage drop predictions with and

without power constraints 2 Compare the CPU time using sorting-deletion

  • 2. Compare the CPU time using sorting deletion

algorithm and standard algorithms

26

slide-27
SLIDE 27

Experimental results p

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

27

slide-28
SLIDE 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

slide-29
SLIDE 29

Experimental results p

(1) Standard LP solver fails due to too many iterations

CPU time comparison between standard algorithms and ti d l ti l ith Si ifi t d i hi d

(1) Standard LP solver fails due to too many iterations

sorting-deletion algorithm. Significant speed-up is achieved.

29

slide-30
SLIDE 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 bl problems.

30