In short. A UPS protects the first seconds; a generator protects the hours. They work together only if each is chosen and set for the other. The generator must carry the UPS input, including battery recharge and the extra heating from rectifier harmonics. The UPS must accept the generator’s voltage and frequency, and must load the generator gradually through its walk-in setting. Most UPS-on-generator problems, such as hunting, the UPS staying on battery and voltage distortion, come from skipping one of these checks.
Who this page is for: For IT, hospital and facility engineers whose UPS runs on generator backup, and for anyone sizing a generator for a UPS load.
Key facts
- UPS input power = output power ÷ efficiency + battery charging power.
- Generator kVA ≥ UPS input kW ÷ input power factor × harmonic margin, plus other loads.
- Six-pulse rectifier UPSs without filters often need an alternator about 1.5 to 2 times their input kVA; modern IGBT-rectifier UPSs need much less margin.
- Walk-in makes the rectifier load the generator over several seconds instead of in one step.
- The UPS input voltage and frequency windows must be wider than the generator’s regulation band.
- Test the whole sequence under load: mains fail, transfer, walk-in, recharge and return.
The sequence on mains failure
| Stage | What happens | What can go wrong |
|---|---|---|
| Mains fails | UPS switches to battery with no break | Battery autonomy shorter than expected |
| Generator starts | AMF panel or controller starts the set; it reaches voltage and speed in seconds | Start failure: weak batteries, fuel, controller in manual |
| Transfer | ATS or changeover moves the UPS input to the generator | Transfer onto an unstable set |
| Walk-in | The UPS rectifier picks up load gradually | Walk-in disabled: one large step, the set dips and hunts |
| Recharge | Battery recharge adds extra load after transfer | Charging power forgotten in the sizing |
| Mains returns | Retransfer after a stability delay | Repeated transfers if timers are too short |
See ATS and AMF control logic and AMF panels.
Sizing the generator for a UPS
Worked example: a 40 kW UPS (illustrative)
| Step | Working | Result |
|---|---|---|
| Rectifier input for the load | 40 kW ÷ 0.94 efficiency | About 42.6 kW |
| Battery recharge at the start of recharge | Assumed from the UPS data | About 5 kW |
| Total input | 42.6 + 5 | About 47.6 kW |
| Input kVA, six-pulse rectifier without filter, PF about 0.85 | 47.6 ÷ 0.85 | About 56 kVA |
| Harmonic margin of 1.5 to 2 | 56 × 1.5 to 56 × 2 | About 84 to 112 kVA for the UPS alone |
| Add lighting and air conditioning for the UPS room | From the load list | Often a 125 kVA set, confirmed with the UPS maker’s guidance |
With a modern IGBT-rectifier UPS at an input power factor near 0.99 and low harmonics, the same load needs much less margin, and a smaller set may do. The UPS maker’s generator-compatibility guidance gives the actual factor. See UPS problems on generator supply.
Compatibility checks
| Item | Why it matters |
|---|---|
| Rectifier walk-in | Avoids a sudden load step on the generator |
| Input harmonics | Distort the generator voltage and heat the alternator |
| Input frequency window | Must be wider than generator drift during load steps |
| Input voltage window | Must include the generator’s regulation band |
| Frequency rate-of-change tolerance | Generator speed changes faster than the grid’s |
| Bypass synchronisation | The UPS may refuse to transfer to bypass on a drifting generator |
| Alternator excitation | PMG or auxiliary-winding excitation copes better with distorted current |
Do not size a generator from the UPS’s output rating. The input, the battery recharge and the harmonic heating all add load. A set sized on the output figure often hunts or trips the first time it takes the UPS.
Troubleshooting common symptoms
| Symptom | Likely cause | What to check |
|---|---|---|
| UPS stays on battery while the generator runs | Voltage or frequency outside the UPS input window | UPS input settings; generator voltage and speed regulation |
| Generator hunts after transfer | Load step without walk-in; governor tuning; harmonics | Walk-in setting; governor; alternator size |
| Voltage waveform badly distorted | Rectifier harmonics on a small alternator | Larger alternator, filters, or an IGBT-rectifier UPS |
| Repeated transfers | ATS timers too short, or an unstable set | Transfer and return delays; generator stability |
Acceptance test
- Load the UPS realistically, using a load bank if needed.
- Simulate a mains failure and watch the UPS go to battery.
- Confirm the generator starts, the transfer happens and the walk-in loads the set gradually.
- Record generator voltage, frequency and current through each stage.
- Restore mains and confirm a clean retransfer.
- Repeat yearly and after any change to the UPS, the generator or the controls.
See load bank testing.
UPS and generator worksheet
| Item | Value |
|---|---|
| UPS output kW, efficiency and rectifier type | |
| Battery charging power (kW) | |
| UPS input kW and input power factor | |
| Harmonic margin from the UPS maker | |
| Other loads on the generator (kW) | |
| Walk-in, voltage and frequency window settings |
How long the UPS has to wait for the generator
The UPS battery has one job in a generator-backed system: to carry the load from the moment the mains fails until the generator takes it, and to cover that gap even on a bad day. The gap is longer than people expect when every stage of the AMF sequence is added up, and longer still when the first start attempt fails.
| Stage | Normal start | Start on the third attempt |
|---|---|---|
| Mains failure confirmed | 3 s | 3 s |
| Cranking, including failed attempts and rests | 5 s | 50 s (three 10 s attempts with two 10 s rests) |
| Engine run-up and voltage settled | 5 s | 5 s |
| Changeover and rectifier walk-in | 12 s | 12 s |
| Total on battery | 25 s | 70 s |
A battery sized for five minutes covers either column comfortably, and that is the point of the comparison: the margin is not for the normal start but for the failed one, and for the battery’s own decline with age. A battery that gives five minutes when new and three minutes after a few hot summers still covers the third attempt; one bought to give two minutes at the start of its life may not.
If the generator fails all its attempts, the remaining autonomy is the time available for an orderly shutdown, and the UPS should be set to signal the loads to shut down while there is still enough battery to finish doing so.
The leading power factor problem at light load
Many UPS rectifiers have an input filter with capacitors in it, to clean up the current they draw. At full load the filter’s capacitive kVAr is small beside the real power and goes unnoticed. At light load it is not: a 60 kVA UPS with a 12 kVAr input filter carrying only 10 kW draws a current at a power factor of about 0.64 leading. On the mains that is harmless. On a generator it is a problem, because an alternator can absorb only a modest leading kVAr before its regulator loses control of the voltage.
The symptom is a generator that runs well on load banks and on the full site load, but whose voltage rises and becomes unstable when it carries only the UPS on a quiet night, sometimes tripping on overvoltage or loss of excitation. Three remedies are used. The UPS maker can usually switch the filter out below a stated load, which should be confirmed and enabled.
Other load can be kept on the generator alongside the UPS, so that lagging motor load offsets the filter’s leading kVAr. And the generator can be chosen with the alternator’s capability chart in hand, checking that the filter’s kVAr at the lowest expected load sits inside the leading limit. Here 12 kVAr on an 80 kVA set is 15% of its rating, a figure to check against the chart rather than assume.
Several UPS units on one generator
When a generator feeds more than one UPS, their walk-ins must be staggered. Each rectifier ramps its load onto the set over several seconds, but if all of them start their ramps together, the set sees one large combined step. Two 40 kW UPS units walking in together present the set with an 80 kW ramp plus their battery recharge; the same two units, with the second delayed until the first has finished, present two 40 kW ramps a few seconds apart, each of which the set recovers from before the next begins.
Most UPS units offer a settable delay before walk-in starts, separate from the walk-in time itself, for exactly this purpose. Set them in sequence, longest delay on the least critical unit, and record the sequence on the worksheet on this page. The same thinking applies to other large loads restored after the transfer: the UPS units should be on and settled before chillers, pumps or lifts are brought back, so that the set is not handling a motor start in the middle of a rectifier ramp.
The second transfer: back to the mains
Attention goes to the mains failure, but every outage ends with a second transfer, from the generator back to the mains, and with an open-transition changeover that transfer is a short break of its own. The UPS rides through it on battery, as it did the first one, and then walks in again onto the mains. Two consequences follow.
The battery is called on twice per outage, not once, and the second call comes when it is already partly discharged and recharging. And the walk-in after the return is onto the mains, which can usually take it at once, so a shorter walk-in setting for mains, where the UPS offers separate settings, shortens the time on battery.
The retransfer should also wait until the battery has recovered a reasonable charge, if the AMF controller allows the generator’s run-on time to be set long enough. A UPS whose battery is near empty after a long outage, transferred back to a mains supply that then fails again within minutes, has nothing left to bridge the second start of the generator. A cool-down run of a few minutes on load before retransfer serves the engine and the battery at once.
Which supply the UPS bypass sees on generator
A UPS with a separate bypass input has two connections to the supply, and both move to the generator during an outage. While on generator, the bypass is only as good as the generator’s output: if the inverter transfers the load to bypass during a fault or an overload, the load is then fed directly by the set, with all of its frequency and voltage movements. Two settings matter here.
The UPS should be configured to accept a wider frequency window on its bypass while on generator, or to block transfer to bypass altogether outside a defined window, as the static bypass page explains. And the neutral of the bypass input must have the same earthing reference on generator as on mains, which depends on how the changeover handles the neutral and where the generator’s neutral is bonded. Draw both conditions and check the UPS maker’s requirement for its bypass neutral against each.
Planning for an outage measured in days
Most sequences are tested for minutes, but the outages that matter most can last days. Over that time the limits change: fuel becomes the governing quantity, the generator needs its oil checked and its filters inspected while running, and the UPS and battery room cooling must keep working on generator throughout. A written plan for a long outage — who checks fuel and at what level more is ordered, how the set is inspected while it runs, which loads are shed to stretch fuel — is as much part of UPS and generator integration as the transfer settings, and much more often missing.
Common mistakes
- Sizing the generator from the UPS output rating.
- Forgetting the battery recharge.
- Walk-in disabled after a UPS service.
- UPS input windows set too tight for generator supply.
- Never testing the full sequence under load.
What to send us
Send the UPS data sheet and settings, the generator and alternator details, and the other loads on the set. WhatsApp 98852 01608 or use the enquiry form.
Evidence note. Margins and examples are typical values for illustration; the UPS and generator makers’ compatibility guidance governs.
Questions engineers ask
How many minutes of UPS battery are needed with a generator?
Enough to cover a failed start, with margin for battery ageing, not just a normal start. A normal AMF sequence puts the load on the generator in about 25 seconds, but three start attempts with rests take about 70 seconds. A battery giving five minutes when new still covers that after it has aged; one sized for two minutes may not. Whatever remains if the generator fails to start is the time for an orderly shutdown.
Why does the generator voltage rise when it carries only the UPS?
Usually because the UPS input filter draws leading reactive power at light load. A 60 kVA UPS with a 12 kVAr filter carrying 10 kW runs at about 0.64 power factor leading, and an alternator can absorb only a modest leading load before its regulator loses control. Ask the UPS maker to switch the filter out at light load, keep some lagging load on the generator with the UPS, and check the alternator capability chart.
Why does my generator hunt with a UPS?
Hunting usually comes from load steps when the UPS transfers or recharges, harmonic current from the UPS rectifier distorting the generator voltage, or governor and AVR settings that react badly to that load. Record frequency, voltage and distortion with the UPS connected, then correct the cause found, one change at a time.
What is walk-in?
Walk-in is the gradual loading of the UPS rectifier after its input returns, ramping the input current up over several seconds instead of taking the full load at once. It lets the generator accept the UPS without a deep frequency dip, and the ramp time is set to suit the set.
Should I oversize the generator?
Size it properly from data rather than by guessing or by a blanket multiple. Include the UPS rated input, battery recharge current, the harmonic content of the rectifier and the other site loads, and check the result against the generator maker guidance for non-linear loads before choosing the rating.
Does the UPS reject generator power?
It does if the generator voltage or frequency stays outside the UPS input window, so the UPS remains on battery until the battery runs down. Record generator frequency and voltage on load, tune the governor and AVR, and widen the UPS window only within the limits the maker allows.
Values are illustrative. Use maker data and site tests.
Technical content reviewed by D. Srinivas Reddy, Managing Partner and Service Engineer, Reddy Generators. Last updated 8 November 2026.