Efficient Matrix Exponential Method Based on Extended Krylov Subspace for Transient Simulation of Large-Scale Linear Circuits
Wenhui Zhao University of Hong Kong
1
Based on Extended Krylov Subspace for Transient Simulation of - - PowerPoint PPT Presentation
Efficient Matrix Exponential Method Based on Extended Krylov Subspace for Transient Simulation of Large-Scale Linear Circuits Wenhui Zhao University of Hong Kong 1 Outline Introduction Circuit Simulation Matrix Exponential
1
Introduction
Circuit Simulation Matrix Exponential Method(MEXP)
MEXP based on Extended Krylov Subspace
Problem of Stiff Circuit Generalized Extended Krylov Subspace
Numerical Results Conclusion
2
Introduction
Circuit Simulation Matrix Exponential Method(MEXP)
MEXP based on Extended Krylov Subspace
Problem of Stiff Circuit Generalized Extended Krylov Subspace
Numerical Results Conclusion
3
1.1 Circuit Simulation
Circuit simulation is to use mathematical models to
4
1.2 Matrix Exponential Method (MEXP)
The numerical system to be solved in transient circuit analysis is a set of differential algebraic equations (DAE) 𝐷𝑦 𝑢 = 𝐻𝑦 𝑢 + 𝐶𝑣 𝑢 𝐷, 𝐻 and 𝐶: susceptance, conductance and input matrix, respectively 𝑣(𝑢): collects the voltage and current sources
The essence of MEXP lies in transforming the above equation to an ODE 𝑦 𝑢 = 𝐵𝑦 𝑢 + 𝑐 𝑢 where 𝐵 = 𝐷−1𝐻 and 𝑐 𝑢 = 𝐷−1𝐶𝑣 𝑢 .
5
For simplicity , we will use 𝐵 to represent the 𝐵 in the following part.
6
𝑦 𝑢 + ℎ = 𝑓𝐵ℎ𝑦 𝑢 + 𝑓𝐵 ℎ−𝜐 𝑐 𝑢 + 𝜐 𝑒𝜐
ℎ
𝑦 𝑢 + ℎ = 𝑓𝐵ℎ𝑦 𝑢 + 𝑓𝐵ℎ − 𝐽 𝐵−1𝑐 𝑢 + 𝑓𝐵ℎ − 𝐵ℎ + 𝐽 𝐵−2 𝑐 𝑢 + ℎ − 𝑐(𝑢) ℎ 𝑦 𝑢 + ℎ = [𝐽𝑜 0]𝑓𝐵
ℎ 𝑦(𝑢)
𝑓2 𝐵 = 𝐵 𝑋 𝐾 , 𝐾 = 0 1 0 , 𝑓2 = 0 1 , 𝑋 = 𝑐 𝑢 + ℎ − 𝑐(𝑢) ℎ 𝑐(𝑢) piece-wise linear (PWL) input transform
Krylov subspace
1.2 Matrix Exponential Method (MEXP)
Main computation is
𝑛𝑓𝑈 𝑛ℎ𝑓1,
Krylov subspace: 𝐿𝑛 = 𝑡𝑞𝑏𝑜{𝑤, 𝐵𝑤, 𝐵2𝑤, … 𝐵𝑛−1𝑤} Arnoldi process: 𝐵𝑊
𝑛 = 𝑊 𝑛+1𝑈
𝑊
𝑛 : orthonormal basis of 𝐿𝑛 𝐵, 𝑤
𝑈 𝑛 : contains the orthonormalization coefficients
Error estimate: 𝑓𝑠𝑠 = 𝛾𝑢𝑛+1,𝑛 𝑓𝑛
𝑈 𝑓𝑈
𝑛ℎ𝑓1
𝑢𝑛+1,𝑛 is the bottom right element of 𝑈
𝑛
7
Introduction
Circuit Simulation Matrix Exponential Method(MEXP)
MEXP based on Extended Krylov Subspace
Problem of Stiff Circuit Generalized Extended Krylov Subspace
Numerical Results Conclusion
8
Introduction
Circuit Simulation Matrix Exponential Method(MEXP)
MEXP based on Extended Krylov Subspace
Problem of Stiff Circuit Generalized Extended Krylov Subspace
Numerical Results Conclusion
9
2.1 Problem for Stiff Circuits Stiff circuits:
Time constants differ by a large magnitude Real parts of eigenvalues are well-separated
Shortcomings of Krylov subspace:
Tend to capture the dominant eigenvalues first Tend to undersample of small magnitude eigenvalues
10
2.1 Problem for Stiff Circuits Traditional extended Krylov subspace:
Merits: Capture the small magnitude eigenvalues
Demerits: Computation of negative dimensions are more
Existing extended Krylov subspace:
11
2.1 Problem of the Stiff Circuit Shortcoming of existing extended Krylov subspace:
Negative dimension 𝑚 need to be prespecified, subspace
Equal number of negative and positive dimension may
12
2.2 Generalized Extended Krylov Subspace
Generalized extended Krylov subspace with
Arnoldi-type process: 𝐵𝑊
𝑛 = 𝑊 𝑛+2𝑈
𝑈
𝑛 is a block Heisenberg matrix
Posterior error estimate:
𝑈 𝑓𝑈
𝑛ℎ𝑓1
𝜐𝑛+1,𝑛is the 2-by-2 bottom right block of 𝑈
𝑛
13
How to compute 𝑈
From the construction of the generalized extended Krylov
14
Can we compute 𝑈
𝑛+2 𝑈
𝑛?
15
Introduction
Circuit Simulation Matrix Exponential Method(MEXP)
MEXP based on Extended Krylov Subspace
Problem of Stiff Circuit Generalized Extended Krylov Subspace
Numerical Results Conclusion
16
Introduction
Circuit Simulation Matrix Exponential Method(MEXP)
MEXP based on Extended Krylov Subspace
Problem of Stiff Circuit Generalized Extended Krylov Subspace
Numerical Results Conclusion
17
3.1 Improvement led by extended Krylov subspace Example: RC ladder
Stiff circuit; Matrix order: 1000; Compute 𝑓𝐵ℎ𝑤 by four Krylov subspaces Krylov subspace with different negative-positive ratios
18
3.1 Improvement led by extended Krylov subspace
Extended Krylov subspace enjoys higher accuracy but
19
20
3.2 Performance of MEXP based on different Krylov
Example: three linear circuit examples
Run 100 time step with a constant step size Allow the subspace dimension to vary dynamically to
21
Standard Krylov subspace requires a much larger order of
The best breakdown of positive and negative dimensions in
22
Introduction
Circuit Simulation Matrix Exponential Method(MEXP)
MEXP based on Extended Krylov Subspace
Problem of Stiff Circuit Generalized Extended Krylov Subspace
Numerical Results Conclusion
23
Introduction
Circuit Simulation Matrix Exponential Method(MEXP)
MEXP based on Extended Krylov Subspace
Problem of Stiff Circuit Generalized Extended Krylov Subspace
Numerical Results Conclusion
24
We have investigated the use of extended Krylov subspace to enhance the accuracy of numerical approximation of MEXP-vector product, which in turn benefits the MEXP-based transient circuit simulation.
We generalize the extended Krylov subspace to allow unequal positive/negative dimensions to maximize the overall performance in circuit simulation.
Numerical results have confirmed the efficiency of the proposed method.
25
26