Last checked · Chain step 08: And then: electricity

How does electricity get from the grid to an AI chip?

Read in 8 min · card 08, and then: electricity

Electricity reaches an AI data centre at a high voltage and is converted several times on its way to the chip: down in voltage, through the backup systems, from AC to DC, and down again until, right beside the chip, it is a very low voltage carrying a very large current. Every conversion turns a little of the energy into heat, so the whole path is designed around losing as little as possible.

That is the short answer. The electricity explainer covers why AI sites need so much power and why the grid is slow to extend. This page starts at the fence and follows the power inside. Most of today’s sources are IEEE Spectrum articles and research preprints on arXiv. Some were written by people at firms that make the parts. I have used those for the general technique only.

At the fence

Drew Robb, writing in IEEE Spectrum, sets out the usual chain. The utility delivers medium-voltage alternating current, or AC. A transformer steps it down to low-voltage AC for use inside the building. A preprint by Ali and Pandey, modelling a data centre and its grid, describes the same arrangement. The site connects through step-down transformers, and a low-voltage bus feeds the computing equipment, the cooling motors and everything else.

A preprint by Challa, Zhou and Jhala describes a site’s whole electrical design as a mix of high-, medium- and low-voltage distribution, with standby generators, uninterruptible power supplies (UPS) and battery storage. It is often built from repeated modular blocks, so a site can grow without its layout changing.

The backup in the middle

Next comes the UPS. In Robb’s description, it turns AC into direct current, or DC, to charge its batteries, and then turns it back into AC. This is called double conversion. The output stays clean and steady whatever the supply is doing. Ali and Pandey’s model lists the parts: a rectifier to make DC, an inverter to make AC again, a battery, and a converter on the DC side.

AI loads make this harder, because they change quickly. Edd Gent, writing in IEEE Spectrum, explains that a GPU can jump from idle to full draw almost instantly, faster than many generators can follow. Training pulses, because many chips work in step, and those swings can line up with the grid’s own natural rhythms and grow. After a fault on a transmission line, Gent adds, data centres can switch to their backup power as a precaution. That switch itself disturbs the grid. The more sites react together, the larger the effect.

In a second Spectrum article, Robb describes the other side. A brief dip in voltage can make a large load drop off the grid. Ride-through means staying connected through such a dip. Batteries and rectifiers placed between the grid and the site can smooth the swings.

Across the hall to the rack

From the UPS, power travels to the racks along busbars, which are thick bars of copper. Here the physics starts to matter. For the same power, a lower voltage needs more current. More current means more energy lost in the resistance of the metal, and thicker copper to carry it. Robb notes that at the power an AI rack draws, the busbars and converters become very bulky.

Some designs take another route. They convert the incoming AC to DC at a much higher voltage, once, near the edge of the site, carry it on a DC bus, and use compact DC-to-DC converters at each rack. Robb describes this as removing several intermediate steps, with fewer power supplies and fans, less heat and a smaller footprint. Higher voltage means less current, and so less loss in the wires. In his second article he reports that operators are testing high-voltage DC inside large AI sites, to fit more computing into less space with lighter cables. It is a technique. I have not said who uses it, or when.

Inside the server

In the usual AC design, each server has its own power supply, which turns AC into a low DC voltage. A preprint by Intal and Ebong lists the stages from grid to processor in more detail. It begins with power-factor correction, which shapes how the incoming AC current is drawn so the supply takes it cleanly. Isolated DC-to-DC conversion then changes the voltage while keeping sections electrically separate. An intermediate DC bus carries power through the racks and boards. Last comes point-of-load regulation, close to the processor.

Intal and Ebong also note that different transistor materials, among them silicon, silicon carbide and gallium nitride, suit different stages. I have not repeated their comparison.

The last short stretch

The processor at the end runs at a very low voltage. Perri Thaler, writing in IEEE Spectrum, explains why that is awkward. For a fixed power, the lower the voltage, the higher the current. Current moving along any conductor wastes energy as heat, and the loss rises much faster than the current itself. In usual designs the final conversion happens some way from the processor, across the circuit board, so the largest current travels the furthest.

The answer is to shorten that path. Voltage regulators move closer to the chip, onto the package or underneath it, feeding power up from below through the package substrate. Thaler explains the part that makes a regulator hard to shrink. An inductor stores energy for a moment and lets it out evenly, so the regulator’s output stays steady. Inductors usually need size to handle energy. Switching faster lets them be smaller. Thaler also reports a point from Hanh-Phuc Le of UC San Diego: real savings also need power management that follows what the workload is doing.

A preprint by Zahner, Habibi and Ferdowsi calls this vertical power delivery. AI processors draw ever larger currents, they write, and sending power sideways across the board is struggling to keep up. Their simulations find that placing the regulator directly beneath the die greatly reduces the loop’s inductance, which is its resistance to fast changes in current. That matters when a chip’s demand swings quickly. Whether it works in practice, they write, depends on the regulator’s height, on embedding the small passive components, and on heat.

The trade

Krishnakumar and Partin-Vaisband, in an earlier preprint, set out the trade. The wiring between board and die has become the biggest source of loss. Carrying power at a higher voltage and lower current, vertically, cuts that loss. But converting a lot of power right beside the chip brings more losses in the switching and the inductors, in the place where heat is hardest to remove. Their options include power transistors and inductors in or on an interposer, a dedicated power die, and conversion in several stages. Each design chooses where its losses go.

Into the chip

The power still has some way to travel. Brian Cline, Divya Prasad, Eric Beyne and Odysseas Zografos, writing in IEEE Spectrum, trace it: copper traces on the board, the package and its solder balls, then down through the chip’s stack of metal layers to the transistors at the bottom. The top layers are wide and carry power easily. The lowest are tiny. Power and signal wiring compete for the same layers, wires grow more resistive as they shrink, and designers allow only a small voltage drop between the package and the transistors. Some power is lost at every stage.

One answer moves the power wiring to the back. In backside power delivery, Laura Peters explains in Semiconductor Engineering, the power network moves to the underside of the wafer, leaving the front for signals. Power reaches the transistors by a shorter, less resistive path, so the voltage sags less. James Myers, in IEEE Spectrum, adds that less loss on the way lets the chip be fed a lower voltage, which lowers its heat.

The difficulty is in making and cooling it. Peters describes grinding away almost all the silicon and lining the back wiring up precisely with the front. The thinned chip, with its transistors between two wiring stacks, spreads heat sideways less well, so hot spots can get hotter. The process node explainer covers the transistors themselves.

Where the losses go

Every conversion on this path wastes a little energy, and Robb notes that most of it becomes heat. Intal and Ebong make the same link: losses in the converter chain also mean more cooling. The cooling explainer covers how that heat is removed.

Where it sits in the chain

This is the last step of the chain: and then, electricity. The electricity explainer covered the grid side. This page covers the path inside the fence, which ends on the same board as the accelerator it feeds.

My sources describe the stages but not how a site decides how much backup to keep, how DC at a higher voltage is made safe to work on, or how regulators placed under a package are tested to last. Several searches came back with nothing, so my coverage of this step is patchy. These stay on my gaps list.

Where this leaves me

Electricity arrives at a high voltage and is converted, again and again, until it reaches the chip at a very low voltage and a very large current. Designers move the last conversion as close to the chip as they can, and then cope with the heat that brings.

I reached this step by asking why my compute order is queued. I had hoped electricity would be the end of the answer. It turns out to be a path with many stages, each of which loses something on the way. My order has been through a few stages of its own. It has not reached a chip either. My status still says Queued.

Key terms

  • Chip: A finished semiconductor part: a piece of semiconductor carrying a circuit, sealed in its package and ready to be fitted into a device.
  • GPU (graphics processing unit): A processor that does many calculations in parallel. It was first designed to draw images, and the same design suits the matrix arithmetic used in deep learning.
  • Die: One patterned circuit on a wafer, or cut from it, before it has been packaged. After packaging, the same part is usually called a chip.
  • Substrate: The base inside a package that chips are mounted on. It holds them in place and carries the connections between them and the rest of the device.
  • Interposer: A middle layer inside a package that carries the wiring between several chips, such as a processor and its memory. HBM often sits beside the processor on one.
  • Transistor: A very small switch made of semiconductor. Applying a voltage turns it on or off, and large numbers of them wired together make up complex devices.
  • Wafer: A thin, round slice of semiconductor material, usually silicon. Many circuits are made on one wafer at the same time, and it is cut into separate pieces later.

Sources