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.
Key Architectural Outcomes & Takeaways
Rapid 5-minute isolation of Modbus RS-485 transceiver packet corruption.
Coulomb counter recalibration procedure avoiding cell voltage inversion.
Automated load shedding triggers to prevent deep discharge battery lockouts.
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:
| Severity | Threshold Condition | Target Response Time | Action |
|---|---|---|---|
| SEV-1 | Pack Voltage < 46.2V or BMS Comm Lost > 15m | 5 Minutes | Emergency load shedding + Generator autostart |
| SEV-2 | Cell Delta-V > 85mV during absorption phase | 30 Minutes | Throttled charge rate to 0.1C, inspect active balancer |
| SEV-3 | Inverter heatsink temperature > 68°C | 2 Hours | Clean 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:
# 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:
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):
- Charge to Full Saturation: Drive pack to
56.8Vuntil tail current drops below3.0Afor 45 continuous minutes. - Execute BMS Reset Command:
# 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
- Verify Individual Cell Voltages: Every cell in the 16S bank must sit between
3.50Vand3.55V.