jogrady23 / kalman-filter-battery-soc

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

License:MIT License


Languages

Language:Python 87.5%Language:C++ 12.5%