BMS Firmware Verification Using Internal Variable Feedback

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Automated verification of battery management system (BMS) firmware is challenging, particularly in white box testing, due to the difficulty in checking internal variable information without external communication, leading to inefficient manual verification processes.

Innovation Solution

A system and method for automated verification that includes a device for creating test case sequences, a BMS controller for simulating operations, and a BMS internal variable acquirer to acquire and reflect internal variable information during simulations, enabling automated verification of BMS firmware.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If white box testing is performed to verify internal architecture logic of BMS firmware, then verification thoroughness is improved, but automation capability deteriorates due to inability to access internal variable information

Engineering Contradiction:
Improveverification thoroughnessVSAvoidautomation capability
Core Design Contradiction:
ReliabilityVSExtent of automation

Solution Approach 1:

The patent introduces an intermediary mechanism (debug interface, trace buffer, or logging system) that mediates between the BMS firmware's internal variables and the external verification system. This intermediary captures and exposes internal variable information without requiring direct modification of the firmware's core logic, thereby enabling automated access to previously inaccessible data while maintaining verification thoroughness

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The patent implements feedback mechanisms where internal variable information is continuously captured during simulation and fed back to the verification system. This feedback loop includes capturing variable states at specific instruction addresses, storing them in trace buffers, and providing them to the automated verification tool, thus enabling closed-loop automated verification of internal logic

Inventive Principle:
Principle #23Feedback

2Measurement precision

If manual verification is used to check internal variable information, then verification accuracy is improved, but productivity deteriorates due to time-consuming processes

Engineering Contradiction:
Improveverification accuracyVSAvoidverification efficiency
Core Design Contradiction:
Measurement precisionVSProductivity

Solution Approach 1:

The patent enables the BMS firmware to self-serve verification data by automatically capturing and storing its own internal variable information in trace buffers during normal operation. The firmware essentially verifies itself by providing its internal state data to the verification system without requiring external manual intervention, thus improving both accuracy and productivity

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The patent performs preliminary actions by pre-configuring trace buffers and capturing mechanisms before verification begins. Internal variable information is captured and stored in advance during simulation execution, so that when verification is needed, the data is already prepared and accessible, eliminating the need for time-consuming manual data collection while maintaining accuracy

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS20260023903A1System and method for automated verification of battery management system
Publication Date: 2026.01.22 SAMSUNG SDI CO LTD
  • US20260023903A1 patent drawing
  • US20260023903A1 patent drawing
  • US20260023903A1 patent drawing

AI summary

The present disclosure relates to a system and method for automated verification of a battery management system for a battery pack, an energy storage device, etc., and the problem to be solved is to enable automated verification for items that should be determined by modifying internal variable information or verifying results with the internal variable information during white box verification of the internal architecture logic of BMS firmware of an ESS. There is provided a system for automated verification of a BMS, including a device for automated verification configured to create a test case sequence for testing firmware operation items of the BMS, perform a simulation on the BMS, and model operation items of the BMS, a BMS controller that is connected to the device for automated verification and controls the BMS to operate by applying modeled data for the operation items to the BMS, and a BMS internal variable acquirer that acquires internal variable information of the BMS during execution of the simulation.