cancel
Showing results for 
Search instead for 
Did you mean: 

Guidance on Battery Model Alternatives for ST BMS AutoDevKit

trishuynh
Associate III

Dear ST Experts,

I hope this message finds you well.

I am currently a research student in Japan working on the ST BMS AutoDevKit ecosystem. I have purchased the full system including:

  • AEK-MCU-C4MLIT1
  • AEK-COM-ISOSPI1
  • AEK-POW-BMS63EN
  • AEK-POW-BMSHOLD

The provided firmware is specifically designed to work with the LG INR18650-MJ1 battery model. However, I have contacted About:Energy regarding this model, and they informed me that they only provide free access to it for Formula Student and racing teams.

I would be very grateful for your guidance on the following:

  1. Is it possible to use other battery models with the ST BMS AutoDevKit?
    If so, what steps should I follow to build a compatible battery model? Specifically, I would like to understand:
    • What parameters and conditions are required?
    • How can I implement SoC/SoH estimation for a different battery model using MATLAB and integrate it into the ST firmware examples?

I apologize if these are basic questions—I am still new to this field and eager to learn. Your support would be greatly appreciated.

Thank you very much for your time and assistance.

Best regards,

TH.

 

1 ACCEPTED SOLUTION

Accepted Solutions
Chronal
ST Employee

Hi,

 

To estimate the SOC of a battery pack, the following are required:

  • A Simulink/Matlab model based on a Kalman filter and a 1-RC equivalent circuit.
  • Battery model LKT parameters.
  • Embedded Coder to generate new C code to integrate into the Autodevkit project.
  1. Our Simulink model cannot be shared because it is tied to a specific license.

  2. Replacing the new battery cell data with those currently present in the generated code is feasible but complex. I am sharing the Excel files I used. You could manually replace the old data with the new ones. However, remember that the Kalman filter undergoes training and its estimates may change if the new battery cell is significantly different from the old one. Therefore, in addition to the complex and lengthy replacement operation, there is also a risk of inaccurate estimates.

  3. The simplest approach would be to create a model from scratch while keeping the Autodevkit project intact. To do this, I encourage following the MathWorks webinars available at:
    https://it.mathworks.com/help/simscape-battery/ref/socestimatorkalmanfilter.html
    Obviously, to keep Autodevkit intact, the model must have the same inputs and outputs (this is easy to verify from the generated C code).
    Note: Simulink currently offers a complete (paid) library for SOC estimation (everything is already done).

 

Best regards,

 

Luca

View solution in original post

2 REPLIES 2
Chronal
ST Employee

Hi,

 

To estimate the SOC of a battery pack, the following are required:

  • A Simulink/Matlab model based on a Kalman filter and a 1-RC equivalent circuit.
  • Battery model LKT parameters.
  • Embedded Coder to generate new C code to integrate into the Autodevkit project.
  1. Our Simulink model cannot be shared because it is tied to a specific license.

  2. Replacing the new battery cell data with those currently present in the generated code is feasible but complex. I am sharing the Excel files I used. You could manually replace the old data with the new ones. However, remember that the Kalman filter undergoes training and its estimates may change if the new battery cell is significantly different from the old one. Therefore, in addition to the complex and lengthy replacement operation, there is also a risk of inaccurate estimates.

  3. The simplest approach would be to create a model from scratch while keeping the Autodevkit project intact. To do this, I encourage following the MathWorks webinars available at:
    https://it.mathworks.com/help/simscape-battery/ref/socestimatorkalmanfilter.html
    Obviously, to keep Autodevkit intact, the model must have the same inputs and outputs (this is easy to verify from the generated C code).
    Note: Simulink currently offers a complete (paid) library for SOC estimation (everything is already done).

 

Best regards,

 

Luca

Dear Luca,

Thank you very much for your kind support and for sharing the Excel files. I truly appreciate your detailed explanation and guidance regarding the SOC estimation workflow.

Thank you again for your time and support.

Best regards,

TH