Energy storage battery charging and discharging state prediction method and system based on big data
Integrating the charge and discharge data, working status and ambient temperature of energy storage power batteries through big data methods solves the problem that traditional prediction technology cannot fully reflect the battery status, improves prediction accuracy and stability, extends battery life and improves energy efficiency. .
Patent Information
- Application Number
- CN202410822253.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-25
- Publication Date
- 2024-10-08
- Estimated Expiration
- 2044-06-25
AI Technical Summary
Traditional energy storage power battery state prediction technology cannot fully reflect the actual working state of the battery, and lacks a method to effectively integrate multi-dimensional data, resulting in insufficient prediction accuracy and stability.
Using a method based on big data, through data descriptor extraction and integration, comprehensive descriptors of the charge and discharge data, working status and ambient temperature of the energy storage power battery are obtained, and common measurements are performed to determine the reference battery data and improve the accuracy of state prediction.
By integrating multi-dimensional data, the accuracy and stability of energy storage power battery state prediction are improved, disturbance information is reduced, battery life is extended and energy utilization efficiency is improved.
Smart Images

Figure CN118395158B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to, but is not limited to, the field of data processing technology, and in particular to a method and system for predicting the charging and discharging status of an energy storage power battery based on big data. Background Art
[0002] With the development of science and technology and people's increasing attention to environmental protection and energy conservation, energy storage power batteries, as an efficient and recyclable energy storage device, have been widely used in electric vehicles, renewable energy systems and other fields. The performance and state of energy storage power batteries will change with the increase of usage time. Therefore, accurate analysis of its charging and discharging data to predict and evaluate the battery state is of great significance to ensure the safe operation of the battery, extend its service life and improve energy utilization efficiency. In traditional energy storage power battery state prediction technology, for example, only a single battery working state data or ambient temperature data is relied on for analysis. However, this method often cannot fully reflect the actual working state of the battery because the performance of the battery is affected by a combination of multiple factors. Therefore, how to effectively integrate multi-dimensional battery data and improve the accuracy and stability of state prediction has become an urgent problem to be solved in the current field of energy storage power battery management technology. Summary of the invention
[0003] In view of this, the embodiments of the present application at least provide a method and system for predicting the charge and discharge status of an energy storage power battery based on big data. The technical solution of the present application is implemented as follows: On the one hand, the embodiments of the present application provide a method and system for predicting the charge and discharge status of an energy storage power battery based on big data, the method comprising: extracting data descriptors from the charge and discharge data of the energy storage power battery to obtain a first data item descriptor, a first battery working status descriptor and a first ambient temperature descriptor, the first data item descriptor is used to describe the characteristics of the data item of the charge and discharge data of the energy storage power battery, the first battery working status descriptor is used to describe the characteristics of the battery working status of the charge and discharge data of the energy storage power battery, and the first ambient temperature descriptor is used to describe the characteristics of the maintenance record data of the charge and discharge data of the energy storage power battery; ... The item descriptor, the first battery working state descriptor and the first ambient temperature descriptor are integrated to obtain a first integrated descriptor; the commonality measurement result between the first integrated descriptor and the second integrated descriptor corresponding to each reference energy storage power battery charge and discharge data is determined; wherein the second integrated descriptor is obtained by extracting and integrating data descriptors of the reference energy storage power battery charge and discharge data; based on the commonality measurement result, the reference energy storage power battery charge and discharge data corresponding to the energy storage power battery charge and discharge data is determined from each of the reference energy storage power battery charge and discharge data; and the charge and discharge state corresponding to the determined reference energy storage power battery charge and discharge data is used as the predicted charge and discharge state.
[0004] In some embodiments, data descriptors are extracted from the energy storage power battery charge and discharge data to obtain a first data item descriptor, including: obtaining a plurality of charge and discharge events based on the energy storage power battery charge and discharge data, each charge and discharge event including a plurality of data items, and one or more overlapping data items between two preceding and succeeding charge and discharge events; determining a distribution position of each of the plurality of charge and discharge events in a data item query matrix, and determining a distribution quantity of each of the plurality of charge and discharge events in the energy storage power battery charge and discharge data, the data item query matrix including a plurality of candidate charge and discharge events; obtaining the first data item descriptor based on a distribution position of each charge and discharge event in the data item query matrix and a distribution quantity of each charge and discharge event in the energy storage power battery charge and discharge data.
[0005] In some embodiments, data descriptors are extracted from the energy storage power battery charging and discharging data to obtain a first battery working state descriptor, including: obtaining a data item sequence corresponding to the energy storage power battery charging and discharging data, the data item sequence including a plurality of data items arranged in time sequence obtained by splitting the energy storage power battery charging and discharging data; mining the autocorrelation semantic information of each data item in the data item sequence to obtain the first battery working state descriptor.
[0006] In some embodiments, extracting data descriptors from the energy storage power battery charge and discharge data to obtain a first ambient temperature descriptor includes: obtaining the ambient temperature corresponding to each data item in the energy storage power battery charge and discharge data; obtaining multiple ambient temperature data sequences based on the ambient temperature corresponding to each data item in the energy storage power battery charge and discharge data, each ambient temperature data sequence including ambient temperatures corresponding to multiple data items, and the ambient temperatures corresponding to one or more overlapping data items between two consecutive ambient temperature data sequences; determining the distribution position of each ambient temperature data sequence in the multiple ambient temperature data sequences in an ambient temperature data item query matrix, and determining the distribution quantity of each ambient temperature data sequence in the multiple ambient temperature data sequences in the energy storage power battery charge and discharge data, the ambient temperature data item query matrix including multiple candidate ambient temperature data sequences; obtaining the first ambient temperature descriptor based on the distribution position of each ambient temperature data sequence in the ambient temperature data item query matrix and the distribution quantity of each ambient temperature data sequence in the energy storage power battery charge and discharge data.
[0007] In some embodiments, before determining the commonality measurement result between the first integrated descriptor and the second integrated descriptor corresponding to each reference energy storage power battery charge and discharge data, the method further includes: based on the number of data items overlapping between the energy storage power battery charge and discharge data and the reference energy storage power battery charge and discharge data in the reference energy storage power battery charge and discharge data set, preliminarily screening the reference energy storage power battery charge and discharge data in the reference energy storage power battery charge and discharge data set to obtain a preliminary reference energy storage power battery charge and discharge data set, wherein the preliminary reference energy storage power battery charge and discharge data set includes part of the reference energy storage power battery charge and discharge data selected from the reference energy storage power battery charge and discharge data set; determining the commonality measurement result between the first integrated descriptor and the second integrated descriptor corresponding to each reference energy storage power battery charge and discharge data includes: determining the commonality measurement result between the first integrated descriptor and the second integrated descriptor corresponding to each reference energy storage power battery charge and discharge data in the preliminary reference energy storage power battery charge and discharge data set.
[0008] In some embodiments, the energy storage power battery charge and discharge data uses a first data descriptor extraction neural network to extract data descriptors, and the reference energy storage power battery charge and discharge data uses a second data descriptor extraction neural network to extract data descriptors. The first data descriptor extraction neural network and the second data descriptor extraction neural network have a consistent network architecture and different network configuration variables.
[0009] In some embodiments, the debugging process of the first data descriptor extraction neural network and the second data descriptor extraction neural network includes: obtaining multiple debugging learning sample tuples, each debugging learning sample tuple includes a storage power battery charging and discharging data sample and a reference storage power battery charging and discharging data sample; using the first data descriptor extraction neural network to extract data descriptors for the storage power battery charging and discharging data sample to obtain a first data item descriptor, a first battery working state descriptor and a first ambient temperature descriptor; and integrating the first data item descriptor, the first battery working state descriptor and the first ambient temperature descriptor to obtain a first integrated descriptor; wherein the first data item descriptor is used to describe the characteristics of the data item of the storage power battery charging and discharging data sample, the first battery working state descriptor is used to describe the characteristics of the battery working state of the storage power battery charging and discharging data sample, and the first ambient temperature descriptor is used to describe the characteristics of the maintenance record data of the storage power battery charging and discharging data sample; using the second data descriptor extraction neural network to extract data descriptors for the reference storage power battery charging and discharging data sample to obtain a second data item descriptor, a first battery working state descriptor and a first ambient temperature descriptor; The first integrated descriptor and the second integrated descriptor are metrically learned to obtain a network debugging error; based on the network debugging error, the learnable variables of the first data descriptor extraction neural network and the second data descriptor extraction neural network are optimized; wherein, the first data descriptor extraction neural network after debugging is used to extract and integrate data descriptors for the energy storage power battery charging and discharging data to determine the reference energy storage power battery charging and discharging data corresponding to the energy storage power battery charging and discharging data.
[0010] In some embodiments, the multiple debugging learning sample binary groups include: an active debugging learning sample binary group, a soft passive debugging learning sample binary group and a hard passive debugging learning sample binary group; wherein the reference energy storage power battery charge and discharge data sample included in the active debugging learning sample binary group is a labeled reference energy storage power battery charge and discharge data of the energy storage power battery charge and discharge data sample; the reference energy storage power battery charge and discharge data sample included in the soft passive debugging learning sample binary group is randomly determined from a reference energy storage power battery charge and discharge data set, and is not the energy storage power battery charge and discharge data sample. The labeled reference energy storage power battery charging and discharging data of the data sample; the descriptor commonality measurement result between the reference energy storage power battery charging and discharging data sample and the energy storage power battery charging and discharging data sample included in the hard negative debugging learning sample binary is not less than the commonality measurement threshold, and is not the labeled reference energy storage power battery charging and discharging data of the energy storage power battery charging and discharging data sample, wherein the descriptor commonality measurement result is the commonality measurement result between the first integrated descriptor of the energy storage power battery charging and discharging data sample and the second integrated descriptor of the reference energy storage power battery charging and discharging data sample.
[0011] In some embodiments, the method further includes: determining a descriptor commonality measurement result between the energy storage power battery charge and discharge data sample and each reference energy storage power battery charge and discharge data in the reference energy storage power battery charge and discharge data set; determining x reference energy storage power battery charge and discharge data with the largest descriptor commonality measurement result other than the labeled reference energy storage power battery charge and discharge data of the energy storage power battery charge and discharge data sample as reference energy storage power battery charge and discharge data samples, and forming x hard negative debugging learning sample pairs with the energy storage power battery charge and discharge data samples, x>1; the first integrated descriptor and the second integrated descriptor Performing metric learning to obtain a network debugging error includes: performing metric learning on the first integrated descriptor and the second integrated descriptor to obtain a first similarity score; performing metric learning on the first data item descriptor and the second data item descriptor to obtain a second similarity score; performing metric learning on the first battery working state descriptor and the second battery working state descriptor to obtain a third similarity score; performing metric learning on the first ambient temperature descriptor and the second ambient temperature descriptor to obtain a fourth similarity score; and determining to obtain the network debugging error based on the first similarity score, the second similarity score, the third similarity score and the fourth similarity score.
[0012] In a second aspect, the present application provides a computer system, comprising a memory and a processor, wherein the memory stores a computer program executable on the processor, and the processor implements the steps in the above-described method when executing the program.
[0013] The present application at least includes the beneficial effects as follows: the present application mines the first data item descriptor, the first battery working state descriptor and the first ambient temperature descriptor of the energy storage power battery charging and discharging data, and integrates each descriptor to obtain the first integrated descriptor, determines the commonality measurement results of the first integrated descriptor and the second integrated descriptor corresponding to each reference energy storage power battery charging and discharging data, and determines the reference energy storage power battery charging and discharging data corresponding to the energy storage power battery charging and discharging data based on the commonality measurement results. The present application extracts data characteristics of different dimensions, based on mining the low-level semantics of the energy storage power battery charging and discharging data represented by the first data item descriptor, mining the autocorrelation semantics and underlying semantics of the energy storage power battery charging and discharging data represented by the first battery working state descriptor, and mining the first ambient temperature descriptor to reduce the disturbance information in the energy storage power battery charging and discharging data and increase the prediction accuracy. The above three types of descriptors are integrated to form the first integrated descriptor of the energy storage power battery charging and discharging data, and a comprehensive evaluation of the commonality measurement results between the energy storage power battery charging and discharging data and the reference energy storage power battery charging and discharging data is completed, thereby increasing the accuracy of state prediction.
[0014] It should be understood that the above general description and the following detailed description are merely exemplary and explanatory, and are not intended to limit the technical solutions of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] The drawings herein are incorporated into the specification and constitute a part of the specification. These drawings illustrate embodiments consistent with the present application and are used together with the specification to illustrate the technical solution of the present application.
[0016] Figure 1 A schematic diagram of the implementation process of a method for predicting the charging and discharging state of an energy storage power battery based on big data provided in an embodiment of the present application;
[0017] Figure 2 A hardware entity diagram of a computer system provided in an embodiment of the present application. DETAILED DESCRIPTION
[0018] In order to make the purpose, technical solutions and advantages of the present application clearer, the technical solutions of the present application are further elaborated in detail below in conjunction with the drawings and embodiments. The described embodiments should not be regarded as limiting the present application. All other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present application.
[0019] In the following description, reference is made to "some embodiments", which describe a subset of all possible embodiments, but it is understood that "some embodiments" may be the same subset or different subsets of all possible embodiments, and may be combined with each other without conflict. The terms "first / second / third" involved are merely used to distinguish similar objects and do not represent a specific order for the objects. It is understood that "first / second / third" may be interchanged in a specific order or sequence where permitted, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein.
[0020] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing this application and are not intended to limit this application.
[0021] The embodiment of the present application provides a method for predicting the charge and discharge state of an energy storage power battery based on big data, which can be executed by a processor of a computer system, wherein the computer system can refer to a device with data processing capabilities such as a server, a laptop, a tablet computer, and a desktop computer.
[0022] Figure 1 A schematic diagram of the implementation process of a method for predicting the charging and discharging state of an energy storage power battery based on big data provided in an embodiment of the present application is shown in FIG. Figure 1 As shown, the method includes the following steps: Step S100: extracting data descriptors from the energy storage power battery charging and discharging data to obtain a first data item descriptor, a first battery working state descriptor and a first ambient temperature descriptor.
[0023] Among them, the first data item descriptor is used to describe the characteristics of the data item of the energy storage power battery charging and discharging data, the first battery working state descriptor is used to describe the characteristics of the battery working state of the energy storage power battery charging and discharging data, and the first ambient temperature descriptor is used to describe the characteristics of the maintenance record data of the energy storage power battery charging and discharging data.
[0024] Specifically, step S100 involves in-depth analysis and feature extraction of the charging and discharging data of the energy storage power battery. In step S100, the computer system first obtains the charging and discharging data of the energy storage power battery. These data come from the battery management system (BMS), for example, and contain various parameters and status information of the battery during the charging and discharging process. Then, the computer system processes these raw data and extracts key information. This process is data descriptor extraction. Specifically, the computer system focuses on three aspects and generates three descriptors respectively: the first data item descriptor, the second data item descriptor, and the third data item descriptor. The data form of these descriptors is, for example, an array, such as a one-dimensional array (i.e., a feature vector), a two-dimensional array (i.e., a feature matrix), or a multi-dimensional array (i.e., a feature tensor).
[0025] The first data item descriptor: It mainly focuses on specific data items in the charge and discharge data, such as voltage, current, power, etc. For example, the computer system can extract the average charging voltage, maximum charging current and other characteristic values in a certain charging process. These characteristic values can reflect the performance of the battery during the charging and discharging process.
[0026] The first battery working state descriptor is used to capture the working state of the battery, such as whether the battery is in a charging state, a discharging state, a static state, etc. This state information is crucial for understanding the battery usage and predicting its future state. For example, if the battery is in a discharging state for a long time, its performance may be affected to a certain extent.
[0027] First ambient temperature descriptor: In addition to the battery data itself, ambient temperature is also an important influencing factor. Therefore, the computer system extracts features related to ambient temperature, such as the average ambient temperature, maximum / minimum ambient temperature, etc. when the battery is working. This environmental information helps the computer system to more comprehensively evaluate the performance and status of the battery.
[0028] Step S200: Integrate the first data item descriptor, the first battery operating state descriptor and the first ambient temperature descriptor to obtain a first integrated descriptor.
[0029] Step S200 involves the integration of multiple descriptors. In this step, the computer system integrates the first data item descriptor, the first battery operating state descriptor and the first ambient temperature descriptor extracted in the previous step to form a comprehensive and comprehensive data representation, namely the first integrated descriptor.
[0030] Since the descriptor itself can be understood as a vector, array or other form of representation of data, the integration method can be to concatenate, add or perform other mathematical operations on these descriptors.
[0031] For example, assume that the first data item descriptor is a vector containing battery charge and discharge voltage, current and other data, such as [4.2V, 2A]; the first battery working state descriptor can be a value representing the current working state of the battery, such as 1 for charging and 0 for discharging; and the first ambient temperature descriptor is, for example, a value representing the ambient temperature, such as 25°C. In step S200, the computer system can concatenate these descriptors to form a new vector or array, such as [4.2V, 2A, 1, 25°C], and remove the unit to obtain [4.2, 2, 1, 25]. This newly formed vector or array is the first integrated descriptor.
[0032] In this way, the first integrated descriptor can simultaneously contain multiple information such as battery charging and discharging data, working status, and ambient temperature, providing a richer and more comprehensive data basis for subsequent data analysis, status monitoring, and prediction.
[0033] Step S300: determining a commonality measurement result between the first integrated descriptor and a second integrated descriptor corresponding to each reference energy storage power battery charge and discharge data; wherein the second integrated descriptor is obtained by extracting and integrating data descriptors of the reference energy storage power battery charge and discharge data.
[0034] Step S300 involves comprehensive evaluation and comparison of the battery status. The computer system needs to determine the commonality measurement results between the first integrated descriptor and the second integrated descriptor corresponding to each reference energy storage power battery charge and discharge data. The purpose is to evaluate the performance, health or potential problems of the battery by comparing the current battery status with the historical or standard battery status.
[0035] Specifically, commonality measurement is a method to measure the similarity or correlation between two or more descriptors. In this application scenario, the first integrated descriptor represents the current state of the monitored battery, while the second integrated descriptor is extracted and integrated from the known reference energy storage battery charging and discharging data with good performance. These reference data may come from historical data of the same type of battery under ideal conditions, or standard data provided by the manufacturer.
[0036] In order to perform the commonality measurement, the computer system first mathematically compares the first integrated descriptor and each second integrated descriptor. This comparison may involve calculating the similarity between vectors, such as cosine similarity, Euclidean distance, etc. For example, if the first integrated descriptor is a vector containing multiple features such as voltage, current, temperature, etc., such as [4.1V, 1.8A, 24℃], and the second integrated descriptor of a reference battery is [4.2V, 1.7A, 25℃], then the computer system can calculate the Euclidean distance between the two vectors to measure the similarity between them. The results of the commonality measurement can help the system determine whether the current battery state is normal, whether there is performance degradation or potential failure. If the commonality measurement results show that the current battery state is significantly different from the reference state, the system can issue an alarm or take other preventive measures. In addition, commonality measurement can also be used for battery fault prediction and health management. By continuously monitoring and comparing battery status, the system can detect small changes in battery performance in a timely manner, thereby predicting possible failures and performing maintenance in advance. This is crucial to ensure the safe and reliable operation of energy storage power battery systems.
[0037] Step S400: Based on the commonality measurement result, determining reference energy storage power battery charge and discharge data corresponding to the energy storage power battery charge and discharge data from each of the reference energy storage power battery charge and discharge data.
[0038] The purpose of step S400 is to determine the reference data that is most similar to the monitored energy storage power battery charge and discharge data from a large number of reference energy storage power battery charge and discharge data based on the commonality measurement results calculated in the previous step. This step is of great significance for subsequent battery status evaluation, fault warning, and performance optimization. The computer system has obtained the commonality measurement results between the first integrated descriptor of the currently monitored battery and the second integrated descriptors of each reference battery through step S300. These commonality measurement results reflect the similarity or difference between the status of the monitored battery and each reference battery.
[0039] Based on these commonality measurement results, the computer system needs to select reference data that is closest to the monitored battery state from a large number of reference energy storage power battery charge and discharge data in step S400. This process involves, for example, sorting and comparing the commonality measurement results to find the reference data with the highest similarity or the smallest difference.
[0040] For example, suppose the computer system has calculated the commonality measurement results between the current monitored battery and 10 reference batteries, which are, for example, a series of numerical values, such as cosine similarity or Euclidean distance, etc. The system will sort these numerical values to find the reference battery data that is most similar to the state of the monitored battery.
[0041] Once the reference battery data that is most similar to the monitored battery is determined, the computer system can use this data for subsequent battery status assessment, performance prediction or fault warning. For example, if the reference battery shows a certain performance degradation trend under similar conditions, the system can predict that the monitored battery may also have similar performance problems in the future, so that corresponding maintenance measures can be taken in advance.
[0042] Step S500: taking the determined charge and discharge state corresponding to the reference energy storage power battery charge and discharge data as the predicted charge and discharge state.
[0043] In step S500, the computer system uses the reference energy storage power battery charge and discharge data that is most similar to the monitored energy storage power battery charge and discharge data determined in the previous step to predict the current battery charge and discharge state. Specifically, after the previous step S400, the computer system has found the reference data that is most similar to the monitored battery state from multiple reference energy storage power battery charge and discharge data. These data not only include basic battery state information such as voltage, current, and temperature, but also include important information such as the battery's charge and discharge performance, health status, and possible problems under these states.
[0044] In step S500, the computer system checks the charge and discharge state corresponding to the selected reference energy storage power battery charge and discharge data, which state is, for example, charging, discharging, full, empty or other specific states. Since the reference data is highly similar to the state of the monitored battery, it can be reasonably assumed that the charge and discharge state of the monitored battery under the same or similar conditions will be consistent or similar to the state in the reference data.
[0045] For example, if the commonality measurement determines that the state of the currently monitored battery is most similar to the state of a reference battery when discharged to 80% of its capacity, then the computer system can predict that the currently monitored battery is also in a discharged state and may have been discharged to a similar level of capacity.
[0046] This prediction method is based on analogical reasoning, that is, similar conditions may produce similar results. Through this method, the computer system can quickly and accurately predict the charge and discharge status of energy storage power batteries without complex calculations or modeling, providing an important basis for battery management and maintenance.
[0047] As an implementation mode, in step S100, data descriptors are extracted from the energy storage power battery charge and discharge data to obtain a first data item descriptor, which may specifically include: step S110: obtaining multiple charge and discharge events based on the energy storage power battery charge and discharge data, each charge and discharge event includes multiple data items, and there are one or more overlapping data items between the previous and next charge and discharge events.
[0048] In step S110, the computer system first receives the charge and discharge data of the energy storage power battery. These data are collected and recorded in real time by the battery management system (BMS), for example, and include the changes in a series of key parameters such as voltage, current, temperature, and power during the use of the battery. These data exist, for example, in the form of a time series, that is, data points arranged in chronological order.
[0049] Next, the computer system processes the data to identify multiple independent charging and discharging events. A charging and discharging event refers to the complete process of a battery from the beginning of a charge to the end of a discharge (or from the beginning of a discharge to the end of a charge). During this process, the state of the battery will undergo a series of continuous changes, and these changes are recorded in the charging and discharging data. In order to identify these events, the computer system divides the boundaries of the data according to certain rules or algorithms. For example, the switching point between charging and discharging can be determined by detecting the change in the direction of the current, so that a complete charging and discharging cycle can be divided into an independent event. At the same time, since in actual applications, the charging and discharging process of the battery may not be completely independent, there may be some overlapping data between two adjacent events. This is because in actual operation, the charging and discharging process of the battery may not be switched immediately, but there is a transition stage. In this stage, the battery may be performing weak charging and discharging activities at the same time, resulting in the boundary between two adjacent events not being completely clear.
[0050] For example, a set of charging and discharging data of energy storage power batteries contains the changes in voltage and current of the battery over a period of time. The computer system scans this data, and when it detects that the current changes from a positive value to a negative value (or from a negative value to a positive value), it is considered that a charge and discharge conversion has occurred. According to this rule, the system can divide the entire set of data into multiple independent charge and discharge events. Each event contains all data items from the start of charging to the end of discharging (or from the start of discharging to the end of charging), such as voltage value, current value, etc. At the same time, since the change in current may not be completed instantly, when dividing the events, there will be some overlapping data items between the previous and next events.
[0051] In this way, the computer system can accurately extract multiple independent charging and discharging events from the original charging and discharging data, providing a basis for subsequent data analysis and processing.
[0052] Step S120: Determine the distribution position of each of the multiple charge and discharge events in the data item query matrix, and determine the distribution quantity of each of the multiple charge and discharge events in the energy storage power battery charge and discharge data, wherein the data item query matrix contains multiple candidate charge and discharge events.
[0053] The purpose of step S120 is to further classify and count the multiple charge and discharge events identified in step S110. In step S120, the computer system first uses a pre-set data item query matrix. This data item query matrix is a database containing multiple candidate charge and discharge events, each of which has its own specific characteristics and descriptions. These characteristics and descriptions may include voltage change curves, current intensity, charge and discharge time, etc., which together define the unique properties of the candidate charge and discharge events.
[0054] Next, the computer system compares each charging and discharging event identified in step S110 with the candidate events in the data item query matrix. This comparison process is completed by calculating the similarity between each identified event and the candidate event. The calculation of similarity may be based on various algorithms, such as cosine similarity, Euclidean distance, etc., depending on the characteristics and description of the candidate event. Once the candidate event that is most similar to the identified event is found, the computer system determines the distribution position of the event in the data item query matrix. This location information is crucial for subsequent data analysis and processing because it reveals the type or category to which the event belongs. In addition to determining the distribution position, the computer system also counts the distribution number of each identified event in the energy storage battery charging and discharging data. This number represents the frequency of occurrence of this type of event in the data, which helps to evaluate the performance and status of the battery.
[0055] For example, suppose the data item query matrix contains three types of candidate charge and discharge events: A, B, and C. Each type has its own unique voltage and current change characteristics. The computer system compares and identifies that an event identified in step S110 has the highest similarity with candidate event A, so it determines that the event belongs to type A and records its position in the data item query matrix (for example, the first row and the second column). At the same time, the system also counts that events of type A appeared 10 times in the entire charge and discharge data.
[0056] Step S130: obtaining the first data item descriptor based on the distribution position of each charge and discharge event in the data item query matrix and the distribution quantity of each charge and discharge event in the energy storage power battery charge and discharge data.
[0057] Step S130 involves generating a comprehensive data descriptor based on the information collected and analyzed in the previous steps. In step S130, the computer system constructs a first data item descriptor based on the distribution position of each charge and discharge event in the data item query matrix determined in step S120, and the distribution quantity of these events in the energy storage power battery charge and discharge data. This descriptor is a data structure that compactly represents the core features of the charge and discharge data, which is helpful for subsequent data analysis, battery status evaluation and prediction.
[0058] Specifically, the first data item descriptor is, for example, a vector or array whose elements correspond to different candidate charge and discharge events in the data item query matrix. The value of each element may represent statistical information such as the frequency, duration, average current or voltage of this type of event in the original data. This information is combined to form a comprehensive battery performance portrait. For example, suppose there are five different types of charge and discharge events in the data item query matrix (such as fast charging, slow charging, constant current discharge, constant power discharge, and idle state). For each type of event, the computer system calculates the number of times it appears in the original data, the total duration, and the average current or voltage value. These statistical values will then be encoded into the first data item descriptor.
[0059] The first data item descriptor = [fast charging frequency, fast charging average current, slow charging frequency, slow charging average voltage, constant current discharge frequency, constant current discharge total duration, constant power discharge frequency, constant power discharge average power, total idle time]. Specific values are, for example, [10, 15A, 5, 4.1V, 8, 5 hours, 3, 2kW, 20 hours], indicating that in the analyzed charge and discharge data, fast charging events occurred 10 times with an average current of 15 amperes; slow charging events occurred 5 times with an average voltage of 4.1 volts; constant current discharge events occurred 8 times with a total duration of 5 hours; constant power discharge events occurred 3 times with an average power of 2 kilowatts; and the total time the battery was in an idle state was 20 hours.
[0060] In this way, step S130 generates a first data item descriptor containing rich information, which provides an important data basis for subsequent battery health status assessment, performance analysis and life prediction.
[0061] As an implementation mode, in step S100, data descriptors are extracted from the energy storage power battery charging and discharging data to obtain a first battery working state descriptor, including: step S101: obtaining a data item sequence corresponding to the energy storage power battery charging and discharging data, wherein the data item sequence includes a plurality of data items arranged in time sequence obtained by splitting the energy storage power battery charging and discharging data.
[0062] In step S101, the computer system needs to obtain the charging and discharging data of the energy storage power battery from the battery management system (BMS) or other data acquisition equipment. Such data is recorded in time series, for example, and includes various key parameter information of the battery during use.
[0063] Specifically, the computer system first accesses a database or data warehouse that stores charging and discharging data. These data may include information on battery voltage, current, temperature, remaining capacity (SOC), and other aspects, all of which change over time. The system sorts these data by timestamp to ensure that the data items are arranged in the order of actual occurrence.
[0064] After acquiring the data, the computer system splits the data and treats each record as a data item. Each data item contains the status information of the battery at a specific point in time. For example, a data item may contain the voltage value, current value, temperature value and SOC value of the battery at a specific point in time. These data items are arranged in chronological order to form a data item sequence.
[0065] For example, if the computer system obtains the following simplified charging and discharging data from the BMS:
[0066] Timestamp: 2023-04-01 10:00:00, voltage: 4.0V, current: 2A, temperature: 25℃, SOC: 80%;
[0067] Timestamp: 2023-04-01 10:05:00, voltage: 3.9V, current: 2.1A, temperature: 26℃, SOC: 78%;
[0068] Timestamp: 2023-04-01 10:10:00, voltage: 3.8V, current: 2.2A, temperature: 27℃, SOC: 75%…
[0069] In step S101, the computer system splits the data into multiple data items and arranges them in the order of timestamps to form a data item sequence. Each data item contains the battery status information at the corresponding time point. Such a data item sequence provides a basis for subsequent data analysis and processing.
[0070] Step S102: mining the self-correlation semantic information of each data item in the data item sequence to obtain the first battery working state descriptor.
[0071] Step S102 is to deeply mine the autocorrelation semantic information of each data item in the data item sequence in the energy storage power battery data analysis, that is, to consider the context information of the data item in the time series, so as to obtain the first battery working state descriptor that can accurately describe the battery working state. In this step, the computer system uses data analysis techniques, such as time series analysis, sliding window method, etc., to examine the relationship between each data item in the data item sequence and its adjacent data items. The relationship between these data items can provide important clues to the battery working state.
[0072] Specifically, the computer system first defines a suitable time window, which slides along the sequence of data items. Within each window, the system analyzes the changing trends of the data items, such as the rise and fall of voltage, the increase and decrease of current, the change of temperature, etc. The changing trends of these data reflect the working status of the battery in different time periods. For example, if the voltage continues to drop and the current remains stable or increases within a time window, this may mean that the battery is discharging and gradually depleting, or there may be some performance problems inside the battery. On the contrary, if the voltage and current rise at the same time, this may mean that the battery is charging or working under high load. In addition to simple numerical change trends, computer systems also use more complex statistical analysis and machine learning models to explore the deep relationships between data items. For example, time series prediction models such as autoregressive models (AR models) or long short-term memory networks (LSTM) can be used to learn the temporal dependencies between data items and predict future battery states based on these models.
[0073] After mining the self-correlated semantic information of the data items, the computer system will integrate the information to form a first battery operating state descriptor. This descriptor is, for example, a multi-dimensional feature vector, where each dimension represents a key feature extracted from the data item sequence, such as average discharge current, maximum temperature change rate, SOC drop speed, etc.
[0074] For example, the first battery operating state descriptor can be a feature vector such as: [average discharge current, maximum temperature change rate, average charging voltage, SOC change rate, ...]. Specific values are, for example: [2.1A, 0.5°C / min, 4.1V, -0.5% / min, ...]. This descriptor captures the operating state characteristics of the battery in a specific time period and can be used for subsequent tasks such as battery performance evaluation, health state prediction and fault diagnosis. In this way, step S102 helps the computer system to more accurately understand the working state of the energy storage power battery in actual operation, providing strong data support for battery management.
[0075] As an implementation manner, in step S100, extracting data descriptors from the energy storage power battery charge and discharge data to obtain a first ambient temperature descriptor includes: step S100a: obtaining the ambient temperature corresponding to each data item in the energy storage power battery charge and discharge data.
[0076] Step S100a involves extracting the ambient temperature information corresponding to each data item from the charge and discharge data. In a specific application scenario, the computer system first accesses a database or data warehouse that stores the charge and discharge data of the energy storage power battery. These data are collected, for example, through various sensors connected to the battery, including an ambient temperature sensor. Each data item records the status information of the battery at a specific point in time, such as voltage, current, remaining power, etc., as well as the ambient temperature at that time. When executing step S100a, the computer system traverses these charge and discharge data and extracts the corresponding ambient temperature value for each data item. For example, if a data item records that the battery voltage is 4.1V, the current is 2A, the remaining power is 80%, and the ambient temperature is 25°C at 3 pm, then the computer system will extract the ambient temperature value of 25°C from this data item.
[0077] The extracted ambient temperature information will be stored in a separate data structure, such as an array or list, for use in subsequent steps. This ambient temperature data is essential for analyzing the performance of the battery under different temperature conditions. For example, high temperatures may cause battery performance to deteriorate, while low temperatures may affect the battery's charging speed and discharge capabilities. By collecting and analyzing this ambient temperature data, the computer system can more accurately assess the actual working conditions of the battery and make optimizations and adjustments accordingly.
[0078] In short, step S100a is to extract the ambient temperature information corresponding to each data item from the charge and discharge data of the energy storage power battery, so as to provide basic data support for subsequent data analysis and processing.
[0079] Step S100b: obtaining a plurality of ambient temperature data sequences based on the ambient temperature corresponding to each data item in the energy storage power battery charge and discharge data, wherein each ambient temperature data sequence comprises ambient temperatures corresponding to a plurality of data items, and the ambient temperatures corresponding to one or more overlapping data items are present between the two preceding and succeeding ambient temperature data sequences.
[0080] Step S100b involves constructing an ambient temperature data sequence from the original data in order to capture the changes in ambient temperature over time and analyze its impact on battery performance. The computer system first begins to construct an ambient temperature data sequence based on the ambient temperature information corresponding to each data item extracted in step S100a. These sequences are composed of ambient temperature values corresponding to consecutive data items, and are used to reflect the changing trend of ambient temperature over a period of time. These ambient temperature data sequences overlap, that is, there will be one or more overlapping ambient temperatures corresponding to the data items between the two sequences. This overlapping design is to ensure that the continuity of ambient temperature changes can be fully captured and allow analysis of the impact of temperature on battery performance on different time scales.
[0081] For example, suppose the computer system extracts the following ambient temperature values (in degrees Celsius) from the charge and discharge data: 20, 21, 22, 23, 24, 25, 26, 27. When constructing the ambient temperature data sequence, the sliding window method can be used. If the window size is set to 4, the following overlapping ambient temperature data sequence can be obtained:
[0082] Sequence 1: 20, 21, 22, 23;
[0083] Sequence 2: 21, 22, 23, 24 (3 data items overlap with sequence 1);
[0084] Sequence 3: 22, 23, 24, 25 (overlaps with sequence 2 by 3 data items);
[0085] And so on…
[0086] In this way, the computer system can generate a series of overlapping ambient temperature data sequences, which not only reflect the continuous changes in ambient temperature, but also provide a data basis for analyzing the impact of temperature in different time periods. This analysis method helps to discover the potential impact of temperature on battery performance. For example, high temperature may cause battery efficiency to decrease or shorten life, while low temperature may affect the charge and discharge rate of the battery. The ambient temperature data sequence generated by step S100b provides strong data support for subsequent data analysis and battery performance evaluation.
[0087] Step S100c: Determine the distribution position of each of the multiple ambient temperature data sequences in the ambient temperature data item query matrix, and determine the distribution quantity of each of the multiple ambient temperature data sequences in the energy storage power battery charging and discharging data, wherein the ambient temperature data item query matrix contains multiple candidate ambient temperature data sequences.
[0088] Step S100c is a key link in the analysis of energy storage battery charge and discharge data. It mainly involves determining the position of each ambient temperature data sequence in a specific query matrix and counting the frequency of occurrence of these sequences in the original data. This step is of great significance for understanding the change pattern of ambient temperature data and its impact on battery performance. The computer system first constructs an ambient temperature data item query matrix, which contains multiple candidate ambient temperature data sequences. These candidate sequences are pre-set based on historical data, theoretical models or expert knowledge, for example, and are used to match the ambient temperature data sequences extracted from the actual charge and discharge data.
[0089] Next, the computer system traverses the multiple ambient temperature data sequences generated in step S100b. For each sequence, the computer system searches for a matching or closest candidate sequence in the ambient temperature data item query matrix, and determines the specific position of the sequence in the query matrix. This process is similar to searching for records in a database, except that what is searched here is a pattern or trend that matches a specific ambient temperature data sequence. At the same time, the computer system also counts the number of times each ambient temperature data sequence appears in the original charge and discharge data, which helps to identify which temperature sequences are common and which are rare. This information is very valuable for subsequent analysis of the relationship between battery performance and ambient temperature, because frequently occurring temperature sequences may have a greater impact on battery performance.
[0090] For example, suppose that the query matrix of the ambient temperature data item contains different temperature range sequences from low to high, such as [0-10°C], [11-20°C], [21-30°C], etc. When the computer system processes the actual data, it finds that a certain ambient temperature data sequence such as [22, 23, 24, 25°C] matches the range of [21-30°C] in the query matrix, so it will record that this sequence belongs to this range and count the number of times this sequence appears in the original data. In this way, step S100c not only helps the computer system understand the changing rules of the ambient temperature data, but also provides an important data basis for subsequent analysis, such as identifying the optimal temperature range of battery performance and predicting the impact of temperature on battery life.
[0091] Step S100d: obtaining the first ambient temperature descriptor based on the distribution position of each ambient temperature data sequence in the ambient temperature data item query matrix and the distribution quantity of each ambient temperature data sequence in the energy storage power battery charge and discharge data.
[0092] Step S100d is an important step in the energy storage battery data analysis process, which involves generating an indicator that comprehensively describes the ambient temperature characteristics, namely, the first ambient temperature descriptor, based on the ambient temperature data sequence information obtained in the previous steps.
[0093] The computer system constructs a first ambient temperature descriptor according to the distribution position and distribution quantity of the ambient temperature data sequence determined in step S100c in the query matrix. The first ambient temperature descriptor is a comprehensive indicator that integrates multiple statistical characteristics of the ambient temperature data sequence, including but not limited to temperature range, temperature change trend, and frequency of occurrence of a specific temperature sequence.
[0094] For example, suppose in step S100c, the computer system finds that a certain ambient temperature data sequence [22, 23, 24, 25°C] corresponds to the temperature range [21-30°C] in the query matrix, and this sequence appears multiple times in the original charge and discharge data. Then, in step S100d, the computer system uses this information to construct a first ambient temperature descriptor.
[0095] The first ambient temperature descriptor may include the following parts: Temperature range indicator: indicates the range in which the ambient temperature data is mainly concentrated, such as [21-30°C]. This indicator helps to understand the main ambient temperature conditions when the battery is working.
[0096] Temperature change trend indicator: reflects whether the ambient temperature is rising, falling or remaining stable. For example, if the ambient temperature data series shows a continuous upward trend, this indicator will capture this feature.
[0097] Temperature sequence frequency index: Indicates the number of times a specific ambient temperature data sequence appears in the original data. This index can help identify which temperature sequences are common and analyze their potential impact on battery performance.
[0098] Based on the above information, the first ambient temperature descriptor provides a comprehensive and detailed ambient temperature perspective for battery performance analysis. Through this descriptor, researchers can more easily identify the relationship between ambient temperature and battery performance, and then optimize the design and use conditions of the battery. For example, if it is found that the battery performs best within a certain temperature range, then in practical applications, the battery can be kept operating within this temperature range as much as possible to improve the efficiency and life of the battery.
[0099] As an implementation mode, before determining the commonality measurement result between the first integrated descriptor and the second integrated descriptor corresponding to each reference energy storage power battery charge and discharge data in step S300, the method further includes: based on the number of data items overlapping between the energy storage power battery charge and discharge data and the reference energy storage power battery charge and discharge data in the reference energy storage power battery charge and discharge data set, preliminarily screening the reference energy storage power battery charge and discharge data in the reference energy storage power battery charge and discharge data set to obtain a preliminary selected reference energy storage power battery charge and discharge data set, wherein the preliminary selected reference energy storage power battery charge and discharge data set includes part of the reference energy storage power battery charge and discharge data selected from the reference energy storage power battery charge and discharge data set.
[0100] Based on this, the step S300, determining the commonality measurement results between the first integrated descriptor and the second integrated descriptors corresponding to each reference energy storage power battery charging and discharging data, includes: determining the commonality measurement results between the first integrated descriptor and the second integrated descriptors corresponding to each reference energy storage power battery charging and discharging data in the preliminary reference energy storage power battery charging and discharging data set.
[0101] Computer systems often need to compare and analyze a large amount of charge and discharge data. These data come not only from the target battery itself, but also from a large reference energy storage power battery charge and discharge data set for a more comprehensive performance evaluation. However, directly analyzing all the data is not only inefficient, but may also introduce unnecessary noise. Therefore, it is particularly important to preliminarily screen the data before implementing commonality metrics. In a specific application scenario, the computer system will first perform a preliminary screening step. The purpose of this step is to screen the reference data based on the number of data items that overlap between the energy storage power battery charge and discharge data and the reference energy storage power battery charge and discharge data set. The number of data item overlaps can be a simple count, such as the number of data points contained in both data sets, or it can be based on the overlap of specific features or parameters. For example, if the charge and discharge data of the target energy storage power battery are mainly concentrated in a specific temperature range and charge and discharge rate, the computer system will screen out the reference battery charge and discharge records that have data under these same conditions. In this way, the preliminary reference energy storage power battery charge and discharge data set only contains data that operates under similar working conditions to the target battery, thereby improving the pertinence and accuracy of subsequent analysis.
[0102] After the initial screening is completed, the computer system will obtain a preliminary reference energy storage power battery charge and discharge data set. The data in this set is more refined and has a higher comparability with the data of the target battery. Next, the computer system will execute step S300, that is, determine the commonality measurement results between the first integrated descriptor (representing the characteristics of the target battery) and the second integrated descriptor of each reference battery in the preliminary reference energy storage power battery charge and discharge data set. Commonality measurement can be performed in a variety of ways, such as calculating the similarity, distance or correlation between two descriptors. In this scenario, the computer system can use a similarity algorithm, such as cosine similarity or Pearson correlation coefficient, to measure the commonality between the two descriptors. By comparing these commonality measurement results, the computer system can more accurately evaluate the performance status of the target battery and predict its possible failure trend. In general, through the combination of the initial screening step and the commonality measurement analysis, the computer system can more efficiently process a large amount of energy storage power battery charge and discharge data, thereby providing more accurate and timely performance evaluation and fault prediction results.
[0103] In one embodiment, the energy storage power battery charge and discharge data uses a first data descriptor extraction neural network to extract data descriptors, and the reference energy storage power battery charge and discharge data uses a second data descriptor extraction neural network to extract data descriptors, and the first data descriptor extraction neural network and the second data descriptor extraction neural network have a consistent network architecture and different network configuration variables.
[0104] In the energy storage power battery management system, in order to effectively analyze and compare the charge and discharge data of different batteries, the computer system uses a specific neural network model to extract the key features of the data, which are called data descriptors. In this embodiment, for the energy storage power battery charge and discharge data and the reference energy storage power battery charge and discharge data, the system uses two data descriptor extraction neural networks: a first data descriptor extraction neural network and a second data descriptor extraction neural network.
[0105] First, the two neural networks have consistent network architectures. This means that they are similar in structural design, and may contain input layers, hidden layers, and output layers, and the neurons in each layer are connected in the same way. For example, they can both be based on convolutional neural network (CNN) architectures, which are suitable for processing time series data or image data and can effectively extract useful features from input data.
[0106] However, despite the same network architecture, the network configuration variables of the two neural networks are different. Network configuration variables may include learning rate, batch size, number of iterations, weight initialization method, etc. These variables will affect the training process and final performance of the neural network. By adjusting these configuration variables, the system can be optimized for different types of charge and discharge data, thereby extracting more representative data descriptors.
[0107] For example, assume that the energy storage battery charge and discharge data includes the battery discharge curve at different temperatures, while the reference energy storage battery charge and discharge data includes the battery performance at different charge and discharge rates. For these two different types of data, the system can adjust the configuration variables such as the learning rate and number of iterations of the two neural networks, so that the first data descriptor extraction neural network is better at extracting features related to temperature, while the second data descriptor extraction neural network is better at extracting features related to charge and discharge rates.
[0108] In this way, the computer system can use two neural networks with the same architecture but different configurations to extract features from the energy storage battery charging and discharging data and the reference energy storage battery charging and discharging data, thereby providing more accurate and targeted data descriptors for subsequent data analysis, performance evaluation, and fault prediction tasks.
[0109] As an implementation manner, the debugging process of the first data descriptor extraction neural network and the second data descriptor extraction neural network may specifically include: Step S1: obtaining multiple debugging learning sample tuples, each debugging learning sample tuple including a storage power battery charging and discharging data sample and a reference storage power battery charging and discharging data sample.
[0110] In the energy storage power battery management system, in order to train and optimize the data descriptor extraction neural network, the computer system first needs to obtain a set of specific learning samples, namely the debugging learning sample binary. This step is the basis of the entire training process, which ensures that the neural network can learn from the actual data and extract useful features.
[0111] Specifically, the computer system selects a plurality of representative charging and discharging data samples from the existing energy storage power battery charging and discharging database, and for comparison and learning, it is also necessary to pair each energy storage power battery charging and discharging data sample with a corresponding reference energy storage power battery charging and discharging data sample. In this way, each debugging learning sample tuple contains an actual energy storage power battery charging and discharging data sample and a reference energy storage power battery charging and discharging data sample.
[0112] For example, suppose there is an actual energy storage battery charging and discharging data sample, which records the battery performance data under specific temperature, humidity and charging and discharging rate. In order to train the neural network to better understand and analyze this type of data, the computer system finds a reference energy storage battery charging and discharging data sample under similar conditions (or ideal conditions) for this actual data sample. This reference sample can be standard data obtained from a laboratory environment, or verified battery data with good performance.
[0113] Through this pairing method, the computer system can construct multiple debugging learning sample pairs, each of which represents the comparison between the actual application environment and the ideal (or standard) environment. These pairs will provide valuable learning materials for the subsequent training of the data descriptor extraction neural network, helping the neural network to more accurately identify and analyze the charging and discharging data of the energy storage power battery.
[0114] Step S2: using a first data descriptor extraction neural network to extract data descriptors for the energy storage power battery charge and discharge data sample to obtain a first data item descriptor, a first battery working state descriptor and a first ambient temperature descriptor; and integrating the first data item descriptor, the first battery working state descriptor and the first ambient temperature descriptor to obtain a first integrated descriptor; wherein the first data item descriptor is used to describe the characteristics of the data item of the energy storage power battery charge and discharge data sample, the first battery working state descriptor is used to describe the characteristics of the battery working state of the energy storage power battery charge and discharge data sample, and the first ambient temperature descriptor is used to describe the characteristics of the maintenance record data of the energy storage power battery charge and discharge data sample.
[0115] In step S2, the first data descriptor extraction neural network is used to perform in-depth feature extraction and integration on the energy storage power battery charging and discharging data samples. In this step, the computer system uses the first data descriptor extraction neural network that has been constructed to process the energy storage power battery charging and discharging data samples. The first data descriptor extraction neural network is used to extract key information from complex data, and gradually extract the core features in the data through its deep network structure. Specifically, the first data descriptor extraction neural network can be an encoder, such as an autoencoder, or a convolutional layer, which first focuses on the data items in the data sample, such as voltage, current, charging and discharging time, etc., and extracts the first data item descriptor from it. These descriptors are actually a set of numerical values or vectors that accurately characterize the key characteristics of the data items. For example, a data item descriptor may contain detailed information about the voltage change during the battery charging and discharging process, which is crucial for analyzing battery performance. Next, the first data descriptor extraction neural network focuses on the working state of the battery, such as charging, discharging, idle, etc., and generates the first battery working state descriptor. These descriptors can reflect the performance of the battery under different working states, thereby helping the system to better understand the operating mode of the battery. In addition, the neural network also considers environmental factors closely related to battery operation, especially ambient temperature, because temperature has a significant impact on battery performance. By extracting the first ambient temperature descriptor, the system can grasp the working status and performance changes of the battery under different temperature conditions.
[0116] Finally, the computer system integrates (e.g., concatenates) the three descriptors, the first data item descriptor, the first battery operating state descriptor, and the first ambient temperature descriptor, to form a comprehensive first integrated descriptor. This integrated descriptor is a comprehensive feature vector that summarizes all key information about the energy storage battery charging and discharging data, providing a solid foundation for subsequent data analysis, comparison, and decision-making.
[0117] Step S3: using a second data descriptor extraction neural network to extract data descriptors for the reference energy storage power battery charging and discharging data sample to obtain a second data item descriptor, a second battery working state descriptor and a second ambient temperature descriptor; and integrating the second data item descriptor, the second battery working state descriptor and the second ambient temperature descriptor to obtain a second integrated descriptor; wherein the second data item descriptor is used to describe the characteristics of the data item of the reference energy storage power battery charging and discharging data sample, the second battery working state descriptor is used to describe the characteristics of the battery working state of the reference energy storage power battery charging and discharging data sample, and the second ambient temperature descriptor is used to describe the characteristics of the maintenance record data of the reference energy storage power battery charging and discharging data sample; the first data descriptor extraction neural network is different from the second data descriptor extraction neural network.
[0118] In step S3, the reference energy storage power battery charging and discharging data sample is processed using the second data descriptor extraction neural network. This step is similar to step S2, but the key difference is that the neural network model used is different, and the object of processing is the reference data sample.
[0119] In step S3, the computer system uses a second data descriptor extraction neural network, which is a model different from the first data descriptor extraction neural network but with similar functions. Its task is to extract key information from reference energy storage battery charging and discharging data samples. These reference data samples may come from standard tests under laboratory conditions, historically excellent battery data, or high-quality data sets verified by experts.
[0120] The second data descriptor extraction neural network first focuses on the data items in the reference data sample, such as key parameters such as voltage and current, and extracts the second data item descriptors. These descriptors accurately represent the important features of the data item in the form of numerical values or vectors. For example, the second data item descriptor may capture the stability and change trend of the battery's voltage and current at different charging and discharging stages.
[0121] Next, the second data descriptor extracts the neural network to analyze the working state of the reference battery, such as charging, discharging or standby, and generates the second battery working state descriptor. These descriptors reflect the performance characteristics of the battery under various working states and help understand the behavior patterns of the battery under different conditions.
[0122] In addition, considering the impact of ambient temperature on battery performance, the second data descriptor extraction neural network also extracts the second ambient temperature descriptor. These descriptors reveal the working efficiency and stability of the battery under different ambient temperatures. Finally, the computer system integrates the second data item descriptor, the second battery working state descriptor, and the second ambient temperature descriptor into a comprehensive second integrated descriptor.
[0123] Although the first and second data descriptor extraction neural networks may be similar in structure and function, they process different types of data (real data vs. reference data), and their network parameters (i.e., network learnable variables) and training objectives may also differ. This dual network architecture design helps improve the accuracy and robustness of descriptor extraction, providing a more reliable information basis for subsequent data comparison, performance evaluation, and decision support.
[0124] Step S4: performing metric learning on the first integrated descriptor and the second integrated descriptor to obtain a network debugging error.
[0125] In the training process of the descriptor extraction network, step S4 involves metric learning of the first integrated descriptor and the second integrated descriptor to calculate the network debugging error. This step is crucial for optimizing the neural network parameters and improving the accuracy of descriptor extraction.
[0126] In this step, the computer system will conduct an in-depth comparison and learning of the two integrated descriptors obtained in the previous step, the first integrated descriptor and the second integrated descriptor. These two descriptors represent the characteristics of the actual energy storage power battery charging and discharging data samples and the reference energy storage power battery charging and discharging data samples, respectively. The goal of metric learning is to find a suitable metric so that the distance between the descriptors of the same type of samples (that is, the actual data samples and their corresponding reference data samples) in the metric space is as small as possible, while the distance between different types of samples is as large as possible. In this way, the neural network can better learn and identify the similarities and differences between different data samples.
[0127] Specifically, the computer system uses a specific metric learning method, such as cosine similarity, Euclidean distance or a more complex metric learning algorithm, to calculate the distance or similarity between the first integrated descriptor and the second integrated descriptor. In this process, the computer system continuously adjusts the parameters of the neural network to minimize the distance, that is, to reduce the difference between the actual data and the reference data in the feature space.
[0128] For example, if cosine similarity is used as a metric, the computer system calculates the cosine value of the angle between two descriptors. The closer this value is to 1, the more similar the two descriptors are, and the better the network performance is. If this value is low, it means that there is a large difference between the actual data and the reference data, and the computer system needs to adjust the neural network's weights and biases to improve the accuracy of descriptor extraction.
[0129] By calculating the network debugging error, the computer system can accurately understand the performance of the current neural network, thus providing a strong basis for subsequent parameter adjustment and optimization. This process is iterative, and the computer system continuously repeats steps S2 to S4 until the network debugging error reaches a satisfactory level, thereby completing the training of the descriptor extraction network.
[0130] Step S5: Based on the network debugging error, optimizing the learnable variables of the first data descriptor extraction neural network and the second data descriptor extraction neural network; wherein the first data descriptor extraction neural network after debugging is used to extract and integrate data descriptors for the energy storage power battery charging and discharging data to determine the reference energy storage power battery charging and discharging data corresponding to the energy storage power battery charging and discharging data.
[0131] In the training process of the descriptor extraction network, step S5 is the network iteration optimization stage, the core of which is to optimize the learnable variables of the first data descriptor extraction neural network and the second data descriptor extraction neural network based on the network debugging error. It aims to improve the performance of the neural network so that it can extract and integrate data descriptors more accurately. In this step, the computer system adjusts the learnable variables in the two neural networks according to the network debugging error calculated previously. These learnable variables include parameters such as weights and biases of the neural network, which need to be continuously optimized during the network training process to achieve better performance.
[0132] The optimization process is implemented, for example, using a gradient descent algorithm or a variant thereof. The computer system calculates the gradient of the loss function with respect to the learnable variables based on the network debugging error, and then updates these variables in the opposite direction of the gradient to reduce the network debugging error. This process is iterative, and the computer system performs this optimization step multiple times until the network performance reaches a satisfactory level or meets other stopping conditions.
[0133] For example, suppose that in the first round of training, the first data descriptor extraction neural network and the second data descriptor extraction neural network extract descriptors of actual data and reference data respectively, and calculate the network debugging error. The computer system adjusts the weights and biases in the two neural networks according to the error, so that in the next round of training, the network can extract data descriptors more accurately.
[0134] When the network debugging error is reduced to below a preset threshold, or the training reaches a preset number of rounds, the computer system stops training and saves the optimized neural network parameters. At this time, the first data descriptor extraction neural network that has been debugged can be used to extract and integrate data descriptors for new energy storage battery charging and discharging data.
[0135] In practical applications, the optimized neural network can help engineers quickly and accurately determine the reference energy storage battery charge and discharge data corresponding to the energy storage battery charge and discharge data. For example, when the charge and discharge data of a new energy storage battery is input into the optimized neural network, the network will quickly extract and integrate the descriptors of the data, and then compare it with the known reference data, so as to quickly find the reference data that is most similar to the new data. This has important application value in battery performance evaluation, fault diagnosis, and predictive maintenance.
[0136] As an implementation manner, the plurality of debugging learning example pairs include: positive debugging learning example pairs, soft negative debugging learning example pairs, and hard negative debugging learning example pairs.
[0137] The reference energy storage power battery charge and discharge data samples included in the positive debugging learning sample binary are the labeled reference energy storage power battery charge and discharge data of the energy storage power battery charge and discharge data samples; the reference energy storage power battery charge and discharge data samples included in the soft negative debugging learning sample binary are randomly determined from a reference energy storage power battery charge and discharge data set, and are not the labeled reference energy storage power battery charge and discharge data of the energy storage power battery charge and discharge data samples; the descriptor commonality measurement result between the reference energy storage power battery charge and discharge data samples and the energy storage power battery charge and discharge data samples included in the hard negative debugging learning sample binary is not less than the commonality measurement threshold, and is not the labeled reference energy storage power battery charge and discharge data of the energy storage power battery charge and discharge data samples, wherein the descriptor commonality measurement result is the commonality measurement result between the first integrated descriptor of the energy storage power battery charge and discharge data sample and the second integrated descriptor of the reference energy storage power battery charge and discharge data sample.
[0138] Specifically, during the training process of the descriptor extraction network, the debugging learning sample binary includes positive, soft negative and hard negative types. The positive debugging learning sample binary is also called a positive sample pair, which is composed of a sample of energy storage power battery charging and discharging data and its corresponding labeled reference energy storage power battery charging and discharging data. This type of sample is used to train the network to correctly identify the reference data that matches the original data. For example, if there is a sample of energy storage power battery charging and discharging data, and its corresponding labeled reference data is the performance data of a standard battery under the same conditions, then this pair of data constitutes a positive debugging learning sample binary. Through the training of this type of sample, the network can learn how to accurately extract and match actual data with corresponding reference data.
[0139] Soft negative debugging learning example pairs, that is, easy negative example pairs, are composed of energy storage power battery charging and discharging data samples and non-labeled reference data randomly selected from the reference energy storage power battery charging and discharging data set. These data pairs are not true matches of the actual data, but are used to increase the network's discriminative ability to distinguish actual data from irrelevant reference data. For example, the system can randomly select a reference data that is completely unrelated to the current data sample to form a soft negative type bigram. In this way, the network can learn to exclude reference data that are obviously mismatched.
[0140] Hard negative debugging learning example pairs, also known as difficult negative example pairs, are challenging training examples. They consist of energy storage battery charging and discharging data samples and those that have a high similarity with the actual data in descriptors (that is, the feature similarity is not less than a preset commonality metric threshold), but are not actually their labeled reference data. This type of sample is designed to train the network's discernment when dealing with highly similar but not completely matched data. For example, there may be a reference data sample that is very close to the actual data sample in multiple key features, but there are still subtle differences that cause them to not completely correspond. Through training with this type of sample, the network can more accurately identify those subtle differences, thereby improving the accuracy of the match.
[0141] By training with positive, soft negative, and hard negative debugging learning example pairs, the computer system can comprehensively improve the performance of the descriptor extraction network, enabling it to more accurately and efficiently match energy storage battery charging and discharging data with corresponding reference data in practical applications.
[0142] Based on these two-tuple training samples, the method provided in the embodiment of the present application further includes:
[0143] Step A: determining a descriptor commonality measurement result between the energy storage power battery charge and discharge data sample and each reference energy storage power battery charge and discharge data in the reference energy storage power battery charge and discharge data set;
[0144] Step B: Determine the x reference energy storage power battery charging and discharging data with the largest descriptor commonality measurement results other than the labeled reference energy storage power battery charging and discharging data of the energy storage power battery charging and discharging data sample as reference energy storage power battery charging and discharging data samples, and form x hard negative debugging learning sample binary groups with the energy storage power battery charging and discharging data samples, where x>1.
[0145] During the training of the descriptor extraction network, the computer system also performs two key steps A and B to more efficiently construct hard negative debugging learning example pairs, thereby improving the network's discrimination ability and accuracy.
[0146] In step A, the descriptor commonality measurement results between the energy storage power battery charging and discharging data sample and each data in the reference energy storage power battery charging and discharging data set are determined. The purpose of this step is to measure the similarity between the actual data sample and all the data in the reference data set. The descriptor commonality measurement is completed by comparing the descriptors of two data samples, which can be feature vectors or other forms of representation of the data. For example, if the descriptor of the data sample is a feature vector containing multiple numerical values, then the commonality measurement result may be obtained by calculating the cosine similarity or Euclidean distance between the two vectors.
[0147] After completing step A, the computer system obtains the similarity measure between the actual data sample and all the reference data. Next, step B uses this information to determine the hard negative type debugging learning sample bigrams.
[0148] In step B, the computer system first excludes the labeled reference data of the energy storage battery charging and discharging data samples, because the labeled reference data has been used to form positive debugging learning sample tuples. Then, find the x reference data with the largest descriptor commonality measurement results with the actual data samples. These data are highly similar to the actual data samples in features, but they are not their true labeled reference data, so they are very suitable as hard negative samples. Selecting these highly similar but unlabeled reference data as hard negative samples can help the network better learn how to distinguish subtle differences and improve accuracy in practical applications.
[0149] For example, suppose there is a sample of energy storage battery charging and discharging data, whose descriptor is a vector containing features such as voltage, current and temperature. In step A, the computer system calculates the commonality measurement results between the descriptors of this data sample and each data in the reference data set. Then, in step B, the computer selects x unlabeled reference data that are most similar to the actual data sample. These data may only differ slightly in one or some features, thus forming a hard negative debugging learning sample binary.
[0150] By performing these two steps, the computer system is able to generate more challenging training samples, thereby improving the descriptor extraction network's ability to distinguish when dealing with highly similar data.
[0151] As an implementation mode, the step S4, performing metric learning on the first integrated descriptor and the second integrated descriptor to obtain a network debugging error, may specifically include: step S41: performing metric learning on the first integrated descriptor and the second integrated descriptor to obtain a first similarity score.
[0152] During the training process of the descriptor extraction network, step S41 involves metric learning of the first integrated descriptor and the second integrated descriptor. In practical applications, the descriptor extraction network is used to process complex data types such as energy storage battery charging and discharging data. Each integrated descriptor is a comprehensive representation of the multi-dimensional features of the original data. These features may include but are not limited to the voltage, current, temperature, charging and discharging rate of the battery. The first integrated descriptor and the second integrated descriptor represent the feature sets of two different groups of data samples respectively. In step S41, the computer system performs metric learning on the two integrated descriptors in order to evaluate the similarity between them. There are many methods for metric learning, among which calculating the dot product is a common and effective way. The dot product operation can measure the similarity between two vectors: the larger the dot product value, the closer the directions of the two vectors are, that is, the more similar their features are.
[0153] For example, suppose the first integrated descriptor is a vector containing features such as battery voltage, current, and temperature, represented by (A = [a_1, a_2, a_3]), where (a_1) represents voltage, (a_2) represents current, and (a_3) represents temperature. Similarly, the second integrated descriptor is also a similar vector, represented by (B = [b_1, b_2, b_3]). The computer system calculates the dot product of these two vectors: A*B = a_1×b_1 + a_2×b_2 + a_3×b_3; this calculation result, the first similarity score, reflects the similarity between the two integrated descriptors in the feature space. If the score is high, it means that the data samples represented by the two descriptors are very close in features; if the score is low, it means that they have large differences in features.
[0154] In this way, step S41 provides a method for quantitatively evaluating the similarity of descriptors for the descriptor extraction network, which is crucial for the training and optimization of the network.
[0155] Step S42: performing metric learning on the first data item descriptor and the second data item descriptor to obtain a second similarity score.
[0156] In the training process of the descriptor extraction network, step S42 performs metric learning on the data item descriptor to obtain a second similarity score. In practical applications, the data item descriptor is, for example, a feature vector extracted from the original data, which captures the core information of the data. Taking the charging and discharging data of the energy storage power battery as an example, the data item descriptor may include key parameters such as the battery voltage, current, and charging and discharging time.
[0157] In step S42, the computer system performs metric learning on the first data item descriptor and the second data item descriptor. Similarly, metric learning here refers to calculating the similarity or distance between two descriptors in some way. Commonly used metric methods include Euclidean distance, cosine similarity, etc.
[0158] For example, suppose the first data item descriptor is a vector containing features such as battery voltage and current, such as ([V1, I1]), where (V1) represents the voltage value and (I1) represents the current value. Similarly, the second data item descriptor is also a similar vector, such as ([V2, I2]). The computer system can use the Euclidean distance to calculate the similarity between the two descriptors: ; where d represents the Euclidean distance between two descriptors. The smaller this distance is, the more similar the two data item descriptors are. In addition to the Euclidean distance, cosine similarity can also be used to measure the similarity of two vectors. Cosine similarity focuses on whether the directions of two vectors are consistent, and its calculation formula is: ;in, is the angle between two vectors. The range of cosine similarity is ([-1, 1]). The closer the value is to 1, the closer the directions of the two vectors are, that is, the more similar they are.
[0159] The second similarity score obtained through metric learning reflects the similarity between the descriptors of the two data items. This score will be used in the subsequent network debugging and optimization process to help the computer system better understand the data and improve the performance of the descriptor extraction network.
[0160] Step S43: performing metric learning on the first battery working state descriptor and the second battery working state descriptor to obtain a third similarity score.
[0161] In the training process of the descriptor extraction network, step S43 performs metric learning on the battery operating state descriptor to calculate a third similarity score. The battery operating state descriptor, for example, contains detailed information about the battery operating state, such as the remaining battery power, health status, temperature, and possible fault indications. This information is crucial to ensure the safe operation of the battery and predict its life.
[0162] In step S43, the computer system performs metric learning on the first battery working state descriptor and the second battery working state descriptor. Metric learning here refers to evaluating the degree of association between two descriptors by calculating the similarity between them. Commonly used metric methods include calculating the similarity or distance between descriptors, such as cosine similarity, Euclidean distance, etc.
[0163] Taking cosine similarity as an example, assume that the first battery working state descriptor can be represented as a vector (A = [a_1, a_2, ..., a_n]), where each element represents a characteristic value of the battery working state, such as remaining power, temperature, etc. Similarly, the second battery working state descriptor can be represented as another vector (B = [b_1, b_2, ..., b_n]). The calculation formula for cosine similarity is: ;in, is the dot product of two vectors, and ||A|| and ||B|| are the moduli of vectors A and B, respectively. The calculated cosine similarity value will be used as the third similarity score, which reflects the similarity between the two battery working state descriptors in the feature space.
[0164] For example, if the cosine similarity of two battery working state descriptors is close to 1, it means that their states are very similar, which may mean that both batteries are in good working condition. On the contrary, if the similarity is low, it may mean that there is a significant difference in the working state of the two batteries, which helps to identify potential failures or performance degradation.
[0165] Through the metric learning in step S43, the computer system can more accurately evaluate the similarity between the battery working state descriptors, thereby providing strong support for subsequent battery health management and predictive maintenance. This step not only improves the performance of the descriptor extraction network, but also brings higher reliability and efficiency to the battery management system in practical applications.
[0166] Step S44: performing metric learning on the first ambient temperature descriptor and the second ambient temperature descriptor to obtain a fourth similarity score.
[0167] During the training process of the descriptor extraction network, step S44 performs metric learning on the ambient temperature descriptor to calculate a fourth similarity score. The ambient temperature descriptor refers to the feature vector extracted from the ambient temperature data, which reflects the state and change trend of the ambient temperature. In many application scenarios, ambient temperature is an important parameter. For example, in the management of energy storage power batteries, the ambient temperature directly affects the performance and life of the battery. In step S44, the computer system performs metric learning on the first ambient temperature descriptor and the second ambient temperature descriptor. The metric learning here is similar to the previous step, and it also evaluates the degree of association between the two descriptors by calculating the similarity between them. Commonly used metric methods include cosine similarity, Euclidean distance, etc.
[0168] Taking cosine similarity as an example, assume that the first ambient temperature descriptor can be represented as a vector, such as (T1 = [t1_1, t1_2, ..., t1_n]), where each element represents the ambient temperature value or related feature value at a different time point. Similarly, the second ambient temperature descriptor can also be represented as another vector, such as (T2 = [t2_1, t2_2, ..., t2_n]). By calculating the cosine similarity of these two vectors, the degree of similarity between them can be obtained: ;in, is the dot product of two vectors, and ||T1|| and ||T2|| are the moduli of vectors T1 and T2, respectively. The value of this cosine similarity is the fourth similarity score, which reflects the degree of similarity between the two ambient temperature descriptors in terms of features. For example, if the cosine similarity of two ambient temperature descriptors is close to 1, it means that the ambient temperature change patterns they represent are very similar. In practical applications, this may mean that the two descriptors come from similar environmental conditions or different time points in the same environment. On the contrary, if the similarity is low, it indicates that there are large differences in the environmental conditions represented by the two ambient temperature descriptors.
[0169] Through the metric learning in step S44, the computer system can accurately evaluate the similarity between the ambient temperature descriptors.
[0170] Step S45: Determine and obtain the network debugging error based on the first similarity score, the second similarity score, the third similarity score, and the fourth similarity score.
[0171] During the training process of the descriptor extraction network, step S45 combines the first similarity score, the second similarity score, the third similarity score and the fourth similarity score to comprehensively evaluate the performance of the network and determine the error of network debugging accordingly.
[0172] In specific application scenarios, these similarity scores represent the similarity between descriptors of different data items, battery operating conditions, and ambient temperature. For example, in energy storage power battery management systems, these data can help evaluate the network's ability to recognize different battery states and environmental conditions.
[0173] The first similarity score may represent the similarity of battery data at two different time points, the second similarity score may reflect the degree of correlation between the battery working states, the third similarity score reflects the similarity of the battery's performance under different working environments, and the fourth similarity score reveals the similarity of the impact of ambient temperature changes on battery performance.
[0174] In step S45, the computer system combines these similarity scores, for example, by weighted average, summation or other statistical methods to obtain a comprehensive network debugging error. This error value reflects the overall performance of the network in extracting and comparing various features.
[0175] For example, if the average of the four similarity scores is low, it means that the network needs to improve its accuracy in identifying different data items, battery status, and ambient temperature. Conversely, if the average of the similarity scores is high, it means that the network performs well and can accurately extract and compare features in different situations.
[0176] Through the network debugging error determined in step S45, the computer system can adjust the parameters and structure of the network in a targeted manner to improve its accuracy and robustness in practical applications. This step is an important part of optimizing the performance of the descriptor extraction network and helps to improve the network's adaptability to various data and environments.
[0177] It should be noted that in the embodiment of the present application, if the above-mentioned energy storage power battery charge and discharge state prediction method based on big data is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application can be essentially or partly reflected in the form of a software product that contributes to the relevant technology. The software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the methods described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), disk or optical disk, etc., various media that can store program codes. In this way, the embodiment of the present application is not limited to any specific hardware, software or firmware, or any combination of hardware, software, and firmware.
[0178] An embodiment of the present application provides a computer system, including a memory and a processor, wherein the memory stores a computer program that can be executed on the processor, and when the processor executes the program, some or all of the steps in the above method are implemented.
[0179] The embodiment of the present application provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, some or all of the steps in the above method are implemented. The computer-readable storage medium can be transient or non-transient.
[0180] An embodiment of the present application provides a computer program, including a computer-readable code. When the computer-readable code is run in a computer device, a processor in the computer device executes some or all of the steps for implementing the above method.
[0181] The embodiment of the present application provides a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and when the computer program is read and executed by a computer, some or all of the steps in the above method are implemented. The computer program product can be implemented in hardware, software, or a combination thereof. In some embodiments, the computer program product is specifically embodied as a computer storage medium, and in other embodiments, the computer program product is specifically embodied as a software product, such as a software development kit (SDK), etc.
[0182] It should be noted here that the description of the various embodiments above tends to emphasize the differences between the various embodiments, and the same or similar aspects can be referenced to each other. The description of the above device, storage medium, computer program and computer program product embodiments is similar to the description of the above method embodiment, and has similar beneficial effects as the method embodiment. For technical details not disclosed in the embodiments of the device, storage medium, computer program and computer program product of this application, please refer to the description of the method embodiment of this application for understanding.
[0183] Figure 2 A hardware entity diagram of a computer system provided in an embodiment of the present application is shown in FIG. Figure 2 As shown, the hardware entity of the computer system 1000 includes: a processor 1001 and a memory 1002, wherein the memory 1002 stores a computer program that can be run on the processor 1001, and the processor 1001 implements the steps in the method of any of the above embodiments when executing the program.
[0184] The memory 1002 stores computer programs that can be run on the processor. The memory 1002 is configured to store instructions and applications executable by the processor 1001. It can also cache data to be processed or processed by the processor 1001 and various modules in the computer system 1000 (for example, image data, audio data, voice communication data, and video communication data). This can be achieved through flash memory (FLASH) or random access memory (Random Access Memory, RAM).
[0185] When the processor 1001 executes the program, the steps of any of the above-mentioned methods for predicting the charging and discharging state of energy storage power batteries based on big data are implemented. The processor 1001 generally controls the overall operation of the computer system 1000.
[0186] An embodiment of the present application provides a computer storage medium, which stores one or more programs. The one or more programs can be executed by one or more processors to implement the steps of the method for predicting the charging and discharging state of a storage power battery based on big data as described in any of the above embodiments.
[0187] It should be pointed out here that the description of the above storage medium and device embodiments is similar to the description of the above method embodiments, and has similar beneficial effects as the method embodiments. For the technical details not disclosed in the storage medium and device embodiments of this application, please refer to the description of the method embodiments of this application for understanding. The above processor can be at least one of a target application integrated circuit (Application Specific Integrated Circuit, ASIC), a digital signal processor (Digital Signal Processor, DSP), a digital signal processing device (Digital Signal Processing Device, DSPD), a programmable logic device (Programmable Logic Device, PLD), a field programmable gate array (Field Programmable Gate Array, FPGA), a central processing unit (Central Processing Unit, CPU), a controller, a microcontroller, and a microprocessor. It can be understood that the electronic device that realizes the above processor function can also be other, and the embodiments of this application are not specifically limited.
[0188] The above-mentioned computer storage medium / memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a magnetic random access memory (FRAM), a flash memory (Flash Memory), a magnetic surface memory, an optical disk, or a compact disc read-only memory (CD-ROM) and the like; it can also be various terminals including one or any combination of the above-mentioned memories, such as a mobile phone, a computer, a tablet device, a personal digital assistant, etc.
[0189] It should be understood that the "one embodiment" or "one embodiment" mentioned throughout the specification means that the specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present application. Therefore, "in one embodiment" or "in one embodiment" appearing in various places throughout the specification may not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. It should be understood that in various embodiments of the present application, the size of the sequence number of each step / process mentioned above does not mean the order of execution, and the execution order of each step / process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present application. The above-mentioned sequence number of the embodiment of the present application is only for description and does not represent the advantages and disadvantages of the embodiment. It should be noted that, in this article, the term "include", "comprise" or any other variant thereof is intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements that are not explicitly listed, or also includes elements inherent to such process, method, article or device. Without more constraints, an element defined by the phrase "comprising a..." does not exclude the existence of other identical elements in the process, method, article or apparatus comprising the element.
[0190] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as: multiple units or components can be combined, or can be integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of the devices or units can be electrical, mechanical or other forms.
[0191] The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units; they may be located in one place or distributed on multiple network units; some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0192] In addition, all functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may be a separate unit, or two or more units may be integrated into one unit; the above-mentioned integrated units may be implemented in the form of hardware or in the form of hardware plus software functional units.
[0193] A person skilled in the art can understand that: all or part of the steps of implementing the above method embodiment can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps of the above method embodiment; and the aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, read-only memories (ROM), magnetic disks or optical disks.
[0194] Alternatively, if the above-mentioned integrated unit of the present application is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can essentially or in other words, the part that contributes to the relevant technology can be embodied in the form of a software product, which is stored in a storage medium and includes a number of instructions for a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROMs, magnetic disks, or optical disks.
[0195] The above is only an implementation method of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application.
Claims
1. A method for predicting the charge and discharge status of energy storage power batteries based on big data, characterized in that: The method comprises: extracting data descriptors from energy storage power battery charge and discharge data to obtain a first data item descriptor, a first battery working state descriptor and a first ambient temperature descriptor, wherein the first data item descriptor is used to describe the characteristics of the data item of the energy storage power battery charge and discharge data, the first battery working state descriptor is used to describe the characteristics of the battery working state of the energy storage power battery charge and discharge data, and the first ambient temperature descriptor is used to describe the characteristics of the maintenance record data of the energy storage power battery charge and discharge data; integrating the first data item descriptor, the first battery working state descriptor and the first ambient temperature descriptor to obtain a first integrated descriptor; determining the first integrated descriptor and The commonality measurement results between the second integrated descriptors corresponding to the charge and discharge data of each reference energy storage power battery; wherein the second integrated descriptor is obtained by extracting and integrating the data descriptors of the reference energy storage power battery charge and discharge data; based on the commonality measurement results, the reference energy storage power battery charge and discharge data corresponding to the energy storage power battery charge and discharge data is determined from each of the reference energy storage power battery charge and discharge data; specifically including: sorting and comparing the commonality measurement results, determining the reference energy storage power battery charge and discharge data with the highest similarity or the smallest difference with the energy storage power battery charge and discharge data; using the charge and discharge state corresponding to the determined reference energy storage power battery charge and discharge data as the predicted charge and discharge state; wherein In the embodiment of the present invention, a data descriptor is extracted from the energy storage power battery charge and discharge data to obtain a first data item descriptor, including: obtaining a plurality of charge and discharge events based on the energy storage power battery charge and discharge data, each charge and discharge event includes a plurality of data items, and there are one or more overlapping data items between the two preceding and succeeding charge and discharge events; determining the distribution position of each of the plurality of charge and discharge events in a data item query matrix, and determining the distribution quantity of each of the plurality of charge and discharge events in the energy storage power battery charge and discharge data, the data item query matrix includes a plurality of candidate charge and discharge events; determining the distribution quantity of each of the plurality of charge and discharge events in the energy storage power battery charge and discharge data based on the distribution position of each charge and discharge event in the data item query matrix and the distribution quantity of each charge and discharge event in the energy storage power battery charge and discharge data; The first data item descriptor is obtained by extracting the data descriptor from the charge and discharge data of the energy storage power battery to obtain the first battery working state descriptor, including: obtaining a data item sequence corresponding to the charge and discharge data of the energy storage power battery, wherein the data item sequence includes a plurality of data items arranged in time sequence obtained by splitting the charge and discharge data of the energy storage power battery; mining the autocorrelation semantic information of each data item in the data item sequence to obtain the first battery working state descriptor; extracting the data descriptor from the charge and discharge data of the energy storage power battery to obtain the first ambient temperature descriptor, including: obtaining the ambient temperature corresponding to each data item in the charge and discharge data of the energy storage power battery;Based on the ambient temperature corresponding to each data item in the energy storage power battery charge and discharge data, multiple ambient temperature data sequences are obtained, each ambient temperature data sequence contains ambient temperatures corresponding to multiple data items, and there are one or more overlapping data items corresponding to ambient temperatures between the previous and next ambient temperature data sequences; determine the distribution position of each ambient temperature data sequence in the ambient temperature data item query matrix, and determine the distribution quantity of each ambient temperature data sequence in the energy storage power battery charge and discharge data, the ambient temperature data item query matrix contains multiple candidate ambient temperature data sequences; based on the distribution position of each ambient temperature data sequence in the ambient temperature data item query matrix and the distribution quantity of each ambient temperature data sequence in the energy storage power battery charge and discharge data, the first ambient temperature descriptor is obtained; the energy storage power battery charge and discharge data uses the first data descriptor extraction neural network to extract the data descriptor, and the reference energy storage power battery charge and discharge data uses the second data descriptor extraction neural network to extract the data descriptor, and the first data descriptor extraction neural network and the second data descriptor extraction neural network have the same network architecture and different network configuration variables. ; 2. The method according to claim 1, characterized in that: Before determining the commonality measurement result between the first integrated descriptor and the second integrated descriptor corresponding to each reference energy storage power battery charge and discharge data, the method further includes: based on the number of data items overlapping between the energy storage power battery charge and discharge data and the reference energy storage power battery charge and discharge data in the reference energy storage power battery charge and discharge data set, preliminarily screening the reference energy storage power battery charge and discharge data in the reference energy storage power battery charge and discharge data set to obtain a preliminary reference energy storage power battery charge and discharge data set, wherein the preliminary reference energy storage power battery charge and discharge data set includes part of the reference energy storage power battery charge and discharge data selected from the reference energy storage power battery charge and discharge data set; determining the commonality measurement result between the first integrated descriptor and the second integrated descriptor corresponding to each reference energy storage power battery charge and discharge data includes: determining the commonality measurement result between the first integrated descriptor and the second integrated descriptor corresponding to each reference energy storage power battery charge and discharge data in the preliminary reference energy storage power battery charge and discharge data set.
3. The method according to claim 1, characterized in that: The debugging process of the first data descriptor extraction neural network and the second data descriptor extraction neural network includes: obtaining multiple debugging learning sample tuples, each debugging learning sample tuple includes a storage power battery charging and discharging data sample and a reference storage power battery charging and discharging data sample; using the first data descriptor extraction neural network to extract data descriptors for the storage power battery charging and discharging data sample to obtain a first data item descriptor, a first battery working state descriptor and a first ambient temperature descriptor; and integrating the first data item descriptor, the first battery working state descriptor and the first ambient temperature descriptor to obtain a first integrated descriptor; wherein the first data item descriptor is used to describe the characteristics of the data item of the storage power battery charging and discharging data sample, the first battery working state descriptor is used to describe the characteristics of the battery working state of the storage power battery charging and discharging data sample, and the first ambient temperature descriptor is used to describe the characteristics of the maintenance record data of the storage power battery charging and discharging data sample; using the second data descriptor extraction neural network to extract data descriptors for the reference storage power battery charging and discharging data sample to obtain a second data item descriptor. , a second battery working state descriptor and a second ambient temperature descriptor; and integrating the second data item descriptor, the second battery working state descriptor and the second ambient temperature descriptor to obtain a second integrated descriptor; wherein the second data item descriptor is used to describe the characteristics of the data item of the reference energy storage power battery charging and discharging data sample, the second battery working state descriptor is used to describe the characteristics of the battery working state of the reference energy storage power battery charging and discharging data sample, and the second ambient temperature descriptor is used to describe the characteristics of the maintenance record data of the reference energy storage power battery charging and discharging data sample; the first data descriptor extraction neural network is different from the second data descriptor extraction neural network; metric learning is performed on the first integrated descriptor and the second integrated descriptor to obtain a network debugging error; based on the network debugging error, the learnable variables of the first data descriptor extraction neural network and the second data descriptor extraction neural network are optimized; wherein the first data descriptor extraction neural network after debugging is used to extract and integrate data descriptors for the energy storage power battery charging and discharging data to determine the reference energy storage power battery charging and discharging data corresponding to the energy storage power battery charging and discharging data.
4. The method according to claim 3, characterized in that The multiple debugging learning sample binary groups include: an active debugging learning sample binary group, a soft passive debugging learning sample binary group and a hard passive debugging learning sample binary group; wherein the reference energy storage power battery charge and discharge data sample included in the active debugging learning sample binary group is the annotated reference energy storage power battery charge and discharge data of the energy storage power battery charge and discharge data sample; the reference energy storage power battery charge and discharge data sample included in the soft passive debugging learning sample binary group is randomly determined from the reference energy storage power battery charge and discharge data set and is not the energy storage power battery charge and discharge data sample. annotated reference energy storage power battery charging and discharging data; a descriptor commonality measurement result between the reference energy storage power battery charging and discharging data sample and the energy storage power battery charging and discharging data sample included in the hard negative debugging learning sample binary is not less than a commonality measurement threshold, and is not annotated reference energy storage power battery charging and discharging data of the energy storage power battery charging and discharging data sample, wherein the descriptor commonality measurement result is a commonality measurement result between the first integrated descriptor of the energy storage power battery charging and discharging data sample and the second integrated descriptor of the reference energy storage power battery charging and discharging data sample.
5. The method according to claim 4, characterized in that The method further includes: determining a descriptor commonality measurement result between the energy storage power battery charge and discharge data sample and each reference energy storage power battery charge and discharge data in the reference energy storage power battery charge and discharge data set; determining x reference energy storage power battery charge and discharge data with the largest descriptor commonality measurement result other than the labeled reference energy storage power battery charge and discharge data of the energy storage power battery charge and discharge data sample as reference energy storage power battery charge and discharge data samples, and forming x hard negative debugging learning sample pairs with the energy storage power battery charge and discharge data sample, x>1; and measuring the first integrated descriptor and the second integrated descriptor. Learning to obtain a network debugging error includes: performing metric learning on the first integrated descriptor and the second integrated descriptor to obtain a first similarity score; performing metric learning on the first data item descriptor and the second data item descriptor to obtain a second similarity score; performing metric learning on the first battery working state descriptor and the second battery working state descriptor to obtain a third similarity score; performing metric learning on the first ambient temperature descriptor and the second ambient temperature descriptor to obtain a fourth similarity score; based on the first similarity score, the second similarity score, the third similarity score and the fourth similarity score, determining to obtain the network debugging error.
6. A computer system comprising a memory and a processor, wherein the memory stores a computer program executable on the processor, wherein: When the processor executes the program, the steps in the method according to any one of claims 1 to 5 are implemented.
