Introduction
Solar energy storage works well when sunlight is available.
But what happens after several cloudy days?
For many off-grid systems, the answer is a generator.
Generator-assisted battery charging is widely used in:
- Remote homes
- Farms
- Islands
- Telecom sites
- Construction camps
- Mining projects
- Weak-grid regions
- Commercial backup systems
LiFePO4 batteries are particularly suitable for generator-supported systems because they can generally accept charging power more efficiently than traditional lead-acid batteries.
However, simply connecting a large generator to an inverter charger does not guarantee fast or efficient battery charging.
Poor system design can cause:
- Excessive fuel consumption
- Generator overload
- Slow charging
- Repeated BMS protection
- Inverter alarms
- Generator hunting
- Cable overheating
- Unexpected charging interruptions
This guide explains how to design generator charging correctly.
How Does a Generator Charge a LiFePO4 Battery?
In most energy storage systems, the generator does not connect directly to the battery.
The power flow is usually:
Generator AC Output → Inverter/Charger → DC Battery Charging
The generator produces AC electricity.
The inverter charger converts that AC electricity into regulated DC power suitable for the LiFePO4 battery.
Some systems instead use a separate AC-to-DC lithium battery charger.
The important point is that the battery charging characteristics are controlled primarily by the charger or inverter charger—not by the generator itself.
Why Generator Size Alone Does Not Determine Charging Speed
Suppose a customer has a 10kW generator.
Does that mean the battery can charge at 10kW?
Not necessarily.
Charging power may be limited by:
- Inverter charger capacity
- AC input current setting
- Battery charging current setting
- BMS charging limit
- Battery SOC
- Battery temperature
- Generator output quality
For example, if the inverter charger is limited to 60A on a 51.2V battery:
Approximate DC charging power:
51.2V × 60A = 3.07kW
Even with a 10kW generator, the battery may only receive approximately 3kW before conversion losses and changing battery voltage are considered.
Installing a larger generator would not solve this limitation.
Calculate Battery Energy First
Before selecting generator charging equipment, calculate the battery’s nominal energy.
For example:
51.2V 100Ah Battery
51.2 × 100 = 5.12kWh
51.2V 200Ah Battery
51.2 × 200 = 10.24kWh
51.2V 314Ah Battery
51.2 × 314 ≈ 16.08kWh
If several batteries are connected in parallel, multiply the energy accordingly.
Four 51.2V 200Ah batteries provide approximately:
10.24 × 4 = 40.96kWh
This information helps determine how much generator energy is needed to restore the battery bank.
How Much Energy Is Needed to Recharge the Battery?
Imagine a 40.96kWh battery bank is at 20% SOC.
You want to charge it to 90%.
Required SOC increase:
90% − 20% = 70%
Approximate stored energy required:
40.96kWh × 70% = 28.67kWh
The generator must supply more than 28.67kWh because charging equipment and the battery are not 100% efficient.
The actual generator runtime depends on:
- Charger power
- System load
- Conversion efficiency
- Charging-current limits
This is why generator runtime should be calculated from usable charging power rather than generator nameplate power alone.
Do Not Forget the Loads Running at the Same Time
This is one of the most common mistakes in generator sizing.
Suppose:
- Generator capacity: 8kW
- Battery charging demand: 5kW
- House load: 3kW
Total demand:
5kW + 3kW = 8kW
The generator is already operating close to its rated output.
If an air conditioner, pump or refrigerator compressor starts, the instantaneous load may rise further.
This can cause:
- Generator voltage drop
- Frequency instability
- Inverter AC input disconnection
- Charging interruption
Therefore, generator capacity should account for both:
Battery charging power + active loads
with suitable operating margin.
Why Running a Generator Too Lightly Can Also Be Inefficient
Buying the largest possible generator is not always the most economical solution.
A large generator operating at a very low percentage of its rated power may consume more fuel per usable kilowatt-hour than a properly loaded smaller generator.
The goal should be to operate the generator within an efficient and stable loading range while maintaining sufficient reserve for load changes.
For large off-grid projects, this makes charger sizing and generator sizing closely related.
How Much Charging Current Should You Use?
Battery charging current should remain within the manufacturer’s specified range.
For LiFePO4 stationary storage, moderate charging rates are commonly preferred unless rapid recovery is required.
Consider a 51.2V 200Ah battery.
At 0.1C:
200Ah × 0.1 = 20A
Approximate charging power:
51.2V × 20A ≈ 1.02kW
At 0.2C:
200Ah × 0.2 = 40A
Approximate charging power:
51.2V × 40A ≈ 2.05kW
If the battery supports higher charging currents, faster charging may be possible.
However, the system should not automatically be configured at the maximum BMS current.
There is an important difference between:
Maximum allowed current and Recommended routine charging current.
Operating continuously at the absolute maximum provides little benefit if the generator has enough runtime available.
Why BMS Protection Happens During Generator Charging
A customer may report:
“The generator starts charging, but the battery suddenly stops accepting current.”
Possible causes include:
1. Charging Current Is Too High
If the inverter charger exceeds the BMS charging-current limit, the BMS may interrupt charging.
2. One Cell Reaches High Voltage First
The total battery voltage may appear acceptable while one cell reaches the protection threshold.
This is more likely when cells are significantly imbalanced.
3. Charging Voltage Is Too High
Lead-acid charging settings are often inappropriate for LiFePO4 batteries.
4. Battery Temperature Is Outside the Charging Range
Low-temperature charging protection is particularly important for LiFePO4 chemistry.
5. Multiple Charging Sources Are Active
The installer may configure:
- Generator charger = 80A
while solar charging simultaneously contributes:
- MPPT = 60A
The battery therefore receives approximately:
140A
not 80A.
The combined charging current must always be considered.
Solar + Generator Charging Requires Coordination
In many off-grid systems, the generator starts automatically when battery SOC becomes low.
But solar panels may still be producing energy.
The system could therefore receive charging current from both sources.
For example:
Solar MPPT: 70A
Generator charger: 100A
Combined possible current:
170A
If the battery bank is designed for a routine charging limit of 120A, this configuration should be adjusted.
Possible strategies include:
- Reducing generator charging current when solar is available
- Using BMS communication to dynamically control charge limits
- Coordinating chargers through the energy management system
- Increasing battery-bank capacity where appropriate
Generator Auto-Start by SOC
Modern hybrid and off-grid inverters may support generator automatic start.
A typical control strategy is:
Battery SOC falls below a defined level → generator starts
Then:
Battery reaches target SOC → generator stops
This can reduce manual operation.
However, SOC-based generator control depends on accurate battery SOC information.
If the inverter estimates SOC only from voltage, accuracy may be limited because LiFePO4 batteries have a relatively flat voltage curve over a large part of their operating range.
CAN or RS485 BMS communication can provide better system integration when supported by both battery and inverter.
Avoid Very Short Generator Charging Cycles
Suppose the system is configured:
Generator ON at 30% SOC
Generator OFF at 40% SOC
Under heavy load, SOC may quickly fall back to 30%.
The generator starts again.
This can create frequent:
Start → stop → start → stop
cycles.
Repeated short generator cycles are inefficient and increase mechanical wear.
A better control strategy usually provides sufficient difference between generator start and stop conditions.
For example, the generator may start at a low SOC and continue until a substantially higher target SOC is reached.
The exact values should be selected according to:
- Battery capacity
- Load profile
- Solar forecast
- Generator size
- Fuel efficiency
- Backup requirements
Example: 20kWh Off-Grid Battery System
Consider approximately 20kWh of LiFePO4 storage.
Assume the battery is at 20% SOC and the target is 80%.
Required energy:
20kWh × 60% = 12kWh
Suppose the inverter charger provides approximately 5kW of effective charging power.
Ignoring changing load and allowing for losses, generator charging may require roughly several hours rather than simply:
20kWh ÷ generator nameplate power.
If the house consumes 2kW while the generator is running, part of the generator output must supply the house first.
This illustrates why actual charging time must consider the complete system.
Check AC Voltage and Frequency
Generator power quality is another important factor.
The inverter typically specifies acceptable ranges for:
- AC voltage
- Frequency
- Input current
If generator voltage or frequency repeatedly moves outside the allowed range, the inverter may disconnect its AC input.
The customer may think the battery is refusing to charge when the actual problem is unstable generator output.
This is especially relevant for:
- Small portable generators
- Old generators
- Generator sets with poor speed regulation
- Systems with large motor loads
Cable and Protection Device Sizing Still Matters
High-power generator charging can create substantial DC current between the inverter and battery bank.
For example, approximately 5kW at a 51.2V battery corresponds to roughly 100A DC before detailed voltage and efficiency considerations.
At 10kW, current can approach approximately 200A.
The installation must therefore use appropriately sized:
- Battery cables
- Busbars
- DC breakers
- Fuses
- Disconnect switches
- Terminals
Increasing charger power without upgrading the DC side can create overheating and voltage drop.
Generator Charging in Remote Markets
Generator-supported LiFePO4 systems are especially useful in markets where:
- Grid power is unreliable
- Diesel generators already exist
- Fuel costs are high
- Solar irradiance is strong
Instead of running the generator continuously, a properly designed hybrid system can operate differently:
- Solar powers loads during the day.
- Excess solar charges the LiFePO4 battery.
- The battery supplies loads at night.
- The generator starts only when battery energy becomes insufficient.
- The generator operates at an efficient output while simultaneously powering loads and recharging the battery.
- The generator shuts down once sufficient battery capacity is restored.
This architecture can significantly reduce generator operating hours compared with a generator-only power system.
Information to Provide Before Designing the System
For a professional generator + LiFePO4 project, provide the battery supplier with:
- Generator rated power
- Generator output voltage
- Generator frequency
- Single-phase or three-phase output
- Inverter brand and model
- Inverter charger capacity
- Battery voltage
- Battery capacity
- Number of battery modules
- BMS maximum charging current
- Recommended charging current
- PV array size
- Maximum simultaneous load
- Required generator runtime
This information allows the entire system to be evaluated instead of selecting individual components separately.
Common Generator Charging Mistakes
Avoid these frequent design errors:
- Selecting the generator only from battery capacity
- Ignoring active loads during charging
- Using lead-acid charging parameters
- Setting the charger at the BMS maximum without necessity
- Ignoring simultaneous solar charging
- Using undersized DC cables
- Setting generator start and stop SOC too close together
- Assuming unstable generator AC is a battery fault
- Ignoring inverter-generator compatibility
Most generator charging problems are system-integration problems rather than battery defects.
Conclusion
Charging LiFePO4 batteries with a generator can be extremely effective for off-grid and backup energy storage.
The key is to design the generator, inverter charger and battery as one coordinated system.
Before installation, verify:
- Battery energy capacity
- Recommended charging current
- BMS charging limit
- Inverter charger power
- Generator continuous output
- Simultaneous loads
- Solar contribution
- AC voltage and frequency
- DC cable and protection capacity
A correctly designed system can charge batteries quickly while reducing generator runtime and fuel consumption.
HIZN manufactures LiFePO4 battery systems for off-grid solar, residential ESS, telecom and commercial energy storage applications, including 12.8V, 25.6V, 48V and 51.2V battery solutions.
For generator-supported projects, send us your generator power, inverter model, load demand and required battery capacity. We can help evaluate the battery configuration and charging requirements before quotation.