Runbook Off-Grid Infrastructure Intermediate Level PP-KB-002

Off-Grid Solar Micro-Inverter & LiFePO4 Telemetry Incident Runbook

Field engineering runbook for diagnosing BMS communication dropouts, state-of-charge drift, and passive thermal throttling under extreme continuous loads.

Elena Rostova
Elena Rostova Industrial Power SRE
Estimated Read 7 min read
Last Verified 2026-10-22
Corpus Status Production Edge

Key Architectural Outcomes & Takeaways

01

Rapid 5-minute isolation of Modbus RS-485 transceiver packet corruption.

02

Coulomb counter recalibration procedure avoiding cell voltage inversion.

03

Automated load shedding triggers to prevent deep discharge battery lockouts.

04

Prometheus alert rules for early cell impedance imbalance detection.

#Incident Classification & Severity Matrix

Off-grid energy failures directly impact life support, communication relays, and cold data storage. Use this severity matrix upon alert firing:

SeverityThreshold ConditionTarget Response TimeAction
SEV-1Pack Voltage < 46.2V or BMS Comm Lost > 15m5 MinutesEmergency load shedding + Generator autostart
SEV-2Cell Delta-V > 85mV during absorption phase30 MinutesThrottled charge rate to 0.1C, inspect active balancer
SEV-3Inverter heatsink temperature > 68°C2 HoursClean air intake plenum, check auxiliary cooling fans

#Diagnostic Workflow: BMS Modbus RS-485 Dropout

When Prometheus reports bms_comm_status == 0, execute the following field protocol:

bash
# 1. Check serial port connection and baud lock
dmesg | grep -E "ttyUSB|ttyAMA"

# 2. Query raw Modbus registers using mbpoll (ID 1, Baud 9600, 8N1)
mbpoll -m rtu -a 1 -b 9600 -d 8 -s 1 -p none -t 3:hex /dev/ttyUSB0 0 10

# 3. Check for ground-loop voltage differentials between chassis and battery 0V
# Measure DC voltage with multimeter between solar ground rod and RS485 Shield pin.
# Acceptable limit: < 0.4V DC. If > 1.5V DC, inspect ground bonding resistor.

#Modbus Diagnostic Sniffer (Python)

Run this lightweight script on the edge telemetry controller to isolate framing vs CRC errors:

python
import serial
import struct
import sys

def sniff_bms_bus(port="/dev/ttyUSB0", baud=9600):
    try:
        ser = serial.Serial(port, baud, timeout=1.0)
        print(f"[*] Listening on {port} at {baud} baud...")
        while True:
            raw = ser.read(32)
            if raw:
                hex_dump = " ".join(f"{b:02X}" for b in raw)
                print(f"[{len(raw)} bytes] {hex_dump}")
    except serial.SerialException as e:
        print(f"[!] Serial Hardware Fault: {e}", file=sys.stderr)

if __name__ == "__main__":
    sniff_bms_bus()

#Shunt Calibration & SoC Recovery Procedure

When the battery monitor exhibits coulomb counter drift (> 12% discrepancy against open circuit resting voltage):

  1. Charge to Full Saturation: Drive pack to 56.8V until tail current drops below 3.0A for 45 continuous minutes.
  2. Execute BMS Reset Command:
bash
   # Send raw write command to Register 0x002A (Reset 100% SoC marker)
   mbpoll -m rtu -a 1 -b 9600 -p none -t 4:int -r 43 /dev/ttyUSB0 100
  1. Verify Individual Cell Voltages: Every cell in the 16S bank must sit between 3.50V and 3.55V.

#Operational Checklist

Inverter low-voltage cutoff verified at 44.8V (2.80V/cell).
RS-485 120-ohm termination resistor verified at both ends of transmission bus.
Active balancer operational and balancing delta under 15mV in float mode.
Emergency dry-contact generator start tested and confirmed.
Back to Knowledge Catalog
How to build habit in 30 days with Linda ?
Mike Hardson Episode 12 . Industrial Revolution
00:00
00:27