How to Coordinate Solar, Grid and Generator Charging for One LiFePO4 Battery Bank?

Introduction

Modern solar energy storage systems may charge one LiFePO4 battery bank from several sources:

  • Solar panels
  • Utility grid
  • Diesel generator
  • Inverter-charger
  • External MPPT controller
  • Separate AC battery charger
  • Wind or micro-hydro controller

Using multiple sources can improve system reliability, especially in off-grid projects. However, every charging source contributes current to the same battery bank.

A common installation mistake is to configure each charger independently at the battery’s maximum charging current.

For example:

  • Solar MPPT limit: 100A
  • Inverter grid charger: 100A
  • Generator charger: 100A

The installer may believe that each charger is safe because the battery supports 100A charging. If the sources operate together, the battery could receive much more than the intended total limit.

The correct design must coordinate all charging sources as one system.

The Battery Sees the Total Charging Current

The total battery current is approximately the sum of all active sources minus the power simultaneously used by loads.

In simplified form:

Net Battery Charge Current
= Solar Charging Current

  • Grid Charging Current
  • Generator Charging Current
  • Other Charging Current
    − DC Current Used by Loads

Suppose:

  • Solar controller supplies 80A.
  • Generator charger supplies 70A.
  • Grid charger supplies 40A.
  • Loads consume the DC equivalent of 30A.

Approximate net battery charge current:

80A + 70A + 40A − 30A = 160A

The battery, cables, busbars, fuses, breakers and BMS must all support the resulting current.

Establish the Battery’s Real Charging Limit

Before configuring the chargers, obtain:

  • Recommended continuous charge current
  • Maximum continuous charge current
  • Temporary maximum current, if permitted
  • Charging-temperature range
  • BMS dynamic charge-current limit
  • Low-temperature charge behaviour
  • Maximum current for parallel modules
  • Cable and terminal current limits

Recommended current and absolute maximum current are not the same.

Operating continuously at the absolute maximum may increase:

  • Cell temperature
  • BMS temperature
  • Voltage difference between cells
  • Charging cut-offs
  • Cable and terminal stress

Some battery manufacturers recommend a moderate charge rate below the product’s absolute maximum. One official lithium-battery manual, for example, gives 0.5C as its recommended charging current for the covered batteries, while requiring users to follow the actual technical data and BMS limits of the selected model.

The HIZN Lithium battery specification supplied for the project should always take priority.

Do Not Multiply the Limit Without Confirming Parallel Operation

When identical batteries are connected in parallel, the bank may support a higher combined charging current.

For example:

  • One battery recommended charge current: 50A
  • Four identical batteries in parallel
  • Theoretical combined recommended current: 200A

However, the usable limit may still be lower because of:

  • Master BMS settings
  • Unequal current sharing
  • Main cable rating
  • Busbar rating
  • Branch fuse rating
  • Inverter communication limit
  • Temperature
  • Battery age
  • Manufacturer’s parallel-bank restriction

Confirm the combined value transmitted by the master BMS rather than multiplying a label value automatically.

List Every Charging Source

Create a charging-source schedule.

Charging SourceMaximum CurrentNormal Operating TimeCan Overlap?
Internal solar MPPT100ADaytimeYes
External MPPT60ADaytimeYes
Grid charger80AScheduledYes
Generator charger80ALow-SOC periodsYes
Separate maintenance charger20AManual usePossibly

The last column is critical.

If two sources can operate at the same time, their current settings must be coordinated.

Closed-Loop BMS Control Is Preferred Where Supported

In a closed-loop system, the battery sends real-time charging limits to compatible equipment.

The battery may reduce its allowed charge current because of:

  • High SOC
  • Low temperature
  • High temperature
  • High cell voltage
  • Cell imbalance
  • Battery fault
  • Reduced number of online modules
  • Communication problem

Compatible inverters and chargers should respect the limit.

A well-designed BMS may also issue a charge-disable signal before the battery reaches hard protection. Official BMS documentation describes coordinated charge-disconnect and load-disconnect control to prevent cell overvoltage and undervoltage.

However, not every independent MPPT or generator charger can receive this communication.

Open-Loop Chargers Need Independent Limits

An external charger without BMS communication operates according to fixed voltage and current settings.

The installer must ensure that it cannot:

  • Exceed total battery current
  • Continue charging after the BMS requests zero current
  • Charge below the approved battery temperature
  • Use a lead-acid equalization cycle
  • Apply an excessive float voltage
  • Restart repeatedly after BMS disconnection

Possible control methods include:

  • Charger remote-enable input
  • BMS charge-enable relay
  • External contactor
  • Energy management system
  • Programmable inverter relay
  • Temperature interlock
  • Maximum-current limit
  • Generator controller

Do not rely exclusively on the BMS opening its internal MOSFETs or contactor at every charging limit.

Coordinate Solar and Grid Charging

Many hybrid inverters allow both solar and grid charging.

Common operating strategies include:

Solar-First Charging

Solar provides the main charging energy. Grid charging is enabled only:

  • Below a minimum SOC
  • During low-cost tariff periods
  • Before a forecast outage
  • When backup reserve is insufficient

Time-of-Use Charging

Grid charging operates during an off-peak tariff window.

The charging current should account for expected solar production during the same period.

Backup Reserve Charging

The grid maintains a defined reserve but does not charge the battery to 100% every day.

Emergency Full Charge

The grid charges the battery to a higher SOC before severe weather or a planned outage.

The selected strategy affects battery cycling, energy cost and available solar-storage space.

Avoid Charging the Battery from the Grid When Solar Is Already Sufficient

Unnecessary simultaneous grid and solar charging can:

  • Reach full SOC too early.
  • Leave no space for midday solar production.
  • Increase cell balancing time.
  • Cause renewable-energy curtailment.
  • Increase electricity cost.
  • Create a higher combined charging current.

A better schedule may allow solar to charge the battery first and enable grid charging only when the battery is below a defined target at a specified time.

Coordinate Generator Start SOC

In an off-grid system, the generator should normally start before the battery reaches hard BMS protection.

Possible start criteria include:

  • Battery SOC
  • Battery voltage
  • Load power
  • Time below threshold
  • BMS low-SOC warning
  • Forecast solar availability
  • Maximum discharge current
  • Critical-load demand

Using only instantaneous voltage can cause unnecessary starts when a heavy load briefly lowers battery voltage.

Where reliable BMS communication is available, SOC-based control may provide more stable operation.

Provide Enough Start Delay

A generator should not start because of a one-second pump surge or temporary cloud.

Use an appropriate delay such as:

  • SOC below threshold for a defined time
  • Voltage below threshold for several minutes
  • Confirmation that grid supply is unavailable
  • Minimum generator off-time
  • Minimum generator run-time

The actual delay depends on the site.

Critical telecom and medical sites may require a faster response than a residential system.

Set the Generator Stop Condition Higher Than the Start Condition

The generator needs sufficient hysteresis so it does not start and stop repeatedly.

Example:

  • Generator start: 25% SOC
  • Generator stop: 60% SOC

This creates a meaningful charging period.

Starting at 25% and stopping at 30% may cause:

  • Frequent generator cycles
  • Poor fuel efficiency
  • Increased wear
  • Incomplete battery recovery
  • Repeated low-SOC operation

Some current hybrid-inverter manuals provide separate generator start SOC and generator charging-current settings, illustrating why these values should be configured independently.

The example values above are illustrative only.

Account for Generator Warm-Up and Cool-Down

A proper generator sequence may include:

  1. Generator start command
  2. Engine warm-up
  3. Voltage and frequency stabilization
  4. Inverter acceptance of AC input
  5. Gradual charging-current increase
  6. Charging period
  7. Charging-current reduction
  8. Generator cool-down
  9. Generator stop

Connecting the maximum charger load immediately after engine start may cause:

  • Frequency drop
  • Voltage drop
  • Generator overload
  • Inverter rejection of the AC input
  • Repeated connection attempts

Match the Charger to Generator Capacity

The generator must support:

  • Battery charging power
  • Simultaneous AC loads
  • Power factor
  • Inverter conversion losses
  • Motor-starting loads
  • Altitude and temperature derating

Approximate AC charging input power can be estimated from:

Charging Power ÷ Charger Efficiency

If the battery is charging at approximately 5kW and the charger is 90% efficient:

Required AC input ≈ 5.56kW

This is before adding building loads.

A generator rated at 6kW may therefore have insufficient margin.

Prevent the Inverter from Overloading the Generator

Many inverter-chargers allow an AC-input current limit.

This setting prevents the charger and loads from drawing more current than the generator can supply.

When household loads increase, compatible systems may reduce battery charging automatically.

Confirm:

  • Generator continuous kW rating
  • Generator kVA rating
  • Single- or three-phase output
  • Maximum current per phase
  • AC-input current limit
  • Load-support feature
  • Charging-current response
  • Motor-start requirements

Use a Dedicated Generator Input Correctly

Some hybrid inverters provide a dedicated generator port.

Depending on the model, it may support:

  • Generator charging
  • Generator start signal
  • Generator power monitoring
  • Generator load connection
  • Smart load output
  • Microinverter input

These functions are not interchangeable.

Follow the terminal description for the exact inverter model.

Do not connect the generator to a port based only on its physical connector or label appearance.

Prevent Grid and Generator Sources from Conflicting

The system must not connect incompatible AC sources together without approved synchronization or transfer equipment.

Possible solutions include:

  • Inverter internal transfer switch
  • Automatic transfer switch
  • Mechanically interlocked contactors
  • Source selector
  • Approved grid-generator control panel

The system should prevent:

  • Backfeeding the generator
  • Backfeeding the utility grid
  • Connecting unsynchronized AC sources
  • Neutral-earth conflicts
  • Incorrect phase sequence
  • Simultaneous source contactor closure

This part of the installation must be completed by qualified personnel.

Include External MPPT Current in the Total

An external solar controller may charge the battery independently from the hybrid inverter.

The inverter may not automatically know how much current the external controller is supplying.

Example:

  • Battery limit: 150A
  • Hybrid inverter solar charging: 100A
  • External MPPT: 60A

Potential total:

160A

The inverter’s internal setting may appear correct while the complete bank exceeds the approved current.

Reduce one or both charging limits or use a coordinated control system.

Connect All Chargers Through Proper DC Distribution

Every charger should connect through:

  • Correctly sized cable
  • Battery-side fuse or breaker
  • Proper positive busbar
  • Proper negative busbar
  • Isolation method
  • Clear circuit label

Do not stack several charger lugs directly on one battery terminal.

The busbars and main battery cables must support the highest possible net current.

Ensure Every Charging Source Passes Through the Monitor

When an external shunt is used, all chargers must connect on the system side.

If an external MPPT or generator charger connects directly to the battery negative:

  • Its current is not measured.
  • SOC becomes inaccurate.
  • Charging-energy records are incomplete.
  • Generator control may use incorrect SOC.
  • The system may start the generator unnecessarily.

Verify the wiring with a controlled charger test.

Plan Low-Temperature Charging Control

LiFePO4 charging may need to be reduced or stopped below the battery’s approved charging temperature.

When several charging sources exist, stopping only one is insufficient.

The low-temperature control must affect:

  • Solar MPPT
  • Grid charger
  • Generator charger
  • External AC charger
  • Wind or hydro charger

Possible methods include:

  • BMS communication
  • Charge-disable relay
  • Remote charger input
  • Battery heater interlock
  • EMS command

The website already contains broader temperature guidance; this multi-source control step is specifically about ensuring that every charger responds to the same battery condition.

Avoid Lead-Acid Equalization Settings

Every charger connected to a LiFePO4 bank should be checked for:

  • Equalization voltage
  • Equalization interval
  • Temperature compensation
  • Float mode
  • Desulfation pulse
  • Automatic battery-type detection

Do not assume that selecting lithium mode on one inverter changes the settings of an independent MPPT or AC charger.

Create a Charge-Current Allocation Table

Example for a battery bank with a 200A approved total charge limit:

Operating ConditionSolar LimitGrid LimitGenerator LimitMaximum Combined Target
Normal sunny day160A0A0A160A
Cloudy grid-connected day60A100A0A160A
Off-grid generator operation30A solar130A0A grid160A
Emergency rapid recovery80A solar0A120A generator200A

The table is an example. Actual settings must follow the battery, inverter and charger specifications.

Perform a Source-by-Source Commissioning Test

Test 1: Solar Only

Confirm:

  • Correct charging voltage
  • Correct current
  • Stable BMS status
  • No abnormal cell voltage

Test 2: Grid Only

Confirm:

  • AC-input current
  • Battery current
  • Charge-current limit
  • Grid schedule

Test 3: Generator Only

Confirm:

  • Generator voltage and frequency
  • Warm-up
  • Charger ramp
  • Maximum generator load
  • Stable operation

Test 4: Solar Plus Grid

Confirm combined battery current.

Test 5: Solar Plus Generator

Confirm combined current and generator stability.

Test 6: Maximum Load While Charging

Confirm the system correctly allocates source power between loads and battery charging.

Test 7: BMS Charge-Limit Reduction

Verify that all compatible chargers respond safely when the BMS reduces allowed current.

Record the Net Battery Current

Do not judge the test only by adding charger-display values.

Measure the actual current entering the battery using:

  • Master BMS
  • Calibrated shunt
  • DC clamp meter
  • System controller

This confirms whether household loads are consuming part of the charging power.

Common Prevention Mistakes

Giving Every Charger the Full Battery Limit

The battery sees their combined current.

Forgetting an External MPPT

Independent solar charging may not appear in the inverter’s own total.

Starting the Generator Too Late

The battery reaches BMS protection before charging is established.

Using Start and Stop SOC Values Too Close Together

The generator cycles frequently.

Ignoring Generator Warm-Up

The inverter rejects unstable AC input.

Connecting the Charger Around the Shunt

Battery SOC and energy data become inaccurate.

Allowing One Charger to Use Equalization

The charging profiles conflict.

Assuming CAN Communication Controls Every Charger

Independent chargers may not receive BMS commands.

Using Instantaneous Voltage to Start the Generator

Motor loads can cause unnecessary starts.

Frequently Asked Questions

Can solar and generator charge the battery at the same time?

Yes, when the system is designed for simultaneous operation and the combined current remains within all battery and wiring limits.

Can the grid charger and generator charger operate together?

This depends on the inverter and transfer architecture. The AC sources must not be connected together without approved control.

Should the generator charge the battery to 100%?

Not necessarily. It may be more fuel-efficient to charge to a moderate SOC and let solar complete charging, provided sufficient reserve remains.

Does adding more batteries increase the allowed charging current?

It may, but the master BMS, cables, busbars and manufacturer’s parallel-bank limits must be checked.

Which charging source has priority?

Priority depends on electricity cost, solar availability, generator fuel cost, backup requirements and inverter functions.

Can an external charger connect directly to the battery terminals?

A properly protected busbar connection is generally preferred, particularly when several devices share the battery bank.

Conclusion

Multiple charging sources can improve the reliability of a LiFePO4 solar system, but they must be managed as one coordinated charging network.

A reliable design requires:

  • Confirmed battery charging limits
  • Total-current calculation
  • BMS-controlled charging where supported
  • Conservative limits for open-loop chargers
  • Solar and grid priority settings
  • Proper generator start and stop thresholds
  • Generator warm-up and cool-down
  • Correct AC transfer architecture
  • External MPPT current inclusion
  • Proper busbars and protection
  • Complete shunt measurement
  • Source-by-source commissioning

For HIZN Lithium system matching, provide:

  • Battery voltage and capacity
  • Battery quantity
  • Maximum charge-current requirement
  • Inverter brand and model
  • Solar MPPT quantity and current
  • Grid charging current
  • Generator kW and kVA rating
  • Generator start method
  • Required SOC reserve
  • Country and grid standard

This information allows the battery, BMS and charging sources to be coordinated before the equipment reaches the installation site.

Facebook
Twitter
LinkedIn

Leave a Reply

Your email address will not be published. Required fields are marked *