1 / 25

Statistical Sampling-Based Parametric Analysis of Power Grids Dr. Peng Li

Statistical Sampling-Based Parametric Analysis of Power Grids Dr. Peng Li. EE5970 Seminar. Presented by Xueqian Zhao. Outline. Motivation Prior works Importance sampling technique Sampling-based localized sensitivity analysis Sampling-based 2 nd order parametric analysis Conclusion.

tmcclendon
Télécharger la présentation

Statistical Sampling-Based Parametric Analysis of Power Grids Dr. Peng Li

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Statistical Sampling-Based Parametric Analysis of Power GridsDr. Peng Li EE5970 Seminar Presented by Xueqian Zhao

  2. Outline • Motivation • Prior works • Importance sampling technique • Sampling-based localized sensitivity analysis • Sampling-based 2nd order parametric analysis • Conclusion

  3. Motivation • Power/Ground integrity becomes a serious challenge for modern chip design • IR drops reduce noise margin and increase circuit delay • 10% supply voltage fluctuations may translate in more than 10% timing variation • Technology scaling worsens the P/G integrity • Reduction of power supply voltage

  4. Analysis Challenge • Modern P/G networks routinely reach multi-million node complexity • Full grid analysis becomes very expensive • Need to consider significant variation in power consumption • Active power is mode dependent • Process and temperature variability impact significantly the leakage power • Power grids are also subject to parametric variations due to fabrication fluctuations • Multiplicity of variations in power grids make the analysis even more difficult

  5. Prior Works • P/G can be modeled as a linear system: • Direct methods: • LU, Cholesky decomposition • Iterative methods: • Conjugate gradient (CG), preconditioned CG • Multigrid method • Since G is a sparse matrix, the complexity of above methods is around O(n2)

  6. Random Walks • Convert an electrical network to a random walk • Circuit response estimated locally via mean estimation • Average over a set of statistical samples • Locality exploited naturally without solving the complete network

  7. Random Walks (cont.) • Transition probabilities between states are obtained from the electrical network • The random walk can be described as Markov chain • The complexity can be reduced to O(n), compared to prior works.

  8. Localized Analysis • Locally solve for selected circuit nodes • Compute the nominal node voltage (IR drop) for each node • Achievable through random walks • Sensitivities with respect to multiple process/loading variations?? • High order parametric dependencies?? Target Node ni VDD VDD

  9. Adjoint Sensitivity Analysis • Classical adjoint sensitivity analysis • Requires two complete linear solutions • Obscure the possibility of locality • Localized sensitivity analysis??

  10. Original Circuit (A) Pk1 Pk2 Pk3 Vdd node ni … Perturbed Circuit (B) P’k1 P’k2 P’k3 Vdd node ni … Intuition • Original circuit differs from the perturbed circuit in circuit element values • Want to solve both circuits simultaneously by only sampling in the original circuit • Need to scale each sample to correct the sampling bias: D’k (P’k/Pk)D’k Value: Dk Prob: Pk = Pk1Pk2 Value: D’k Prob: P’k = P’k1P’k2…

  11. Importance Sampling • View random walks algorithms as a Monte Carlo method • Circuit response is estimated via mean estimation • Importance sampling allows us to estimate the mean of a statistical distribution while sampling according to another distribution • Ratio estimate

  12. Localized Sensitivity Analysis • Design / process parameters • Perform sampling only in the nominal circuit • Estimate the response in any parametric circuit • Need to propagate the first order sensitivities while sampling in the nominal circuit

  13. Localized Sensitivity Analysis • Propagate circuit element parametric sensitivities • Perform a few scalar arithmetic operations • Additions, subtractions, multiplications and divisions

  14. + Localized Parametric Analysis Flow Pick a new move according to the nominal ckt Pick a new move according to the nominal ckt Compute the prob. of this move and update the path prob. Ppath for the param. ckt Compute the prob. of this move and update the path prob. Ppath for the param. ckt Accumulate the cost incurred by the move … … Accumulate the cost incurred by the move … … … … Weight the gain of the complete walk by Wpath = Ppath/Ppath(nom) Weight the gain of the complete walk by Wpath = Ppath/Ppath(nom) Mean estimate: Sum up and normalize

  15. Second Order Analysis • 2nd order analysis gives more accurate results for larger perturbations • Straightforward implementation is prohibitively expensive • 276 coefficients needed for 22 variables ! • Can exploit the inherent spatial locality in the algorithm formulation • Adopt two 2nd order parametric forms: • Voltage response estimate /cost incurred due to current sources • State-transition/path probabilities

  16. Global Semi-Global Local + + Exploring Spatial Locality • Naïve 2nd order analysis not feasible for a large number of inter-/intra die variations • Model variations sources using a hierarchical model • Global, semi-global and local variations • Local data types impacted only by a small set of variations • Represented in a SPARSE 2nd order form

  17. Node of Interest X Exploring Spatial Locality • Data interactions • Local + local: efficiently computable • Global + global: only happen at end of each random walk • Global + local: many counts / dominant cost! • Exploring sparsity • Dominant cost: O(NGNL), NL << NG

  18. Importance Sampling Estimators • Importance sampling • Integration estimator • Ratio estimator

  19. Importance Sampling Estimators • Regression estimator

  20. Results • Comparison of estimators • 40k-node grid • Solve the nominal ckt and the perturbed circuit simultaneously IR drop estimation in the perturbed circuit

  21. Results • Localized sensitivity analysis • Simultaneously solve for sensitivities • Compared with direct sensitivity

  22. Results • 22 variation sources • 1st order analysis: 23 coefficients • 2nd order analysis: 276 coefficients • Runtime • 1st order: 3.1s • 2nd order: 22s • A 250K node grid • Resistance variation • Average: 12.3% • Max: 55% 1000 samples: 1st order errors 1000 samples: 2nd order errors

  23. Results • 22 variation sources • 1st order analysis: 23 coefficients • 2nd order analysis: 276 coefficients • Runtime • 1st order: 4s • 2nd order: 28s • A 1.1 million node grid • Resistance variation • Average: 13% • Max: 55% • Loading variation • Average: 19% • Max: 164% 1000 samples: 1st order errors 1000 samples: 2nd order errors

  24. Results • Runtime as a function of number of variations • Near-linear complexity achieved by exploring spatial locality 2nd order analysis runtime

  25. Conclusion • Power/ground network verification is becoming increasingly difficult due to large problem complexity • The analysis complexity exacerbates as we address process variations and current loading uncertainties • Efficient parametric analysis is proposed to analyze large power grids locally • Adopt importance sampling in Monte Carlo method • Lends itself naturally to a localized version of the classical sensitivity analysis • 2nd order analysis improves the accuracy for larger loading and process variations • Explore the spatial locality of the algorithm formulation to achieve near-linear complexity

More Related