Power Grid Simulation using Matrix Exponential Method with Rational Krylov Subspaces

Hao Zhuang, Shih-Hung Weng, Chung-Kuan Cheng

Introduction

Simulating Very Large Scale Integration (VLSI) power grids is a critical yet computationally intensive task in modern chip design. These grids, comprising millions of nodes, must be simulated over extended periods to capture low-frequency noise from the package and board. Traditional methods, such as the Trapezoidal Method (TR), often rely on fixed, small time steps to maintain accuracy during high-frequency transients, leading to significant inefficiencies during more stable simulation phases. This paper presents a novel approach using the Matrix Exponential Method (MEXP) combined with Rational Krylov Subspaces to achieve robust adaptive time-stepping and substantial speedups.

The Challenge of Stiffness in Power Grids

Power grid circuits are inherently "stiff," meaning their eigenvalues span several orders of magnitude. While standard MEXP allows for adaptive time-stepping, it typically requires high-dimensional subspaces to handle this stiffness, which negates the performance benefits. Furthermore, traditional TR methods require expensive matrix re-factorization if the time step is changed, forcing engineers to stick with a worst-case fixed step size.

Methodology: Rational Krylov Subspaces

The proposed framework addresses these limitations through three key innovations:

  1. Rational Krylov Subspace Construction: Instead of building a basis directly from the system matrix $A$, the authors employ a "shift-and-invert" technique using a preconditioner $(I - \gamma A)^{-1}$. This transformation emphasizes the small-magnitude eigenvalues that dominate the long-term circuit response, allowing for a much smaller subspace dimension ($m$) to achieve high accuracy.
  2. Adaptive Time Stepping: The robustness of the rational basis enables dynamic adjustment of the time step ($h$). The algorithm uses a posterior error estimation to determine when to increase the subspace dimension or modify the step size based on the stability of input signals.
  3. One-Time Factorization: By utilizing a Block LU Factorization strategy, the heavy computational burden of matrix factorization is performed only once at the start. Subsequent adaptive steps require only relatively inexpensive forward and backward substitutions, mimicking the efficiency of TR while providing the intelligence of adaptive stepping.

Experimental Results

The method was evaluated on four industrial-scale Power Distribution Network (PDN) designs ranging from 45.7K to 7.4M nodes.

Accuracy and Transient Response

The Rational MEXP method demonstrates high fidelity compared to industry-standard tools. As shown in Figure 1, the voltage waveforms produced by MEXP, TR, and HSPICE are virtually indistinguishable, even during high-frequency transients.

Voltage waveform comparison between MEXP, TR, and HSPICE showing high accuracy during transients.

Performance and Scalability

The primary advantage of the proposed method is its significant speedup over the fixed-step Trapezoidal Method. Across all test designs, the Rational MEXP method achieved speedups between 15.7x and 18.1x.

Performance comparison of TR and Rational MEXP across four industrial designs, showing up to 18.1x speedup.

For the largest design (D4) with 7.4 million nodes, the simulation time was reduced from 204 hours using TR to just 11.3 hours using Rational MEXP. This consistent performance gain across scales highlights the method's suitability for modern VLSI design.

Conclusion

By integrating Rational Krylov Subspaces into the Matrix Exponential Method, this research provides a powerful solution for large-scale power grid simulation. The approach effectively overcomes the "stiffness barrier," allowing for efficient adaptive time-stepping and a one-time factorization cost. The resulting 18x speedup over traditional methods, without loss of accuracy, represents a significant advancement for the Electronic Design Automation (EDA) industry.

Summary updated

BibTeX
@inproceedings{zhuang2013power,
  author = {Hao Zhuang and Shih-Hung Weng and Chung-Kuan Cheng},
  title = {{Power Grid Simulation using Matrix Exponential Method with Rational Krylov Subspaces}},
  booktitle = {ASICON},
  year = {2013},
  doi = {10.1109/asicon.2013.6811937},
}
Figure