Energy storage power station battery monomer data processing method and computer equipment

By compressing the battery cell data in the same battery box into one serial number and using Hoffman compression to process the communication address, the problem of low data processing efficiency caused by the large amount of battery data in the energy storage power station is solved, and faster data processing speed and higher effectiveness are achieved.

CN120295559APending Publication Date: 2025-07-11XUCHANG XJ SOFTWARE TECHNOLOGIES LTD +3
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510263822.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-06
Publication Date
2025-07-11

AI Technical Summary

Technical Problem

The large amount of battery cell data in energy storage power plants leads to low data processing efficiency and poor effectiveness, especially the importance and processing priority of battery data.

Method used

The same type of battery cell data in the same battery box is compressed into one data according to serial number, and the communication address is processed through Hoffman compression. The battery box is first determined during processing, and then the storage location is located according to the serial number for data processing.

Benefits of technology

The number of real-time data in the battery is reduced, the speed and effectiveness of data processing is improved, the proportion of battery data is reduced, the proportion of Siya data is increased, and the efficiency of data processing is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120295559A_ABST
    Figure CN120295559A_ABST
Patent Text Reader

Abstract

The invention belongs to the technical field of energy storage power station data processing, and particularly relates to an energy storage power station single battery data processing method and computer equipment. When a certain type of data of a certain battery monomer is processed, the battery box to which the certain battery monomer belongs and the serial number of the battery monomer are determined according to the communication address of the to-be-processed data, and the communication address is used for determining the storage position of the corresponding data; searching the type of compressed real-time value data of the battery box, determining a storage position of the to-be-processed data in the type of compressed real-time value data of the battery box according to the serial number of the certain battery monomer, and processing the to-be-processed data according to the determined storage position; the compressed real-time value data is obtained by compressing a plurality of pieces of real-time value data of the same type belonging to the same battery box into one piece of data according to the serial numbers of the battery monomers. The number of battery data and the data proportion are reduced, the data processing speed is increased, and the data processing effectiveness is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of energy storage power station data processing, and particularly relates to a method for processing data of battery monomers in an energy storage power station and a computer device. Background Art

[0002] The data models of energy storage units in an energy storage power station are basically the same, and are all organized according to the hierarchy of energy storage unit -> stack -> cluster -> box -> monomer. The existing data processing methods for energy storage power stations independently store each item of data of each battery monomer. Therefore, the data volume of the energy storage power station is huge. During the data processing process, whenever the data of each battery monomer changes, it is necessary to find the corresponding data storage location in the real-time database for modification, resulting in a relatively large amount of data processing. And since most of the data is battery data, and the importance and processing priority of battery data are relatively low, while the four-remote data with relatively high importance and processing priority accounts for a relatively small proportion, thus leading to low data processing efficiency and poor effectiveness. Summary of the Invention

[0003] The purpose of the present invention is to provide a method for processing data of battery monomers in an energy storage power station and a computer device, so as to solve the technical problems of relatively large amount and high proportion of battery data in the energy storage power station, resulting in low data processing efficiency and poor effectiveness.

[0004] To solve the above technical problems, the present invention provides a method for processing data of battery monomers in an energy storage power station, including the following steps: When processing a certain type of data of a certain battery monomer, determine the battery box to which the certain battery monomer belongs and the serial number of the battery monomer according to the communication address of the data to be processed, and the communication address is used to determine the storage location of the corresponding data; search for the compressed real-time value data of this type in the battery box, and determine the storage location of the data to be processed in the compressed real-time value data of this type in the battery box according to the serial number of the certain battery monomer, and process the data to be processed according to the determined storage location; The compressed real-time value data is obtained by compressing multiple real-time value data of the same type belonging to the same battery box into one data according to the serial number of the battery monomer.

[0005] Further, the process of compressing multiple real-time value data of the same type belonging to the same battery box into one data according to the serial number of the battery monomer includes: processing the real-time values of each battery monomer belonging to the same battery box into data with a set number of bytes, and then writing the processed data into one data in sequence according to the serial number of the battery monomer to obtain the compressed real-time value data; Correspondingly, the process of determining the storage location of the data to be processed in the compressed real-time value data of this type in this battery box according to the serial number of a certain battery cell includes: multiplying the serial number of a certain battery cell minus one by the set number of bytes to obtain the offset of the storage location of the data to be processed, and obtaining the storage location of the data to be processed according to the offset.

[0006] Further, the process of determining the battery box to which a certain battery cell belongs and the serial number of the battery cell according to the communication address of the data to be processed includes: obtaining the communication address of the data to be processed, decompressing the compressed communication addresses of each battery box, and matching the communication address of the data to be processed with the decompressed communication addresses of each battery box respectively to determine the battery box to which the data to be processed belongs and the serial number of the battery cell; The compressed communication address data is obtained by compressing the communication addresses of each battery cell in the same battery box into one piece of data according to the battery cell serial number.

[0007] Further, the process of determining whether battery data is of the same type belonging to the same battery box includes: importing the battery data into the device template to complete the identification of the battery data, and the content of the identification includes the measurement type and the measurement and control quantity type, and determining whether the battery data is of the same type belonging to the same battery box according to the measurement type and the measurement and control quantity type data.

[0008] Further, the compression method of compressing the communication addresses of each battery cell in the same battery box into one piece of data is Huffman compression.

[0009] Further, the communication address is an IEC61850 reference or a 104 protocol address.

[0010] Further, the processing performed on the battery data includes: reading, modifying, and traversing.

[0011] The present invention is an exploratory invention. The present invention writes the real-time values of the data of the same type belonging to the same battery box into one piece of data according to the serial number of the battery cell to obtain the compressed real-time value data, reducing the number of battery real-time data and at the same time reducing the proportion of battery data. Since the data of the same type of the same battery cell is compressed into one piece, the form of the data has changed, and the corresponding processing method also needs to change. Therefore, when the data of a certain type of a certain battery cell needs to be processed in the present invention, first determine the battery box to which the battery cell belongs, find the compressed real-time value data of this type of data in this battery box, and then determine the storage location of the data to be modified in the compressed real-time value data according to the serial number of the battery cell, and process the data at this location, then the processing of this type of data of this battery cell can be completed. The data processing speed is accelerated and the effectiveness of data processing is improved.

[0012] To solve the above technical problems, the present invention also provides a computer device, including a processor, and the processor implements the method steps as described in the method for processing data of battery monomers in an energy storage power station of the present invention when executing a computer program.

[0013] The present invention is an improved invention creation, and its beneficial effects are the same as those of the method for processing data of battery monomers in an energy storage power station of the present invention. Description of the Drawings

[0014] Figure 1 is a schematic diagram of an equipment template in the method embodiment of the present invention; Figure 2 is a flowchart of the method for processing data of battery monomers in an energy storage power station in the method embodiment of the present invention. Detailed Embodiments

[0015] A method for processing data of battery monomers in an energy storage power station and a computer device according to the present invention write the real-time values of the same type of data belonging to the same battery box into one piece of data according to the serial number of the battery monomer, obtain the compressed real-time value data, reduce the number of battery real-time data, and at the same time reduce the proportion of battery data. Since the data of the same type of the same battery monomer is compressed into one piece, the form of the data has changed, and the corresponding processing method also needs to change. Therefore, when a certain type of data of a certain battery monomer needs to be processed in the present invention, first determine the battery box to which the battery monomer belongs, find the compressed real-time value data of this type of data of the battery box, and then determine the storage position of the data to be modified in the compressed real-time value data according to the serial number of the battery monomer, and process the data at this position, then the processing of this type of data of this battery monomer can be completed. It speeds up the data processing speed and improves the effectiveness of data processing.

[0016] In order to make the purpose, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention, that is, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. Therefore, the detailed description of the embodiments of the present invention provided in the drawings below is not intended to limit the scope of the claimed present invention, but only represents the selected embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative efforts belong to the scope of protection of the present invention.

[0017] Method Embodiment: As Figure 2 shown, the method for processing data of battery monomers in an energy storage power station of the present invention includes the following steps: Step 1: Obtain the device model file and import it into the device template to identify the data types in the device model file; to distinguish battery data from conventional four-remote data, and at the same time determine the battery cell data of the same type belonging to the same battery box.

[0018] The device template is as Figure 1 shown, where the calibrated content includes the device installation location classification ID, the measurement classification ID, and the measurement and control quantity type ID.

[0019] First, when importing the device, import the battery device 61850 model or the 104-point table (device model file) as the device template, and identify the battery cell data in the template. The identification is carried out through two fields, namely the "measurement classification ID" and the "measurement and control quantity type ID". Among them, the "measurement and control quantity type ID" is a subclass of the "measurement classification ID". According to the data type of the battery cell, the "measurement classification" mainly includes five categories: "battery box voltage", "battery box temperature", "battery box internal resistance", "battery box SOC", and "battery box SOH". In the measurement quantity type, the battery cell serial number (cell 1... cell n) of the data and the type of the data are specified (in the figure, the battery cell voltage is taken as an example). Through the above steps, the identification of the data in the model can be completed, determining which are conventional four-remote data and which are battery data. After determining which data are battery data, it is also possible to judge whether the data belong to the same type of data in the same battery box according to the "measurement and control quantity type ID" and the "measurement classification ID" of the battery data, that is, to determine which data in the battery data can be merged and compressed into one data, and the recording location of the merged battery data.

[0020] Step 2: Compress the real-time values of the battery cell data of the same type belonging to the same battery box into one data.

[0021] In this embodiment, the real-time value is first processed, and all real-time values ​​are processed into the same number of bytes (set number of bytes), which is 8 bytes in this embodiment, and each battery box includes 64 battery cells for illustration. According to the serial number of the battery cell (1-64), the 64 real-time values ​​are written into a 64*8=512-byte data, which is the compressed real-time value data. The real-time data is stored in redis (real-time database) in the form of a string. When compressing the data, it is compressed according to the serial number of the battery cell. After the above compression method, a data including 64 real-time values ​​can be obtained, and the access starting address of the nth data is 8*(n-1)+1. In this embodiment, the compressed real-time value data does not include other content, and the real-time value data starts from the first byte, so the access starting address of the nth data is 8*(n-1)+1. As another implementation method, the compressed real-time value data may also include other content. A real-time value data does not start from the first byte. Therefore, when it is necessary to calculate the access starting address of the n-th data, it is necessary to calculate the offset first. The offset of the n-th data is 8*(n-1). After obtaining the offset, add the starting address of the real-time value data to obtain the access starting address of the n-th data. Assuming that the starting address of the real-time data is a, the access starting address of the n-th data is 8*(n-1)+a.

[0022] In this embodiment, the communication address of each battery cell is also compressed, and the communication addresses of all battery cells belonging to the same battery box are compressed into one piece of data to obtain compressed communication address data. When the communication address is compressed, it is compressed according to the sequence number of the battery cell. The communication address is used to determine the battery cell and the battery box to which it belongs. The communication addresses related to the 64 records (61850 references or 104 addresses) are compressed into one piece and stored in the battery box related field. The compression algorithm adopts the conventional Huffman compression.

[0023] Step 3: Process the data of the battery cell (including reading, shifting and traversing).

[0024] When a certain type of data of a battery cell needs to be processed, first obtain the compressed communication address data, decompress it to obtain the communication addresses of all battery cells in the battery box. Then determine the battery box to which it belongs based on the corresponding communication address, and determine the storage location of the data to be processed in the compressed real-time value data of this type in the battery box based on the battery cell serial number, and modify the real-time value of the storage location. Take data bit shifting as an example to illustrate, the specific process is as follows: After the battery data processing service receives the change information of a certain type of data of a battery cell, the corresponding battery cell data is changed (also called modified in this embodiment). First, obtain the compressed communication address data, decompress it, match the communication address of the battery cell obtained by decompression with the communication address of the data to be processed to determine the battery box and the battery cell to which the battery cell with the change belongs, find the compressed data of the data type with the change in the battery box from the real-time database, and calculate which bytes (storage locations) the data to be changed is located according to the serial number of the battery cell with the change. According to the calculation result, modify the corresponding bytes to complete the data processing. Based on the real-time value compression method in this embodiment, the calculation method is: multiply the battery cell serial number minus one by the set number of bytes and then add one to obtain the offset of the storage location of the data to be processed, and use the calculated offset plus the starting position of the real-time value data to obtain the storage location of the data to be processed.

[0025] Suppose the "single cell voltage 10" changes. Through communication address matching, determine which battery box and which number of the battery cell this data belongs to, and then read the "single cell voltage" data of this battery box from redis (real-time database). The method for determining which battery box and which number of the battery cell the data to be processed belongs to through communication address matching is: first obtain the communication address of the data to be processed, then decompress the compressed communication addresses of the data of the same type as the data to be processed in each battery box, and match them with the communication address of the data to be processed. The battery box and the battery cell to which the successfully matched communication address belongs are the battery box and the battery cell to which the data to be processed belongs. For example, if the communication address of the voltage data to be processed matches the communication address of the voltage data of the 10th battery cell in the 2nd battery box, then the data to be processed belongs to the voltage data of the 10th battery cell in the 2nd battery box. Then, find the storage location of the compressed voltage data of the 2nd battery box and calculate the storage location of the voltage data of the 10th battery cell in the 2nd battery box in the compressed voltage data for processing.

[0026] In this embodiment, the calculated offset to be modified is 8 * (10 - 1) = 72. The real-time value data starts to be stored from one byte. The storage location of the "single cell voltage 10" is equal to the offset plus the starting address of the real-time value data, that is, start modifying from the 73rd byte. Then save the modified record to redis. When saving historical data, read the battery data of the battery box in redis and read the corresponding string data, which can achieve second-level storage and greatly improve the data processing efficiency in the energy storage station.

[0027] In this embodiment, when data compression is performed, compression is carried out in accordance with the serial numbers of battery cells. Therefore, when the same-type data of multiple battery cells in a certain battery box changes, after reading the compressed real-time data of this type of data of this battery box, according to the serial numbers of the battery cells whose data has changed, the offset positions of the data to be modified for each battery cell are found in sequence and modified. After all the changed data is processed, it is written into the real-time library at one time, which speeds up the data processing speed.

[0028] Embodiment of computer device: A computer device of the present invention includes a processor, and the processor implements the steps of the method for processing data of battery cells in an energy storage power station as described in the method embodiment when executing the computer program. The specific process, principle, beneficial effects, etc. of this method have been described in detail in the method embodiment, and will not be repeated in this embodiment.

[0029] Among them, the processor can be a processing device such as a microprocessor MCU or a field programmable gate array FPGA.

[0030] A method for processing data of battery cells in an energy storage power station and a computer device of the present invention greatly reduce the number of battery data items. Taking an example that each battery box includes 64 battery cells, all the same-type data belonging to the same battery box is compressed into one item, so that the number of data items in the battery system is reduced to 1 / 64 of the original. The reduction in the amount of battery data improves the processing speed of data of battery cells in the energy storage power station, and at the same time reduces the proportion of battery cell data and increases the proportion of four remote data, improving the effectiveness of the data. Further, when the present invention compresses the same-type data of different battery cells belonging to the same battery box into one item, compression is carried out in accordance with the serial numbers of the battery cells. When data processing is performed, only by finding a certain item of data of a certain battery box and according to the serial number of the battery cell processed by the serial number, the data of this item of all battery cells in this battery box can be processed, without having to find the storage positions of each battery cell one by one; originally, 64 data items needed to be processed, and 64 data storage positions were found according to 64 communication addresses for processing one by one. Using the method of the present invention, only one data item needs to be processed. After determining the storage position according to one of the communication addresses, the storage positions of other data can also be determined (located in the same compressed data item), which can accelerate the data processing speed and further improve the efficiency of data processing in the energy storage power station. Further, in this embodiment, when compressing real-time values, the real-time values are first processed into data of a set number of bytes, and then written into one data item in sequence according to the serial numbers of the battery cells. The compression method is relatively simple, which can speed up the compression speed and at the same time accelerate the data processing speed.

Claims

1. A method for processing battery cell data of an energy storage power station, characterized in that Including the following steps: When processing a certain type of data of a certain battery cell, determine the battery box to which the certain battery cell belongs and the serial number of the certain battery cell according to the communication address of the data to be processed. The communication address is used to determine the storage location of the corresponding data; search for the compressed real-time value data of this type in this battery box, and determine the storage location of the data to be processed in the compressed real-time value data of this type in this battery box according to the serial number of the certain battery cell, and process the data to be processed according to the determined storage location; The compressed real-time value data is obtained by compressing multiple real-time value data of the same type belonging to the same battery box into one data according to the serial number of the battery cell.

2. The method for processing battery cell data of an energy storage power station according to claim 1, wherein The process of compressing multiple real-time value data of the same type belonging to the same battery box into one data according to the serial number of the battery cell includes: processing the real-time value of each battery cell belonging to the same battery box into data of a set number of bytes, and then writing the processed data into one data in sequence according to the serial number of the battery cell to obtain the compressed real-time value data; Correspondingly, the process of determining the storage location of the data to be processed in the compressed real-time value data of this type in this battery box according to the serial number of the certain battery cell includes: multiplying the serial number of the certain battery cell minus one by the set number of bytes to obtain the offset of the storage location of the data to be processed, and obtaining the storage location of the data to be processed according to the offset.

3. The method for processing battery cell data of an energy storage power station according to claim 1, wherein The process of determining the battery box to which the certain battery cell belongs and the serial number of the certain battery cell according to the communication address of the data to be processed includes: obtaining the communication address of the data to be processed, decompressing the compressed communication address of each battery box, and matching the communication address of the data to be processed with the decompressed communication addresses of each battery box respectively to determine the battery box and the serial number of the battery cell to which the data to be processed belongs; The compressed communication address data is obtained by compressing the communication addresses of each battery cell in the same battery box into one data according to the serial number of the battery cell.

4. The method for processing battery cell data of an energy storage power station according to claim 1, characterized in that The process of determining whether the battery data is data of the same type belonging to the same battery box includes: importing the battery data into the device template to complete the identification of the battery data. The content of the identification includes the measurement type and the measurement and control quantity type, and determine whether the battery data is data of the same type belonging to the same battery box according to the measurement type and the measurement and control quantity type data.

5. The method for processing battery cell data of an energy storage power station according to claim 3, wherein, The compression method of compressing the communication addresses of each battery cell in the same battery box into one data is Huffman compression.

6. The method for processing battery cell data of an energy storage power station according to any one of claims 1-5, characterized in that, The communication address is an IEC61850 reference or a 104 protocol address.

7. The method for processing battery cell data of an energy storage power station according to any one of claims 1-5, characterized in that, The processing performed on the battery data includes: reading, modifying, and traversing.

8. A computer device includes a processor, characterized in that, When the processor executes the computer program, it implements the steps of the energy storage power station battery cell data processing method described in any one of claims 1-7.