Professional Services Personal Projects Contact
eco-ants --> eco inventing <-- - Battery Management System

Cell Top Battery Management System


This Battery Management System is for electric vehicles using LiFePo4 Chemistry Lithium Prismatic cells

Here are some of the things we learnt along the way:
Arduino Watchdog timer:


One thing we knew from the start is that we wanted EVERYTHING to be as stable and reliable as possible. This meant double checking everything as we designed it, and ensuring multiple redundancies existed in all hardware, firmware and software.
For the software on the Arduino MEGA BMS master, we choose to run the watchdog timer. This is a special timer on the ATmega1260 chip, seperate to the CPU, that will trigger a full reset if things turn pear shaped and the code hangs.

For what most people do with Arduino's this is never needed, and so most people don't know what a watchdog timer is ! That's fine, but when you want to send a satelite to the dark side of the moon, or design a bullet proof BMS you need to turn it on.
In order to turn it on, you just google it and borrow someone elses code - right ??
Generally there is excellent documentation on the web for all things Arduino (this is exactly why we chose to use an Arduino as the BMS master.) However in this case I struggled to find an example of Arduino Watchdog Timer code.
I did find this webpage: https://tushev.org/articles/arduino/5/arduino-and-watchdog-timer
but it was very confusing at the end... would I fry my Arduino by enabling the watch dog timer ??
Thankfully no :)

more details and some example code to come soon .....





Copyright 1997-2024 by Anthony Field on all images/text/information and graphical materials on this website.