A public repository for BMS algorithms for a NUCLEO BOARD.

Dependencies:   mbed

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

Revisions of main.cpp

Revision Date Message Actions
23:447ef1071e49 2017-07-13 A working version of the code needed to run an mbed micro controller. File  Diff  Annotate
22:caf41c9bb9d0 2017-03-08 everything working ; File  Diff  Annotate
21:534cd02b6bc4 2017-03-03 Version with capacity error but workling; ; File  Diff  Annotate
20:efb192150248 2017-02-20 Calibrated version - no degradation index output File  Diff  Annotate
18:4a769322eb39 2017-02-15 thermal power seems to working / not checked against dspace File  Diff  Annotate
17:9b1f3bf6da0f 2017-02-10 Functional Box code; File  Diff  Annotate
16:a92fd07112f7 2017-02-08 WORKING WITH NORMALIZED Restistance (works with Thermal Modeling IV mbed functions); File  Diff  Annotate
15:b39f568faa27 2017-02-08 WORGING VERSION WITH AVERAGED SAMPLES; File  Diff  Annotate
14:4b5df635f248 2017-02-07 Unfiltered "working" version; File  Diff  Annotate
13:831eab218c33 2017-01-30 a verison; File  Diff  Annotate
12:bf3e3b87224e 2016-12-13 Working MyBMS fully written by me; File  Diff  Annotate
11:e39c490420d2 2016-12-12 Non Working version for Duracell battery; File  Diff  Annotate
10:c4f0c3a5223f 2016-12-09 Simplified working function (apprantely) File  Diff  Annotate
9:17c258c67c33 2016-12-09 A (what seems) working version. It prints SOC, V and Current File  Diff  Annotate
6:cb71171a7108 2016-12-07 EKF Not working try 2; File  Diff  Annotate
5:dad47e5b9586 2016-12-07 Not working try 1; File  Diff  Annotate
4:dc0c58eedabb 2016-11-29 - Added code to detect the wifi shield File  Diff  Annotate
3:2360864c12e2 2016-11-29 - Working version File  Diff  Annotate
2:089480a12fa2 2016-11-29 - Added simple multiplication model from Simulink File  Diff  Annotate
0:1e567a5a99c3 2016-11-29 - initial File  Diff  Annotate