New RS485 MODBUS Based Communication Protocol Between BMS and PCS V2.1 - 20190323
New RS485 MODBUS Based Communication Protocol Between BMS and PCS V2.1 - 20190323
Addr: 10 Floor, 80 Gucui Road, Xihu District, Hangzhou, Zhejiang Province Post code: 310012
1. Brief introduction:
3. For the method and sequenceto read/write one or more register values, you
4. Physical
hysical Layer: RS485/MODBUS-RTU;
RS485/
6. The communication port link is eight data bits, 1 stop bit, no parity bit
bit;
7. BMS works as the slave device, while the PCS is the master device;
8. BMS has a default address for this protocol, which is 0x01, you can contact
9. The interval time between two different read/write operation cannot be less
than 300ms;
th
Addr: 10 Floor, 80 Gucui Road, Xihu District, Hangzhou, Zhejiang Province Post code: 310012
2. Message
essage Format
1B 1B NB 2B
:
Device Address:
have its unique device address in the network, and the value must be between 0 to
255;
Function Code:
unction code describes the method of each operation. Part of the function codes
Function
06H Write single register Write single value to the specific register
10H Write multi registers Write
rite multi values to corresponding register
registers
CRC
polynomial :CRC-16/MODBUS
16/MODBUS x16+x15+x2+1;
th
Addr: 10 Floor, 80 Gucui Road, Xihu District, Hangzhou, Zhejiang Province Post code: 310012
Read register(03H)
(03H)
Request:
Address 1B 0x01(default)
Function
unction code 1B 0x03
CRC
C 2B Low byte first
Normal respond:
Address 1B 0x01(default)
Function
unction code 1B 0x03
Exceptionrespond:
Address 1B 0x01(default)
Request:
Address 1B 0x01(default)
unction code
Function 1B 0x06
CRC
C 2B Low byte first
Normal respond:
Address 1B 0x01(default)
Function
unction code 1B 0x06
CRC
C 2B Low byte first
Exceptionrespond:
Address 1B 0x01(default)
Multi
ulti register write(10H)
write
Request:
Address 1B 0x01(default)
unction code
Function 1B 0x10
CRC
C 2B Low byte first
Respond:
Address 1B 0x01(default)
Function
unction code 1B 0x10
CRC
C 2B Low byte first
Exception respond:
Address 1B 0x01(default)
3. Register definition:
BMScontrol
control register:
register
Offset
Name r/w Description
address
主回路接触器
接触器控制 读写
0x0010 0x1:On,0x0
0x1:On,0x0:Off
Power circuit control R/W
th
Addr: 10 Floor, 80 Gucui Road, Xihu District, Hangzhou, Zhejiang Province Post code: 310012
例 : VOL =6912 , 对 应 电 压 为
电池总电压 691.2V
0x0100
Battery stack Voltage Unit:0.1V which 6912 means
691.2V
16 位有符号整型 范围:-500A~
500A
例:CUR=1234:123.4A
123.4A
CUR=-1234:-1123.4A
0x0:standby;
充放电指示
0x0102 0x1:discharge;
Battery work State
0x2:charge
scale:0%~100%
0x0103 Battery stack SOC
unit 1%
scale:0%~100%
0x0104 Battery stack SOH
unit 1%
单体电压最高节电池序号 范围:1#~224#
0x0105
Position of Maximum cell voltage 1 to 224
例 : VOL=3201 , 对 应 电 压 为
单体最高电压值
0x0106 3.201v
Maximum cell voltage
Unit: 1mV, 3201 = 3201mV
单体最低电压值电池序号 范围:1#~224#
0x0107
Position of Minimum cell voltage 1 to 224
th
Addr: 10 Floor, 80 Gucui Road, Xihu District, Hangzhou, Zhejiang Province Post code: 310012
例 : VOL=3201 , 对 应 电 压 为
单体最低电压值
0x0108 3.201v
Minimum cell voltage
Unit: 1mV, 3201 = 3201mV
最高电池温度采样点序号 范围:1#~224#
0x0109
Maximum temperature position 1 to 224
16 位有符号整型 范围:-40~
最高电池温度值
0x010A 150℃
Maximum temperature value
Unit: 0.1℃signed
signed value
最低电池温度采样点序号 范围:1#~224#
0x010B
Minimum temperature position 1 to 224
16 位有符号整型 范围:-40~
最低电池温度值
0x010C 150℃
Minimum temperature value
Unit: 0.1℃signed
signed value
系统绝缘
0x0116 Unit:1K/bit
System Insulation value
本支路
本支路运行状 0x0:正常 Normal
态 0x1:充满 Full
0x0142 0x2:放空 Empty
ClusterXRun 0x3:待机 Standby
State 0x4:停机 Stop
Bit11::充电电流过高报警
Charge Current High Alarm
Bit10:放电电流过高报警
Discharge Current High Alarm
Bit9:极耳温度过高报警
Pole Temperature Over High Alarm
Bit8:备用
Bit7: 电池温度差过大报警
Temperature Diff Over High Alarm
电池系统三级 Bit6: 充电:电池温度过低报警
报警信息 1 Under Temperature Alarm (charge);
Bit5: 充电:电池温度过高报警
0x0143 Alarm level Over Temperature Alarm(charge);
Bit4: 电池温度过低报警
3_1 Under Temperature Alarm(discharge);
bit3: 电池温度过高报警
Over Temperature Alarm (discharge);
bit2: 单体压差过大报警
Battery cells unbalance alarm
bit1: 单体电压过低报警
Battery Cell Under Voltage Alarm
bit0: 单体过压报警
Battery Cell Over Voltage Alarm
其中:0-正常(no alarm),1-报警有效((valid alarm)
Bit9:熔断器故障
Bit9:Fuse Alarm
Bit8:隔离开关状态
Bit8:Shielded Switch State
Bit7:BAU 通信故障
Bit7:BAU Communication Fault
Bit6:绝缘检测故障
Bit6:Insulation Check Fault
其它报警信息
Bit5:电流传感器故障
0x0144 Other Alarm
Bit5:Current Sensor Fault
Info
Bit4:EEPROM 故障
Bit4:EEPROM Fault
Bit3:内网通信故障
Bmu Communication Fault
Bit3:Bcu-Bmu
Bit2:接触器粘连状态
Bit2:Contactor Adhesion Fault
Bit1:主控 NTC 故障
Bit1:BCU NTC Fault
th
Addr: 10 Floor, 80 Gucui Road, Xihu District, Hangzhou, Zhejiang Province Post code: 310012
Bit0:从控概要故障
Bit0:SlaveCtrl Summary Fault
其中:0-正常(no alarm),1-报警有效 报警有效((valid
alarm)
Bit11::单体电压极低报警
Battery Cell Very High Alarm
Bit10:单体电压极高报警
Battery Cell Very Low Alarm
Bit9:高压箱温度过高报警
Pack Temperature Over High Alarm
Bit8:SOH 过低报警
SOH Lower Alarm
Bit7: SOC 过高报警
SOC Over High Alarm
电池系统一级
电池系统一 Bit6:SOC 过低报警
System SOC Lower Alarm;
报警信息 2
0x0145 Bit5: 负端绝缘阻值过低报警
Alarm
level Neg Insulation Resistance Lower Alarm;
level 1_2 Bit4: 正端绝缘阻值过低报警
Pos Insulation Resistance Lower Alarm;
bit3: 绝缘阻值过低报警
Insulation Resistance Lower Alarm
Alarm;
bit2: 总电压压差过大报警
System Voltage unbalance alarm
bit1: 总压过低报警
SystemUnder Voltage Alarm
bit0: 总压过高报警
System Over Voltage Alarm
其中:0-正常(no alarm),1-报警有效((valid alarm)
Bit11::单体电压极低报警
Battery Cell Very High Alarm
Bit10:单体电压极高报警
Battery Cell Very Low Alarm
Bit9:高压箱温度过高报警
Pack Temperature Over High Alarm
Bit8:SOH 过低报警
SOH Lower Alarm
Bit7: SOC 过高报警
SOC Over High Alarm
电池系统二 级
Bit6:SOC 过低报警
报警信息 2 System SOC Lower Alarm;
0x0146
Alarm level Bit5: 负端绝缘阻值过低报警
Neg Insulation Resistance Lower Alarm;
2_
_2
Bit4: 正端绝缘阻值过低报警
Pos Insulation Resistance Lower Alarm;
bit3: 绝缘阻值过低报警
Insulation Resistance Lower Alarm
Alarm;
bit2: 总电压压差过大报警
System Voltage unbalance alarm
bit1: 总压过低报警
SystemUnder Voltage Alarm
bit0: 总压过高报警
System Over Voltage Alarm
th
Addr: 10 Floor, 80 Gucui Road, Xihu District, Hangzhou, Zhejiang Province Post code: 310012
其中:0-正常(no alarm),1-报警有效((valid alarm)
Bit11::单体电压极低报警
Battery Cell Very High Alarm
Bit10:单体电压极高报警
Battery Cell Very Low Alarm
Bit9:高压箱温度过高报警
Pack Temperature Over High Alarm
Bit8:SOH 过低报警
SOH Lower Alarm
Bit7: SOC 过高报警
SOC Over High Alarm
电池系统三级 Bit6:SOC 过低报警
报警信息 2 System SOC Lower Alarm;
0x0147 Bit5: 负端绝缘阻值过低报警
level
Alarm Neg Insulation Resistance Lower Alarm;
level 3_2 Bit4: 正端绝缘阻值过低报警
Pos Insulation Resistance Lower Alarm;
bit3: 绝缘阻值过低报警
Insulation Resistance Lower Alarm
Alarm;
bit2: 总电压压差过大报警
System Voltage unbalance alarm
bit1: 总压过低报警
SystemUnder Voltage Alarm
bit0: 总压过高报警
System Over Voltage Alarm
其中:0-正常(no alarm),1-报警有效((valid alarm)
最大充电电流
Current
最大放电电流
Current
从控故障信息:
Slave unit fault information
主控与从控通信告警 2
Communication fault 2
th
Addr: 10 Floor, 80 Gucui Road, Xihu District, Hangzhou, Zhejiang Province Post code: 310012
主控与从控通信告警 1
Communication fault 1
Bit11:主动均衡故障
Bit11:Active Balance Fault
Bit10:被动均衡温度故障
Bit10:Passive
it10:Passive Balance Temperature Fault
Bit9:被动均衡故障
Bit9:Passive Balance Fault
Bit8:EEPROM 故障
Bit8:EEPROM Fault
Bit7:接触器故障
Bit7:Contactor Fault
Bit6:温度传感器故障
Bit6:Temperature Sensor Fault
从控告警设备故障
Bit5: 电池温度采样故障
0x0185 Slave unit function Bit5: Temperature sampling fault
Bit4: 电压采样故障
fault
Bit4:Voltage sampling fault
Bit3: 采样芯片故障
Bit3:Sampleing Chip Fault
Bit2: 连接线故障
Bit2:Connecting Line Fault
Bit1: 采样线故障
Voltage sampling Line fault
Bit1:Voltage
Bit0:从控初始化故障
Bit0:Slave
Slave unit initialization fault
其中:0-正常(no fault)
,1--报警有效(valid
alarm)
… …
… …
We only support 224cellsin
cellsin one cluster for now.
偏移地址 数据名 说明
当前组第 1 个温度测量点温度值
0x0C00
Battery Temperature: 1
16 位有符号整型 范围:-40~
… … 150℃
当前组第 108 个温度测量点温度值 单位 0.1℃
0x0C6b
Battery Temperature: 108 Unit: 0.1℃,, significant value
… …
注:以上寄存器若未指明数据类型的默认均为
以上寄存器若未指明数据类型的默认均为无符号整形
Tip: All register values are unsigned numbers, unless otherwise noted.