Task execution method and device, energy storage device analysis system, medium and product

By classifying and storing data in energy storage power stations according to target tasks, the analysis and storage problems of high-frequency large data volumes in energy storage power stations are solved, and the speed of data retrieval and resource utilization are improved.

CN118673085APending Publication Date: 2024-09-20BYD CO LTD

Patent Information

Application Number
CN202411070127.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-06
Publication Date
2024-09-20

AI Technical Summary

Technical Problem

The high-frequency and extremely large amounts of data generated by energy storage power stations are difficult to effectively analyze and store, resulting in huge demands for computing resources and storage memory, and existing capacity expansion methods cannot fully solve the problem.

Method used

By obtaining the task data type to be called according to the target task to be executed, the target database is determined from multiple databases, and then the task data is obtained from the target database and the target task is executed, thereby realizing classified storage of different target task data.

Benefits of technology

It improves the calling speed of task data, improves the execution efficiency of target tasks, reduces the occupation of computing resources and storage resources, and improves resource utilization.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118673085A
    Figure CN118673085A
Patent Text Reader

Abstract

The invention relates to a task execution method and device, an energy storage device analysis system, a medium and a product, and relates to the field of automatic control, the method comprises the following steps: obtaining the type of task data to be called, the type of the task data being obtained based on a target task to be executed; target databases corresponding to the types of the task data are determined from multiple databases, and different databases store different types of task data; and obtaining the task data from the target database, and executing the target task according to the task data. Through the method, on one hand, the calling speed of the task data can be improved, and then the execution efficiency of the target task is improved; on the other hand, occupation of computer resources can be reduced, and the resource utilization rate is increased.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of automatic control technology, and in particular to a task execution method, equipment, energy storage device analysis system, medium and product. Background Art

[0002] Energy storage power stations can store electrical energy and release it when needed, which can effectively solve the imbalance of electricity in time and space. Energy storage power stations include energy storage systems, which include multiple energy storage units, and each energy storage unit includes a large number of energy storage batteries. When the energy storage power station is running, the characteristics of the energy storage batteries and the energy storage system will change. Monitoring the characteristics of the energy storage batteries and the energy storage system to ensure the safe and stable operation of the energy storage power station is particularly important for stabilizing the power grid and preventing power outages. Due to the large number of batteries connected to an energy storage power station, the amount of battery data generated is huge, and hundreds of thousands of battery voltage and temperature data can be generated every second.

[0003] Currently, in order to analyze and store the high-frequency and extremely large amount of data generated by energy storage power stations, a large amount of computing resources and storage memory are required. Summary of the invention

[0004] In order to overcome the problems existing in the related art, the present disclosure provides a task execution method, equipment, energy storage device analysis system, medium and product.

[0005] According to a first aspect of an embodiment of the present disclosure, a task execution method is provided, comprising: obtaining a type of task data to be called, wherein the type of task data is obtained based on a target task to be executed; determining a target database corresponding to the type of task data from multiple databases, wherein different databases store different types of task data; obtaining the task data from the target database, and executing the target task according to the task data.

[0006] In one embodiment, the target task includes predicting the state of charge (SOC) of an energy storage power station, and the type of the task data includes battery cell data; executing the target task according to the task data includes: predicting the SOC of the energy storage power station according to the battery cell data.

[0007] In one embodiment, predicting the SOC of the energy storage power station according to the battery cell data includes: predicting the SOC of the energy storage power station by using a Kalman filter algorithm according to the battery cell data.

[0008] In one embodiment, the target task includes monitoring the operating status of an energy storage power station, and the type of the task data includes equipment operating data of the energy storage power station; executing the target task according to the task data includes: monitoring the operating status of the energy storage power station according to the equipment operating data.

[0009] In one embodiment, monitoring the operating status of the energy storage power station based on the device operating data includes: determining whether the device operating data contains abnormal data based on the device operating data and preset alarm rules; and if abnormal data exists in the device operating data, outputting alarm information, wherein the alarm information is used to indicate that the operating status of the energy storage power station is abnormal.

[0010] In one embodiment, the target database includes a first database or a second database, the first database is used to store battery cell data, the second database is used to store equipment operation data, and the response speed of the first database is greater than the response speed of the second database.

[0011] In one embodiment, the first database is located in an operational data layer (Operational Data Store, ODS) of a distributed storage system, and the second database is located in a detail data layer (Data Warehouse Detail, DWD) of the distributed storage system.

[0012] In one embodiment, the distributed storage system also includes a message cache middleware; the method also includes: obtaining operating data of the energy storage power station; caching the operating data to the message cache middleware; when the operating data is battery cell data, writing the operating data from the message cache middleware to the first database; or, when the operating data is device operating data, periodically writing the operating data from the message cache middleware to the second database.

[0013] In one embodiment, writing the running data from the message cache middleware to the first database includes: writing the running data from the message cache middleware to the first database located in ODS through the Flink tool; writing the running data from the distributed storage system to the second database includes: writing the running data from the message cache middleware to the second database located in DWD through the Flume tool.

[0014] In one embodiment, caching the operation data in the message cache middleware includes: caching the operation data in the message cache middleware according to the data type and acquisition time of the operation data.

[0015] In one embodiment, the message cache middleware includes a Kafka cluster.

[0016] According to a second aspect of an embodiment of the present disclosure, an electronic device is provided, comprising a processor and a memory, wherein the memory is used to store programs or instructions, and when the programs or instructions are executed by the processor, the electronic device executes the method provided by the first aspect of the present disclosure.

[0017] According to a third aspect of an embodiment of the present disclosure, there is provided an energy storage device analysis system, comprising: a plurality of energy storage devices and the electronic device provided by the second aspect of the present disclosure.

[0018] According to a fourth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the task execution method provided by the first aspect of the present disclosure is implemented.

[0019] According to a fifth aspect of an embodiment of the present disclosure, a computer program product is provided, including a computer program, which, when executed by a processor, implements the task execution method provided in the first aspect of the present disclosure.

[0020] Through the above technical scheme, the type of task data to be called is obtained according to the target task to be executed, the target database is determined from multiple databases, and then the task data is obtained from the target database and the target task is executed according to the task data. In this way, the task data corresponding to different target tasks are classified and stored instead of storing all the task data in one database. Compared with the existing technology, on the one hand, the calling speed of task data can be improved, thereby improving the execution efficiency of the target task; on the other hand, it can reduce the occupation of computing resources and storage resources and improve resource utilization.

[0021] Other features and advantages of the present disclosure will be described in detail in the following detailed description. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] The accompanying drawings are used to provide further understanding of the present disclosure and constitute a part of the specification. They are used to explain the present disclosure together with the following detailed description, but do not constitute a limitation of the present disclosure.

[0023] Figure 1 The diagram is a schematic structural diagram of an energy storage device analysis system according to an exemplary embodiment.

[0024] Figure 2 The figure is a flowchart of a task execution method according to an exemplary embodiment.

[0025] Figure 3The diagram is a schematic diagram of the structure of a distributed storage system according to an exemplary embodiment.

[0026] Figure 4 The figure is a flowchart of a task execution method according to an exemplary embodiment.

[0027] Figure 5 The figure is a block diagram of a task execution device according to an exemplary embodiment.

[0028] Figure 6 It is a block diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION

[0029] The specific implementation of the present disclosure is described in detail below in conjunction with the accompanying drawings. It should be understood that the specific implementation described herein is only used to illustrate and explain the present disclosure, and is not used to limit the present disclosure.

[0030] It should be noted that all actions of acquiring signals, information or data in this application are carried out in compliance with the relevant data protection laws and policies of the country where they are located, and with the authorization given by the owner of the corresponding device.

[0031] The terms "first", "second", etc. in the specification and claims of the present disclosure and the above drawings are used to distinguish similar objects and do not have to be understood as a specific order or sequence. In addition, in the description with reference to the drawings, the same symbols in different drawings represent the same elements.

[0032] In the description of the present disclosure, unless otherwise specified, "multiple" means two or more than two, and other quantifiers are similar thereto; "at least one item", "one item or multiple items" or similar expressions refer to any combination of these items, including any combination of singular or plural items. For example, at least one item a can represent any number of a; for another example, one item or multiple items among a, b and c can represent: a, b, c, ab, ac, bc, or abc, where a, b, c can be single or multiple; "and / or" is a kind of description of the association relationship of associated objects, indicating that there can be three kinds of relationships, for example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character " / " indicates that the associated objects before and after are in an "or" relationship.

[0033] Although operations or steps are described in a specific order in the drawings in the embodiments of the present disclosure, it should not be understood that it is required to perform these operations or steps in the specific order shown or in a serial order, or to perform all the operations or steps shown to obtain the desired results. In the embodiments of the present disclosure, these operations or steps can be performed in series; these operations or steps can also be performed in parallel; or some of these operations or steps can be performed.

[0034] First, the application scenarios of the present disclosure are described.

[0035] Energy storage power stations can store electrical energy and release it when needed, which can effectively solve the imbalance of electricity in time and space. Energy storage power stations include energy storage systems, which include multiple energy storage units, and each energy storage unit includes a large number of energy storage batteries. When the energy storage power station is running, the characteristics of the energy storage batteries and the energy storage system will change. Monitoring the characteristics of the energy storage batteries and the energy storage system to ensure the safe and stable operation of the energy storage power station is particularly important for stabilizing the power grid and preventing power outages.

[0036] Most of the accidents related to energy storage power stations are caused by internal short circuits in the battery, which causes the battery temperature to rise, thus causing combustion, explosion, etc. The accident occurs in a short time, usually only a few minutes. For the operation and maintenance of energy storage power stations, it is necessary to monitor and process the battery data in real time to ensure the safety of energy storage power stations.

[0037] At present, a new energy storage power station is several megawatts (MW), tens of MW or even hundreds of MW. A large number of batteries are used in each energy storage power station. These batteries will generate a large amount of battery data during operation. Only by analyzing this part of the data in real time can the safety of battery operation and the safety of the energy storage power station be guaranteed. However, due to the large number of batteries connected to an energy storage power station, the amount of battery data generated is huge. For example, a 20MW energy storage power station includes about 1,400 battery boxes, each of which includes 24 battery cells and 8 temperature probes, totaling about 67,200 battery cells and 11,200 temperature probes. Based on this calculation, hundreds of thousands of battery voltage and temperature data can be generated every second. The monitoring or processing platform of the energy storage power station needs to analyze and process so much data, as well as store the corresponding data.

[0038] At present, in order to analyze and store these high-frequency and large-volume data, the common method is to expand the capacity of data acquisition servers and data processing servers. However, the method of expanding memory can only solve part of the problem, cannot be expanded indefinitely, and requires a large amount of computing resources and storage resources.

[0039] In order to solve the above problems, the present invention provides a task execution method, equipment, energy storage equipment analysis system, medium and product. By obtaining the type of task data to be called according to the target task to be executed, the target database is determined from multiple databases, and then the task data is obtained from the target database and the target task is executed according to the task data. In this way, the task data corresponding to different target tasks are classified and stored instead of storing all the task data in one database. Compared with the existing technology, on the one hand, the calling speed of task data can be improved, thereby improving the execution efficiency of the target task; on the other hand, it can reduce the occupation of computer resources and improve resource utilization.

[0040] The specific embodiments of the present disclosure are described in detail below with reference to the accompanying drawings.

[0041] Figure 1 is a system block diagram of an energy storage device analysis system according to an embodiment of the present disclosure. Figure 1 The energy storage device analysis system 100 includes a plurality of energy storage devices 10 and an electronic device 20 .

[0042] Exemplarily, the energy storage device may be an energy storage power station, and the electronic device may be a distributed storage system.

[0043] The number of energy storage power stations can be set as needed, and this embodiment does not limit this. Each energy storage power station includes an energy storage system, and the energy storage system includes one or more energy storage units.

[0044] In some embodiments, the energy storage power station includes a controller, a power conversion system (PCS), a battery management system (BMS), an energy storage battery, an air conditioning system and a camera. The energy storage battery is responsible for the storage or release of electrical energy. The energy storage PCS is electrically connected to the energy storage battery, and the energy storage PCS is responsible for the conversion of AC and DC. The energy storage BMS is communicatively connected to the energy storage battery and the air conditioning system. The energy storage BMS is responsible for the collection and monitoring of the operating data of the energy storage battery and the air conditioning system. The camera is used to collect video surveillance data of the energy storage unit of the energy storage power station in real time. The collected video surveillance data can be stored locally or sent to a third-party video cloud system.

[0045] In some embodiments, the energy storage battery includes one or more battery stacks, a battery stack includes one or more battery clusters, and a battery cluster includes one or more battery packs. The energy storage BMS completes the collection of operating data of battery cells at different levels such as battery stacks, battery clusters, and battery packs, as well as operating data of the air conditioning system. The energy storage PCS and the energy storage BMS are in communication connection with the controller. The energy storage PCS and the energy storage BMS send the collected operating data to the controller, and the controller sends the operating data collected by the energy storage PCS and the energy storage BMS, as well as the operating data of the controller itself, to the distributed storage system.

[0046] In some embodiments, the distributed storage system communicates with the controller via the TCP / IP protocol.

[0047] In some embodiments, the energy storage device analysis system further includes a terminal 30. The terminal 30 is connected to the distributed storage system through a network and accesses the distributed storage system through an access interface. Exemplarily, the terminal 30 may be a smart phone and a computer, and the access interface includes but is not limited to the World Wide Web (web), a mobile application (APP) and a mini-program. The terminal 30 may access the distributed storage system through the web, the APP and the mini-program.

[0048] Figure 2 is a flowchart of a task execution method according to an exemplary embodiment. Figure 2 As shown, the task execution method is applied to Figure 1 The energy storage device analysis system, the task execution method includes the following steps.

[0049] In step S201, the type of task data to be called is obtained.

[0050] The type of task data is obtained based on the target task to be executed.

[0051] In some embodiments, the target task to be executed may include predicting the SOC of the energy storage power station or monitoring the operating status of the energy storage power station; the type of task data may include battery cell data and equipment operation data of the energy storage power station.

[0052] In some embodiments, step S201 may include: selecting a target task from a plurality of tasks to be selected in response to a selection instruction sent by the terminal; and determining task data to be called according to the target task.

[0053] In some embodiments, the target task to be executed may also include checking the operating data of the energy storage power station.

[0054] In a possible implementation, the target task to be executed may be obtained by the distributed storage system from the web, the APP, and the mini-program from the terminal.

[0055] In some embodiments, step S201 may include: determining the type of task data to be called according to the corresponding relationship between the target task and a preset task.

[0056] In step S202, a target database corresponding to the type of task data is determined from multiple databases.

[0057] Among them, different databases store different types of task data.

[0058] In some embodiments, the multiple databases include an offline database and a real-time database, and the multiple databases may be databases of a distributed storage system.

[0059] In a possible implementation, the multiple databases of the distributed storage system include a Doris distributed database.

[0060] In step S203, task data is obtained from the target database, and the target task is executed according to the task data.

[0061] In some embodiments, step S203 includes: acquiring operating data of the energy storage power station from a target database, and displaying the operating data on a visual interface.

[0062] In a possible implementation, obtaining the task data from the target database may include: obtaining the task data from the target database through a scheduler Dolphin Scheduler.

[0063] By adopting the above method, the type of task data to be called is obtained according to the target task to be executed, the target database is determined from multiple databases, and then the task data is obtained from the target database and the target task is executed according to the task data. In this way, the task data corresponding to different target tasks are classified and stored instead of storing all the task data in one database. Compared with the existing technology, on the one hand, the calling speed of task data can be improved, thereby improving the execution efficiency of the target task; on the other hand, it can reduce the occupation of computing resources and storage resources and improve resource utilization.

[0064] Figure 3 FIG. 1 is a schematic diagram showing a distributed storage system according to an exemplary embodiment. Figure 3 The distributed storage system 300 includes a data receiving module 301 , a message cache middleware 302 , a target database 303 and a data processing module 304 .

[0065] The target database 303 includes a first database 3031 or a second database 3032 .

[0066] In some embodiments, the first database is used to store battery cell data, and the second database is used to store device operation data, wherein the response speed of the first database is greater than the response speed of the second database.

[0067] In some embodiments, the first database is located in the ODS of the distributed storage system, and the second database is located in the DWD of the distributed storage system.

[0068] It should be noted that in big data processing and data warehouse design, data is usually organized according to different levels. These levels help to better manage and optimize data, while supporting efficient data analysis. ODS and DWD are two common data storage levels. Among them, the ODS layer is mainly used to store data close to the original state. It retains the original data structure and content in the business system to facilitate subsequent data processing. The main features of ODS include: 1. Near real-time: ODS usually contains data close to real-time, which can quickly reflect the latest changes in the business system; 2. Original data: The data in ODS is kept as original as possible without excessive cleaning or conversion; 3. Short life cycle: The data life cycle in ODS is short, and expired data is usually cleared regularly to save storage space. The DWD layer is a more standardized and cleaned data layer used to store data that has been initially cleaned and converted. The main features of DWD include: 1. Normalization: The data in DWD has been normalized, such as removing duplicate records and filling missing values. 2. Cleaning: The data in DWD has been cleaned to ensure data quality. 3. Long life cycle: Data in DWD is usually retained for a long time to facilitate historical data analysis. Cell data storage ODS layer.

[0069] In this embodiment, storing the cell data in the ODS layer means retaining the most original data format and content, which helps to quickly obtain the latest data and provide raw materials for subsequent data processing. For example, the voltage, current, temperature and other information collected in the BMS can be directly stored in the ODS layer to facilitate subsequent real-time monitoring and abnormality detection. Equipment operation data, such as battery charging and discharging conditions, frequency of use, etc., may require some preprocessing and cleaning, such as calculating the total charge and discharge capacity of the battery, average charge and discharge efficiency and other indicators; these data are more suitable for storage in the DWD layer because they have been standardized and cleaned, making them easier to analyze and generate reports.

[0070] In a possible implementation, the device operation data may also be stored in a data warehouse summary (DWS) or an application data service (ADS) layer.

[0071] By adopting the above storage method, by dividing the operating data into battery cell data and equipment operating data, and writing them into different databases, classified storage of data is achieved, which is conducive to the connection and analysis of different types of data and improves the efficiency of analysis of the operating status of the energy storage power station; and the first database used to store battery cell data has a faster response speed, which can improve the call speed of battery cell data, which is conducive to improving the accuracy of predicting the SOC of the energy storage power station. The second database is used to store equipment operating data with lower response speed requirements, which saves equipment operating resources and can realize batch storage of large data.

[0072] In some embodiments, the data receiving module 301 is used to receive a plain text (Comma Separated Values, CSV) file uploaded offline by the energy storage power station and the site data transmitted through the gateway.

[0073] For example, the data receiving module 301 includes a data lake (Azure Data Lake) in the cloud server (Azure). The data generated by energy storage equipment sites distributed around the world is uploaded to the Cosmos DB database on the cloud server Azure for storage and processed through the big data online processing tool Databricks.

[0074] For another example, the data receiving module 301 directly connects to the site through the high concurrency feature of Netty, and simultaneously receives the data sent by all sites, thereby eliminating the need to store data through cloud services.

[0075] In some embodiments, the message cache middleware 302 includes a Kafka cluster, which is used to cache the operation data to the message cache middleware according to the data type and acquisition time of the operation data.

[0076] Using the above method, since the Kafka cluster is a distributed stream processing platform with the advantages of high throughput, high reliability, support for horizontal expansion, excellent flexibility, and low latency, the station operation data is cached in the message cache middleware, which is conducive to the synchronous transmission of operation data by multiple stations, saving a lot of computing resources and time costs, and ensuring the stability of data transmission.

[0077] Exemplarily, the data in the message cache middleware is stored in the format of Parquet columnar files. Taking the cell data table Cells of the energy storage power station as an example, its storage location is under / CUBE_DE1 / cell / , and CUBE_DE1 represents a running station. For the cell table, the very important fields are cells Vols and cells Temps. Cells Vols is the battery cell voltage of the battery pack of the energy storage station, and cells Temps is the temperature T of the battery cell of the energy storage station, which is important data for evaluating and recording SOC. The data stored in Azure Data Lake is mapped to structured data through the Databricks component. The data processed by Databricks is sent to Kafka, and the data cached in Kafka awaits further processing.

[0078] In some embodiments, the first database 3031 is used to store real-time indicators that need to be quickly counted. For example, the first database 3031 is a Doris database, which is used to store battery cell data.

[0079] For example, the Flink real-time computing engine is used to read and write data in Kafka into the Doris database, and the Dolphin Scheduler is used to perform minute-level scheduling to output big data real-time statistical indicators.

[0080] In some embodiments, the second database 3032 is used to store offline data at different time granularities.

[0081] For example, Flume is used to collect data from the Kafka message middleware to the ODS layer of the offline data warehouse. The collected data is stored using Hive and Hadoop, and periodic scheduling is performed through the scheduler Dolphin Scheduler. Spark is used to perform batch statistics on data of different time granularities on a daily, weekly, monthly, and annual basis.

[0082] In some embodiments, the data processing module 304 is used to standardize the original data stored in the first database 3031 and the second database 3032 .

[0083] Exemplarily, the data processing module 304 converts raw data into features that can be used in machine learning models, including data cleaning, feature selection, feature conversion, feature generation, etc.; optionally, the data processing module 304 can also use ETL tools to clean and filter the raw data to obtain standardized data.

[0084] In some embodiments, the above-mentioned task execution method also includes: performing data cleaning on the task data; based on preset feature dimensions, performing feature selection, feature conversion, and feature generation on the cleaned task data to obtain standardized data.

[0085] In this embodiment, the preset feature dimension may be a device parameter obtained from a CSV file uploaded by the energy storage power station.

[0086] In one possible implementation, data cleaning of task data can be achieved in the following ways: locating and replacing default values ​​in the energy storage power station data set; locating and replacing abnormal values ​​in the data set; and determining unreasonable data in the data set obtained after replacement based on different category characteristics of the energy storage battery data, and replacing them.

[0087] By using the above method, through cleaning and preprocessing of task data, errors, inaccuracies and incomplete information in the data can be removed, thereby improving the quality and credibility of the task data and further improving the efficiency of task execution.

[0088] In some embodiments, the target task includes predicting the SOC of the energy storage power station, and the type of task data includes battery cell data; the above step S204 includes: predicting the SOC of the energy storage power station according to the battery cell data.

[0089] In this embodiment, the battery cell data may include voltage, current, temperature, SOC, and battery state of health (SOH).

[0090] It should be noted that the energy storage battery includes one or more battery stacks, a battery stack includes one or more battery clusters, a battery cluster includes one or more battery packs, a battery pack includes one or more modules, and a module is composed of a group of battery cells. Therefore, in this embodiment, the battery cell data can be the battery cell data of one or more battery stacks, the battery cell data can also be the battery cell data of one or more battery clusters, the battery cell data can also be the battery cell data of one or more battery packs, the battery cell data can also be the battery cell data of one or more modules, and the battery cell data can also be the battery cell data of one or more single batteries, which is not specifically limited in this embodiment.

[0091] In one possible implementation, predicting the SOC of an energy storage power station based on battery cell data may include: generating a state data matrix based on the types of battery cell data and battery state data; based on the state data matrix, establishing a Kalman filter fault prediction model that continuously updates the energy storage battery cell voltage, current, temperature, SOC, and SOH estimation values ​​and covariance matrix, predicting the energy storage battery cell voltage, current, temperature, SOC, and SOH of the energy storage power station, and obtaining a predicted value of the SOC of the energy storage power station.

[0092] By adopting the above method, the rated information of the battery and the cell data such as voltage, current, temperature, SOH, etc. can be analyzed in the long period of battery data collection to obtain the battery health status information and its evolution law, and the Kalman filter algorithm can be used to realize the prediction and estimation of the cell state of the energy storage battery, so as to realize the intelligent early warning and safe operation and maintenance of the energy storage power station.

[0093] In some embodiments, predicting the SOC of the energy storage power station according to the battery cell data includes: predicting the SOC of the energy storage power station by using a Kalman filter algorithm according to the battery cell data.

[0094] In one possible implementation, predicting the SOC of an energy storage power station using a Kalman filter algorithm based on battery cell data may include: constructing a battery equivalent model; updating coefficients in the battery model using the battery cell data; and obtaining a prediction result of the SOC of the energy storage power station using a Kalman filter algorithm based on the updated battery model.

[0095] Exemplarily, predicting the SOC of an energy storage power station by using a Kalman filter algorithm based on battery cell data can be achieved by the following steps.

[0096] Step a: Set a random initial Before starting the iterative calculation, the assumed value of the battery power of the current station is used to perform curve fitting on the polarization data through parameter identification to identify the polarized battery internal resistance. , and polarization capacitance , .

[0097] Step b: Get internal resistance , the initial state equation at this time is ;in, The average value of the internal resistance caused by the terminal voltage drop is obtained through the SOC-OCV (open circuit voltage) change curve; and Represents the two component voltages in the battery, Indicates the initial state of charge.

[0098] Step c: Substitute the initial state equation parameters into the actual cell voltage data that has been processed and passed in, and update the prior state according to the second-order matrix equation. The specific calculation formula is as follows.

[0099] (1) (2) (3) In the above formula, and Represents the two component voltages in the battery, represents the initial state of charge, , represents the polarized battery internal resistance, , represents polarization capacitance, C represents the estimated capacitance of the polarized battery, I represents the estimated current of the polarized battery, and t represents unit time.

[0100] Step d: Obtain the open circuit voltage of each SOC from the state equation, thereby obtaining the change curve of SOC_OCV .

[0101] Step e: Get the predicted terminal voltage The SOC value is obtained by the Kalman gain K, and the SOC is obtained by updating the posterior state.

[0102] In this step, the SOC value calculated by the actual data is combined with the actual measured voltage U and the predicted voltage The difference is used to update the predicted estimated value of SOC. K is obtained by calculating the prediction error covariance matrix P_ (after prediction) and the measurement error covariance matrix R (representing the uncertainty of measurement noise): .

[0103] Step f, according to the calculated SOC Update Initial , for the initial parameters , , , , Perform iterative updates.

[0104] Step g, enter the next iteration, and finally save the model obtained by the iteration and apply it to the subsequent SOC processing prediction. Here, the updated circuit parameters are updated and optimized to more accurately reflect the actual behavior of the battery.

[0105] It can be seen from this embodiment that the input of the model is the estimated value of current I, voltage V, temperature T, and historical SOC, that is, the initial , the internal resistance of the battery The current I is the charge and discharge current obtained from the actual data, which is used to calculate the charge transfer. The voltage V is the terminal voltage of the battery pack, which reflects the battery capacity. The temperature T is the actual battery temperature obtained, and the historical SOC estimate is used as the predicted starting value at the current initial moment. The output of the model is the predicted SOC value and the saved model.

[0106] Using the above method, the Kalman filter algorithm based on parameter identification can accurately estimate the SOC of the power station battery. By filtering and estimating the state of the observed data, it can eliminate noise and uncertainty and improve the accuracy of the estimation. The analysis algorithm has a strong computing speed, is suitable for real-time applications, and can provide real-time updates for the station operation status. The prediction algorithm can adapt to different working conditions and environmental changes, significantly improve the accuracy and stability of the estimate, and compare it with the SOC of the actual working conditions of the station, so as to adjust the operating conditions of the station.

[0107] In some embodiments, the target task includes monitoring the operating status of the energy storage power station, and the type of task data includes equipment operating data of the energy storage power station; executing the target task according to the task data includes: monitoring the operating status of the energy storage power station according to the equipment operating data.

[0108] In this embodiment, the equipment operation data includes air conditioning equipment data, hardware equipment system version information, hardware equipment system version information, and data collected by sensors preset in the energy storage power station.

[0109] In one possible implementation, monitoring the operating status of an energy storage power station based on equipment operating data may include: inputting the equipment operating data into a pre-trained neural network model to obtain a monitoring result of the operating status output by the neural network model, wherein the monitoring result includes whether the operating status of the energy storage power station is normal or abnormal.

[0110] In a possible implementation, the equipment operation data also includes charging data and discharging data of the energy storage inverter. Based on the equipment operation data, monitoring the operation status of the energy storage power station may also include: determining whether the operation status of the energy storage inverter is abnormal based on the charging data and discharging data of the energy storage inverter.

[0111] By adopting the above method, the operating status of the energy storage power station is monitored through the equipment operation data, which is conducive to timely identification and correction of the operating status, brings convenience to subsequent equipment diagnosis or performance testing, and ensures the safety of the energy storage power station.

[0112] In some embodiments, monitoring the operating status of the energy storage power station according to the equipment operating data includes: determining whether the equipment operating data contains abnormal data according to the equipment operating data and preset alarm rules; When there is abnormal data in the equipment operation data, an alarm message is output, and the alarm message is used to indicate that the operation status of the energy storage power station is abnormal.

[0113] In a possible implementation, the device operation data also includes the charge data and discharge data of the energy storage inverter. According to the device operation data and the preset alarm rules, determining whether the device operation data contains abnormal data includes: determining the charge growth trend and the discharge growth trend according to the charge data and the discharge data; determining whether the charge data and the discharge data have a jump according to the charge growth trend and the discharge growth trend and the preset alarm rules; correspondingly, in the case that the device operation data contains abnormal data, outputting the alarm information includes: in the case that the charge data or the discharge data has a jump, outputting the alarm information, and the alarm information is used to indicate that the operation status of the energy storage inverter is abnormal. Among them, the output alarm information can be a pop-up alarm window on the visual interface of the terminal, and this embodiment does not limit the form of issuing the alarm.

[0114] Exemplarily, the data transition includes a data return-to-zero transition, a data diving transition, and a data abnormal increase transition.

[0115] By adopting the above method, by judging the equipment operation data and identifying abnormal data through preset alarm rules, the hybrid energy storage battery status can be fully covered, a comprehensive assessment can be conducted, the accuracy of the assessment can be improved, and the probability of accidents can be reduced.

[0116] Figure 4 is a flowchart of a task execution method according to an exemplary embodiment. Figure 4 , the above task execution method also includes the following steps.

[0117] In step S401, the operation data of the energy storage power station is obtained.

[0118] In this embodiment, the operation data of the energy storage power station may include the CSV file uploaded offline and the field data transmitted by the gateway. Exemplarily, the operation data of the energy storage power station includes battery cell data and equipment operation data, and the equipment operation data includes air conditioning equipment data, energy storage power station charging voltage, energy storage power station identification, etc.

[0119] In step S402, the running data is cached in the message cache middleware.

[0120] In this embodiment, the CSV file uploaded offline and the site data transmitted by the gateway are obtained, processed by the Spark program and stored in the Kafka cluster of big data.

[0121] In step S403, when the operating data is cell data, the operating data is written from the message cache middleware into the first database.

[0122] In this embodiment, the cell data can be written from the message cache middleware to the first database through the Flink tool.

[0123] In step S404, when the operation data is device operation data, the operation data is periodically written from the message cache middleware to the second database.

[0124] The period for writing the operation data from the message cache middleware into the second database may be daily, weekly, monthly, annually, etc., which is not specifically limited in this embodiment.

[0125] In this embodiment, the device operation data can be written from the message cache middleware to the second database through the Flink tool and the Flume tool.

[0126] By adopting the above method, the partitioned storage of big data is realized by writing the running data into the database by category. Since the storage structure is clear during the storage process, it is conducive to data investigation, data call and other operations in the data processing process.

[0127] In some embodiments, the above step S403 includes: writing the running data from the message cache middleware to the first database located in the ODS through the Flink tool; the above step S404 includes: writing the running data from the message cache middleware to the second database located in the DWD through the Flume tool.

[0128] By adopting the above method, the classified storage of data is realized by writing the operating data into different databases, which is conducive to the connection and analysis of different types of data and improves the efficiency of the analysis of the operating status of the energy storage power station.

[0129] In some embodiments, writing the running data from the message cache middleware to the first database located in the ODS through the Flink tool includes: reading the partition field from the running data through Flink; and writing the running data to the corresponding time partition in the ODS layer according to the partition field.

[0130] In a possible implementation, writing the running data from the message cache middleware to the first database located in the ODS through the Flink tool includes: Flink receives the configuration file and reads the task information from the configuration file; reads the partition field from the running data and writes the running data to the corresponding time partition in the file system according to the partition field; if the running data is delayed data, the running data is written to the history partition of the file system. The time partition and the history partition both belong to the ODS.

[0131] Optionally, writing the operation data to a corresponding time partition in the file system includes: obtaining a field size and a field type corresponding to the operation data from a database; and writing the operation data to a corresponding time partition in the file system according to the field size and the field type. Writing the operation data to a historical partition of the file system includes: if the operation data is not obtained within a specified time period after the operation data is generated, then writing the operation data to the historical partition after the operation data is obtained.

[0132] By adopting the above method, when the operating data is battery cell data, the battery cell data is partitioned and stored according to the partition field, so that massive battery data can be classified and processed, the speed of data calling is improved, and the complexity of calculation is reduced.

[0133] In some embodiments, writing the operation data from the message cache middleware to the second database located in the DWD through the Flume tool includes: obtaining, through the Flume tool, the time period in which the operation data is generated, as well as the pre-allocated storage location and preset Context variables for the time period; when the data volume of the operation data is greater than or equal to the preset batch processing volume, writing the operation data to the pre-allocated storage location for the time period; when the data volume of the operation data is less than the preset batch processing volume, storing the operation data in the preset Context variables.

[0134] In a possible implementation, the task execution method further includes: when the amount of data received by the Context variable reaches a preset batch processing amount or the time period ends, the corresponding batch of data is written to the storage location. Optionally, the pre-allocation of the storage location includes: constructing a database in hive, and constructing a path pointing to the database in hdfs; constructing a hive table, and constructing a path pointing to the hive table in hdfs; in the hive table, using the time period as the allocation standard, allocating storage partitions to the time period, and obtaining the storage partition path corresponding to the time period; constructing the data storage location based on the database path, the hive table path, and the storage partition path. The time period can be a day.

[0135] By adopting the above method, when the operation data is device operation data, the device operation data is written to different storage locations according to the time period in which the device operation data is generated. When the data is called, the storage partition path can be used, thereby improving the speed of data calling.

[0136] In some embodiments, the above step S402 includes: caching the running data to the message cache middleware according to the data type and acquisition time of the running data.

[0137] In this embodiment, the data type of the running data may be a Tpoic topic preset by the message cache middleware.

[0138] In one possible implementation, caching the running data to the message cache middleware according to the data type and acquisition time of the running data may include: segmenting the data stream of the running data according to the data type and acquisition time, and saving the segmented data blocks into a first-in-first-out queue; pulling the data blocks to be processed and forwarding the data to the message cache middleware.

[0139] In another possible implementation, the task execution method may further include: obtaining the number of threads between the data acquisition cache queue and the Kafka platform; establishing threads between the cache queue and the Kafka platform according to the number of threads; obtaining pre-allocated memory space in the memory space; dividing the pre-allocated memory space to obtain a cache queue; correspondingly, caching the running data to the message cache middleware according to the data type and acquisition time of the running data may also include: sending the running data to Kafka through a thread according to the data type and acquisition time of the running data.

[0140] In some embodiments, according to the data type and acquisition time of the operating data, caching the operating data to the message cache middleware includes: when the operating data is battery cell data, the storage location of the operating data is located in the CUBE_DE1 field.

[0141] By adopting the above method, the pre-allocated memory space of the message cache middleware is divided, so that data can be temporarily stored, while shortening the data transmission time and improving the interaction efficiency of caching the running data to the message cache middleware.

[0142] Figure 5 is a block diagram of a task execution device according to an exemplary embodiment. Figure 5 The device includes an acquisition module 501, a determination module 502 and a processing module 503.

[0143] The acquisition module 501 is used to acquire the type of task data to be called, where the type of task data is obtained based on the target task to be executed.

[0144] The determination module 502 is used to determine a target database corresponding to the type of task data from multiple databases, wherein different databases store different types of task data.

[0145] The acquisition module 501 is also used to acquire task data from the target database.

[0146] The processing module 503 is used to execute the target task according to the task data.

[0147] In one embodiment, the target task includes predicting the state of charge (SOC) of the energy storage power station, and the type of task data includes battery cell data; the processing module 503 is further used to predict the SOC of the energy storage power station based on the battery cell data.

[0148] In one embodiment, the processing module 503 is further used to predict the SOC of the energy storage power station through a Kalman filter algorithm according to the battery cell data.

[0149] In one embodiment, the target task includes monitoring the operating status of the energy storage power station, and the type of task data includes equipment operating data of the energy storage power station; the processing module 503 is also used to monitor the operating status of the energy storage power station according to the equipment operating data.

[0150] In one embodiment, the determination module 502 is further used to determine whether there is abnormal data in the equipment operation data according to the equipment operation data and preset alarm rules.

[0151] The processing module 503 is also used to output alarm information when there is abnormal data in the equipment operation data, and the alarm information is used to indicate that the operation status of the energy storage power station is abnormal.

[0152] In one embodiment, the target database includes a first database or a second database, the first database is used to store battery cell data, the second database is used to store device operation data, and the response speed of the first database is greater than that of the second database.

[0153] In one embodiment, the first database is located in the operation data layer ODS of the distributed storage system, and the second database is located in the detail data layer DWD of the distributed storage system.

[0154] In one embodiment, the distributed storage system further includes a message cache middleware; the acquisition module 501 is also used to acquire the operation data of the energy storage power station.

[0155] The processing module 503 is also used to cache the operation data to the message cache middleware; when the operation data is battery cell data, the operation data is written from the message cache middleware to the first database; or, when the operation data is device operation data, the operation data is periodically written from the message cache middleware to the second database.

[0156] In one embodiment, the processing module 503 is further used to: write the running data from the message cache middleware to the first database located in the ODS through the Flink tool; and write the running data from the message cache middleware to the second database located in the DWD through the Flume tool.

[0157] In one embodiment, the processing module 503 is further used to cache the operation data to the message cache middleware according to the data type and acquisition time of the operation data.

[0158] In one embodiment, the message cache middleware includes a Kafka cluster.

[0159] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0160] Figure 6 600 is a block diagram of an electronic device according to an exemplary embodiment. For example, the electronic device 600 may be provided as a server. Figure 6 The electronic device 600 may include one or more of the following components: a processing component 602 , a memory 604 , a power component 606 , a multimedia component 608 , an audio component 610 , an input / output interface 612 , a sensor component 614 , and a communication component 616 .

[0161] The processing component 602 generally controls the overall operation of the electronic device 600, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 602 may include one or more processors 620 to execute instructions to complete all or part of the steps of the above-mentioned task execution method. In addition, the processing component 602 may include one or more modules to facilitate the interaction between the processing component 602 and other components. For example, the processing component 602 may include a multimedia module to facilitate the interaction between the multimedia component 608 and the processing component 602.

[0162] The memory 604 is configured to store various types of data to support operations on the electronic device 600. Examples of such data include instructions for any application or method operating on the electronic device 600, contact data, phone book data, messages, pictures, videos, etc. The memory 604 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.

[0163] The power supply component 606 provides power to the various components of the electronic device 600. The power supply component 606 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the electronic device 600.

[0164] The multimedia component 608 includes a screen that provides an output interface between the electronic device 600 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 608 includes a front camera and / or a rear camera. When the electronic device 600 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.

[0165] The audio component 610 is configured to output and / or input audio signals. For example, the audio component 610 includes a microphone (MIC), and when the electronic device 600 is in an operation mode, such as a call mode, a recording mode, and a voice recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 604 or sent via the communication component 616. In some embodiments, the audio component 610 also includes a speaker for outputting audio signals.

[0166] The input / output interface 612 provides an interface between the processing component 602 and the peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.

[0167] The sensor assembly 614 includes one or more sensors for providing various aspects of status assessment for the electronic device 600. For example, the sensor assembly 614 can detect the open / closed state of the electronic device 600, the relative positioning of the components, such as the display and keypad of the electronic device 600, and the sensor assembly 614 can also detect the position change of the electronic device 600 or a component of the electronic device 600, the presence or absence of contact between the user and the electronic device 600, the orientation or acceleration / deceleration of the electronic device 600, and the temperature change of the electronic device 600. The sensor assembly 614 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 614 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 614 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

[0168] The communication component 616 is configured to facilitate wired or wireless communication between the electronic device 600 and other devices. The electronic device 600 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 616 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 616 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

[0169] In an exemplary embodiment, the electronic device 600 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the above-mentioned task execution method.

[0170] The present disclosure also provides a computer-readable storage medium having computer program instructions stored thereon, which implement the steps of the task execution method provided by the present disclosure when the program instructions are executed by a processor.

[0171] In another exemplary embodiment, a computer program product is further provided. The computer program product includes a computer program that can be executed by a programmable device. The computer program has a code portion for executing the above-mentioned task execution method when executed by the programmable device.

[0172] The preferred embodiments of the present disclosure are described in detail above in conjunction with the accompanying drawings; however, the present disclosure is not limited to the specific details in the above embodiments. Within the technical concept of the present disclosure, a variety of simple modifications can be made to the technical solution of the present disclosure, and these simple modifications all fall within the protection scope of the present disclosure.

[0173] It should also be noted that the various specific technical features described in the above specific embodiments can be combined in any suitable manner without contradiction. In order to avoid unnecessary repetition, the present disclosure will not further describe various possible combinations.

[0174] In addition, various embodiments of the present disclosure may be arbitrarily combined, and as long as they do not violate the concept of the present disclosure, they should also be regarded as the contents disclosed by the present disclosure.

Claims

1. A task execution method, characterized in that: include: Acquire the type of task data to be called, where the type of task data is obtained based on the target task to be executed; Determine a target database corresponding to the type of the task data from a plurality of databases, wherein different databases store different types of task data; The task data is obtained from the target database, and the target task is executed according to the task data.

2. The task execution method according to claim 1, characterized in that: The target task includes predicting the state of charge (SOC) of the energy storage power station, and the type of the task data includes battery cell data; The performing of the target task according to the task data comprises: The SOC of the energy storage power station is predicted based on the battery cell data.

3. The task execution method according to claim 2, characterized in that: Predicting the SOC of the energy storage power station according to the battery cell data includes: According to the battery cell data, the SOC of the energy storage power station is predicted by a Kalman filter algorithm.

4. The task execution method according to any one of claims 1 to 3, characterized in that: The target task includes monitoring the operating status of the energy storage power station, and the type of the task data includes equipment operating data of the energy storage power station; The performing of the target task according to the task data comprises: The operating status of the energy storage power station is monitored according to the equipment operating data.

5. The task execution method according to claim 4, characterized in that: Monitoring the operating status of the energy storage power station according to the device operating data includes: Determining whether there is abnormal data in the equipment operation data according to the equipment operation data and preset alarm rules; When there is abnormal data in the equipment operation data, an alarm message is output, where the alarm message is used to indicate that the operation state of the energy storage power station is abnormal.

6. The task execution method according to claim 1, characterized in that: The target database includes a first database or a second database, the first database is used to store battery cell data, the second database is used to store equipment operation data, and the response speed of the first database is greater than the response speed of the second database.

7. The task execution method according to claim 6, characterized in that: The first database is located in the operation data layer ODS of the distributed storage system, and the second database is located in the detail data layer DWD of the distributed storage system.

8. The task execution method according to claim 7, characterized in that: The distributed storage system also includes a message cache middleware; the method also includes: Obtaining the operating data of the energy storage power station; Cache the running data to the message cache middleware; In the case where the operation data is cell data, writing the operation data from the message cache middleware into the first database; or, In the case where the operation data is device operation data, the operation data is periodically written from the message cache middleware to the second database.

9. The task execution method according to claim 8, characterized in that: Writing the operation data from the message cache middleware into the first database comprises: Writing the running data from the message cache middleware into a first database located in the ODS through a Flink tool; Writing the operation data from the distributed storage system into a second database comprises: The operation data is written from the message cache middleware to the second database located in the DWD through the Flume tool.

10. The task execution method according to claim 8, characterized in that: The caching the operation data to the message cache middleware comprises: The operation data is cached in the message cache middleware according to the data type and acquisition time of the operation data.

11. The task execution method according to claim 8, characterized in that: The message cache middleware includes a Kafka cluster.

12. An electronic device, characterized in that: The electronic device comprises a processor and a memory, wherein the memory is used to store programs or instructions. When the programs or instructions are executed by the processor, the electronic device executes the task execution method as described in any one of claims 1 to 11.

13. An energy storage device analysis system, characterized in that: include: A plurality of energy storage devices and an electronic device as claimed in claim 12.

14. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 11 are implemented.

15. A computer program product, characterized in that The method comprises a computer program, which, when executed by a processor, implements the steps of the task execution method according to any one of claims 1 to 11.

Citation Information

Patent Citations

  • Industrial data lake system

    CN110704445A

  • Application monitoring method, device and system, computer equipment and storage medium

    CN114356690A

  • Data processing conversion method and device

    CN116628111A

  • Data processing method, device and equipment of energy storage power station, medium and program product

    CN118132646A

Cited By

  • Intelligent network connection system for electric bicycles

    CN119031012A

  • Battery cell equivalent model establishment method for simulation calculation in energy storage system

    CN119990022A

  • Energy storage power station cell data shunting acquisition processing method and system

    CN122019663A