In a data centre or server room the UPS sits between the mains input and the load: it smooths surges and sags, and when the power fails completely it switches to batteries instantly. Its job is not to replace the mains for hours, but to cover a brief outage or let servers shut down cleanly until the diesel generator starts.
Online and line-interactive
IEC 62040-3 classifies UPSs into three classes according to how they take in and deliver power:
| Class | How it works | Typical use |
|---|---|---|
| VFD (offline) | the load is fed straight from the mains; the UPS connects the batteries only when the voltage goes out of range | workstations, office equipment |
| VI (line-interactive) | an autotransformer adjusts the voltage; the inverter runs in parallel with the load | small and medium server rooms and network cabinets |
| VFI (online, double conversion) | all power continuously passes double conversion: AC to DC and back to AC; the load never sees the mains | data centres, server rooms with sensitive equipment |
Online UPSs (VFI, double conversion) cost more and waste more energy as heat, but switching to batteries takes no time at all: the load is always fed by the inverter. In line-interactive models the transfer takes a few milliseconds — enough for most servers with a power margin.
Runtime
Runtime depends on battery capacity and on the share of the load: at partial load it grows disproportionately. Typical figures are a few minutes at full load and two to three times more at half load. That is enough to start a generator or run a shutdown script; extending runtime to hours is usually cheaper with a generator than with extra battery cabinets.
Exact figures come from the manufacturer’s discharge tables. For example, the constant power table for the CSB GP1272 battery (12 V, 7.2 Ah) gives 352 W per battery at a five-minute discharge, 230 W at ten minutes and 172 W at fifteen. A module of eight such batteries under a 3 kW load at full capacity lasts less than five minutes, and between ten and fifteen at half load. Runtime also depends on the battery type (VRLA lead-acid is cheaper, lithium-ion lasts longer and tolerates more cycles) and on the room temperature.
How the UPS connects to servers
So that servers shut down in an orderly way rather than when the batteries run flat, the UPS reports its status:
- a management card with SNMP and a web interface — the UPS is polled over the network like any other equipment;
- a USB or RS-232 port — to a specific host, usually with the apcupsd or NUT daemon;
- dry contacts for “mains failed” and “batteries discharged” — a simple signal for monitoring.
The daemon watches the status and, when the UPS switches to batteries, starts a scheduled shutdown: secondary nodes first, then databases, hypervisors last. In clusters the runtime is checked against the time it actually takes to stop all services — otherwise the shutdown will not complete in time.
Sources
the term is written from these pagesVerified 9 Nov