A public repository for BMS algorithms for a NUCLEO BOARD.
Hi Everyone!
Welcome to this repository from Howey's Research Group at the University of Oxford.
The code published here incorporates BMS algorithms for diagnosis functions such as SOC, SOH and Power estimation on a Kokam 53Ah Li-ion battery. This code was designed to work with a NUCLEO F401-RE board and to be tested with a dSPACE HIL Simulator. A short guide on how the set up works is available at https://bitbucket.org/ff95/bms .
The code is made up of three key parts. "Headers" and "Source" folders and the "main.cpp" file. As the code was generated by converting a Simulink model ( available on the BitBucket page), the headers and source code files generated by the conversion are in the corresponding "Headers" and "Source" folders. The "main.cpp" file sets up the ADC, the USB data transmission and starts the estimation (once a character "y" has been received by the computer it is connected to). It also transmits the data from the estimation via USB. Explanation on how to set up the communication with the board is available at BitBucket webpage, from where a MATLAB file can be downloaded which allows real time communication.
For any questions you can contact the author at federicomariaferrari@gmail.com .
The Simulink and Matlab files, together with a short guide, are all available at: https://bitbucket.org/ff95/bms.
Thanks for trying this out!
Federico
History
A working version of the code needed to run an mbed micro controller.
2017-07-13, by fmferrari [Thu, 13 Jul 2017 10:50:13 +0000] rev 23
A working version of the code needed to run an mbed micro controller.
everything working ;
2017-03-08, by fmferrari [Wed, 08 Mar 2017 18:49:52 +0000] rev 22
everything working ;
Version with capacity error but workling; ;
2017-03-03, by fmferrari [Fri, 03 Mar 2017 19:00:02 +0000] rev 21
Version with capacity error but workling; ;
Calibrated version - no degradation index output
2017-02-20, by fmferrari [Mon, 20 Feb 2017 13:54:18 +0000] rev 20
Calibrated version - no degradation index output
working power;
2017-02-16, by fmferrari [Thu, 16 Feb 2017 16:47:42 +0000] rev 19
working power;
thermal power seems to working / not checked against dspace
2017-02-15, by fmferrari [Wed, 15 Feb 2017 11:10:58 +0000] rev 18
thermal power seems to working / not checked against dspace
Functional Box code;
2017-02-10, by fmferrari [Fri, 10 Feb 2017 14:54:49 +0000] rev 17
Functional Box code;
WORKING WITH NORMALIZED Restistance (works with Thermal Modeling IV mbed functions);
2017-02-08, by fmferrari [Wed, 08 Feb 2017 18:55:55 +0000] rev 16
WORKING WITH NORMALIZED Restistance (works with Thermal Modeling IV mbed functions);
WORGING VERSION WITH AVERAGED SAMPLES;
2017-02-08, by fmferrari [Wed, 08 Feb 2017 18:29:02 +0000] rev 15
WORGING VERSION WITH AVERAGED SAMPLES;
Unfiltered "working" version;
2017-02-07, by fmferrari [Tue, 07 Feb 2017 12:20:57 +0000] rev 14
Unfiltered "working" version;