Lead-acid storage battery capacity prediction method

By optimizing the selection of independent variables through multiple linear regression models and genetic algorithms, combined with data preprocessing of nuclear capacity discharge devices, the nonlinear problem of lead-acid battery capacity prediction is solved, accurate capacity decline trend prediction is achieved, and prediction accuracy is improved.

CN118584342APending Publication Date: 2024-09-03SCI & TECH BRANCH OF TAIZHOU HONGCHUANG ELECTRIC POWER GRP CO LTD +1
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202311625603.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-11-30
Publication Date
2024-09-03

AI Technical Summary

Technical Problem

Existing lead-acid battery capacity prediction methods are ineffective after frequent verification discharges. Traditional physical methods are inaccurate in prediction. Data mining-based methods require a large amount of data, resulting in reduced battery life, and cannot effectively handle the nonlinear relationship of lead-acid batteries.

Method used

A multiple linear regression model combined with a genetic algorithm is used to optimize the selection of independent variables through significance testing and nonlinear processing. A genetic regression model is constructed to predict lead-acid battery capacity. The nuclear capacity discharge device is used to collect data and perform data preprocessing.

Benefits of technology

It achieves accurate prediction of the capacity decline trend of lead-acid batteries with a small amount of calculation. It is found that ‘number of charge and discharge’, ‘temperature’ and ‘(number of charge and discharge)2’ have a significant impact on capacity decline, which improves the accuracy of prediction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure BDA0004580507950000141
    Figure BDA0004580507950000141
  • Figure BDA0004580507950000171
    Figure BDA0004580507950000171
  • Figure HDA0004580508080000041
    Figure HDA0004580508080000041
Patent Text Reader

Abstract

The invention discloses a method for predicting the capacity of a lead-acid storage battery. According to the method, key data of the lead-acid storage battery in the charging and discharging process is collected by utilizing a nuclear capacity discharging device, and the capacity of the lead-acid storage battery is predicted by processing the data. The method comprises the following steps: firstly, acquiring data generated in the charging and discharging process of the lead-acid storage battery, performing nonlinear processing on an initial independent variable according to the charging and discharging characteristics of the lead-acid storage battery, and expanding the range of the independent variable; independent variables with low capacity correlation are screened out through variable significance test; moreover, an optimal independent variable subset is selected for the multiple linear regression model through a genetic algorithm, and a genetic regression model (GAMR) is established to realize accurate prediction of the capacity decline trend of the lead-acid storage battery. Compared with a traditional multiple linear regression model, the more accurate capacity prediction method is provided, the capacity prediction requirement of the storage battery pack is met, and the storage battery performance monitoring and maintenance efficiency can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the field of battery capacity prediction, in particular to a lead-acid battery capacity prediction method. Background Art

[0002] As substations tend to develop towards intelligence, automation and unmanned operation, the importance of DC power supply in substations has become increasingly important. DC power supply is used to operate substation relay protection devices, switches, automation and other equipment. In daily operation, the DC power supply and battery power required by the substation are generally supplied by AC power through AC / DC converters; however, if AC power failure or rectifier system failure occurs, the battery pack, as the only DC power supply, needs to quickly supply power to the load and busbar to keep the DC system working reliably.

[0003] The Technical Regulations for Operation and Maintenance of Battery DC Power Supply Devices for Power Systems stipulate that all newly installed or overhauled valve-regulated lead-acid battery packs that have had their electrolyte replaced must be discharged for verification; thereafter, a verification discharge must be carried out every 2-3 years; and a verification discharge must be carried out once a year for valve-regulated lead-acid battery packs that have been in operation for more than 6 years.

[0004] In fact, due to the chemical characteristics of valve-regulated lead-acid batteries, the frequency of verification discharge once every 2-3 years after they are put into operation is far from enough, that is, the number of tests generally needs to be increased. As the use time increases, the capacity decay of lead-acid batteries will accelerate, and frequent verification discharges will lead to greater loss of battery capacity. Therefore, it is particularly important to effectively predict the capacity of lead-acid batteries.

[0005] At present, there are two main methods for capacity prediction of lead-acid batteries: those based on traditional physical principles and those based on data mining. Traditional physical methods mainly predict capacity based on the physical characteristics of batteries, but physical methods are not effective for prediction of valve-regulated lead-acid batteries; while the data mining method uses a large amount of data to extract information hidden in the data, establishes a model according to the design goals, and predicts future trends through historical data, omitting in-depth research on the physical principles of the target.

[0006] Patent CN110286331 invents a real-time battery status estimation device and method, which estimates the battery SOC by establishing a quantitative relationship between the battery status and the observed data. However, the quantitative relationship alone cannot effectively handle the nonlinear relationship of the lead-acid battery capacity; Patent CN102324582B invents a multifunctional lead-acid battery intelligent maintenance capacity prediction method, which predicts the lead-acid battery capacity by using a BP neural network based on genetic annealing optimization, but requires a large amount of data, and a large amount of data means that the battery needs to be charged and discharged many times, which will further reduce the battery life.

[0007] Therefore, the present invention starts from the needs of practical applications, improves the traditional multiple linear regression model, utilizes the significance test of variables and the genetic algorithm method and optimizes various variables that may affect the capacity of lead-acid batteries, and constructs a genetic regression model to predict the capacity of lead-acid batteries. Summary of the invention

[0008] In view of this, the purpose of the present invention is to provide a lead-acid battery capacity prediction method to provide a basis for battery performance monitoring and maintenance for substations.

[0009] The present invention provides a lead-acid battery capacity prediction method, which is implemented by the following steps: first, a nuclear capacity discharge device is used to perform a remote charge and discharge test on the lead-acid battery to collect data during the battery charge and discharge process. Then, a total control unit is used to predict the capacity of the lead-acid battery in combination with a lead-acid battery capacity prediction method and battery data provided by the nuclear capacity discharge device.

[0010] Preferably, a method for predicting the capacity of a lead-acid battery comprises the following steps:

[0011] S1. Collecting battery charge and discharge test data, where the test data is defined as initial independent variables, including the number of battery charge and discharge times, temperature, charge and discharge time, minimum voltage and maximum voltage during the charge and discharge process, etc.;

[0012] S2. Preprocess the collected original test data to obtain standardized data;

[0013] S3, performing nonlinear processing on the initial independent variables according to the battery charge and discharge characteristics, and jointly establishing an independent variable set for battery capacity prediction with the independent variables obtained by the processing and the initial independent variables;

[0014] S4. Use statistical methods to perform significance tests on each independent variable element of the independent variable set, eliminate independent variables that are not significantly correlated, and form a candidate independent variable set;

[0015] S5. Use genetic algorithm to optimize the combination of independent variables and obtain the best prediction model. In the optimization process, the coding part of the genetic algorithm is designed so that each coding bit represents the selection of the corresponding item in the candidate independent variable set of the model. The fitness function is the determination coefficient R of the multivariate linear regression model based on the combination of the independent variables selected by the current coding. 2 ;

[0016] S6. Select the best prediction model to predict the remaining capacity of the lead-acid battery.

[0017] Preferably, in the step S2, the consistency and reliability of the data are ensured by adopting a median filter or a LOESS method, the protruding peaks or abnormal fluctuations are smoothed, and the processed data are standardized by adopting a min-max normalization method.

[0018] Preferably, the nonlinear processing of the initial independent variables includes: square terms and cross product terms of the initial independent variables;

[0019] Preferably, in the step S3, the collected independent variables are subjected to nonlinear processing, and the processed independent variables are combined with the initial independent variables to jointly establish an independent variable set for battery capacity prediction, including: charge and discharge times, temperature, charge and discharge time, minimum voltage, maximum voltage, (charge and discharge times*temperature) 2 、(Charge and discharge times) 2 ,(temperature) 2 , cumulative charging time, number of charge and discharge times*minimum voltage, number of charge and discharge times*maximum voltage, minimum voltage*time, maximum voltage*time.

[0020] Preferably, in step S4, the significance test used is an F test, and the F test method tests the significance of the influence of each variable on the lead-acid battery capacity in the lead-acid battery capacity prediction method, and takes the P value as the standard. If it is greater than a set threshold, the independent variable is pre-screened out;

[0021] The candidate independent variable set obtained is: "charge and discharge times", "temperature", "minimum voltage", "maximum voltage", "(charge and discharge times) 2 ”, “Number of charge and discharge times*minimum voltage”.

[0022] Preferably, in step S5, the genetic algorithm selects the optimal independent variable subset, comprising the following steps:

[0023] S5-1. Significance test The selected candidate independent variable set elements are selected as the parameters to be optimized by the genetic algorithm, and binary encoding is performed on them. Each encoding bit represents the selection of the corresponding item in the model candidate independent variable set. 1 means that the variable is selected, and 0 means that the variable is not selected. Initialize multiple individuals according to the population size, where each individual represents a feature combination in the multivariate regression model.

[0024] S5-2. Define a fitness function that evaluates the performance of each individual on the multivariate regression model. The fitness function uses the evaluation indicators of the regression model, such as the coefficient of determination (R 2 ),

[0025] S5-3. According to the value of the fitness function, select a part of individuals as the parents of the next generation. The selection operation uses the roulette wheel selection method.

[0026] S5-4, perform mutation operations on the newly generated individuals, introduce some randomness, add or delete certain features in multiple regression, combine the newly generated individuals with the original population, and form a new generation of population.

[0027] S5-5, repeat the steps of selection, crossover, mutation and update until the stop condition is met and the predetermined number of iterations is reached, select the individual with the best fitness as the final feature combination, obtain the optimal independent variable subset after decoding, and build the final multivariate regression model, i.e., the prediction model, based on the independent variable subset;

[0028] Among them, the optimal independent variable subset corresponding to the best individual obtained includes: "charge and discharge times", "temperature" and "(charge and discharge times) 2 ”.

[0029] Preferably, the prediction model is cross-validated based on the training set and the test set, wherein the root mean square error (RMSE) and the squared correlation coefficient (R 2 )Evaluation indicators are used to evaluate the battery capacity prediction model.

[0030] Preferably, in step S1, a nuclear capacity discharge device is used to remotely perform charge and discharge tests on the lead-acid battery to collect basic operating data of the battery during the charge and discharge test of the lead-acid battery as test data.

[0031] Preferably, in step S1, the battery pack to be tested adopts a series-parallel connection mode of 3 groups*18 battery packs, and the core capacity discharge device is composed of an AC input, a rectifier, a DC load, a battery pack, a bidirectional DC / DC, etc.; the 3 parallel battery packs are independently charged and discharged, and the test data includes external characteristic parameters of the battery during charging and discharging.

[0032] In summary, the implementation of the present invention has the following beneficial effects:

[0033] This invention relates to a method for predicting the capacity of a lead-acid battery. Through extensive experiments and data testing, the initial independent variables are processed nonlinearly, successfully solving the problem that the initial variables cannot effectively fit the nonlinear downward trend of the battery capacity. Statistical methods are used to perform significance tests on each independent variable element of the independent variable set, eliminating certain independent variables that may not have a strong correlation with the dependent variable.

[0034] On the basis of the multiple linear regression model, a genetic algorithm is introduced to optimize the selection of independent variable combinations, thereby solving the problem of low accuracy in predicting the capacity decline trend of lead-acid batteries by the traditional multiple regression model. This method can accurately predict the capacity decline trend of lead-acid batteries with a small amount of calculation.

[0035] The research also found that the combination of the three independent variables "charge and discharge times", "temperature" and "(charge and discharge times)2" has a significant impact on the decreasing trend of lead-acid battery capacity, providing important clues for accurately predicting the capacity of lead-acid batteries. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] Figure 1 It is a general schematic diagram of the system of the present invention;

[0037] Figure 2 It is the overall flow chart of the method of the present invention;

[0038] Figure 3 This is a workflow diagram of the median filter processing method;

[0039] Figure 4 Processing workflow diagram for the LOESS method;

[0040] Figure 5 Flow chart of the significance screening method;

[0041] Figure 6 This is the prediction effect diagram when the model does not include temperature and charge and discharge times;

[0042] Figure 7 Add temperature and charge / discharge times prediction effect diagrams to the model;

[0043] Figure 8 This is a schematic diagram of the cross-validation method;

[0044] Fig. 9 This is a comparison chart of the capacity predictions of the two models;

[0045] In the figure: 1. Nuclear capacity discharge device; 2. General control unit; 101. AC input; 102. Battery pack;

[0046] 103. Bidirectional DC / DC; 1004. DC load; 105. Charge and discharge controller; 106. Rectifier; DETAILED DESCRIPTION

[0047] The preferred embodiments of the present invention are described in detail below in conjunction with the accompanying drawings, but the present invention is not limited to these embodiments. The present invention covers any substitution, modification, equivalent method and scheme made within the spirit and scope of the present invention.

[0048] In order to make the public have a thorough understanding of the present invention, specific details are described in detail in the following preferred embodiments of the present invention, but those skilled in the art can fully understand the present invention without these detailed descriptions.

[0049] like Figure 1 The figure shows a schematic diagram of a test system using a lead-acid battery capacity prediction method of the present invention, which includes two parts: a core capacity discharge device 1 and a general control unit 2.

[0050] The core capacity discharge device 1 includes data acquisition, monitoring and control of the charging and discharging process. Specifically, the core capacity discharge device 1 can collect relevant parameters such as the discharge capacity, voltage, current, temperature, etc. of the lead-acid battery in real time. In addition, the device can monitor the rate, duration and number of cycles of charging and discharging, and effectively manage the use of the battery. Through data acquisition and monitoring, the core capacity discharge device 1 provides the necessary input for the general control unit 2 for further analysis and prediction.

[0051] Specifically, the main control unit 2 is the core of the entire lead-acid battery capacity prediction method. It coordinates and manages the data from the core capacity discharge device 1, and performs data preprocessing, feature extraction, modeling and prediction operations. By combining the real-time collected data with the lead-acid battery capacity prediction method, the main control unit 2 can accurately predict the capacity attenuation trend of the lead-acid battery, thereby helping to optimize the battery use and maintenance strategy. This comprehensive method helps to improve the performance and reliability of the battery system.

[0052] The nuclear capacity discharge device 1 includes an AC input 101, a battery pack 102, a bidirectional DC / DC 103, a DC load 104, a charge and discharge controller 105 and a rectifier 106. The nuclear capacity discharge device 1 is divided into two steps: charging and discharging.

[0053] The voltage of the AC input 101 is 380V AC, which is rectified into 112V DC by the AC / DC rectifier 106. The charging current is I10 (30A for a 300Ah battery) until the voltage of the battery pack 102 reaches 42.3V (2.35V for a single cell) and then switches to constant voltage charging. The charging voltage is fixed at 42.3V, and the charging current gradually decreases. When the charging current is less than 0.1I10 (3A for a 300Ah battery), it switches to floating charging, and the charging voltage is 40.5V (2.25V for a single cell). If the system has no other instructions, the core capacity discharge device maintains a floating charge state.

[0054] During the discharge process, the charge and discharge controller 105 sends an active discharge command to provide energy for the DC load 104, while the AC input 101 works in a no-load state and no longer provides energy to the battery pack 102 until the battery voltage 102 is detected to drop below 32.4V and the discharge circuit is disconnected.

[0055] The 380V AC power of the AC input 101 is converted into 112V DC power after passing through the rectifier 106. At this time, the bidirectional DC / DC 103 is in Buck mode, and the bus charges the three battery groups 102. The charge and discharge controller 105 issues a discharge command to a battery group 102, and its bidirectional DC / DC 103 is in Boost mode and starts to discharge, while the other two battery groups 102 that are not fully charged remain in the charging state. When the voltage of the discharged battery group 102 drops to 32.4V, the discharge is terminated. The charge and discharge controller 105 issues a charging command, and the bidirectional DC / DC 103 of the discharged battery group 102 works in Buck mode and automatically recharges. When the charging is completed, it enters the floating charge state. If there is a fully charged battery group 102 in the remaining two groups, it is discharged, and the automatic charging is entered after the discharge is completed. The same is true for the last battery group 102, so that the battery groups 102 can be charged and discharged in turn.

[0056] like Figure 2 The figure shows the main process of the lead-acid battery prediction method, which mainly includes remote control of charging and discharging, collection of charging and discharging process data, data preprocessing, variable significance screening, analysis of genetic algorithm to select the best independent variable subset, establishment of prediction model, testing model prediction performance, and prediction of lead-acid battery capacity.

[0057] The present invention provides a method for predicting the capacity of a lead-acid battery, the main steps of which include:

[0058] S1. Collecting battery charge and discharge test data, where the test data is defined as initial independent variables, including the number of battery charge and discharge times, temperature, charge and discharge time, minimum voltage and maximum voltage during the charge and discharge process, etc.;

[0059] S2. Preprocess the collected original test data to obtain standardized data;

[0060] S3, performing nonlinear processing on the initial independent variables according to the battery charge and discharge characteristics, and jointly establishing an independent variable set for battery capacity prediction with the independent variables obtained by the processing and the initial independent variables;

[0061] S4. Use statistical methods to perform significance tests on each independent variable element of the independent variable set, eliminate independent variables that are not significantly correlated, and form a candidate independent variable set;

[0062] S5. Use genetic algorithm to optimize the combination of independent variables and obtain the best prediction model. In the optimization process, the coding part of the genetic algorithm is designed so that each coding bit represents the selection of the corresponding item in the candidate independent variable set of the model. The fitness function is the determination coefficient R of the multivariate linear regression model based on the combination of the independent variables selected by the current coding. 2 ;

[0063] S6. Select the best prediction model to predict the remaining capacity of the lead-acid battery.

[0064] The step S1 is to remotely control the nuclear capacity discharge device to perform charging and discharging and collect charging and discharging data:

[0065] S1-1: The remote control charging and discharging process utilizes the main control unit 2 to control the core capacity discharge device 1, and the user remotely selects to charge or discharge the battery pack 102, and after the selection, the charging and discharging control unit charges or discharges the battery pack 102.

[0066] S1-2: The charging and discharging process data collected can obtain the dischargeable capacity, minimum voltage, maximum voltage data, temperature of the battery pack 102 during the charging and discharging process through the core capacity discharge device 1, and count the number of charging and discharging times and the experimental duration.

[0067] The test data collected during the charge and discharge process are defined as initial independent variables, including the number of charge and discharge times of the battery, temperature, charge and discharge time, the lowest voltage and the highest voltage during the charge and discharge process, etc.

[0068] The S2 step preprocesses the test data:

[0069] The preprocessing includes: median filtering, LOESS smoothing and standardization of test data.

[0070] S2-1: Due to omissions in recording or environmental interference of the nuclear capacity discharge device 1, there are local anomalies in the curve, such as protruding peaks or violent fluctuations. In order to ensure the consistency and reliability of the data, the protruding peaks or abnormal fluctuations require data preprocessing 7, and the data preprocessing 7 uses a median filter or LOESS method for smoothing.

[0071] The median filter or LOESS method workflow is as follows Figure 3 , Figure 4 As shown, it may include inputting battery capacity historical data, setting window size, initializing an empty data set, median processing, LOESS processing, moving the window to the next acquisition point, and outputting smoothed time series data. The median processing is good at processing sudden protrusions or violent jitters, sorting the values ​​in the data, and selecting the value in the middle position as the smoothed value, while the LOESS processing can make the battery capacity historical data smoother, selecting a local data subset of the data in the window, fitting a local linear regression model based on the data points in the subset, calculating its predicted value under the window, and selecting the median as the smoothed value to reduce the impact of noise fluctuation data on the model prediction ability.

[0072] The median filter and LOESS smoothing process eliminate outliers, noise and sudden fluctuations while retaining the trend changes of the data.

[0073] S2-2: After data smoothing, the influence of the abnormal data and noise data can be eliminated. However, the battery capacity data after smoothing needs to be normalized by min-max. The capacity data is extracted from the sample time series data, and the voltage data is normalized by min-max. The normalization formula is as follows:

[0074]

[0075] Among them, x represents the original capacity value, y represents the normalized capacity value, and x min and x max These are the minimum and maximum values ​​in the capacity data. This process ensures that all capacity data fall within the same range, which helps improve the effectiveness of subsequent analysis or modeling.

[0076] Through this series of data preprocessing steps, including median filter and LOESS smoothing, as well as min-max normalization, outliers, noise and sudden fluctuations can be eliminated, while retaining the trend changes of battery capacity data, providing strong guarantees for the reliability and consistency of the data, and providing high-quality input data for further analysis and modeling.

[0077] The step S3 performs nonlinear processing on the initial independent variables according to the battery charge and discharge characteristics to establish an independent variable set for lead-acid battery capacity prediction, which is a key stage in the processing process:

[0078] According to the analysis of battery capacity characteristics, it can be seen that charging time, minimum voltage, maximum voltage, and cumulative charging time affect the decline of battery capacity. First, the above factors are used as independent variable inputs of the multivariate linear model of lead-acid battery capacity, and the lead-acid battery capacity is used as the dependent variable. The individual variables in the model are increased or decreased in turn to observe the model's prediction effect on lead-acid battery capacity. The test found that only using these factors as independent variables for modeling cannot obtain consistent prediction results. To this end, combined with expert experience, the observation range of factors affecting capacity prediction is further expanded; including parameters such as temperature and charge and discharge times.

[0079] like Figure 6 The figure shows the fitting results of the lead-acid battery capacity by the prediction model established when the temperature and charge and discharge times are not included in the model. It can be found that the capacity fitting effect is better in the early stage of lead-acid battery charge and discharge, but as the charge and discharge cycles increase, the downward trend of the lead-acid battery capacity cannot be effectively captured.

[0080] Comparison Figure 6 ,like Figure 7 The figure shows the fitting result of the lead-acid battery capacity after adding temperature and charge and discharge times to the model. Figure 6 It can be found that the capacity fitting effect of the lead-acid battery in the early stage of charge and discharge is also good, and the sudden capacity increase and decrease caused by the interaction of multiple factors such as internal chemical reactions and electrochemistry of the lead-acid battery can be fitted. However, it can be found that its overall fitting effect is still insufficient.

[0081] According to the above tests, it is found that simply increasing or decreasing the independent variables without properly processing the independent variables themselves cannot significantly improve the prediction effect. In the process of model optimization, it is necessary to consider more in-depth processing and analysis of the independent variables.

[0082] The interaction of multiple factors such as the internal chemical reaction and electrochemistry of the battery leads to a nonlinear trend in the actual capacity decline. In this case, it is not possible to effectively fit the capacity decline trend of the lead-acid battery by only using the first-order terms of the respective variables. Because not only the number of charge and discharge times and temperature affect the battery capacity, but other factors such as charging time, minimum voltage, maximum voltage, cumulative charging time, etc. will also affect the decline in battery capacity, and there is a nonlinear coupling relationship between different factors. Therefore, in order to more accurately capture these complex relationships, through repeated calculations, analysis and a large number of tests on the nuclear capacity test data of the substation, we found that the introduction of the square term and cross product term of the independent variable can improve the prediction effect.

[0083] Specifically, for the prediction of the dependent variable of battery capacity, the collected independent variables are processed nonlinearly, and the processed independent variables are combined with the initial independent variables to establish the independent variable set for battery capacity prediction, including: charge and discharge times, temperature, charge and discharge time, minimum voltage, maximum voltage, (charge and discharge times*temperature) 2 、(Charge and discharge times) 2 ,(temperature) 2 , cumulative charging time, number of charge and discharge times*minimum voltage, number of charge and discharge times*maximum voltage, minimum voltage*time, maximum voltage*time.

[0084] The independent variable set established in step S3 for battery capacity prediction is given that this is an independent variable set defined based on expert experience, and some independent variables may not have a strong correlation with the dependent variable. Therefore, the statistical method in step S4 is further used to perform a significance test on each variable, that is, a statistical method is used to perform a significance test on each independent variable element of the independent variable set, and independent variables that are not significantly correlated are eliminated to form a candidate independent variable set:

[0085] S4-1: Before establishing a prediction model, it is necessary to use a test method to compare the differences in independent variables or to judge the relationship between variables, which is the variable significance screening process. Figure 5 The flowchart of significance screening shown includes obtaining processed data, establishing an initial regression model, performing F tests on individual variables, calculating P values ​​for each variable, and screening variables.

[0086] The F test first assumes that there is no statistically significant relationship between any independent variable and the dependent variable, and uses the F test formula:

[0087]

[0088] F: represents a random variable with F distribution;

[0089] U: represents a random variable that follows a chi-square distribution with k degrees of freedom;

[0090] k: represents the degrees of freedom of the first chi-square distribution;

[0091] Q e : represents a random variable that follows a chi-square distribution with nk-1 degrees of freedom;

[0092] n: represents the degrees of freedom of the second chi-square distribution.

[0093] Get the F-distributed random variables of each variable, and find the F-distribution table or use statistical software to calculate the P value of the corresponding F statistic based on this value. The P value is used to represent the probability of observing such a significant difference in the samples when the null hypothesis is true. If the P value is less than the pre-set significance level, the null hypothesis can be rejected and it is believed that there is a significant difference between the samples. The P value significance level is usually 0.05.

[0094] The following table shows the P values ​​for all the above features:

[0095]

[0096] The above characteristics only have "charge and discharge times", "temperature", "minimum voltage", "maximum voltage", "(charge and discharge times) 2 ” and the P value of “charge and discharge times*minimum voltage” is less than 0.05.

[0097] S4-2: Use the F test method to test the significance of the influence of each variable in the lead-acid battery capacity prediction model on the valve-regulated lead-acid battery capacity, and the correlation between a certain independent variable and the model dependent variable, with the P value as the standard. If it is greater than the threshold, then there is no significance between the independent variable and the dependent variable, and the correlation is low, so this independent variable is pre-screened out.

[0098] After statistically testing the significance of each independent variable element in the independent variable set and eliminating insignificant independent variables, a candidate independent variable set is formed.

[0099] The candidate independent variable set obtained is: "charge and discharge times", "temperature", "minimum voltage", "maximum voltage", "(charge and discharge times) 2 ”, “Number of charge and discharge times*minimum voltage”.

[0100] The S5 step uses a genetic algorithm to optimize the selection of independent variable combinations to obtain the best prediction model:

[0101] S5-1. Significance test The selected candidate independent variable set elements are selected as the parameters to be optimized by the genetic algorithm, and binary encoding is performed on them. Each encoding bit represents the selection of the corresponding item in the model candidate independent variable set. 1 means that the variable is selected, and 0 means that the variable is not selected. Initialize multiple individuals according to the population size, where each individual represents a feature combination in the multivariate regression model.

[0102] S5-2. Define a fitness function that evaluates the performance of each individual on the multivariate regression model. The fitness function uses the evaluation indicators of the regression model, such as the coefficient of determination (R 2 ),

[0103] S5-3. According to the value of the fitness function, select a part of individuals as the parents of the next generation. The selection operation uses the roulette wheel selection method.

[0104] S5-4, perform mutation operations on the newly generated individuals, introduce some randomness, add or delete certain features in multiple regression, combine the newly generated individuals with the original population, and form a new generation of population.

[0105] S5-5, repeat the steps of selection, crossover, mutation and update until the stop condition is met and the predetermined number of iterations is reached, select the individual with the best fitness as the final feature combination, obtain the optimal independent variable subset after decoding, and build the final multivariate regression model, i.e., the prediction model, based on the independent variable subset;

[0106] As a preferred method, the best genetic algorithm parameters obtained after a large number of experiments and program tests are as follows:

[0107]

[0108] Among them, the optimal independent variable subset corresponding to the best individual obtained includes: "charge and discharge times", "temperature" and "(charge and discharge times) 2 ”

[0109] Each charge and discharge process triggers a chemical reaction inside the battery, resulting in the loss of active substances and changes in electrode materials. This is consistent with the selected "charge and discharge times" independent variable, because as the charge and discharge times increase, the active materials inside the battery gradually decrease, resulting in a decrease in capacity.

[0110] Temperature is another important factor that directly affects the capacity of lead-acid batteries. At higher temperatures, the chemical reactions inside the battery accelerate, resulting in increased consumption of active substances, which in turn leads to a decrease in battery capacity. This is consistent with the selected "Temperature" independent variable.

[0111] The selection of the independent variable "(charge and discharge times) 2" indicates that the effect of charge and discharge times on the capacity of lead-acid batteries is nonlinear. This means that as the number of charge and discharge times increases, the rate at which the capacity decreases will accelerate. This result is consistent with the actual situation, because the life of the battery will decrease as the number of charge and discharge times increases, resulting in a decrease in capacity.

[0112] The S6 step is to establish a lead-acid battery capacity prediction model:

[0113] S6-1, the process of establishing the prediction model 10 is to use the genetic algorithm to select the best subset of independent variables as the input of the multivariate regression prediction model, and perform cross-validation based on the training set and the test set.

[0114] like Figure 8The figure shows a schematic diagram of the cross-validation method, which divides the collected data set into 10 subsets, 9 of which are used as training sets and the remaining 1 subset is used as a test set. The cross-validation process is repeated 10 times, and a different validation set is selected each time, and 10 performance evaluation results are finally obtained. By averaging these results, the average performance index of the prediction model on different data subsets can be obtained.

[0115] exist Fig. 9 In the figure, the decline curves of the battery capacity prediction of the genetic regression model and the traditional multiple linear regression model as the number of charge and discharge cycles increases are shown. From the image observation, the traditional multiple linear regression model shows a good prediction effect in the first half, but as the number of charge and discharge cycles increases, it gradually loses the ability to capture the change trend of the battery capacity due to various internal factors, such as the sudden increase in capacity.

[0116] In contrast, the battery capacity prediction method based on the genetic regression model shows a better fit with the actual value. The model can effectively capture the characteristics of the actual valve-regulated lead-acid battery, such as the sudden increase in capacity due to multiple factors, and solve the problem that the traditional multivariate linear regression model is not effective in predicting the second half of the battery capacity.

[0117] S6-2, the prediction performance of the test model is tested using the root mean square error (RMSE) and the squared correlation coefficient (R 2 ).

[0118] The root mean square error (RMSE) is an indicator used to measure the degree of difference between the model's predicted values ​​and the actual observed values. It calculates the standard deviation of the prediction error and has the same units as the original observation data. The smaller the RMSE value, the better the model's predictive ability, that is, the smaller the difference between the predicted value and the actual value.

[0119]

[0120] The root mean square error (RMSE) is an indicator used to measure the degree of difference between the model's predicted values ​​and the actual observed values. It calculates the standard deviation of the prediction error and has the same units as the original observation data. The smaller the RMSE value, the better the model's predictive ability, that is, the smaller the difference between the predicted value and the actual value.

[0121] R 2 It is a commonly used statistic used to measure the proportion of the variation of the dependent variable that can be explained by the independent variable. Its value range is between 0 and 1. The closer it is to 1, the better the model fits the observed data, and the closer it is to 0, the poorer the model fits.

[0122]

[0123] R2 It is used to measure the explanatory power of the model on the dependent variable, that is, the proportion of the dependent variable variation that can be explained by the independent variable. At the same time, RMSE is used to measure the difference between the model prediction value and the actual observation value, that is, the prediction accuracy of the model. 2 The two evaluation indicators, RMS and RMSE, are used to comprehensively evaluate the accuracy of battery capacity prediction based on the genetic regression model.

[0124] The following table shows the average RMSE and R of the two models on the test set. 2 Evaluation comparison:

[0125]

[0126] The battery capacity prediction method based on genetic regression model selects the optimal subset of independent variables through variable screening and genetic algorithm, so that compared with the battery capacity prediction method based on traditional multivariate linear regression model, the RMSE is reduced from 1.70 to 0.24, a decrease of 85%, and R 2 It increased from 0.90 to 0.99, an increase of 10%.

[0127] The genetic regression model is selected as the optimal model to predict the battery capacity. After screening and optimization on the training set, the model has shown high prediction accuracy and better performance. Therefore, this model will be used to predict the capacity of lead-acid batteries.

[0128] During the prediction process, the actual test data collected by the nuclear capacity discharge device is input, including "charge and discharge times", "temperature" and "(charge and discharge times) 2 " and other information, and standardize it to maintain consistency with the data used in model training.

[0129] The selected optimal genetic regression model is used to make predictions based on the input data to obtain the capacity prediction value of the lead-acid battery.

[0130] Ultimately, this prediction value can be used to monitor and manage the performance of lead-acid batteries, and timely maintenance and replacement can be performed to ensure their normal operation and extend their life. This predictive model provides a powerful tool for the management and maintenance of lead-acid batteries, helping to reduce unnecessary downtime and repair costs and improve system reliability and efficiency.

[0131] The embodiments of the present invention are described above, but these embodiments are presented as examples and do not limit the scope of the invention. These embodiments can be implemented in various other ways, and various omissions, substitutions, combinations, and changes can be made without departing from the scope of the main purpose of the invention. These embodiments or their modifications are included in the scope or main purpose of the invention, and are also included in the invention described in the claims and their equivalents.

Claims

1. A method for predicting the capacity of a lead-acid battery, It is characterized in that The following steps are involved: S1. Collecting battery charge and discharge test data, wherein the test data is defined as initial independent variables, including the number of charge and discharge times, temperature, charge and discharge time, and the minimum and maximum voltages during the charge and discharge process of the battery; S2. Preprocess the collected original test data to obtain standardized data; S3, performing nonlinear processing on the initial independent variables according to the battery charge and discharge characteristics, and jointly establishing an independent variable set for battery capacity prediction with the independent variables obtained by the processing and the initial independent variables; S4. Use statistical methods to perform significance tests on each independent variable element in the independent variable set, eliminate insignificant related independent variables, and form candidate independent variable combinations; S5. Use genetic algorithm to optimize the combination of independent variables and obtain the best prediction model. In the optimization process, the coding part of the genetic algorithm is designed so that each coding bit represents the selection of the corresponding item in the candidate independent variable set of the model. The fitness function is the determination coefficient R of the multivariate linear regression model based on the combination of the independent variables selected by the current coding. 2 ; S6. Select the best prediction model to predict the remaining capacity of the lead-acid battery.

2. A lead-acid battery capacity prediction method according to claim 1, It is characterized in that In the S2 step, the data is processed by using a median filter or LOESS method, which smoothes the protruding peaks or abnormal fluctuations to ensure the consistency and reliability of the data, and the processed data is standardized by using the min-max normalization method.

3. A lead-acid battery capacity prediction method according to claim 1, It is characterized in that The nonlinear processing of the initial independent variables includes: the square term and the cross product term of the initial independent variables; In the step S3, the collected independent variables are subjected to nonlinear processing, and the processed independent variables are combined with the initial independent variables to jointly establish an independent variable set for battery capacity prediction, including: charge and discharge times, temperature, charge and discharge time, minimum voltage, maximum voltage, (charge and discharge times*temperature) 2 、(Charge and discharge times) 2 ,(temperature) 2 , cumulative charging time, number of charge and discharge times*minimum voltage, number of charge and discharge times*maximum voltage, minimum voltage*time, maximum voltage*time.

4. A lead-acid battery capacity prediction method according to claim 1, It is characterized in that In step S4, the significance test used is the F test, which tests the significance of the influence of each variable on the lead-acid battery capacity in the lead-acid battery capacity prediction method. The P value is used as a standard. If it is greater than a set threshold, the independent variable is pre-screened out. The candidate independent variable set obtained is: "charge and discharge times", "temperature", "minimum voltage", "maximum voltage", "(charge and discharge times) 2 ”, "Number of charge and discharge times*minimum voltage".

5. A lead-acid battery capacity prediction method according to claim 1, It is characterized in that In step S5, the genetic algorithm selects the optimal independent variable subset, including the following steps: S5-1. Significance test: The selected candidate independent variable set elements are selected as the parameters to be optimized by the genetic algorithm, and binary encoding is performed. Each encoding bit represents the selection of the corresponding item in the model candidate independent variable set. 1 means the variable is selected, and 0 means the variable is not selected. Initialize multiple individuals according to the population size, where each individual represents a feature combination in the multivariate regression model. S5-2. Define a fitness function that evaluates the performance of each individual on the multivariate regression model. The fitness function uses the evaluation indicators of the regression model, such as the coefficient of determination (R 2 ); S5-3. According to the value of the fitness function, a part of individuals are selected as the parents of the next generation, and the selection operation uses the roulette wheel selection method; S5-4, perform mutation operations on the newly generated individuals, introduce some randomness, add or delete certain features in multiple regression, combine the newly generated individuals with the original population, and form a new generation of population; S5-5, repeat the steps of selection, crossover, mutation and update until the stop condition is met and the predetermined number of iterations is reached, select the individual with the best fitness as the final feature combination, obtain the optimal independent variable subset after decoding, and build the final multivariate regression model, i.e., the prediction model, based on the independent variable subset; Among them, the optimal independent variable subset corresponding to the best individual obtained includes: "charge and discharge times", "temperature" and "(charge and discharge times) 2 ”.

6. A lead-acid battery capacity prediction method according to claim 1, It is characterized in that The following steps are also included: The prediction model was cross-validated based on the training set and the test set, using the root mean square error (RMSE) and the squared correlation coefficient (R 2 )Evaluation indicators are used to evaluate the battery capacity prediction model.

7. A lead-acid battery capacity prediction method according to any one of claims 1 to 6, It is characterized in that In the step S1, a nuclear capacity discharge device is used to remotely perform a charge and discharge test on the lead-acid battery to collect basic battery operation data during the charge and discharge test of the lead-acid battery as test data.

8. A lead-acid battery capacity prediction method according to claim 7, It is characterized in that In step S1, the battery pack to be tested adopts a series-parallel connection mode of 3 groups*18 battery packs, and the core capacity discharge device is composed of an AC input, a rectifier, a DC load, a battery pack, and a bidirectional DC / DC; the 3 parallel battery packs are independently charged and discharged, and the test data includes external characteristic parameters of the battery during charging and discharging.

Citation Information

Cited By

  • On-line discharge capacity checking system of direct current storage battery pack for station

    CN119414282A