State of Charge Estimation Function based on Kalman Filter

版本 3.1.0 (2.3 MB) 作者: Fauzia Khanum
An EKF_SOC_Estimation function estimates a battery's terminal voltage and state of charge using a second order RC equivalent circuit.
3.2K 次下载
更新时间 2021/6/29

查看许可证

The EKF_SOC_Estimation function estimates a battery's terminal voltage (Vt) and state of charge (SOC) using a second order RC equivalent circuit model. The function can be used either an extended Kalman Filter (EKF) or adaptive-extended Kalman filter (AEKF). Users also have the options of estimating SOC from -20C to 40C. Included is a sample LA92 driving cycle, battery parameters including internal resistance, and SOC-OCV curve for a Turnigy battery cell. To run the sample, simply download all the file and run main.mlx.

引用格式

F. Khanum, E. Louback, F. Duperly, C. Jenkins, P. J. Kollmeyer, and A. Emadi, “A Kalman Filter Based Battery State of Charge Estimation MATLAB Function,” in 2021 IEEE Transportation Electrification Conference & Expo, 2021, pp. 484 - 489.

MATLAB 版本兼容性
创建方式 R2021a
兼容任何版本
平台兼容性
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
3.1.0

Update reference/citation: please reference the ITEC conference paper.

3.0.0

Bugfix: matrix C calculation
Update: function and KF parameters to default to EKF
Update: separate SOC-OCV curve .mat file

2.1.0

Updated capacity to single values instead of being interpolated

2.0.0

Added temperature interpolation at each step within AEKF loop.
Updated parameter interpolation/extrapolation functions.
Included battery model parameters for -10C to 40C and LA92 40C drive cycle.
Tuned KF P,Q,R values for LA92 and US06 drive cycles.

1.1.0

Tuned Kalman Filter parameters for better current bias and offset results.

1.0.0