Lithium primary battery capacity prediction method based on multi-layer sensor

Learning the nonlinear relationship between the characteristic parameters and capacity of lithium primary batteries through the multi-layer perceptron model solves the problem that traditional linear models are difficult to accurately predict the capacity of lithium primary batteries, achieving higher prediction accuracy and flexibility.

CN118707345APending Publication Date: 2024-09-27ZHEJIANG UNIV CITY COLLEGE
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410714824.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-04
Publication Date
2024-09-27

AI Technical Summary

Technical Problem

It is difficult for traditional linear models to accurately predict the capacity of lithium primary batteries. The correlation coefficient value between a single optimal prediction factor and battery capacity is lower than 0.5, and there is a nonlinear correlation, resulting in inaccurate prediction information.

Method used

A multi-layer perceptron-based lithium primary battery capacity prediction method is adopted. By extracting the characteristic parameters of lithium primary batteries, such as AC impedance value, open circuit voltage value and ohmic resistance value, a multi-layer perceptron model is designed, and these parameters are learned through training the model. Nonlinear relationship with capacity for capacity prediction.

Benefits of technology

Significantly improves the accuracy of lithium primary battery capacity prediction. Compared with traditional linear regression and empirical models, it provides a more flexible and customizable prediction model. It controls the number of prediction factors to adapt to different application scenarios, and the maximum error rate is controlled at 5 Within %.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118707345A
    Figure CN118707345A
Patent Text Reader

Abstract

The invention relates to a lithium primary battery capacity prediction method based on a multi-layer sensor. The method comprises the following steps: extracting characteristic parameters of a lithium primary battery; taking the characteristic parameters of the lithium primary battery as pre-measurement factors, and performing correlation analysis on the pre-measurement factors and the battery capacity; according to the pre-measurement factor, designing a multi-layer perceptron model, and training the multi-layer perceptron model; and predicting the capacity of the lithium primary battery according to the multi-layer sensor model. The method has the beneficial effects that the complex nonlinear relationship between the characteristic parameters of the lithium primary battery and the battery capacity can be learned by adopting the multi-layer sensor model, and compared with a traditional linear regression and empirical model, the accuracy of battery capacity prediction is remarkably improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of battery capacity prediction, and more specifically, to a lithium primary battery capacity prediction method based on a multi-layer perceptron. Background Art

[0002] Unlike lithium secondary batteries, lithium primary batteries have high power, high energy density and irreversible energy characteristics. Therefore, lithium primary batteries are prone to attenuation during experiments and it is difficult to derive capacity information.

[0003] Accurately predicting the capacity of lithium primary batteries is crucial to ensure the reliability and safety of the equipment. Traditional battery capacity prediction methods rely on linear model analysis. Through the correlation analysis of lithium primary battery capacity, the correlation coefficients of the optimal prediction quantity factor (PMF) of various lithium primary batteries can be obtained. However, the correlation coefficient value between a single PMF and the capacity of lithium primary batteries is less than 0.5. This result shows that there is a nonlinear correlation between PMF and battery capacity, and it is difficult to obtain accurate information on the initial capacity of lithium primary batteries with traditional linear models and analysis methods. Summary of the invention

[0004] The purpose of the present invention is to address the deficiencies of the prior art and to propose a lithium primary battery capacity prediction method based on a multi-layer perceptron.

[0005] In a first aspect, a lithium primary battery capacity prediction method based on a multi-layer perceptron is provided, comprising:

[0006] S1. Extract characteristic parameters of a lithium primary battery; the characteristic parameters of a lithium primary battery include an AC impedance value, an open circuit voltage value, a characteristic parameter weight value, and an ohmic resistance value;

[0007] S2. Using the characteristic parameters of the lithium primary battery as prediction factors, and performing correlation analysis between the prediction factors and battery capacity;

[0008] S3. Designing a multilayer perceptron model according to the prediction quantity factor, and training the multilayer perceptron model;

[0009] S4. Predicting the capacity of a lithium primary battery according to the multi-layer perceptron model.

[0010] Preferably, in S2, a Pearson correlation analysis is performed to determine the linear relationship between the capacity value of the lithium primary battery and each prediction factor; the expression is:

[0011]

[0012] Where X and Y represent any two variables. and represents the average value of variables X and Y, the subscript i represents the i-th sampling value, and n is the number of individuals in the population.

[0013] Preferably, S3 includes:

[0014] S301, design a single-layer perceptron model, the activation function of the single-layer perceptron model is:

[0015]

[0016] Among them, x1…x N Input value for the single-layer perceptron model, W j , W1…W N To assign weight values;

[0017] S302, creating a hidden layer between the input layer and the output layer of the single-layer perceptron model, establishing a multi-layer perceptron model, and training the multi-layer perceptron model; the hidden layer includes multiple single-layer perceptron models; the input variables of the multi-layer perceptron model are measurable variables of the lithium primary battery, including AC impedance value, open circuit voltage value and ohmic resistance value; the output variable of the multi-layer perceptron model is the capacity value of the lithium primary battery.

[0018] Preferably, in S302, the excitation function of the multilayer perceptron model is established using a rectifier linear function, and the expression is:

[0019]

[0020] Wherein, max(·) represents the maximum value function.

[0021] Preferably, in S302, when designing the multilayer perceptron model, the lithium primary battery capacity and multiple prediction factors are jointly matched to obtain a nonlinear relationship formula, which is expressed as:

[0022] C(P)=a0+a1P1+…+a n P n

[0023] Among them, C is the capacity value of the lithium primary battery, P is the prediction measurement factor, a represents the coefficient applied to different prediction measurement factors, and n is the number of different prediction measurement factor combinations.

[0024] Preferably, in S302, during model training, the cost function expression is:

[0025]

[0026] Where m is the number of training data and J(·) represents the cost function.

[0027] Preferably, in S302, during model training, the error value of capacity prediction is calculated in combination with the mean absolute error algorithm, and the expression is:

[0028]

[0029] Among them, n is the total number of sampled data, x i is the predicted value and x is the actual value.

[0030] Preferably, in S302, the number of prediction factor is controlled to form a multilayer perceptron model with different combinations of prediction factors.

[0031] In a second aspect, a lithium primary battery capacity prediction system based on a multilayer perceptron is provided, which is used to execute any of the methods described in the first aspect, including:

[0032] An extraction module is used to extract characteristic parameters of a lithium primary battery; the characteristic parameters of the lithium primary battery include an AC impedance value, an open circuit voltage value, a characteristic parameter weight value, and an ohmic resistance value;

[0033] An analysis module, used for taking the characteristic parameters of the lithium primary battery as a prediction factor, and performing a correlation analysis between the prediction factor and the battery capacity;

[0034] A design module, used for designing a multi-layer perceptron model according to the prediction quantity factor, and training the multi-layer perceptron model;

[0035] The prediction module is used to predict the capacity of the lithium primary battery according to the multi-layer perceptron model.

[0036] According to a third aspect, a computer storage medium is provided, wherein a computer program is stored in the computer storage medium; when the computer program is executed on a computer, the computer executes any method described in the first aspect.

[0037] The beneficial effects of the present invention are as follows: the present invention can learn the complex nonlinear relationship between the characteristic parameters of lithium primary batteries and the battery capacity by adopting a multi-layer perceptron model, and significantly improves the accuracy of battery capacity prediction compared to traditional linear regression and empirical models; and the present invention controls the number of prediction factors to form an MLP model with different combinations of prediction factors, which provides flexibility and customizability, so that the model can be adjusted according to different application scenarios and specific needs to achieve the best prediction effect. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] Figure 1 A flow chart for predicting the capacity of a lithium primary battery provided by the present invention;

[0039] Figure 2 A schematic diagram of the structure of a multi-layer perceptron provided by the present invention;

[0040] Figure 3 This is a schematic diagram of the lithium primary battery capacity prediction results based on the PMF distribution value and the MLP model provided by the present invention. DETAILED DESCRIPTION

[0041] The present invention is further described below in conjunction with embodiments. The description of the following embodiments is only used to help understand the present invention. It should be noted that for ordinary persons in the art, without departing from the principle of the present invention, the present invention can also be modified in some ways, and these improvements and modifications also fall within the scope of protection of the claims of the present invention.

[0042] Embodiment 1:

[0043] Embodiment 1 of the present application provides a lithium primary battery capacity prediction method based on a multilayer perceptron, designs a multilayer perceptron (MLP) model based on multiple nonlinear parameters, and classifies experimental data into training data and test data to verify the validity and reliability of the prediction model.

[0044] like Figure 1 As shown, the lithium primary battery capacity prediction method based on multi-layer perceptron includes:

[0045] S1. Extract characteristic parameters of a lithium primary battery; the characteristic parameters of a lithium primary battery include an AC impedance value, an open circuit voltage value, a characteristic parameter weight value, and an ohmic resistance value.

[0046] S2. Using the characteristic parameters of the lithium primary battery as prediction factors, and performing correlation data analysis on the prediction factors and battery capacity, including linearization research and artificial correlation analysis.

[0047] For example, a Pearson correlation analysis can be performed to determine the linear relationship between the capacity value of the lithium primary battery and each predictive factor. Pearson correlation describes the linear correlation between the variables to be analyzed in a parametric manner. The Pearson correlation coefficient quantifies the linear relationship between two variables X and Y. The correlation coefficient (correlation coefficient, CC) ranges between +1 and -1, where +1 indicates a completely positive linear relationship, 0 indicates no linear relationship, and -1 indicates a completely negative linear relationship. The correlation coefficient is calculated by dividing the covariance of the two variables by the product of equal standard deviations, and the expression is:

[0048]

[0049] Where X and Y represent any two variables. and represents the average value of variables X and Y, the subscript i represents the i-th sampling value, and n is the number of individuals in the population.

[0050] S3. Using a multi-parameter linear recursive algorithm, a battery capacity prediction method based on a multi-layer perceptron and prediction factors is designed.

[0051] Embodiment 2:

[0052] Based on Example 1, Example 2 of the present application provides a more specific lithium primary battery capacity prediction method based on a multilayer perceptron, including:

[0053] S1. Extract characteristic parameters of a lithium primary battery; the characteristic parameters of a lithium primary battery include AC impedance, open circuit voltage, characteristic parameter weight value and ohmic resistance value.

[0054] S2. Using the characteristic parameters of the lithium primary battery as prediction factors, and performing a correlation analysis between the prediction factors and the battery capacity.

[0055] For example, the present invention introduces the Pearson correlation analysis method to implement the correlation analysis between PMF and lithium primary battery capacity. Using about 99.7% of the dense data set on the x-axis, the correlation coefficient (CC) is re-determined for each PMF after removing the outliers.

[0056] S3. Designing a multilayer perceptron model according to the prediction quantity factor, and training the multilayer perceptron model.

[0057] In S3, the multilayer perceptron receives multiple signals and outputs one signal. The input signal can describe the characteristic parameters. Specifically, S3 includes:

[0058] S301, design a single-layer perceptron model, the excitation function (node ​​input function) of the single-layer perceptron model is:

[0059]

[0060] Among them, x1…x N Input value for the single-layer perceptron model, W j , W1…W N To assign weight values; the Net function defines that the node input function value is compared with a specific threshold. If the node input function result value is greater than the threshold, the output is 1; if the node input function result value is less than the threshold, the output is -1.

[0061] The multilayer perceptron algorithm requires a large amount of training data for evolutionary learning, and the output value of the training data has the eigenvalue corresponding to the training data. nThe output value of is y, then the output value y is converted to -1 or 1 through the activation function of the single-layer perceptron model. The single-layer perceptron algorithm cannot correctly train and learn nonlinear data. In this regard, the embodiment of the present application establishes a multi-layer perceptron model in S302.

[0062] S302, such as Figure 2 As shown, a hidden layer is created between the input layer and the output layer of the single-layer perceptron model, a multi-layer perceptron model is established, the training and learning problem of multi-eigenvalue nonlinear data is solved, and the multi-layer perceptron model is trained; the hidden layer includes multiple single-layer perceptron models; the input variables of the multi-layer perceptron model are measurable variables of the lithium primary battery, including AC impedance value, open circuit voltage OCV value and ohmic resistance value, etc.; the output variable of the multi-layer perceptron model is the capacity value CAP of the lithium primary battery.

[0063] In S302, the activation function of the multilayer perceptron model is established using the rectifier linear function, and the expression is:

[0064]

[0065] Wherein, max(·) represents the maximum value function.

[0066] When designing the hyperparameters of the MLP model, the nonlinear analysis and multivariate analysis of PMF are used to design the initial capacity prediction model. 70% of the experimental data are used as training data for model design, and the remaining 30% of the experimental data are used as test data for model verification. When adjusting the hyperparameters, 20% of the training data are used as verification data. Set the training data set size, and divide the entire training data set and the data batch unit size accordingly. At the same time, determine the learning speed based on the set data batch unit size. The present invention gives priority to the number of hidden layers and the number of nodes applied to the capacity model. According to the prior art, the number of hidden layers is set to 1 to 8, and the number of nodes in each layer is set to 128, 256, 512, 768 or 1024. Using 20% ​​of the verification data, the error value of the capacity model is calculated in combination with the mean absolute error (MAE) algorithm, and the expression is:

[0067]

[0068] Among them, n is the total number of sampled data, x i is the predicted value and x is the actual value.

[0069] In addition, when designing the MLP model, the input parameter factors must be selected. The MLP model is a multi-level algorithm model, and the increase in the number of control factors can improve the performance of the MLP algorithm.

[0070] The present invention designs models of multiple PMF combinations: (1) designing a model based on 7-PMF; (2) calculating the CC average values ​​of 7-PMF and lithium primary battery capacity, and designing a model based on the CC average value (in the present invention, the CC average value is the average value of 7 PMF correlation coefficient values); (3) obtaining a CC maximum value based on Pearson correlation analysis (in the present invention, the CC maximum value is the maximum value of 7 PMF correlation coefficient values), and designing a model based on 3-PMF; (4) designing a model based on 2-PMF.

[0071] At the same time, 70% of the experimental data points are selected as training data, and 30% of the experimental data points are selected as testing data.

[0072] The estimated capacity of the lithium primary battery proposed by the present invention is as follows Figure 3 As shown, the horizontal axis is the number of test data sampling values, the vertical axis is the lithium primary battery capacity value (unit Ah), the black dots represent the measured capacity value data, the yellow dots represent the predicted data based on the 7-PMF estimation model, the green dots represent the predicted data based on the 3-PMF estimation model (based on AC impedance, battery weight and ohmic resistance), and the purple dots represent the predicted data based on the 2-PMF estimation model (based on AC impedance and ohmic resistance). Table 1 shows the average absolute error of different estimation models, where 1-PMF is an estimation model based on battery weight. It can be seen from Table 1 that: (1) When the capacity estimation model is designed using 7-PMF and the corresponding test data as input values, the average error rate of lithium primary battery capacity prediction is 1.6%; (2) When the capacity estimation model is designed using 3-PMF (3 prediction factors) based on the average CC, the average error rate is reduced to 1.34%. The capacity estimation model designed using 1-PMF (1 prediction factor) based on the maximum CC has the highest estimation accuracy.

[0073] Table 1 Average absolute error of primary battery capacity prediction results using MLP model according to the combination type of PMF

[0074]

[0075] When designing the multi-layer perceptron model, the lithium primary battery capacity and multiple predictive factors are matched together to obtain a nonlinear relationship formula, which is expressed as:

[0076] C(P)=a0+a1P1+…+a n P n

[0077] Among them, C is the capacity value of the lithium primary battery, P is the prediction measurement factor, a represents the coefficient applied to different prediction measurement factors, and n is the number of different prediction measurement factor combinations.

[0078] The cost function is used to compensate the loss value of the MLR model and calculate the parameter value in the nonlinear relationship formula. The expression is:

[0079]

[0080] Where m is the number of training data and J(·) represents the cost function.

[0081] S4. Predicting the capacity of a lithium primary battery according to the multi-layer perceptron model.

[0082] Specifically, the present invention implements a capacity prediction method for a lithium primary battery, and the test method is as follows: (1) Apply an instantaneous alternating current to the lithium primary battery to obtain an alternating current impedance value and an open circuit voltage value (OCV). (2) Measure the weight of the lithium primary battery (in kg) to two decimal places. (3) Use a battery discharger to apply a constant low current to the lithium primary battery, and use the voltage curve to calculate the ohmic resistance value of different voltage platforms. (4) Predictive measurement factors (PMFs) are extracted, including 2 PMFs based on alternating current impedance, 1 PMF based on battery weight, and 4 PMFs based on ohmic resistance. (5) The extracted PMFs are used for lithium primary battery capacity correlation analysis and as input data for the MLP model. The present invention sets the number of hidden layers of the MLP model to 4, the number of nodes in each layer to 128, the epoch size of the MLP model to 200, and the batch size to 64.

[0083] The capacity prediction results of lithium primary batteries are shown in Table 2. Ten single cells were selected for cyclic charge and discharge experiments. The results show that: (1) the actual capacity values ​​of the 10 single cells are 3.20Ah-3.50Ah, and the predicted capacity values ​​are all above 3.30Ah; (2) the maximum AC impedance value of single cell #10 is 244mΩ, and the corresponding maximum absolute error value of capacity prediction is 14.1e-2; (3) Table 2 shows that the absolute error between the predicted value and the measured value of the lithium primary battery capacity is closely related to the AC impedance.

[0084] Table 2 Prediction results of lithium primary battery capacity

[0085]

[0086] In summary, the present invention designs a lithium primary battery capacity prediction method, uses PMF to predict the lithium primary battery capacity, and uses the Pearson correlation analysis method to obtain the correlation function between the battery capacity and PMF. The results show that the correlation coefficients of all PMFs are less than 0.5, which proves that PMF and battery capacity have a nonlinear relationship. The present invention introduces machine learning technology to solve the problem of the nonlinear relationship between PMF and battery capacity. The battery capacity prediction model is designed using the MLP model. When the training data reaches 70%, the error rate of the lithium primary battery capacity predicted by the MLP model is 1.34%, while the error rate of the lithium primary battery capacity predicted by the MLR model is 1.51%, which proves that the lithium primary battery capacity prediction based on the MLP model is more accurate. In addition, the capacity estimation method based on MLP improves the accuracy of capacity estimation as the number of training samples increases, and is controlled within a maximum error rate of 5%.

[0087] It should be noted that the parts in this embodiment that are the same or similar to those in Embodiment 1 can be referenced to each other and will not be described in detail in this application.

[0088] Embodiment 3:

[0089] Based on Example 2, Example 3 of the present application provides a lithium primary battery capacity prediction system based on a multi-layer perceptron, including:

[0090] An extraction module is used to extract characteristic parameters of a lithium primary battery; the characteristic parameters of the lithium primary battery include an AC impedance value, an open circuit voltage value, a characteristic parameter weight value, and an ohmic resistance value;

[0091] An analysis module, used for taking the characteristic parameters of the lithium primary battery as a prediction factor, and performing a correlation analysis between the prediction factor and the battery capacity;

[0092] A design module, used for designing a multi-layer perceptron model according to the prediction quantity factor, and training the multi-layer perceptron model;

[0093] The prediction module is used to predict the capacity of the lithium primary battery according to the multi-layer perceptron model.

[0094] Specifically, the system provided in this embodiment is a system corresponding to the method provided in Example 2. Therefore, the parts in this embodiment that are the same or similar to those in Example 2 can be referenced to each other and will not be repeated in this application.

Claims

1. A lithium primary battery capacity prediction method based on a multi-layer perceptron, characterized in that: include: S1. Extract characteristic parameters of a lithium primary battery; the characteristic parameters of a lithium primary battery include an AC impedance value, an open circuit voltage value, a characteristic parameter weight value, and an ohmic resistance value; S2. Using the characteristic parameters of the lithium primary battery as prediction factors, and performing correlation analysis between the prediction factors and battery capacity; S3. Designing a multilayer perceptron model according to the prediction quantity factor, and training the multilayer perceptron model; S4. Predicting the capacity of a lithium primary battery according to the multi-layer perceptron model.

2. The lithium primary battery capacity prediction method based on multi-layer perceptron according to claim 1, characterized in that: In S2, a Pearson correlation analysis is performed to determine the linear relationship between the capacity value of the lithium primary battery and each prediction factor; the expression is: Where X and Y represent any two variables. and represents the average value of variables X and Y, the subscript i represents the i-th sampling value, and n is the number of individuals in the population.

3. The lithium primary battery capacity prediction method based on multi-layer perceptron according to claim 1, characterized in that S3 include: S301, design a single-layer perceptron model, the activation function of the single-layer perceptron model is: Among them, x1…x N Input value for the single-layer perceptron model, W j , W1…W N To assign weight values; S302, creating a hidden layer between the input layer and the output layer of the single-layer perceptron model, establishing a multi-layer perceptron model, and training the multi-layer perceptron model; the hidden layer includes multiple single-layer perceptron models; the input variables of the multi-layer perceptron model are measurable variables of the lithium primary battery, including AC impedance value, open circuit voltage value and ohmic resistance value; the output variable of the multi-layer perceptron model is the capacity value of the lithium primary battery.

4. The lithium primary battery capacity prediction method based on multi-layer perceptron according to claim 3 is characterized in that: In S302, the activation function of the multilayer perceptron model is established using the rectifier linear function, and the expression is: Wherein, max(·) represents the maximum value function.

5. The lithium primary battery capacity prediction method based on multi-layer perceptron according to claim 4 is characterized in that: In S302, when designing the multi-layer perceptron model, the lithium primary battery capacity and multiple prediction factors are jointly matched to obtain a nonlinear relationship formula, which is expressed as: C(P)=a0+a1P1+…+a n P n Among them, C is the capacity value of the lithium primary battery, P is the prediction measurement factor, a represents the coefficient applied to different prediction measurement factors, and n is the number of different prediction measurement factor combinations.

6. The lithium primary battery capacity prediction method based on multi-layer perceptron according to claim 5, characterized in that: In S302, when the model is trained, the cost function expression is: Where m is the number of training data and J(·) represents the cost function.

7. The lithium primary battery capacity prediction method based on multi-layer perceptron according to claim 6 is characterized in that: In S302, during model training, the error value of capacity prediction is calculated by combining the mean absolute error algorithm, and the expression is: Among them, n is the total number of sampled data, x i is the predicted value and x is the actual value.

8. The lithium primary battery capacity prediction method based on multi-layer perceptron according to claim 7, characterized in that: In S302, the number of predictor factors is controlled to form a multilayer perceptron model with different combinations of predictor factors.

9. A lithium primary battery capacity prediction system based on a multi-layer perceptron, characterized in that: Used to perform the method according to any one of claims 1 to 8, comprising: An extraction module is used to extract characteristic parameters of a lithium primary battery; the characteristic parameters of the lithium primary battery include an AC impedance value, an open circuit voltage value, a characteristic parameter weight value, and an ohmic resistance value; An analysis module, used for taking the characteristic parameters of the lithium primary battery as a prediction factor, and performing a correlation analysis between the prediction factor and the battery capacity; A design module, used for designing a multi-layer perceptron model according to the prediction quantity factor, and training the multi-layer perceptron model; The prediction module is used to predict the capacity of the lithium primary battery according to the multi-layer perceptron model.

10. A computer storage medium, characterized in that: The computer storage medium stores a computer program; when the computer program is executed on a computer, the computer executes any one of the methods described in claims 1 to 8.

Citation Information

Cited By

  • Lithium ion battery health state prediction method based on impedance spectrum frequency band characteristics

    CN121633864A