A multi-threaded testing method and system for lithium battery electrochemical parameters

Through multi-threaded testing methods and iterative cycle optimization of the electrochemical parameters of lithium batteries, the complex and time-consuming calculations in the existing technology are solved, and more efficient parameter evaluation and real-time application of the model are achieved.

CN116298964BActive Publication Date: 2025-08-19SHANGHAI MAKESENS ENERGY STORAGE TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211549856.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-05
Publication Date
2025-08-19
Estimated Expiration
2042-12-05

AI Technical Summary

Technical Problem

In the prior art, the calculation of electrochemical parameters of lithium batteries is complex and time-consuming, resulting in limited real-time application of P2D models.

Method used

The multi-threaded testing method is adopted to generate the initial parameter set and neighborhood parameter set, and iterative cycles and temperature value updates are performed in combination with the electrochemical model, and the parameter set is gradually optimized, and the optimal parameter set is finally judged by the difference value.

Benefits of technology

It improves the calculation efficiency of the electrochemical parameters of lithium batteries, reduces the calculation time, realizes more accurate parameter evaluation, and supports the real-time application of P2D models.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116298964B_ABST
    Figure CN116298964B_ABST
Patent Text Reader

Abstract

The present invention discloses a multi-threaded testing method and system for electrochemical parameters, wherein the method includes: multi-threaded simultaneous calculation of the difference between the simulated battery operating condition generated by the original parameter set / neighboring threshold parameter set of the electrochemical model and the actual battery operating condition; calculating the receiving parameter based on the temperature value and the difference between the original parameter set / neighboring threshold parameter set; modifying the value of the original parameter set according to the size relationship between the receiving parameter and the random number, and performing an iterative cycle; when the number of loop iterations reaches a preset loop value, reducing the temperature value in the receiving parameter calculation formula; obtaining the optimal original parameter set for multiple threads through loop iteration and multiple rounds of updating the temperature value; and comparing the difference values calculated from the optimal original parameter sets of different threads to obtain the electrochemical parameter set. This method solves the problem of difficult electrochemical parameter evaluation by performing multi-threaded simultaneous calculations and controlling the temperature value to adjust the probability of selecting the original parameter set in different ranges, reducing the number of iterations.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of battery testing, and in particular to a multi-threaded testing method and system for electrochemical parameters of a lithium battery. Background Art

[0002] In 1993, Doyle and Newman jointly designed a physical model of lithium-ion batteries that can be used to simulate the entire battery structure. The P2D model was originally used to simulate solid-state lithium batteries, but because of its universality, it is now also widely used in the research of lithium-ion batteries. This model is the quasi-two-dimensions (P2D) model of lithium batteries, referred to as the P2D model. The establishment of the P2D model can encompass all the basic components of lithium-ion batteries, including electrodes (positive and negative electrodes), separators, electrolytes, and current collectors.

[0003] The P2D model can accurately simulate the electrochemical processes within lithium-ion batteries during charge and discharge. Its high accuracy and predictive nature allow it to capture the true operating conditions within the battery. However, it requires dozens of electrochemical parameters with real-world physicochemical significance, representing the material state within the lithium-ion battery. Obtaining these parameters is extremely challenging. Many experimental methods used to calculate these electrochemical parameters are destructive to lithium-ion batteries. Furthermore, the model suffers from high-order, nonlinear, and parameter-coupled problems, involving numerous highly coupled partial differential equations and computational complexity. This is particularly true during the electric field decoupling process, which requires calculating boundary value problems within these partial differential equations. These computational costs and slow speeds hinder the real-time application of the P2D model.

[0004] Currently, there is a need for an invention to solve the problem of difficulty in evaluating the electrochemical parameters of lithium batteries. Summary of the Invention

[0005] In order to solve the problem of large amount of calculation of electrochemical parameters in electrochemical models in the prior art, the present invention provides a multi-threaded testing method and system for lithium battery electrochemical parameters.

[0006] The electrochemical parameters that can be identified by the present invention include electrode area, positive electrode width, positive electrode active material space fraction, negative electrode width, negative electrode active material space fraction, diaphragm width, diaphragm electrolyte space fraction, maximum lithium concentration of positive electrode material, maximum lithium concentration of negative electrode material, positive electrode material particle radius, maximum lithium concentration of negative electrode material, positive electrode material particle radius, electrode material particle radius, positive electrode diffusion coefficient, negative electrode diffusion coefficient, positive electrode electrolyte space fraction, negative electrode electrolyte space fraction, liquid phase initial concentration, positive ion migration number, positive electrode material initial concentration, negative electrode material initial concentration, negative electrode material conductivity, and positive electrode material conductivity.

[0007] Specifically, the technical solution of the present invention is as follows:

[0008] In a first aspect, the present invention discloses a multi-threaded testing method for electrochemical parameters of a lithium battery, comprising:

[0009] A set of numbers generated by an initial set of lithium battery electrochemical parameters is selected as a first original parameter set, and different threads each randomly extract a parameter set in a neighborhood surrounding the first original parameter set as a first neighborhood parameter set;

[0010] Substituting the first original parameter set / first neighborhood parameter set and the control operating condition sequence of the lithium battery into the electrochemical model for evaluation to generate a simulated lithium battery operating condition sequence, wherein the control operating condition sequence is obtained by sampling the lithium battery;

[0011] Sampling an actual lithium battery operating condition sequence, and calculating a difference value between the simulated lithium battery operating condition sequence and the actual lithium battery operating condition sequence;

[0012] Calculating a first receiving parameter based on the temperature value, the difference value calculated by the first original parameter set, and the difference value calculated by the first neighborhood parameter set, randomly generating a first random number, and determining a magnitude relationship between the first random number and the first receiving parameter;

[0013] Iterating the first original parameter set using the second original parameter set to generate a second random number and a second received parameter in a relative magnitude, and then continuing the iterative loop until the number of iterations reaches a preset loop value, wherein the second original parameter set is assigned a value based on the relative magnitude of the first random number and the first received parameter;

[0014] When the number of loop iterations reaches a preset loop value each time, the number of loop iterations is reset, the temperature value is updated, and the temperature value in the above loop is updated using the temperature value after each round of update; until the temperature value reaches the preset temperature value after at least one round of update, the original parameter set of the current loop is used as the optimal original parameter set of one thread, and the lithium battery electrochemical parameter set is obtained based on the difference value calculated by comparing the optimal original parameter sets of different threads.

[0015] This implementation method executes the above steps through multi-threading, uses a continuously iterative original parameter set, controls the temperature value of the iterative original parameter set range, and calculates the electrochemical model of the simulated battery operating condition sequence corresponding to the original parameter set / neighborhood parameter set, and finally obtains the lithium battery electrochemical parameter set, solving the problem of difficulty in evaluating electrochemical parameters.

[0016] In some embodiments of the lithium battery electrochemical parameter testing method, the control operating condition sequence is one of the battery operating condition sequences, the battery operating condition sequence includes a voltage operating condition sequence, a current operating condition sequence and a temperature operating condition sequence, and the simulated battery operating condition sequence is the battery operating condition sequence generated by the electrochemical model except the control operating condition sequence.

[0017] When given one of the three battery operating condition sequences, this implementation method can obtain the other two battery operating condition sequences through the electrochemical model, can cope with different battery conditions, and in the following steps, respectively perform receiving parameter calculations on the other two battery operating condition sequences, and then iterate the loop separately, respectively update the temperature value, and finally obtain the two final original parameter sets. A more accurate lithium battery electrochemical parameter set can be obtained through the two final original parameter sets.

[0018] In some embodiments of the lithium battery electrochemical parameter testing method, the following are included:

[0019] The difference value is calculated by the difference quantification formula Where MSE is the difference value, n is the number of sampling time points, i is a positive integer, u sim , i is the battery operating condition value at the i-th time point of the simulated battery operating condition sequence, u real,i is the battery operating condition value at the i-th time point of the actual battery operating condition sequence.

[0020] The difference quantification calculation formula of this embodiment can analyze the advantages and disadvantages of the original parameter set / neighborhood parameter set corresponding to the simulated lithium battery operating condition curve.

[0021] Some embodiments of the method for testing the electrochemical parameters of lithium batteries include:

[0022] The calculation formula of the first / second receiving parameter is Wherein, P is the first / second receiving parameter, vc is the first / second original parameter set, vn is the first / second neighborhood parameter set, T is the temperature value, and MSE is the difference quantization calculation formula.

[0023] The calculation formula of the first / second reception parameter of this embodiment is used to control the probability of using the neighborhood parameter set as the original parameter set for the next iteration.

[0024] In some embodiments of the lithium battery electrochemical parameter testing method, the step of updating the temperature value includes:

[0025] Substitute the temperature value into the temperature cooling formula T = rT 前 Get the updated temperature value, T is the updated temperature value, T 前is the temperature value before this round of update, and r is the cooling rate.

[0026] This embodiment provides a temperature value updating method, which randomly selects a temperature value in each round that is less than the temperature value in the previous round multiplied by a fixed value, where the fixed value is the inverse of the cooling rate.

[0027] In some embodiments of the lithium battery electrochemical parameter testing method, the step of updating the temperature value includes:

[0028] Substitute the temperature value into the temperature update formula T=T Max *e -nv*j Get the updated temperature value, T is the updated temperature value, T Max is the inverse of the preset maximum value of the temperature value, nv is the number of parameters in the electrochemical parameters, and j is the number of times the temperature value is updated.

[0029] This embodiment provides another temperature value updating method, in which the temperature value gradually decreases as the number of iterations increases, and the probability of selecting a low temperature value gradually increases.

[0030] In some embodiments of the lithium battery electrochemical parameter testing method, after the step of updating the temperature value in the above cycle using the updated temperature value in each round, the method further includes:

[0031] Until at least one round of updates has passed,

[0032] The temperature value reaches the preset temperature value,

[0033] or the temperature value is updated a number of times reaching a preset temperature update number,

[0034] Or the difference value calculated by the original parameter set of the current cycle reaches the preset difference value,

[0035] Take the original parameter set of the current loop as the optimal original parameter set of a thread;

[0036] This embodiment provides two other conditions for determining the optimal original parameter set of a thread.

[0037] In a second aspect, the present invention discloses a lithium battery electrochemical parameter testing system, comprising:

[0038] Parameter set generation module: used to select a set of numbers generated by an initial lithium battery electrochemical parameter as a first original parameter set, and different threads each randomly extract a parameter set in the neighborhood surrounding the first original parameter set as a first neighborhood parameter set;

[0039] Electrochemical model module: used to substitute the first original parameter set / first neighborhood parameter set and the control operating condition sequence of the lithium battery into the electrochemical model module for evaluation to generate a simulated lithium battery operating condition sequence, where the control operating condition sequence is obtained by sampling the lithium battery;

[0040] A difference calculation module is used to calculate the difference between the simulated battery operating condition sequence and the actual battery operating condition sequence after sampling the actual battery operating condition sequence;

[0041] A calculation and judgment module is configured to iterate the first original parameter set using the second original parameter set, generate a second random number and a second received parameter in a magnitude relationship through the electrochemical model module and the difference calculation module, and then continue iterating until the number of iterations reaches a preset value, wherein the second original parameter set is assigned based on the magnitude relationship between the first random number and the first received parameter;

[0042] A temperature updating module is configured to reset the number of loop iterations and update the temperature value each time the number of loop iterations reaches a preset loop value in the calculation and judgment module, and to use the temperature value after each round of update to update the temperature value used in the above loop;

[0043] Output module: until the temperature value reaches the preset temperature value after at least one round of update, or the number of updates of the temperature value reaches the preset number of updates, or the difference value calculated by the original parameter set of the current cycle reaches the preset difference value, the original parameter set of the current cycle is used as the optimal original parameter set of one thread, and the lithium battery electrochemical parameter set is obtained according to the difference values calculated by comparing the optimal original parameter sets of different threads.

[0044] This implementation method simultaneously executes the above modules through multiple threads, performs an iterative loop on each thread separately, updates the original parameter set and temperature value in each iterative loop, and the original parameter set obtained by a single thread in the last round is the optimal original parameter set of the single thread. Finally, the optimal original parameter set of multiple threads is judged by the difference value and used as the electrochemical parameter, thereby solving the problem of difficulty in evaluating the electrochemical parameters.

[0045] In some embodiments of the lithium battery electrochemical parameter testing system, the following are included:

[0046] The calculation formula of the first / second receiving parameter is Where P is the first / second receiving parameter, vc is the first / second original parameter set, vn is the first / second neighborhood parameter set, T is the temperature value, and MSE is the difference quantization calculation formula In the difference quantization calculation formula, n is the number of sampling time points, i is a positive integer, and u sim,iis the battery operating condition value at the i-th time point of the simulated battery operating condition sequence, u real,i is the battery operating condition value at the i-th time point of the actual battery operating condition sequence.

[0047] The present invention also provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the method for testing the electrochemical parameters of a lithium battery according to any one of claims 1 to 7 is implemented.

[0048] Compared with the prior art, the present invention has at least one of the following beneficial effects:

[0049] 1. The present invention evaluates electrochemical parameters through multiple threads, performs an iterative loop on each thread separately, updates the original parameter set and temperature value during the iterative loop, and the original parameter set obtained in the last round of iterative loop is the optimal original parameter set of a single thread. Finally, the optimal original parameter set of multiple threads is determined by comparing the difference values and used as the electrochemical parameter, thereby solving the problem of difficulty in evaluating electrochemical parameters.

[0050] 2. The present invention calculates the simulated operating condition curve corresponding to the original parameter set of the current cycle through a difference quantification calculation formula, and can determine the error size of the original parameter set through the size of the difference value.

[0051] 3. The present invention quantitatively calculates the probability of the neighborhood parameter set replacing the original parameter set for the next cycle iteration through the calculation formula of the received parameters. BRIEF DESCRIPTION OF THE DRAWINGS

[0052] The preferred embodiments will be described below in a clear and understandable manner with reference to the accompanying drawings to further illustrate the above-mentioned characteristics, technical features, advantages and implementation methods of the present invention.

[0053] Figure 1 This is a flow chart of an embodiment of a multi-threaded testing method for electrochemical parameters of a lithium battery according to the present invention;

[0054] Figure 2 This is a flow chart of an embodiment of a multi-threaded testing method for electrochemical parameters of a lithium battery according to the present invention;

[0055] Figure 3 This is a system block diagram of an embodiment of a multi-threaded testing system for electrochemical parameters of a lithium battery according to the present invention;

[0056] Explanation of the accompanying figures: 10 - parameter set generation module; 20 - electrochemical model module; 30 - difference calculation module; 40 - calculation judgment module; 50 - temperature update module; 60 - output module. DETAILED DESCRIPTION

[0057] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the specific embodiments of the present invention will be described below with reference to the accompanying drawings. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings and other embodiments can be obtained based on these drawings without inventive work.

[0058] To simplify the drawings, only portions relevant to the invention are schematically depicted in each figure; they do not represent the actual structure of the product. Furthermore, to simplify the drawings and facilitate understanding, in some figures, only one component with the same structure or function is schematically depicted or labeled. In this document, "one" not only means "only one" but also "more than one."

[0059] It should be further understood that the term "and / or" used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.

[0060] It should be noted that, unless otherwise specified or limited, the terms "mounted," "connected," and "connected" should be understood broadly. For example, they can refer to fixed, detachable, or integral connections; mechanical or electrical connections; direct or indirect connections through an intermediary; and internal communication between two components. Those skilled in the art will understand the specific meanings of these terms in the present invention based on the specific circumstances.

[0061] In addition, in the description of the present application, the terms "first", "second", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance.

[0062] In one embodiment, the reference Figure 1 The present invention provides a multi-threaded testing method for electrochemical parameters of a lithium battery, comprising:

[0063] S101 selects a set of numbers generated by an initial set of lithium battery electrochemical parameters as a first original parameter set, and assigns an initial value of 1 to k.

[0064] The initial electrochemical parameters of the lithium battery in step S101 may be the factory electrochemical parameters of the lithium battery or the electrochemical parameters of the lithium battery calculated last time.

[0065] S102: Different threads each randomly extract a parameter set in a neighborhood surrounding the first original parameter set as a first neighborhood parameter set.

[0066] Step S102 starts extracting neighborhood parameter sets simultaneously through multiple threads to quickly find the optimal original parameter set.

[0067] S103 substitutes the kth original parameter set / kth neighborhood parameter set and the control operating condition sequence of the lithium battery into the electrochemical model for evaluation to generate a simulated lithium battery operating condition sequence, where the control operating condition sequence is obtained by sampling the lithium battery.

[0068] S104 samples an actual lithium battery operating condition sequence, and calculates a difference value between the simulated lithium battery operating condition sequence and the actual lithium battery operating condition sequence.

[0069] The difference value in step S104 is a criterion for judging whether the currently selected kth initial parameter set is a local optimal solution, a global optimal solution, and the final electrochemical parameter. The larger the difference value, the worse the kth initial parameter.

[0070] S105 calculates the kth receiving parameter based on the temperature value, the difference value calculated by the kth original parameter set, and the difference value calculated by the kth neighborhood parameter set, and randomly generates a kth random number to determine the size relationship between the kth random number and the kth receiving parameter.

[0071] The kth random number in step S105 is in the range of 0 to 1. The larger the kth receiving parameter is, the greater the probability that the kth random number is smaller than the kth receiving parameter. When the kth random number is smaller than the kth receiving parameter, the kth neighborhood parameter set is assigned to the k+1th original parameter set; when the kth random number is greater than the kth receiving parameter, the k+1th original parameter set is still the kth original parameter set. The judgment logic enables the receiving parameter to control the probability of whether the kth neighborhood parameter set is used as the k+1th original parameter set, thereby achieving the purpose of appropriately expanding the search range of the kth original parameter set during the loop iteration process.

[0072] S106 compares the value of k with the preset cycle value. When k is less than the preset cycle value, k=k+1, returns to step S102, and starts calculating the kth original parameter set again. The value of the kth original parameter set depends on the size relationship between the k-1th random number and the k-1th received parameter.

[0073] S107: When k reaches a preset cycle value each time, the value of k is reset, the temperature value is updated, and the temperature value in the above cycle is updated using the temperature value after each round of update; until the temperature value reaches the preset temperature value after at least one round of update, the original parameter set of the current cycle is used as the optimal original parameter set of one thread, and the electrochemical parameters of the lithium battery are obtained based on the difference values calculated by comparing the optimal original parameter sets of different threads.

[0074] Step S107 is used to update the temperature value every time k iteration cycles are executed. The temperature value affects the kth receiving parameter, and further affects the value range of the k+1th original parameter set.

[0075] S108 determines whether the temperature value reaches the preset temperature value or the number of updates of the temperature value reaches the preset update number, or the difference value calculated by the original parameter set of the current cycle reaches the preset difference value after at least one round of updates. If none of them are met, continue to return to S102 for loop iteration.

[0076] S109 is used as the optimal original parameter set for a thread when the condition of S108 is met.

[0077] Step S109 obtains the optimal solution for one thread.

[0078] S110 compares the difference values calculated from the optimal original parameter sets of different threads to obtain electrochemical parameters of the lithium battery.

[0079] In step S110 , the optimal solutions of different threads are compared to obtain the optimal solutions of all threads as electrochemical parameters.

[0080] This embodiment evaluates electrochemical parameters through multiple threads, performs an iterative loop on each thread separately, updates the original parameter set and temperature value during the iterative loop, and the original parameter set obtained in the last round of iterative loop is the optimal original parameter set for a single thread. Finally, the optimal original parameter set of multiple threads is determined by comparing the difference values and used as the electrochemical parameter, thereby solving the problem of difficulty in evaluating electrochemical parameters, saving time in calculating electrochemical parameters, and facilitating real-time acquisition of electrochemical parameters.

[0081] This embodiment is based on the previous embodiment. Figure 2 , provides a multi-threaded testing method for lithium battery electrochemical parameters, including:

[0082] The control operating condition sequence is one of the battery operating condition sequences, which include a voltage operating condition sequence, a current operating condition sequence, and a temperature operating condition sequence. The simulated battery operating condition sequence is the battery operating condition sequence generated by the electrochemical model except the control operating condition sequence.

[0083] S113 substitutes the kth original parameter set / kth neighborhood parameter set and the control operating condition sequence of the lithium battery into the electrochemical model for evaluation to generate a simulated temperature / voltage lithium battery operating condition sequence, where the control operating condition sequence is a current operating condition sequence obtained by sampling the lithium battery.

[0084] S114 samples the actual temperature / voltage lithium battery operating condition sequence, and calculates the temperature / voltage difference value between the simulated temperature / voltage lithium battery operating condition sequence and the actual temperature / voltage lithium battery operating condition sequence.

[0085] S115 calculates the kth receiving parameter of the temperature based on the temperature value, the temperature difference value calculated by the kth original parameter set, and the temperature difference value calculated by the kth neighborhood parameter set, and randomly generates a kth random number to determine the size relationship between the kth random number and the kth receiving parameter of the temperature.

[0086] S116 is executed simultaneously with S115 to calculate the kth receiving parameter of the voltage based on the temperature value, the voltage difference value calculated by the kth original parameter set, and the voltage difference value calculated by the kth neighborhood parameter set, and randomly generate a kth random number to determine the size relationship between the kth random number and the kth receiving parameter of the voltage.

[0087] In this embodiment, in step S113, two simulated battery operating condition sequences are obtained through the model. In step S114, the two sets of battery operating condition sequences are compared with the two sets of actual battery operating condition sequences obtained by sampling, and two difference values are obtained. In steps S115 and S116, two receiving parameters are calculated through the two difference values and the relationship between the two receiving parameters and the random number is obtained. The loop iteration is started, and two k+1th original parameter sets are obtained according to the two relationships, and are respectively operated with the corresponding operating condition sequences. After this round of loop, two k+2th original parameter sets are obtained. In this way, the loop is continued, and finally a more accurate optimal original parameter set of a single thread and more accurate electrochemical parameters can be obtained. Figure 2 It specifically lists the cases where the control operating condition sequence of the lithium battery is the current operating condition sequence, and the battery operating condition sequence is the voltage operating condition sequence and the temperature operating condition sequence. In this case, the difference value calculation method is to be able to judge the kth receiving parameter of the voltage when comparing the simulated voltage operating condition sequence with the actual voltage operating condition sequence, and the difference value calculation method is to be able to judge the kth receiving parameter of the temperature when comparing the simulated temperature operating condition sequence with the actual temperature operating condition sequence, and then continue the iterative cycle to continuously update the kth original parameter set based on temperature and the kth original parameter set based on voltage.

[0088] Based on the above embodiments, this embodiment provides a multi-threaded testing method for electrochemical parameters of a lithium battery, including:

[0089] The difference value is calculated by the difference quantification formula Where MSE is the difference value, n is the number of sampling time points, i is a positive integer, u sim,i is the battery operating condition value at the i-th time point of the simulated battery operating condition sequence, u real,iis the battery condition value of the actual battery condition sequence at the i-th time point.

[0090] The calculation formula of the first / second reception parameter is where P is the first / second reception parameter, vc is the first / second original parameter set, vn is the first / second neighborhood parameter set, T is the temperature value, and MSE is the difference quantization calculation formula.

[0091] In this embodiment, the difference quantization calculation formula is a formula for measuring the quality of the electrochemical parameter set corresponding to the simulated battery condition sequence substituted into the formula. The smaller the difference value, the better the electrochemical parameter set corresponding to the simulated battery condition sequence.

[0092] Based on the above embodiment, this embodiment provides a multi-threaded test method for lithium battery electrochemical parameters. The step of updating the temperature value includes:

[0093] Substitute the temperature value into the temperature cooling formula T = rT 前 to obtain the updated temperature value, T 前 is the temperature value before this round of update, and r is the cooling rate.

[0094] In this embodiment, the range of r is 0 < r < 1. As the number of temperature update times increases, the temperature value gradually decreases. In the calculation formula of the reception parameter, the reception parameter P decreases as T decreases, and the probability that the random number is smaller than the reception parameter P gradually decreases. According to the preset logical relationship, when the random number is smaller than the reception parameter P, the (k + 1)-th original parameter set is still the k-th original parameter set. When the random number is larger than the reception parameter P, the (k + 1)-th original parameter set is the k-th neighborhood parameter set. It can be concluded that the smaller the temperature value, the greater the probability of keeping the k-th original parameter set as the (k + 1)-th original parameter set for the next cycle. Therefore, in this embodiment, as the number of temperature updates increases, the fluctuation of the value of the k-th original parameter set tends to be more static.

[0095] Based on the above embodiment, this embodiment provides a multi-threaded test method for lithium battery electrochemical parameters. The step of updating the temperature value includes:

[0096] Substitute the temperature value into the temperature update formula T = T Max *e -nv*j to obtain the updated temperature value. T is the updated temperature value, T Max is the opposite of the preset maximum value of the temperature value, nv is the number of parameters in the electrochemical parameters, and j is the update number of the temperature value;

[0097] This embodiment is different from the previous embodiment and provides another way of obtaining the temperature value. The equation T = T Max *e-nv*j The right side of decreases as the number of loop iterations increases. Unlike the previous embodiment, in which the fluctuation of the value of the kth original parameter set tends to become more and more static as the number of temperature updates increases, T in this embodiment is not affected by the temperature value before the update, and a richer range of T values can be obtained for calculation. This avoids, for example, when a smaller T value is obtained in the first round, outputting the original parameter set as the original optimal parameter set due to too few temperature updates. The temperature value will inevitably be reduced only when the number of temperature updates increases by a certain amount.

[0098] In one embodiment, the reference Figure 3 The present invention provides a multi-threaded testing system for lithium battery electrochemical parameters, comprising:

[0099] Parameter set generation module 10: configured to select a set of numbers generated by an initial set of lithium battery electrochemical parameters as a first original parameter set, and each of the different threads randomly extracts a parameter set in a neighborhood surrounding the first original parameter set as a first neighborhood parameter set;

[0100] Electrochemical model module 20: used to substitute the first original parameter set / first neighborhood parameter set and the control operating condition sequence of the lithium battery into the electrochemical model module for evaluation to generate a simulated lithium battery operating condition sequence, where the control operating condition sequence is obtained by sampling the lithium battery;

[0101] The difference calculation module 30 is used to calculate the difference between the simulated battery operating condition sequence and the actual battery operating condition sequence after sampling the actual battery operating condition sequence;

[0102] The calculation and judgment module 40 is configured to iterate the first original parameter set using the second original parameter set, generate a second random number and a second received parameter in a magnitude relationship through the electrochemical model module and the difference calculation module, and then continue iterating until the number of iterations reaches a preset value, wherein the second original parameter set is assigned based on the magnitude relationship between the first random number and the first received parameter;

[0103] Temperature updating module 50: configured to reset the number of loop iterations and update the temperature value each time the number of loop iterations reaches a preset loop value in the calculation and judgment module, and to use the temperature value after each round of update to update the temperature value used in the above loop;

[0104] Output module 60: until the temperature value reaches the preset temperature value after at least one round of update, or the number of updates of the temperature value reaches the preset number of updates, or the difference value calculated by the original parameter set of the current cycle reaches the preset difference value, the original parameter set of the current cycle is used as the optimal original parameter set of one thread, and the lithium battery electrochemical parameter set is obtained by comparing the difference values calculated by the optimal original parameter sets of different threads.

[0105] This embodiment uses the above module to determine the optimal original parameter set of multiple threads as the electrochemical parameters, which solves the problem of difficulty in evaluating the electrochemical parameters, saves time in calculating the electrochemical parameters, and facilitates real-time acquisition of the electrochemical parameters.

[0106] Based on the previous embodiment, this embodiment provides a multi-threaded testing system for lithium battery electrochemical parameters, including:

[0107] The calculation formula of the first / second receiving parameter is Where P is the first / second receiving parameter, vc is the first / second original parameter set, vn is the first / second neighborhood parameter set, T is the temperature value, and MSE is the difference quantization calculation formula In the difference quantization calculation formula, n is the number of sampling time points, i is a positive integer, and u sim,i is the battery operating condition value at the i-th time point of the simulated battery operating condition sequence, u real,i is the battery operating condition value at the i-th time point of the actual battery operating condition sequence.

[0108] It should be noted that the embodiments of the multi-threaded lithium battery electrochemical parameter testing system provided by the present invention and the embodiments of the multi-threaded lithium battery electrochemical parameter testing method provided above are based on the same inventive concept and can achieve the same technical effects. Therefore, for other specific details of the embodiments of the multi-threaded lithium battery electrochemical parameter testing system, reference can be made to the description of the embodiments of the multi-threaded lithium battery electrochemical parameter testing method provided above.

[0109] In one embodiment of the present invention, a computer-readable storage medium stores a computer program thereon, and when the computer program is executed by a processor, it can implement a multi-threaded testing method for the electrochemical parameters of a lithium battery as described in the aforementioned embodiment. That is, when part or all of the technical solutions that contribute to the prior art in the aforementioned embodiment of the present invention are embodied in the form of a computer software product, the aforementioned computer software product is stored in a computer-readable storage medium. The computer-readable storage medium can be any physical device or equipment that can carry computer program code. For example, the computer-readable storage medium can be a USB flash drive, a mobile disk, a magnetic disk, an optical disk, a computer memory, a read-only memory, a random access memory, etc.

[0110] It should be noted that the above embodiments can be freely combined as needed. The above are only preferred embodiments of the present invention. It should be noted that those skilled in the art can make several improvements and modifications without departing from the principles of the present invention, and such improvements and modifications should also be considered within the scope of protection of the present invention.

Claims

1. A multi-threaded testing method for electrochemical parameters of lithium batteries, characterized in that: include: A set of numbers generated by an initial set of lithium battery electrochemical parameters is selected as a first original parameter set, and different threads each randomly extract a parameter set in a neighborhood surrounding the first original parameter set as a first neighborhood parameter set; Substituting the first original parameter set / first neighborhood parameter set and the control operating condition sequence of the lithium battery into the electrochemical model for evaluation to generate a simulated lithium battery operating condition sequence, wherein the control operating condition sequence is obtained by sampling the lithium battery; Sampling an actual lithium battery operating condition sequence, and calculating a difference value between the simulated lithium battery operating condition sequence and the actual lithium battery operating condition sequence; Calculating a first receiving parameter based on the temperature value, the difference value calculated by the first original parameter set, and the difference value calculated by the first neighborhood parameter set, randomly generating a first random number, and determining a magnitude relationship between the first random number and the first receiving parameter; Iterating the first original parameter set using the second original parameter set to generate a second random number and a second received parameter in a relative magnitude, and then continuing the iterative loop until the number of iterations reaches a preset loop value, wherein the second original parameter set is assigned a value based on the relative magnitude of the first random number and the first received parameter; When the number of loop iterations reaches a preset loop value each time, the number of loop iterations is reset, the temperature value is updated, and the temperature value in the above loop is updated using the temperature value after each round of update; until the temperature value reaches the preset temperature value after at least one round of update, the original parameter set of the current loop is used as the optimal original parameter set of a thread, and the electrochemical parameters of the lithium battery are obtained based on the difference value calculated by comparing the optimal original parameter sets of different threads.

2. The multi-threaded testing method for electrochemical parameters of a lithium battery according to claim 1, characterized in that: The control operating condition sequence is one of the battery operating condition sequences, which include a voltage operating condition sequence, a current operating condition sequence, and a temperature operating condition sequence. The simulated lithium battery operating condition sequence is the battery operating condition sequence generated by the electrochemical model except for the control operating condition sequence.

3. The multi-threaded testing method for electrochemical parameters of a lithium battery according to claim 1, characterized in that: include: The difference value is obtained by the difference quantification calculation formula: , where MSE is the difference value, n is the number of sampling time points, i is a positive integer, is the battery operating condition value at the i-th time point of the simulated lithium battery operating condition sequence, is the battery operating condition value at the i-th time point of the actual lithium battery operating condition sequence.

4. The multi-threaded testing method for electrochemical parameters of a lithium battery according to claim 3, characterized in that: The calculation formula of the first / second receiving parameter is , where P is the first / second receiving parameter, vc is the first / second original parameter set, vn is the first / second neighborhood parameter set, T is the temperature value, and MSE is the difference quantization calculation formula.

5. The multi-threaded testing method for electrochemical parameters of a lithium battery according to claim 4, characterized in that: The step of updating the temperature value comprises: Substitute the temperature value into the temperature cooling formula T=rT 前 Get the updated temperature value, T is the updated temperature value, T 前 is the temperature value before this round of update, and r is the cooling rate.

6. The multi-threaded testing method for electrochemical parameters of a lithium battery according to claim 4, characterized in that: The step of updating the temperature value comprises: Substitute the temperature value into the temperature update formula Get the updated temperature value, T is the updated temperature value, is the inverse of the preset maximum value of the temperature value, nv is the number of parameters in the electrochemical parameters, and j is the number of times the temperature value is updated.

7. The multi-threaded testing method for electrochemical parameters of a lithium battery according to claim 1, characterized in that: After the step of updating the temperature value in the above cycle using the temperature value after each round of update, the method further includes: The temperature value is updated a number of times reaching a preset number of times, or the difference value calculated by the original parameter set of the current cycle reaches a preset difference value; the original parameter set of the current cycle is used as the optimal original parameter set of a thread.

8. A multi-threaded testing system for lithium battery electrochemical parameters, characterized in that: include: Parameter set generation module: used to select a set of numbers generated by an initial lithium battery electrochemical parameter as a first original parameter set, and different threads each randomly extract a parameter set in the neighborhood surrounding the first original parameter set as a first neighborhood parameter set; Electrochemical model module: used to substitute the first original parameter set / first neighborhood parameter set and the control operating condition sequence of the lithium battery into the electrochemical model module for evaluation to generate a simulated lithium battery operating condition sequence, where the control operating condition sequence is obtained by sampling the lithium battery; A difference calculation module is used to calculate the difference between the simulated lithium battery operating condition sequence and the actual lithium battery operating condition sequence after sampling the actual lithium battery operating condition sequence; A calculation and judgment module is configured to perform a cyclic iteration on the first original parameter set using the second original parameter set, generate a second random number and a second received parameter in a magnitude relationship through the electrochemical model module and the difference calculation module, and then continue the cyclic iteration until the number of cyclic iterations reaches a preset cycle value, wherein the second original parameter set is assigned based on the magnitude relationship between the first random number and the first received parameter; Temperature updating module: configured to reset the number of loop iterations and update the temperature value each time the number of loop iterations reaches a preset loop value in the calculation and judgment module, and to use the temperature value after each round of update to update the temperature value used in the above loop; Output module: until the temperature value reaches the preset temperature value after at least one round of update, or the number of updates of the temperature value reaches the preset number of updates, or the difference value calculated by the original parameter set of the current cycle reaches the preset difference value, the original parameter set of the current cycle is used as the optimal original parameter set of one thread, and the lithium battery electrochemical parameter set is obtained according to the difference values calculated by comparing the optimal original parameter sets of different threads.

9. A multi-threaded testing system for lithium battery electrochemical parameters according to claim 8, characterized in that: include: The calculation formula of the first / second receiving parameter is , where P is the first / second received parameter, vc is the first / second original parameter set, vn is the first / second neighborhood parameter set, T is the temperature value, and MSE is the difference quantization calculation formula In the difference quantification calculation formula, n is the number of sampling time points, i is a positive integer, is the battery operating condition value at the i-th time point of the simulated lithium battery operating condition sequence, is the battery operating condition value at the i-th time point of the actual lithium battery operating condition sequence.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, a multi-threaded testing method for electrochemical parameters of a lithium battery according to any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Method and system for identifying electrochemical parameters of power lithium ion battery

    CN110888057A

  • Method for carrying out battery parameter identification and precision optimization by adopting simulated annealing method

    CN113777500A