For years, power grid managers worldwide have been scratching their heads over a mysterious phenomenon: every 60 seconds, the grid frequency would dip ever so slightly. And not just in one place - these sags occurred simultaneously across countries and continents, as if the entire world's electrical systems were synchronizing their hiccups.

The regularity was almost ominous: every minute, like clockwork, the frequency would drop a tiny bit. While such drops aren't unheard of, their persistence and global reach made them a confounding puzzle. Enter Dirk Witthaut, a researcher at Forschungszentrum Jülich in Germany, who couldn't resist the challenge. Germany's largest transmission system operator, Tennet Germany, brought the mystery to him, and after years of investigation and modeling, he and his team finally cracked the case.

The stakes are real: grid frequency must be kept within a tight range. If oscillations get too large, or if operators respond incorrectly due to unknown causes, blackouts can ensue. Even without blackouts, unchecked sags can damage equipment in power plants, especially hydropower turbines. Historically, hydropower plants have been a major source of so-called ultra-low frequency oscillations (UFLOs). Every turbine vibrates, and if those vibrations hit a resonant frequency, they can amplify - think of a wine glass shattering before an opera singer's mighty pipes.

So Witthaut's team first investigated hydropower as the obvious culprit. They built a computer model of a hydropower plant control system on the Scandinavian grid and found conditions that could generate a once-per-minute resonance. But they couldn't explain why it persisted for so long. Typically, resonances in mechanical systems come and go, and so do their signals on the grid. Yet this frequency drop kept happening minute after minute, without fail.

Then it dawned on them: anything operating with such clockwork precision must be, well, clock-driven. To test this hypothesis, they installed more than 80 smart power quality meters around the Jülich campus. The site is equipped with medium- and low-voltage distribution lines, transformers, solar panels, battery energy storage systems (serving as uninterruptible power supplies, or UPS), a high-performance computer system, and the usual office computers on smaller UPS devices. The meters sampled frequency, voltage, current, and power every three seconds.

Before long, the answer emerged: measurements at the transformer attached to the battery energy storage system peaked every minute, mirroring the pattern on larger grids. It turns out many stationary batteries - from data center UPSes to large grid-scale batteries - check their state-of-charge every minute. Since these devices are internet-connected, their clocks are nearly perfectly synchronized. Each individual check causes an imperceptible disturbance on the wide grid, but when they all do it together, the disruption becomes apparent.

To confirm that UPSes were the main culprit, the team turned to grid operator data, and found their answer in Ireland. There, data centers have grown to consume a large fraction of the country's electricity. By 2022, data centers represented 18% of the load on Ireland's grid, and each facility relies on a fleet of UPSes. Sure enough, between 2016 and 2021, the minute-by-minute frequency drop on the Irish grid quadrupled from 3 milli-Hertz (mHz) in 2016 to 12 mHz in 2021. More recently, some drops have exceeded 20 mHz.

Ireland's 50 Hz grid is designed to withstand swings of plus or minus 200 mHz, though the operator prefers to limit them to 100 mHz. In that context, 20 mHz isn't huge, but data centers aren't the only loads on the grid. If other loads also cause frequency sags, the extra bump from every UPS checking its state-of-charge could push the grid toward blackout conditions.

The problem is entirely preventable. Rather than checking state-of-charge exactly on the minute, Witthaut and his team recommend that UPS and grid-scale battery manufacturers add some randomization to the schedule. While UPSes are driving the problem today, the phenomenon could persist: the researchers also tested IoT devices, from smart ovens to Raspberry Pi clusters, and detected periodic power fluctuations. The fix is a simple software patch, but many IoT devices go unpatched - a recent study found that less than 3% run the latest firmware.

Regulators may soon have to step in, but they can only address their corner of the grid. Given the global nature of the issue, it will ultimately require global coordination. The mystery may be solved, but the problem could remain for years to come - all because batteries are just too punctual.