Edited by Seer Technical Support
Edit Date: April 14th, 2022
Contact Email: support@seer-group.com
Issue: Version 1.0.1
Version | Content Modification | Modifier | Date |
---|---|---|---|
V1.0.0 | First Edition | Seer | 2020.04.22 |
V1.0.1 | Added Description of 1363 Adaptation and Troubleshooting | Yan Shuo | 2022.04.14 |
V1.0.2 | Added RS485 & RS232 Switching Diagram, Updated Serial Port & CAN Protocol Link | Yan Shuo | 2022.04.24 |
First, Content Adaptation
Query analog battery quantities, including current, voltage, internal temperature, and capacity;
Positive Charge
Negative Discharge
2. Support for Interfaces and Protocols
CAN, RS485, and RS232 (not recommended) are supported;
Notice that the RS232 and RS485 interfaces of SRC-2000(S) are the same hardware interface, and you can switch the battery model file type on the software;
CAN Bus Battery Protocol
Only packets with ID 0x209, 0x20A, and 0x20B are matched. The CAN bus baud rate is 250Kbps, and the battery PDO transmission frequency is less than 10Hz (greater than 100ms once).
Serial Port Battery Protocol (YD/ T13633.3-2005 industry standard protocol for communication industry)
The baud rate is 9600 or 115200; data bit: 8; stop bit: 1; no parity bit. The host query frequency is 1Hz. If communication times out, the host queries the host every 2 seconds.
III. Battery Interface Connection Method for SRC-2000(S)
1. Connect the lower connecting wire to the top gauge terminal TE35 of SRC-2000(S);
2. Prepare the battery communication cable using either RS485 or RS232. Select the appropriate five wires and insert them into the connector (DT06-6S). The connector is defined as follows. The connector specifications are shown at: https://www.te.com.cn/chn-zh/product-DT06-6S.html?source=header-match
Connector PIN | Line Mark | Corresponding Harness |
---|---|---|
DT06-6S PIN1 | Battery Switch O | Super Category 5 CAT5E Network Cable Brown |
DT06-6S PIN2 | 485 Communications 5A/232 Communications TX | Super Category 5 CAT5E Network Cable Blue |
DT06-6S PIN3 | ||
DT06-6S PIN4 | To | Super Category 5 CAT5E Network Cable Green/Green White/Orange/Orange White |
DT06-6S PIN5 | 485 Communication 5B/232 Communication RX | CAT5E Network Cable Blue and White |
DT06-6S PIN6 | Battery Switch N | Super Category 5 CAT5E Network Cable Brown and White |
3. Connect the battery communication cable that has been prepared to the battery communication port on the SRC-2000(S) TE35 cable.
4. Battery connection for CAN communication
Leave the RS485 or RS232 from step 2 disconnected and connect it to the CAN2 communication interface on the SRC-2000(S) TE35 cable using a separate TE DT06-2S connector to create a CAN communication cable.
Connector PIN | Line Mark | Corresponding Harness |
---|---|---|
DT06-2S PIN1 | CAN Communication L | Wiring Harness ② |
DT06-2S PIN2 | CAN Communication H | Harness ① |
Four, Basic Parameters
4.1 UART and CAN (1)
(Compatible with Roboshop version 2.3.X, requirements: RBK version 3.2.6.56+ and Firmware version 1.9.54+)
(No changes made to HTML tags and attributes. All text has been polished.) (No changes made to HTML tags and attributes. Text has been polished.) (Note: No changes were made to the HTML tags and attributes. The text has been polished to read more smoothly.) (No changes made to HTML tags and attributes. Text has been polished.) (No changes made to HTML tags and attributes) Revised text: (No changes made to HTML tags and attributes. Text has been polished.)
Roboshop Option | Interface | Baud Rate /bps | Agreement | Capacity | Voltage | TE Cable Port | Battery Brand |
---|---|---|---|---|---|---|---|
YiHe-XZ-Protocol1363 | RS485 | 9600 | 1363 | 35Ah/50Ah | 48V | Battery Communication | Yihe (YH-XZ13S10P/YH-XZ-13S15P)/ Veuve Song (13S17P)/ Lithium Flat Custom Battery (SBP-48V35AH01-SLEC) |
PylonTech-RB2450-Protocol1363 | RS232 | 115200 | 1363 | 50Ah | 24V | Battery communication | Pai Neng (RB2450) |
TopBand-TB4840F-WwPrivate | RS485 | 19200 | Modbus | 40Ah | 48V | Battery communication | Topang (TB4840F) |
Kingor-KGNL001-NLPrivate | RS485 | 9600 | 30Ah | 48V | Battery Communication | Veuve Song (KGNL001) | |
Kingor-TernaryLi-AJPrivate | Canada | 500,000 | Canada | Triplex Lithium | |||
JunDi-MCF-CAN | CAN | 250K | CAN | Jundi | |||
JunDi-MCF-CAN | CAN | 250K | CAN | Jundi | |||
RuiBoTe-MCF-CAN | CAN | 125K | CAN | Rebot | |||
RuiBoTe-MCF-CAN | CAN | 125K | CAN | Rebot | |||
ZhongQi-None-CANOpen | Controller Area Network | 250 Kilobits per second | Controller Area Network | China Automobile Corporation | |||
Lishen-None-Private | RS485 | 9600 | Battery communication | Force god | |||
Fuyuka-MZ-Private | RS485 | 19200 | Modbus | Battery communication | Fuyou Jiajie | ||
Fuyuka-MZ-Private | RS485 | 19200 | Modbus | Battery Communication | Fuyou Jiajie | ||
LinPin-Fork-Protocol1361 | RS485 | 19200 | 1363 | Battery communication | Lithium flat (forklift with charging) | ||
AnJo-None-Private | Canada | 500K | Canada | Yasui | |||
KuLi-None-Private | RS485 | 9600 | Battery communication | Cool lithium | |||
LTW-None-Private | CAN | 250K | CAN | litonvir | |||
HeLi-None-Private | Canada | 250Kbps | CAN | Resultant Force | |||
HuoKe-200A-Modbus | RS485 | 9600 | Battery communication | Hawk | |||
HuoKe-200A-Modbus | RS485 | 9600 | Battery Communication | Hawk | |||
MeiKe-LBHX4880A-Protocol | RS232 | 9600 | Battery communication | Meco lithium manganese battery pack | |||
BaiWei-Bwbm617-ProtocolA5 | RS485 | 9600 | Battery communication | Hundred-dimensional | |||
MeiKe485-485-Protocol | RS485 | 19200 | Battery Communication | Medco 485 Communication | |||
YiDian-None-PrivateCan | CAN | 250K | CAN | Easy electricity (Controller Area Network) | |||
DaLi-V1-Protocol | RS485 | 9600 | Battery communication | dacion | |||
DaLi-V1-Protocol | RS485 | 9600 | Battery communication | dacion | |||
MS-MSPrivate | CAN | 250K | CAN | Makostar | |||
MS-MSPrivate | CAN | 250K | CAN | Makostar | |||
FuShiKang-None-Private | RS485 | 115200 | Modbus485 | Battery Communication | Foxconn |
Roboshop Interface (for Roboshop 2.3.X):
Select battery type, battery voltage, battery capacity, percentage collection mode, serial port type, terminal resistance, and baud rate according to your own requirements.
4.2 UART and CAN (2)
(In accordance with Roboshop 2.0.8 options, the requirements are RBK version 3.0.X and Firmware version 1.8.X)
Model | Roboshop Option | Interface | Baud Rate /bps | Agreement | Capacity | Voltage | TE Cable Port | Battery Brand |
---|---|---|---|---|---|---|---|---|
0 | None | No results found | No matches found | No items found | No records found | No data available | Battery-free communication | No information available |
1 | M1_232_1152_PN | RS232 | 115200 | 50Ah | 24V | Battery Communication | Paineng | |
2 | M2_pri_485_1152 | RS485 | 115200 | Modbus | Battery Communication | United Kingdom | ||
3 | M3_232_9600_PC | RS232 | 9600 | 100Ah | 48V | Battery Communication | Surname A | |
4 | M4_232_9600_PN | RS232 | 9600 | 100Ah | 24V | Battery Communication | Paineng | |
5 | M5_485_1920 | RS485 | 19200 | Modbus | Battery Communication | United Kingdom | ||
6 | M6_232_1152_PN | RS232 | 115200 | 50Ah | 48V | Battery Communication | Paineng | |
7 | M7_232_9600_ZY | RS232 | 9600 | Battery Communication | Zhuo Yi | |||
8 | M8_485_9600_KG | RS485 | 9600 | Battery Communication | Yihe (YH-XZ-13S10P/YH-XZ-13S15P)/ Triumphal Song (13S17P) | |||
9 | M9_CAN_Battery | Controller Area Network | 250K | Secondary CAN | Litonvir | |||
10 | M10_485_1920_HB | RS485 | 19200 | Modbus | Battery Communication | Topon | ||
11 | M11_485_9600_NL | RS485 | 9600 | Battery Communication | Nori | |||
12 | M12_1363_232_9600 | RS232 | 9600 | 1363 | Battery Communication | User Extension | ||
13 | M13_1363_232_1152 | RS232 | 115200 | 1363 | Battery Communication | User Extension | ||
14 | M14_1363_485_9600 | RS485 | 9600 | 1363 | Battery Communication | User Extension | ||
15 | M15_1363_485_9600_WR | RS485 | 9600 | 1363 | Battery Communication | User Extension | ||
16 | M16_1363_485_1152 | RS485 | 115200 | 1363 | Battery Communication | User Extension | ||
17 | M17_1363_485_1152_WR | RS485 | 115200 | 1363 | Battery Communication | User Extension |
The Model 15 and 17 Roboshop options include WR (without resistor), which means there is no terminal resistance. Green is an optional extension for new users.
The Roboshop interface corresponds to Roboshop 2.0.8:
5. Packet Demonstration
5.1 RS232 or RS485
Baud rate: 9600 or 115200, data bit: 8, no parity bit, 1 stop bit.
Protocol version: 20
Protocol address: 01
Required implementation: Obtain the data after quantization of analog quantity (CID2 is 42H)
Sent by SRC-2000(S) controller
7E 32 30 30 31 34 36 34 32 45 30 30 32 30 31 46 44 33 35 0D
Battery reply example:
7E 32 30 30 31 34 36 30 3032 30 35 4131 3130 3130 3830 44 30 3930 44 30 4130 44 30 4130 44 30 4330 44 30 4330 44 30 4230 44 30 4330 44 4230 3330 42 44 3730 44 3730 3030 3036 38 35 3742 44 3430 3243 33 35 3030 3030 4230 31 30 37 45 34 33 35 30 30 30 30 30 30 30 3145 41 35 41 0D
Normal: 30 30 (fixed)
Byte length: For example, 32, 30, 35, 41. The first character, 32, remains the same. The last three characters are valid data, which correspond to the ASCII characters 0, 5, and A in the ASCII code table. They are converted into hexadecimal 0x5A, which equals 90 in decimal.
Flag: 31 31 (fixed)
Pack: Battery pack (currently only 1 is supported)
M: Number of wires
Voltage unit: 1mV
N: Indicates the number of temperature sensors
Temperature unit: Celsius. The current temperature is +40°C. For example, if the packet temperature is 80, the actual temperature is 40°C. The temperature ranges from -40℃ to 120℃.
Current unit: 10mA, signed shaping (charge positive)
Total and residual power are required in units of 10mA*h, and it is of uint16 type without overflow.
User Field: 30 32 (fixed)
Battery serial number: The battery serial number in the demo is converted to 0107E43500000001 in hexadecimal.
The battery serial number consists of the manufacturer ID and the battery ID. The serial number contains 16 characters, for example, 30 31 30 37 45 34 33 35 30 30 30 30 30 31.
The first and second characters are the manufacturer ID, which is converted to decimal as 1. The manufacturer ID is assigned by the fairy worker. If you need to meet this agreement, please apply to our company for an ID number.
The third to sixth characters are the year, which in decimal form is 2020, indicating 2020.
The seventh and eighth characters indicate the number of weeks. When converted to decimal notation, 53 indicates the 53rd week.
The ninth to sixteenth characters are the battery ID number, which is converted to 1 in decimal form.
The serial number of a battery from the same manufacturer in the same year increases from 1 to 1. The ID returns to 0 in the following year and increases from 1 again.
Manufacturer Name | ID |
---|---|
Lithopine | 1 |
Titan | 2 |
Second Punch | 3 |
Gather Clouds | 4 |
Peicheng | 5 |
Greenmae | 6 |
Huaco | 7 |
Erritt | 8 |
Cuomo | 9 |
Jianghuai Heavy Industry | 10 |
Spruce Technology | 11 |
The battery serial number is displayed in the following manner:
Script for parsing battery messages:
Battery message analysis.exe
5.2 Controller Area Network (CAN)
CAN Identifier
6. Failed to communicate with roboshop
This example uses UART batteries as a reference.
6.1 Packet Parser
You can utilize the message resolver to initially validate the accuracy of the message.
6.1.1 Parser Download
https://seer-group.coding.net/s/c4392548-53a5-4ec1-9524-a87998d4db70
6.1.2 User Interface
6.1.3 Description of Operations
Fill in the complete message (starting with 7E/7e and ending with 0D/0d) in the message input box. The program will automatically remove any spaces and carriage return characters in the message. The battery information will be displayed in the corresponding information box after correct filling.
The Clear key can clear everything with one click, including the input box and the display box, allowing you to start over.
If a message is incomplete or incorrectly entered, it will be indicated by red characters.
6.2 Troubleshooting Procedure
6.2.1 Preparing Tools
USB to Serial Port Tool
Serial Communication Host Computer, this article uses sscom.exe
Visit this link to access the website.
If using 485 communication as an example, make sure the model file is configured correctly. Select from the following battery brands:
6.2.2 Process for Troubleshooting
6.2.2.1 Connection of Cables
Make sure to double-check if the battery connection is reversed. For 232 communication, the battery's Tx and Rx are connected in reverse to the controller's Tx and Rx. Remember to also connect the ground cable.
Checking Packets in Section 6.2.2.2
Utilize the serial port assistant to retrieve the battery message and format it in accordance with the following format (using the demo message in the SRC-2000(S) Controller Battery Adaptation Description as an example).
Note:
a. Verify that the byte value matches the actual number of packets (the number between byte and parity bits, packets within the red box);
b. pack = 1;
c. The user field is 30 32.
d. The packet must be between 30 and 39, 41 and 46 (ASCII code), excluding the frame header (7E) and frame tail (0D).
All data in the packet, except for the frame header 7E and frame tail 0D, is in ASCII code and must be converted to hexadecimal and then decimal for calculation.
ASCII codes correspond to the following decimal values from 0 to F:
ASCII code: 30 to 39 corresponds to hexadecimal code: 0 to 9
ASCII code: 41 to 46 corresponds to hexadecimal A to F
SOC == residual mh/ total mh
Temperature: The packet is converted from ASCII to hexadecimal and then decimal for calculation
If the packet data is greater than 2000, the temperature is (packet data -2731) /10.
Otherwise, temperature = -40.
For example, 30 42 44 37 == 0BD7 == 3031;
ASCII code hexadecimal decimal
Temperature = (3031-2731) /10 = 30;
6.2.2.3 SRC Communication Port is Abnormal
The majority of communication failures are caused by the first two methods. You can utilize the serial port assistant to periodically send demonstration packets to the controller, simulating battery packets, to determine if the communication port is faulty.
Demo message (with serial number version):
7E 32 30 30 31 34 36 30 30 32 30 35 41 31 31 30 31 30 38 30 44 30 39 30 44 30 41 30 44 30 41 30 44 30 43 30 44 30 43 30 44 30 42 30 43 30 44 30 44 44 30 30 42 44 44 37 30 30 37 30 30 36 38 35 37 42 44 34 30 32 43 33 35 30 30 30 30 42 30 31 30 37 45 34 33 35 30 30 30 30 30 30 30 31 45 41 35 41 0D
Select the correct COM port with the appropriate baud rate and reasonable timing for sending packets (within 1000ms).
7. Model Files
7.1 Serial Port Communication
7.2 CAN Communication
Viii. Frequently Asked Questions
8.1 Frequently Asked Questions about Batteries
https://shimo.im/docs/8Nk6MJdpdphzj9qL/ "Battery Frequently Asked Questions"