Skip to content

Smart power monitor for multi-cell battery packs.

Notifications You must be signed in to change notification settings

gordonthree/packmonitor

Repository files navigation

Smart battery power monitor project

A slim circuit board for managing charge and discharge of multi-cell LiFePo4 battery packs. Intended to track state of charge by coulomb counting and prevent battery pack damage from over discharge, over current and over temperature conditions.

Goals:

  1. Monitor and record total amperage in and out
  2. Monitor and record temperature, ideally three places
  3. Monitor and record pack voltage
  4. Provide under-voltage disconnect
  5. Provide over-temperature disconnect

Features:

  1. Atmel AVR Micro: ATMEGA4808 TQFP-32
  2. Hall effect current sensor: TMCS1108
    • Check my inventory for ACS7xx sensors!
  3. FRAM data storage : I2C FM24C64B
  4. Precision ADC: I2C NAU7802
  5. Hot swap buffer: I2C TCA4311a, PCA9508
  6. Host side i2c mux: PCA9545A
  7. Max PCB width 18mm
  8. Precision fixed resistor for thermistors?
    • Thermistors: NRL1504F3950B1F
    • Thermistors connect to uC ADC
  9. Power selector IC: AP2411
  10. Low Iq power supply for battery side, switching or linear?
  11. SMT button for battiery status

Connectors:

  1. Battery side
    • Battery In and Out (14 ga) - WAGO screw cage
    • 6-pin jst-xh vertical for three thermistors
  2. Upstream interface: I2C
    • JST-xh 6-pin connector +5v, GND, SCL, GND, SDA, GND
    • TCA4311 on battery side
    • I2C switch on host side (might not need)

Indicators:

  1. Bus controlled:
    • Bus power (from vcc)
    • Bus active (from CS line)
  2. uC controlled:
    • Battery SOC (three leds)
    • Battery health (red/green)

Client Commands:

  • See registers.md for addressing and more details

Questions:

  1. Data logging without a RTC?
  • Chip seems to keep time well enough with occasional updates from master
  1. High side or low side disconnect?

Resources:

ATMega4808:

Thermistor:

Readng precise voltages:

ATMEGA Arduino:

AVR DA / DB / DD Series:

Bootloader:

FRAM:

Hall Effect Sensor:

Hot swap buffers:

Switching regulator (tiny):

ADC:

About

Smart power monitor for multi-cell battery packs.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published