2025-09-17 3:12 AM
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:
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:
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.
Solved! Go to Solution.
2025-09-23 12:00 AM
Hi,
To estimate the SOC of a battery pack, the following are required:
Our Simulink model cannot be shared because it is tied to a specific license.
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.
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
2025-09-23 12:00 AM
Hi,
To estimate the SOC of a battery pack, the following are required:
Our Simulink model cannot be shared because it is tied to a specific license.
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.
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
2025-09-24 6:11 AM - edited 2025-09-26 8:44 AM
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