Thermal-ADI: a Linear-Time Chip-Level Dynamic Thermal Simulation Algorithm Based on Alternating-Direction-Implicit(ADI) Method Good afternoon! The topic.

Slides:



Advertisements
Similar presentations
4 th order Embedded Boundary FDTD algorithm for Maxwell Equations Lingling Wu, Stony Brook University Roman Samulyak, BNL Tianshi Lu, BNL Application collaborators:
Advertisements

Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. by Lale Yurttas, Texas A&M University Chapter 301 Finite.
Partial Differential Equations
Computational Modeling for Engineering MECN 6040
Numerical modeling example A simple s teel reheat furnace model – pg Reheat furnace Hot steel slabRolling mill Final product.
Chapter 8 Elliptic Equation.
Computational Fluid Dynamics
P. Venkataraman Mechanical Engineering P. Venkataraman Rochester Institute of Technology DETC2013 – 12269: Continuous Solution for Boundary Value Problems.
5/4/2015rew Accuracy increase in FDTD using two sets of staggered grids E. Shcherbakov May 9, 2006.
Parabolic Partial Differential Equations
Session: Computational Wave Propagation: Basic Theory Igel H., Fichtner A., Käser M., Virieux J., Seriani G., Capdeville Y., Moczo P.  The finite-difference.
Total Recall Math, Part 2 Ordinary diff. equations First order ODE, one boundary/initial condition: Second order ODE.
1 Internal Seminar, November 14 th Effects of non conformal mesh on LES S. Rolfo The University of Manchester, M60 1QD, UK School of Mechanical,
CHE/ME 109 Heat Transfer in Electronics LECTURE 12 – MULTI- DIMENSIONAL NUMERICAL MODELS.
Lecture 34 - Ordinary Differential Equations - BVP CVEN 302 November 28, 2001.
Multi-Cluster, Mixed-Mode Computational Modeling of Human Head Conductivity Adnan Salman 1, Sergei Turovets 1, Allen Malony 1, and Vasily Volkov 1 NeuroInformatics.
Parabolic PDEs Generally involve change of quantity in space and time Equivalent to our previous example - heat conduction.
Analytical Thermal Placement for VLSI Lifetime Improvement and Minimum Performance Variation Andrew B. Kahng †, Sung-Mo Kang ‡, Wei Li ‡, Bao Liu † † UC.
Dr. Jennifer Parham-Mocello. What is an IDE? IDE – Integrated Development Environment Software application providing conveniences to computer programmers.
Computational Fluid Dynamics I PIW Numerical Methods for Parabolic Equations Instructor: Hong G. Im University of Michigan Fall 2005.
CISE301: Numerical Methods Topic 9 Partial Differential Equations (PDEs) Lectures KFUPM (Term 101) Section 04 Read & CISE301_Topic9.
SE301: Numerical Methods Topic 9 Partial Differential Equations (PDEs) Lectures KFUPM Read & CISE301_Topic9 KFUPM.
Numerical methods for PDEs PDEs are mathematical models for –Physical Phenomena Heat transfer Wave motion.
Two-Dimensional Heat Analysis Finite Element Method 20 November 2002 Michelle Blunt Brian Coldwell.
© 2011 Autodesk Freely licensed for use by educational institutions. Reuse and changes require a note indicating that content has been modified from the.
Lecture Objectives: Review discretization methods for advection diffusion equation Accuracy Numerical Stability Unsteady-state CFD Explicit vs. Implicit.
Tutorial 5: Numerical methods - buildings Q1. Identify three principal differences between a response function method and a numerical method when both.
Scientific Computing Partial Differential Equations Introduction and
Finite Differences Finite Difference Approximations  Simple geophysical partial differential equations  Finite differences - definitions  Finite-difference.
Australian Journal of Basic and Applied Sciences, 5(11): , 2011 ISSN Monte Carlo Optimization to Solve a Two-Dimensional Inverse Heat.
Simulating Electron Dynamics in 1D
Lecture 3.
Lecture Objectives: Analyze the unsteady-state heat transfer Conduction Introduce numerical calculation methods Explicit – Implicit methods.
Scientific Computing Partial Differential Equations Implicit Solution of Heat Equation.
Two-Dimensional Conduction: Finite-Difference Equations and Solutions
Programming assignment #2 Solving a parabolic PDE using finite differences Numerical Methods for PDEs Spring 2007 Jim E. Jones.
二維反平面力學與穩態熱傳問題之 理論解析 編 號 : NSC E 執行期限: 97 年 08 月 01 日至 98 年 07 月 31 日 執行機構:南台科技大學機械系 主持人 :林 儒 禮 :
Chapter 5: Numerical Methods in Heat Transfer
Transient Conduction: Finite-Difference Equations and Solutions Chapter 5 Section 5.9  
Engineering Analysis – Computational Fluid Dynamics –
An Introduction to Heat Transfer Morteza Heydari.
HW2 Due date Next Tuesday (October 14). Lecture Objectives: Unsteady-state heat transfer - conduction Solve unsteady state heat transfer equation for.
MECN 3500 Inter - Bayamon Lecture 9 Numerical Methods for Engineering MECN 3500 Professor: Dr. Omar E. Meza Castillo
HEAT TRANSFER FINITE ELEMENT FORMULATION
Finite Element Methods and Crack Growth Simulations Materials Simulations Physics 681, Spring 1999 David (Chuin-Shan) Chen Postdoc, Cornell Fracture Group.
Lecture Objectives: Discuss the HW1b solution Learn about the connection of building physics with HVAC Solve part of the homework problem –Introduce Mat.
CIS/ME 794Y A Case Study in Computational Science & Engineering 2-D conservation of momentum (contd.) Or, in cartesian tensor notation, Where repeated.
Discretization for PDEs Chunfang Chen,Danny Thorne Adam Zornes, Deng Li CS 521 Feb., 9,2006.
Lecture Objectives: -Define the midterm project -Lean about eQUEST -Review exam problems.
Lecture Objectives: Continue with linearization of radiation and convection Example problem Modeling steps.
MULTIDIMENSIONAL HEAT TRANSFER  This equation governs the Cartesian, temperature distribution for a three-dimensional unsteady, heat transfer problem.
Finite-Difference Solutions Part 2
3/23/05ME 2591 Numerical Methods in Heat Conduction Reference: Incropera & DeWitt, Chapter 4, sections Chapter 5, section 5.9.
ERT 216 HEAT & MASS TRANSFER Sem 2/ Dr Akmal Hadi Ma’ Radzi School of Bioprocess Engineering University Malaysia Perlis.
Lecture Objectives: - Numerics. Finite Volume Method - Conservation of  for the finite volume w e w e l h n s P E W xx xx xx - Finite volume.
An Introduction to Computational Fluids Dynamics Prapared by: Chudasama Gulambhai H ( ) Azhar Damani ( ) Dave Aman ( )
Computational Fluid Dynamics Lecture II Numerical Methods and Criteria for CFD Dr. Ugur GUVEN Professor of Aerospace Engineering.
Chapter 30.
Announcement MATHCAD for solving system of equation for HW1b
Prof. Pavel A. Akimov, Prof. Marina L. Mozgaleva
HW2 Example MatLab Code is posted on the course website
Announcement MATHCAD for solving system of equation for HW1b
Finite Volume Method for Unsteady Flows
Analytical Tools in ME Course Objectives
Thermal-ADI: a Linear-Time Chip-Level Dynamic Thermal Simulation Algorithm Based on Alternating-Direction-Implicit(ADI) Method Good afternoon! The topic.
Lecture Objectives: Analysis of unsteady state heat transfer HW3.
topic4: Implicit method, Stability, ADI method
Comparison of CFEM and DG methods
6th Lecture : Numerical Methods
Presentation transcript:

Thermal-ADI: a Linear-Time Chip-Level Dynamic Thermal Simulation Algorithm Based on Alternating-Direction-Implicit(ADI) Method Good afternoon! The topic that I am going to talk today is “Thermal-ADI: a Linear-Time Chip-Level Dynamic Thermal Simulation Algorithm Based on Alternating-Direction-Implicit(ADI) Method.” My name is Ting-Yuan Wang. This work was supervised by my advisor, Professor Charlie Chen. We are from Electrical and Computer Engineering at University of Wisconsin-Madison. Ting-Yuan Wang Charlie Chung-Ping Chen Electrical and Computer Engineering University of Wisconsin-Madison April 4 2001

Motivation 1999 International Technology Roadmap for Semiconductor (ITRS) Maximum power Number of metal layers Wire current density Due to the relentless push for high speed, high performance, and high component density, the power density and the on-chip temperature in the high-end VLSI circuits rise significantly. The 1999 International Technology Roadmap for Semiconductors (ITRS) shows that the maximum power, number of metal layers, and the wire current density will significantly increase for the future high-performance Microprocessor Unit (MPU). This trend shows the importance of thermal issues on VLSI design. April 4 2001

Maximum number of metal level 1999 ITRS Year 1999 2000 2001 2002 2003 2004 2005 2008 2011 2014 Technology Node (nm) 180 - 130 100 70 50 35 Maximum Power (W) 90 115 140 150 160 170 174 183 On-chip, across-chip clock (MHz) 1200 1321 1454 1600 1724 1857 2500 3004 3600 Maximum number of metal level 7 8 9 10 5.8e5 7.1e5 8.0e5 9.5e5 1.1e6 1.3e6 1.4e6 2.1e6 3.7e6 4.6e6 This table shows the trend. What’s the problem for high temperature? High temperature not only causes timing failures for both transistors and interconnects but also degrades chip reliability. For example, electromigration (EM) effect for the interconnects is exponentially proportional to the temperature. So, how do we effectively analyze the thermal distributions and locate the hot spots are very important. April 4 2001

Existing Thermal Simulation Methods Finite Difference Method Easy, good for regular geometry, fast Finite Element Method More complicated, good for irregular geometry Equivalent RC Model (S.M. Kang) Compatible with SPICE model, need to solve large scale matrix April 4 2001

Finite-Difference Formulation of the Heat Conduction on a Chip Space Domain Time Domain For a given chip, there are two steps to establish the finite-difference method. First step is to discretize the continuous space domain. The second step is to discretize the time domain. During the following discussions of discretization, we will concern the accuracy and stability issues. April 4 2001

Heat Conduction Equation where : Temperature : Material density : Specific heat : Heat generation rate : Time : Thermal conductivity This is the heat conduction equation. It is a second-order parabolic partial differential equation. Where …….. April 4 2001

Increasing rate of stored Energy Conservation Before talking the time domain discretization, let’s look at the energy conservation of the heat conduction equation. It can be explained physically as the increasing rate of the stored energy in a control unit volume being equal to the net rate of energy transferring into the volume and heat generation rate from the volume. Increasing rate of stored energy which causes temperature increase Net rate of energy transferring into the volume Heat generation rate in the volume April 4 2001

Space Domain Discretization Heat Conduction Equation Central-Finite-Difference Approximation Let’s see this heat conduction equation. It is a second-order parabolic partial differential equation. For space domain discretization, we use central-finite-deference approximation to represent the second order partial derivative term in order to have a second order accuracy. Next, we replace partial derivative terms by the difference term. April 4 2001

Time domain discretization Heat Conduction Equation Simple Explicit Method Simple Implicit Method Crank-Nicolson Method So, the concerns are coming from what time step will be used to update this term? N or n+1? There are three choices of time updating: simple explicit method, simple implicit method, and Crank-Nicolson method. April 4 2001

Simple Explicit Method Accuracy: Stability Constraint: No matrix inversion but time steps are limited by space discretization For the simple explicit method, we apply the explicit update on the right-hand side of the equation. This method has second order accuracy on space and first order accuracy on time. However, this method need to satisfy the stability constraint in order to avoid fluctuation. April 4 2001

Simple Implicit Method Accuracy: Unconditionally Stable No limits on time step but involves with large scale matrix inversion For the simple implicit method, we apply the implicit update on the right-hand side of the equation. This method has second second-order accuracy on space and first order accuracy on time. But this method is unconditionally stable. April 4 2001

Crank-Nicolson Method For the Crank-Nicolson method, we take the average of simple explicit and implicit on the right hand side of the equation. This method not only has second order accuracy on space but also on time. Fortunately, this method also sustains unconditional stability. Accuracy: Unconditionally stable No limits on time step but involves with large scale matrix inversion April 4 2001

Analysis of Crank-Nicolson Method e.x. m=4,n=4 Total node number N = mn n For a two-dimensional mesh with total number of nodes N = mn, it requires a matrix with size NxN. To solve the equations Ax = b by LU decomposition or Cholesky decomposition, the runtime and memory requirement are superlinear with sparse matrix techniques. Therefore, we will face the difficulty of computational intense. m Matrix size = NxN April 4 2001

Alternating Direction Implicit Method Solves higher dimension problem by successive Lower dimension methods Accuracy: Unconditionally stable No limits on time step and no large scale matrix inversion The ADI (Alternating Direction Implicit) method is a process to reduce the two-dimensional or three-dimensional problems to a succession of two or three one-dimensional problems. This algorithm separates the time step from n to n+1 into two sub time steps: from n to n+1/2 and from n+1/2 to n+1.During Step I, it applies the implicit update in the x-direction and the explicit update in the y-direction. During Step II, it applies the explicit update in the x-direction and the implicit update in the y-direction. We have two different approaches to ADI method: Peaceman-Rachford and Douglas-Gunn Algorithm. April 4 2001

Alternating Direction Implicit Method Step I: x-direction implicit y-direction explicit Step II: x-direction explicit y-direction implicit n The ADI (Alternating Direction Implicit) method is a process to reduce the two-dimensional or three-dimensional problems to a succession of two or three one-dimensional problems. This algorithm separates the time step from n to n+1 into two sub time steps: from n to n+1/2 and from n+1/2 to n+1.During Step I, it applies the implicit update in the x-direction and the explicit update in the y-direction. During Step II, it applies the explicit update in the x-direction and the implicit update in the y-direction. We have two different approaches to ADI method: Peaceman-Rachford and Douglas-Gunn Algorithm. Peaceman-Rachford Algorithm Douglas-Gunn Algorithm April 4 2001

Peaceman-Rachford Algorithm Step I Step II Peaceman-Rachford Algorithm. After rearranging the heat conduction equation, we have the form like this. For step I, we take the implicit term of x and explicit term of y, as shown in the figure with green color. For step II, we take the implicit term of y and explicit term of x, as shown in the figure with yellow color. This algorithm has second-order accuracy both in space and time domain. April 4 2001

Douglas-Gunn Algorithm Step I Step II For Douglas-Gunn algorithm, the other scheme was used. The heat conduction can be rearranged like this. For step I, we apply the implicit update with x, and keep y direction with explicit update. During step II, we apply the explicit update in x direction, but this term is from step I. Also we apply the implicit update with y. This algorithm has a second accuracy in both space and time domains. April 4 2001

Illustration for ADI Step I Step II X-direction implicit Y-direction implicit n n … … This is the illustration of ADI method. In step I,for every j, there are m equations for the corresponding (i,j) points. Since each point (i,j) is related to two points (i-1,j) and (i+1,j), the coefficient matrix for each row is in tridiagonal form which can be solved with time complex O(m). There is a similar procedure for step II. 2 2 j = 1 j = 1 i = 1 2 … m 1 2 … m April 4 2001

Analysis of ADI Method X-direction implicit Tridiagonal Matrix n … 2xnxm = 2nm =2N This is the analysis of ADI method. For every j, we has a tridiagonal matrix like this. So totally we need 2 steps, each step need to solve n matrices, and each matrix needs time m. So the total time complex is O(N). 2 2 steps n matrices tridaigonal matrix j = 1 i = 1 2 … m Time complexity: O(N) April 4 2001

Boundary Condition April 4 2001 Boundary conditions. So far we have not concern about the boundary conditions yet. The difference equations we discussed so far are only for the nodes inside this region. How do we deal with the nodes on the boundary and still have second order accuracy? Let’s look at the points on the boundary, region I and II. April 4 2001

Boundary Conditions (cont’d) We introduce virtual points here outside the boundary to help deriving the equations. April 4 2001

Convection Boundary Condition Central-finite-difference approximation Virtual points For the convection boundary condition, we have the equations like this. By the central-finite-difference approximation, we can get the difference equation like this. This will keep the second order accuracy. This is the heat difference equation with point on the boundary. By solving these simultaneous equations, we can eliminate the virtual points and get the difference equations for the nodes on the boundary. April 4 2001

Flowchart Flowchart. April 4 2001

Three Different Locations of Node (case I) (case II) (case III) (i,j+1) (i,j+1) (i,j+1) Si Si Heat Source Heat Source Heat Source (i-1,j) (i,j) (i+1,j) (i-1,j) (i,j) (i+1,j) (i-1,j) (i,j) (i+1,j) For the implementation, we need to consider three different situations of layout extraction. For case I, the node is on the corner. For case II, the node is at the boundary between two materials. For case III, the node is inside the heat source. For case I and II, we need to modify the difference equations we had discussed. But we don’t talk about the details here. (i,j-1) (i,j-1) (i,j-1) April 4 2001

Results comparison April 4 2001 The temperature of transient thermal simulation at a random chosen point is shown here. The error of the Douglas-Gunn algorithm compared to the Crank-Nicolson method is less than 0.1.However, the error of the Peaceman-Rachford algorithm compared to the Crank-Nicolson method is 2.25 %. Of course, the error also depends on the delta t we choose. April 4 2001

Result – Run Time Comparison I The runtime comparison of the Crank-Nicolson method, Peaceman-Rachford algorithm, and Douglas-Gunn algorithm is shown here. The runtime of the Douglas-Gunn and Peaceman-Rachford algorithm is linearly proportional to the number of nodes as shown with size up to $10^{8}$. However, the runtime of Crank-Nicolson method increases dramatically. 5000X April 4 2001

Result – Run Time Comparison II April 4 2001

Results – Memory Usages I the memory usages of the Douglas-Gunn and Peaceman-Rachford Algorithms are linearly proportional to the number of nodes up to $10^{8}$. However, the memory usage of Crank-Nicolson Method increases dramatically. April 4 2001

Results – Memory Usages II April 4 2001

Results – Stability Constraint The stability constraint gamma was varied from 0.4 to 20 as shown here, where 1/2 is the stability limit. We can see it is stable. Gamma is the stability limit for simple explicit method April 4 2001

Results – Error v.s. Time Interval As illustrated here, the larger $\Delta t$ of the Douglas-Gunn algorithm turns out to have the bigger deviation away from the curve of the Crank-Nicolson method. April 4 2001

Thank you for your attention! April 4 2001