Skip to content

A Kalman Filter that estimates the state of charge of 2 Li-ion cells

License

Notifications You must be signed in to change notification settings

thetinyml/kalman-filter-battery-soc

 
 

Repository files navigation

kalman-filter-battery-soc

A Kalman Filter that estimates the state of charge of 2 Li-ion cells

More background information available at https://www.jackogrady.me/battery-management-system/state-of-charge

Hardware Overview

To run the Kalman Filter, you'll need:

  1. A computer running Python
  2. An Arduin Uno board
  3. The configured Kalman Filter circuit (shown in the link above)
  4. Two 18650 Li-ion cells

To view results and data analysis, you'll need:

  1. A computer running Python

Code Overview

Running the Kalman Filter

  1. kalman_filter_operation.py runs the Kalman Filter when connected to Arduino
  2. Arduino_kalman_filter.ino should be uploaded onto an Arduino Uno (which

Analyzing Data

  1. kalman_filter_data_analysis.py
  2. Kalman_Filter_Experimental_Data.csv (a sample run of data)

About

A Kalman Filter that estimates the state of charge of 2 Li-ion cells

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 87.5%
  • C++ 12.5%