/kalman-filter-battery-soc_Jack-O_Grady

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

Primary LanguagePythonMIT LicenseMIT

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)