Meaning
Physical storage medium within an integrated circuit used to hold program code and dynamic data during operation. Microcontroller memory is divided between non-volatile flash for firmware storage and volatile random access memory for temporary calculations. It limits the complexity of the algorithms that can be deployed on a battery management system.
This resource defines the logging capacity and the depth of the lookup tables used for state estimation.
Data Storage
Look-up tables for open circuit voltage and internal resistance occupy a large portion of the available space. While microcontroller memory provides the fast access times needed for real-time control, its total capacity is much smaller than that of a personal computer. Developers must optimize data structures to fit health-tracking history into limited registers.
Some chips include electrically erasable programmable storage for saving lifetime cycle counts. This data remains intact even if the battery is fully discharged.
Firmware Complexity
Update requirements for modern energy storage systems demand larger blocks of flash storage. When microcontroller memory is insufficient, the system cannot support advanced features like cloud-based diagnostics or wireless updates. Security protocols and encryption keys also require dedicated storage blocks.
Efficient memory management prevents overflows that could crash the safety system.
Hardware Selection
Hardware selection depends on the peak memory requirements of the control algorithm. Scalable designs allow for future software expansions without hardware changes.