Battery cell parameter sending method, device and equipment and readable storage medium

By automatically mapping the cell parameters and the message ID number of CAN messages by preset configuration files, the problem of manual remapping when the number of AFE chips or the number of collected cell parameters changes is solved, and fast and efficient cell parameter transmission is achieved.

CN119652694APending Publication Date: 2025-03-18SHANGHAI RUIPU ENERGY CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411767502.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-03
Publication Date
2025-03-18

AI Technical Summary

Technical Problem

In the prior art, when the number of AFE chips or the number of acquisition cell parameters changes, it is necessary to manually remap the cell parameters and CAN messages, resulting in repeated and cumbersome operations.

Method used

By preset configuration files including the serial number of each AFE chip and the number of battery parameters collected by each AFE chip, determine the message ID serial number corresponding to each battery parameter to send, and fill the battery parameter to the corresponding CAN message to realize automatic mapping filling.

Benefits of technology

After the project is modified, you only need to modify the configuration amount in the preset configuration file to quickly re-establish the mapping relationship, improve the efficiency of battery cell parameter transmission, and reduce the complexity of manual operation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119652694A_ABST
    Figure CN119652694A_ABST
Patent Text Reader

Abstract

The invention discloses a cell parameter sending method, device and equipment and a readable storage medium, and relates to the technical field of battery cell parameter management, and the cell parameter sending method comprises the following steps: S10, obtaining all cell parameters collected by all AFE chips; s20, according to a preset configuration file and the number of the cell parameters capable of being filled in each CAN message, determining a message ID serial number corresponding to sending of each cell parameter; wherein the preset configuration file comprises the serial number of each AFE chip and the number of battery cell parameters collected by each AFE chip; and step S30, filling the CAN message of the corresponding message ID serial number with each cell parameter, and sending the CAN message to a CAN bus network. According to the method and the device, automatic mapping filling of the cell parameters and the CAN message can be realized, and after the project is modified, the mapping relation can be quickly established again only by modifying the configuration quantity in the preset configuration file, so that the cell parameter sending efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of battery cell parameter management, and in particular to a method, device, equipment and readable storage medium for sending battery cell parameters. Background Art

[0002] The battery management system BMS (Battery Management System) can collect battery cell parameters through the AFE (Active Front End) chip. Users or testers need to use the CAN bus network to observe whether the collected battery cell parameters are normal.

[0003] Generally speaking, each battery pack consists of about 100-200 cells. An AFE chip has multiple sampling channels. One sampling channel in the AFE chip can collect one cell parameter, so there are a lot of cell parameters to be collected. When outputting these data through the CAN bus network, it is necessary to configure a CAN message for each cell parameter and map each cell parameter to the corresponding CAN message.

[0004] The above mapping process is now mostly done manually. If the number of AFE chips and the number of cell parameters collected by the AFE chips do not change, the operation can be performed once. However, when the project changes, that is, when the number of AFE chips changes or the number of cell parameters collected by the AFE chips changes, the mapping between the corresponding cell parameters and CAN messages must also be modified, resulting in repeated and cumbersome operations. Summary of the invention

[0005] The embodiments of the present invention provide a method, device, equipment and readable storage medium for sending battery cell parameters to solve the technical problem that in the process of sending battery cell parameters through CAN messages in the related art, whenever the number of AFE chips changes or the number of battery cell parameters collected by each AFE chip changes, each battery cell parameter needs to be manually re-mapped with the CAN message one by one, and the operation is repetitive and cumbersome.

[0006] In a first aspect, a method for sending cell parameters is provided, comprising the following steps:

[0007] Get all the cell parameters collected by all AFE chips;

[0008] According to the preset configuration file and the number of battery cell parameters that can be filled in each CAN message, determine the message ID number corresponding to each battery cell parameter; wherein the preset configuration file includes the serial number of each AFE chip and the number of battery cell parameters collected by each AFE chip;

[0009] Fill each cell parameter into the CAN message with the corresponding message ID number and send it to the CAN bus network.

[0010] In some embodiments, the step of determining the message ID number corresponding to each cell parameter according to the preset configuration file and the number of cell parameters that can be filled in each CAN message includes:

[0011] A two-dimensional table containing the AFE chip serial number and the corresponding message ID serial number is constructed according to the preset configuration file and the number of battery cell parameters that can be filled in each CAN message;

[0012] Then, the message ID number for sending each battery cell parameter is determined based on the preset configuration file and the constructed two-dimensional table.

[0013] In some embodiments, the step of constructing a two-dimensional table including the AFE chip number and the corresponding message ID number according to the preset configuration file and the number of battery cell parameters that can be filled in each CAN message includes:

[0014] According to the number of battery cell parameters collected by each AFE chip and the number of battery cell parameters that can be filled in each CAN message, determine the message ID sequence number of the CAN message used to send the AFE chip to collect the battery cell parameters;

[0015] A two-dimensional table is constructed according to the serial number of each AFE chip and the message ID serial number corresponding to the AFE chip.

[0016] In some embodiments, the step of determining the message ID sequence number of the CAN message used to send the AFE chip to collect the cell parameters according to the number of cell parameters collected by each AFE chip and the number of cell parameters that can be filled in each CAN message includes:

[0017] If the number of battery cell parameters collected by each AFE chip is an integer multiple N of the battery cell parameters that can be filled in each CAN message, M_1 to M_N are used as the message ID serial numbers of the CAN messages used to send the AFE chip to collect the battery cell parameters; where M is the AFE chip serial number;

[0018] If the number of battery cell parameters collected by each AFE chip is a multiple N of the battery cell parameters that can be filled in each CAN message and there is a remainder, M_1 to M_N+1 are used as the message ID sequence numbers of the CAN messages used to send the AFE chip to collect the battery cell parameters.

[0019] In some embodiments, the step of determining the message ID sequence number of the CAN message used to send the AFE chip to collect the cell parameters according to the number of cell parameters collected by each AFE chip and the number of cell parameters that can be filled in each CAN message includes:

[0020] First, M_1 is used as the first message ID number of the CAN message used to send the AFE chip to collect battery cell parameters, and the remaining message ID numbers are increased one by one according to the quantity required for the AFE chip to collect battery cell parameters; wherein M is the AFE chip number.

[0021] In some embodiments, the step of determining the message ID number for sending each battery cell parameter according to the preset configuration file and the constructed two-dimensional table includes:

[0022] Traverse all the battery cell parameters collected by all AFE chips and perform self-increment counting;

[0023] The message ID number of each battery cell parameter is determined according to the count value and the constructed two-dimensional table.

[0024] In some embodiments, the battery cell parameters include voltage parameters and temperature parameters.

[0025] In a second aspect, a battery cell parameter sending device is provided, comprising:

[0026] The acquisition unit is used to obtain all the cell parameters collected by all AFE chips;

[0027] A determination unit, used to determine the message ID serial number corresponding to each battery cell parameter to be sent according to a preset configuration file and the number of battery cell parameters that can be filled in each CAN message; wherein the preset configuration file includes the serial number of each AFE chip and the number of battery cell parameters collected by each AFE chip;

[0028] The sending unit is used to fill each battery cell parameter into the CAN message of the corresponding message ID number and send it to the CAN bus network.

[0029] In a third aspect, a computer device is provided, comprising: a memory and a processor, wherein the memory stores at least one instruction, and the at least one instruction is loaded and executed by the processor to implement the aforementioned method for sending battery cell parameters.

[0030] In a fourth aspect, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and when the computer instructions are executed by a computer, the computer executes the aforementioned method for sending battery cell parameters.

[0031] The beneficial effects brought about by the technical solution provided by the present invention include:

[0032] An embodiment of the present invention provides a method, device, equipment and readable storage medium for sending battery cell parameters. The method determines the message ID number corresponding to each battery cell parameter to be sent according to the serial number of each AFE chip and the preset configuration file of the number of battery cell parameters collected by each AFE chip, and then fills all the acquired battery cell parameters into the corresponding CAN message based on the message ID number, thereby realizing automatic mapping and filling of battery cell parameters and CAN messages. After the project is modified, it only needs to modify the configuration amount in the preset configuration file to quickly re-establish the mapping relationship, thereby improving the efficiency of battery cell parameter sending. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0034] Figure 1 A schematic diagram of a flow chart of a method for sending battery cell parameters provided by an embodiment of the present invention;

[0035] Figure 2 Implementation provided for the embodiments of the present invention Figure 1 A schematic flow chart of step S20;

[0036] Figure 3 Implementation provided for the embodiments of the present invention Figure 2 A schematic flow chart of step S201 in FIG.

[0037] Figure 4 Implementation provided for the embodiments of the present invention Figure 2 A flow chart of step S202 in FIG.

[0038] Figure 5 A schematic diagram of the structure of a battery cell parameter sending device provided by an embodiment of the present invention;

[0039] Figure 6 A schematic diagram of the structure of a computer device provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0040] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0041] An embodiment of the present invention provides a method for sending battery cell parameters, which can solve the technical problem that in the existing process of sending battery cell parameters through CAN messages, whenever the number of AFE chips changes or the number of battery cell parameters collected by each AFE chip changes, each battery cell parameter needs to be manually re-mapped with the CAN message one by one, and the operation is repetitive and cumbersome.

[0042] See also Figure 1 As shown, an embodiment of the present invention provides a method for sending battery cell parameters, comprising the following steps:

[0043] Step S10, obtaining all cell parameters collected by all AFE chips.

[0044] Wherein, the battery cell parameters include voltage parameters and temperature parameters.

[0045] Step S20, determining the message ID number corresponding to each cell parameter to be sent according to the preset configuration file and the number of cell parameters that can be filled in each CAN message;

[0046] The preset configuration file includes the serial number of each AFE chip and the number of battery cell parameters collected by each AFE chip.

[0047] Specifically, see Figure 2 As shown, the step of determining the message ID number corresponding to each cell parameter according to the preset configuration file and the number of cell parameters that can be filled in each CAN message includes:

[0048] Step S201, constructing a two-dimensional table including the AFE chip number and the corresponding message ID number according to the preset configuration file and the number of battery cell parameters that can be filled in each CAN message;

[0049] Assume that there are three AFE chips, namely AFE1, AFE2, and AFE3, the number of battery cell parameters collected by AFE1 is 16, the number of battery cell parameters collected by AFE2 is 20, and the number of battery cell parameters collected by AFE3 is 24, then the preset configuration file is shown in Table 1.

[0050] Table 1

[0051] AFE chip serial number Number of cell parameters 1 16 2 20 3 24

[0052] Further, see Figure 3 As shown, the step of constructing a two-dimensional table including the AFE chip number and the corresponding message ID number according to the preset configuration file and the number of battery cell parameters that can be filled in each CAN message includes:

[0053] Step S2011, determining the message ID sequence number of the CAN message used to send the AFE chip to collect the cell parameters according to the number of cell parameters collected by each AFE chip and the number of cell parameters that can be filled in each CAN message.

[0054] Among them, if the number of battery cell parameters collected by each AFE chip is an integer multiple N of the battery cell parameters that can be filled in each CAN message, M_1~M_N are used as the message ID serial numbers of the CAN messages used to send the AFE chip to collect the battery cell parameters; among them, M is the AFE chip serial number.

[0055] If the number of battery cell parameters collected by each AFE chip is a multiple N of the battery cell parameters that can be filled in each CAN message and there is a remainder, M_1 to M_N+1 are used as the message ID sequence numbers of the CAN messages used to send the AFE chip to collect the battery cell parameters.

[0056] Step S2012: construct a two-dimensional table according to the serial number of each AFE chip and the message ID serial number corresponding to the AFE chip.

[0057] Specifically, assuming that the number of battery cell parameters that can be filled in each CAN message is 4, for the AFE1 chip, 4 messages are needed to send the 16 battery cell parameters collected by the AFE1 chip, then the message ID serial numbers of the CAN messages used to send the AFE1 chip to collect battery cell parameters are determined to be message ID1_1, message ID1_2, message ID1_3, and message ID1_4. Similarly, the message ID serial numbers of the CAN messages used to send the AFE2 chip to collect battery cell parameters are determined to be message ID2_1, message ID2_2, message ID2_3, message ID2_4, and message ID2_5. The message ID serial numbers of the CAN messages used to send the AFE3 chip to collect battery cell parameters are determined to be message ID3_1, message ID3_2, message ID3_3, message ID3_4, message ID3_5, and message ID3_6. The specific two-dimensional number table is shown in Table 2 below. It should be noted that if AFE1 collects 17 battery cell parameters, the message ID number of the CAN message sent by the AFE1 chip to collect the battery cell parameters is increased by message ID1_5, and the CAN message corresponding to message ID1_5 only sends the 17th battery cell parameter collected by the AFE1 chip.

[0058] Table 2

[0059]

[0060] Step S202, determining the message ID number for sending each battery cell parameter according to the preset configuration file and the constructed two-dimensional table.

[0061] Specifically, see Figure 4As shown, the step of determining the message ID number for sending each battery cell parameter according to the preset configuration file and the constructed two-dimensional table includes:

[0062] Step S2021, traverse all the battery cell parameters collected by all AFE chips, and perform self-increment counts. Through two nested loops, all the battery cell parameters collected by all AFE chips can be traversed. As assumed above, 3 AFE chips collect 60 battery cell parameters. According to the serial number of the AFE chip in the preset configuration file and the number of battery cell parameters collected by each AFE chip, the battery cell parameter pointed to by the count value index in the loop traversal belongs to which AFE chip and which battery cell parameter. For example, the count value index is 18, and it can be located that the count value 18 corresponds to the second battery cell parameter of the AFE2 chip.

[0063] Step S2022, determining the message ID number of each battery cell parameter according to the count value and the constructed two-dimensional table.

[0064] Continuing with the above assumptions, the count value index is 18, and the positioning count value 18 corresponds to the second battery cell parameter of the AFE2 chip. According to the constructed two-dimensional table, the second battery cell parameter of the AFE2 chip corresponds to the message ID number of message ID2_1. In other words, when the count value index is 17 to 20, it corresponds to the 1st to 4th battery cell parameters of the AFE2 chip, and the message ID number for sending the 1st to 4th battery cell parameters of the AFE2 chip is message ID2_1.

[0065] Step S30, filling each cell parameter into the CAN message corresponding to the message ID number and sending it to the CAN bus network.

[0066] Based on the above content, when determining the message ID number corresponding to each battery cell parameter, fill each battery cell parameter and the corresponding message ID number into the CAN message, and upload the CAN message to the CAN bus network after forming the CAN message, so that the devices on the CAN bus network can obtain all battery cell parameters collected by all AFE chips, so that users or testers can observe whether the collected battery cell parameters are normal through the CAN network.

[0067] In particular, when a project changes (the number of AFE chips changes or the number of battery cell parameters collected by each AFE chip changes), it is only necessary to know the serial number of the AFE chip and the number of battery cell parameters collected by each AFE chip in the changed project configuration, and then modify the corresponding preset configuration file in the implementation of the present invention. According to the configuration quantity in the preset configuration file, it is possible to automatically fill the battery cells collected by the corresponding AFE chip into the corresponding CAN message. That is, each time the project changes, it is only necessary to modify a few configuration quantities in the preset configuration file (the serial number of the AFE chip and the number of battery cell parameters collected by each AFE chip) to automatically complete the mapping and filling of the CAN message and the battery cell parameters collected by the AFE chip.

[0068] For example, assuming that the number of AFE chips increases to 4 (AFE4 is added), and the number of cell parameters collected by the AFE1 chip becomes 20, the number of cell parameters collected by the AFE2 chip becomes 24, the number of cell parameters collected by the AFE3 chip becomes 20, and the number of cell parameters collected by the AFE4 chip is 16, the corresponding preset configuration files are shown in Table 3.

[0069] Table 3

[0070] AFE chip serial number Number of cell parameters 1 20 2 24 3 20 4 16

[0071] Correspondingly, a two-dimensional table is constructed according to the serial number of each AFE chip and the message ID serial number corresponding to the AFE chip as shown in Table 4. According to the two-dimensional table, the message ID serial number filled with each battery cell parameter can be quickly determined, which is more efficient than the prior art of manually re-mapping each battery cell parameter with the CAN message one by one.

[0072] Table 4

[0073]

[0074] The method for sending cell parameters in the embodiment of the present invention determines the message ID number corresponding to each cell parameter to be sent according to a preset configuration file including the serial number of each AFE chip and the number of cell parameters collected by each AFE chip, and then fills all the acquired cell parameters into the corresponding CAN message based on the message ID number, thereby realizing automatic mapping and filling of cell parameters and CAN messages. After the project is modified, it is only necessary to modify the configuration amount in the preset configuration file to quickly re-establish the mapping relationship, thereby improving the efficiency of sending cell parameters.

[0075] As an optional implementation manner, in an embodiment of the invention, the step of determining the message ID sequence number of the CAN message used to send the AFE chip to collect the cell parameters according to the number of cell parameters collected by each AFE chip and the number of cell parameters that can be filled in each CAN message includes:

[0076] First, M_1 is used as the first message ID number of the CAN message used to send the AFE chip to collect battery cell parameters, and the remaining message ID numbers are increased one by one according to the quantity required for the AFE chip to collect battery cell parameters.

[0077] Specifically, as shown in Table 5, M_1 may be used as the first message ID number of the CAN message for sending the AFE chip to collect the cell parameters, and then the message ID numbers may be increased one by one according to the quantity of the cell parameters collected by the AFE chip.

[0078] For example, if the AFE1 chip collects 4 battery cell parameters, message ID1_1 can meet the requirements. If the AFE2 chip collects 8 battery cell parameters, message ID2_1 does not meet the requirements. A message ID number (ID2_2) is added as needed to save data storage space as much as possible.

[0079] Table 5

[0080]

[0081]

[0082] See also Figure 5 As shown, an embodiment of the present invention further provides a battery cell parameter sending device, including: an acquiring unit, a determining unit and a sending unit.

[0083] The acquisition unit is used to acquire all cell parameters collected by all AFE chips.

[0084] The determination unit is used to determine the message ID serial number corresponding to each battery cell parameter to be sent according to a preset configuration file and the number of battery cell parameters that can be filled in each CAN message; wherein the preset configuration file includes the serial number of each AFE chip and the number of battery cell parameters collected by each AFE chip.

[0085] The sending unit is used to fill each battery cell parameter into the CAN message corresponding to the message ID number and send it to the CAN bus network.

[0086] The battery cell parameter sending device in the embodiment of the present invention determines the message ID number corresponding to each battery cell parameter to be sent according to a preset configuration file including the serial number of each AFE chip and the number of battery cell parameters collected by each AFE chip, and then fills all the acquired battery cell parameters into the corresponding CAN message based on the message ID number, thereby realizing automatic mapping and filling of battery cell parameters and CAN messages. After the project is modified, it is only necessary to modify the configuration amount in the preset configuration file to quickly re-establish the mapping relationship, thereby improving the efficiency of battery cell parameter sending.

[0087] An embodiment of the present invention also provides a computer device, comprising: a memory, a processor and a network interface connected via a system bus, wherein at least one instruction is stored in the memory, and the at least one instruction is loaded and executed by the processor to implement all or part of the steps of the aforementioned battery cell parameter sending method.

[0088] The network interface is used for network communication, such as sending assigned tasks, etc. Those skilled in the art will understand that Figure 6 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present invention, and does not constitute a limitation on the computer device to which the solution of the present invention is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0089] The processor may be a CPU, or other general-purpose processors, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor, or the processor may be any conventional processor, etc. The processor is the control center of the computer device, and uses various interfaces and lines to connect various parts of the entire computer device.

[0090] The memory can be used to store computer programs and / or modules. The processor realizes various functions of the computer device by running or executing the computer programs and / or modules stored in the memory and calling the data stored in the memory. The memory can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a video playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the mobile phone (such as video data, image data, etc.), etc. In addition, the memory can include a high-speed random access memory, and can also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (SmartMedia Card, SMC), a secure digital (Secure digital, SD) card, a flash card (Flash Card), at least one disk storage device, a flash memory device or other volatile solid-state storage device.

[0091] In one embodiment of the invention, the processor is used to run a computer program stored in the memory to implement the following steps:

[0092] Step S10, obtaining all battery cell parameters collected by all AFE chips;

[0093] Step S20, determining the message ID number corresponding to each cell parameter to be sent according to the preset configuration file and the number of cell parameters that can be filled in each CAN message; wherein the preset configuration file includes the serial number of each AFE chip and the number of cell parameters collected by each AFE chip;

[0094] Step S30, filling each cell parameter into the CAN message corresponding to the message ID number and sending it to the CAN bus network.

[0095] As an optional implementation, in an embodiment of the invention, the step of determining the message ID number corresponding to each cell parameter according to the preset configuration file and the number of cell parameters that can be filled in each CAN message includes:

[0096] Step S201, constructing a two-dimensional table including the AFE chip number and the corresponding message ID number according to the preset configuration file and the number of battery cell parameters that can be filled in each CAN message;

[0097] Step S202, determining the message ID number for sending each battery cell parameter according to the preset configuration file and the constructed two-dimensional table.

[0098] As an optional implementation, in an embodiment of the invention, the step of constructing a two-dimensional table including the AFE chip number and the corresponding message ID number according to the preset configuration file and the number of battery cell parameters that can be filled in each CAN message includes:

[0099] Step S2011, determining the message ID sequence number of the CAN message used to send the AFE chip to collect the battery cell parameters according to the number of battery cell parameters collected by each AFE chip and the number of battery cell parameters that can be filled in each CAN message;

[0100] Step S2012: construct a two-dimensional table according to the serial number of each AFE chip and the message ID serial number corresponding to the AFE chip.

[0101] As an optional implementation manner, in an embodiment of the invention, the step of determining the message ID sequence number of the CAN message used to send the AFE chip to collect the cell parameters according to the number of cell parameters collected by each AFE chip and the number of cell parameters that can be filled in each CAN message includes:

[0102] If the number of battery cell parameters collected by each AFE chip is an integer multiple N of the battery cell parameters that can be filled in each CAN message, M_1 to M_N are used as the message ID serial numbers of the CAN messages used to send the AFE chip to collect the battery cell parameters; where M is the AFE chip serial number;

[0103] If the number of battery cell parameters collected by each AFE chip is a multiple N of the battery cell parameters that can be filled in each CAN message, M_1 to M_N+1 are used as message ID numbers of the CAN messages used to send the AFE chip to collect the battery cell parameters.

[0104] As an optional implementation manner, in an embodiment of the invention, the step of determining the message ID sequence number of the CAN message used to send the AFE chip to collect the cell parameters according to the number of cell parameters collected by each AFE chip and the number of cell parameters that can be filled in each CAN message includes:

[0105] First, M_1 is used as the first message ID number of the CAN message used to send the AFE chip to collect battery cell parameters, and the remaining message ID numbers are increased one by one according to the quantity required for the AFE chip to collect battery cell parameters; wherein M is the AFE chip number.

[0106] As an optional implementation, in an embodiment of the invention, the step of determining the message ID number for sending each battery cell parameter according to the preset configuration file and the constructed two-dimensional table includes:

[0107] Step S2021, traverse all battery cell parameters collected by all AFE chips and perform self-increment counting;

[0108] Step S2022, determining the message ID number of each battery cell parameter according to the count value and the constructed two-dimensional table.

[0109] The embodiment of the present invention further provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, all or part of the steps of the aforementioned method for sending battery cell parameters are implemented.

[0110] The embodiment of the present invention implements all or part of the aforementioned processes, and can also be completed by instructing related hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When the computer program is executed by a processor, the steps of each of the above methods can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, the computer-readable medium does not include electric carrier signals and telecommunication signals.

[0111] It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as methods, systems, servers or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) containing computer-usable program codes.

[0112] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.

[0113] The serial numbers in the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.

[0114] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems) and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the process in the flowchart. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0115] The above description is only a specific embodiment of the present invention, so that those skilled in the art can understand or implement the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but should conform to the widest scope consistent with the principles and novel features invented herein.

Claims

1. A method for sending battery cell parameters, characterized in that: The following steps are involved: Get all the cell parameters collected by all AFE chips; According to the preset configuration file and the number of battery cell parameters that can be filled in each CAN message, determine the message ID number corresponding to each battery cell parameter; wherein the preset configuration file includes the serial number of each AFE chip and the number of battery cell parameters collected by each AFE chip; Fill each cell parameter into the CAN message with the corresponding message ID number and send it to the CAN bus network.

2. The method for sending battery cell parameters according to claim 1, characterized in that: The step of determining the message ID number corresponding to each cell parameter according to the preset configuration file and the number of cell parameters that can be filled in each CAN message includes: A two-dimensional table containing the AFE chip serial number and the corresponding message ID serial number is constructed according to the preset configuration file and the number of battery cell parameters that can be filled in each CAN message; Then, the message ID number for sending each battery cell parameter is determined based on the preset configuration file and the constructed two-dimensional table.

3. The method for sending battery cell parameters according to claim 2, characterized in that: The step of constructing a two-dimensional table including the AFE chip number and the corresponding message ID number according to the preset configuration file and the number of battery cell parameters that can be filled in each CAN message includes: According to the number of battery cell parameters collected by each AFE chip and the number of battery cell parameters that can be filled in each CAN message, determine the message ID sequence number of the CAN message used to send the AFE chip to collect the battery cell parameters; A two-dimensional table is constructed according to the serial number of each AFE chip and the message ID serial number corresponding to the AFE chip.

4. The method for sending battery cell parameters according to claim 3, characterized in that: The step of determining the message ID sequence number of the CAN message used to send the AFE chip to collect the cell parameters according to the number of cell parameters collected by each AFE chip and the number of cell parameters that can be filled in each CAN message, comprises: If the number of battery cell parameters collected by each AFE chip is an integer multiple N of the battery cell parameters that can be filled in each CAN message, M_1 to M_N are used as the message ID serial numbers of the CAN messages used to send the AFE chip to collect the battery cell parameters; where M is the AFE chip serial number; If the number of battery cell parameters collected by each AFE chip is a multiple N of the battery cell parameters that can be filled in each CAN message and there is a remainder, M_1 to M_N+1 are used as the message ID sequence numbers of the CAN messages used to send the AFE chip to collect the battery cell parameters.

5. The method for sending battery cell parameters according to claim 3, characterized in that: The step of determining the message ID sequence number of the CAN message used to send the AFE chip to collect the cell parameters according to the number of cell parameters collected by each AFE chip and the number of cell parameters that can be filled in each CAN message, comprises: First, M_1 is used as the first message ID number of the CAN message used to send the AFE chip to collect battery cell parameters, and the remaining message ID numbers are increased one by one according to the quantity required for the AFE chip to collect battery cell parameters; wherein M is the AFE chip number.

6. The method for sending battery cell parameters according to claim 2, characterized in that: The step of determining the message ID number for sending each battery cell parameter according to the preset configuration file and the constructed two-dimensional table includes: Traverse all the battery cell parameters collected by all AFE chips and perform self-increment counting; The message ID number of each battery cell parameter is determined according to the count value and the constructed two-dimensional table.

7. The method for sending battery cell parameters according to claim 1, characterized in that: The battery cell parameters include voltage parameters and temperature parameters.

8. A battery cell parameter sending device, characterized in that: include: The acquisition unit is used to obtain all the cell parameters collected by all AFE chips; A determination unit, used to determine the message ID serial number corresponding to each battery cell parameter to be sent according to a preset configuration file and the number of battery cell parameters that can be filled in each CAN message; wherein the preset configuration file includes the serial number of each AFE chip and the number of battery cell parameters collected by each AFE chip; The sending unit is used to fill each battery cell parameter into the CAN message of the corresponding message ID number and send it to the CAN bus network.

9. A computer device, characterized in that: include: A memory and a processor, wherein the memory stores at least one instruction, and the at least one instruction is loaded and executed by the processor to implement the method for sending battery cell parameters according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and when the computer instructions are executed by a computer, the computer executes the method for sending battery cell parameters according to any one of claims 1 to 7.