SlideShare una empresa de Scribd logo
1 de 1
Descargar para leer sin conexión
An example of circuit matrices 𝐶&𝐺
from FreeCPU [Zhang &Yu,TCAD13].
Following matrices are LU
factorizations of 𝐶&𝐺 combinations
• Fig. (c)(d) are usually used in
Forward Euler formulation.
• Fig. (g)(h) are used in BENR.
• Fig. (e)(f) are used in ER & ER-C.
We propose an efficient algorithmic framework for time-domain circuit simulation using
exponential integrators. This work addresses several critical issues exposed by previous matrix
exponential based circuit simulation research, and makes it capable of simulating stiff nonlinear
circuit system at a large scale. In this framework, the system’s nonlinearity is treated with
exponential Rosenbrock-Euler formulation. The matrix exponential and vector product (MEVP)
is computed using invert Krylov subspace method. Our proposed method has several
distinguished advantages over conventional formulations (e.g., the well-known BENR,
backward Euler with Newton-Raphson method). The matrix factorization is performed only for
the conductance/resistance matrix 𝐺, without being performed for the combinations of the
capacitance/inductance matrix 𝐶 and matrix 𝐺, which are used in traditional implicit
formulations. Furthermore, due to the explicit nature of our formulation, we do not need to
repeat LU decompositions when adjusting the length of time steps for error controls. Our
algorithm is better suited to solving tightly coupled post-layout circuits in the pursuit for full-chip
simulation.
ABSTRACT
HIGH-ORDER INTEGRATION SCHEME USING EXPONENTIAL INTEGRATORS
BACKGROUND & MOTIVATION
The algorithmic frameworks are implemented in MATLAB and C/C++,
• All devices are evaluated in BSIM3 with MATLAB2013a Executable (MEX) external
interface, GCC 4.7.3.
Linux workstation
• Intel CPU i7 3.4Ghz, 32GB memory.
• Utilize single thread mode.
• Performance (RT(s): the runtime of time-domain simulation. SP: the runtime speedup.)
EXPRIMENTAL RESULTS
THE ALGORITHMIC FRAMEWORK
• Invert Krylov subspace method
𝐾 𝑚 𝐽−1, 𝑣 = 𝑣, 𝐽−1 𝑣, 𝐽−2 𝑣, … , 𝐽−𝑚+1 𝑣
• MEVP:
𝑒ℎ𝐽 𝑣 = 𝑣 𝑉𝑚 𝑒ℎ𝐻 𝑚
−1
𝑒1
• Residual-based error estimation for
the convergence check in MEVP_IKS
𝑟 𝑚 𝑡 = 𝐶
𝑑𝑥 𝑚 𝑡
𝑑𝑡
− 𝐽𝑥 𝑚 𝑡 =
𝑣 𝐶 𝑉𝑚 𝐻 𝑚
−1 𝑒 𝑡𝐻 𝑚
−1
𝑒1 − 𝐽𝑉𝑚 𝑒 𝑡𝐻 𝑚
−1
𝑒1 =
− 𝑣 ℎ 𝑚+1,𝑚 𝐺𝑣 𝑚+1 𝑒 𝑚
𝑇
𝐻 𝑚
−1
𝑒 𝑡𝐻 𝑚
−1
𝑒1 (22)
Time-domain nonlinear circuit simulation
𝑑𝑞 𝑥 𝑡 /𝑑𝑡 + 𝑓 𝑥 𝑡 = 𝐵𝑢(𝑡)
A well-known BENR: Backward Euler Implicit Formulation
𝐶 𝑥 𝑘+1 𝑥 𝑘+1 − 𝑥 𝑘 /ℎ 𝑘 + 𝐺 𝑥 𝑘+1 𝑥 𝑘+1 = 𝐵𝑢 𝑡k+1 + 𝐹 𝑥 𝑘+1
Use Newton-Raphson method (NR) to obtain the solution 𝑥 𝑘+1 at (𝑖 + 1)-th iteration,
𝜕𝑇 𝑥 𝑖 / 𝜕𝑥 𝑥 𝑖+1 − 𝑥 𝑖 = −𝑇(𝑥 𝑖) (3)
The Jacobian matrix is 𝜕𝑇 𝑥 /𝜕𝑥, where
𝑇 𝑥 = 𝐶 𝑥 𝑥 − 𝑥 𝑘 /ℎ 𝑘 + 𝐺 𝑥 𝑥 − 𝐵𝑢 𝑡k+1 − 𝐹 𝑥
Once 𝑥 𝑘+1 is updated in the iteration, we need to solve the linear system Eq. (3).
𝑥 𝑘+1 = 𝑒ℎ 𝑘 𝐽(𝑥 𝑘)
𝑥 𝑘 + 𝑒(ℎ 𝑘−𝜏)𝐽(𝑥 𝑘)
C−1
(𝑥 𝑘)( 𝐹 𝑥 𝑘 + 𝜏 + 𝐵𝑢(𝑡 𝑘 + 𝜏) ) 𝑑𝜏
ℎ 𝑘
0
where 𝐽 𝑥 𝑘 = −𝐶−1
𝑥 𝑘 𝐺 𝑥 𝑘 [Weng, et. al. TCAD’12]
NR with the Jacobian matrix 𝐶 𝑥 𝑖
+
ℎ𝜕𝐹 𝑥 𝑖
𝜕𝑥
, where 𝑖 is the iteration number.
• Krylov subspace approximation of MEVP
𝐾 𝑚 𝐽, 𝑣 = 𝑣, 𝐽𝑣, 𝐽2
𝑣, … , 𝐽 𝑚−1
𝑣
to obtain 𝑉𝑚, 𝐻 𝑚 via
𝐽𝑉𝑚 = 𝑉𝑚 𝐻 𝑚 + ℎ 𝑚+1,𝑚 𝑣 𝑚+1 𝑒 𝑚
𝑇
then
𝑒ℎ𝐽 𝑣 = 𝑣 𝑉𝑚 𝑒ℎ𝐻 𝑚 𝑒1
* University of California, San Diego, CA, USA +Tsinghua University, Beijing, China
Hao Zhuang*, Wenjian Yu+, Ilgweon Kang*, Xinan Wang*, Chung-Kuan Cheng*
An Algorithmic Framework of Large-Scale Circuit Simulation Using Exponential Integrators
CONCLUSION
hao.zhuang@cs.ucsd.edu, yu-wj@tsinghua.edu.cn, igkang@ucsd.edu, xinan@ucsd.edu, ckcheng@ucsd.edu
𝐶, 𝐺 matrices
𝐿 and 𝑈 of 𝑙𝑢(𝐶/ℎ + 𝐺)
𝐿 and 𝑈 of 𝑙𝑢(𝐺)
𝐿 and 𝑈 of 𝑙𝑢(𝐶)
• ER:Exponential Rosenbrock-Euler formulation in circuit simulation
𝑑𝑞 𝑥 𝑡
𝑑𝑥
𝑑𝑥 𝑡
𝑑𝑡
= 𝐵𝑢 𝑡 − 𝑓(𝑥)
The next time step solution
𝑥 𝑘+1(ℎ 𝑘) = 𝑥 𝑘 + ℎ 𝑘 𝜙1 ℎ 𝑘 𝐽 𝑘 𝑔(𝑥 𝑘, 𝑢, 𝑡 𝑘) + ℎ 𝑘
2
𝜙2 ℎ 𝑘 𝐽 𝑘 𝑏k
where 𝐽 𝑘 = −𝐶 𝑘
−1
𝐺 𝑘 and ℎ 𝑘 is the size of time step
𝜙1 ℎ 𝑘 𝐽 𝑘 = (𝑒ℎ 𝑘 𝐽 𝑘−𝐼 𝑛)/ℎ 𝑘 𝐽 𝑘, 𝜙2 ℎ 𝑘 𝐽 𝑘 = (𝑒ℎ 𝑘 𝐽 𝑘−𝐼 𝑛)/ℎ 𝑘
2
𝐽 𝑘
2
− 𝐼 𝑛/ℎ 𝑘 𝐽 𝑘
and
𝑔 𝑘 = 𝐽 𝑘 + 𝐶 𝑘
−1
𝐹(𝑥 𝑘) + 𝐵𝑢 𝑡 𝑘 , 𝑏 𝑘 = 𝐶 𝑘
−1 𝐵𝑢 𝑡 𝑘+1 −𝐵𝑢 𝑡 𝑘
ℎ 𝑘
The local nonlinear error estimator is
𝑒 𝑟𝑟 𝑥 𝑘+1, 𝑥 𝑘 = 𝜙1 ℎ 𝑘 𝐽 𝑘 𝐶 𝑘
−1
Δ 𝐹𝑘 = − 𝑒ℎ 𝑘 𝐽 𝑘 − 𝐼 𝑛 𝐺 𝑘
−1
Δ𝐹𝑘
where
Δ𝐹𝑘 = 𝐹 𝑥 𝑘+1 − 𝐹(𝑥 𝑘)
represents the response changes inside the nonlinear system along time evolutions.
• ER-C:ER with correction terms. Reuse Δ𝐹𝑘 to improve the accuracy.
𝑥 𝑘+1,𝑐 = 𝑥 𝑘+1 − 𝐷 𝑘
where
𝐷 𝑘 = 𝛾ℎ 𝑘 𝜙2 ℎ 𝑘 𝐽 𝑘 𝐶 𝑘
−1
Δ𝐹𝑘
• MEVP is computed by invert Krylov subspace as below:
We propose a new and efficient algorithmic framework for time-domain large-scale circuit
simulation using exponential integrators:
• By virtue of the stable explicit formulation of solving ODE, we remove Newton-Raphson
iterations and reduce the number of LU decomposition operations.
• MEVP is computed by efficient invert Krylov subspace, which also keeps
capacitance/inductance matrix 𝐶 from expensive matrix factorizations, avoids the time-
consuming regularization process when 𝐶 is singular.
• No repeated LU decompositions when adjusting the length of time steps for error controls.
• The proposed method can handle many parasitics, strongly coupled and post-layout circuits,
while conventional methods are not applicable.
We test our proposed framework (ER&ER-C) against standard backward Euler method with
Newton-Raphson iterations (BENR). Our framework does not only accelerate the simulation, but
also manages to finish the challenging test cases, even when BENR fails.
• Build upon the stable explicit formulation using more
accurate exponential integration than traditional
schemes.
• No Newton-Raphson iteration.
• Adjust error by adaptive step-size control.
• Fast MEVP computations via Invert Krylov subspace
method (MEVP_IKS).
• No factorization with matrix 𝐶.
LOW-ORDER TIME INTEGRATION SCHEME
MEVP VIA INVERT KRYLOV
SUBPSACE METHOD
(MEVP_IKS)
PREVIOUS MATRIX EXPONENTIAL BASED METHOD &
MEVP VIA STANDARD KRYLOV SUBSPACE METHOD

Más contenido relacionado

La actualidad más candente

Modeling of mechanical_systems
Modeling of mechanical_systemsModeling of mechanical_systems
Modeling of mechanical_systemsJulian De Marcos
 
Adaptive filtersfinal
Adaptive filtersfinalAdaptive filtersfinal
Adaptive filtersfinalWiw Miu
 
Lecture 10 ME 176 Reduction Of Multiple Su
Lecture 10 ME 176 Reduction Of Multiple SuLecture 10 ME 176 Reduction Of Multiple Su
Lecture 10 ME 176 Reduction Of Multiple SuLeonides De Ocampo
 
Elements Space and Amplitude Perturbation Using Genetic Algorithm for Antenna...
Elements Space and Amplitude Perturbation Using Genetic Algorithm for Antenna...Elements Space and Amplitude Perturbation Using Genetic Algorithm for Antenna...
Elements Space and Amplitude Perturbation Using Genetic Algorithm for Antenna...CSCJournals
 
Lecture 4 ME 176 2 Mathematical Modeling
Lecture 4 ME 176 2 Mathematical ModelingLecture 4 ME 176 2 Mathematical Modeling
Lecture 4 ME 176 2 Mathematical ModelingLeonides De Ocampo
 
Learning agile and dynamic motor skills for legged robots
Learning agile and dynamic motor skills for legged robotsLearning agile and dynamic motor skills for legged robots
Learning agile and dynamic motor skills for legged robots홍배 김
 
Lecture 7 modelling-of__real_world_systems
Lecture 7 modelling-of__real_world_systemsLecture 7 modelling-of__real_world_systems
Lecture 7 modelling-of__real_world_systemsSaifullah Memon
 
Lecture 1 ME 176 1 Introduction
Lecture 1 ME 176 1 IntroductionLecture 1 ME 176 1 Introduction
Lecture 1 ME 176 1 IntroductionLeonides De Ocampo
 
Lecture 6 ME 176 2 Time Response
Lecture 6 ME 176 2 Time ResponseLecture 6 ME 176 2 Time Response
Lecture 6 ME 176 2 Time ResponseLeonides De Ocampo
 
Radial basis function neural network control for parallel spatial robot
Radial basis function neural network control for parallel spatial robotRadial basis function neural network control for parallel spatial robot
Radial basis function neural network control for parallel spatial robotTELKOMNIKA JOURNAL
 
Ch.02 modeling in frequency domain
Ch.02 modeling in frequency domainCh.02 modeling in frequency domain
Ch.02 modeling in frequency domainNguyen_Tan_Tien
 
Virtual hybrid simualtion test - Modelling experimental errors
Virtual hybrid simualtion test - Modelling experimental errorsVirtual hybrid simualtion test - Modelling experimental errors
Virtual hybrid simualtion test - Modelling experimental errorsopenseesdays
 
Transfer function and mathematical modeling
Transfer  function  and  mathematical  modelingTransfer  function  and  mathematical  modeling
Transfer function and mathematical modelingvishalgohel12195
 
Mathematical Modelling of Control Systems
Mathematical Modelling of Control SystemsMathematical Modelling of Control Systems
Mathematical Modelling of Control SystemsDivyanshu Rai
 

La actualidad más candente (20)

Modeling of mechanical_systems
Modeling of mechanical_systemsModeling of mechanical_systems
Modeling of mechanical_systems
 
Adaptive filtersfinal
Adaptive filtersfinalAdaptive filtersfinal
Adaptive filtersfinal
 
Lecture 10 ME 176 Reduction Of Multiple Su
Lecture 10 ME 176 Reduction Of Multiple SuLecture 10 ME 176 Reduction Of Multiple Su
Lecture 10 ME 176 Reduction Of Multiple Su
 
Elements Space and Amplitude Perturbation Using Genetic Algorithm for Antenna...
Elements Space and Amplitude Perturbation Using Genetic Algorithm for Antenna...Elements Space and Amplitude Perturbation Using Genetic Algorithm for Antenna...
Elements Space and Amplitude Perturbation Using Genetic Algorithm for Antenna...
 
Lecture 4 ME 176 2 Mathematical Modeling
Lecture 4 ME 176 2 Mathematical ModelingLecture 4 ME 176 2 Mathematical Modeling
Lecture 4 ME 176 2 Mathematical Modeling
 
Learning agile and dynamic motor skills for legged robots
Learning agile and dynamic motor skills for legged robotsLearning agile and dynamic motor skills for legged robots
Learning agile and dynamic motor skills for legged robots
 
Lecture 7 modelling-of__real_world_systems
Lecture 7 modelling-of__real_world_systemsLecture 7 modelling-of__real_world_systems
Lecture 7 modelling-of__real_world_systems
 
G04123844
G04123844G04123844
G04123844
 
Lecture 1 ME 176 1 Introduction
Lecture 1 ME 176 1 IntroductionLecture 1 ME 176 1 Introduction
Lecture 1 ME 176 1 Introduction
 
Lecture 6 ME 176 2 Time Response
Lecture 6 ME 176 2 Time ResponseLecture 6 ME 176 2 Time Response
Lecture 6 ME 176 2 Time Response
 
MPC
MPCMPC
MPC
 
Chapter26
Chapter26Chapter26
Chapter26
 
Radial basis function neural network control for parallel spatial robot
Radial basis function neural network control for parallel spatial robotRadial basis function neural network control for parallel spatial robot
Radial basis function neural network control for parallel spatial robot
 
IEEE APE
IEEE APEIEEE APE
IEEE APE
 
Ch.02 modeling in frequency domain
Ch.02 modeling in frequency domainCh.02 modeling in frequency domain
Ch.02 modeling in frequency domain
 
Virtual hybrid simualtion test - Modelling experimental errors
Virtual hybrid simualtion test - Modelling experimental errorsVirtual hybrid simualtion test - Modelling experimental errors
Virtual hybrid simualtion test - Modelling experimental errors
 
ME-314- Control Engineering - Week 03-04
ME-314- Control Engineering - Week 03-04ME-314- Control Engineering - Week 03-04
ME-314- Control Engineering - Week 03-04
 
Transfer function and mathematical modeling
Transfer  function  and  mathematical  modelingTransfer  function  and  mathematical  modeling
Transfer function and mathematical modeling
 
Ppt control
Ppt controlPpt control
Ppt control
 
Mathematical Modelling of Control Systems
Mathematical Modelling of Control SystemsMathematical Modelling of Control Systems
Mathematical Modelling of Control Systems
 

Similar a DAC15 Hao Zhuang poster

Superefficient Monte Carlo Simulations
Superefficient Monte Carlo SimulationsSuperefficient Monte Carlo Simulations
Superefficient Monte Carlo SimulationsCheng-An Yang
 
Myers_SIAMCSE15
Myers_SIAMCSE15Myers_SIAMCSE15
Myers_SIAMCSE15Karen Pao
 
QTML2021 UAP Quantum Feature Map
QTML2021 UAP Quantum Feature MapQTML2021 UAP Quantum Feature Map
QTML2021 UAP Quantum Feature MapHa Phuong
 
Paper study: Learning to solve circuit sat
Paper study: Learning to solve circuit satPaper study: Learning to solve circuit sat
Paper study: Learning to solve circuit satChenYiHuang5
 
Vibration isolation progect lego(r)
Vibration isolation progect lego(r)Vibration isolation progect lego(r)
Vibration isolation progect lego(r)Open Adaptronik
 
Efficient anomaly detection via matrix sketching
Efficient anomaly detection via matrix sketchingEfficient anomaly detection via matrix sketching
Efficient anomaly detection via matrix sketchingHsing-chuan Hsieh
 
Power system transient stability margin estimation using artificial neural ne...
Power system transient stability margin estimation using artificial neural ne...Power system transient stability margin estimation using artificial neural ne...
Power system transient stability margin estimation using artificial neural ne...elelijjournal
 
QX Simulator and quantum programming - 2020-04-28
QX Simulator and quantum programming - 2020-04-28QX Simulator and quantum programming - 2020-04-28
QX Simulator and quantum programming - 2020-04-28Aritra Sarkar
 
Echo state networks and locomotion patterns
Echo state networks and locomotion patternsEcho state networks and locomotion patterns
Echo state networks and locomotion patternsVito Strano
 
nural network ER. Abhishek k. upadhyay
nural network ER. Abhishek  k. upadhyaynural network ER. Abhishek  k. upadhyay
nural network ER. Abhishek k. upadhyayabhishek upadhyay
 
Linear regression [Theory and Application (In physics point of view) using py...
Linear regression [Theory and Application (In physics point of view) using py...Linear regression [Theory and Application (In physics point of view) using py...
Linear regression [Theory and Application (In physics point of view) using py...ANIRBANMAJUMDAR18
 
Virus, Vaccines, Genes and Quantum - 2020-06-18
Virus, Vaccines, Genes and Quantum - 2020-06-18Virus, Vaccines, Genes and Quantum - 2020-06-18
Virus, Vaccines, Genes and Quantum - 2020-06-18Aritra Sarkar
 

Similar a DAC15 Hao Zhuang poster (20)

MATEX @ DAC14
MATEX @ DAC14MATEX @ DAC14
MATEX @ DAC14
 
Superefficient Monte Carlo Simulations
Superefficient Monte Carlo SimulationsSuperefficient Monte Carlo Simulations
Superefficient Monte Carlo Simulations
 
Myers_SIAMCSE15
Myers_SIAMCSE15Myers_SIAMCSE15
Myers_SIAMCSE15
 
QTML2021 UAP Quantum Feature Map
QTML2021 UAP Quantum Feature MapQTML2021 UAP Quantum Feature Map
QTML2021 UAP Quantum Feature Map
 
Paper study: Learning to solve circuit sat
Paper study: Learning to solve circuit satPaper study: Learning to solve circuit sat
Paper study: Learning to solve circuit sat
 
Unit1 pg math model
Unit1 pg math modelUnit1 pg math model
Unit1 pg math model
 
Vibration isolation progect lego(r)
Vibration isolation progect lego(r)Vibration isolation progect lego(r)
Vibration isolation progect lego(r)
 
Newton raphson method
Newton raphson methodNewton raphson method
Newton raphson method
 
Efficient anomaly detection via matrix sketching
Efficient anomaly detection via matrix sketchingEfficient anomaly detection via matrix sketching
Efficient anomaly detection via matrix sketching
 
Power system transient stability margin estimation using artificial neural ne...
Power system transient stability margin estimation using artificial neural ne...Power system transient stability margin estimation using artificial neural ne...
Power system transient stability margin estimation using artificial neural ne...
 
QX Simulator and quantum programming - 2020-04-28
QX Simulator and quantum programming - 2020-04-28QX Simulator and quantum programming - 2020-04-28
QX Simulator and quantum programming - 2020-04-28
 
Echo state networks and locomotion patterns
Echo state networks and locomotion patternsEcho state networks and locomotion patterns
Echo state networks and locomotion patterns
 
Economia01
Economia01Economia01
Economia01
 
Economia01
Economia01Economia01
Economia01
 
nural network ER. Abhishek k. upadhyay
nural network ER. Abhishek  k. upadhyaynural network ER. Abhishek  k. upadhyay
nural network ER. Abhishek k. upadhyay
 
Av 738- Adaptive Filtering - Background Material
Av 738- Adaptive Filtering - Background MaterialAv 738- Adaptive Filtering - Background Material
Av 738- Adaptive Filtering - Background Material
 
2018 MUMS Fall Course - Bayesian inference for model calibration in UQ - Ralp...
2018 MUMS Fall Course - Bayesian inference for model calibration in UQ - Ralp...2018 MUMS Fall Course - Bayesian inference for model calibration in UQ - Ralp...
2018 MUMS Fall Course - Bayesian inference for model calibration in UQ - Ralp...
 
Linear regression [Theory and Application (In physics point of view) using py...
Linear regression [Theory and Application (In physics point of view) using py...Linear regression [Theory and Application (In physics point of view) using py...
Linear regression [Theory and Application (In physics point of view) using py...
 
Virus, Vaccines, Genes and Quantum - 2020-06-18
Virus, Vaccines, Genes and Quantum - 2020-06-18Virus, Vaccines, Genes and Quantum - 2020-06-18
Virus, Vaccines, Genes and Quantum - 2020-06-18
 
Plan economico
Plan economicoPlan economico
Plan economico
 

Último

Engineering Drawing section of solid
Engineering Drawing     section of solidEngineering Drawing     section of solid
Engineering Drawing section of solidnamansinghjarodiya
 
Crystal Structure analysis and detailed information pptx
Crystal Structure analysis and detailed information pptxCrystal Structure analysis and detailed information pptx
Crystal Structure analysis and detailed information pptxachiever3003
 
Comparative study of High-rise Building Using ETABS,SAP200 and SAFE., SAFE an...
Comparative study of High-rise Building Using ETABS,SAP200 and SAFE., SAFE an...Comparative study of High-rise Building Using ETABS,SAP200 and SAFE., SAFE an...
Comparative study of High-rise Building Using ETABS,SAP200 and SAFE., SAFE an...Erbil Polytechnic University
 
Autonomous emergency braking system (aeb) ppt.ppt
Autonomous emergency braking system (aeb) ppt.pptAutonomous emergency braking system (aeb) ppt.ppt
Autonomous emergency braking system (aeb) ppt.pptbibisarnayak0
 
Input Output Management in Operating System
Input Output Management in Operating SystemInput Output Management in Operating System
Input Output Management in Operating SystemRashmi Bhat
 
Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...VICTOR MAESTRE RAMIREZ
 
Ch10-Global Supply Chain - Cadena de Suministro.pdf
Ch10-Global Supply Chain - Cadena de Suministro.pdfCh10-Global Supply Chain - Cadena de Suministro.pdf
Ch10-Global Supply Chain - Cadena de Suministro.pdfChristianCDAM
 
Research Methodology for Engineering pdf
Research Methodology for Engineering pdfResearch Methodology for Engineering pdf
Research Methodology for Engineering pdfCaalaaAbdulkerim
 
"Exploring the Essential Functions and Design Considerations of Spillways in ...
"Exploring the Essential Functions and Design Considerations of Spillways in ..."Exploring the Essential Functions and Design Considerations of Spillways in ...
"Exploring the Essential Functions and Design Considerations of Spillways in ...Erbil Polytechnic University
 
Risk Management in Engineering Construction Project
Risk Management in Engineering Construction ProjectRisk Management in Engineering Construction Project
Risk Management in Engineering Construction ProjectErbil Polytechnic University
 
Main Memory Management in Operating System
Main Memory Management in Operating SystemMain Memory Management in Operating System
Main Memory Management in Operating SystemRashmi Bhat
 
Earthing details of Electrical Substation
Earthing details of Electrical SubstationEarthing details of Electrical Substation
Earthing details of Electrical Substationstephanwindworld
 
THE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTION
THE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTIONTHE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTION
THE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTIONjhunlian
 
Indian Dairy Industry Present Status and.ppt
Indian Dairy Industry Present Status and.pptIndian Dairy Industry Present Status and.ppt
Indian Dairy Industry Present Status and.pptMadan Karki
 
Arduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.pptArduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.pptSAURABHKUMAR892774
 
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)Dr SOUNDIRARAJ N
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024Mark Billinghurst
 
Energy Awareness training ppt for manufacturing process.pptx
Energy Awareness training ppt for manufacturing process.pptxEnergy Awareness training ppt for manufacturing process.pptx
Energy Awareness training ppt for manufacturing process.pptxsiddharthjain2303
 
Internet of things -Arshdeep Bahga .pptx
Internet of things -Arshdeep Bahga .pptxInternet of things -Arshdeep Bahga .pptx
Internet of things -Arshdeep Bahga .pptxVelmuruganTECE
 

Último (20)

Engineering Drawing section of solid
Engineering Drawing     section of solidEngineering Drawing     section of solid
Engineering Drawing section of solid
 
Crystal Structure analysis and detailed information pptx
Crystal Structure analysis and detailed information pptxCrystal Structure analysis and detailed information pptx
Crystal Structure analysis and detailed information pptx
 
Comparative study of High-rise Building Using ETABS,SAP200 and SAFE., SAFE an...
Comparative study of High-rise Building Using ETABS,SAP200 and SAFE., SAFE an...Comparative study of High-rise Building Using ETABS,SAP200 and SAFE., SAFE an...
Comparative study of High-rise Building Using ETABS,SAP200 and SAFE., SAFE an...
 
Autonomous emergency braking system (aeb) ppt.ppt
Autonomous emergency braking system (aeb) ppt.pptAutonomous emergency braking system (aeb) ppt.ppt
Autonomous emergency braking system (aeb) ppt.ppt
 
Input Output Management in Operating System
Input Output Management in Operating SystemInput Output Management in Operating System
Input Output Management in Operating System
 
Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...
 
Ch10-Global Supply Chain - Cadena de Suministro.pdf
Ch10-Global Supply Chain - Cadena de Suministro.pdfCh10-Global Supply Chain - Cadena de Suministro.pdf
Ch10-Global Supply Chain - Cadena de Suministro.pdf
 
Research Methodology for Engineering pdf
Research Methodology for Engineering pdfResearch Methodology for Engineering pdf
Research Methodology for Engineering pdf
 
"Exploring the Essential Functions and Design Considerations of Spillways in ...
"Exploring the Essential Functions and Design Considerations of Spillways in ..."Exploring the Essential Functions and Design Considerations of Spillways in ...
"Exploring the Essential Functions and Design Considerations of Spillways in ...
 
Risk Management in Engineering Construction Project
Risk Management in Engineering Construction ProjectRisk Management in Engineering Construction Project
Risk Management in Engineering Construction Project
 
Main Memory Management in Operating System
Main Memory Management in Operating SystemMain Memory Management in Operating System
Main Memory Management in Operating System
 
Earthing details of Electrical Substation
Earthing details of Electrical SubstationEarthing details of Electrical Substation
Earthing details of Electrical Substation
 
THE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTION
THE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTIONTHE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTION
THE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTION
 
young call girls in Green Park🔝 9953056974 🔝 escort Service
young call girls in Green Park🔝 9953056974 🔝 escort Serviceyoung call girls in Green Park🔝 9953056974 🔝 escort Service
young call girls in Green Park🔝 9953056974 🔝 escort Service
 
Indian Dairy Industry Present Status and.ppt
Indian Dairy Industry Present Status and.pptIndian Dairy Industry Present Status and.ppt
Indian Dairy Industry Present Status and.ppt
 
Arduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.pptArduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.ppt
 
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024
 
Energy Awareness training ppt for manufacturing process.pptx
Energy Awareness training ppt for manufacturing process.pptxEnergy Awareness training ppt for manufacturing process.pptx
Energy Awareness training ppt for manufacturing process.pptx
 
Internet of things -Arshdeep Bahga .pptx
Internet of things -Arshdeep Bahga .pptxInternet of things -Arshdeep Bahga .pptx
Internet of things -Arshdeep Bahga .pptx
 

DAC15 Hao Zhuang poster

  • 1. An example of circuit matrices 𝐶&𝐺 from FreeCPU [Zhang &Yu,TCAD13]. Following matrices are LU factorizations of 𝐶&𝐺 combinations • Fig. (c)(d) are usually used in Forward Euler formulation. • Fig. (g)(h) are used in BENR. • Fig. (e)(f) are used in ER & ER-C. We propose an efficient algorithmic framework for time-domain circuit simulation using exponential integrators. This work addresses several critical issues exposed by previous matrix exponential based circuit simulation research, and makes it capable of simulating stiff nonlinear circuit system at a large scale. In this framework, the system’s nonlinearity is treated with exponential Rosenbrock-Euler formulation. The matrix exponential and vector product (MEVP) is computed using invert Krylov subspace method. Our proposed method has several distinguished advantages over conventional formulations (e.g., the well-known BENR, backward Euler with Newton-Raphson method). The matrix factorization is performed only for the conductance/resistance matrix 𝐺, without being performed for the combinations of the capacitance/inductance matrix 𝐶 and matrix 𝐺, which are used in traditional implicit formulations. Furthermore, due to the explicit nature of our formulation, we do not need to repeat LU decompositions when adjusting the length of time steps for error controls. Our algorithm is better suited to solving tightly coupled post-layout circuits in the pursuit for full-chip simulation. ABSTRACT HIGH-ORDER INTEGRATION SCHEME USING EXPONENTIAL INTEGRATORS BACKGROUND & MOTIVATION The algorithmic frameworks are implemented in MATLAB and C/C++, • All devices are evaluated in BSIM3 with MATLAB2013a Executable (MEX) external interface, GCC 4.7.3. Linux workstation • Intel CPU i7 3.4Ghz, 32GB memory. • Utilize single thread mode. • Performance (RT(s): the runtime of time-domain simulation. SP: the runtime speedup.) EXPRIMENTAL RESULTS THE ALGORITHMIC FRAMEWORK • Invert Krylov subspace method 𝐾 𝑚 𝐽−1, 𝑣 = 𝑣, 𝐽−1 𝑣, 𝐽−2 𝑣, … , 𝐽−𝑚+1 𝑣 • MEVP: 𝑒ℎ𝐽 𝑣 = 𝑣 𝑉𝑚 𝑒ℎ𝐻 𝑚 −1 𝑒1 • Residual-based error estimation for the convergence check in MEVP_IKS 𝑟 𝑚 𝑡 = 𝐶 𝑑𝑥 𝑚 𝑡 𝑑𝑡 − 𝐽𝑥 𝑚 𝑡 = 𝑣 𝐶 𝑉𝑚 𝐻 𝑚 −1 𝑒 𝑡𝐻 𝑚 −1 𝑒1 − 𝐽𝑉𝑚 𝑒 𝑡𝐻 𝑚 −1 𝑒1 = − 𝑣 ℎ 𝑚+1,𝑚 𝐺𝑣 𝑚+1 𝑒 𝑚 𝑇 𝐻 𝑚 −1 𝑒 𝑡𝐻 𝑚 −1 𝑒1 (22) Time-domain nonlinear circuit simulation 𝑑𝑞 𝑥 𝑡 /𝑑𝑡 + 𝑓 𝑥 𝑡 = 𝐵𝑢(𝑡) A well-known BENR: Backward Euler Implicit Formulation 𝐶 𝑥 𝑘+1 𝑥 𝑘+1 − 𝑥 𝑘 /ℎ 𝑘 + 𝐺 𝑥 𝑘+1 𝑥 𝑘+1 = 𝐵𝑢 𝑡k+1 + 𝐹 𝑥 𝑘+1 Use Newton-Raphson method (NR) to obtain the solution 𝑥 𝑘+1 at (𝑖 + 1)-th iteration, 𝜕𝑇 𝑥 𝑖 / 𝜕𝑥 𝑥 𝑖+1 − 𝑥 𝑖 = −𝑇(𝑥 𝑖) (3) The Jacobian matrix is 𝜕𝑇 𝑥 /𝜕𝑥, where 𝑇 𝑥 = 𝐶 𝑥 𝑥 − 𝑥 𝑘 /ℎ 𝑘 + 𝐺 𝑥 𝑥 − 𝐵𝑢 𝑡k+1 − 𝐹 𝑥 Once 𝑥 𝑘+1 is updated in the iteration, we need to solve the linear system Eq. (3). 𝑥 𝑘+1 = 𝑒ℎ 𝑘 𝐽(𝑥 𝑘) 𝑥 𝑘 + 𝑒(ℎ 𝑘−𝜏)𝐽(𝑥 𝑘) C−1 (𝑥 𝑘)( 𝐹 𝑥 𝑘 + 𝜏 + 𝐵𝑢(𝑡 𝑘 + 𝜏) ) 𝑑𝜏 ℎ 𝑘 0 where 𝐽 𝑥 𝑘 = −𝐶−1 𝑥 𝑘 𝐺 𝑥 𝑘 [Weng, et. al. TCAD’12] NR with the Jacobian matrix 𝐶 𝑥 𝑖 + ℎ𝜕𝐹 𝑥 𝑖 𝜕𝑥 , where 𝑖 is the iteration number. • Krylov subspace approximation of MEVP 𝐾 𝑚 𝐽, 𝑣 = 𝑣, 𝐽𝑣, 𝐽2 𝑣, … , 𝐽 𝑚−1 𝑣 to obtain 𝑉𝑚, 𝐻 𝑚 via 𝐽𝑉𝑚 = 𝑉𝑚 𝐻 𝑚 + ℎ 𝑚+1,𝑚 𝑣 𝑚+1 𝑒 𝑚 𝑇 then 𝑒ℎ𝐽 𝑣 = 𝑣 𝑉𝑚 𝑒ℎ𝐻 𝑚 𝑒1 * University of California, San Diego, CA, USA +Tsinghua University, Beijing, China Hao Zhuang*, Wenjian Yu+, Ilgweon Kang*, Xinan Wang*, Chung-Kuan Cheng* An Algorithmic Framework of Large-Scale Circuit Simulation Using Exponential Integrators CONCLUSION hao.zhuang@cs.ucsd.edu, yu-wj@tsinghua.edu.cn, igkang@ucsd.edu, xinan@ucsd.edu, ckcheng@ucsd.edu 𝐶, 𝐺 matrices 𝐿 and 𝑈 of 𝑙𝑢(𝐶/ℎ + 𝐺) 𝐿 and 𝑈 of 𝑙𝑢(𝐺) 𝐿 and 𝑈 of 𝑙𝑢(𝐶) • ER:Exponential Rosenbrock-Euler formulation in circuit simulation 𝑑𝑞 𝑥 𝑡 𝑑𝑥 𝑑𝑥 𝑡 𝑑𝑡 = 𝐵𝑢 𝑡 − 𝑓(𝑥) The next time step solution 𝑥 𝑘+1(ℎ 𝑘) = 𝑥 𝑘 + ℎ 𝑘 𝜙1 ℎ 𝑘 𝐽 𝑘 𝑔(𝑥 𝑘, 𝑢, 𝑡 𝑘) + ℎ 𝑘 2 𝜙2 ℎ 𝑘 𝐽 𝑘 𝑏k where 𝐽 𝑘 = −𝐶 𝑘 −1 𝐺 𝑘 and ℎ 𝑘 is the size of time step 𝜙1 ℎ 𝑘 𝐽 𝑘 = (𝑒ℎ 𝑘 𝐽 𝑘−𝐼 𝑛)/ℎ 𝑘 𝐽 𝑘, 𝜙2 ℎ 𝑘 𝐽 𝑘 = (𝑒ℎ 𝑘 𝐽 𝑘−𝐼 𝑛)/ℎ 𝑘 2 𝐽 𝑘 2 − 𝐼 𝑛/ℎ 𝑘 𝐽 𝑘 and 𝑔 𝑘 = 𝐽 𝑘 + 𝐶 𝑘 −1 𝐹(𝑥 𝑘) + 𝐵𝑢 𝑡 𝑘 , 𝑏 𝑘 = 𝐶 𝑘 −1 𝐵𝑢 𝑡 𝑘+1 −𝐵𝑢 𝑡 𝑘 ℎ 𝑘 The local nonlinear error estimator is 𝑒 𝑟𝑟 𝑥 𝑘+1, 𝑥 𝑘 = 𝜙1 ℎ 𝑘 𝐽 𝑘 𝐶 𝑘 −1 Δ 𝐹𝑘 = − 𝑒ℎ 𝑘 𝐽 𝑘 − 𝐼 𝑛 𝐺 𝑘 −1 Δ𝐹𝑘 where Δ𝐹𝑘 = 𝐹 𝑥 𝑘+1 − 𝐹(𝑥 𝑘) represents the response changes inside the nonlinear system along time evolutions. • ER-C:ER with correction terms. Reuse Δ𝐹𝑘 to improve the accuracy. 𝑥 𝑘+1,𝑐 = 𝑥 𝑘+1 − 𝐷 𝑘 where 𝐷 𝑘 = 𝛾ℎ 𝑘 𝜙2 ℎ 𝑘 𝐽 𝑘 𝐶 𝑘 −1 Δ𝐹𝑘 • MEVP is computed by invert Krylov subspace as below: We propose a new and efficient algorithmic framework for time-domain large-scale circuit simulation using exponential integrators: • By virtue of the stable explicit formulation of solving ODE, we remove Newton-Raphson iterations and reduce the number of LU decomposition operations. • MEVP is computed by efficient invert Krylov subspace, which also keeps capacitance/inductance matrix 𝐶 from expensive matrix factorizations, avoids the time- consuming regularization process when 𝐶 is singular. • No repeated LU decompositions when adjusting the length of time steps for error controls. • The proposed method can handle many parasitics, strongly coupled and post-layout circuits, while conventional methods are not applicable. We test our proposed framework (ER&ER-C) against standard backward Euler method with Newton-Raphson iterations (BENR). Our framework does not only accelerate the simulation, but also manages to finish the challenging test cases, even when BENR fails. • Build upon the stable explicit formulation using more accurate exponential integration than traditional schemes. • No Newton-Raphson iteration. • Adjust error by adaptive step-size control. • Fast MEVP computations via Invert Krylov subspace method (MEVP_IKS). • No factorization with matrix 𝐶. LOW-ORDER TIME INTEGRATION SCHEME MEVP VIA INVERT KRYLOV SUBPSACE METHOD (MEVP_IKS) PREVIOUS MATRIX EXPONENTIAL BASED METHOD & MEVP VIA STANDARD KRYLOV SUBSPACE METHOD