LG Energy Solution Automates SOX Algorithm Verification for BMS Development

Accelerating Battery Management System Validation with Simulink Test

“With MATLAB and Simulink, we improved both the speed and reliability of our software verification. MIL-based accelerated simulation cut our testing time by more than half while enabling us to test more diverse scenarios. By automating our verification environment with Simulink Test, we could dedicate more time to analysis and efficiently boost our software’s reliability.”

Key Outcomes

  • Built a unified test suite for SOX algorithm verification by integrating Simulink development and verification models
  • Automated the execution of standard Excel-based test cases through Simulink Test workflows and test harness generation
  • Improved verification accuracy through transition-based test design, automated assessment, and integrated reporting

LG Energy Solution develops battery management systems (BMS) that rely on accurate verification of core functions such as SOX algorithms. To support model-in-the-loop (MIL) validation, the company focused on improving how these algorithms are tested and verified within its development workflow.

The LG team used Simulink® to integrate existing models into a unified test suite. They integrated SOX core logic and a battery plant model in Simulink, connecting the standard Excel®-based test case template with Simulink Test™ to create an automated verification environment. “By leveraging data visualized in graphs and other formats, we were able to analyze verification results more easily, and automated simulations helped us reduce the overall verification time,” explained Eunyoung Lee of LG Energy Solution. Test scenarios defined in Excel were converted into simulation inputs and executed through automatically generated test harnesses. Automated assessments evaluated the results, which were stored in Excel and Simulink Test Manager reports. “It was very convenient to manage and analyze the test results because the results were well organized,” said Dayeon Kim of LG Energy Solution.

The LG team designed the workflow to address key engineering requirements, including improving model stability, ensuring tool compatibility, increasing maintainability, and enabling faster setup and verification. In addition, they incorporated transition-based functionality into Simulink Test during test case design, which improved the accuracy and efficiency of SOX algorithm validation. “Using Simulink Test allowed us to easily integrate complex software components all at once. It drastically reduced human error and setup time while improving the overall quality of our test case design and execution,” said Ho Deuk Choi of LG Energy Solution. The resulting automated workflow enabled more efficient execution of validation tasks and more reliable evaluation of algorithm performance.