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.
Fauzia Khanum, Eduardo Louback, Federico Duperly, Colleen Jenkins, Phillip Kollmeyer, Ali Emadi (2021). State of Charge Estimation Function based on Kalman Filter (https://www.mathworks.com/matlabcentral/fileexchange/90381), MATLAB Central File Exchange. Retrieved May 2, 2021.
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!