Modeladvanced
Compact thermal model
Also called thermal RC network model, HotSpot model.
An equivalent RC network of the die, spreader and heat sink whose nodes are block temperatures, solved to give chip temperature maps from power maps quickly.
A compact thermal model represents the heat flow in a chip package by a network of thermal resistances and capacitances. Each node stands for a block of the die, a cell of a grid, or a part of the package such as the heat spreader or the heat sink, and its unknown is that part's temperature. Given the power that each block dissipates, the model gives the temperatures by solving a small linear system in the steady state, or a linear system of ordinary differential equations in the transient. It is the thermal counterpart of an electrical RC network: temperature plays the part of voltage and heat flow the part of current. Architects and physical designers use it to get a temperature map from a power map in milliseconds, where a finite element solve takes much longer.
The network is a coarse discretization of the heat equation, so its structure is physics. Several of its parameters, though, are fitted: the convection resistance from the heat sink to the air, the conductivity and thickness of the thermal interface material, and correction factors for the spreading of heat and for the lumped capacitances, which make the coarse model match a fine solver or a measurement. The temperatures it gives are as good as these fits.
The machine
Nodes. One node per die block (or grid cell), plus nodes for the interface material, the spreader and the sink, often several per layer. Let be the temperature of node above the ambient air.
Conductances. Between two nodes and that share a face, heat flows at the rate , Fourier's law in discrete form. For a slab of conductivity , area and thickness crossed by the heat, . Lateral conductances between neighbor blocks use the shared edge and the distance between the block centers. Nodes on the outside, usually the sink, lose heat to the air at the rate , with the inverse of a fitted convection resistance. All .
Capacitances. Node stores heat with capacitance , the volumetric heat capacity times the volume, often scaled by a fitted factor.
Sources. is the power dissipated in node : switching (dynamic power) plus leakage power for die blocks, and 0 for package nodes.
Equations. Energy balance at each node gives
that is, , with diagonal and the conductance matrix: and . In the steady state, .
The duality.
| thermal | electrical |
|---|---|
| temperature rise (K) | voltage (V) |
| heat flow (W) | current (A) |
| thermal resistance (K/W) | resistance (Ω) |
| heat capacity (J/K) | capacitance (F) |
| power of a block | current source |
| ambient air | ground |
Under this map, is the nodal equation of a resistor network fed by current sources, the same equation as in power grid analysis. is a weighted Laplacian matrix of the network plus the diagonal of the ambient conductances.
What it counts
The model counts temperatures: the steady temperature of each node for a constant power map, and the temperature trajectory for a power trace. It does not resolve features smaller than a node, so the peak temperature inside a block is higher than the node value, and a finer grid is used for hot spots. It assumes constant conductivities (silicon conductivity in fact falls as temperature rises), linear convection at the sink, and a known ambient temperature.
Relation to other models
- Heat equation. The network is a finite volume discretization of the heat equation on a few coarse cells, the same kind of matrix the finite difference method gives on a fine grid. A fine grid of the same layers turns the compact model into a full solver.
- Power grid. The electrical twin of the steady state is the IR drop problem. The same solvers apply: Cholesky decomposition for small and medium networks, and the conjugate gradient method with a preconditioner for large grids.
- Transient. is a stiff linear system: the die responds in milliseconds and the sink in seconds or minutes. Implicit steps such as the backward Euler method are the usual choice.
- Leakage. Leakage power grows roughly exponentially with temperature, so depends on and the steady state is a fixed point (see below).
- Reliability. Temperature enters Black's equation and the NBTI reaction-diffusion model through Arrhenius factors, so their lifetimes need this model's temperature map.
Known results in the model
Assume every connected part of the network has at least one node with , a path for heat to reach the air. Without it, no steady state exists for positive power.
Theorem 1 (symmetric positive definite). is symmetric and positive definite.
Proof. Symmetry holds since . For any vector , grouping the terms of by edge gives
If it is 0, then across every edge with , so is constant on each connected part, and at each node with . Each part has such a node, so .
Corollary (the steady state). For each power vector , the steady state is the unique solution of . It can be computed by Cholesky, and every eigenvalue of is real and positive, since is similar to the symmetric positive definite . So every transient mode decays, with time constants , and tends to for constant .
Theorem 2 (more power never cools). If then . If the network is connected and , , then at every node. So all entries of are positive, and raising any block's power raises every temperature.
Proof. Let be a node of smallest and suppose . Row of reads . Each term on the left is , so each is 0: for every neighbor, and . Repeating at the neighbors spreads the minimum over the connected part, which contains a node with , a contradiction. So . For strictness, if at some node, the same row gives with all , so the neighbors are 0 and , and by connectivity and . Taking equal to a unit vector shows that each column of is positive.
Example. Three die blocks in a row (nodes 1 to 3), one spreader (node 4) and one sink (node 5). Conductances in W/K: lateral , each block to the spreader 2, spreader to sink 10, sink to air 2. Powers W.
Its leading principal minors are , , , and , all positive, as Theorem 1 says. The exact solution, in rational arithmetic, is
The sink is at K because all 17 W leave through its 2 W/K, and the spreader is K above it because all 17 W cross the 10 W/K link. The smallest entry of is K/W, positive, as Theorem 2 says. Putting all 17 W in block 1 gives block temperatures K, and putting it in block 2 gives K. The package nodes do not change, but the hottest block is 1.0 K cooler when the power sits in the middle, where it spreads both ways.
Leakage and thermal runaway. Take one node with thermal resistance to the air, dynamic power and a leakage model , itself a fitted law. The steady state solves . A solution stops existing when the right side becomes tangent to the line, that is when at a solution, which gives the critical by . For W, W and per K, the iteration from converges in 18 steps to K for K/W. The critical value is K/W, and above it the iteration diverges: in this model the chip has no steady state and heats without bound, which is thermal runaway. Real packages limit power before this point, and the exponential leakage law stops holding at high temperature.
References
- Wei Huang, Shougata Ghosh, Sivakumar Velusamy, Karthik Sankaranarayanan, Kevin Skadron and Mircea R. Stan, HotSpot, a compact thermal modeling methodology for early-stage VLSI design, IEEE Transactions on Very Large Scale Integration (VLSI) Systems 14(5), 501 to 513, 2006, the duality between heat flow and electrical current, the construction of the RC network for the die, the interface material, the spreader and the sink at block and grid granularity, the fitted factors, and the comparison with a finite element solver
- Kevin Skadron, Mircea R. Stan, Wei Huang, Sivakumar Velusamy, Karthik Sankaranarayanan and David Tarjan, Temperature-aware microarchitecture, Proceedings of the 30th International Symposium on Computer Architecture, 2003, the first form of the block-level thermal RC model and its use with architectural power models (general locator, page numbers not checked)
Where this leads
About this page
The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.
| Ladder | Level | What the next level needs |
|---|---|---|
| Human proof | H0 no proof |
|
| Lean | L0 no Lean part |
|
| Visual | V0 none |
|
| Writing | W4 complete |
|
Tag KNKRTS Edit this page History Report an error Markdown