Help Center
Back Home
Serial port server
Composite robot terminal device
Composite robot terminal device
Checklist- Battery protocol adaption

First, Content Adaptation

Degree of Importance

Content

Description

Must Have

Voltage

Total Battery Voltage

Charging Current

There are two forms of current in the protocol:

  • Current is a signed type of data, charge is positive, discharge is negative

  • Charge current and discharge current occupy one field each

Discharge Current

Residual Power

There are two forms of electricity quantity in the agreement:

  • The battery information directly contains the remaining power information

  • The remaining power needs to be calculated by the remaining capacity and the total capacity

Temperature

There are two types of temperature:

  • Cell Temperature

  • BMS Temperature

But No

Number of Cycles

Error Code

Two, Communication Interface

2.1 Controller Area Network (CAN)

2.1.1. Explanation

A CAN packet comprises of a frame ID and eight data bits. The battery information is stored within the data bits. The data bits of a CAN frame can store one or more pieces of battery information.

The packet with frame ID 0x209 contains the battery's temperature information.
The packet with frame ID 0x20A contains information about the battery's voltage, charging and discharging current, and remaining power.
The packet with frame ID 0x20B contains the number of battery cycles.

2.1.2. Requirements for CAN Battery Adaptation

  • The protocol includes adaptive content.

  • Each frame consists of 8 data bits.

  • A maximum of five packets contain the necessary battery information.

  • If the protocol is actively reported, the packet reporting period is longer than 100ms and less than 1 second.

  • The baud rate does not exceed 1 MB.

2.2 Serial Port

2.2.1. Interface Description

  • RS485-- Highly recommended

  • RS232-- Not recommended

2.2.2. Serial Port Battery Adaptation Requirements

  • The protocol includes adaptive content.

  • If the protocol is actively reported, the packet reporting period is between 100ms and 1 second.

  • Baud rate options are 9600 or 115200 (data bit: 8, stop bit: 1, no parity bit).

III. Frequently Asked Questions

  1. Is it possible to adapt all Modbus RTU protocols?

If the provided Modbus RTU meets the adaptation requirements mentioned above, it can be adapted. However, due to the varying Modbus RTU data fields of each battery, the protocol is not universal across different batteries.

Last updated 2023/05/03
Article content

First, Content Adaptation

Two, Communication Interface

2.1 Controller Area Network (CAN)

2.1.1. Explanation

2.1.2. Requirements for CAN Battery Adaptation

2.2 Serial Port

2.2.1. Interface Description

2.2.2. Serial Port Battery Adaptation Requirements

III. Frequently Asked Questions