BMS Communication Protocol: What to Specify for CAN Bus and SMBus Battery Data

Most integration delays on custom battery packs start in the same place: the data link between the battery management system and the host device. The pack charges, the device runs, and yet the firmware team and the battery team spend weeks arguing about which register carries state of charge, what units it uses, and what the system should do when the link goes quiet. None of that is a chemistry problem. It is a specification problem, and it is avoidable.

This article lays out what belongs in the communication section of a custom smart battery pack requirement. It covers the two buses you are most likely to meet – CAN bus on industrial equipment, AGVs and energy storage racks, and SMBus on portable and embedded products that follow smart battery conventions – plus the field list, scaling rules and fault behaviour that should be written down before firmware work starts.

Black battery pack enclosure with a dedicated communication connector, power connector and power switch
Smart battery pack enclosure with a dedicated communication connector alongside the power connector and switch.

CAN bus and SMBus solve different problems

CAN bus (Controller Area Network) is a differential two-wire bus designed for multi-node equipment. In an AGV, an energy storage rack or an industrial machine, the pack is one node among several: the host controller, the charger, a display, and other drives all share the same pair of wires. Messages carry prioritised identifiers, so a safety-relevant frame does not wait behind cosmetic traffic.

Mobile robot with its battery bay open showing the battery pack, BMS board and connectors
Mobile robot battery bay: the BMS reaches the host controller through the pack’s communication connector, one node on the machine’s network.

SMBus (System Management Bus) is a two-wire management bus used between a smart battery and its host and charger, mainly in portable and embedded products. Its value is the shared data model: the host can read voltage, current, temperature and state of charge from any compliant pack without a custom protocol effort. The current release of the specification is version 3.3.1, published in October 2024 by the System Management Interface Forum.

The choice is usually set by the device architecture rather than by preference: one battery talking to one host points to SMBus, while a pack that must coexist with chargers, HMIs and machine controllers on a shared network points to CAN.

AspectCAN busSMBus
Typical settingMachine networks: AGVs, ESS racks, industrial equipmentPortable and embedded products: pack-to-host and pack-to-charger link
NodesMulti-node, multi-masterUsually one battery, one host, optionally a charger
Message styleShort frames with prioritised identifiersRegister-style reads and writes
Fault signallingBroadcast fault frames plus heartbeatAlarm bits and status registers
Hardware implicationTransceiver per node, bus terminationTwo signal lines; defined behaviour if the bus fails
Reference documentsCiA 418 / CiA 419 CANopen device profilesSMBus specification and smart battery data conventions

What the CANopen battery profile already decided for you

If your project uses CANopen, much of the groundwork exists. The CiA 418 device profile specifies the CANopen interface for battery modules, written so that a compliant module interoperates with a charger built to the companion CiA 419 charger profile. A compliant battery module must provide a defined minimum dataset – battery type, battery capacity, number of cells, the maximum charge current permissible, and battery temperature. Optional data includes identifiers, charge history, battery voltage, state of charge and requested current. A default transmit process data object (TPDO) sends temperature and status on a timer, optional TPDOs carry voltage, current requests and state of charge, and the charger returns its status through a receive PDO. Network management and heartbeat behaviour follow the CANopen application layer defined in CiA 301.

Even if the project does not use CANopen, the mandatory-versus-optional split is a useful template for any CAN-based pack: identify the minimum dataset needed for safe charging, treat everything else as optional, and give each optional field an explicit unit and scaling.

Data itemCiA 418 statusWhy the host or charger needs it
Battery typeMandatoryDetermines the charge regime
Battery capacityMandatorySets charge current and charge-time expectations
Number of cellsMandatoryCell-level supervision and balancing limits
Maximum charge current permissibleMandatoryProtects cells from over-current charging
Battery temperatureMandatoryCharge-window supervision
Identifiers and charge historyOptionalTraceability and fleet management
Battery voltageOptionalPack-level monitoring
State of chargeOptionalRuntime estimation
Requested currentOptionalBattery-led charge control

Source: CAN in Automation (CiA), CiA 418 device profile for battery modules.

The field list to write down either way

Whatever the bus, the host needs roughly the same dataset: pack identity (manufacturer, chemistry, serial number, cell count), capacity (rated and full-charge), state of charge, state of health, pack voltage, current, temperatures (with the number of probes and their physical locations), protection status flags, cycle count, a remaining-runtime estimate, and fault registers. For the electrical and safety envelope around those values, IEC 62619 governs the safety requirements that a pack for industrial applications must satisfy, which is the context in which most CAN-based packs are specified.

The discipline that prevents integration failures is simple: every field gets a unit, a scaling, an offset, a byte order, an update rate, and a defined behaviour when the value is unavailable. Two classic failures show why. A state of charge sent as 0 to 100 when the host expects 0 to 1000 will read as a nearly empty pack for weeks. A temperature sent in 0.1 kelvin increments when the host assumes 0.1 degree increments will read as impossibly hot. Both are caught by a single sentence in the specification and both are expensive to find during commissioning.

ItemWhat to specifyFailure mode it prevents
Parameter name and IDRegister address, object index or CAN identifierHost polling an ID the BMS never sends
Unit and scalingUnit, multiplier, offset, signed or unsignedState of charge or temperature misread by an order of magnitude
Byte orderBig-endian or little-endian for each multi-byte fieldSwapped current polarity or garbled values
Update ratePeriod for cyclic data; on-change rules for eventsStale data mistaken for a frozen pack
Validity rulesWhat the BMS sends when a measurement is unavailableHost acting on stale or default values
Fault flagsBitmap semantics, latching or momentary, who clears themFaults missed, or cleared by the wrong side

Fault flags, heartbeats and timeout behaviour

Fault reporting deserves the same rigour as the measurement list. Define the fault bitmap: which bits exist, what each one means, whether it latches or clears automatically, who is allowed to clear it, and how (host command, fault removal, or power cycle). A fault bit that two sides each assume the other will clear is a support ticket waiting to happen.

Heartbeat and timeout behaviour matters just as much. Specify who produces the heartbeat, who consumes it, the timeout value, and the action on each side. On the host side, silence from the pack might mean derating, a safe state, or an orderly shutdown – that choice is an application decision and belongs in the document, not in firmware folklore. On the pack side, a charger that goes quiet mid-charge needs a defined response, for example reverting to a reduced current or stopping charge, with the condition stated precisely.

On SMBus-based systems the battery is the data authority and the host reads on its own schedule, so the specification should state the alarm mechanism, what triggers it, and how the host reacts. The same timeout discipline applies: a stuck bus is a foreseeable condition, and the SMBus specification itself is maintained and versioned precisely so that such behaviours can be referenced rather than reinvented.

Some products end up with both buses: a pack that reports smart battery data to the host over SMBus while also answering the machine network on CAN. Dual-interface packs are workable, but they double the specification surface, and the two interfaces must agree on every shared value – a state of charge that differs between buses turns the disagreement into the product’s most visible bug. If a dual-interface requirement exists, it should be stated as such in the requirement document, with one side named as the data authority for each parameter.

Verify the interface before firmware integration starts

A communication specification is only as good as its verification. Four bench steps catch most problems early:

  • Decode live traffic with a bus analyser and compare every field against the BMS display and a calibrated meter – not just against the specification document.
  • Inject faults (a disconnected temperature probe, a simulated over-temperature) and confirm that the correct bit is set with the agreed severity and latching behaviour.
  • Run the timeout test: silence each side in turn and confirm the specified safe response happens, on both sides.
  • Archive the captures as acceptance evidence, so the interface has a baseline record for future firmware revisions.

Decoding proves the transport is honest; it does not prove the numbers are accurate. Verifying that reported state of charge tracks reality needs its own bench procedure, described in our article on BMS state of charge accuracy.

Where the communication section belongs in the pack requirement

The communication specification should not live in a firmware folder; it belongs in the pack requirement document that the RFQ is built around. Our custom battery pack RFQ checklist treats the data interface as one of the engineering inputs that should be fixed before quotes are requested, because suppliers price and design the BMS around it. A plain-language overview of what the BMS itself contributes is in our guide to the battery management system.

If you are defining the data interface for a new pack and want it reviewed before the firmware sprint starts, contact our engineering team with your host-side requirement and we will respond with the matching pack-side dataset.

Share the Post:

Related Posts