The oscillating charge in AC mains voltage is induced by electromagnetic induction at the power plant, where rotating magnetic fields cut across copper stator coils at 50Hz or 60Hz. However, inside a computer, the Switch-Mode Power Supply (SMPS) induces its own secondary, high-frequency oscillating charge (typically 20kHz to 1MHz) using PWM-driven MOSFETs to step down rectified DC into usable motherboard voltages. When designing an off-grid or UPS energy storage system to feed this load, you must account for the SMPS's non-linear power factor, apply Peukert’s law for lead-acid batteries or strict C-rates for lithium, and exclusively use a pure sine wave inverter.
The Physics of AC Oscillation: Grid to Motherboard
To properly size a backup power system, you must understand the journey of the power from the source to the silicon. The phrase 'oscillating charge' means different things at different stages of the circuit. The utility grid provides a 60Hz sine wave (in North America), but the computer's internal power supply does not feed this directly to the CPU. Instead, it creates a new, much faster oscillation.
System Block Description: Source to Load
- 1. Grid/Inverter (Source): Provides 120V/240V AC at 50/60Hz. The oscillating charge here is induced by macro-scale electromagnetic generators.
- 2. EMI Filter & Bridge Rectifier: The computer's SMPS filters high-frequency noise and rectifies the incoming AC into a rough, high-voltage DC bus (around 170V DC for a 120V AC input).
- 3. Switching MOSFETs (The Internal Oscillator): This is where the computer induces its own oscillating charge. A PWM controller switches MOSFETs on and off at tens or hundreds of kilohertz, chopping the high-voltage DC into a high-frequency AC square wave.
- 4. Step-Down Transformer: The high-frequency AC oscillation allows the use of a tiny, lightweight ferrite transformer to step the voltage down to 12V, 5V, and 3.3V AC.
- 5. Secondary Rectifier & Load: Final diodes and capacitors smooth the high-frequency AC back into pure DC for the motherboard and GPU.
Because the SMPS draws current in sharp, high-amplitude spikes at the very peaks of the 60Hz AC sine wave (a high crest factor), your backup inverter must be capable of delivering high peak surge currents, not just continuous RMS watts. For a deeper look at SMPS topology, refer to the Switch-Mode Power Supply basics guide by Electronics Tutorials.
Sizing the Inverter and Battery Bank for Computer Loads
Let us size a system for a high-end workstation drawing a continuous 500W. We will assume a 12V DC battery bank architecture, which is standard for DIY UPS setups.
Inverter Sizing for SMPS Loads
Never use a Modified Sine Wave (MSW) inverter for a computer. The stepped approximation of the AC wave causes the SMPS bulk capacitors to overheat and the internal oscillating MOSFETs to fail prematurely due to excessive harmonic distortion. You must use a Pure Sine Wave inverter.
The Math:
Continuous Load: 500W
Inverter Efficiency Assumption: 85% (0.85)
Required DC Input Power: 500W / 0.85 = 588W
Continuous DC Current: 588W / 12V = 49A
To handle the SMPS inrush current and high crest factor, add a 25% safety margin to the continuous wattage, and ensure the inverter's surge rating is at least double the continuous rating. Target Spec: 1000W Continuous / 2000W Surge Pure Sine Wave Inverter.
Battery Sizing Math and Peukert’s Law
If you want 2 hours of runtime at a 500W load, you need to supply 49A for 2 hours, which equals 98 Amp-hours (Ah) of usable capacity. However, battery chemistry dictates how much rated capacity you actually need to buy.
Lead-Acid (AGM/Flooded): Lead-acid batteries suffer from Peukert's Law, which states that effective capacity decreases as the discharge rate increases. The formula is t = H × (C / I)^k, where k is the Peukert exponent (typically 1.2 to 1.3 for AGM). Drawing 49A from a 100Ah battery will not give you 2 hours; it will give you roughly 1.1 hours. To get 98Ah of usable runtime at a 49A draw, you must install a battery bank rated for at least 200Ah at the 20-hour rate.
Lithium Iron Phosphate (LiFePO4): Lithium chemistry has a Peukert exponent very close to 1.0 (often 1.05). A 100Ah LiFePO4 battery will deliver nearly its full rated capacity even at a 50A draw. Therefore, a single 100Ah 12V LiFePO4 battery is sufficient for this 2-hour runtime target.
Battery Configurations, Limits, and Safety
When scaling your energy storage system, how you wire the cells fundamentally changes the system's voltage and amp-hour delivery. Below is the decision matrix for configuring your battery bank.
| Configuration | Consequence for Voltage (V) | Consequence for Capacity (Ah) | Best Use Case |
|---|---|---|---|
| Series | Voltages add up (e.g., two 12V = 24V) | Ah remains the same as a single battery | High-power loads (>1500W) to reduce DC current and minimize I²R wire heating. |
| Parallel | Voltage remains the same (e.g., 12V) | Capacities add up (e.g., two 100Ah = 200Ah) | Extending runtime on 12V inverters without exceeding the inverter's maximum input voltage. |
| Series-Parallel | Both V and Ah increase | Both V and Ah increase | Large 24V or 48V off-grid systems requiring massive kWh storage. |
Charge and Discharge Limits
Batteries will degrade rapidly or catch fire if pushed beyond their chemical limits. Adhere to these C-rate and Depth of Discharge (DoD) thresholds.
| Chemistry | Max Continuous Discharge (C-Rate) | Recommended Max DoD | Cycle Life at Max DoD |
|---|---|---|---|
| Flooded Lead-Acid | 0.2C (20A per 100Ah) | 50% | ~500 cycles |
| AGM / Gel | 0.3C (30A per 100Ah) | 50% to 60% | ~600 cycles |
| LiFePO4 (LFP) | 1.0C (100A per 100Ah) | 80% to 90% | 3000+ cycles |
Frequently Asked Questions
Does a modified sine wave inverter damage the computer's oscillating SMPS?
Yes. A modified sine wave inverter outputs a stepped, blocky waveform rather than a smooth curve. When the computer's bridge rectifier and bulk capacitors attempt to smooth this blocky wave, they experience severe harmonic heating. Furthermore, the high-frequency switching MOSFETs inside the SMPS struggle to regulate the chopped DC bus, leading to audible buzzing, reduced efficiency, and eventual failure of the power supply's internal components. Always use a Pure Sine Wave inverter for computing equipment.
How do I calculate battery runtime for a 500W PC using Peukert’s exponent?
First, find your DC current draw: 500W / (12V × 0.85 inverter efficiency) = 49A. Next, apply Peukert's formula: Effective Runtime = Rated Capacity × (Rated Capacity / Actual Draw)^(k-1). If you have a 100Ah AGM battery (rated at a 20A draw) with a Peukert exponent (k) of 1.25, the math is: 100 × (100 / 49)^0.25. This results in an effective capacity of roughly 71Ah. Dividing 71Ah by your 49A draw gives you a real-world runtime of just 1.44 hours, not the 2 hours you might naively expect. For exact discharge curves, consult Battery University's guide on Peukert's Law.
Can I parallel mismatched lithium cells to increase Ah for my UPS?
Absolutely not. Paralleling mismatched lithium cells (different capacities, chemistries, ages, or internal resistances) is a severe fire hazard. During charging and discharging, the cells will not share current equally. The cell with the lowest internal resistance will take the brunt of the current, overheat, and potentially vent or ignite. Only parallel identical cells from the same manufacturing batch, and always wire them through a BMS that can balance the parallel groups.
What charge and discharge limits apply to LiFePO4 cells in a computer backup system?
For a 12V LiFePO4 battery (4 cells in series), the strict charge limit is 14.6V (3.65V per cell), and the discharge cutoff is 10.0V to 11.2V (2.5V to 2.8V per cell) depending on the BMS configuration. To maximize cycle life in a daily-cycled UPS scenario, set your inverter's low-voltage disconnect (LVD) to 12.0V (roughly 20% State of Charge) and your charger's absorption voltage to 14.2V. This keeps the battery between 20% and 95% SoC, avoiding the extreme voltage knees where lithium plating and degradation accelerate.






