Battery health state prediction method and device and computer readable storage medium
By constructing a battery health state prediction method based on machine learning, using full life cycle data sets and equivalent charging cycle characteristics, the accuracy and adaptability problems of battery health state prediction in the existing technology are solved, and high-precision battery SOH is achieved. Prediction and diagnosis improve the reliability and safety of battery management systems.
Patent Information
- Application Number
- CN202410916448.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-09
- Publication Date
- 2024-09-24
Smart Images

Figure 00000000_0000
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of battery health status analysis, and in particular to a battery health status prediction method, device and computer-readable storage medium. Background Art
[0002] Battery health state (SOH) prediction and diagnosis is one of the key functions of the battery management system (BMS), which is directly related to the safety, reliability and life of the battery. With the increasing dependence on batteries in fields such as electric vehicles, energy storage systems and portable electronic devices, the importance of understanding and accurately evaluating battery SOH has become increasingly prominent.
[0003] Traditional battery SOH prediction and diagnosis methods mainly rely on experimental testing and statistical analysis, but these methods often require a lot of time and resources, and it is difficult to adapt to the complex characteristics of battery performance that changes over time and usage conditions, such as battery aging, changes in usage conditions, environmental factors, etc., resulting in inaccurate prediction results. There are also methods that use equivalent circuit models or chemical models of batteries to evaluate SOH by monitoring voltage, current, temperature, etc. These methods require accurate models and parameters, but in practical applications they are often limited by model complexity and large computational complexity. Therefore, there is an urgent need to provide a prediction method that can accurately predict the health status of batteries. Summary of the invention
[0004] To overcome the problems existing in the related art, this specification provides a battery health status prediction method, device and computer-readable storage medium.
[0005] According to a first aspect of an embodiment of this specification, a method for predicting a battery health state is provided, the method comprising:
[0006] Receive vehicle-side characteristic data corresponding to one equivalent charging cycle of the battery in the current operating vehicle;
[0007] Inputting the vehicle-side characteristic data into a battery health status prediction model, and outputting the battery health status of the battery after this charging cycle;
[0008] The battery health status prediction model is obtained by a prediction model creation method, and the prediction model creation method includes:
[0009] Based on the time series data set of vehicles throughout their life cycle, a feature data set is constructed in units of equivalent charging cycles, and the feature data and SOH value of each charging cycle in the time series data set are taken as a sample data;
[0010] The feature data set is used as input features to train an initial regression model based on machine learning to obtain a battery health status prediction model. During the training process, the input features of each training sample include current sample data and backtracked sample data.
[0011] According to a battery health status prediction method provided by the present application, the time series data set based on the vehicle throughout its life cycle is used to construct a feature data set in units of equivalent charging cycles, and the feature data and SOH value of each charging cycle in the time series data set are used as a sample data, including:
[0012] Based on the time series data set of vehicles throughout their life cycle, the time series data of multiple charges accumulated to reach the rated capacity of the battery is taken as an equivalent charging cycle to obtain multiple sample data;
[0013] A feature dataset is constructed from multiple sample data.
[0014] According to a battery health status prediction method provided by the present application, the characteristic data and SOH value of each charging cycle in the time series data set are used as a sample data, including:
[0015] In the case where the time series of multiple charging are used as time steps, based on the time series data set, time series data of multiple time steps corresponding to an equivalent charging cycle are determined;
[0016] Determine characteristic data and SOH value of each charging cycle based on the battery history data of the plurality of time steps;
[0017] The characteristic data and SOH value of each charging cycle in the time series data set are taken as a sample data.
[0018] According to a battery health status prediction method provided by the present application, the method further includes:
[0019] According to a preset backtracking range, determine the backtracking sample data in the feature data set within the backtracking range before the current sample data;
[0020] The backtracked sample data is fused with the current sample data currently used for model training to obtain input features currently used for model training.
[0021] According to a battery health status prediction method provided by the present application, before constructing a feature data set based on a time series data set of a vehicle throughout its life cycle and in units of equivalent charging cycles, the method further includes:
[0022] Acquire historical data for evaluating the health status of a battery of a target vehicle transmitted under multiple communication protocols; the historical data includes driving data and charging data;
[0023] Performing data cleaning on the historical data;
[0024] According to the timestamp of each cleaned historical data, the historical data under multiple communication protocols are merged so that the merged data has a unified data format;
[0025] The fused data is deduplicated to obtain the time series data set.
[0026] According to a battery health status prediction method provided by the present application, after the historical data is cleaned, the method further includes:
[0027] Perform feature extraction on the cleaned data to extract effective feature parameters that reflect the health status of the battery;
[0028] The time series data set based on the vehicle's full life cycle is used to construct a feature data set in units of equivalent charging cycles, and the feature data and SOH value of each charging cycle in the time series data set are used as a sample data, including:
[0029] Extracting characteristic data corresponding to the effective characteristic parameters based on a time series data set of vehicles throughout their life cycle;
[0030] Taking the equivalent charging cycle as a unit, the characteristic data of each charging cycle and the corresponding SOH value are determined as a sample data to construct a characteristic data set.
[0031] According to a battery health status prediction method provided by the present application, before constructing the feature data set, the method further includes:
[0032] The SOH value is processed continuously.
[0033] According to a battery health state prediction method provided by the present application, after obtaining the battery health state prediction model, the method further includes:
[0034] When a new time series data set is received, the battery health state prediction model is partially trained using data in the new time series data set to optimize the battery health state prediction model.
[0035] According to a battery health state prediction method provided by the present application, before partially training the battery health state prediction model with data in the new time series data set, the method further includes:
[0036] When the data volume of the new time series data set exceeds a threshold set for part of the training, the new time series data set is divided;
[0037] The battery health status prediction model is partially trained in batches using the data of the divided time series data set.
[0038] According to a battery health state prediction method provided by the present application, the battery health state prediction model has a corresponding relationship with the battery type, and multiple battery health state prediction models are obtained by independent training based on time series data sets of the full life cycle of multiple battery types;
[0039] The method further comprises:
[0040] Determining type parameters of the battery currently used to predict the battery state of health;
[0041] Matching the type parameter with parameters of multiple battery types corresponding to multiple battery health status prediction models to match a target prediction model corresponding to the current battery;
[0042] The target prediction model is used to predict the target battery health state of the current battery.
[0043] According to a battery health state prediction method provided by the present application, after inputting the vehicle-side characteristic data into a battery health state prediction model and outputting the battery health state of the battery after the current charging cycle, the method further includes:
[0044] Obtain the SOH value uploaded by the vehicle end of the currently operating vehicle;
[0045] Perform a multi-dimensional comparison between the battery health status obtained by using the battery health status prediction model and the SOH value uploaded by the vehicle end;
[0046] When an abnormal condition is met, the battery health state obtained by using the battery health state prediction model is marked as abnormal, and a battery health state diagnosis result is output.
[0047] The present application also provides a battery health status prediction device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, any of the battery health status prediction methods described above is implemented.
[0048] The present application also provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the battery health status prediction method as described in any one of the above is implemented.
[0049] The battery health state prediction method, device and computer-readable storage medium in the embodiments of this specification are based on a time series data set of vehicles throughout their life cycle, and a feature data set is constructed in units of equivalent charging cycles. The feature data set is used as input features to train an initial regression model based on machine learning to obtain a battery health state prediction model. During the training process, the input features of each training sample include current sample data and backtracked sample data, so data can be backtracked during model training or prediction to improve the accuracy of the prediction. After obtaining the battery health state prediction model, the vehicle-side feature data corresponding to an equivalent charging cycle of the battery in the current operating vehicle is received, and the battery health state prediction model is used to predict the battery health state of the battery after this charging cycle, thereby achieving accurate prediction of the battery health state.
[0050] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present specification. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the specification and, together with the description, serve to explain the principles of the specification.
[0052] Figure 1 is a flowchart of a battery health status prediction method according to an exemplary embodiment of the present specification;
[0053] Figure 2 It is a schematic diagram of the serialization of the original vehicle-side SOH tag according to an exemplary embodiment of this specification;
[0054] Figure 3 is a schematic diagram of a model structure shown in this specification according to an exemplary embodiment;
[0055] Figure 4 It is a schematic diagram of a process of iteratively updating a SOH prediction model according to an exemplary embodiment of this specification;
[0056] Figure 5 is another flowchart of iterative updating of a SOH prediction model according to an exemplary embodiment of this specification;
[0057] Figure 6 is a schematic diagram of a SOH diagnostic process according to an exemplary embodiment of the present specification;
[0058] Figure 7 is a schematic diagram of a battery health status prediction device according to an exemplary embodiment of this specification;
[0059] Figure 8It is a schematic block diagram of a battery health status prediction device shown in this specification according to an exemplary embodiment. DETAILED DESCRIPTION
[0060] Here, the technical solutions in the embodiments (or "implementations") of the present application will be described clearly and completely in conjunction with the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements.
[0061] If there are terms involving directional indications or positional relationships in the embodiments of the present application (such as up, down, left, right, front, back, inside, outside, top, bottom, center, vertical, horizontal, longitudinal, transverse, length, width, counterclockwise, clockwise, axial, radial, circumferential, etc.), such terms are only used to explain the relative positional relationship, movement, etc. between the components under a certain specific posture (as shown in the accompanying drawings); if the specific posture changes, the directional indication or positional relationship will also change accordingly. In addition, the terms "first", "second", etc. involved in the embodiments of the present application are only used for the purpose of convenience of description and cannot be understood as indicating or implying relative importance.
[0062] The present application provides a battery health status prediction method, device and computer readable storage medium. The present application is described in detail below in conjunction with the accompanying drawings. In the absence of conflict, the features of the following embodiments and implementations can be combined with each other.
[0063] The vehicle, the battery management system in the vehicle, and the battery described in this article have the conventional structure and functions of batteries in vehicles on the market. By using a cloud computing platform, the data collected by the battery management system is analyzed and processed to predict and diagnose the health status of the battery, so as to achieve effective management and maintenance of battery performance. This method can help optimize battery use, extend battery life, and improve the reliability and safety of the battery system.
[0064] Current battery SOH prediction methods mostly rely on experimental testing and statistical analysis, and their prediction results have low accuracy.
[0065] In order to solve the above technical problems, this specification provides a battery health status prediction method.
[0066] By integrating multi-source data and combining the powerful learning ability of machine learning models, high-precision battery SOH prediction and diagnosis are provided, which helps to detect battery performance problems in a timely manner and prevent potential safety risks.
[0067] like Figure 1 As shown, Figure 1 This is a flowchart of a battery health status prediction method according to an exemplary embodiment of the present specification, comprising the following steps:
[0068] Step 103: Receive vehicle-side characteristic data corresponding to one equivalent charging cycle of a battery in a currently operating vehicle;
[0069] Step 104: input the vehicle-side characteristic data into a battery health status prediction model, and output the battery health status of the battery after the current charging cycle;
[0070] The battery health status prediction model is obtained by a prediction model creation method, and the prediction model creation method includes:
[0071] Step 101: Based on the time series data set of the vehicle throughout its life cycle, a feature data set is constructed in units of equivalent charging cycles, and the feature data and SOH value of each charging cycle in the time series data set are taken as a sample data;
[0072] Step 102: Use the feature data set as input features to train an initial regression model based on machine learning to obtain a battery health status prediction model. During the training process, the input features of each training sample include current sample data and backtracked sample data.
[0073] The battery SOH prediction method in this paper is an advanced method to evaluate and predict battery SOH using machine learning technology. This process can be divided into six main steps: data collection and processing, machine learning model selection and design, model training and tuning, model evaluation, model iteration, and SOH diagnosis.
[0074] Here is a detailed description of the process:
[0075] Step 1: Data collection and processing.
[0076] First, a large amount of battery operation data needs to be collected from the BMS system. These data usually include key parameters such as battery voltage, current, temperature, number of charge and discharge cycles, and capacity attenuation. The collected data is usually raw and may contain noise and incomplete information, so it needs to be preprocessed. Data preprocessing includes steps such as data cleaning, noise filtering, missing value filling, and feature extraction to ensure data quality and consistency, laying a solid foundation for subsequent model training.
[0077] In some embodiments, the step of constructing a feature data set based on a time series data set of a vehicle throughout its life cycle in units of equivalent charging cycles, and taking the feature data and SOH value of each charging cycle in the time series data set as a sample data includes:
[0078] Step 1011, based on the time series data set of the vehicle throughout its life cycle, taking the time series data of multiple charges accumulated to reach the rated capacity of the battery as an equivalent charging cycle, to obtain multiple sample data;
[0079] Step 1012: construct a feature data set from multiple sample data.
[0080] The time series data set of the battery's full life cycle described in this article refers to the collection and recording of various data of the vehicle during its entire service life in accordance with certain standard formats and requirements, covering the relevant data of the vehicle throughout its life cycle from production to scrapping. The operation phase data includes various operation data of the vehicle during use, such as mileage, battery status, energy consumption, charging information, etc.
[0081] These data are very important for battery SOH prediction and diagnosis because they can provide detailed information about vehicle usage, battery performance changes, etc. Based on the time series data set of the full life cycle vehicle, various states and parameters of the battery at different stages are obtained, and training data for the model used to predict battery SOH is generated to analyze the battery SOH value. Since the data of the full life cycle vehicle introduces more factors that affect the battery SOH prediction, such as battery aging, changes in usage conditions, environmental factors, etc., the accuracy of the SOH prediction of the prediction model created by these data is improved.
[0082] On the other hand, according to the calculation of the basic prediction model, the time series data set based on the vehicle's full life cycle can trace back the data during the model training, tuning, prediction, and diagnosis process. The longer the traceback range, the higher the accuracy of the SOH prediction.
[0083] The equivalent charging cycle described in this article is determined by the total capacity of the battery accumulated over multiple charges. For example, assuming that the rated capacity of the battery is 100Ah, if it has accumulated 200Ah of electricity under different operating conditions, then it can be considered that this process is equivalent to two equivalent charge and discharge cycles. For another example, assuming that the rated capacity of the battery is 100Ah, and fully charged is 100%, if the battery is charged 30% for the first time, 40% for the second time, and 20% for the third time, then the first charge to the third charge is set as an equivalent charging cycle. By taking the time series data of multiple charges accumulated to reach the rated capacity of the battery as an equivalent charging cycle, the data in the time series data set of the full life cycle vehicle is divided to construct a feature data set.
[0084] In this embodiment, the equivalent charging cycle is determined by the total capacity of the battery accumulated through multiple charging operations, which accurately reflects the actual use of the battery and has the advantages of reliability and practicality.
[0085] Specifically, the process of data collection and processing includes the following steps:
[0086] Step a1: data collection.
[0087] As an example, historical data for evaluating the battery health status of a target vehicle transmitted under multiple communication protocols is obtained.
[0088] Specifically, for the design of the SOH prediction model, the customer needs to provide the data files (or time series data sets with time characteristics) of the target vehicle's full life cycle based on multiple communication protocols (such as GB / T32960-3 protocol, TSP protocol, etc.). The file format is not limited to .parquet files, .csv files, or .json files. The data file for SOH prediction must contain at least the following fields for evaluating the battery health status. The following fields will be used for data analysis and feature engineering:
[0089] The data fields of SOH prediction based on the 32960 protocol include but are not limited to: VIN, time and date, general alarm flag, maximum alarm level, maximum temperature probe value, minimum temperature probe value, temperature values detected by each temperature probe, maximum single cell voltage value, minimum single cell voltage value, each single cell voltage value, vehicle status, charging status, operating mode, speed, mileage, total power battery voltage, total power battery current, power battery SoC, charging status, and vehicle status.
[0090] The data fields of SOH prediction based on the Tsp protocol include but are not limited to: VIN, time and date, mileage, SOC, and SOH.
[0091] Step a2: Data cleaning.
[0092] As an example, data cleaning is performed on the historical data.
[0093] The original data provided by customers needs to be cleaned. The purpose of data cleaning is to ensure the quality and accuracy of the data. Through data cleaning, problems such as data errors, data formats, missing data, etc. can be solved to make the data suitable for subsequent analysis and application.
[0094] For data cleaning of the SOH prediction model, the following cleaning principles are adopted to ensure data continuity and availability:
[0095] Delete rows with dates exceeding the specified value to ensure the timeliness and accuracy of data;
[0096] Delete the invalid rows where both the maximum and minimum temperature probe values are 215 to eliminate the interference of abnormal conditions on the data;
[0097] Delete the invalid rows where both the highest single cell voltage value and the lowest single cell voltage value are 65.535 to eliminate possible measurement errors or abnormal conditions;
[0098] Delete invalid rows in the single cell list where 1 / 3 of the values are greater than 65.535, exclude possible abnormal data points, and ensure data quality;
[0099] Delete mileage: skip 5km in the previous and next frames (skip 5km in positioning) to eliminate mileage data anomalies caused by GPS positioning errors or data recording problems, and ensure data consistency and accuracy;
[0100] Delete SOC / SOH and values outside the range of 0 to 100 to ensure the rationality of the data.
[0101] It should be noted that the above cleaning principles are set according to actual needs and can be adaptively adjusted during actual use, and are not specifically limited here.
[0102] Step a3: Feature engineering.
[0103] As an example, feature extraction is performed on the cleaned data to extract effective feature parameters for reflecting the health status of the battery.
[0104] In machine learning tasks, feature engineering plays an important role, and its purpose is to transform raw data into more meaningful features that are more suitable for machine learning algorithms. This step will determine which features of the SOH prediction model learning data, that is, the input of the model. The first is the selection of features. In the actual application process of lithium-ion batteries, there are side reactions and irreversible active material losses, such as active material dissolution, electrolyte decomposition, and metal lithium deposition, which lead to irreversible decline in battery capacity. The application of batteries on the vehicle side can be reflected in driving data and charging data. Analyzing the driving habits and charging habits of different vehicles can extract effective features. Therefore, historical data for evaluating the health status of the battery transmitted by the target vehicle under multiple communication protocols is obtained. The historical data can include driving data and charging data to reduce the number and volume of the aforementioned data cleaning and feature extraction steps and improve data processing efficiency.
[0105] As an example, AVL recommends extracting effective features from raw data related to mileage, calendar, current, charging status, and temperature to reflect the battery's degradation performance. These data can reflect the battery's usage and performance changes.
[0106] BMS will upload a large amount of vehicle-side data to the cloud. The mileage represents the operation of the vehicle and can characterize the battery usage to a certain extent. The time date can be used to calculate the calendar life, and the difference between the current time and the initial time can represent the calendar decay of the battery. Similarly, by analyzing the charging data, the number of times the battery has been charged can be calculated based on the change in the charging state, and the integral of the charging current and time can also characterize the cumulative charging capacity of the battery. Therefore, relevant charging characteristics can be extracted based on the charging state, the total current of the power battery, the power battery SOC and the vehicle status.
[0107] Through the above analysis, the following data uploaded by "32960" including but not limited to can be extracted for the establishment of feature engineering.
[0108] Standard time, general alarm sign, maximum alarm level, maximum temperature probe value, minimum temperature probe value, temperature values detected by each temperature probe, maximum single cell voltage value, minimum single cell voltage value, voltage value of each single cell, vehicle status, charging status, mileage, total power battery voltage, total power battery current, power battery SOC.
[0109] Among them, the relevant characteristics (the units of the characteristics are shown in brackets) can be calculated by referring to the following method:
[0110] Mileage (km): refer to the vehicle-side mileage;
[0111] Calendar decay characteristics (day): current time - initial date;
[0112] Average driving distance per day (km / day): mileage / calendar;
[0113] Accumulated charging times: Calculate the number of parking charges according to the change of the charging status of the field;
[0114] Average charge start SOC: Record the SOC at the start of each charge to calculate the average charge start SOC.
[0115]
[0116] Average end-of-charge SOC: Record the SOC at the end of each charge to calculate the average end-of-charge SOC.
[0117]
[0118] Charging capacity (Ah): the integral of charging current and time,
[0119]
[0120] Charging times per 1000km: cumulative charging times / mileage / 1000;
[0121] Average charging current: Calculate the charging current.
[0122] By analyzing these characteristics, we can understand the battery usage and performance changes, thereby predicting the battery's SOH and diagnosing battery failures. This is of great significance for improving the battery's service life and safety.
[0123] Step a4: Data labeling.
[0124] As an example, first, the historical data under multiple communication protocols are merged according to the timestamp of each cleaned historical data, so that the merged data has a unified data format. That is, the Tsp data and the 32960 data are merged according to the timestamp.
[0125] Through this process, multi-source data of the vehicle is effectively acquired and integrated, providing accurate data for further combining the powerful learning ability of the machine learning model for battery SOH prediction and diagnosis, and providing more accurate battery SOH prediction and diagnosis. This improved accuracy helps to detect battery performance problems in a timely manner and prevent potential safety risks.
[0126] Furthermore, the fused data is deduplicated to obtain the time series data set. Deduplication after fusion of the data of the two protocols is a key step to ensure data consistency and accuracy. The data sources of different protocols are loaded into a unified data structure, and the data is formatted and cleaned to ensure a unified timestamp format and handle missing values and inconsistent data. Afterwards, the preprocessed data is deduplicated to avoid data redundancy. After deduplication, subsequent analysis tasks are simplified, making statistical analysis, machine learning model training and other tasks more efficient and accurate.
[0127] Next, based on the time series data set of the vehicle throughout its life cycle, the feature data corresponding to the effective feature parameters are extracted. The effective feature parameters for evaluating the battery SOH are determined through the aforementioned feature engineering steps, and the corresponding feature data are extracted from the fused and deduplicated data based on the effective feature parameters, which are used to subsequently fill in the feature data set to train the battery SOH prediction model.
[0128] Finally, taking the equivalent charging cycle as the unit, the characteristic data and the corresponding SOH value of each charging cycle are determined as a sample data to construct a characteristic data set. In other words, the time series data of multiple charging cycles accumulated to reach the rated capacity of the battery is taken as an equivalent charging cycle, and the characteristic data and the SOH value corresponding to the characteristic data are extracted from the fused and deduplicated data as the SOH value of the cycle. The characteristic data and SOH value of each charging cycle are taken as a sample data, and a characteristic data set for training the battery SOH model is constructed through multiple sample data.
[0129] It is worth noting that due to the precision loss problem of the SOH value uploaded by the vehicle, it is reflected as an integer in the data and remains unchanged for a long time. Therefore, the SOH value needs to be continuous to be used as the label of the feature data set.
[0130] Specifically, find the starting point of SOH change and the number of equivalent cycles corresponding to the starting point of SOH (whenever the charging capacity accumulates to the rated capacity of the battery, it can be considered as an equivalent cycle), make SOH continuous by linear interpolation, and use the continuous SOH value as the label of the feature data set, such as Figure 2 As shown, Figure 2 Schematic diagram of the serialization of the original vehicle-side SOH tag.
[0131] Through this method, the integer SOH value uploaded by the vehicle can be converted into a continuous numerical value, thereby improving the quality and accuracy of the feature data set.
[0132] In another embodiment, the step of taking the characteristic data and SOH value of each charging cycle in the time series data set as a sample data includes:
[0133] In the case where the time series of multiple charging are used as time steps, based on the time series data set, time series data of multiple time steps corresponding to an equivalent charging cycle are determined;
[0134] Determine characteristic data and SOH value of each charging cycle based on the battery history data of the plurality of time steps;
[0135] The characteristic data and SOH value of each charging cycle in the time series data set are taken as a sample data.
[0136] The equivalent charging cycle in this paper is determined by whether the total capacity accumulated from multiple charges reaches the rated capacity when fully charged. The time step can refer to the time series of multiple charges in an equivalent charging cycle. Therefore, an equivalent charging cycle includes battery history data of multiple charges, and the corresponding SOH value is determined by the battery history data. At this time, each charging cycle corresponds to at least one sample data including feature data and SOH value. In this way, the input features of each training sample contain battery history data of multiple time steps. For example, for the first time step, it can include relevant data of the first charging action, such as charging start time, charging end time, charging power, charging voltage, charging current, etc.; for the second time step, it can include similar data of the second charging action; and so on.
[0137] By taking the time series of multiple charges as time steps, the dynamic changes and historical information of the battery during the charging process can be captured in more detail. This may be beneficial for accurately predicting the health state of the battery, as different charging actions may have different effects on the performance and degradation of the battery.
[0138] In other embodiments, one equivalent charging cycle may also be regarded as a time step. In this case, the input feature of each training sample is feature data of one equivalent charging cycle, such as charging start time, charging end time, charging power, etc.
[0139] Specifically, the equivalent charging cycle can be set according to the availability of data, the design of the model, and the need for battery health state prediction. If the data contains detailed information on multiple charges, and this information is important for predicting the battery health state, then it may be more appropriate to use the time series of multiple charges as the time step. If the data mainly focuses on the overall characteristics of an equivalent charging cycle, it may be simpler and more direct to regard an equivalent charging cycle as a time step. In practical applications, the most appropriate time step definition method can be selected by experimenting and comparing the model performance under different time step definitions. At the same time, other features and technologies, such as the number of cycles, battery internal resistance, temperature changes, etc., can also be considered to further improve the accuracy of battery health state prediction.
[0140] Step a5: data partitioning.
[0141] Before training the SOH prediction model, the original feature data set needs to be divided into a training set and a test set. The training set is used for training and parameter adjustment of the SOH prediction model. The training set contains most of the data samples, enabling the SOH prediction model to learn the relationship between input features and output labels. The test set is used to finally evaluate the performance and generalization ability of the model. The test set should be mutually exclusive with the training set to verify the model's predictive ability for new data. Performance evaluation on the test set can help estimate the effectiveness of the model in practical applications. The feature data set is automatically divided using the tran_test_split method in the Pythonsklearn machine learning library. The reference code is as follows:
[0142] fromsklearn.model_selectionimporttrain_test_split
[0143] self.
[0144] Among them, X_data is the feature matrix in the original data set, Y_data is the label set in the original data set, test_size indicates the proportion of the test set, random_state is the random number seed, and the function returns four subsets after division, namely the feature matrix self.X_train of the training set, the feature matrix self.X_test of the test set, the label self.Y_train of the training set, and the label self.Y_test of the test set. These subsets can be used for model training, verification, and evaluation.
[0145] Step 2: Machine Learning Model Selection and Design
[0146] Select multi-layer perceptron (MLP) or support vector regression (SVR) as the SOH prediction model, and design the model interface according to the data characteristics and problem requirements.
[0147] The specific steps include:
[0148] Step b1: Model selection.
[0149] In the selection of the SOH prediction model, regression models can be used, such as Multi-layer Perceptron and Support Vector Regression, hereinafter referred to as MLP and SVR respectively. MLP is an artificial neural network model with multiple input, hidden and output layers. Each layer contains multiple nodes, which are connected by weights and use activation functions to transform the input. The specific steps of the MLP method are as follows:
[0150] Initialize weights and biases: Assign initial values to the connection weights and bias vectors of each neuron. Generally, the weights can be initialized randomly and the biases can be set to relatively small constants.
[0151] Forward propagation: Forward propagation includes a linear part and a linear activation part, and transmits information from the input layer to the output layer through a neural network: the input feature data is sent to the input layer, and the activation value in the hidden layer is calculated by multiplying it by the corresponding weight and adding the bias term. The activation function is applied to each neuron in the hidden layer to obtain the output of the hidden layer. The output of the hidden layer is then sent to the next layer, and the activation value is continued to be calculated until the output layer is reached.
[0152] Calculate loss: The loss function is used to calculate the cost error between the model's output and the label to measure the inaccuracy of the model's prediction.
[0153] Back propagation: According to the loss function, the weight of each connection in the grid is optimized through the back propagation algorithm to reduce the difference between the predicted value calculated by the loss function and the true value as the error gradient of the output layer, and the error gradient is back propagated from the output layer to the hidden layer, and the values of the weights and bias items are updated in combination with the error gradient through the gradient descent method or other optimization algorithms.
[0154] Repeat step: Repeat the forward propagation-backward propagation steps, and continuously adjust the weights and biases through multiple iterations of forward propagation and back propagation processes to minimize the loss function
[0155] Model evaluation and prediction: Use the trained MLP model to make predictions on new input data and evaluate model performance as needed.
[0156] SVR is also applicable to nonlinear problems. SVR uses kernel functions to map input features to high-dimensional space to handle nonlinear relationships. That is, SVR can capture more complex nonlinear patterns between input and output.
[0157] Kernel function selection: The kernel function defines the similarity between samples in the feature space. Select an appropriate kernel function for feature mapping and convert features from low dimensions to high dimensions.
[0158] Constructing the optimization problem: The optimization goal is to find an optimal hyperplane to optimize the model by maximizing the width of the interval band and minimizing the total loss.
[0159] Hyperparameter selection: Select appropriate hyperparameters, including the regularization parameter C and the parameters of the kernel function. The regularization parameter C controls the complexity and fault tolerance of the model, while the parameters of the kernel function can affect the flexibility and fitting ability of the model.
[0160] Solve the optimization problem: Use the optimization algorithm to solve the optimization problem constructed above and determine the support vector and hyperplane parameters.
[0161] Prediction: Use the hyperplane parameters and support vectors obtained in the above steps to predict new input samples. By calculating the similarity between the input sample and the support vector and its distance from the hyperplane, the regression prediction value can be obtained.
[0162] See the table below for an analysis of the advantages and disadvantages of the two methods.
[0163]
[0164]
[0165] In the Python sklearn machine learning library, you can model a multilayer perceptron or support vector regression by directly calling sklearn's class methods as shown below.
[0166] ·fromsklearn.neural_networkimportMLPRegressor#Import MLP
[0167] ·fromsklearn.svmimportSVR#Import SVR
[0168] ·…
[0169] self.model = MLPRegressor() #Use MLP
[0170] ·self.model=SVR()#Use SVR
[0171] Based on the above analysis, the MLP model was selected as the initial regression model.
[0172] Step b2: Based on the above SOH prediction model, the model interface obtains the input of the SOH prediction model according to the selected characteristic parameters, and the output of the prediction model is the prediction result. Figure 3 shown.
[0173] Step 3: Machine Learning Model Training and Tuning
[0174] The model is trained using the training set and hyperparameter optimization is performed through methods such as grid search and cross-validation to improve the performance and accuracy of the model.
[0175] In some embodiments, the feature data set is used as input features to train an initial regression model based on machine learning to obtain a battery health status prediction model. During the training process, the input features of each training sample include current sample data and backtracked sample data.
[0176] The specific machine learning model training and tuning includes the following steps:
[0177] Step c1: Model training
[0178] Based on the data processing process in step 1 above, a data set for model training is obtained. Based on the model selection and design process in step 2, an initial regression model can be obtained. This step mainly inputs the training set data to train the model. During training, only the fit method of the model object in Pythonsklearn can be called for training.
[0179] The following is a code example based on the MLP model.
[0180] fromsklearn.neural_networkimportMLPRegressor#Import MLP
[0181] …
[0182] self.model = MLPRegressor() #Use MLP
[0183] self.model.fit(X_train,Y_train)#Train using MLP's fit method
[0184] When instantiating the MLP model, you need to set the parameters corresponding to the model:
[0185] hidden_layer_sizes: indicates the number of hidden layers and the number of neurons in the hidden layer.
[0186] The number of hidden layers and the number of neurons in each layer. Defaults to (100).
[0187] Activation: represents the activation function. The activation function is introduced to make the transmission between hidden layers reach nonlinear combination, making the neural network suitable for nonlinear problems. Common activation functions are {'identity', 'logistic', 'tanh', 'relu'}, and the default is 'relu'. See the table below for an explanation of the activation function parameters.
[0188]
[0189]
[0190] Solver: weight optimizer. Common optimization algorithms include {'lbfgs', 'sgd', 'adam'}. The default is 'adam'.
[0191] See the table below for explanation of weight optimizer parameters.
[0192]
[0193]
[0194] alpha: alpha is the L2 regularization parameter in the MLPRegressor model, which is used to control the complexity of the model. The alpha parameter can prevent overfitting by limiting the size of the weights, thereby improving the generalization ability of the model.
[0195] learning_rate: This parameter is a learning parameter in the model, which is used to control the speed and stability of weight updates. The learning_rate determines the magnitude of weight updates at each iteration. Too large a learning rate will make it difficult for the model to converge, while too small a learning rate will cause the model to converge slowly. max_iter: max_iter is the iteration number parameter in the MLPRegressor model, which controls the maximum number of iterations in the training process. Each iteration includes forward propagation, loss function calculation, backpropagation, and weight updates.
[0196] random_state: Random seed parameter, the default is None.
[0197] The code example is as follows:
[0198] fromsklearn.neural_networkimportMLPRegressor#Import MLP
[0199] …
[0200] self.model = MLPRegressor(
[0201] hidden_layer_sizes=(50,99,100,80),activation='tanh',solver='lbfgs',
[0202] alpha=0.075,max_iter=301)#Use MLP
[0203] self.model.fit(X_train,Y_train)#Train using MLP's fit method
[0204] In one embodiment, the step of using the feature data set as input features, training an initial regression model based on machine learning, and obtaining a battery health state prediction model, wherein during the training process, the input features of each training sample include current sample data and backtracked sample data, includes:
[0205] According to a preset backtracking range, determine the backtracking sample data in the feature data set within the backtracking range before the current sample data;
[0206] The backtracked sample data is fused with the current sample data currently used for model training to obtain input features currently used for model training.
[0207] When training the model, the input features of each training sample can be the feature data and SOH value of each charging cycle as a sample data for training, or the sample data of the current charging cycle and the sample data traced back before the current charging cycle as input features for training.
[0208] By looking back at more historical data, we can capture more comprehensive trends and patterns in battery performance over time, which can help the model better understand the laws and dynamic characteristics of battery SOH changes over time and improve the accuracy of predictions.
[0209] As an example, use the existing data model to predict the battery SOH at the current moment. From the current moment, trace back a certain time range to obtain more historical data. Input the traced historical data into the data model to recalculate the battery SOH. Compare the predicted value at the current moment and the recalculated value after backtracking. If the difference between the two is large, it means that the interference value needs to be eliminated. Expanding the backtracking range can effectively reduce the interference, and it is necessary to continue backtracking. Repeat the backtracking steps until the difference between the predicted value and the recalculated value is small, or the backtracking time range reaches the set maximum value. Use the final predicted value as the estimated value of the battery SOH.
[0210] In this way, more historical data can be used to improve the accuracy of battery SOH prediction. The longer the time range of the lookback, the more historical data can be used, and the higher the accuracy of the prediction. However, the time range of the lookback cannot be too long, otherwise it may introduce too much noise and interference, which will reduce the accuracy of the prediction. Therefore, it is necessary to select an appropriate lookback time range according to the specific situation.
[0211] Step c2: Model tuning
[0212] Different combinations of parameters will affect the actual performance of the model. Since there are a large number of hyperparameter combinations, grid search and cross-validation methods can be used to automatically optimize hyperparameters. The grid search method requires listing the hyperparameters to be debugged in advance, and then trying all possible hyperparameter combinations to find the best hyperparameters. Cross-validation is to divide the training set into multiple subsets, perform training tests on different subsets, and evaluate the performance of the model under the current hyperparameter combination.
[0213] In the Python sklearn library, you can use the GridSearchCV method of the model_selection class to perform grid search and cross validation. During the grid search, the GridSearchCV method will try all the provided hyperparameter combinations and perform cross validation on each combination, and finally output the hyperparameter combination with the best performance and the corresponding performance evaluation results. The following code example uses MLP:
[0214] Fromsklearn.neural_networkimportMLPRegressor#Import MLP
[0215] fromsklearn.model_selectionimportGridSearchCV#Import grid search method
[0216] …
[0217] mlp_parameters = {
[0218] "activation":['identity','tanh','relu'],
[0219] "solver":['adam','sgd','lbfgs'],
[0220] "max_iter":[20,100,200,301],
[0221] "verbose": [True, False]
[0222] }#Hyperparameter combination
[0223] mlp=MLPRegressor()
[0224] estimator = GridSearchCV (mlp, mlp_parameters, cv = 3) # Use grid search method cv represents cross validation parameters
[0225] estimator.fit(X_training,y_training)
[0226] estimator.best_params_#Get the best hyperparameters
[0227] …
[0228] Step 4: Machine Learning Model Evaluation
[0229] After the SOH prediction model is trained, the model performance needs to be evaluated based on indicators such as mean absolute error (MAE), mean square error (MSE) and determination coefficient (R-Square) to determine the prediction effect and reliability of the model.
[0230] The SOH prediction model belongs to the regression prediction model, so the following evaluation methods can be considered:
[0231] MAE(Mean Absolute Error):
[0232]
[0233] The average deviation between the predicted value and the true value reflects the actual situation of the predicted value error.
[0234] MSE(Mean Square Error):
[0235]
[0236] The MSE value is the average of the sum of squares of the differences between each data and the true value. The smaller the MSE value, the better the accuracy of the prediction model.
[0237] R-Square (coefficient of determination):
[0238]
[0239] The denominator can be understood as the degree of dispersion of the original data, and the numerator is the error between the original data and the original data.
[0240] The closer it is to 1, the better the model prediction effect. The evaluation method is as follows:
[0241] fromsklearn.neural_networkimportMLPRegressor#Import MLP
[0242] fromsklearn.model_selectionimportGridSearchCV#Import grid search method
[0243] fromsklearn.metrics import mean_squared_error, r2_score # Import model evaluation method
[0244] …
[0245] mse_train = mean_squared_error(pred_train,Y_train) # Calculate the training set MSE
[0246] r2s_train=r2_score(pred_train,Y_train)#Calculate the training set R2mse_test=mean_squared_error(pred_test,Y_test)#Calculate the test set MSE
[0247] r2_test=r2_score(pred_test,Y_test)#Calculate the test set R2
[0248] Among them, the smaller the MSE value, the better the accuracy of the prediction model, thereby obtaining a battery SOH prediction model, which is used to predict the battery SOH based on the vehicle-side characteristic data corresponding to an equivalent charging cycle of the battery in the operating vehicle.
[0249] As an example, vehicle-side characteristic data corresponding to an equivalent charging cycle of a battery in a currently operating vehicle is received, and the battery health status prediction model is used to predict the battery health status of the battery after this charging cycle.
[0250] In this embodiment, by introducing machine learning model evaluation, potential problems and deviations of the model can be discovered in a timely manner, and corresponding measures can be taken to correct them. This evaluation mechanism helps to improve the reliability of the model and reduce the possibility of misjudgment and missed judgment.
[0251] In some embodiments, batteries of different brands and models may have different characteristics and behavior patterns, and existing models may find it difficult to adapt to such diversity. Another technical problem to be solved in this paper is how to enhance the generalization ability of the model so that it can be applicable to multiple different types of batteries.
[0252] Specifically, the battery health state prediction model has a corresponding relationship with the battery type, and multiple battery health state prediction models are obtained by independent training based on time series data sets of the full life cycle of multiple battery types.
[0253] The pool health status prediction method also includes:
[0254] Determine the type parameters of the battery currently used to predict the battery health status; the battery type parameters are used to characterize different vehicle models and battery types. Match the type parameters with the parameters of multiple battery types corresponding to multiple battery health status prediction models to match the target prediction model corresponding to the current battery; select a target prediction model that matches the current battery type from the multiple prediction models, and use the target prediction model to predict the target battery health status of the current battery, so as to achieve model application across vehicle models and battery types.
[0255] In this embodiment, the differences between different vehicle models and battery types are taken into account, so it can be widely applied to a variety of vehicles and battery systems. This cross-vehicle and cross-battery type compatibility makes the model have a wider market application prospect.
[0256] Step 5: Machine learning model iteration.
[0257] By introducing new data to update the existing model, in incremental learning, the new data can be used to partially train the model, improving the accuracy and generalization ability of the model.
[0258] In some embodiments, after obtaining the battery health status prediction model, the method further includes:
[0259] When a new time series data set is received, the battery health state prediction model is partially trained using data in the new time series data set to optimize the battery health state prediction model.
[0260] The above method updates the model parameters each time new data is received, and the model parameters are gradually updated to adapt to the new data, so that the model can continue to learn and improve. Compared with traditional training methods, local updates are more efficient and suitable for applications in dynamic data environments.
[0261] like Figure 4 As shown in the following iterative process, the model of the training number is exported as a .pkl file and saved. When a new training data set needs to be expanded, the .pkl file is loaded into the training environment, incremental learning is performed through partial_fit, and then the trained model is exported as a .pkl file, and the onnx model required for deployment is exported.
[0262] In the Python sklearn library, export the trained classifier as a .pkl file. Refer to the following code example.
[0263] ·import joblib#Import joblib library
[0264] ·…
[0265] ·joblib.dump(self.model,pkl_name) #self.model is the SOH prediction model object, pkl_name is the name of the exported pkl file.
[0266] ...When performing iterative incremental training, you can use the classifier method partial_fit for incremental learning, as shown in the following example.
[0267] ·import joblib#Import joblib library
[0268] ·…
[0269] ·self.model = joblib.load(pkl_name)#Import the previously generated pkl file and load the old model
[0270] ·self.model.partial_fit(X_train_new,Y_train_new) #X_train_new and Y_train_new represent new training sets
[0271] ...Export the trained classifier as an onnx model, as shown in the following example.
[0272] ·from skl2onnx import convert_sklearn
[0273] from skl2onnx.common.data_types import FloatTensorType
[0274] initial_type = [('float_input',FloatTensorType([None,10]))] # defines the SOH prediction model input, 10 feature values, and 10 inputs
[0275] ·onx=convert_sklearn(self.model,initial_types=initial_type)
[0276] ·with open("thermal_predict_model.onnx","wb")as f:
[0277] f.write(onx.SerializeToString())
[0278] like Figure 5As shown in Figure 1, non-incremental iterative learning is the process of training the model with a complete training data set. All available SOH data sets are input into the SOH prediction model for training at one time. When new vehicle operation data needs to be used to update the model, the new SOH data set is merged with the SOH historical data into a complete data set for training.
[0279] Through the above analysis, incremental iterative learning only uses part of the data to update the model in each iteration, which can greatly save computing resources and time compared to non-incremental learning that needs to process all the data. This is especially important for large-scale data sets or real-time learning tasks. In addition, incremental iterative learning can receive new data in real time and quickly update the model, which allows the model to adapt to dynamically changing data distribution or environment and maintain the real-time and effectiveness of the model. In many practical applications, the data distribution may change over time or as the input data is continuously updated. Incremental learning can better cope with this non-stationarity because it can learn new data in a timely manner, thereby maintaining the accuracy and generalization ability of the model. Therefore, this method performs local training on the battery SOH prediction model upon receiving new data to improve the accuracy and generalization ability of the model.
[0280] In some other embodiments, before partially training the battery health status prediction model with the data in the new time series data set, the method further includes:
[0281] When the data volume of the new time series data set exceeds a threshold set for partial training, the new time series data set is divided; and the battery health status prediction model is partially trained in batches using the data of the divided time series data set.
[0282] This method is suitable for receiving a large batch of new data at one time, and the battery SOH prediction model is updated when each new batch arrives.
[0283] In this embodiment, in order to continuously improve the performance and accuracy of the model, it is also necessary to iterate the machine learning model. The existing model is updated through incremental iterative learning or non-incremental iterative learning, and the trained model is exported as a .pkl file and an onnx model for deployment and use in practical applications.
[0284] Step 6: SOH Diagnosis
[0285] In some embodiments, after inputting the vehicle-side characteristic data into a battery health status prediction model and outputting the battery health status of the battery after the current charging cycle, the method further includes:
[0286] Obtain the SOH value uploaded by the vehicle end of the currently operating vehicle;
[0287] Performing a multi-dimensional comparison between the battery health status obtained by using the battery health status prediction model and the SOH value uploaded by the vehicle end; including horizontal comparison and vertical comparison;
[0288] When an abnormal condition is met, the battery health state obtained by using the battery health state prediction model is marked as abnormal, and a battery health state diagnosis result is output.
[0289] Specifically, Figure 6 As shown, based on the SOH prediction model obtained in the above steps, the cloud predicts the battery SOH based on the characteristic data input by the current operating vehicle, and compares it horizontally and vertically with the SOH value uploaded by the vehicle. If the SOH value of the current operating vehicle has reached the end of its life, it needs to be marked as abnormal. The diagnostic function also needs to judge the abnormal jump of the vehicle-side SOH and mark the abnormality when the difference between the cloud-predicted SOH and the vehicle-side SOH is too large.
[0290] The present application provides a battery health state prediction method, device and computer-readable storage medium. Based on a time series data set of vehicles throughout their life cycle, a feature data set is constructed in units of equivalent charging cycles. The feature data set is used as input features to train an initial regression model based on machine learning to obtain a battery health state prediction model. During the training process, the input features of each training sample include current sample data and backtracked sample data. Therefore, data can be backtracked during model training or prediction to improve the accuracy of the prediction. After obtaining the battery health state prediction model, vehicle-side feature data corresponding to an equivalent charging cycle of a battery in a currently operating vehicle is received, and the battery health state prediction model is used to predict the battery health state of the battery after this charging cycle, thereby achieving accurate prediction of the battery health state.
[0291] Based on the same application concept as the above method, the present application embodiment also proposes a battery health status prediction device, such as Figure 7 shown.
[0292] The device comprises:
[0293] The data acquisition module 706 is used to receive vehicle-side characteristic data corresponding to one equivalent charging cycle of the battery in the current operating vehicle;
[0294] A health state prediction module 708 is used to input the vehicle-side characteristic data into a battery health state prediction model and output the battery health state of the battery after the current charging cycle;
[0295] The health status prediction module 708 further includes a data processing submodule, which is used to construct a feature data set based on a time series data set of a vehicle throughout its life cycle, in units of equivalent charging cycles, and to use the feature data and SOH value of each charging cycle in the time series data set as a sample data;
[0296] The health status prediction module 708 also includes a model training submodule, which is used to use the feature data set as input features to train an initial regression model based on machine learning to obtain a battery health status prediction model. During the training process, the input features of each training sample include current sample data and backtracked sample data.
[0297] The implementation process of the functions and effects of each module / submodule / unit in the above-mentioned device is specifically described in the implementation process of the corresponding steps in the above-mentioned method, and the same technical effect can be achieved, so it will not be repeated here.
[0298] Figure 8 The following is a schematic diagram of the physical structure of a battery health status prediction device. Figure 8 As shown, the battery health state prediction device may include: a processor (processor) 810, a communication interface (CommunicationsInterface) 820, a memory (memory) 830 and a communication bus 840, wherein the processor 810, the communication interface 820, and the memory 830 communicate with each other through the communication bus 840. The processor 810 can call the logic instructions in the memory 830 to execute the battery health state prediction method.
[0299] In addition, the logic instructions in the above-mentioned memory 830 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art, and the computer 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 perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.
[0300] On the other hand, the present application also provides a computer program product, which includes a computer program. The computer program can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the battery health status prediction method provided by the above-mentioned methods.
[0301] On the other hand, the present application also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which is implemented when the computer program is executed by a processor to execute the battery health status prediction method provided by the above methods.
[0302] It should be noted that the technical solutions or technical features described in the above embodiments can be combined or supplemented with each other without causing conflicts. The scope of protection of this application is not limited to the precise structures described in the above embodiments and shown in the drawings; all modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of this application should be included in the scope of protection of this application.
Claims
1. A method for predicting battery health status, characterized in that: The method comprises: Receive vehicle-side characteristic data corresponding to one equivalent charging cycle of the battery in the current operating vehicle; Inputting the vehicle-side characteristic data into a battery health status prediction model, and outputting the battery health status of the battery after this charging cycle; The battery health status prediction model is obtained by a prediction model creation method, and the prediction model creation method includes: Based on the time series data set of vehicles throughout their life cycle, a feature data set is constructed in units of equivalent charging cycles, and the feature data and SOH value of each charging cycle in the time series data set are taken as a sample data; The feature data set is used as input features to train an initial regression model based on machine learning to obtain a battery health status prediction model. During the training process, the input features of each training sample include current sample data and backtracked sample data.
2. The battery health status prediction method according to claim 1, characterized in that: The time series data set based on the vehicle's full life cycle is used to construct a feature data set in units of equivalent charging cycles, and the feature data and SOH value of each charging cycle in the time series data set are used as a sample data, including: Based on the time series data set of vehicles throughout their life cycle, the time series data of multiple charges accumulated to reach the rated capacity of the battery is taken as an equivalent charging cycle to obtain multiple sample data; A feature dataset is constructed from multiple sample data.
3. The battery health status prediction method according to claim 2, characterized in that: The characteristic data and SOH value of each charging cycle in the time series data set are taken as a sample data, including: In the case where the time series of multiple charging are used as time steps, based on the time series data set, time series data of multiple time steps corresponding to an equivalent charging cycle are determined; Determine characteristic data and SOH value of each charging cycle based on the battery history data of the plurality of time steps; The characteristic data and SOH value of each charging cycle in the time series data set are taken as a sample data.
4. The battery health status prediction method according to claim 1, characterized in that: The method further comprises: According to a preset backtracking range, determine the backtracking sample data in the feature data set within the backtracking range before the current sample data; The backtracked sample data is fused with the current sample data currently used for model training to obtain input features currently used for model training.
5. The battery health status prediction method according to claim 1, characterized in that: Before constructing a feature data set based on a time series data set of vehicles throughout their life cycle in units of equivalent charging cycles, the method further includes: Acquire historical data for evaluating the health status of a battery of a target vehicle transmitted under multiple communication protocols; the historical data includes driving data and charging data; Performing data cleaning on the historical data; According to the timestamp of each cleaned historical data, the historical data under multiple communication protocols are merged so that the merged data has a unified data format; The fused data is deduplicated to obtain the time series data set.
6. The battery health status prediction method according to claim 5, characterized in that: After the historical data is cleaned, the method further includes: Perform feature extraction on the cleaned data to extract effective feature parameters that reflect the health status of the battery; The time series data set based on the vehicle's full life cycle is used to construct a feature data set in units of equivalent charging cycles, and the feature data and SOH value of each charging cycle in the time series data set are used as a sample data, including: Extracting characteristic data corresponding to the effective characteristic parameters based on a time series data set of vehicles throughout their life cycle; Taking the equivalent charging cycle as a unit, the characteristic data of each charging cycle and the corresponding SOH value are determined as a sample data to construct a characteristic data set.
7. The battery health status prediction method according to claim 1, characterized in that: Before constructing the feature data set, the method further includes: The SOH value is processed continuously.
8. The battery health status prediction method according to claim 1, characterized in that: After obtaining the battery health status prediction model, the method further includes: When a new time series data set is received, the battery health state prediction model is locally trained using data in the new time series data set to optimize the battery health state prediction model.
9. The battery health status prediction method according to claim 1, characterized in that: Before locally training the battery health status prediction model using data in the new time series data set, the method further includes: When the data volume of the new time series data set exceeds a threshold set for part of the training, the new time series data set is divided; The battery health status prediction model is partially trained in batches using the data of the divided time series data set.
10. The battery health status prediction method according to claim 1, characterized in that: The battery health state prediction model has a corresponding relationship with the battery type, and multiple battery health state prediction models are obtained by independent training based on time series data sets of the full life cycle of multiple battery types; The method further comprises: Determining type parameters of the battery currently used to predict the battery state of health; Matching the type parameter with parameters of multiple battery types corresponding to multiple battery health status prediction models to match a target prediction model corresponding to the current battery; The target prediction model is used to predict the target battery health state of the current battery.
11. The battery health status prediction method according to claim 1, characterized in that: After inputting the vehicle-side characteristic data into a battery health status prediction model and outputting the battery health status of the battery after the current charging cycle, the method further includes: Obtain the SOH value uploaded by the vehicle end of the currently operating vehicle; Perform a multi-dimensional comparison between the battery health status obtained by using the battery health status prediction model and the SOH value uploaded by the vehicle end; When an abnormal condition is met, the battery health state obtained by using the battery health state prediction model is marked as abnormal, and a battery health state diagnosis result is output.
12. A battery health status prediction device, characterized in that: It includes a memory, a processor, and a battery health state prediction program stored in the memory and executable on the processor. When the processor executes the battery health state prediction program, the steps of the battery health state prediction method as described in any one of claims 1 to 11 are implemented.
13. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a battery health state prediction program, which, when executed, implements the steps of the battery health state prediction method according to any one of claims 1 to 11.
Citation Information
Patent Citations
Estimation method and device of lithium battery health status, and storage medium
CN110068774A
Power battery health state and residual life prediction method based on big data
CN112904219A
Hydrogen fuel cell vehicle endurance mileage prediction method based on XGBoost algorithm
CN113352899A
Vehicle battery health state assessment method and device, equipment and storage medium
CN115267552A
Transform-based energy storage battery life prediction algorithm
CN115267575A
Cited By
Communication protocol test method and device, electronic equipment and storage medium
CN118972295A
Retired battery health state evaluation method and system based on auto-encoder
CN119535239A
Power battery health state management method and system of vehicle battery swap station
CN119689306A
Battery health state assessment method and system based on large model and sequence matching
CN119861291A
Battery degradation level prediction system
EP4741208A1
