MATLAB and Simulink Consulting Services

Battery Simulation and Controls

Battery Simulation and Controls

Battery simulation and controls are an important component for automotive, aerospace, energy production, portable electronics, and other industries. Advanced lithium-ion batteries are desirable for their superior performance characteristics versus packaging size and mass. Rechargeable lithium-ion batteries can be volatile unless complex controls or a Battery Management System (BMS) is used to keep them within the designed operating envelope. To implement a BMS, embedded control algorithms based on a detailed and accurate plant model of the battery must be developed.

MathWorks Consulting Services leverages industry background and technical expertise gained from hundreds of customer engagements to solve your battery simulation and controls challenges and to bring you the best battery performance.

Estimating parameters of a battery model to match real battery chemistry

MathWorks Consultants have experience modeling battery cells employing multi-RC equivalent circuit models. We help you quickly determine the appropriate model structure, and show you how best to use experimental data to estimate the battery model parameters. Since battery model estimation is very data intensive, MathWorks Consultants also teach you techniques to automate the parameter estimation using advanced optimization algorithms.

Developing BMS control algorithms

With their industry background in battery simulation and BMS control algorithms, along with a deep knowledge of MATLAB and Simulink for Model-Based Design, MathWorks Consultants coach you on efficient techniques to implement control algorithms such as charge/discharge scheduling, state of charge estimation, safety cut-off limit design, and cell balancing. We demonstrate best practices for system-level simulation and embedded code generation. We can guide your transition from desktop simulation to real-time hardware-in-the-loop testing and rapid prototyping of your controller.

Meeting certification and safety standards

We help you use built-in product features, functions, or APIs so your software code meets specified programming standards for function prototypes, file formats, file partitioning, data structures, and interfaces. If the functionality you need is not built in, MathWorks Consultants can construct customized capabilities as needed and transfer the knowledge to you so you can evolve and maintain the new capabilities.


MathWorks Consulting Services works with you to:

  • Achieve the desired level of accuracy of battery simulation models faster
  • Automate battery parameter estimation
  • Apply Model-Based Design to battery control development and reduce development effort and time-to-market
  • Build in-house competency through project-based coaching sessions and knowledge transfer

MathWorks Consulting Services coach you on battery simulation and BMS control algorithms to improve battery performance.

Meet Our Team

Lars Rosqvist a senior consultant, guides customers in the automotive, railway, mining and industrial automation industries on best practices for adopting Model-Based Design from initial steps to full deployment.

Lars Rosqvist

Robyn Jackey

Robyn Jackey is a senior technical consultant with over 12 years’ experience in software development. He advises customers on software architecture with the goals of optimizing performance, reliability, and maintainability. Robyn designs user interfaces for business-critical MATLAB applications that perform data analysis and visualization. He also develops Simulink and Simscape simulations of batteries and electrical systems, and has published a number of related conference papers with SAE International and IEEE. Robyn received B.S and M.S. degrees in electrical engineering from Clarkson University, where he focused on applying software solutions to simulate and visualize control systems. He holds a patent for visualization of computer memory allocations.