π Smart Battery Reader (SBR)
Copyright (c) 2020 Boris Tashev
β οΈ This software is provided "as is" without warranty of any kind.
β οΈ Use at your own risk. The author is not responsible for any damage to batteries, battery management systems, computers, data loss, or other equipment resulting from the use of this software.
---
π Keywords
Smart Battery Reader, Smart Battery, SMBus, I2C, Battery Management System, BMS, Battery Testing, Battery Cycling, Battery Analyzer, Battery Logger, Battery Monitor, Battery Validation, Battery Characterization, Texas Instruments, TI bq40z50, bq27742, bq27z561, Fuel Gauge, Data Flash, GG File, Firmware, SREC, Authentication, SHA-1, Aardvark, Battery Diagnostics, Battery Research, Battery Development, Battery Capacity, Cell Balancing, Internal Resistance, Battery Aging, Windows.
---
π Overview
Smart Battery Reader (SBR) is a professional Windows application for communication, testing, logging, analysis and automated charge/discharge cycling of Smart Batteries using the SMBus/IΒ²C interface.
The software was originally developed for:
β
Battery characterization
β
Battery validation
β
Fuel gauge testing
β
Production testing
β
Long-term battery analysis
SBR supports:
β
Automated battery cycling
β
Real-time monitoring
β
Advanced data logging
β
Battery firmware management
β
Data Flash editing
---
π Main Features
π Automated Charge / Discharge Cycling
β
Fully automatic battery charge/discharge cycling
β
Configurable number of cycles
β
Programmable rest periods
β
Programmable pulsing profiles
β
Automatic switching between power supply and electronic loads
β
Optional second discharge load
βοΈCharge/Discharge Stop Conditions
The cycling engine can automatically stop charging or discharging based on one or more programmable conditions.
π Stop Discharging When
β
Relative State Of Charge (RSOC) drops below a specified level
β
Battery voltage drops below a specified value
β
Battery reports Fully Discharged status
β
Terminate Discharge Alarm is set
β
Remaining Capacity Alarm is set
β
Remaining Time Alarm is set
β
Remaining Capacity drops below a specified value
π’ Stop Charging When
β
Relative State Of Charge (RSOC) rises above a specified level
β
Battery voltage rises above a specified value
β
Battery reports Fully Charged status
β
Over Charged Alarm is set
β
Terminate Charge Alarm is set
β
Over Temperature Alarm is set
β
Remaining Capacity rises above a specified value
π§© Additional Cycling Controls
β
Programmable relaxation time before charging
β
Programmable relaxation time before discharging
β
Action when ANY selected condition is met
β
Action when ALL selected conditions are met
β
Stop after a programmable number of charge cycles
β
Stop after a programmable number of discharge cycles
---
π Battery Monitoring
Real-time monitoring of:
π Voltage
β‘ Current
π‘οΈ Temperature
π¦ Capacity
π¦ Remaining Capacity
π¦ Full Charge Capacity
π Cycle Count
π Cell Voltages
βοΈ Charging Status
π Battery Status
π Manufacturer Information
β
Supports logging of up to **125 battery parameters** (depending on fuel gauge type).
---
π Data Logging
β
Programmable scan interval
β
Programmable logging interval
β
CSV export
β
Long-term battery monitoring
β
Automatic data collection
---
π Real-Time Graphs
Live graphical display of:
π Voltage
π Current
π Temperature
Features:
β
Zoom
β
Scaling
β
Cursor inspection
β
Printing
---
π οΈ Custom Register Logging
Supports logging of custom SMBus and Manufacturer Access registers.
β
User programmable registers
β
Standard SMBus commands
β
Manufacturer Access commands
β
Hex, signed and unsigned values
---
πΎ Battery Data Flash Workshop
Advanced editor for battery Data Flash.
π Capabilities
β
Read Data Flash
β
Edit Data Flash
β
Import GG files
β
Export GG files
β
Hex editor
β
Data Flash comparison
β
Section highlighting
β
Write selected sections
β
Write complete Data Flash
---
π§ Firmware Tool
Supports:
β
Firmware export
β
Firmware import
β
Motorola SREC format
β
ROM Mode programming
β
Compatible with TI Battery Studio firmware format.
---
π Authentication Tool
Supports SHA-1 authentication used by compatible Texas Instruments fuel gauges.
π‘ Functions
β
Authentication verification
β
Authentication key programming
β
SHA-1 calculator
---
π‘ Professional SMBus Tool
Advanced communication utility allowing:
β
Arbitrary SMBus read/write
β
Word access
β
Block access
β
CRC calculator
β
HEX / DEC calculator
π‘ Suitable for advanced users and developers.
---
# π Reporting
Generate reports for:
π Battery Report (all scanned fuel gauge fields)
π Battery Cycling Graphics
π Battery Status
---
# π― Typical Applications
β
Battery validation
β
Battery characterization
β
Fuel gauge development
β
Production testing
β
Research laboratories
β
Battery aging studies
β
Capacity degradation analysis
β
Internal resistance measurement
β
Cell balancing evaluation
β
Battery firmware development
β
Data Flash development
---
π Supported Hardware
Examples include:
β
Total Phase Aardvark IΒ²C/SPI Host Adapter
β
Custom Relay Board (Power Supply / Electronic Load switching)
β
Keithley 2461 Source Measure Unit (SMU)
---
π Supported Fuel Gauges
Examples include:
β
TI bq40z50 (R1βR5)
β
TI bq27742
β
TI bq27z561
βΉοΈ Additional devices may also be supported (at least for reading of standard common data).
---
π€ Data Export
Supports exporting:
β
CSV files
β
GG files
β
HEX files
β
Motorola SREC firmware files
---
π License
MIT License
See LICENSE.txt for complete licensing information.
---
π Documentation
Additional documentation and screenshots are included with the project.
---
β€οΈ Thank You
Thank you for using **Smart Battery Reader (SBR)**.
π Professional Battery Analysis β’ Testing β’ Cycling β’ Logging β’ Development