▲Wirig Diagram Hot
▲ ▲ ▼

Extended Kalman Filter for Battery State of Charge Estimation

By

The Extended Kalman Filter (EKF) plays a crucial role in accurately estimating the state of a battery, particularly its State of Charge (SoC). Understanding battery SoC is vital for efficient operation, safety, and longevity of energy storage systems. This article delves into how the Extended Kalman Filter is employed to estimate battery SoC.

The success of using an EKF for battery SoC estimation lies in its ability to handle non-linear system dynamics and measurement equations, while providing optimal estimates in a recursively efficient manner.

Battery State of Charge Modelling

Before discussing the application of the Extended Kalman Filter, it's essential to understand the battery SoC model. The SoC at any instant is typically represented as a discrete-time model:

Kalman Filter - Battery Design
Kalman Filter - Battery Design
an upward graph shows the price and volume of oil in different countries, as well as prices
an upward graph shows the price and volume of oil in different countries, as well as prices
How a Kalman filter works, in pictures
How a Kalman filter works, in pictures

SoC(k+1) = SoC(k) - (I(k) * η * Δt) / Q...

Non-linear Model Components

The above model includes non-linear components like the coulombic efficiency (η) and the charge/discharge current (I). These are handled effectively by the Extended Kalman Filter.

Advanced battery diagnostics for electric vehicles using CAN based BMS data with EKF and data driven predictive models - Scientific Reports
Advanced battery diagnostics for electric vehicles using CAN based BMS data with EKF and data driven predictive models - Scientific Reports
An introduction to scalar Kalman filters
An introduction to scalar Kalman filters
Application of the Kalman filtering technique for nonlinear state estimation
Application of the Kalman filtering technique for nonlinear state estimation

The EKF linearizes these non-linearities through a Jacobian matrix, enabling it to provide accurate estimates within the battery's operating regime.

Measurement Models for SoC

Battery SoC can be measured or estimated using various methods, such as open circuit voltage (OCV) or internal resistance measurement. Each method's associated measurement model is integrated into the EKF system.

The EKF then combines all available measurements (like OCV, current, etc.) to provide the most accurate SoC estimate, effectively leveraging the strengths of each measurement model.

Understanding Kalman Filters with Python
Understanding Kalman Filters with Python
Kalman Filters for Undergrads 1
Kalman Filters for Undergrads 1
Kalman Filter: Technical Guide for Finance and Lead Scoring
Kalman Filter: Technical Guide for Finance and Lead Scoring
the battery diagram shows how it works and what it is doing to charge an electronic device
the battery diagram shows how it works and what it is doing to charge an electronic device
All About Kalman Filters
All About Kalman Filters
Understanding Kalman Filters, Part 6: How to use Kalman Filters in Simulink
Understanding Kalman Filters, Part 6: How to use Kalman Filters in Simulink

Extended Kalman Filter for SoC Estimation

The Extended Kalman Filter is applied in two primary steps: the prediction step and the correction step.

In the prediction step, the SoC is estimated based on the previously estimated state and the system model's deterministic nature. Meanwhile, the uncertainty in these predictions, represented by the error covariance matrix, is also propagated.

Prediction Step

Let's consider the discrete-time prediction equations of the EKF:

Estimation of state of health for lithium-ion batteries using advanced data-driven techniques - Scientific Reports
Estimation of state of health for lithium-ion batteries using advanced data-driven techniques - Scientific Reports
Kalman Filtering: An Intuitive Guide Based on Bayesian Approach | Towards Data Science
Kalman Filtering: An Intuitive Guide Based on Bayesian Approach | Towards Data Science

handlers. Here, x(k|k-1) and P(k|k-1) represent the predicted state and error covariance at time k, respectively.

Correction Step

Once a measurement is received, the correction step involves updating the state estimate and error covariance based on the difference between the predicted and measured values.

The correction equations are as follows:

K(k) = P(k|k-1)H²(k) * (H(k)P(k|k-1)H²(k) + R(k))^-1...

Advantages and Limitations

The Extended Kalman Filter offers several advantages in battery SoC estimation, such as handling non-linearities, providing optimal estimates, and integrating multiple measurement sources.

However, it's essential to note some limitations. The EKF's performance relies heavily on accurate initial conditions and model parameters. Moreover, it can struggle with abrupt state transitions, necessitating careful tuning.

Nonetheless, the Extended Kalman Filter's benefits outweigh its limitations, making it a popular choice for battery SoC estimation in various applications, from electric vehicles to grid energy storage systems.

The future of battery SoC estimation lies in persistently refining and expanding our understanding of bateery dynamics and EKF implementations. Stay tuned for advancements in this field that promise improved accuracy and efficiency in energy storage management.

💬 Comments ↗ Share ★ Save
AD