On this page
This page is diagnostic: the generator is running, the UPS is unhappy, and you need to know why. If you are still choosing equipment or planning a setup, start with using a UPS with a generator, which covers sizing, transfer switches and topology choices up front.
What the symptoms usually tell you
Generator trouble shows up in a few recognizable patterns. Match yours before changing anything.
| Symptom | Likely cause | First fix |
|---|---|---|
| UPS stays on battery the whole time the generator runs | Frequency or distortion permanently outside the window; floating neutral flagged as a wiring fault | Low sensitivity; check the wiring fault indicator |
| UPS clicks between battery and line every few seconds | Generator sags when the UPS returns its load plus charging current | Low sensitivity; reduce load; larger generator |
| Fine at light load, rejects power when a fridge or pump starts | Generator frequency and voltage dip on motor start | Move motor loads off the generator circuit feeding the UPS, or upsize |
| Accepts power, but the unit hums and AVR clicks constantly | Generator voltage hunting around an AVR threshold | Check generator voltage regulation; low sensitivity |
| Site wiring fault light only on generator | Floating neutral or no ground path from generator | See neutral and ground section; consult an electrician |
| Works with an inverter generator, not with an open-frame one | Waveform distortion and frequency droop | Use the inverter generator, or an online UPS |
Why a UPS rejects power that runs a lamp just fine
A lamp or a space heater doesn't care if the frequency is 57 Hz or the waveform is flattened. A line-interactive or standby UPS does, because it must decide in milliseconds whether the input is good enough to pass through to your equipment. It judges three things: voltage, frequency, and (on many models) waveform shape.
Frequency drift
Conventional portable generators set their frequency with a mechanical or simple electronic governor controlling engine speed. A 60 Hz generator often runs a little fast with no load and slows as load rises, so the frequency moves with every load change. Many line-interactive UPS units accept something like plus or minus 3 Hz around nominal at default settings, with a wider window at low sensitivity; the exact figures vary by model and are in the spec sheet. A generator that drifts outside that range, even briefly during a load step, triggers a transfer.
Voltage distortion
Many lower-cost open-frame generators produce a waveform that is noticeably distorted, with a flattened or notched peak. Nonlinear loads such as computer power supplies and the UPS's own charger make it worse, because they draw current in short pulses near the voltage peak and a small generator's high source impedance flattens that peak further. The UPS's waveform check reads that as bad power. See harmonics and THD for the mechanism.
Voltage itself
Voltage is a less common cause, but a generator with a poor regulator or one running near its limit can sag well below 110 V under load or swing high when load drops. That trips the UPS's voltage thresholds or keeps its AVR clicking.
Our analysis: the clicking loop is self-inflicted
The back-and-forth cycling most people see is a feedback loop, not random flakiness. On battery, the UPS takes its load off the generator, so engine speed and frequency recover. The UPS sees good power and transfers back, adding the full load plus a burst of battery charging current at the same instant. That step pulls frequency and voltage down, and the UPS transfers again. Anything that softens the step breaks the loop: a wider acceptance window, less connected load, a generator with more spare capacity, or a UPS that limits its charging current. When you plan, think about the load the generator sees at the moment of retransfer, not the steady load afterwards.
Diagnostic flow
- Check the safety basics. Generator outdoors, well away from doors and windows (carbon monoxide), cords rated for the load and undamaged. Never backfeed a building through an outlet.
- Let the generator stabilize. Start it with no load for a minute or two before connecting the UPS. Cold engines govern poorly.
- Read the transfer reason. From the UPS display, the event log, apcupsd's
LASTXFERor NUT'sinput.transfer.reasonwhere supported. "Frequency" or "distortion" points at the generator's output quality; "low line" points at sizing or regulation. - Watch input voltage and frequency. Many UPS displays and monitoring tools show both. A plug-in meter that reads frequency helps too. Note the values at no load, at your normal load and during load steps.
- Set low sensitivity. Or widen the voltage and frequency windows if your model exposes them. Retest.
- Reduce the load. Disconnect non-essential equipment from the UPS and remove motor loads from the same generator outlet. If the UPS now accepts power, the generator is undersized for what you were asking of it.
- Check the wiring fault indicator. If it lights only on generator, see the neutral and ground section below.
- Try a different source. If an inverter generator or the utility works and the open-frame generator doesn't, the generator's output is the limitation.
Sensitivity settings
Low sensitivity is the standard first fix, and several manufacturers recommend it explicitly for generator input. On many APC models the setting is labeled high, medium and low, available via the front panel, LCD menu or PowerChute. On many CyberPower models it is in PowerPanel or the LCD menu, sometimes alongside adjustable frequency tolerance. Eaton and Tripp Lite offer similar options on many models. Labels and ranges vary by model, so check your manual.
Low sensitivity does not make your equipment less protected from outages. It means the UPS accepts a wider range of frequency, voltage and waveform before going to battery. Modern switch-mode power supplies, which most computers, NAS units and network gear use, are tolerant of that range. For a broader look at the setting outside the generator context, see UPS keeps switching to battery.
Is the generator big enough?
A UPS loads a generator more than its connected equipment suggests. After an outage the battery charger draws extra current, and the UPS's input current is nonlinear, so a small generator's voltage and frequency suffer more than the watt figure implies. A commonly cited rule is a generator rated at least 1.5 to 2 times the UPS capacity; some manufacturers recommend more for certain UPS types. Treat that as a starting point, then check the UPS manual.
Worked example: a 1500 VA / 900 W line-interactive UPS running a 400 W load on a 2,000 W running-rated open-frame generator. The connected load alone is about 20% of the generator. Add charging current after a long outage (often in the range of 50 to 150 W on small units, more on large ones) and a 600 W fridge compressor that briefly draws a starting surge several times its running current, and the generator's frequency can sag hard every time the fridge starts. Moving the fridge to its own generator outlet or a separate generator often solves it without touching the UPS.
Use the UPS sizing calculator and how to measure power draw to get real numbers for the UPS side.
Inverter generators
An inverter generator generates AC, rectifies it to DC, then makes fresh 60 Hz AC with an electronic inverter. Frequency is set electronically, not by engine speed, and the waveform is typically much cleaner than an open-frame generator's. Most UPS units accept inverter generator output without any setting changes.
Two caveats. First, many inverter generators have an "eco" mode that idles the engine at light load; a sudden step, such as the UPS retransferring with charging current, can cause a brief sag while the engine speeds up. If you see that, try turning eco mode off. Second, inverter generators are often small (2,000 to 3,500 W running is common), so the sizing rule above still applies.
Floating neutral and ground faults
Many UPS units check for site wiring problems such as a missing ground or reversed polarity. Some portable generators have a floating neutral: neutral is not bonded to the generator frame, because the generator is designed to connect through a transfer switch to a building whose service panel provides the bond. Plugged in directly with cords, a floating-neutral generator can make a UPS light its wiring fault indicator or refuse to accept power on some models.
Other generators have a bonded neutral. Which one you have is usually stated in the generator manual or on a label. Whether to change anything depends on how the generator is used:
- Through a transfer switch to a building: the bonding arrangement must match the transfer switch type and the building's service. This is a job for a licensed electrician, and NEC Article 702 and Article 250 apply.
- Standalone, with cords: some generator manufacturers permit or supply a neutral-ground bonding plug for this use. Follow the generator manual; don't improvise.
Never backfeed, never double-bond
Do not connect a generator to house wiring through an outlet ("suicide cord"). It can energize utility lines and kill line workers, and it bypasses every protective device. Do not add a bonding plug to a generator that feeds a building through a transfer switch with a bonded service panel. Both are serious shock and fire hazards. See site wiring faults and grounding and site wiring fault light.
When the UPS is the limitation
If low sensitivity, a lighter load and a stabilized generator still don't produce stable operation, the UPS type may be the constraint. Standby units are the least tolerant. Line-interactive units vary widely by model. Online double-conversion units are the most generator-friendly: the rectifier accepts a wide frequency range, the inverter regenerates clean output, and many models offer input current limiting or power factor correction that is gentler on the generator. See line-interactive vs online UPS and UPS types explained.
| Finding | Best next step |
|---|---|
| Low sensitivity fixed it | Keep the setting; note it in case of firmware reset |
| Works only at light load | Split loads or upsize the generator |
| Rejects open-frame generator at any setting | Use an inverter generator or an online UPS |
| Wiring fault only on generator | Check neutral bonding per the generator manual or an electrician |
| Rejects inverter generator and utility power is also flaky | UPS may be faulty; check warranty |
Keep the battery in good shape
During generator events the UPS may cycle on and off battery many times. A worn battery that can't bridge the generator start or a retransfer turns a nuisance into a dropped load. Check its age and health, see when to replace a UPS battery, and make sure runtime covers generator start-up and any transfer switch delay, as discussed in how much runtime do you need. If the UPS beeps constantly while on generator, the UPS alarm decoder can help interpret the pattern.
Frequently asked questions
Why does my UPS click back and forth between battery and generator?
When the UPS goes to battery, it drops its load off the generator. The generator's speed and frequency recover, the UPS sees acceptable power and transfers back, adding load and battery charging current at once. That drags frequency or voltage out of the window again. Low sensitivity, less load, or a larger or better-regulated generator breaks the loop.
Will an online double-conversion UPS work with any generator?
It usually copes much better, because its rectifier accepts a wide input frequency range and its inverter makes a fresh, stable output. It still needs enough generator capacity, and it may report that bypass is unavailable when the generator frequency drifts, which only matters if the inverter fails or overloads. It is the most robust choice for regular generator use.
Is it safe to run my UPS on battery while the generator warms up?
Yes, and it is good practice. Let the generator run unloaded for a minute or so to stabilize, then connect or switch over the UPS. If you have an automatic transfer switch, the UPS rides on battery through the switchover, so make sure its runtime covers the generator start and transfer delay.
Can I use a neutral-ground bonding plug to make my UPS accept generator power?
Only when the generator is used standalone with cords, and only if the generator manufacturer allows it for that configuration. Never use one when the generator feeds a building through a transfer switch with a bonded service, because that creates a second bond. If you are unsure which applies, ask a licensed electrician.
Does a bigger UPS make generator problems worse?
It can. A larger UPS with a depleted battery draws more charging current after an outage, which adds to the generator load right when the UPS returns to line power. That can be enough to sag a small generator. Some units let you limit or delay charging; otherwise size the generator for the load plus charging.
Sources and further reading
- IEC 62040-3, Uninterruptible power systems: method of specifying the performance and test requirements
- IEEE Std 1100 (Emerald Book), Recommended Practice for Powering and Grounding Electronic Equipment
- NFPA 70, National Electrical Code, Article 702 (Optional Standby Systems) and Article 250 (Grounding and Bonding)
- OSHA: Portable Generator Safety