Close Menu
Automotive Testing Technology International
  • News
    • A-H
      • ADAS & CAVs
      • Aerodynamics
      • Appointments, Partnerships, Investments & Acquisitions
      • Automotive Testing Expo
      • Batteries & Powertrain Testing
      • Component Testing
      • Safety and crash testing
      • Dynamometers
      • EMC & Electronics Testing
      • Emissions & Fuel Consumption
      • Facilities
      • Full-vehicle Testing
    • I-Z
      • Interiors & Infotainment Testing
      • Measurement Tools, Test Systems & Equipment
      • Motorsport
      • NVH & Acoustics
      • Proving Grounds
      • R&D
      • Sensors & Transducers
      • CAE, Simulation & Modeling
      • Software Engineering & SDVs
      • Tire Testing
  • Features
  • Online Magazines
    • March 2025
    • November 2024
    • September 2024
    • June 2024
    • Crash Test Technology – 2023
    • Automotive Testing Technology
    • Subscribe to Automotive Testing
    • Crash Test Technology
    • Subscribe to Crash Test Technology
  • Opinion
  • Awards
    • About
    • What’s new and key dates
    • Eligibility and nomination
    • Get in touch
    • Judges
    • Winner interviews
  • Videos
  • Supplier Spotlight
  • Proving Grounds
  • Events
LinkedIn Facebook X (Twitter)
  • Automotive Interiors
  • Automotive Powertrain
  • ADAS & Autonomous Vehicle
  • Professional Motorsport
  • Tire Technology
  • Media Pack
LinkedIn
Subscribe
Automotive Testing Technology International
  • News
      • ADAS & CAVs
      • Aerodynamics
      • Appointments, Partnerships, Investments & Acquisitions
      • Automotive Testing Expo
      • Batteries & Powertrain Testing
      • Component Testing
      • Safety and crash testing
      • Dynamometers
      • EMC & Electronics Testing
      • Emissions & Fuel Consumption
      • Facilities
      • Full-vehicle Testing
      • Interiors & Infotainment Testing
      • Measurement Tools, Test Systems & Equipment
      • Motorsport
      • NVH & Acoustics
      • Proving Grounds
      • R&D
      • Sensors & Transducers
      • CAE, Simulation & Modeling
      • Software Engineering & SDVs
      • Tire Testing
  • Features
  • Online Magazines
    1. March 2025
    2. November 2024
    3. Crash Test Technology – 2024
    4. September 2024
    5. June 2024
    6. Automotive Testing Technology
    7. Subscribe to Automotive Testing
    8. Crash Test Technology
    9. Subscribe to Crash Test Technology
    Featured
    April 9, 2025

    In this Issue – March 2025

    Automotive Testing Technology By Rachel Evans
    Recent

    In this Issue – March 2025

    April 9, 2025

    In this Issue – November 2024

    November 26, 2024

    In this Issue – 2024

    September 30, 2024
  • Opinion
  • Awards
    • About
    • What’s new and key dates
    • Eligibility and nomination
    • Get in touch
    • Judges
    • Winner interviews
    • ATTI Awards Forum
  • Videos
  • Supplier Spotlight
  • Proving Grounds
  • Events
LinkedIn
Subscribe
Automotive Testing Technology International
Features

How modeling and simulation drive safer battery management systems in EVs 

Danielle Chu, senior product manager, MathWorksBy Danielle Chu, senior product manager, MathWorksMay 2, 20255 Mins Read
Share LinkedIn Twitter Facebook Email
How modeling and simulation drive safer battery management systems in EVs.
A diagram of a computer hardware system

Globally, battery demand grew by 70% in 2023 compared with 2022, driven by rising electric vehicle (EV) sales. Safety has remained a top priority, as the high energy density of lithium-ion batteries poses a risk of failure if operating conditions stray from their design parameters. As EV battery use has increased, effective battery management systems (BMS) have become critical to prevent thermal runaway and other adverse outcomes. MathWorks senior product manager Danielle Chu discusses the process of developing a BMS using modeling and simulation.

China’s Ministry of Industry and Information Technology has announced that mandatory safety standards for electric vehicle (EV) batteries will come into effect on July 1, 2026. The new regulation is the world’s first standard that requires batteries to prevent fire and explosion, even after internal thermal runaway occurs. Safety is a critical concern in EVs. The high energy density of lithium-ion batteries, a typical choice in EVs, poses risks of failure if the operating conditions deviate from those for which the battery has been designed. A battery management system (BMS) is critical in preventing negative outcomes, including thermal runaway – an uncontrollable exothermal reaction leading to the destruction of the battery.

The primary functions of a BMS include monitoring current, voltage and temperature to prevent overcharge and over-discharge; balancing the charge across the cells; estimating the battery’s state of charge (SOC) and state of health (SOH); and controlling the temperature of the battery pack. These functions are critical, as they affect the performance, safety, battery lifetime and user experience of the electric vehicle. For example, by preventing overcharge and discharge beyond voltage limits, the BMS prevents premature aging of the battery, ensuring that the vehicle remains performant over its operational life.

The advantages of using simulation in BMS development 

Engineers simulate the battery plant model, environment and BMS algorithms on a desktop computer using behavioral models. They use desktop simulation to explore new design ideas and test multiple system architectures before committing to a hardware prototype. Desktop simulation enables engineers to verify functional aspects of the BMS design. For example, they can explore different balancing configurations to evaluate suitability and trade-offs between them. Simulation is also instrumental in requirement testing; for example, engineers can verify correct contactor behavior in the presence of an isolation fault. Evaluating the system’s behavior during a fault is another clear example of the use of simulation to replace hardware testing.

Once the design is validated using desktop simulation, engineers can automatically generate C or HDL code for rapid prototyping (RP) or hardware-in-the-loop (HIL) testing to validate the BMS algorithms running as code in real time. With RP, code is generated from the BMS algorithms model and deployed to a real-time computer that performs the functions of the production microcontroller. With automatic code generation, algorithm changes made in the model can be tested on real-time hardware in hours rather than days. In the case of HIL testing, code is generated from the battery plant models rather than the BMS algorithm models, providing a virtual real-time environment that represents the battery pack, active and passive circuit elements, loads, charger and other system components. This virtual environment enables engineers to validate the functionality of the BMS controller in real time before developing a hardware prototype.

Simulation enables engineers to dramatically reduce the time from design to code generation, allowing for rapid modeling of various techniques with enhanced speed and efficiency. Altigreen Propulsion Labs engineers used a simulation-based approach to model and iteratively test different techniques for SOC estimation, such as Kalman filtering and Coulomb counting, and designed a comprehensive one for their SOC estimation. Prathamesh Patki, principal engineer and control systems head at Altigreen, says, “Embedded Coder has cut development time in half. Whatever we conceptualize, we can get it running in the shortest amount of time on the real hardware.”

BMS development use cases 

Cell characterization is the process of fitting a battery model to experimental data. Accurate cell characterization is essential because the BMS algorithm uses the battery model to set control parameters such as those of a Kalman filter for SOC estimation or power limits based on SOC and temperature to avoid undervoltage or overvoltage conditions. Later in the BMS development cycle, engineers can use the same battery model for system-level closed-loop desktop and real-time system simulations. Tools such as Simscape Battery provide multiple approaches to battery modeling, including equivalent circuit, electrochemical and reduced order modeling using neural networks.

Charging speed is a key performance indicator in EV design and adoption. The high power levels of fast charging stress the battery materials and reduce its lifetime. Therefore, it is essential to optimize the power profile during fast charging to ensure maximum charging rate and minimal stress on the battery. This is achieved with a combination of simulation and optimization. The charging time is minimized while stress factors are kept within acceptable ranges.

Production code generation complements BMS design workflows compliant with formal certification standards in the automotive industry. For example, when LG Chem (now LG Energy Solution) developed the BMS for the Volvo XC90 plug-in hybrid, Autosar was a requirement standard. LG Chem chose to model and simulate the BMS algorithms and behaviors as an integral part of their design workflow. The number of software issues identified in each software release dropped from about 22 to fewer than nine – well below the target for the project. The BMS LG Chem developed for Volvo using Autosar has achieved ISO 26262 functional safety-based certification for Automotive Safety Integrity Level C (ASIL C).

Conclusion

Using modeling and simulation in BMS design accelerates development, lowers costs and leads to safer, more efficient electric vehicles. By thoroughly testing BMS algorithms across a wide range of operating and fault scenarios, engineers can be more confident that the software will perform reliably in real-world conditions, minimizing the need for expensive physical testing. This approach ultimately helps ensure the final product not only meets but also surpasses industry standards and customer expectations.

Share. Twitter LinkedIn Facebook Email
Previous ArticleThe ‘golden ears’ that fine-tune Nissan audio systems
Next Article rFpro launches digital twin of rural UK road for automated driving and vehicle dynamics development
Danielle Chu, senior product manager, MathWorks

Related Posts

Features

The ‘golden ears’ that fine-tune Nissan audio systems

May 2, 20253 Mins Read
Features

Transitioning from mechanical to electronics testing

May 2, 20253 Mins Read
Features

ASAM shares updates on its positioning for SDV, AI and open-source at Technical Seminar

April 14, 20259 Mins Read
Latest News

EXPO NEWS: Two weeks to go until Automotive Testing Expo Europe 2025! 

May 7, 2025

TrustInSoft updates TrustInSoft Analyzer

May 7, 2025

rFpro launches digital twin of rural UK road for automated driving and vehicle dynamics development

May 2, 2025
Free Weekly E-Newsletter

Receive breaking stories and features in your inbox each week, for free


Enter your email address:


Our Social Channels
  • LinkedIn
Getting in Touch
  • Free Weekly E-Newsletter
  • Meet the Editors
  • Contact Us
  • Media Pack
RELATED UKI TITLES
  • Automotive Interiors
  • Automotive Powertrain
  • ADAS & Autonomous Vehicle
  • Professional Motorsport
  • Tire Technology
  • Media Pack
© 2025 UKi Media & Events a division of UKIP Media & Events Ltd
  • Terms and Conditions
  • Privacy Policy
  • Cookie Policy
  • Notice & Takedown Policy
  • Site FAQs

Type above and press Enter to search. Press Esc to cancel.

We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies.
Cookie settingsACCEPT
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled

Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.

CookieDurationDescription
cookielawinfo-checbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.

Functional

Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.

Performance

Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.

Analytics

Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.

Advertisement

Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.

Others

Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.

SAVE & ACCEPT