cancel
Showing results for 
Search instead for 
Did you mean: 

Guidance on Writing BMS Software with AutoDevKit?

camillomolinari
Associate II

Dear community,

I am exploring the use of AutoDevKit for the battery management of my battery in my project. I watched all videos and read through the manual for the AEK-POW-BMS63EN. However, I am new to this environment and need some help with the following procedure. 

 

  • How to approach writing software for the battery management system (BMS) using AutoDevKit. Is there a step-by-step guide or recommended workflow available?
  • I noticed there is a demo available for this purpose—would you recommend using it as a starting point, or is there a better way to begin?

 

 

Thank you very much for your help.

Camillo

 

11 REPLIES 11
Max VIZZINI
ST Employee

Hi,

Yes, the best is to start using our HW and SW and import an existing project(s) from AutoDevKit.

Because the source code is all visible, you can first run it and then put it in debug mode by setting breakpoints to understand the internal logic.

Only after these steps are completed, you can start defining a new BMS application by creating a new AutoDevKit project and adding the BMS Chain components.

Best Regards,

AutoDevKit Team 

Hello Mr. Vizzini,

thank you very much for your help. Is the SPC58EC – AEK_POW_BMS63EN_SOC_Estimation_Single application for discovery demo a good starting point? Or do you suggest another demo?

 

Best regards,

Camillo

 

 

 

 

Hi,

Please use the new driver version 'CHAIN'

 

MaxVIZZINI_0-1732802331844.png

Best Regards,

AutoDevKit Team

Hello Mr. Vizzini,

my board is the BMS63EN and not the BMSWTX. Is there a different procedure or does it work the same?

Kind regards,

Camillo

Hi,

AEK-POW-BMS63EN + AEK-COM-ISOSPI1 is equivalent to AEK-POW-BMSWTX.

From HW point of view, either you use the 2 boards, or you use a single board.

Both configurations need to be connected with MCU (AEK-MCU-C4MLIT1).

If you need a battery holder, you can use AEK-POW-BMSHOLD (14 cells in series, one full BMS node).

Best Regards,

AutoDevKit Team

Dear Mr. Vizzini,

thank you very much for your help.

As I review the software, I’m unsure whether it’s necessary for me to understand every line of code in order to successfully test the BMS on some cells. Given this, I’m wondering if just flashing the demo code onto the board would be sufficient for these tests.

If you think another approach would be more effective, I’d appreciate your advice. While I have some theoretical knowledge of BMS functionality and its importance, I have limited experience with coding or selecting the appropriate APIs.

Thank you very much again

Camillo

 

Hi,

Approach it in an onion-skin fashion. Start to understand the general behavior first and dig inside step-by-step when needed.

Best Regards,

AutoDevKit Team 

Good evening,

thank you very much for your answer. Do you also provide a GUI for keeping track of the battery parameters ?

best regards 

Camillo

Hi,

Yes, there is a GUI you can find in the older driver examples (does examples not containing the keyword 'CHAIN') inside AutoDevKit. Next year we will release a GUI also for the CHAIN examples.

Best Regards,

AutoDevKit Team

 

P.S. Refer to below post

New beta release of BMS GUI for AutoDevKit solutio... - STMicroelectronics Community