Skip to content
#software testing Open access

Comprehensive Design of an Electric Vehicle Battery Pack and Management System with Microprocessor Memory Use Analysis

Sep 2026 · Energies · 0 citations · 56 references
Advanced Battery Technologies Research

TL;DR

Investigating the memory usage of battery management system (BMS) software functions required for operating the high-voltage battery system (HVBS) of a light-duty electric vehicle (EV) suggests that the BMS software functions occupy a relatively small portion of the S32K358’s 8 MB of flash and 1125 kB of RAM, leaving sufficient margin for integrating more advanced estimation and protection functions in future EV battery systems.

Abstract

This paper investigates the memory usage of battery management system (BMS) software functions required for operating the high-voltage battery system (HVBS) of a light-duty electric vehicle (EV). Seven BMS software functions—battery balancing and monitoring, state of charge (SoC) and power estimation, fault diagnosis, contactor control, and communication management—are developed, validated through processor-in-the-loop (PIL) testing, and evaluated for memory usage when deployed on the automotive-grade NXP S32K358 microprocessor unit. A comprehensive high-voltage battery and management system for the RAM ProMaster EV is developed to ensure the memory assessment reflects real-world deployment conditions, including a detailed mechanical and electrical design of the battery module, battery disconnect unit (BDU), high-voltage mechanical structure, and a thorough software architecture. A high-fidelity plant model of the HVBS is implemented in the MATLAB/Simulink 2023b environment to capture the electrical and structural characteristics of the system, enabling validation of the BMS software functions prior to deployment. An experimental dataset for 21,700 cylindrical lithium-ion cells from the RAM ProMaster EV is used to parameterize and test state estimation algorithms. The dataset covers a wide range of operational conditions, including multiple standard and non-standard drive cycles (UDDS, LA92, US06, HWFET, HWCUST and HWGRADE) and characterization tests (C/20 discharge, four-pulse HPPC and GITT). The results show that the SoC estimation system accounts for the majority of the memory used by BMS software functions, reaching 31.4 kB of flash and 52.2 kB of RAM, while the remaining functions exhibit significantly lower memory demands, consuming no more than a half of that amount. Overall, the findings suggest that the BMS software functions occupy a relatively small portion of the S32K358’s 8 MB of flash and 1125 kB of RAM (0.84%-flash and 8.63%-RAM) compared with the system overhead (3.89%-flash and 6.30%-RAM), leaving sufficient margin for integrating more advanced estimation and protection functions in future EV battery systems.

Read PDF

Similar papers

Conference Open access 2026

Design and simulation of EV battery management systems

This paper introduces a Battery Management System (BMS) for electric vehicles, built around a passive cell balancing strategy. Our aim is to improve the safety and lifetime of the Lithium-Ion battery pack, with a particular focus on cell-to-cell voltage equalization. The proposed system detects voltage disparities betw...

Meryam Elmahri, Malak Bencherqui, Tarik Jarou et al. · 0 citations
Open access Sep 2026

Integration and Validation of an Embedded Electric Drive System for EV Conversion Kits: A Practical Industrial Case Study

This paper presents the integration and bench validation of a modular electric vehicle (EV) conversion kit, detailing the system architecture, communication interfaces, and real-time performance analysis of its core subsystems. The study systematically examines the key components of the propulsion system—including the...

Kevin Wang, Abdelsalam A. Ahmed · 0 citations
Conference Aug 2026

Design and Development of Test Rig for Thermal Performance Analysis of Lithium-Ion Battery

The use of lithium-ion batteries in vehicles and large energy storage systems requires good thermal management to ensure safety, performance and longevity. This report describes the design and application of a low-cost test rig based on Arduino. The test rig monitors the performance of a lithium-ion battery pack in a 5...

Irfan Abdul Azis, Juvanitta Sibi, Aravind S et al. · 0 citations
Conference Aug 2026

A Compact Smart Battery Management System with Active Balancing and 5G-Based Real-Time Monitoring

The growth of electric vehicles and renewable energy systems, there has been an urgent need to become more efficient, reliable, and intelligent in terms of energy storage solutions. Lithium iron phosphate (LFP) batteries have been used as a choice against all other types of batteries based on their thermal stability ab...

M.Ruban, Chellapandian S, Subramanian P et al. · 0 citations
Open access Oct 2026

High Efficiency Buck-Boost Converter Devices for EV Powertrains

- Electric vehicles require a reliable electrical power supply for their propulsion motor, motor controller, sensors, microcontroller, display, communication modules, and other electronic circuits. A nominal 12 V battery does not always maintain a constant voltage during charging, discharging, acceleration, and differe...

Pallavi Kose, RohitKumar Mishra, Mohit Meshram et al. · 0 citations
Open access Sep 2026

Design and Implementation of a Solar-Powered Lithium Battery Pack for Laptop Energy Backup in Low-Infrastructure Environments

This study presents the design and implementation of a solar-powered lithium-ion battery system for powering a 100 W laptop load. The motivation for the work arises from the high cost and limited availability of replacement laptop batteries, as well as the need for a lightweight and reliable backup power solution. The...

Ariyo Ayodeji O., Banjo Olugbenga A., Adewole Adekunle Olu · 0 citations

Related blog posts

Microsoft Research Blog Oct 12, 2026

Simulating student learning for better AI tutoring

StudentSim is a research system for evaluating and improving AI tutoring tools before they are tested with learners. It models how individuals may engage with tutors, giving feedback to improve tutor performance across subjects like chess, writing, and mathematics. The post Simulating student learning for better AI tutoring appeared first on Microsoft Research.

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.