Battery Pack Firmware Configuration Control: Versioning, Parameter Locks and Change Records

Firmware configuration control means every shipped battery pack can be tied to an exact firmware binary, parameter set, hardware revision and test record, and that no parameter changes without an approved and traceable revision. For BMS-equipped packs this is a procurement requirement, not a software housekeeping detail: protection thresholds, charge limits, state-of-charge coefficients and communication maps all live in firmware, and a unit whose configuration is unknown cannot be compared with a unit that failed in the field. This article sets out what to put under version control, how to lock access, which change records to require, and how to verify the dossier at incoming inspection.

Green battery protection circuit board with white wiring connectors beside two shrink-wrapped lithium battery packs
Illustrative image: a green battery protection circuit board with wiring connectors beside two shrink-wrapped packs. Product illustration only; it does not depict a firmware record, a test result or a customer project.

Why the configuration belongs in the purchase specification

A BMS decides when to open a contactor, when to reduce charge current, how to estimate state of charge, what a fault flag means on the bus, and when balancing runs. Two packs with identical cells, identical housings and identical nameplates can behave differently if their parameter sets differ. That matters for medical devices, industrial equipment, AGV fleets and stationary storage alike, because a field anomaly can be reproduced only if the exact software state of the affected unit is known.

The risk is not hypothetical. A 2025 review of BMS standards and regulations records two automotive cases: Hyundai recalled around 82,000 EVs in 2021, with LG Energy Solution attributing the issue to BMS software that misapplied fast-charging recommendations and reporting a financial loss of 900 million USD; and in 2024 Mercedes-Benz recalled more than 17,000 EVs worldwide over a BMS software issue that could cause sudden power loss while driving. The review also argues that standards need to cover all BMS features rather than selected ones and be updated as battery technology grows more complex. Those examples come from the automotive sector, but the lesson transfers directly: a software-controlled protection function is a safety-relevant configuration item, and a change to it needs the same scrutiny as a change to a cell or a contactor.

For a pack in a medical device, IEC 62304 defines life cycle requirements for medical device software and applies when software is embedded in or is an integral part of the final medical device; its webstore description notes that it covers development and maintenance but not the validation and final release of the device itself. For industrial and storage packs, that standard is not a mandatory rule, but its process logic is a useful reference. Generic configuration-management guidance such as NIST SP 800-128 and the configuration management control family in NIST SP 800-53 Rev. 5 describe the same discipline for information systems: define a baseline, control changes to it, and keep records that show what changed and why. Buyers should adapt that discipline to an embedded production line rather than copy an IT policy verbatim.

Define the configuration item register

Start by listing everything that can change behaviour without changing the bill of materials. In practice the list is longer than “the firmware”. Calibration coefficients for current and voltage sensing, cell chemistry and capacity tables, protection thresholds and their delays, balancing start conditions, charge profiles, communication maps and fault-log behaviour are all separate items with separate owners. Each needs an identifier and a change trigger.

Configuration itemExample contentOwnerChange triggerEvidence to keep
BootloaderUpdate mechanism, signature check, recovery behaviourBMS firmware teamSecurity fix, field update capability changeVersion, binary hash, release note
Application firmwareProtection state machine, measurement scheduling, fault handlingBMS firmware teamBug fix, feature request, cell or sensor changeVersion, SHA-256 of image, build record, approved test report
Calibration coefficientsShunt gain, ADC offset, temperature sensor coefficientsProduction engineeringNew measurement hardware or calibration methodCoefficient set ID, calibration certificate reference
Protection thresholds and delaysOver-voltage, under-voltage, over-current, over-temperature trip points and deglitch timesPack design authorityCell change, application change, safety analysisParameter file, sign-off record, trip-test results
Cell model and capacity tableChemistry identifier, nominal capacity, lookup tables used by SOC estimationCell engineeringCell revision, new cell supplierCell datasheet reference, SOC verification report
Charge and balancing parametersCharge voltage, taper current, balancing start voltage, balance currentPack design authorityCharger change, duty-cycle changeCharge profile file, bench charge curve
Communication mapCAN identifiers or SMBus commands, scaling, fault flag definitions, timeoutsSystem integrationHost controller changeInterface control document, see the BMS communication protocol article
Hardware compatibility listBoard revision, cell revision, sensor revision that a firmware build supportsHardware engineeringPCB or component revisionCompatibility matrix, PCN reference
Manufacturing test scriptStation sequence, limits, pass/fail logic used at end of lineTest engineeringStation upgrade, new limitScript version, station ID, validation record

The register should be a controlled document with a revision history, not a collection of files on an engineer’s laptop. When a change occurs, the register entry tells the buyer which downstream items may be affected. A new cell model, for example, can alter the SOC table, the protection thresholds and the charge profile even if the application binary is untouched.

Versioning and unit-level identification

A version string alone is weak evidence: two different binaries can carry the same label if the build process is not controlled. Require a cryptographic hash of the released image, the toolchain and build identifier, the parameter-set identifier, and a hardware compatibility statement. Require that the running unit can report these values back through the BMS interface, so the configuration can be read at receiving inspection without opening the pack. The table below is the minimum unit-level record set.

FieldFormatHow it is verified
Pack serial numberUnique alphanumeric ID on the nameplateVisual check plus barcode scan
Hardware and BMS board revisionRevision codeCompare with the compatibility matrix
Firmware version and image hashVersion string plus SHA-256Read back via the BMS interface; compare with the release note
Parameter-set ID and configuration CRCIdentifier plus checksumRead back; compare with the approved parameter file
Calibration set IDIdentifierCompare with the calibration record for that serial
Flash date, station ID, operator IDUTC date, station code, anonymised operator codeCross-check with the manufacturing execution record
Manufacturing test script versionVersion stringCompare with the EOL report attached to the delivery
PCN or change referenceDocument ID if a change applied to this unitConfirm the change is listed in the approved change log
Signed release recordApprover role and date in UTCAudit during a supplier process review

This record is what makes a field investigation possible. If a returned pack reports a parameter-set ID that does not appear in the delivery dossier, the question is no longer “why did the pack behave oddly” but “who changed that parameter and under which approval”. That distinction is the whole value of configuration control. It also supports the documentation discipline discussed in our article on the EU Battery Regulation 2023/1542 documentation, where records must be findable against a specific product rather than maintained as a general policy statement.

Parameter locks, access control and field updates

Write access needs to be as tightly defined as the version scheme. In production, the station that flashes the image should be the only station authorised to write the parameter set, and the production configuration should be locked before the unit leaves the line. A read-only production mode, a signed or authenticated update image, and a bootloader that refuses an unapproved image reduce the chance of a well-meaning technician altering a protection threshold during commissioning. Where a field update is genuinely required, the update procedure should record the from-version, the to-version, the reason, the authorisation, the tool used and the post-update verification result.

Also specify what happens when the update fails. A pack that ends up with a partially written image must not be allowed to ship or to return to service; the recovery path, the rollback image and the re-test items should be written down beforehand. Keep an audit log of write attempts, including failed ones. Access control is not about distrust between buyer and supplier; it is about being able to reconstruct the state of a unit months later, when the people who built it may no longer be available to ask.

Two 48 V LiFePO4 battery modules with metal cases, carrying handles and polarized connectors
Illustrative image: two battery modules of the same hardware type. A firmware or parameter revision is not visible from the enclosure, which is why unit-level records are needed. Illustration only.

Change control and requalification

A product change notification is useful only if it says what must be retested. Group changes by the function they touch and define a minimum evidence set for each group. A BMS board component change with the same firmware may need EMC and calibration checks; a protection threshold change needs trip-point verification and a charge-cycle check; a new cell source touches the cell model, the SOC table and the safety test evidence. The table below gives a structure buyers can adapt, with the note that the actual test list must come from the OEM’s own risk analysis.

Change classExamplesMinimum evidence before releaseRecords to update
Firmware logic changeProtection state machine, fault handling, measurement schedulingBench regression of all affected functions, trip tests, communication readback, soak test on a representative unitFirmware version and hash, release note, test report, compatibility matrix
Parameter change onlyThreshold, delay, charge limit, balancing start pointReadback verification on a sample, trip or charge verification at the changed limitParameter-set ID, CRC, approval record, unit serial range affected
Hardware or component revisionPCB revision, sensing shunt, temperature sensor, connectorCalibration verification, EMC re-check where relevant, compatibility test with the released firmwareBOM revision, hardware revision, compatibility matrix, PCN
Cell or cell supplier changeNew cell model, new manufacturing site, new batch chemistry revisionCell-level qualification, SOC table verification, charge and discharge characterisation, applicable safety test reviewCell model table, SOC report, see the second-source qualification method
Test or tooling changeNew station, new test script, new limitMethod comparison on a golden unit, script validation, operator training recordScript version, station ID, validation report

Notice that a parameter-only change is not automatically a small change. Lowering an under-voltage threshold changes how much energy the system can draw; altering a charge taper current changes the time the pack spends near full charge. Both deserve a documented review and a verification test. This is also the point where the principles behind second-source qualification apply: the question is always “what could this change affect, and which earlier evidence still holds?”

Verify the dossier at receiving

Configuration control that exists only in the supplier’s quality manual does not help a buyer. Put three checks into the receiving plan. First, sample units and read back the firmware version, image hash, parameter-set ID and configuration CRC through the BMS interface, then compare them with the delivery dossier. Second, confirm that the serial range on the dossier matches the serials on the cartons. Third, confirm that any PCN listed for the shipment has the matching test evidence attached. These checks are quick, non-destructive and consistent with an incoming inspection plan; they also give the buyer a baseline for later field comparisons.

If a mismatch is found, quarantine the lot rather than reflashing units in the warehouse. A mismatch can indicate an unapproved change, a mixed shipment or a clerical error, and those have different remedies. Keep the readback log attached to the lot record. Over time, the log also shows whether the supplier’s declared configuration stays stable across repeat orders, which is more informative than a one-off audit.

What to require in the RFQ

Ask for the configuration item register, the unit-level record fields, the write-access policy, the field update and rollback procedure, the PCN and requalification matrix, and a sample delivery dossier with real serial numbers and hashes. Ask how a firmware change is communicated, how far back unit records are retained, and whether the BMS interface exposes the version and parameter identifiers without special tooling. These are answerable questions for any supplier building custom packs with a programmable BMS, and they cost far less to resolve at RFQ than after a field anomaly.

If you are defining the configuration control requirements for an OEM programme, send the interface document and the change-control policy you use today and we will map them onto the pack build and test records. The aim is a dossier where every shipped unit can be reconstructed from evidence, not from memory.

Share the Post:

Related Posts