LiFePO4 Battery Installation Guide: Wiring, Inverter Compatibility, BMS Setup (2026)
Installing a 48V LiFePO4 battery bank for solar storage involves five decisions: configuration (series/parallel), cable sizing, overcurrent protection, inverter compatibility, and BMS communication. Each wrong decision costs money — undersized cables melt, wrong BMS protocol means no communication, and incompatible inverters refuse to charge.
The 3 Most Common Installation Errors
- • Using 16mm² cable for a 100A battery bank — cable melts within 2 hours at full load. Minimum: 35mm² for 100A continuous.
- • Connecting 16 batteries in parallel without a bus bar — current distributes unevenly, one battery cycles twice as fast as the others, fails within 2 years.
- • Selecting "AGM" battery type for LiFePO4 on the inverter — charge voltage is wrong (57.6V instead of 56.0V), triggering BMS overvoltage protection every cycle.
Step 1: Battery Bank Configuration
Parallel vs Series: The Only Two Configurations
For solar storage, you almost always wire batteries in parallel. Parallel wiring keeps voltage at 48V while adding capacity (Ah). Series wiring increases voltage — useful for high-voltage inverter systems (200-500V DC bus), but rare in residential solar.
| Configuration | Voltage | Capacity | Total Energy | Use Case |
|---|---|---|---|---|
| 1 × 48V 100Ah | 48V | 100Ah | 4.8kWh | Small backup, 3kW inverter |
| 2P × 48V 100Ah | 48V | 200Ah | 9.6kWh | 5kW hybrid system, 8-10h backup |
| 4P × 48V 100Ah | 48V | 400Ah | 19.2kWh | 10kW system, whole-house backup |
| 8P × 48V 100Ah | 48V | 800Ah | 38.4kWh | Commercial, small business |
Parallel Connection Rules
- Maximum parallel units: 16 batteries for most BMS designs. Some brands support 32. Check the manufacturer's data sheet.
- Age matching: All batteries in one parallel bank must be within 6 months of manufacture. Mixing a 3-year-old battery with a new one guarantees the old one fails first and pulls down the new one.
- Equal cable length: The total cable length (battery positive to bus bar + battery negative to bus bar) must be identical for each battery in the group. A 20cm difference shifts current sharing by 5-8%, causing one battery to cycle more deeply.
- Bus bar topology: Batteries connect individually to a common DC bus bar, not daisy-chained. Daisy-chaining forces current through multiple connection points, creating hot spots.
Step 2: Cable Sizing
| Battery Bank Max Current | Cable (≤1.5m) | Cable (1.5-3m) | DC Breaker / Fuse |
|---|---|---|---|
| 100A (1 × 48V 100Ah) | 35mm² (AWG 2) | 50mm² (AWG 0) | 125A |
| 200A (2 × 48V 100Ah) | 50mm² (AWG 0) | 70mm² (AWG 00) | 250A |
| 400A (4 × 48V 100Ah) | 70mm² (AWG 00) | 95mm² (AWG 000) | 500A |
| 600A (8 × 48V 100Ah) | 95mm² (AWG 000) | 120mm² (AWG 0000) | Two 400A parallel |
Three cable rules: (1) Use copper only — aluminum requires 1.5x cross-section and creates galvanic corrosion at terminals. (2) Crimped lugs with adhesive-lined heat shrink — solder-only connections fail under vibration. (3) Every positive cable must have overcurrent protection within 30cm of the battery terminal. No exceptions.
Step 3: Fuse and Breaker Sizing
Protection devices serve two purposes: fault isolation (a short circuit in one battery doesn't take down the bank) and overload protection (a stuck inverter doesn't pull unlimited current). Two-device strategy:
- NH fuse (per battery): Rated at 125% of the battery's max continuous discharge current. A 100A max battery gets a 125A NH fuse. NH fuses have 50kA+ breaking capacity — DC breakers top out at 10-25kA. If your battery bank can deliver 5,000A short-circuit current, the breaker welds shut. The NH fuse clears.
- DC breaker (bank to inverter): Rated at 125% of total bank max current, after the bus bar. This is the isolation switch for maintenance, not the primary fault protection. Use a DC-rated breaker (Schneider, Noark) — AC breakers on DC circuits fail to extinguish arcs and cause fires.
Step 4: Inverter Compatibility
Chinese LiFePO4 battery BMS communicates via CAN bus or RS485. Most use the Pylontech CAN protocol — a de facto standard adopted by battery manufacturers. The inverter must support the protocol used by your battery.
Inverter Compatibility Table
| Inverter Brand | Models | Protocol | Setup Notes |
|---|---|---|---|
| Deye / Sunsynk | SUN-5K-SG01LP1, 8K, 12K, 16K | CAN (Pylontech) | Select battery type "Lithium" → brand "Pylontech". CAN cable to BMS port. Works out of the box with most Chinese batteries. |
| Growatt | SPF 5000 ES, SPH 3000-6000 | CAN / RS485 | Battery type → "Li" → protocol "L01" or "L52". Some SPF models need a firmware update for CAN communication. RS485 is more reliable on older SPF units. |
| Victron | MultiPlus-II, Quattro | CAN (VE.Can) via GX device | Requires Cerbo GX or Venus OS. Select "Pylontech" from the supported battery list in the GX menu. Custom CAN profiles available for non-standard batteries. |
| Luxpower | LXP 3600-6000 ACS, SNA 5000 | CAN (Pylontech) | Select battery brand "Pylontech" under lithium battery settings. CAN pinout: pin 4 = CAN_H, pin 5 = CAN_L (standard). |
| SRNE | SR-B, SR-E series | CAN / RS485 | Battery type → "LI" → protocol "PYL". RS485 preferred for SR-B series. Confirm pinout with battery manufacturer — some batteries swap RS485 A/B lines. |
| MUST / Voltronic | Axpert VM III, King, MAX | RS485 (Pylontech) | Battery type setting "PYL". Requires RS485 cable with RJ45 connector, pin 3 = B, pin 5 = A. Some Axpert models need a communication board add-on. |
BMS Communication Setup
- Identify the master battery in your parallel bank — it has the communication cable connected to the inverter. Slave batteries communicate to the master via inter-battery cables.
- Set DIP switches: Master = address 1 (DIP 1 ON, others OFF). Slave 1 = address 2 (DIP 2 ON, others OFF). Continue sequentially.
- Connect CAN or RS485 cable from master battery's communication port to inverter's BMS port. CAN uses RJ45 with 120Ω termination resistor between CAN_H and CAN_L. RS485 uses RJ45 with A/B data lines.
- In the inverter menu: select lithium battery, choose Pylontech or your battery brand protocol, confirm baud rate (500kbps standard for CAN, 9600bps for RS485).
- Verify: inverter display shows SOC percentage, charge/discharge current limits from BMS, and no "BMS Communication Lost" alarm.
Step 5: LiFePO4 Charge Settings (No BMS Communication)
When the inverter does not support CAN/RS485 communication with your battery, use "User-Defined" battery type with these parameters:
| Parameter | 16S LiFePO4 (51.2V Nominal) | 15S LiFePO4 (48V Nominal) |
|---|---|---|
| Bulk/Absorption Voltage | 56.0V | 52.5V |
| Float Voltage | 54.0V | 50.5V |
| Low Voltage Cutoff | 44.0V | 41.2V |
| Low Voltage Warning | 46.0V | 43.0V |
| Max Charge Current | 0.5C (50A for 100Ah) | 0.5C (50A for 100Ah) |
| Max Discharge Current | 1C (100A for 100Ah) | 1C (100A for 100Ah) |
Important: Without BMS communication, the inverter cannot read real SOC. It estimates SOC from voltage — inaccurate with LiFePO4's flat discharge curve (48V-52V covers 20-80% SOC). Use a separate battery monitor (Victron BMV-712 or SmartShunt) for accurate SOC data.
Installation Environment Requirements
Wall-Mounted Battery Placement
- Mounting height: Bottom of battery 60-80cm from floor (eye level for LED display and accessible for maintenance).
- Wall type: Concrete or brick wall, minimum 150mm thickness. Use M8-M10 expansion bolts, 4-6 per battery. Never mount on drywall without finding studs — a 55kg battery tears through plasterboard.
- Clearance: 30cm above, 15cm each side, 50cm in front for ventilation and cable access.
Rack-Mounted Battery Placement
- Use a 19-inch server rack with 200kg+ load rating per shelf.
- Bottom battery at least 15cm from floor (flood protection).
- Maximum 4 batteries per rack column. More than 4 requires a second rack.
Ventilation and Temperature
- Operating temperature: 0°C to 45°C (charge), -20°C to 60°C (discharge). Below 0°C, charging is blocked by the BMS to prevent lithium plating damage.
- Indoor installation: Natural ventilation sufficient for up to 4 batteries in a 20m² room. 8+ batteries: add a 100mm exhaust fan (40-60 CFM). The batteries generate negligible heat during normal operation — the fan handles BMS waste heat.
- Outdoor installation: IP65 rated enclosure with sunshade. Internal temperature must stay below 45°C. Add a passive vent at the top of the enclosure for hot air escape.
Fire Safety
- Smoke detector: Install a photoelectric smoke detector above the battery bank. Ionization detectors false-trigger less but also respond slower to smoldering fires. Photoelectric is preferred for electrical fires.
- Fire extinguisher: Class D (for metal fires) or CO₂ extinguisher, mounted on the wall within 2m of the battery bank. Water and foam extinguishers (Class A/B) worsen lithium battery fires.
- Battery clearance from combustibles: 1m minimum to curtains, wooden furniture, cardboard boxes, or fuel storage.
- Emergency disconnect: Install a DC isolation switch between bus bar and inverter, accessible without reaching over the batteries. Label it clearly. In an emergency, you need to isolate the batteries in under 5 seconds.
Wiring Diagram Reference
4-Battery Parallel Bank Wiring Order
[Battery 1] ──35mm²──┐
├── Bus Bar (+) ──70mm²──[125A NH Fuse]──[250A DC Breaker]── Inverter (+)
[Battery 2] ──35mm²──┤
│
[Battery 3] ──35mm²──┤
│
[Battery 4] ──35mm²──┘
[Battery 1] ──35mm²──┐
├── Bus Bar (-) ──70mm²───────────────────────────────── Inverter (-)
[Battery 2] ──35mm²──┤
│
[Battery 3] ──35mm²──┤
│
[Battery 4] ──35mm²──┘
Communication: Master (Addr 1) ──RJ45 CAN──► Inverter BMS Port
Slave 1 (Addr 2) ──RJ45──► Master
Slave 2 (Addr 3) ──RJ45──► Master
Slave 3 (Addr 4) ──RJ45──► MasterFrequently Asked Questions
How do I calculate how many batteries I need for a 5kW solar system?
A 5kW inverter at full load pulls approximately 100A from a 48V battery bank. For 10 hours of backup: 100A × 10h = 1,000Ah. With 80% DoD limit: 1,000Ah / 0.8 = 1,250Ah. Using 48V 100Ah batteries: 1,250Ah / 100Ah = 13 batteries (round up from 12.5). If you only need 4 hours of backup: 100A × 4h = 400Ah, 400Ah / 0.8 = 500Ah, 500Ah / 100Ah = 5 batteries. Most residential installations use 2-4 batteries (9.6-19.2kWh) with grid charging as backup, not full off-grid autonomy.
Can I mix different brands of 48V LiFePO4 batteries?
Not recommended. Different brands use different BMS designs with different charge/discharge curves, cell balancing strategies, and communication protocols. Mixed brands in one bank cause: one brand reaches full charge while the other is at 85% — the first BMS disconnects, dumping all load on the unfinished batteries. For expandable systems, buy from one manufacturer and add identical batteries within 6 months of the original purchase.
How do I configure BMS for a solar application?
You don't configure the BMS directly — the manufacturer sets cell-level parameters (overvoltage, undervoltage, temperature cutoffs) at the factory. What you configure is the inverter's battery settings: charge voltage (56.0V for 16S), float voltage (54.0V), low-voltage cutoff (44.0V), and max charge/discharge current (0.5C charge, 1C discharge). If the inverter communicates with the BMS via CAN/RS485, the BMS sends these limits automatically — you only select the battery protocol in the inverter menu.