Battery health state estimation method, device and readable medium based on voltage curve
By performing feature extraction and linear regression model training on the voltage curve of the constant-current charging process of lithium-ion batteries, the problem of battery health status estimation under different charging rates in the existing technology is solved, and low-complexity, high-precision online SOH estimation is achieved. .
Patent Information
- Application Number
- CN202111591805.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-23
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2041-12-23
AI Technical Summary
Existing lithium-ion battery health state estimation methods are difficult to apply to different charging rates in practical applications, and the calculation complexity is high and cannot meet the needs of online estimation.
By extracting features from the voltage curve of the constant current charging process, a linear regression algorithm is used to estimate the battery health state. Logarithmic processing and polynomial fitting are used to obtain the coefficients of the fitting curve as input features, and a linear regression model is established for SOH prediction.
It realizes battery health status estimation at different charging rates, reduces computational complexity, is suitable for SOH estimation when charging at other charging rates for the same model of battery, and provides high-precision online estimation capabilities.
Smart Images

Figure CN114355222B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of lithium-ion batteries, and in particular to a method, a device and a readable medium for estimating a battery health state based on a voltage curve. Background Art
[0002] Lithium-ion batteries have been widely used in energy storage systems such as electronic devices and electric vehicles due to their long cycle life, high energy density, low self-discharge, and fast charge and discharge speed. However, as time goes by and the battery is used for a longer time, a series of electrochemical reactions will occur inside the battery due to abuse or aging, resulting in an irreversible reduction in capacity and an increase in internal resistance, which makes it impossible to meet the actual use needs. In severe cases, it may also cause catastrophic consequences such as fire or even explosion. In order to ensure that the battery works normally and efficiently, a battery management system (BMS) is essential. A complete and mature BMS often has sampling and measurement functions, state estimation and prediction functions, control and management functions, and communication and diagnosis functions. Among them, estimating the battery state of health (SOH) is one of the core requirements in the state estimation and prediction function. Accurately estimating the battery state of health can determine the degree of battery aging, assist in estimating the battery SOC, and provide an important basis for better control, management and diagnosis of the BMS, providing an important guarantee for the safety performance of the battery pack.
[0003] At present, many research works have reported many effective SOH estimation methods. Generally, these methods can be divided into three categories: experimental methods, adaptive estimation methods and data-driven methods.
[0004] The experimental method is to directly measure the capacity or internal resistance of the battery by designing an experiment, and then calculate the battery health status based on the definition of SOH. This method is simple, direct and easy to understand, but the test takes a long time and requires corresponding experimental equipment to be implemented. It is suitable for use in laboratories and cannot meet the requirements of actual application scenarios.
[0005] Adaptive estimation is a method that can update itself to better fit new data samples, which can minimize the testing effort required to develop accurate aging models. This method has been widely used due to its high accuracy, simple implementation, and easy engineering implementation, but it is often not suitable for online estimation due to its large amount of computation.
[0006] In recent years, due to its flexibility and model-free advantages, data-driven methods have gradually become one of the important methods for estimating battery health status. This method treats the battery as a "black box" and does not need to analyze the complex aging and attenuation mechanisms inside the battery. To estimate SOH using a data-driven method, it is first necessary to preprocess the measured data, extract representative feature variables, and then use a certain machine learning algorithm to find the hidden relationship between each feature variable and SOH, thereby realizing the estimation of SOH.
[0007] Although these existing SOH estimation methods have good estimation results, they are often not suitable for SOH estimation when the charge rate is different from the training data. In the actual use of the battery, most of the time the battery charge rate is different from the training data. Summary of the invention
[0008] In view of the technical problems mentioned in the above-mentioned background technology, the purpose of the embodiments of the present application is to propose a method, device and readable medium for estimating the health status of a battery based on a voltage curve, which extracts features from the voltage curve of a constant current charging process and uses a linear regression algorithm to estimate the health status of the battery. To solve the technical problems mentioned in the above background technology section.
[0009] In a first aspect, an embodiment of the present application provides a method for estimating a battery health state based on a voltage curve, comprising the following steps:
[0010] S1, obtaining a voltage-time variation curve of a battery with a certain constant current charging rate during constant current charging;
[0011] S2, processing the time of the voltage-time curve by a constant current charging rate, and then processing it logarithmically to obtain a logarithmic charging voltage curve;
[0012] S3, fitting the logarithmic charging voltage curve using a polynomial fitting method to obtain a fitting curve;
[0013] S4, inputting each coefficient of the fitting curve into a battery health state estimation model, and outputting a predicted value of the battery health state corresponding to the logarithmic charging voltage curve, wherein the battery health state estimation model includes a linear regression model.
[0014] In some embodiments, step S4 specifically includes:
[0015] S41, establishing a linear regression model, taking the coefficients of the fitting curve as input features, and the corresponding predicted values of the battery health status as output, performing error analysis based on the predicted values of the battery health status and the known measured values of the corresponding battery health status to train the linear regression model offline until the error requirement is met, and using the trained linear regression model as a battery health status estimation model;
[0016] S42, the voltage and time data collected in real time during the constant current charging process are input through steps S2-S3 to obtain input features, and input into the battery health state estimation model to calculate online to obtain the corresponding battery health state prediction value.
[0017] In some embodiments, in step S41, the cycle data of the battery's entire life cycle (from new battery to end of battery life) with a constant current charging rate of 0.75C is used as a training set for a linear regression model, and the residual sum of squares is used as a loss function during the training process of the linear regression model.
[0018] In some embodiments, in step S41, batteries with constant current charging rates of 1C and 1.25C are used as test sets for the linear regression model, and the accuracy of the battery health status estimation model is evaluated and verified by combining three indicators: goodness of fit, mean absolute error, and mean square error.
[0019] In some embodiments, the battery used in the online calculation process of the battery health status estimation model in step S42 and the battery used in the offline training process of the linear regression model in step S41 are of the same model.
[0020] In some embodiments, step S2 specifically includes: the time t of the voltage-time variation curve is calculated by the following formula:
[0021] t' = ln(C × t + 1);
[0022] Wherein, C is the constant current charging rate, and t' is the horizontal coordinate of the logarithmic charging voltage curve.
[0023] In some embodiments, step S3 uses a goodness of fit index to obtain a fitting curve with an optimal polynomial order corresponding to the logarithmic charging voltage curve, and determines various coefficients of the fitting curve according to the polynomial order.
[0024] In a second aspect, an embodiment of the present application provides a battery health state estimation device based on a voltage curve, comprising:
[0025] A voltage data acquisition module is configured to acquire a voltage-time variation curve of a battery having a certain constant current charging rate during a constant current charging process;
[0026] The curve processing module is configured to process the time of the voltage-time change curve by a constant current charging rate, and then obtain a logarithmic charging voltage curve after logarithmic processing;
[0027] A curve fitting module is configured to fit the logarithmic charging voltage curve by using a polynomial fitting method to obtain a fitting curve;
[0028] The prediction module is configured to input various coefficients of the fitting curve into a battery health state estimation model and output a predicted value of the battery health state corresponding to the logarithmic charging voltage curve, wherein the battery health state estimation model includes a linear regression model.
[0029] In a third aspect, an embodiment of the present application provides an electronic device comprising one or more processors; a storage device for storing one or more programs, wherein when the one or more programs are executed by one or more processors, the one or more processors implement a method as described in any implementation manner in the first aspect.
[0030] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method described in any implementation manner in the first aspect.
[0031] Compared with the prior art, the present invention has the following beneficial effects:
[0032] (1) The battery health status estimation method based on voltage curve provided by the present invention first performs two steps of data transformation processing on the voltage curve, namely, rate processing and logarithmic processing, and obtains the fitting curve after the polynomial fitting data transformation. Each coefficient group of the fitting curve is used as the input feature variable, and finally the SOH estimation is realized based on the linear regression algorithm.
[0033] (2) The battery health status estimation method based on voltage curve provided by the present invention does not need to consider the discharge mode of the battery. It only needs to use the voltage-time data of the battery during the constant current charging process at a known constant current charging rate. The battery health status estimation model obtained by offline training can be applicable to the SOH estimation of the same model of battery at other different charging rates.
[0034] (3) The present invention does not require the establishment of a complex equivalent circuit model, and the battery SOH can be estimated online through a data-driven method.
[0035] (4) The present invention is applicable to SOH estimation under constant current charging processes of different rates, and has low computational complexity and high accuracy. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0037] Figure 1 is an exemplary device architecture diagram to which an embodiment of the present application may be applied;
[0038] Figure 2 A schematic diagram of a flow chart of a method for estimating a battery health state based on a voltage curve according to an embodiment of the present invention;
[0039] Figure 3 A lithium-ion battery SOH estimation flow chart of a battery health state estimation method based on a voltage curve according to an embodiment of the present invention;
[0040] Figure 4 A schematic diagram of voltage and current changes over time during a battery cycle test of a battery health status estimation method based on a voltage curve according to an embodiment of the present invention;
[0041] Figure 5 Schematic diagram of an original voltage curve (left) and a logarithmic charging voltage curve (right) after preprocessing when charging at different rates according to a battery health status estimation method based on a voltage curve according to an embodiment of the present invention;
[0042] Figure 6 It is a schematic diagram of fitting a logarithmic charging voltage curve with a 2-7 order polynomial in a battery health state estimation method based on a voltage curve according to an embodiment of the present invention;
[0043] Figure 7 It is a schematic diagram of comparison between predicted values and measured values of the health states of three batteries by a linear regression model of a battery health state estimation method based on a voltage curve according to an embodiment of the present invention;
[0044] Figure 8 is a schematic diagram of a battery health state estimation device based on a voltage curve according to an embodiment of the present invention;
[0045] Fig. 9 It is a schematic diagram of the structure of a computer device suitable for implementing the electronic device of the embodiment of the present application. DETAILED DESCRIPTION
[0046] In order to make the purpose, technical scheme and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0047] Figure 1 An exemplary device architecture 100 is shown to which a method for estimating a battery health state based on a voltage curve or a device for estimating a battery health state based on a voltage curve according to an embodiment of the present application can be applied.
[0048] like Figure 1 As shown, the device architecture 100 may include terminal devices 101, 102, 103, a network 104 and a server 105. The network 104 is used to provide a medium for communication links between the terminal devices 101, 102, 103 and the server 105. The network 104 may include various connection types, such as wired, wireless communication links or optical fiber cables, etc.
[0049] Users can use terminal devices 101, 102, 103 to interact with server 105 through network 104 to receive or send messages, etc. Various applications, such as data processing applications, file processing applications, etc., can be installed on terminal devices 101, 102, 103.
[0050] Terminal devices 101, 102, 103 can be hardware or software. When terminal devices 101, 102, 103 are hardware, they can be various electronic devices, including but not limited to smart phones, tablet computers, laptop computers, desktop computers, etc. When terminal devices 101, 102, 103 are software, they can be installed in the electronic devices listed above. They can be implemented as multiple software or software modules (for example, software or software modules used to provide distributed services), or they can be implemented as a single software or software module. No specific limitation is made here.
[0051] The server 105 may be a server that provides various services, such as a background data processing server that processes files or data uploaded by the terminal devices 101, 102, and 103. The background data processing server may process the acquired files or data and generate processing results.
[0052] It should be noted that the battery health status estimation method based on the voltage curve provided in the embodiment of the present application can be executed by the server 105, or by the terminal devices 101, 102, 103. Accordingly, the battery health status estimation device based on the voltage curve can be set in the server 105, or in the terminal devices 101, 102, 103.
[0053] It should be understood that Figure 1 The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided as required. In the case where the processed data does not need to be obtained remotely, the above device architecture may not include a network, but only a server or a terminal device.
[0054] Figure 2 A method for estimating a battery health state based on a voltage curve provided in an embodiment of the present application is shown, comprising the following steps:
[0055] S1, obtaining a voltage-time variation curve of a battery with a certain constant current charging rate during a constant current charging process.
[0056] In a specific embodiment, the lithium-ion battery SOH estimation flow chart is as follows: Figure 3 As shown in the figure, three 18650 lithium-ion batteries of a certain brand and model were subjected to charge and discharge cycle tests. All three batteries underwent the conventional constant current charge-constant voltage charge-constant current discharge process. Among them, the constant current charge rates of the three batteries were 0.75C, 1C, and 1.25C, respectively, while the constant current discharge rate was the same 1C discharge. During the cycle test, the voltage, current, and time data of each process were recorded in real time using a charge and discharge instrument. During this period, the battery voltage and current change over time as shown in the figure below. Figure 4 shown.
[0057] S2, the time of the voltage-time variation curve is subjected to rate processing by a constant current charging rate, and then subjected to logarithmic processing to obtain a logarithmic charging voltage curve.
[0058] In a specific embodiment, step S2 specifically includes: the time t of the voltage-time variation curve is calculated by the following formula:
[0059] t' = ln(C × t + 1);
[0060] Wherein, C is the constant current charging rate, and t' is the horizontal coordinate of the logarithmic charging voltage curve.
[0061] Specifically, in step S2, the voltage curve during the constant current charging process is preprocessed. The preprocessing method is "two-step data transformation": first perform "rate processing", that is, multiply all recorded times of a constant current charging curve by the corresponding charging rate, that is, C×t, and then perform "logarithmic processing", that is, take the natural logarithm of the time data after the "rate processing". It is worth noting that since the charging time is recorded from 0, and 0 has no logarithm, one is added before the "logarithmic processing" to avoid taking the logarithm of 0, that is, ln(C×t+1). The voltage curve after the "two-step data transformation" processing is a logarithmic charging voltage curve. Voltage curves when charging at different rates ( Figure 5 Left) and the logarithmic charging voltage curve after pretreatment ( Figure 5 Right) Schematic diagram Figure 5 shown.
[0062] S3, fitting the logarithmic charging voltage curve using a polynomial fitting method to obtain a fitting curve.
[0063] In a specific embodiment, step S3 uses a goodness of fit index to obtain a fitting curve with an optimal polynomial order corresponding to the logarithmic charging voltage curve, and determines various coefficients of the fitting curve according to the polynomial order.
[0064] Specifically, a polynomial is used to fit the logarithmic charging voltage curve, and the coefficients obtained by fitting are the input features. To fit a curve with a polynomial, you first need to determine the order of the polynomial. Obviously, the higher the order of the polynomial, the better the curve fitting effect is often. However, the higher the order, the more terms and coefficients of the polynomial, which means that the dimension of the feature variable increases, which will greatly increase the amount of calculation for subsequent machine learning. If the order is too low, the curve cannot be well fitted. Therefore, it is necessary to find an optimal fitting order, which should be as low as possible but can fit the curve well. To this end, a 2-7 order polynomial is used to fit a randomly selected logarithmic charging voltage curve, and the goodness of fit (R 2 ) indicator, obtaining the best polynomial order for fitting the logarithmic charging voltage curve;
[0065] The calculation formula for goodness of fit is:
[0066]
[0067] Among them, y i is the measured value of the i-th sample point, is the corresponding fitted value, is the mean of all measured values, and n is the number of sample points. 2 The closer the value is to 1, the better the fitting effect is.
[0068] The schematic diagram of the 2-7 order polynomial fitting logarithmic charging voltage curve is as follows Figure 6 As shown, the number in the lower right corner of each sub-graph is the goodness of fit R of each graph. 2 As can be seen from the figure, the 2nd and 3rd order polynomials cannot fit all the data points well, and the curve and the data points have a relatively obvious deviation. As the order increases, the curve and the data points coincide better and better, and R 2 The value also increases accordingly. Although the fourth-order polynomial fit is 2 The value has reached 0.9993, and the curve and the data points basically coincide, but after careful observation, it is found that the fitting curve deviates from the first data point to a certain extent. More importantly, this is only the result of fitting a randomly selected curve. In order to ensure that all curves can have a good fit, a higher-order polynomial is needed for fitting. The curves fitted by the 5th, 6th, and 7th order polynomials can coincide with the data points relatively perfectly, and the R2 values of the fit are all 0.9997. In line with the principle of keeping the order as low as possible, the 5th order polynomial was finally chosen to fit the logarithmic charging voltage curve.
[0069] S4, inputting each coefficient of the fitting curve into a battery health state estimation model, and outputting a predicted value of the battery health state corresponding to the logarithmic charging voltage curve, wherein the battery health state estimation model includes a linear regression model.
[0070] In a specific embodiment, the coefficients obtained by fitting the polynomial to the logarithmic charging voltage curve in step S3 are used as input features of the linear regression model, and the output variable is the predicted value of the battery state of health (SOH) corresponding to the logarithmic charging voltage curve.
[0071] In a specific embodiment, step S4 specifically includes:
[0072] S41, establishing a linear regression model, taking the coefficients of the fitting curve as input features, and the corresponding predicted values of the battery health status as output, performing error analysis based on the predicted values of the battery health status and the known measured values of the corresponding battery health status to train the linear regression model offline until the error requirement is met, and using the trained linear regression model as a battery health status estimation model;
[0073] S42, the voltage and time data collected in real time during the constant current charging process are used to obtain input features through steps S2-S3, and input into the battery health state estimation model to calculate online to obtain the corresponding battery health state prediction value.
[0074] In a specific embodiment, in step S41, the cycle data of the battery life cycle (from new battery to end of battery life) with a constant current charging rate of 0.75C is used as the training set of the linear regression model, and the data of the battery with constant current charging rates of 1C and 1.25C is used as the test set of the linear regression model. The residual sum of squares is used as the loss function in the training process of the linear regression model. When evaluating and verifying the accuracy of the battery health status estimation model in the test set, it is necessary to combine the three indicators of goodness of fit, mean absolute error and mean square error.
[0075] Specifically, the training set is used to train the linear regression model. After the linear regression model is trained, the test set is input into the linear regression model to obtain the predicted value of the battery health state. The predicted value of the battery health state is compared with the measured value of the battery health state, and an error analysis is performed. The goodness of fit (R 2 ), mean absolute error (MAE), and mean square error (MSE) are used to verify the accuracy of the model.
[0076] The linear regression model is recognized as the simplest machine learning algorithm with a small amount of computation, which is very suitable for online estimation of SOH. When we talk about linear regression, we usually refer to multivariate linear regression, which is a linear regression problem where a sample has multiple features. For a data set with m samples and each sample has n features, the regression result of linear regression can be written as:
[0077]
[0078] in is a column vector containing the regression prediction results corresponding to m samples, x1, x2,…, x n is the column vector of n features of m samples, ω is collectively referred to as the parameters of the model, where ω0 is called the intercept, ω1-ω n is called the regression coefficient. This equation can be expressed as a matrix
[0079]
[0080] in, ω=[ω0 ω1 … ω n ] T ,
[0081]
[0082] The task of linear regression is to construct a prediction function to map the linear relationship between the input feature matrix X and the label value y. The essence of this prediction function is the model we need to build, and the core of constructing the prediction function is to find the parameter vector ω of the model. To this end, construct the loss function:
[0083]
[0084] yi is the true label corresponding to sample i, That is X i ω is the predicted label of sample i under a set of parameters ω. This loss function actually calculates the distance between the true label and the predicted value. Therefore, the loss function measures the difference between the predicted result of the constructed model and the true label. Obviously, the smaller the difference, the better. Therefore, the solution goal can be transformed into:
[0085]
[0086] This formula is often called the residual sum of squares (RSS). So the problem becomes finding the parameter vector ω that minimizes the RSS. This method of solving the parameters by minimizing the RSS between the measured value and the predicted value is called the least squares method. The first step in solving the extreme value is to find the first-order derivative and make it equal to 0. The ω value that makes the first-order derivative equal to 0 is the optimal solution for the parameter. So we can solve:
[0087] ω=(X T X) -1 X T y (6)
[0088] In this way, the optimal ω value is obtained and an optimal prediction function is constructed.
[0089] After the linear regression model was trained on the battery data with a constant current charging rate of 0.75C, the trained model was used to predict the SOH of each cycle of the three batteries measured, and the predicted results were compared with the measured results. 2 ), mean absolute error (MAE), and mean square error (MSE) are three common indicators to evaluate and verify the prediction results. 2 The calculation formula of is shown in formula (1), and the calculation formulas of MAE and MSE are:
[0090]
[0091]
[0092] where y i is the measured value of the i-th sample point, is the corresponding predicted value, and n is the number of sample points. 2 If it is close to 1 or MAE and MSE are close to 0, it means that the prediction results are highly accurate.
[0093] Comparison of the predicted values of the health status of the three batteries by the linear regression model with the measured values is shown in Figure 7The numbers Ⅰ-1, Ⅰ-2, and Ⅰ-3 in the figure represent constant current charging rates of 0.75C, 1C, and 1.25C respectively.
[0094] It is worth noting that the battery used in the online calculation process of the battery health status estimation model in step S42 and the battery used in the offline training process of the linear regression model in step S41 are of the same model.
[0095] In the online process, the model trained in the offline process is used to predict the battery health status. The specific steps are as follows:
[0096] Using the voltage and time data recorded during the complete constant current charging process online, the preprocessing process in step 2 and the polynomial fitting process in step 3 are performed successively to obtain the input feature variables, which are then input into the offline trained linear regression model to obtain the predicted value of the battery health status.
[0097] In an offline state, a battery charge and discharge instrument is used to perform a cycle test on a commercial 18650 lithium-ion battery, and experimental data such as voltage, current, time and capacity of the battery during the full life cycle cycle at a certain rate are obtained, and the voltage curve during the constant current charging process of the battery is used to realize SOH estimation. In order to incorporate the rate factor, a simple "two-step data transformation" process is first performed on the voltage curve, so that the method can be applied to SOH estimation at different charging rates. Then a polynomial is used to fit the transformed curve, and the analytical coefficient group obtained by fitting is used as the battery aging characteristic variable. Finally, a linear regression algorithm is used to fit the dependency between the characteristic variable and SOH. In an online state, it is only necessary to obtain the complete voltage curve of the battery during the constant current charging process at any rate, and the curve is subjected to the same "two-step data transformation" process as the offline state, and then the polynomial of the same order is used to fit the transformed fitting curve, and finally each coefficient group in the fitting curve is input as an input feature into the offline trained linear regression model to obtain SOH. The present invention does not need to establish a complex equivalent circuit model, and the battery SOH can be estimated online through a data-driven method. The present invention can be applied to SOH estimation under constant current charging processes of different rates, and has low calculation complexity and high accuracy.
[0098] Further references Figure 8 As an implementation of the methods shown in the above figures, the present application provides an embodiment of a battery health status estimation device based on a voltage curve, and the device embodiment is similar to Figure 2 Corresponding to the method embodiment shown, the device can be specifically applied to various electronic devices.
[0099] The embodiment of the present application provides a battery health state estimation device based on a voltage curve, comprising:
[0100] The voltage data acquisition module 1 is configured to acquire a voltage-time variation curve of a battery having a certain constant current charging rate during a constant current charging process;
[0101] Curve processing module 2 is configured to process the time of the voltage-time change curve by a constant current charging rate, and then perform logarithmic processing to obtain a logarithmic charging voltage curve;
[0102] The curve fitting module 3 is configured to fit the logarithmic charging voltage curve by polynomial fitting to obtain a fitting curve;
[0103] The prediction module 4 is configured to input various coefficients of the fitting curve into a battery health state estimation model, and output a predicted value of the battery health state corresponding to the logarithmic charging voltage curve. The battery health state estimation model includes a linear regression model.
[0104] Reference below Fig. 9 , which shows an electronic device (eg Figure 1 A schematic diagram of the structure of a computer device 900 (a server or terminal device as shown). Fig. 9 The electronic device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0105] like Fig. 9 As shown, the computer device 900 includes a central processing unit (CPU) 901 and a graphics processing unit (GPU) 902, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 903 or a program loaded from a storage part 909 to a random access memory (RAM) 904. In the RAM 904, various programs and data required for the operation of the device 900 are also stored. The CPU 901, GPU 902, ROM 903 and RAM 904 are connected to each other through a bus 905. An input / output (I / O) interface 906 is also connected to the bus 905.
[0106] The following components are connected to the I / O interface 906: an input section 907 including a keyboard, a mouse, etc.; an output section 908 including a display such as a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 909 including a hard disk, etc.; and a communication section 910 including a network interface card such as a LAN card, a modem, etc. The communication section 910 performs communication processing via a network such as the Internet. A drive 911 can also be connected to the I / O interface 906 as needed. A removable medium 912, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 911 as needed, so that a computer program read therefrom is installed into the storage section 909 as needed.
[0107] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication part 910, and / or installed from a removable medium 912. When the computer program is executed by a central processing unit (CPU) 901 and a graphics processing unit (GPU) 902, the above-mentioned functions defined in the method of the present application are executed.
[0108] It should be noted that the computer-readable medium described in the present application may be a computer-readable signal medium or a computer-readable medium or any combination of the above two. The computer-readable medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor device, device or component, or any combination of the above. More specific examples of computer-readable media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution device, device or device. In the present application, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. The computer-readable signal medium may also be any computer-readable medium other than a computer-readable medium that can send, propagate or transmit a program for use by or in conjunction with an instruction execution device, apparatus or device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.
[0109] Computer program code for performing the operations of the present application may be written in one or more programming languages or a combination thereof, including object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0110] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the device, method and computer program product according to various embodiments of the present application. In this regard, each box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flow chart, and the combination of the boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based device that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0111] The modules involved in the embodiments described in this application may be implemented by software or hardware, and the modules described may also be set in a processor.
[0112] As another aspect, the present application also provides a computer-readable medium, which may be included in the electronic device described in the above embodiment; or it may exist independently without being assembled into the electronic device. The above computer-readable medium carries one or more programs, and when the above one or more programs are executed by the electronic device, the electronic device: obtains the voltage-time variation curve of a battery with a certain constant current charging rate during constant current charging; processes the time of the voltage-time variation curve by the constant current charging rate, and then obtains the logarithmic charging voltage curve after logarithmic processing; fits the logarithmic charging voltage curve by polynomial fitting to obtain a fitting curve; inputs each coefficient of the fitting curve into the battery health state estimation model, and outputs the predicted value of the battery health state corresponding to the logarithmic charging voltage curve, and the battery health state estimation model includes a linear regression model.
[0113] The above description is only a preferred embodiment of the present application and an explanation of the technical principles used. Those skilled in the art should understand that the scope of the invention involved in the present application is not limited to the technical solution formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above invention concept. For example, the above features are replaced with the technical features with similar functions disclosed in this application (but not limited to) by each other to form a technical solution.
Claims
1. A battery health status estimation method based on voltage curve, characterized in that: The following steps are involved: S1, obtaining a voltage-time variation curve of a battery with a certain constant current charging rate during constant current charging; S2, the time of the voltage-time change curve is processed by the constant current charging rate, and then processed logarithmically to obtain a logarithmic charging voltage curve. The time t of the voltage-time change curve is calculated by the following formula: t' = ln(C × t + 1); Wherein, C is the constant current charging rate, and t' is the abscissa of the logarithmic charging voltage curve; S3, fitting the logarithmic charging voltage curve by polynomial fitting to obtain a fitting curve; S4, inputting each coefficient of the fitting curve into a battery health state estimation model, and outputting a predicted value of the battery health state corresponding to the logarithmic charging voltage curve, wherein the battery health state estimation model includes a linear regression model, specifically including: S41, establishing a linear regression model, taking the coefficients of the fitting curve as input features and the corresponding predicted values of the battery health status as output, performing error analysis based on the predicted values of the battery health status and the known measured values of the corresponding battery health status to train the linear regression model offline until the error requirement is met, and using the trained linear regression model as the battery health status estimation model; S42, the voltage and time data collected in real time during the constant current charging process are input through steps S2-S3 to obtain input features, and input into the battery health state estimation model to calculate online to obtain the corresponding battery health state prediction value.
2. The battery health status estimation method based on voltage curve according to claim 1, characterized in that: In the step S41, the cycle data of the battery's full life cycle with a constant current charging rate of 0.75C is used as a training set for the linear regression model, and the residual square sum is used as a loss function during the training process of the linear regression model.
3. The battery health status estimation method based on voltage curve according to claim 1, characterized in that: In step S41, the data of the batteries with constant current charging rates of 1C and 1.25C are used as the test set of the linear regression model, and the accuracy of the battery health status estimation model is evaluated and verified by combining the three indicators of goodness of fit, mean absolute error and mean square error.
4. The battery health status estimation method based on voltage curve according to claim 1, characterized in that: The battery used in the online calculation process of the battery health state estimation model in step S42 and the battery used in the offline training process of the battery health state estimation model in step S41 are of the same model.
5. The method for estimating battery health status based on voltage curve according to claim 1, characterized in that: The step S3 uses a goodness of fit index to obtain a fitting curve with an optimal polynomial order corresponding to the logarithmic charging voltage curve, and determines various coefficients of the fitting curve according to the polynomial order.
6. A battery health status estimation device based on voltage curve, characterized in that: include: A voltage data acquisition module is configured to acquire a voltage-time variation curve of a battery having a certain constant current charging rate during a constant current charging process; The curve processing module is configured to process the time of the voltage-time change curve by the constant current charging rate, and then obtain a logarithmic charging voltage curve after logarithmic processing. The time t of the voltage-time change curve is calculated by the following formula: t' = ln(C × t + 1); Wherein, C is the constant current charging rate, and t' is the abscissa of the logarithmic charging voltage curve; A curve fitting module is configured to fit the logarithmic charging voltage curve by polynomial fitting to obtain a fitting curve; The prediction module is configured to input various coefficients of the fitting curve into a battery health state estimation model, and output a predicted value of the battery health state corresponding to the logarithmic charging voltage curve, wherein the battery health state estimation model includes a linear regression model, specifically including: Establishing a linear regression model, taking the coefficients of the fitting curve as input features and the corresponding predicted values of the battery health status as output, performing error analysis based on the predicted values of the battery health status and the known measured values of the corresponding battery health status to train the linear regression model offline until the error requirement is met, and using the trained linear regression model as the battery health status estimation model; The voltage and time data collected in real time during the constant current charging process are passed through a curve processing module and a curve fitting module to obtain input features, and are input into the battery health state estimation model to calculate online to obtain the corresponding predicted value of the battery health state.
7. An electronic device comprising: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 5.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 5 is implemented.
