Open Standards/Multipurpose AC-Battery/Data specification

This part describes the data transfer from the control head to the AC battery packs and vice versa.

= Data format =

The data transmission is unidirectional only, but chained through all battery packs. So it is possible to address 1..10 battery packs in a chain without effort in distinguishing addresses.



The data transfer is always initiated by the master control unit. It sends data to the first battery pack. Then, the first battery pack sends the data to the next battery pack and so on. The last battery pack returns data to the master control unit.

It shall be possible to activate an AC battery pack with a simple micro controller. Because of this, the transfer shall be done via UART interface.

Logical levels: 0V = recessive level, dominant level is 3..3,5V with max. 10mA.

Communication speed: 125kHz (fractal of 1MHz)

Data format: 8Bit LSB first, even parity, 1 start bit, 2 stop bits. Every frame gets a checksum which is simply add over bytes mod256, with inverted bits.

= Data transfers = There are three groups of data transfers: Master control to all, master control to dedicated battery packs and battery packs to master control

Master to all
If the master control wants to send data to all battery packs, he uses this method. The master control sends a header to communicate the meaning of the data. Then one or more data bytes will come (see table). After all data bytes, a checksum (add mod256 inverted) is added. Then a break of minimum 2 bytes will come to signalize the end of transfer (if length could not be retrieved from the header)

The battery pack simply forwards this message to the next battery pack, without modifications.

Messages Master to all
The header 0x02: Average current is very important for the battery management due to the fact that the AC battery packs don't have own current sensors. This message must be sent minimum every second.

Write Chained Data
This method is used to write different data to the battery packs. The master control sends a header to communicate the meaning of the data. Then several data bytes for all battery packs will come (meaning: see table). The first battery pack receives the relevant data for him directly after the header from the control master. Then it forwards the header and the next data (without the relevant data for itself) to the second battery pack and generates a correct, new checksum. With every battery pack, the message gets shorter. If the number of bytes is correct, only the header and the checksum is returned to the master control.

Messages of Write Chained Data
By the use of setting limits it is possible to override a built in cell management and optimize it via control head. Normally, in discharge mode for example, discharged cells are deactivated and not used anymore. So there is a degradation of the possible output voltage. A cell management can disable (bypass) the most empty cells much earlier time by time, so that all cells will have the same charge left. The same method can be used for charging as well.

Read Chained Data
This method is used to read different data from the battery packs. The master control sends a header to communicate the meaning of the requested data and a checksum. The first battery pack adds the requested data and forwards the header, his data and a new checksum to the second battery pack. The next battery pack also appends his data, and so on. After the last battery pack, the master control receives the data of all battery packs in a chain. With this method, it is possible to find out how many battery packs are in a chain and how many switch cells they contain.