Skip to content
Know.itKnow.it
Create an animated lesson
On request

This article is free to read. Creating a lesson uses your daily or stored credits; review the language and settings before starting.

How does a UPS work?

TechnologyLesson on requestFree to readयह पेज हिंदी में पढ़ें

Quick answer

A UPS, or uninterruptible power supply, keeps a battery charged while mains power is on. When power fails, its inverter converts the battery's direct current into alternating current within milliseconds, so computers keep running without restarting. It typically buys a few minutes to save work and shut down, or until a generator starts.

A UPS works by keeping a battery charged from the mains and, the moment mains power fails or goes out of range, using an inverter to turn that battery's DC into AC for the connected equipment. This bridges outages for minutes, long enough to save work or start a generator.

Step by step

  1. Mains AC enters the UPS, which passes power to the load and feeds a charger that keeps the battery full.
  2. A monitoring circuit constantly checks incoming voltage and frequency against safe upper and lower limits.
  3. When mains fails or drifts out of range, the controller starts the inverter drawing energy from the battery.
  4. The inverter switches transistors rapidly to build an AC waveform from the battery's direct current.
  5. A relay transfers the load to this output within milliseconds, then returns it to mains once supply recovers.

Key things to understand

  1. UPS stands for uninterruptible power supply, a box combining a charger, a battery, an inverter and control electronics.
  2. While mains power is normal, a charger keeps the battery topped up, often using sealed lead-acid or lithium cells.
  3. Sensing circuits continuously watch the incoming voltage and frequency for cuts, deep dips or dangerous overvoltage.
  4. In a standby UPS, a relay switches the load to the inverter within a few milliseconds when mains power fails.
  5. An online UPS runs the load through its inverter all the time, so there is no transfer gap at all.

Labelled diagram

  1. Mains input

    Normal AC supply feeds both the connected load and the battery charger.

  2. Charger

    Converts AC to DC and keeps the battery at full charge.

  3. Battery

    Stores energy as DC, usually in sealed lead-acid or lithium cells.

  4. Inverter

    Turns battery DC into AC when mains power fails or goes out of range.

  5. Transfer relay

    Switches the load from mains to inverter within a few milliseconds.

Paths through a standby UPS

Real-world examples

  • Indian offices plug desktop computers into small UPS units to ride through brief power cuts.
  • Data centres use large online UPS systems to bridge the seconds before diesel generators take over.
  • Hospitals run imaging equipment and operating theatre systems through UPS units to avoid sudden shutdowns.
  • Home internet routers on a mini UPS keep Wi-Fi working through short outages.

Common mistake

✗ Myth: A UPS is meant to keep computers running through hours-long power cuts.

✓ Fact: Most UPS units hold only minutes of battery energy. Their job is to prevent sudden shutdowns, giving time to save work, shut down safely or start a generator.

People also ask

How does a ups work during power failure?
During a power failure, the UPS detects that mains voltage has disappeared and immediately powers its inverter from the internal battery. The inverter converts the battery's DC into AC, and the load is transferred within milliseconds, or not at all in an online UPS, so connected devices keep running without interruption.
What is the difference between online and offline ups?
An offline, or standby, UPS passes mains power straight to the load and switches to its inverter only when mains fails, causing a brief transfer gap. An online UPS constantly converts mains to DC and back to clean AC through its inverter, giving zero transfer time and better protection, but costs more and produces more heat.
How long does a ups battery last?
UPS batteries are usually sealed lead-acid types that last around three to five years before their capacity drops noticeably, though heat shortens this. Lithium-ion batteries in newer models often last longer. Runtime per outage is a separate measure and depends on battery capacity and how much power the load draws.
How long can a UPS run a computer?
Most small desktop UPS units run a typical computer for roughly 5 to 15 minutes, depending on battery size and load. They are designed for saving work and shutting down safely, not for running equipment through long power cuts.
What is the difference between a UPS and a home inverter?
A home inverter, common in India, uses large batteries to run lights and fans for hours, but may switch over more slowly. A UPS switches almost instantly, protecting computers from restarting, but usually has smaller batteries and shorter runtime.
Why does my UPS beep?
A UPS beeps to signal that it is running on battery, that the battery is low, that it is overloaded, or that the battery needs replacing. The pattern of beeps usually differs for each condition and is listed in the manual.
What is a pure sine wave UPS?
A pure sine wave UPS produces smooth AC similar to mains. Cheaper units produce a stepped approximation, which most computer power supplies tolerate but some motors, audio gear and power supplies with active power factor correction may not.

Part of the guide: Energy & Electricity at Home →