Protocol BMS
Protocol BMS
, LTD
protocol
Version of V1.0
Communication agreement of Dongguan City, da lithium Electronics Co., LTD
1. Basic information
1. 1 Term
write a full name
Chinese
charact
er in
simplif
ied
form
MC Motor controller, Motor Controller
B MS Battery management system: Battery Management System
DU Display the unit Display Unit
UART
2. Definition
The basic information provided in this protocol describes how to connect
the motor controller, battery management system, display, and service module.
3. Functional protocol
3. 1 Definition
This paragraph describes the internal data structure of BMS to be read via
UART or CAN.
3.2 Data Type Definition
4. Physical layer
4. 1 UART
1. Physical interface UART
2. Porter rate 9600 bps
3. Communication format 9600 , N , 8 , 1
“0”: < 0.5 V
transmit by
"1": OC (withstand pressure of 100V Voltage should lower than
4. Effective electrical radio TXD
100V)
level
“0”: < 0.5 V
receive RXD
"1":> 3V (withstand pressure of 100V Voltage should lower than
100V)
.24 CAN
1. Physical interface CA N
2. Porter rate 250K
5. Communication format
5. 1 Basic time sequence
All messages are sent by the host, all slave receive messages to determine whether the slave address is consistent, and data
is returned to the host only if the slave address is consistent.
5.2, address assignment
module address
BMS master control 0x 01
A Bluetooth mobile phone APP 0x 80
GPRS 0x 20
upper monitor 0x 40
Note :
1. For each data, there is a fixed data length, and two data cannot be read at a time.
2. Check as the sum of all previous data (take only low bytes).
3. Routine send: 0xA 5 0x 40 0x 90 0x 08 0x 00 0x 00 0x 00 0x 00 0x 00 0x 00 0x 00 0x 00 0x 7D, routine return: 0xA 5 0x 01 0x 90
0x 08 0x 02 0xFC 0x 00 0x 00 0x 75 0xA 1 0x 00 0x 00 0x 52
5 ERROR ERASE
6 ERROR DA TA
7 ERR OR PROGRAM
8 ERROR F LASH CONFLICT
9 ERR OR SECTOR RECOVER
)
Byte 2-Byte 7:Reserved
The Boot 0x 04 transmit ASCII Code, 10ms to send a line, not received the reply to reissue the line, the maximum reissue three
by radio times
code transfer
instructions Received full line
return
Boot sector trans Byte 0:result (0 fault , 1 success )
Byte 1:err code
C MD (
1 SUCCESS
2 E RROR LENGTH
3 ERR OR CHECKSUM
4 ERROR ADD RESS
5 ERROR ERASE
6 ERROR DA TA
7 ERR OR PROGRAM
8 ERROR F LASH CONFLICT
9 ERR OR SECTOR RECOVER
)
Byte 2-Byte 7:Reserved
and
voltage
transmit Byte 0: Electricity, pool type (0: lithium iron phosphate, 1: ternary, 2: lithium titanate)
Set up the 0x 13
by radio Byte 1: Battery operation mode (0x 01: long press boot and shutdown, 0x 02: short press boot and
battery shutdown, other: omitted)
operati Byte 2:Year (2000 Offset )
Byte 3:Month
on mode
Byte 4:Day
Byte 5 ~ by te 6: Automatic hibernation time (S)
Byte 7:Reserved
return Byte 0:result (0 fault , 1 success )
Byte 1-Byte 7:Reserved
Set the 0x 14 transmit 8 bytes ASC II code, identifies the firmware version number, by which each different battery is
firmware index by radio applicable
With the number
return Byte 0:result (0 fault , 1 success )
number
Byte 1-Byte 7:Reserved
Set the transmit 16 byte, sent in 3 frames
0x 15
manufacturer by radio Byte 0: Frame serial number, starting from 1
name Byte 1~byte7:data
Communication agreement of Dongguan City, da lithium Electronics Co., LTD
charge
and
dischar
ge
Byte 0~Byte 7:Reserved
Read the 0x 53 transmit
by radio
battery return Byte 0: Electricity, pool type (0: lithium iron phosphate, 1: ternary, 2: lithium titanate)
operati Byte 1: Battery operation mode (0x 01: long press boot and shutdown, 0x 02: short press boot and
shutdown, other: omitted)
on mode
Byte 2:Year (2000 Offset )
Byte 3:Month
Byte 4:Day
Byte 5 ~ by te 6: Automatic hibernation time (S)
Byte 7:Reserved
Byte 0~Byte 7:Reserved
Read the 0x 54 transmit
firmware index by radio
number return 8 bytes ASC II code, identifies the firmware version number, by which each different battery is
applicable
With the number
Read the transmit Byte 0~Byte 7:Reserved
0x 55
manufacturer by radio
name return 16 byte, sent in 3 frames
Byte 0: Frame serial number, starting from 1
Byte 1~byte 7:data
Byte 0~Byte 7:Reserved
Read the 0x 56 transmit
battery name by radio
return 32 byte, sent in 5 frames
Byte 0: Frame serial number, starting from 1
Byte 1~byte 7:data
Read the transmit Byte 0~Byte 7:Reserved
0x 57
battery serial by radio
number return 32 byte, sent in 5 frames
Communication agreement of Dongguan City, da lithium Electronics Co., LTD
By e 0~By e 7:Reserve
fe SOC 0x 5D transmit
by radio
t t
parame return Byte 0Byte 1: SOC high alarm value (0. 1%)
ter Byte 2Byte 3: SOC too high secondary alarm value (0. 1%)
Byte 4Byte 5: SOC (0. 1%)
Byte 6Byte 7: SOC too low secondary alarm value (0. 1%)
Byte 0~Byte 7:Reserved
Read the 0x 5E transmit
by radio
pressure return Byte 0 ~ Byte 1: High alarm alarm (mV)
difference
,
Communication agreement of Dongguan City, da lithium Electronics Co., LTD
nt
param
eters
Byte 0~Byte 7:Reserved
fetch RTC 0x 61 transmit
by radio
return Byte 0: Year (2000 Offset)
Byte 1: Month
Byte 2: Day
Byte 3: When
Byte 4: Points
Byte 5: Sec
Byte 4:
Bit 0: DI 1 state
Bit 1: DI 2 state
Bit 2: DI 3 state
Bit 3: DI 4 state
Bit 4: DO 1 state
Bit 5: DO 2 state
Bit 6: DO 3 state
Bit 7: DO 4 state
Byte 0
Bit 0: Single voltage alarm level alarm
Bit 1: the single voltage is too high secondary alarm
Bit 2: Single voltage too low level alarm
Bit 3: Single unit voltage is too low secondary alarm
Bit 4: total pressure overlevel alarm
Bit 5: total pressure high secondary alarm
Bit 6: total pressure too low level alarm
Bit 7: the total pressure is too low level II alarm
Byte 1
Bit 0: High charging temperature, level 1 alarm
Bit 1: Charging temperature is too high secondary alarm
Bit 2: the charging temperature is too low, level 1 alarm
Bit 3: Charging temperature is too low secondary alarm
Bit 4: High discharge temperature, level 1 alarm
Bit 5: Too high discharge temperature secondary alarm
Bit 6: the discharge temperature is too low level 1 alarm
Bit 7: The discharge temperature is too low for the secondary alarm
Byte 2
Bit 0: Charge overcharge level 1 alarm
Communication agreement of Dongguan City, da lithium Electronics Co., LTD
Byte 3
Bit 0: a primar y alarm with excessive pressure difference
Bit 1: Level alarm alarm alarm secondary alarm
Bit 2: Excessive temperature difference, level 1 alarm
Bit 3: Secondary alarm for excessive temperature difference
Bit 4~Bit 7: Reserved
Byte 4
B it 0: Char gin g MOS over-t em per ature warn ing
Bit 1: Discharge MOS overtemperature warning
Bit 2: Charging MOS temperature detection sensor fault
Bit 3: Discharge MOS temperature detection sensor fault
Bit 4: Charging MOS adhesion fault
Bit 5: Discharge MOS adhesion fault
Bit 6: Charging MOS open circuit fault
Bit 7: Discharge MOS circuit break fault
Byte 5
B it 0: AFE acq ui sition chi p fai lure
Bit 1: monomer collection
Bit 2: Single-unit temperature sensor fault
Bit 3: EEPROM storage fault
Bit 4: The RTC clock has failed
Bit 5: Precharge failed
Bit 6: a complete vehicle communication failure
Bit 7: The intranet communication module fails
Byte 6:
Bit 0: Current module fault
Bit 1: Internal total pressure detection module fault
Bit 2: short circuit protection fault
Bit 3: Low voltage prohibited charging fault
Communication agreement of Dongguan City, da lithium Electronics Co., LTD
Byte 7: Fault code (like 0x03, display "fault code 3", 0 is not displayed)
transmit Byte 0~byte 1: Total output pressure (0. 1V)
Battery 0xD 1
Byte 2:1 zero-drift calibration, 2 full partial calibration, 3 voltage correction
by radio
total Byte 2~Byte 7:Reserved
pressu return Byte 0:result (0 fault , 1 success )
Byte 1-Byte 7:Reserved
re
calibr
ation
transmit Byte 0~byte 1: Current (30,000 Offset, 0. 1A)
Battery 0xD 4
Byte 2:1 zero drift calibration, 2 full partial calibration, 3 current correction
by radio
curren Byte 2~Byte 7:Reserved
return Byte 0:result (0 fault , 1 success )
t Byte 1-Byte 7:Reserved
calibr
ation
Byte 0 :set DO 1 state
The DI / 0xD 6 transmit
Byte 1 :set DO 2 state
by radio
DO Byte 2 :set DO 3 state
Byte 3 :set DO 4 state
module
Byte 4-Byte 7:Reserved
test return Byte 0 :get DO 1 state
Byte 1 :get DO 2 state
Byte 2 :get DO 3 state
Byte 3 :get DO 4 state
Byte 4 :get DI 1 state
Byte 5 :get DI 2 state
Byte 6 :get DI 3 state
Byte 7 :get DI 4 state
Byte 0: Equilibrium position balance cell location
Balanced 0xD 7 transmit
Byte 1:0 off equilibrium and 1 on equilibrium
by radio
test Byte 2~Byte 7:Reserved
return Byte 0:result (0 fault , 1 success )
Byte 1-Byte 7:Reserved
transmit Byte 0~Byte 7:Reserved
Wake up 0xD 8
by radio
the return Byte 0: Key signal to wake up
Byte 1: Key signal to wake up
source Byte 2:485 signal wake-up
Byte 3: CAN awakening of the signal
Byte 4: Charge and discharge current wake up
Byte 5~7:Reserved
Dischager MOS 0xD9 sen d Byte 0:result (0 OFF , 1 ON ) control BMS id 1
cotrol Byte 1:result (0 OFF , 1 ON ) control BMS id 1-2
Communication agreement of Dongguan City, da lithium Electronics Co., LTD