Battery detection method for CAN or RS485 communication interface settings

By setting and mapping CAN or RS485 communication bus serial numbers in the battery testing system, the problem of traditional equipment not supporting multi-channel communication is solved, and flexible and efficient battery testing is achieved, which is suitable for laboratory and production environments.

CN113917338BActive Publication Date: 2024-09-20NEWARE TECH LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111201679.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-10-15
Publication Date
2024-09-20
Estimated Expiration
2041-10-15

AI Technical Summary

Technical Problem

Traditional battery testing equipment does not support multi-channel CAN/RS485 communication functions and cannot efficiently apply the CAN/RS485 communication interface, resulting in large differences in communication methods in different environments and low test flexibility and efficiency.

Method used

Enter the work step editor through the battery detection system, set the CAN or RS485 communication bus serial number, perform bus serial number mapping and binding, generate new work step test parameters, and support multi-channel CAN/RS485 communication custom bus signal reading and binary data transmission. , suitable for both laboratory and production environments.

Benefits of technology

It improves the flexibility of the battery testing system, reduces the work of repeatedly editing the work step process during the mass production stage, meets the communication needs of different environments, and improves communication efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113917338B
    Figure CN113917338B
Patent Text Reader

Abstract

The invention provides a battery detection method with a CAN or RS485 communication interface setting. Through a battery detection system, a process step editing is entered, a bus number of a CAN communication DBC signal or a CAN binary transmission or an RS485 communication signal or an RS485 binary transmission is set in the editing process step flow, and the CAN / RS485 communication bus number parameter is saved in a process step flow file; a bus number mapping human-computer interaction interface on a battery detection system software is clicked to map the bus number of a channel. The invention has the beneficial effects of supporting the reading of multi-channel CAN / RS485 communication custom bus signals and supporting the sending of multi-channel CAN / RS485 communication custom bus binary data, so that users can flexibly apply custom bus number communication in a laboratory and efficiently apply idle buses, and can also be applied to battery detection equipment channels in production with fixed bus number communication, thereby greatly improving the flexibility of the battery test system software and greatly reducing the work of repeatedly editing process steps in the mass production stage.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The invention relates to the technical field of battery testing, and in particular to a battery detection method provided with a CAN or RS485 communication interface. [Background technology]

[0002] With the continuous development of battery technology, many batteries are now equipped with BMS battery management systems. However, each manufacturer has different requirements for the technical protocol of the BMS battery management system, so there are various communication methods. CAN and RS485 communication are the most widely used communication methods. Some batteries need to carry out multi-channel CAN communication and multi-channel RS485 communication at the same time, which requires the battery testing equipment to support multi-channel bus communication. At the same time, due to the characteristics of CAN / RS485 bus communication itself, the same device cannot use the same bus for communication at the same time, otherwise it will affect each other, and the habits of use in different environments are also different. In the laboratory, there are many varieties of batteries, and each battery may have different characteristics. Before testing, the battery is connected to different communication box interfaces. Customers need to edit different process steps according to the characteristics of the battery, and use different buses to communicate with the BMS battery management system according to the buses available for the current battery testing equipment, which is more flexible. In mass production, battery testing is batch-based, ranging from tens to millions. The way the battery is wired to the communication box interface is fixed. The test scheme used for the same batch of batteries is also the same, and a fixed bus is used to communicate with the BMS battery management system. [Summary of the invention]

[0003] The purpose of the present invention is to solve the problem that traditional battery detection equipment does not support the function of multi-channel CAN / RS485 communication and cannot efficiently apply the CAN / RS485 communication interface, and to provide a new battery detection method with CAN or RS485 communication interface setting.

[0004] The present invention is achieved through the following technical solutions:

[0005] A battery detection method for CAN or RS485 communication interface setting, comprising the following steps:

[0006] S1: Enter the process editing through the battery detection system, edit the process flow to set the bus number of CAN communication DBC signal or CAN binary transmission or RS485 communication signal or RS485 binary transmission, and save the CAN / RS485 communication bus number parameters to the process flow file;

[0007] S2: Click the bus number mapping human-computer interaction interface on the battery detection system software to map the bus number of the channel or bind the channel to the CAN / RS485 communication interface;

[0008] S3: The channel loads the process file, parses the process file, obtains the process file and the bus number of the CAN / RS485 communication in the process file, and obtains the process test parameters;

[0009] S4: Enabling bus number mapping is based on the configuration of the battery detection system, and judging whether to enable the bus number. If not, skip step 5 and directly execute step 6;

[0010] S5: Obtain the channel bus number in step 2, convert the bus number in the process step test parameter into the bus number of the channel mapping, and generate a new process step test parameter;

[0011] S6: Send the step test parameters to the device, start the test process through the channel, communicate with the BMS battery management system via CAN / RS485, and exchange data according to the test step parameters;

[0012] S7: Stop the test process in step S6, and the process ends.

[0013] Furthermore, a bus number mapping human-computer interaction interface is provided on the battery detection system software in step S2, and CAN and RS485 bus number mapping is performed on the channels of the detection equipment, that is, the channels are bound to the CAN / RS485 communication interface.

[0014] Furthermore, the CAN and RS485 bus numbers of the channels of the detection equipment are mapped, depending on whether the bus number mapping is enabled. If so, the bus number in the work step process is converted into the bus number of the channel mapping, and the bus number of the channel mapping is used to communicate with the BMS battery management system after the test is started; if not, the bus number in the work step process is not processed, and the bus number in the work step process is directly used to communicate with the BMS battery management system after the channel is started.

[0015] Furthermore, when editing the process flow, the bus number of the CAN communication DBC signal or the RS485 communication signal or the CAN / RS485 communication binary transmission data is directly set.

[0016] Furthermore, the bus serial number mapping parameters include but are not limited to device number, unit number, channel number, CAN, RS485, wherein the CAN or RS485 communication interface supports multi-channel mapping.

[0017] Furthermore, the bus number mapping human-computer interaction interface is provided with a mapping cancellation module, a CAN mapping cancellation module, an RS485 mapping cancellation module, a clear all module, an average mapping module, an average mapping CAN module, an average mapping RS485 module, a custom CAN module, and a custom RS485 module, so that users can quickly map CAN and RS485 bus numbers to channels. After the operation is completed, the bus number parameters of the channel mapping are stored.

[0018] The beneficial effects of the present invention are: supporting the reading of DBC signals of multiple CAN communications, supporting the sending of binary data of multiple CAN communications, supporting the reading of signals of multiple RS485 communications, and supporting the sending of binary data of multiple RS485 communications. The present invention can satisfy the needs of users to flexibly apply the custom bus serial number communication in laboratory scenarios and efficiently apply the idle bus. It can also be applied to the battery detection equipment channels in the production environment with fixed bus serial number communication, which greatly improves the flexibility of the battery testing system software and greatly reduces the work of repeatedly editing the work step process in the mass production stage.

Brief Description of the Drawings

[0019] Figure 1 A schematic diagram of a battery detection method provided for a CAN or RS485 communication interface of the present invention;

[0020] Figure 2 A schematic flow chart of a battery detection method provided for a CAN or RS485 communication interface of the present invention;

[0021] Figure 3 A schematic flow chart of a battery detection method embodiment 1 for a CAN or RS485 communication interface of the present invention;

[0022] Figure 4 A schematic flow chart of a battery detection method embodiment 2 for a CAN or RS485 communication interface of the present invention; [Specific implementation method]

[0023] The present invention will be further described below in conjunction with the accompanying drawings and specific embodiments:

[0024] It is to be understood that the specific embodiments described herein are only used to explain the present invention, rather than to limit the present invention. It should also be noted that, for ease of description, only the parts related to the present invention are shown in the accompanying drawings. In addition, the embodiments in this application and the features in the embodiments may be combined with each other without conflict.

[0025] Embodiment 1:

[0026] like Figure 1 , Figure 2As shown, a battery detection method for a CAN or RS485 communication interface setting includes the following steps:

[0027] S1: Enter the process editing through the battery detection system, edit the process flow to set the bus number of CAN communication DBC signal or CAN binary transmission or RS485 communication signal or RS485 binary transmission, and save the CAN / RS485 communication bus number parameters to the process flow file;

[0028] S2: Click the bus number mapping human-computer interaction interface on the battery detection system software to map the bus number of the channel or bind the channel to the CAN / RS485 communication interface;

[0029] S3: The channel loads the process file, parses the process file, obtains the process file and the bus number of the CAN / RS485 communication in the process file, and obtains the process test parameters;

[0030] S4: Enabling bus number mapping is based on the configuration of the battery detection system, and judging whether to enable the bus number. If not, skip step 5 and directly execute step 6;

[0031] S5: Obtain the channel bus number in step 2, convert the bus number in the process step test parameter into the bus number of the channel mapping, and generate a new process step test parameter;

[0032] S6: Send the step test parameters to the device, start the test process through the channel, communicate with the BMS battery management system via CAN / RS485, and exchange data according to the test step parameters;

[0033] S7: Stop the test process in step S6, and the process ends.

[0034] Preferably, the battery detection system software in step S2 is provided with a bus number mapping human-computer interaction interface, and the CAN and RS485 bus number mapping is performed on the channels of the detection equipment, that is, the channels are bound to the CAN / RS485 communication interface.

[0035] Preferably, CAN and RS485 bus number mapping is performed on the channels of the detection equipment, depending on whether the bus number mapping is enabled. If so, the bus number in the work step process is converted into the bus number of the channel mapping, and the bus number of the channel mapping is used to communicate with the BMS battery management system after the test is started; if not, the bus number in the work step process is not processed, and the bus number in the work step process is directly used to communicate with the BMS battery management system after the channel is started and tested.

[0036] Preferably, when editing the process flow, the bus number of the CAN communication DBC signal or the RS485 communication signal or the CAN / RS485 communication binary transmission data is directly set.

[0037] Preferably, the bus serial number mapping parameters include but are not limited to device number, unit number, channel number, CAN, RS485, wherein the CAN or RS485 communication interface supports multi-channel mapping.

[0038] Preferably, the bus number mapping human-computer interaction interface is provided with a revocation mapping module, a revocation CAN mapping module, a revocation RS485 mapping module, a clear all module, an average mapping module, an average mapping CAN module, an average mapping RS485 module, a custom CAN module, and a custom RS485 module, so that users can quickly map CAN and RS485 bus numbers to channels. After the operation is completed, the bus number parameters of the channel mapping are stored.

[0039] Embodiment 2:

[0040] like Figure 2 As shown, a battery detection method for CAN or RS485 communication interface setting, first bus serial number mapping, then editing steps, including the following steps:

[0041] S1: Click on the bus number mapping on the battery detection system software to map the bus number of the channel or bind the channel to the CAN / RS485 communication interface;

[0042] S2: Enter the process step editing through the battery detection system, edit the process step flow to set the bus number of CAN communication DBC signal or CAN binary transmission or RS485 communication signal or RS485 binary transmission, and save the CAN / RS485 communication bus number parameter to the process step flow file;

[0043] S3: The channel loads the process file, parses the process file, obtains the process file and the bus number of the CAN / RS485 communication in the process file, and obtains the process test parameters;

[0044] S4: Enabling bus number mapping is based on the configuration of the battery detection system, and judging whether to enable the bus number. If not, skip step 5 and directly execute step 6;

[0045] S5: Obtain the channel bus number in step 2, convert the bus number in the process step test parameter into the bus number of the channel mapping, and generate a new process step test parameter;

[0046] S6: Send the step test parameters to the device, start the test process through the channel, communicate with the BMS battery management system via CAN / RS485, and exchange data according to the test step parameters;

[0047] S7: Stop the test process in step S5, and the process ends.

[0048] Embodiment 3:

[0049] like Figure 3 As shown, a battery detection method for a CAN or RS485 communication interface setting, without bus number mapping or enabling bus number mapping, includes the following steps:

[0050] S1: Enter the process editing through the battery detection system, edit the process flow to set the bus number of CAN communication DBC signal or CAN binary transmission or RS485 communication signal or RS485 binary transmission, and save the CAN / RS485 communication bus number parameters to the process flow file;

[0051] S2: The channel loads the process file, parses the process file, obtains the process file and the bus number of the CAN / RS485 communication in the process file, and obtains the process test parameters;

[0052] S3: Send the step test parameters to the device, start the test process through the channel, communicate with the BMS battery management system via CAN / RS485, and exchange data according to the test step parameters;

[0053] S4: Stop the test process in step S3, and the process ends.

[0054] According to the disclosure and teaching of the above description, those skilled in the art to which the present invention belongs may also make appropriate changes and modifications to the above embodiments. Therefore, the present invention is not limited to the specific embodiments disclosed and described above, and some modifications and changes to the present invention should also fall within the scope of protection of the claims of the present invention. In addition, although some specific terms are used in this specification, these terms are only for the convenience of description and do not constitute any limitation to the present invention.

Claims

1. A battery detection method for CAN or RS485 communication interface, characterized in that: The steps include: S1: Enter the process editing through the battery detection system, edit the process flow to set the bus number of CAN communication DBC signal or CAN binary transmission or RS485 communication signal or RS485 binary transmission, and save the CAN / RS485 communication bus number parameters to the process flow file; S2: Click on the bus number mapping human-computer interaction interface on the battery detection system software, perform bus number mapping on the channel or bind the channel to the CAN / RS485 communication interface. The battery detection system software is provided with a bus number mapping human-computer interaction interface, and the channel of the detection device is mapped to CAN and RS485 bus numbers, that is, the channel is bound to the CAN / RS485 communication interface. The bus number mapping parameters include device number, unit number, channel number, CAN, RS485, wherein the CAN or RS485 communication interface supports multi-channel mapping; the bus number mapping human-computer interaction interface is provided with a revocation mapping module, a revocation CAN mapping module, a revocation RS485 mapping module, a full clearing module, an average mapping module, an average mapping CAN module, an average mapping RS485 module, a custom CAN module, and a custom RS485 module, so that users can quickly map the CAN and RS485 bus numbers on the channel. After the operation is completed, the bus number parameters of the channel mapping are stored; S3: The channel loads the process file, parses the process file, obtains the process file and the bus number of the CAN / RS485 communication in the process file, and obtains the process test parameters; S4: Enabling bus number mapping is based on the configuration of the battery detection system, and judging whether to enable the bus number. If not, skip step S5 and directly execute step S6; S5: Obtain the channel bus number in step S2, convert the bus number in the process step test parameter into the bus number of the channel mapping, and generate a new process step test parameter; S6: Send the step test parameters to the device, start the test process through the channel, communicate with the BMS battery management system via CAN / RS485, and exchange data according to the test step parameters; S7: Stop the test process in step S6, and the process ends.

2. The battery detection method according to claim 1, wherein: Map the CAN and RS485 bus numbers of the channels of the detection equipment, depending on whether the bus number mapping is enabled. If so, convert the bus number in the work step process into the bus number of the channel mapping, and use the bus number of the channel mapping to communicate with the BMS battery management system after starting the test; if not, do not process the bus number in the work step process, and directly use the bus number in the work step process to communicate with the BMS battery management system after the channel starts the test.

3. The battery detection method according to claim 1, wherein: When editing the process flow, directly set the bus number of the CAN communication DBC signal or RS485 communication signal or CAN / RS485 communication binary sending data.