Method for predicting service life of automobile battery

By comparing the attribute importance of battery state parameters and combining the mutation particle swarm optimization algorithm and SVM model, the problem of large calculation amount and low accuracy of existing automobile battery life prediction methods is solved, and more accurate life prediction and resource optimization are achieved.

CN118566751AInactive Publication Date: 2024-08-30CHANGCHUN VOCATIONAL INST OF TECH

Patent Information

Application Number
CN202411055656.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-02
Publication Date
2024-08-30
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing automotive battery life prediction methods are computationally intensive and complex, and are not very accurate, resulting in a waste of resources and potential safety hazards.

Method used

By comparing the attribute importance of multiple battery state parameters, combined with the mutation particle swarm optimization algorithm and SVM model, the prediction accuracy is improved.

Benefits of technology

The mean square error is reduced, the error distribution is concentrated, the prediction results are more accurate, and the adaptability is stronger, ensuring the effectiveness and convergence speed of the algorithm.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure QLYQS_65
    Figure QLYQS_65
  • Figure QLYQS_70
    Figure QLYQS_70
  • Figure QLYQS_38
    Figure QLYQS_38
Patent Text Reader

Abstract

The invention discloses a method for predicting the service life of an automobile battery, and relates to the technical field of new energy vehicles, and the method comprises the following steps: 1, collecting a plurality of battery state parameters at the current moment according to a sampling period; wherein the plurality of battery state parameters comprise lithium ion battery capacity, charge state, discharge voltage and charge voltage; 2, calculating the attribute importance degrees of the plurality of battery state parameters, and obtaining the battery state parameter with the maximum attribute importance degree; 3, inputting the battery state parameter with the maximum attribute importance degree into a mutation particle swarm optimization algorithm model to obtain a global optimal particle; and step 4, inputting the global optimal particles into an SVM model to obtain a life prediction value of the automobile battery. The method has the characteristic of improving the prediction accuracy.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of new energy vehicles, and more specifically, to a method for predicting the life of an automobile battery. Background Art

[0002] During the use of new energy electric vehicles, battery degradation is inevitable, and battery performance degradation is the most important factor causing driving safety issues for new energy electric vehicles. Battery performance continues to decline with increasing usage time. Continuing to use the battery in the later stages of degradation may even pose safety hazards and risks. Therefore, it is necessary to replace the battery in time before its performance degrades to the end of its life to ensure the safety and stability of the entire battery system. Therefore, prediction of the remaining battery life is a top priority in current research and development.

[0003] Existing methods for battery life prediction include model-based methods, data-driven methods, or fusion model-based methods. However, general methods are too computationally intensive and too complex. Even if some methods reduce the amount of computation, their accuracy is not high and the prediction results are not accurate enough. In addition, most methods will reduce the remaining capacity of the battery, resulting in a waste of resources. Summary of the invention

[0004] The purpose of the present invention is to design and develop a method for predicting the life of an automobile battery. By comparing the attribute importance of multiple battery status parameters, the accuracy of the data is improved. Combining the variant particle swarm optimization algorithm and the SVM model, the accuracy of the prediction is improved.

[0005] The technical solution provided by the present invention is: A method for predicting the life of a vehicle battery comprises the following steps: Step 1: Collect multiple battery status parameters at the current moment according to the sampling period; Wherein, the multiple battery status parameters include lithium-ion battery capacity, state of charge, discharge voltage and charge voltage; Step 2: Calculate the attribute importance of the multiple battery status parameters to obtain the battery status parameter with the greatest attribute importance; Step 3: inputting the battery state parameter with the greatest attribute importance into the variant particle swarm optimization algorithm model to obtain the global optimal particle; Step 4: input the global optimal particle into the SVM model to obtain the life prediction value of the automobile battery; Among them, the optimal regression function of the SVM model is: In the formula, is the kernel function, is the Lagrangian factor is the displacement term.

[0006] Preferably, the step 2 specifically includes: Step 1: discretizing the multiple battery status parameters; Step 2: Calculate the attribute importance of each condition attribute that directly affects the decision attribute; Step 3, calculate the attribute importance of each condition attribute's indirect influence on the decision attribute; Step 4: Obtain the final attribute importance of each conditional attribute based on the attribute importance of each conditional attribute directly affecting the decision attribute and the attribute importance of each conditional attribute indirectly affecting the decision attribute: ; In the formula, Conditional attributes The final attribute importance, Conditional attributes Decision attributes The importance of attributes that directly affect Conditional attributes The importance of attributes that indirectly affect the decision attributes, is a conditional attribute, , Step 5: Obtain the final battery status parameter with the greatest attribute importance.

[0007] Preferably, the step 2 is specifically: ; In the formula, Decision attribute Conditional attributes The degree of dependence, Decision attribute Except conditional attributes The degree of dependence of other conditional attributes.

[0008] Preferably, the step 3 is specifically: ; In the formula, Conditional attributes The importance of attributes that indirectly affect the decision attributes, is the number of conditional attributes.

[0009] Preferably, the step three further comprises: The battery status parameter with the greatest attribute importance is normalized: ; In the formula, is the normalized data. is the battery status parameter with the greatest attribute importance, is the minimum value of the battery status parameter with the greatest attribute importance, is the maximum value of the battery status parameter with the greatest attribute importance.

[0010] Preferably, the variant particle swarm optimization algorithm model includes: Step Ⅰ: Initialize the particle swarm and its parameters; Step II: Calculate the fitness value of each particle, and update the individual optimal position and the global optimal position according to the fitness value of each particle; Step III: Update the speed and position of the particles to obtain a new group; Step IV: When the particle speed is lower than the speed threshold, give the particle an acceleration so that the particle speed satisfies: ; In the formula, is the particle speed after acceleration, is the coefficient of variation, is a random number between (0,1), is the maximum speed; Step V: When the maximum number of iterations is reached, output the global optimal particle.

[0011] Preferably, the coefficient of variation is: .

[0012] Preferably, the step III is specifically: ; In the formula, For particles In the In the search The speed of the dimension, For particles In the In the search The location of the dimension, For particles In the The best position after searches, For the population in The global best position after searching is is the inertia weight, For particles In the After the search The speed of the dimension, is the first learning factor, is a random number between (0,1), is a random number between (0,1), For particles In the After the search The location of the dimension, is the second learning factor.

[0013] Preferably, the inertia weight satisfies: ; In the formula, is the maximum inertia weight, is the minimum inertia weight, is the current iteration number, is the maximum number of iterations.

[0014] Preferably, the kernel function satisfies: ; In the formula, Enter values ​​for the training samples, Enter values ​​for the training samples, is the radial basis kernel width.

[0015] The beneficial effects of the present invention are: The invention designs and develops a method for predicting the life of an automobile battery, which can improve the prediction accuracy, not only reduces the mean square error, but also makes the error distribution more concentrated, not only ensures the effectiveness of the algorithm, but also has a good convergence speed, and the prediction result is more accurate and more adaptable. DETAILED DESCRIPTION

[0017] The present invention is further described in detail below so that those skilled in the art can implement it according to the description.

[0018] The present invention provides a method for predicting the life of an automobile battery. When the available capacity of a lithium-ion battery decays to 80% of the rated capacity, the battery reaches EOL. The RUL of a lithium-ion battery is the number of remaining cycles from the current capacity to the battery aging end of life (EOL) threshold. Therefore, the method specifically includes the following steps: Step 1: Collect multiple battery status parameters at the current moment according to the sampling period; Wherein, the multiple battery status parameters include lithium-ion battery capacity, state of charge, discharge voltage and charge voltage; Step 2: Calculate the attribute importance of the multiple battery status parameters to obtain the battery status parameter with the greatest attribute importance, specifically including the following steps: Step 1: Multiple battery status parameters at the current moment Discretize each single attribute; In this embodiment, discretization processing is performed by using a K-means clustering algorithm.

[0019] Step 2: Calculate the attribute importance of each condition attribute that directly affects the decision attribute: ; In the formula, is a conditional attribute, is the importance of any condition attribute to the decision attribute, Decision attribute Conditional attributes The degree of dependence, specifically: ; In the formula, is the positive domain of the decision attribute, is the domain of the four-tuple, , represents a non-empty finite set of objects, and the four-tuple is , is a collection of attributes, is a collection of attribute values, is the information function, used to determine The property value of the object in .

[0020] The positive domain of the decision attribute is: ; In the formula, is a lower approximation; Step 3: Obtain the attribute importance of each condition attribute's indirect impact on the decision attribute: ; In the formula, Conditional attributes The importance of attributes that indirectly affect the decision attributes, is the number of conditional attributes.

[0021] Step 4: Get the final attribute importance of each conditional attribute: ; Step 5: Obtain the battery status parameter with the greatest attribute importance.

[0022] Step 3: normalize the battery status parameter with the greatest attribute importance: ; In the formula, is the normalized data, is the battery status parameter with the greatest attribute importance, is the minimum value of the battery status parameter with the greatest attribute importance, is the maximum value of the battery status parameter with the greatest attribute importance.

[0023] Step 4: Input the processed battery state parameter with the largest attribute importance into the mutant particle swarm optimization algorithm model; The variant particle swarm optimization algorithm model specifically includes: 1) Initialize the particle swarm and its parameters: The size of the particle swarm is The search space is Dimension, particle The location is , the particle speed is , the optimal position of the particle is , the optimal position of the particle swarm is ; In this example, the population size is 150, the number of iterations is 200, and the particle speed range is , randomly initialize the initial velocity of each particle and location .

[0024] 2) Calculate the fitness value of each particle, and update the individual optimal position and the global optimal position according to the fitness value of each particle: In the first iteration, the current position of each particle is set to the individual optimal position After the first iteration, the current position of each particle is compared with its historical optimal position. If the current position is better, it will be replaced. , otherwise the individual optimal position remains unchanged; the optimal values ​​of all individuals are the current global optimal position of the entire group For comparison, if the optimal value of an individual If it is better, replace it , otherwise the global optimal position remains unchanged; In this embodiment, the fitness function adopts the Rastrigin function.

[0025] 3) Update the speed and position of the particles to obtain a new group: In the formula, For particles In the In the search The speed of the dimension, For particles In the In the search The location of the dimension, For particles In the The best position after searches, For the population in The global best position after searching is is the inertia weight, For particles In the After the search The speed of the dimension, is the first learning factor, is a random number between (0,1), is a random number between (0,1), For particles In the After the search The location of the dimension, is the second learning factor; In this embodiment, the inertia weight satisfies: ; In the formula, is the maximum inertia weight, is the minimum inertia weight, is the current iteration number, is the maximum number of iterations.

[0026] In this embodiment, the value range of the inertia weight is The value range of the first learning factor and the second learning factor are both [0,4], usually .

[0027] 4) When the particle's speed is lower than the speed threshold, give the particle an acceleration so that the particle's speed satisfies: ; In the formula, is the particle speed after acceleration, is the coefficient of variation, is a random number between (0,1), is the maximum speed; The value of the coefficient of variation is: After the particles are accelerated, they will lose their recorded optimal positions and can only retain the optimal positions of the whole. At this time, the optimal position of the individual is: ; In the formula, is the current position of the particle after acceleration, is the optimal position of the particle after acceleration; 5) When the maximum number of iterations is reached, the global optimal particle is output, which is the SVM model parameter regularization parameter and radial basis kernel width .

[0028] Step 5: Input the global optimal particles output by the particle swarm optimization algorithm model into the SVM model to obtain the life prediction value of the automobile battery; Among them, the SVM model is specifically: The sample set is, Map the sample input space to the feature space: ; Construct the optimal regression function and use it in high space: ; In the formula, is the normal vector, is the displacement term; The objective function of the SVM model is: ; In the formula, is the regularization parameter, is the prediction error of the training sample in the model, which can be solved by the Lagrangian method: ; In the formula, is the Lagrange factor, and the partial derivative is: By solving the above formula, we can get the optimal regression function: ; In the formula, is a kernel function that satisfies: ; In the formula, is the radial basis kernel width.

[0029] The invention designs and develops a method for predicting the life of an automobile battery, which can improve the prediction accuracy. Compared with the existing prediction methods, the maximum mean square error of the invention is only 0.28, which is closer to the actual life of the automobile battery, and the error distribution is more concentrated, which not only ensures the effectiveness of the algorithm, but also has a good convergence speed and a more accurate prediction result.

[0030] Although the embodiments of the present invention have been disclosed as above, they are not limited to the applications listed in the specification and the implementation modes. They can be fully applied to various fields suitable for the present invention. For those familiar with the art, additional modifications can be easily implemented. Therefore, without departing from the general concept defined by the claims and the scope of equivalents, the present invention is not limited to the specific details and the embodiments shown and described herein.

Claims

1. A method for predicting the life of a vehicle battery, characterized in that: The steps include: Step 1: Collect multiple battery status parameters at the current moment according to the sampling period; Wherein, the multiple battery status parameters include lithium-ion battery capacity, state of charge, discharge voltage and charge voltage; Step 2: Calculate the attribute importance of the multiple battery status parameters to obtain the battery status parameter with the greatest attribute importance; Step 3: inputting the battery state parameter with the greatest attribute importance into the variant particle swarm optimization algorithm model to obtain the global optimal particle; Step 4: input the global optimal particle into the SVM model to obtain the life prediction value of the automobile battery; Among them, the optimal regression function of the SVM model is: In the formula, is the kernel function, is the Lagrangian factor, , is the displacement term.

2. The method for predicting the life of a vehicle battery as claimed in claim 1, characterized in that: The step 2 specifically includes: Step 1: discretizing the multiple battery status parameters; Step 2: Calculate the attribute importance of each condition attribute that directly affects the decision attribute; Step 3, calculate the attribute importance of each condition attribute's indirect influence on the decision attribute; Step 4: Obtain the final attribute importance of each conditional attribute based on the attribute importance of each conditional attribute directly affecting the decision attribute and the attribute importance of each conditional attribute indirectly affecting the decision attribute: ; In the formula, Conditional attributes The final attribute importance, Conditional attributes Decision attributes The importance of attributes that directly affect Conditional attributes The importance of attributes that indirectly affect the decision attributes, is a conditional attribute, , Step 5: Obtain the final battery status parameter with the greatest attribute importance.

3. The method for predicting the life of a vehicle battery as claimed in claim 2, characterized in that: The step 2 is specifically as follows: In the formula, Decision attribute Conditional attributes The degree of dependence, Decision attribute Except conditional attributes The degree of dependence of other conditional attributes.

4. The method for predicting the life of a vehicle battery as claimed in claim 3, characterized in that: The step 3 is specifically as follows: ; In the formula, Conditional attributes The importance of attributes that indirectly affect the decision attributes, is the number of conditional attributes.

5. The method for predicting the life of a vehicle battery according to claim 4, characterized in that: The step three also includes: The battery status parameter with the greatest attribute importance is normalized: ; In the formula, is the normalized data. is the battery status parameter with the greatest attribute importance, is the minimum value of the battery status parameter with the greatest attribute importance, is the maximum value of the battery status parameter with the greatest attribute importance.

6. The method for predicting the life of a vehicle battery as claimed in claim 5, characterized in that: The variant particle swarm optimization algorithm model includes: Step Ⅰ: Initialize the particle swarm and its parameters; Step II: Calculate the fitness value of each particle, and update the individual optimal position and the global optimal position according to the fitness value of each particle; Step III: Update the speed and position of the particles to obtain a new group; Step IV: When the particle speed is lower than the speed threshold, give the particle an acceleration so that the particle speed satisfies: ; In the formula, is the particle speed after acceleration, is the coefficient of variation, is a random number between (0,1), is the maximum speed; Step V: When the maximum number of iterations is reached, output the global optimal particle.

7. The method for predicting the life of a vehicle battery as claimed in claim 6, characterized in that: The coefficient of variation is: 。 8. The method for predicting the life of a vehicle battery as claimed in claim 7, characterized in that: The step III is specifically as follows: ; In the formula, For particles In the In the search The speed of the dimension, For particles In the In the search The location of the dimension, For particles In the The best position after searches, For the population in The global best position after searching is is the inertia weight, For particles In the After the search The speed of the dimension, is the first learning factor, is a random number between (0,1), is a random number between (0,1), For particles In the After the search The location of the dimension, is the second learning factor.

9. The method for predicting the life of a vehicle battery as claimed in claim 8, characterized in that: The inertia weight satisfies: ; In the formula, is the maximum inertia weight, is the minimum inertia weight, is the current iteration number, is the maximum number of iterations.

10. The method for predicting the life of a vehicle battery as claimed in claim 9, characterized in that: The kernel function satisfies: ; In the formula, Enter values ​​for the training samples, Enter values ​​for the training samples, is the radial basis kernel width.

Citation Information

Patent Citations

  • Lithium-ion battery remaining life prediction method

    CN110007240A

  • Power battery SOH estimation method based on data driving and multi-parameter fusion

    CN112630662A

  • Multi-target adaptive equalization control method for echelon utilization battery pack

    CN113572221A

  • Method and system for predicting remaining service life of battery and storage medium

    CN116774053A

  • StemGNN-based dynamic adjustment method for cycle life of power battery

    CN118094198A

Cited By

  • Battery liquid leakage detection method and detection system

    CN119688181A