A method, device and electronic device for determining a battery health status value

By detecting the battery terminal voltage and current during the battery charging and discharging process, determining the characteristic parameter group and performing iterative calculations, the problem of poor versatility of the existing battery health status value determination method is solved, and a more accurate and reliable health status assessment is achieved. Suitable for various scenarios.

CN118425822BActive Publication Date: 2024-09-13POWERCHINA RENEWABLE ENERGY CO LTD +2
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410897524.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-05
Publication Date
2024-09-13
Estimated Expiration
2044-07-05

AI Technical Summary

Technical Problem

Existing methods for determining battery health status values ​​are less versatile, mainly because the sample data for training network models usually come from a single scenario, resulting in insufficient model generalization capabilities.

Method used

During the battery charging and discharging process, the battery terminal voltage and charging and discharging current are detected at predetermined sampling intervals to determine the battery's characteristic parameter group, and iterative calculations are performed based on these parameter groups to predict the state of charge value and capacity value, thereby calculating the health status value. This method uses technologies such as the Kalman filter algorithm and the least squares algorithm to construct a model of the battery's intrinsic charge and discharge patterns, avoiding dependence on the training network model.

Benefits of technology

It improves the accuracy and reliability of battery health status values, can more accurately characterize the internal charging and discharging laws of the battery, is independent of training data, is suitable for a variety of scenarios, and enhances the versatility of battery health status assessment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118425822B
    Figure CN118425822B
Patent Text Reader

Abstract

The present specification provides a method, device and electronic device for determining the health status value of a battery, which relates to the technical field of energy storage batteries, wherein the method includes: during the process of charging and discharging the battery, detecting the battery terminal voltage at a predetermined sampling interval and detecting the charging and discharging current at the same time; determining the characteristic parameter group at the current moment according to the battery terminal voltage and the charging and discharging current at the current moment and multiple moments before the current moment, wherein the characteristic parameter group includes multiple characteristic parameters for characterizing the internal charging and discharging law of the battery; predicting the state of charge value at the current moment according to the characteristic parameter group; determining whether the battery is fully charged according to the state of charge value; when the battery is fully charged, determining the current capacity value of the battery using the characteristic parameter group at the current moment; and calculating the current health status value of the battery according to the current capacity value of the battery. This solution does not require training of a network model, and is therefore not affected by training data, and the determined health status value is more accurate and reliable.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of energy storage batteries, and in particular to a method, device and electronic device for determining a health status value of a battery. Background Art

[0002] The state of health (SOH) is an indicator used to describe the quality of a battery. The health status is affected by many factors, such as the battery's charge and discharge cycle, temperature, and usage conditions. Lithium-ion batteries will age during the continuous charge and discharge process, which is inevitable. The health status value is a representation of the health status of lithium batteries. Accurate health status value assessment can provide an effective reference for energy storage systems, thereby rationally planning the use of battery systems. For example, a low health status value indicates that the battery has failed or is damaged and needs to be replaced.

[0003] Due to the complexity of the electrochemical reactions inside the battery, it is usually difficult to determine an accurate electrochemical model or equivalent circuit model, and thus it is impossible to evaluate the health status of the battery through the battery model. Therefore, the existing technology usually uses a data-driven method to determine the health status of the battery. The data-driven method does not rely on an accurate mathematical model to describe the aging process of the battery, but trains the network model through battery charging and discharging data and parameter change data, thereby mining the characteristic information related to the battery aging process to evaluate the health status of the battery.

[0004] However, the sample data used to train the network model in this method usually comes from a single scenario, resulting in poor versatility of the network model. Summary of the invention

[0005] The present specification provides a method, device and electronic device for determining a health status value of a battery to solve the problem that the existing method for determining a health status value of a battery has poor versatility.

[0006] To solve the above technical problems, the first aspect of the present specification provides a method for determining the health status value of a battery, comprising: during the process of charging and discharging the battery, detecting the battery terminal voltage through a voltage detection unit according to a predetermined sampling interval, and detecting the charging and discharging current through a current detection unit at the same time; determining a characteristic parameter group of the battery at the current moment according to the battery terminal voltage and the charging and discharging current at the current moment and multiple moments before the current moment, the characteristic parameter group including multiple characteristic parameters for characterizing the intrinsic charging and discharging laws of the battery; predicting the state of charge value at the current moment according to the characteristic parameter group; determining whether the battery is fully charged according to the state of charge value; when the battery is fully charged, determining the current capacity value of the battery using the characteristic parameter group at the current moment; and calculating the current health status value of the battery according to the current capacity value of the battery.

[0007] In some embodiments, the method includes iterative calculations at a small time scale and iterative calculations at a large time scale; wherein, each calculation in the iterative calculations at the small time scale includes: at each sampling moment, based on the characteristic parameter group at the current moment, according to the battery terminal voltage, charge and discharge current at the current moment and multiple moments before the current moment, and the charge state values ​​at multiple moments before the current moment, calculating the charge state value at the current moment; each calculation in the iterative calculations at the large time scale includes: at each moment when the battery is fully charged, based on the characteristic parameter group at the current moment, according to the battery terminal voltage, charge and discharge current at the current moment and multiple moments before the current moment, and the battery capacity at multiple moments before the current moment, calculating the battery capacity at the current moment.

[0008] In some embodiments, a characteristic parameter group of the battery at the current moment is determined based on the battery terminal voltage and the charge and discharge current at the current moment and multiple moments before the current moment, including iteratively calculating the characteristic parameter group corresponding to the current moment by the following method: calculating the system output at the current moment based on the state variable at the current moment, the covariance matrix at the previous moment, and the influence factor; wherein the state variable includes the output at the previous moment, the current at the current moment, the current at the previous moment, and the terminal voltage at the previous moment, and the system output at the current moment includes the difference between the open circuit voltage and the terminal voltage at the current moment; calculating the characteristic parameter group at the current moment based on the characteristic parameter group at the previous moment, the covariance matrix at the previous moment, the state variable at the current moment, and the system output at the current moment; calculating the covariance matrix at the current moment based on the system output at the current moment, the state variable at the current moment, the covariance matrix at the previous moment, and the influence factor.

[0009] In some embodiments, the influencing factors used in each iterative calculation are not exactly the same; preferably, a preset window is pre-set that moves in the direction of increasing sampling time, and the preset window corresponds to data at multiple consecutive moments. When calculating the characteristic parameter group at the target moment, the influencing factor associated with the preset window corresponding to the target moment is used.

[0010] In some embodiments, predicting the state of charge value at the current moment according to the characteristic parameter group includes: determining a state transfer matrix and a control vector matrix according to the characteristic parameter group, and calculating an estimated value of the system state at the current moment according to the state transfer matrix, the control vector matrix, an estimated value of the system state at the previous moment, and the current at the current moment; calculating a state variable error covariance matrix at the current moment according to the characteristic parameter group, the state transfer matrix, and a state noise covariance matrix at the previous moment; calculating state noise innovation at the current moment according to the battery terminal voltage at the current moment and a priori state estimation value at the current moment; calculating the observation noise covariance matrix at the current moment according to the observation noise covariance matrix at the previous moment and the state noise innovation at the current moment. difference matrix; calculate the Kalman gain at the current moment according to the state variable error covariance matrix at the current moment and the observation noise covariance matrix at the current moment; calculate the system state value at the current moment according to the system state estimate at the previous moment, the Kalman gain at the current moment, and the prior state estimate at the previous moment; calculate the state variable error covariance matrix at the current moment according to the Kalman gain at the current moment and the state variable error covariance matrix at the previous moment; calculate the measurement noise innovation at the current moment according to the current battery terminal voltage and the prior state estimate at the current moment; calculate the state noise covariance matrix at the current moment according to the state noise covariance matrix at the previous moment, the Kalman gain at the current moment, and the measurement noise innovation at the current moment.

[0011] In some embodiments, before predicting the state of charge value at the next moment based on the characteristic parameter group, it also includes: calculating the relative residual between the filtered prior measurement value and the actual measurement value at the current moment, and the state noise covariance matrix at the current moment; based on the relative residual, correcting the state noise covariance matrix at the current moment; and / or, based on the state of charge value at the current moment, correcting the observation noise covariance matrix at the current moment.

[0012] In some embodiments, the state noise covariance matrix at the current moment is corrected according to the relative residual, including: if the relative residual is less than or equal to a predetermined threshold, setting the state noise covariance matrix at the current moment equal to the state noise covariance matrix at the previous moment; otherwise, setting the state noise covariance matrix at the current moment equal to the product of the state noise covariance matrix at the previous moment and the robust function.

[0013] In some embodiments, the value of the robust function is inversely proportional to the relative residual.

[0014] In some embodiments, the observation noise covariance matrix at the current moment is corrected according to the state of charge value at the current moment, including: if the state of charge value at the current moment is greater than or equal to a first preset threshold, the observation noise covariance matrix at the current moment is corrected by the first preset threshold; if the state of charge value at the current moment is less than or equal to a second preset threshold, the observation noise covariance matrix at the current moment is corrected by the second preset threshold; if the state of charge value at the current moment is between the first preset threshold and the second preset threshold, the observation noise covariance matrix at the current moment is kept unchanged.

[0015] In some embodiments, the current capacity value of the battery is determined using the characteristic parameter group at the current moment, including: determining the current capacity estimate of the battery according to the battery capacity value determined last time; determining the current state noise covariance matrix according to the state variable error covariance matrix when the battery capacity value was determined last time and the state noise covariance matrix when the battery capacity value was determined last time; determining the current state noise innovation according to the current battery terminal voltage and the current prior state estimate; calculating the current observation noise covariance matrix according to the observation noise covariance matrix when the battery capacity value was determined last time and the current state noise innovation; calculating the current observation noise covariance matrix according to the current state variable error covariance matrix and the current observation noise covariance matrix, calculate the current Kalman gain; determine the current state variable error covariance matrix based on the state variable error covariance matrix when the battery capacity value was last determined, the current Kalman gain, the current state, and the prior state estimate when the battery capacity value was last determined; determine the current state variable error covariance matrix based on the current Kalman gain and the state variable error covariance matrix when the battery capacity was last determined; determine the current measurement noise innovation based on the current state and the current prior state estimate; determine the current state noise covariance matrix based on the state noise covariance matrix when the battery capacity value was last determined, the Kalman gain, and the current measurement noise innovation.

[0016] In some embodiments, calculating the current health status value of the battery according to the current capacity value of the battery includes: calculating the ratio of the current capacity value of the battery to the factory capacity value, and using the ratio as the health status value of the battery at the current moment.

[0017] The second aspect of the present specification provides a device for determining the health status value of a battery, including: an acquisition unit, which is used to detect the battery terminal voltage through a voltage detection unit according to a predetermined sampling interval during the battery charging and discharging process, and simultaneously detect the charging and discharging current through a current detection unit; a first determination unit, which is used to determine a characteristic parameter group of the battery at a current moment based on the battery terminal voltage and the charging and discharging current at the current moment and multiple moments before the current moment, wherein the characteristic parameter group includes multiple characteristic parameters for characterizing the inherent charging and discharging laws of the battery; a prediction unit, which is used to predict the state of charge value at the current moment based on the characteristic parameter group; a second determination unit, which is used to determine whether the battery is fully charged based on the state of charge value; a third determination unit, which is used to determine the current capacity value of the battery using the characteristic parameter group at the current moment when the battery is fully charged; and a first calculation unit, which is used to calculate the current health status value of the battery based on the current capacity value of the battery.

[0018] In some embodiments, the device is used to implement iterative calculations at a small time scale and iterative calculations at a large time scale; wherein each calculation in the iterative calculations at the small time scale includes: at each sampling moment, based on the characteristic parameter group at the current moment, according to the battery terminal voltage, charge and discharge current at the current moment and multiple moments before the current moment, and the charge state values ​​at multiple moments before the current moment, calculate the charge state value at the current moment; each calculation in the iterative calculations at the large time scale includes: at each moment when the battery is fully charged, based on the characteristic parameter group at the current moment, according to the battery terminal voltage, charge and discharge current at the current moment and multiple moments before the current moment, and the battery capacity at multiple moments before the current moment, calculate the battery capacity at the current moment.

[0019] In some embodiments, the first determination unit includes iteratively calculating the characteristic parameter group corresponding to the current moment through a first calculation subunit, a second calculation subunit, and a third calculation subunit, wherein the first calculation subunit is used to calculate the system output at the current moment according to the state variable at the current moment, the covariance matrix at the previous moment, and the influence factor; wherein the state variable includes the output at the previous moment, the current at the current moment, the current at the previous moment, and the terminal voltage at the previous moment, and the system output at the current moment includes the difference between the open circuit voltage and the terminal voltage at the current moment; the second calculation subunit is used to calculate the characteristic parameter group at the current moment according to the characteristic parameter group at the previous moment, the covariance matrix at the previous moment, the state variable at the current moment, and the system output at the current moment; the third calculation subunit is used to calculate the covariance matrix at the current moment according to the system output at the current moment, the state variable at the current moment, the covariance matrix at the previous moment, and the influence factor.

[0020] In some embodiments, the influencing factors used in each iterative calculation are not exactly the same; preferably, a preset window is pre-set that moves in the direction of increasing sampling time, and the preset window corresponds to data at multiple consecutive moments. When calculating the characteristic parameter group at the target moment, the influencing factor associated with the preset window corresponding to the target moment is used.

[0021] In some embodiments, the prediction unit includes: a fourth calculation subunit, which is used to determine the state transfer matrix and the control vector matrix according to the characteristic parameter group, and calculate the estimated value of the system state at the current moment according to the state transfer matrix, the control vector matrix, the estimated value of the system state at the previous moment, and the current at the current moment; a fifth calculation subunit, which is used to calculate the state variable error covariance matrix at the current moment according to the characteristic parameter group, the state transfer matrix, and the state noise covariance matrix at the previous moment; a sixth calculation subunit, which is used to calculate the state noise innovation at the current moment according to the battery terminal voltage at the current moment and the prior state estimation value at the current moment; a seventh calculation subunit, which is used to calculate the observation noise covariance matrix at the current moment according to the observation noise covariance matrix at the previous moment and the state noise innovation at the current moment; an eighth calculation subunit, which is used to The Kalman gain at the current moment is calculated according to the state variable error covariance matrix at the current moment and the observation noise covariance matrix at the current moment; the ninth calculation subunit is used to calculate the system state value at the current moment according to the system state estimate at the previous moment, the Kalman gain at the current moment, and the prior state estimate at the previous moment; the tenth calculation subunit is used to calculate the state variable error covariance matrix at the current moment according to the Kalman gain at the current moment and the state variable error covariance matrix at the previous moment; the eleventh calculation subunit is used to calculate the measurement noise information at the current moment according to the battery terminal voltage at the current moment and the prior state estimate at the current moment; the twelfth calculation subunit is used to calculate the state noise covariance matrix at the current moment according to the state noise covariance matrix at the previous moment, the Kalman gain at the current moment, and the measurement noise information at the current moment.

[0022] In some embodiments, the device also includes: a second calculation unit, used to calculate the relative residual between the filtered prior measurement value and the actual measurement value at the current moment, and the state noise covariance matrix at the current moment; a first correction unit, used to correct the state noise covariance matrix at the current moment according to the relative residual; and / or, a second correction unit, used to correct the observation noise covariance matrix at the current moment according to the state of charge value at the current moment.

[0023] In some embodiments, if the relative residual is less than or equal to a predetermined threshold, the first correction unit sets the state noise covariance matrix at the current moment to be equal to the state noise covariance matrix at the previous moment; otherwise, the first correction unit sets the state noise covariance matrix at the current moment to be equal to the product of the state noise covariance matrix at the previous moment and the robust function.

[0024] In some embodiments, the value of the robust function is inversely proportional to the relative residual.

[0025] In some embodiments, the second correction unit includes: a first correction subunit, which is used to correct the observation noise covariance matrix at the current moment by using the first preset threshold if the state of charge value at the current moment is greater than or equal to the first preset threshold; a second correction subunit, which is used to correct the observation noise covariance matrix at the current moment by using the second preset threshold if the state of charge value at the current moment is less than or equal to the second preset threshold; and a third correction subunit, which is used to keep the observation noise covariance matrix at the current moment unchanged if the state of charge value at the current moment is between the first preset threshold and the second preset threshold.

[0026] In some embodiments, the third determination unit includes: a first determination subunit, used to determine the current capacity estimation value of the battery according to the battery capacity value determined last time; a second determination subunit, used to determine the current state noise covariance matrix according to the state variable error covariance matrix when the battery capacity value was determined last time and the state noise covariance matrix when the battery capacity value was determined last time; a third determination subunit, used to determine the current state noise innovation according to the current battery terminal voltage and the current prior state estimation value; a thirteenth calculation subunit, used to calculate the current observation noise covariance matrix according to the observation noise covariance matrix when the battery capacity value was determined last time and the current state noise innovation; a fourteenth calculation subunit, used to calculate the current observation noise covariance matrix according to the current state variable error covariance matrix, the current observation noise covariance matrix, and the current state noise innovation; variance matrix, calculates the current Kalman gain; the fourth determination subunit is used to determine the current state variable error covariance matrix according to the state variable error covariance matrix when the battery capacity value was last determined, the current Kalman gain, the current state, and the prior state estimate when the battery capacity value was last determined; the fifth determination subunit is used to determine the current state variable error covariance matrix according to the current Kalman gain and the state variable error covariance matrix when the battery capacity was last determined; the sixth determination subunit is used to determine the current measurement noise information according to the current state and the current prior state estimate; the seventh determination subunit is used to determine the current state noise covariance matrix according to the state noise covariance matrix when the battery capacity value was last determined, the Kalman gain, and the current measurement noise information.

[0027] In some embodiments, the first calculation unit calculates a ratio of a current capacity value of the battery to a factory capacity value, and uses the ratio as a health status value of the battery at the current moment.

[0028] The third aspect of this specification provides an electronic device, comprising: a memory and a processor, the processor and the memory are communicatively connected to each other, the memory stores computer instructions, and the processor implements the method for determining the health status value of a battery as described in any one of the first aspects by executing the computer instructions.

[0029] A fourth aspect of the present specification provides a computer storage medium, wherein the computer storage medium stores computer program instructions, and when the computer program instructions are executed by a processor, the method for determining the health status value of a battery as described in any one of the first aspects is implemented.

[0030] A fifth aspect of the present specification provides a computer program product, comprising a computer program, which, when executed by a processor, implements the method for determining a health status value of a battery as described in any one of the first aspects.

[0031] The method for determining the health status value of a battery provided in this specification collects the battery terminal voltage and the charge and discharge current at a predetermined sampling interval, determines the battery characteristic parameter group at the current moment for the collected data at each sampling moment, and iteratively calculates the battery state of charge value at the current moment based on the characteristic parameter group at the current moment according to the battery state of charge values ​​at multiple moments before the current moment based on the characteristic parameter group at the current moment; determines whether the battery is fully charged based on the state of charge value, and determines the current capacity value of the battery based on the characteristic parameter group at the current target moment at each target moment when the battery is fully charged, and then calculates the health status value of the battery. This scheme determines the characteristic parameters by the battery terminal voltage and the charge and discharge current at the current moment and multiple moments before the current moment, and determines the health status value of the battery based on the characteristic parameters, and the determined characteristic parameters are more accurate and thus the health status value is more accurate; the characteristic status value can characterize the internal charge and discharge law of the battery, and the battery state of charge value and health status value determined based on the internal law of the battery are more accurate and reliable; since the battery capacity when the battery is fully charged can best reflect the health status value of the battery, when the state of charge value indicates that the battery is fully charged, the health status value of the battery is determined based on the characteristic state value at the moment, and the determined health status value is more accurate and reliable. This solution does not require training of the network model and is therefore not affected by training data. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] In order to more clearly illustrate the implementation methods of the present application or the technical solutions in the prior art, the drawings required for use in the implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some implementation methods recorded in this application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0033] Figure 1 A schematic diagram of a method for determining a health status value of a battery provided in an embodiment of this specification;

[0034] Figure 2 It is a schematic diagram of the Thevenin equivalent circuit model of the battery variable resistor;

[0035] Figure 3 A schematic diagram of a method for predicting the state of charge value at the current moment based on a characteristic parameter group;

[0036] Figure 4 A schematic diagram of another method for predicting the state of charge value at the current moment according to a characteristic parameter group;

[0037] Figure 5 A schematic diagram of a method for determining a current capacity value of a battery using a characteristic parameter group at a current moment;

[0038] Figure 6 Another schematic diagram of a method for determining a health status value of a battery provided in an embodiment of this specification;

[0039] Figure 7 Schematic diagram of small time scale and large time scale;

[0040] Figure 8 A schematic diagram of a device for determining a health status value of a battery provided in an embodiment of this specification;

[0041] Fig. 9 A schematic diagram of the structure of an electronic device provided in this specification is shown. DETAILED DESCRIPTION

[0042] In order to enable those skilled in the art to better understand the technical solutions in this application, the technical solutions in the embodiments of this application will be clearly and completely described below in conjunction with the drawings in the embodiments of this application. Obviously, the described embodiments are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of this application.

[0043] The present specification provides a method for determining the health status value of a battery. The method analyzes and models the operating data of the battery, determines a characteristic parameter group that can characterize the intrinsic charging and discharging laws of the battery based on the modeling results and the operating data, and then constructs an estimation model for the battery health status value based on the characteristic parameter group.

[0044] The battery in the present application can be a power lithium battery, a lead-acid battery, or a lithium iron phosphate battery.

[0045] like Figure 1 As shown, the method for determining the health status value of a battery provided in this specification includes the following steps:

[0046] S10: During the process of charging and discharging the battery, the battery terminal voltage is detected by the voltage detection unit according to a predetermined sampling interval, and the charging and discharging current is detected by the current detection unit at the same time.

[0047] The charge and discharge current in this application refers to the charging current under the battery charging condition, or the discharging current under the battery discharging condition.

[0048] Under experimental conditions or actual application conditions, during the process of battery charging or discharging, the terminal voltage of the battery can be detected by the voltage detection unit, and the charge and discharge current can be detected by the current detection unit. The terminal voltage and charge and discharge current are synchronously collected at every predetermined sampling interval, and the terminal voltage data and charge and discharge current data collected at the same time are used as the data at that time.

[0049] The detection technology of the battery terminal voltage and the charge and discharge current is a conventional operation in the prior art. Accordingly, the voltage detection unit and the current detection unit can adopt the existing detection circuit connection method, which will not be described in detail.

[0050] In some embodiments, the following S20 to S60 may be performed after each data sampling.

[0051] S20: determining a characteristic parameter group of the battery at the current moment according to the battery terminal voltage and the charge and discharge current at the current moment and at multiple moments before the current moment, wherein the characteristic parameter group includes multiple characteristic parameters for characterizing the internal charge and discharge law of the battery.

[0052] During the battery charging and discharging process, electrochemical reactions are constantly occurring inside the battery. Coupled with the influence of usage conditions, the battery's internal resistance and polarization resistance and capacitance are constantly changing. Figure 2 It is a schematic diagram of the Thevenin equivalent circuit model of the battery variable resistor, where: U OC represents the open circuit voltage of the battery, U L Indicates the terminal voltage of the battery, the variable resistor R 0 andR p Used to indicate the ohmic resistance and polarization resistance of a battery. U 0 Used to characterize the ohmic internal resistance of batteries R 0 The divided voltage, U P Used to characterize the polarization voltage generated by the polarization effect. C p Used to represent the polarization capacitance of a battery, Represents an estimate of the polarization voltage produced by the polarization effect.

[0053] according to Figure 2 The following voltage equations can be established:

[0054] (1)

[0055] In formula (1), v ( t ) is used to characterize the measurement noise of the model terminal voltage, U P is different R p The corresponding polarization voltage.

[0056] from Figure 2 It can be seen from formula (1) that the ohmic internal resistance of the battery can be R 0 , Polarization resistance R p , polarized capacitor C p As the characteristic parameters, a characteristic parameter group including three characteristic parameters is formed.

[0057] S20 determines the value of the characteristic parameter group of the battery at time t according to the data at time t and the data at time t-1, t-2, ..., etc.

[0058] In some embodiments, a Kalman filter algorithm may be used to determine the value of the characteristic parameter group, or a least squares algorithm may be used to determine the value of the characteristic parameter group. A method for determining the value of a characteristic parameter group provided in this specification is described below.

[0059] First, perform Laplace transformation and bilinear transformation on equation (1) in the time domain. I As system input, open circuit voltage U OC With terminal voltage U L The difference is taken as the system output, and the system equation of the equivalent circuit model in the frequency domain can be obtained through Laplace transform, as shown in formula (2).

[0060] (2)

[0061] U L ( s ) is the frequency domain expression of the battery terminal voltage; U oc ( s ) is the frequency domain expression of the open circuit voltage of the battery; I ( s ) is the frequency domain expression of current; s is a complex variable on the complex plane in frequency domain analysis.

[0062] Based on equation (2), the discrete system shown in equation (3) can be obtained through bilinear transformation.

[0063] (3)

[0064] y ( k ) indicates output, which is the open circuit voltage U OC With terminal voltage U L difference; v ( k )and v ( k -1) is an intermediate variable, y OC ( k ) is the open circuit voltage of the battery; y L ( k ) is the battery measurement terminal voltage; coefficient a , b , c , n 1 and n 2 is a parameter. According to the bilinear transformation of the system, the relationship between the discrete system parameters and the equivalent circuit model parameters can be obtained, as shown in formula (4).

[0065] (4)

[0066] In formula (4), τ represents the time constant of the RC circuit, a , b , c is the parameter in the discrete system, T Indicates the sampling interval.

[0067] The discrete equation shown in formula (4) can be expressed as the following formula (5).

[0068] (5)

[0069] In formula (5), x ( k ) are variables in the discrete system equations, θ ( k ) is the parameter group in the discrete system. x ( k ) and the output of the discretized equation y ( k ) is substituted into the parameter determination algorithm to determine the θ ( k ).

[0070] It should be noted that the parameter group in formula (5) θ ( k ) is not a characteristic parameter group. The characteristic parameter group is further calculated based on the parameter group.

[0071] The parameter determination algorithm can be iteratively calculated using the formula shown in the following formula (6) to obtain a parameter group.

[0072] (6)

[0073] θ ( k ) is the parameter group at time k; θ ( k -1) is the parameter group at time k-1; K ( k ) represents the iterative gain matrix, P ( k ) is the covariance matrix at time k; P ( k -1) is the covariance matrix at time k-1; x ( k ) is the state variable at time k; y ( k ) is the output at time k; λ is the impact factor.

[0074] According to equations (5) and (6), S20 may include the following S21 to S23.

[0075] S21: Calculate the system output at the current moment according to the state variables at the current moment, the covariance matrix at the previous moment, and the influence factor; wherein the state variables include the system output at the previous moment, the current at the current moment, the current at the previous moment, and the terminal voltage at the previous moment, and the system output at the current moment includes the open circuit voltage at the current moment U OC With terminal voltage U Ldifference.

[0076] S21 corresponds to the second formula in equation (6).

[0077] S22: Calculate the feature parameter group at the current moment according to the feature parameter group at the previous moment, the covariance matrix at the previous moment, the state variable at the current moment, and the system output at the current moment.

[0078] S22 corresponds to the first formula in equation (6).

[0079] S23: Calculate the covariance matrix at the current moment according to the system output at the current moment, the state variable at the current moment, the covariance matrix at the previous moment, and the influence factor.

[0080] S23 corresponds to the third formula in equation (6), which updates the covariance matrix for use in the next calculation.

[0081] In some cases, the same impact factor can be used in the entire iterative calculation process, that is, the impact factor can be preset before calculation. The value range of the impact factor can be (0.95, 1).

[0082] In other cases, different influencing factors may also be used in iterative calculations. For example, a preset window of size W may be pre-set, where W indicates that the preset window corresponds to data of W consecutive moments. The preset window moves in the direction of increasing sampling moments, and the associated influencing factor changes once the preset window moves, that is, different states of the preset window may correspond to different influencing factors. The influencing factors corresponding to each state of the preset window may be pre-set, or the associated influencing factors may be generated by a random function after each movement of the preset window.

[0083] During iterative calculation, the parameter groups corresponding to W consecutive moments in the preset window use the same impact factor in calculation. For example, the parameter group corresponding to the 1st to Wth moments uses the impact factor a1 in calculation, the parameter group corresponding to the W+1st to 2Wth moments uses the impact factor a2 in calculation, the parameter group corresponding to the 2W+1st to 3Wth moments uses the impact factor a3 in calculation, and so on.

[0084] In practical applications, the preset window moves in the direction of increasing sampling time. When the current sampling time is k, the data in the preset window corresponds to the time kW~k. Then the above formula (6) can be rewritten as the following formula (7).

[0085] (7)

[0086] When adding a preset window, the estimated value of the parameter group at time k after iteration; When adding a preset window, the estimated value of the parameter group at time k before iteration; K(kW,k -1 ) The algorithm gain matrix when adding a preset window; P(kW,k) is the covariance matrix at k moments after iteration when adding windows; P(kW,k -1 ) When adding a preset window, the covariance matrix of the k-1 moments before iteration; x(k) is the state variable at time k before adding the preset window; I is the identity matrix.

[0087] In order to move the preset window on the time axis without changing its length, the old data at kW should be deleted when reading new data at time k. Therefore, by replacing kW with k-W+1 in the equation, the above equation (7) can be rewritten as the following equation (8).

[0088] (8)

[0089] in, When the preset window moves, the estimated value of the parameter group at time k after iteration; When the preset window moves, the estimated value of the parameter group at time k before iteration; K(kW +1 ,k) It is the algorithm gain matrix when the preset window moves; P(kW +1 ,k) is the covariance matrix at k moments after iteration when the preset window moves; P(k- W,k) When adding a preset window, iterate the covariance matrix of the previous k moments; x(kW) is the state variable at time k when adding a preset window; I is the identity matrix.

[0090] Using a fixed single influencing factor in the iterative calculation process will easily lead to data saturation when the input data volume is huge, and it is easy to be disturbed by colored noise. By setting a preset window W and setting the parameter group corresponding to each W time to use the same influencing factor, the problem of data saturation and susceptibility to colored noise can be solved, making the iterative algorithm more sensitive to new data.

[0091] According to the recursive least squares principle, the coefficients obtained by the parameter determination algorithm shown in formula (8) can be obtained: The corresponding relationship with the equivalent circuit model parameters, and then determine the characteristic parameters in the model parameters R 0 , R p and C pAs shown in formula (9).

[0092] (9)

[0093] In formula (9), τ represents the time constant of the RC circuit, a , b , c is the parameter in the discrete system, T Indicates the sampling interval.

[0094] According to the above equations (5), (8) and (9), the characteristic parameters that characterize the intrinsic charging and discharging laws of the battery can be estimated in real time: R 0 , R p and C p .

[0095] S30: predicting the state of charge value at the current moment according to the characteristic parameter group.

[0096] The state of charge (SOC) is the ratio of the remaining capacity of a battery after it has been used for a period of time or has been left unused for a long time to its capacity when it is fully charged. The value range of SOC is 0~1. When SOC=0, it means that the battery is fully discharged, and when SOC=1, it means that the battery is fully charged.

[0097] In some embodiments, to determine the state of charge value at the current moment, the following state space equation and observation equation may be constructed:

[0098] (10)

[0099] in, f ( x k ,u k )and h ( x k ,u k ) represents the functional relationship between the estimated system state and the input variables; x k+1 Estimate the system state at time k+1; x k Estimate the system state at time k; u k Estimate system input variables for time k; w k is the state error at time k; v k is the measurement error at time k; ; , S 0 The factory battery capacity; ; D k = -R 0 .

[0100] After discretization, the state space equation and observation equation of the estimation system are obtained:

[0101] (11)

[0102] S 0 The factory battery capacity; SOC k+1 is the SOC value at time k+1; SOC k is the SOC value at time k; U p,k+1 is the polarization voltage at time k+1; U p,k is the polarization voltage at time k; I k+1 is the current at time k+1; w k+1 is the state error at time k+1; v k+1 is the measurement error at time k+1, U L,k+1 is the battery terminal voltage at time k+1, U OC,k+1 is the open circuit voltage of the battery at time k+1.

[0103] Among them, the system state vector x include SOC k+1 , U p,k+1 , the system observation vector y include U L,k+1 , the system input includes I k+1 .

[0104] Based on the above formula (11), the Kalman filter algorithm can be used to estimate the current time (i.e., time k+1): SOC k+1 .

[0105] First, the initial values ​​of the two state variables and the covariance matrix are set.

[0106] (12)

[0107] is the estimated value of the system state variables at the initial moment; x 0 is the system state variable at the initial moment; is the estimated value of the state noise covariance matrix at the initial moment; Q n,0 is the state noise covariance matrix at the initial moment; P x,0 is the state variable error covariance matrix at the initial moment; P Q,0 is the state noise error covariance matrix at the initial moment.

[0108] Then, the SOC is estimated based on the Kalman filter algorithm at a small time scale. The interval between adjacent moments at a small time scale is the same as the interval between sampling moments, that is, the moments at a small time scale correspond to the sampling moments one by one. The estimation algorithm specifically includes:

[0109] (1) Small time scale algorithm time update

[0110] (13)

[0111] in , is the parameter matrix;

[0112] is the system state at time k+1; is the system state at time k; P x,k+1 is the state variable error covariance matrix at time k+1; P x,k is the state variable error covariance matrix at time k; Q k is the corrected state noise covariance matrix at time k; t is the sampling time.

[0113] (2) Small time scale algorithm state noise update

[0114] (14)

[0115] is the state noise update at time k+1; is the battery terminal voltage at time k+1; is the prior state estimate at time k+1; R k+1 is the corrected observation noise covariance matrix at time k+1; R k is the corrected observation noise covariance matrix at time k.

[0116] In formula (14), α It is a weighting coefficient used for adaptive correction of process noise and observation noise during algorithm iteration, and its value is usually between 0.9 and 1.

[0117] (3) Small time scale algorithm Kalman gain update and measurement update

[0118] (15)

[0119] K x,k+1 is the Kalman gain at time k+1; is the parameter matrix; P x,k+1 is the state variable error covariance matrix at time k+1; P x,k is the state variable error covariance matrix at time k; R k+1 is the corrected observation noise covariance matrix at time k+1; is the system state at time k+1; is the system state at time k; is the prior state estimate at time k.

[0120] (4) Small time scale algorithm measurement noise update

[0121] (16)

[0122] The noise update is measured at time k+1; is the battery terminal voltage at time k+1; is the prior state estimate at time k+1; Q k+1 is the modified k+1 time state noise covariance matrix; Q k is the corrected state noise covariance matrix at time k.

[0123] According to the above formulas (13)-(16), Figure 3 As shown, it can be seen that S30 includes the following S31 to S39.

[0124] S31: Determine the state transfer matrix and the control vector matrix according to the characteristic parameter group, and calculate the estimated value of the system state at the current moment according to the state transfer matrix, the control vector matrix, the estimated value of the system state at the previous moment, and the current at the current moment. S31 corresponds to the first formula of the above formula (13).

[0125] S32: Calculate the state variable error covariance matrix at the current moment according to the characteristic parameter group, the state transfer matrix, and the state noise covariance matrix at the previous moment. S32 corresponds to the second formula of the above formula (13).

[0126] S33: Calculate the state noise information at the current moment according to the battery terminal voltage at the current moment and the prior state estimation value at the current moment. S33 corresponds to the first formula of the above formula (14).

[0127] S34: Calculate the observation noise covariance matrix at the current moment according to the observation noise covariance matrix at the previous moment and the state noise innovation at the current moment. S34 corresponds to the second formula of the above formula (14).

[0128] S35: Calculate the Kalman gain at the current moment according to the state variable error covariance matrix at the current moment and the observation noise covariance matrix at the current moment. S35 corresponds to the first formula of the above formula (15).

[0129] S36: Calculate the system state value at the current moment according to the system state estimate value at the previous moment, the Kalman gain at the current moment, and the priori state estimate value at the previous moment. S36 corresponds to the second formula of the above formula (15).

[0130] S37: Calculate the state variable error covariance matrix at the current moment according to the Kalman gain at the current moment and the state variable error covariance matrix at the previous moment. S37 corresponds to the third formula of the above formula (15).

[0131] S38: Calculate the measurement noise update at the current moment according to the battery terminal voltage at the current moment and the prior state estimation value at the current moment. S38 corresponds to the first formula of the above formula (16).

[0132] S39: Calculate the state noise covariance matrix at the current moment according to the state noise covariance matrix at the previous moment, the Kalman gain at the current moment, and the measurement noise innovation at the current moment. S39 corresponds to the second formula of the above formula (16).

[0133] In some embodiments, Figure 4 As shown, before predicting the state of charge at the next moment according to the characteristic parameter group, the following steps may also be included:

[0134] S310: Calculate the relative residual between the filtered priori measurement value and the actual measurement value at the current moment, and the state noise covariance matrix at the current moment.

[0135] The filter prior measurement value refers to the noise estimate value, which can be a set value. The relative residual is the difference between the noise estimate value and the noise measured value.

[0136] S311: According to the relative residual, the state noise covariance matrix at the current moment is corrected.

[0137] Specifically, if the relative residual is less than or equal to a predetermined threshold, the state noise covariance matrix at the current moment is set equal to the state noise covariance matrix at the previous moment; otherwise, the state noise covariance matrix at the current moment is set equal to the product of the state noise covariance matrix at the previous moment and the robust function.

[0138] Among them, the value of the robust function is inversely proportional to the relative residual.

[0139] For example, a correction method can be expressed as:

[0140] like ;otherwise (17)

[0141] Q k is the corrected state noise covariance matrix at time k; Q k-1 is the state noise covariance matrix at k-1 moments before correction; r k is the relative residual between the filtered priori measurement value and the actual measurement value at time k; θ is the threshold value set; r k is the difference between the noise estimation value and the noise measured value; c c is a constant, c c For r k are of the same order of magnitude.

[0142] S312: According to the state of charge value at the current moment, the observation noise covariance matrix at the current moment is corrected.

[0143] Specifically, if the state of charge value at the current moment is greater than or equal to the first preset threshold, the observation noise covariance matrix at the current moment is corrected by the first preset threshold; if the state of charge value at the current moment is less than or equal to the second preset threshold, the observation noise covariance matrix at the current moment is corrected by the second preset threshold; if the state of charge value at the current moment is between the first preset threshold and the second preset threshold, the observation noise covariance matrix at the current moment is kept unchanged.

[0144] For example, a correction method can be expressed as:

[0145] like

[0146] like (18)

[0147] otherwise R k = R k0

[0148] in, R k is the corrected observation noise covariance matrix at time k; R k0 is the observation noise covariance matrix before the correction k moments. Among them, the value of the constant can be SOC H =0.8, SOC L =0.2, G 1 = G 2 = 10. The k moment in formula (18) is the current moment.

[0149] S40: Determine whether the battery is fully charged according to the state of charge value.

[0150] In some embodiments, whether the battery is fully charged can be determined based on the difference between the state of charge value at the current moment and the state of charge value at the previous moment being less than a preset threshold. In other embodiments, after the state of charge value at the next moment of the current moment is determined, it can be determined based on the state of charge values ​​before and after the current moment whether the state of charge value at the current moment is a maximum value, and if it is a maximum value, it is determined that the battery at the current moment is fully charged.

[0151] S50: When the battery is fully charged, the current capacity value of the battery is determined using the characteristic parameter group at the current moment.

[0152] The battery capacity will decrease due to various factors such as battery aging, over-charging and discharging, and use in high temperature environments. When the battery is fully charged, the battery capacity can reflect the battery health status.

[0153] However, it is difficult to directly and accurately determine the capacity value of a battery. Therefore, this specification proposes to use a state observer to determine the current capacity value of a battery.

[0154] In some embodiments, the state space equations and observation equations may be constructed as follows:

[0155] (19)

[0156] S 0 The factory battery capacity; S s,k+1 is the battery capacity at time k+1; Ss,k is the battery capacity at time k; U p,k+1 is the polarization voltage at time k+1; U p,k is the polarization voltage at time k; I k is the current at time k; w k+1 is the state error at time k+1; v k+1 is the measurement error at time k+1, U L,k+1 is the battery terminal voltage at time k+1, U oc,k is the open circuit voltage of the battery at time k+1.

[0157] Among them, the system state vector include S s,k+1 , U p,k+1 , the system observation vector include U L,k+1 , the system input includes I k+1 .

[0158] Based on the above formula (19), the Kalman filter algorithm can be used to estimate the capacity at the current time (i.e., time k+1): S s,k+1 .

[0159] After initializing the two state variables and the covariance matrix, the capacity S can be estimated based on the Kalman filter algorithm at a large time scale. The time interval between adjacent moments at a large time scale is the time interval between two adjacent battery capacity estimates. The estimation algorithm specifically includes:

[0160] (1) Large time scale algorithm time update

[0161] (20)

[0162] is the estimated capacity at time k+1 under large time scale; S s,k is the capacity at time k under large time scale; P s,k+1 is the state variable error covariance matrix at time k+1 under large time scale; P s,k is the error covariance matrix of the state variables at time k under large time scale; G k is the state noise covariance matrix under large time scale.

[0163] (2) Large time scale algorithm state noise update

[0164] (twenty one)

[0165] is the state noise update at time k+1 on a large time scale; is the battery terminal voltage at time k+1 on a large time scale; is the prior state estimate at time k+1 under a large time scale; Z k+1 is the observation noise covariance matrix at time k+1 under large time scale; Z k is the k-time observation noise covariance matrix on a large time scale.

[0166] In formula (19), β It is a weighting coefficient used for adaptive correction of process noise and observation noise during algorithm iteration, and its value is usually between 0.9 and 1.

[0167] (3) Large time scale algorithm Kalman gain update and measurement update

[0168] (twenty two)

[0169] K s,k+1 is the Kalman gain at time k+1 under large time scale; is the parameter matrix; P s,k+1 is the state variable error covariance matrix at time k+1 under large time scale; P s,k is the error covariance matrix of the state variables at time k under large time scale; Z k+1 is the observation noise covariance matrix at time k+1 under large time scale; is the estimated capacity at time k+1 under large time scale; is the battery capacity at time k+1 on a large time scale; is the battery state of charge value at time k on a large time scale; is the prior state estimate at time k on a large time scale.

[0170] (4) Large time scale algorithm measurement noise update

[0171] (twenty three)

[0172] It is the noise innovation measured at time k+1 on a large time scale; is the battery capacity at time k+1 on a large time scale; is the prior state estimate at time k+1; G k+1 is the state noise covariance matrix at time k+1 under large time scale; G k is the state noise covariance matrix at time k on a large time scale.

[0173] According to the above formulas (20)-(23), Figure 5 As shown, it can be seen that S50 includes the following S51 to S59.

[0174] S51: Determine the estimated value of the current capacity of the battery according to the battery capacity value determined last time. S51 corresponds to the first formula of the above formula (20).

[0175] S52: Determine the current state noise covariance matrix according to the state variable error covariance matrix when the battery capacity value was determined last time and the state noise covariance matrix when the battery capacity value was determined last time. S52 corresponds to the second formula of the above formula (20).

[0176] S53: Determine the current state noise innovation according to the current battery terminal voltage and the current prior state estimation value. S53 corresponds to the first formula of the above formula (21).

[0177] S54: Calculate the current observation noise covariance matrix according to the observation noise covariance matrix when the battery capacity value was determined last time and the current state noise innovation. S54 corresponds to the second formula of the above formula (21).

[0178] S55: Calculate the current Kalman gain according to the current state variable error covariance matrix and the current observation noise covariance matrix. S55 corresponds to the first formula of the above formula (22).

[0179] S56: Determine the current state variable error covariance matrix according to the state variable error covariance matrix when the battery capacity value was last determined, the current Kalman gain, the current state, and the prior state estimate when the battery capacity value was last determined. S56 corresponds to the second formula of the above formula (22).

[0180] S57: Determine the current state variable error covariance matrix according to the current Kalman gain and the state variable error covariance matrix when the battery capacity was determined last time. S57 corresponds to the third formula of the above formula (22).

[0181] S58: Determine the current measurement noise innovation according to the current state and the current prior state estimate. S58 corresponds to the first formula of the above formula (23).

[0182] S59: Determine the current state noise covariance matrix according to the state noise covariance matrix when the battery capacity value was determined last time, the Kalman gain, and the current measurement noise innovation. S59 corresponds to the second formula of the above formula (23).

[0183] S60: Calculate the current health status value of the battery according to the current capacity value of the battery.

[0184] Specifically, the ratio of the current capacity value of the battery to the factory capacity value may be calculated, and the ratio may be used as the health status value at the current moment.

[0185] The above gives the iterative calculation methods under small time scales and large time scales. Figure 6 This is the overall schematic diagram of the above iterative algorithm.

[0186] The following further explains the relationship between iterative calculations on small time scales and large time scales from the perspective of the overall technical solution. Figure 7 , each dot represents a sampling moment, and the sampling interval between adjacent sampling moments is a predetermined sampling interval; the dot corresponding to the vertical dotted line represents the moment when the battery is fully charged. Figure 7 In the figure, the state of charge value at the current moment is determined according to the moments before the current moment among the moments represented by the target dots, that is, the small time scale is the time scale represented by the dots; the battery capacity at the current moment is determined according to the moments before the current moment among the moments represented by the vertical dotted line, that is, the large time scale is the time scale represented by the triangles, and the triangles, vertical dotted lines, and dots at corresponding positions represent the same moment.

[0187] The method for determining the health status value of a battery provided in this specification collects the battery terminal voltage and the charge and discharge current at a predetermined sampling interval, determines the battery characteristic parameter group at the current moment for the collected data at each sampling moment, and iteratively calculates the battery state of charge value at the current moment based on the characteristic parameter group at the current moment according to the battery state of charge values ​​at multiple moments before the current moment based on the characteristic parameter group at the current moment; determines whether the battery is fully charged based on the state of charge value, and determines the current capacity value of the battery based on the characteristic parameter group at the current target moment at each target moment when the battery is fully charged, and then calculates the health status value of the battery. This scheme determines the characteristic parameters by the battery terminal voltage and the charge and discharge current at the current moment and multiple moments before the current moment, and determines the health status value of the battery based on the characteristic parameters, and the determined characteristic parameters are more accurate and thus the health status value is more accurate; the characteristic status value can characterize the internal charge and discharge law of the battery, and the battery state of charge value and health status value determined based on the internal law of the battery are more accurate and reliable; since the battery capacity when the battery is fully charged can best reflect the health status value of the battery, when the state of charge value indicates that the battery is fully charged, the health status value of the battery is determined based on the characteristic state value at the moment, and the determined health status value is more accurate and reliable. This solution does not require training of the network model and is therefore not affected by training data.

[0188] The term “new information” in this specification refers to the difference between the observed value and the predicted value.

[0189] This specification provides a device for determining the health status of a battery, which can be used to implement Figure 1 As shown in the method. Figure 8 As shown, the apparatus includes an acquisition unit 10 , a first determination unit 20 , a prediction unit 30 , a second determination unit 40 , a third determination unit 50 and a first calculation unit 60 .

[0190] The acquisition unit 10 is used to detect the battery terminal voltage through the voltage detection unit at a predetermined sampling interval during the battery charging and discharging process, and simultaneously detect the charging and discharging current through the current detection unit.

[0191] The first determination unit 20 is used to determine a characteristic parameter group of the battery at the current moment according to the battery terminal voltage and the charge and discharge current at the current moment and multiple moments before the current moment, wherein the characteristic parameter group includes multiple characteristic parameters for characterizing the internal charge and discharge law of the battery.

[0192] The prediction unit 30 is used to predict the state of charge value at the current moment according to the characteristic parameter group.

[0193] The second determining unit 40 is used to determine whether the battery is fully charged according to the state of charge value.

[0194] The third determining unit 50 is used to determine the current capacity value of the battery by using the characteristic parameter group at the current moment when the battery is fully charged.

[0195] The first calculation unit 60 is used to calculate the current health state value of the battery according to the current capacity value of the battery.

[0196] In some embodiments, the device is used to implement iterative calculations at a small time scale and iterative calculations at a large time scale; wherein each calculation in the iterative calculations at the small time scale includes: at each sampling moment, based on the characteristic parameter group at the current moment, according to the battery terminal voltage, charge and discharge current at the current moment and multiple moments before the current moment, and the charge state values ​​at multiple moments before the current moment, calculate the charge state value at the current moment; each calculation in the iterative calculations at the large time scale includes: at each moment when the battery is fully charged, based on the characteristic parameter group at the current moment, according to the battery terminal voltage, charge and discharge current at the current moment and multiple moments before the current moment, and the battery capacity at multiple moments before the current moment, calculate the battery capacity at the current moment.

[0197] In some embodiments, the first determination unit includes iteratively calculating the characteristic parameter group corresponding to the current moment through a first calculation subunit, a second calculation subunit, and a third calculation subunit, wherein the first calculation subunit is used to calculate the system output at the current moment according to the state variable at the current moment, the covariance matrix at the previous moment, and the influence factor; wherein the state variable includes the output at the previous moment, the current at the current moment, the current at the previous moment, and the terminal voltage at the previous moment, and the system output at the current moment includes the difference between the open circuit voltage and the terminal voltage at the current moment; the second calculation subunit is used to calculate the characteristic parameter group at the current moment according to the characteristic parameter group at the previous moment, the covariance matrix at the previous moment, the state variable at the current moment, and the system output at the current moment; the third calculation subunit is used to calculate the covariance matrix at the current moment according to the system output at the current moment, the state variable at the current moment, the covariance matrix at the previous moment, and the influence factor.

[0198] In some embodiments, the influencing factors used in each iterative calculation are not exactly the same; preferably, a preset window is pre-set that moves in the direction of increasing sampling time, and the preset window corresponds to data at multiple consecutive moments. When calculating the characteristic parameter group at the target moment, the influencing factor associated with the preset window corresponding to the target moment is used.

[0199] In some embodiments, the prediction unit includes: a fourth calculation subunit, which is used to determine the state transfer matrix and the control vector matrix according to the characteristic parameter group, and calculate the estimated value of the system state at the current moment according to the state transfer matrix, the control vector matrix, the estimated value of the system state at the previous moment, and the current at the current moment; a fifth calculation subunit, which is used to calculate the state variable error covariance matrix at the current moment according to the characteristic parameter group, the state transfer matrix, and the state noise covariance matrix at the previous moment; a sixth calculation subunit, which is used to calculate the state noise innovation at the current moment according to the battery terminal voltage at the current moment and the prior state estimation value at the current moment; a seventh calculation subunit, which is used to calculate the observation noise covariance matrix at the current moment according to the observation noise covariance matrix at the previous moment and the state noise innovation at the current moment; an eighth calculation subunit, which is used to The Kalman gain at the current moment is calculated according to the state variable error covariance matrix at the current moment and the observation noise covariance matrix at the current moment; the ninth calculation subunit is used to calculate the system state value at the current moment according to the system state estimate at the previous moment, the Kalman gain at the current moment, and the prior state estimate at the previous moment; the tenth calculation subunit is used to calculate the state variable error covariance matrix at the current moment according to the Kalman gain at the current moment and the state variable error covariance matrix at the previous moment; the eleventh calculation subunit is used to calculate the measurement noise information at the current moment according to the battery terminal voltage at the current moment and the prior state estimate at the current moment; the twelfth calculation subunit is used to calculate the state noise covariance matrix at the current moment according to the state noise covariance matrix at the previous moment, the Kalman gain at the current moment, and the measurement noise information at the current moment.

[0200] In some embodiments, the device also includes: a second calculation unit, used to calculate the relative residual between the filtered prior measurement value and the actual measurement value at the current moment, and the state noise covariance matrix at the current moment; a first correction unit, used to correct the state noise covariance matrix at the current moment according to the relative residual; and / or, a second correction unit, used to correct the observation noise covariance matrix at the current moment according to the state of charge value at the current moment.

[0201] In some embodiments, if the relative residual is less than or equal to a predetermined threshold, the first correction unit sets the state noise covariance matrix at the current moment to be equal to the state noise covariance matrix at the previous moment; otherwise, the first correction unit sets the state noise covariance matrix at the current moment to be equal to the product of the state noise covariance matrix at the previous moment and the robust function.

[0202] In some embodiments, the value of the robust function is inversely proportional to the relative residual.

[0203] In some embodiments, the second correction unit includes: a first correction subunit, which is used to correct the observation noise covariance matrix at the current moment by using the first preset threshold if the state of charge value at the current moment is greater than or equal to the first preset threshold; a second correction subunit, which is used to correct the observation noise covariance matrix at the current moment by using the second preset threshold if the state of charge value at the current moment is less than or equal to the second preset threshold; and a third correction subunit, which is used to keep the observation noise covariance matrix at the current moment unchanged if the state of charge value at the current moment is between the first preset threshold and the second preset threshold.

[0204] In some embodiments, the third determination unit includes: a first determination subunit, used to determine the current capacity estimation value of the battery according to the battery capacity value determined last time; a second determination subunit, used to determine the current state noise covariance matrix according to the state variable error covariance matrix when the battery capacity value was determined last time and the state noise covariance matrix when the battery capacity value was determined last time; a third determination subunit, used to determine the current state noise innovation according to the current battery terminal voltage and the current prior state estimation value; a thirteenth calculation subunit, used to calculate the current observation noise covariance matrix according to the observation noise covariance matrix when the battery capacity value was determined last time and the current state noise innovation; a fourteenth calculation subunit, used to calculate the current observation noise covariance matrix according to the current state variable error covariance matrix, the current observation noise covariance matrix, and the current state noise innovation; variance matrix, calculates the current Kalman gain; the fourth determination subunit is used to determine the current state variable error covariance matrix according to the state variable error covariance matrix when the battery capacity value was last determined, the current Kalman gain, the current state, and the prior state estimate when the battery capacity value was last determined; the fifth determination subunit is used to determine the current state variable error covariance matrix according to the current Kalman gain and the state variable error covariance matrix when the battery capacity was last determined; the sixth determination subunit is used to determine the current measurement noise information according to the current state and the current prior state estimate; the seventh determination subunit is used to determine the current state noise covariance matrix according to the state noise covariance matrix when the battery capacity value was last determined, the Kalman gain, and the current measurement noise information.

[0205] In some embodiments, the first calculation unit calculates a ratio of a current capacity value of the battery to a factory capacity value, and uses the ratio as a health status value of the battery at the current moment.

[0206] The description and functions of the above-mentioned devices can be understood by referring to the content of the method for determining the health status value of the battery, and will not be repeated here.

[0207] The embodiment of the present invention further provides an electronic device, such as Fig. 9As shown, the electronic device may include a processor 901 and a memory 902, wherein the processor 901 and the memory 902 may be connected via a bus or other means. Fig. 9 The example of connecting through bus is taken in the following.

[0208] The processor 901 may be a central processing unit (CPU). The processor 901 may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or a combination of the above chips.

[0209] The memory 902 is a non-transitory computer-readable storage medium that can be used to store non-transitory software programs, non-transitory computer executable programs and modules, such as program instructions / modules corresponding to the method for determining the health status of a battery in an embodiment of the present invention (for example, Figure 8 The processor 901 executes various functional applications and data processing of the processor by running the non-transient software programs, instructions and modules stored in the memory 902, that is, the method for determining the health status value of the battery in the above method embodiment is implemented.

[0210] The memory 902 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required by at least one function; the data storage area may store data created by the processor 901, etc. In addition, the memory 902 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some embodiments, the memory 902 may optionally include a memory remotely arranged relative to the processor 901, and these remote memories may be connected to the processor 901 via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0211] The one or more modules are stored in the memory 902, and when executed by the processor 901, the following is performed: Figure 1 A method for determining a health status value of a battery in the illustrated embodiment.

[0212] The specific details of the above electronic device can be understood by referring to the corresponding descriptions and effects in the method embodiment, and will not be repeated here.

[0213] The present specification also provides a computer storage medium, wherein the computer storage medium stores computer program instructions, and when the computer program instructions are executed by a processor, the steps of the above-mentioned method for determining the health status value of a battery are implemented.

[0214] The present specification also provides a computer program product, comprising a computer program, which implements the steps of the above-mentioned method for determining the health status value of a battery when executed by a processor.

[0215] Those skilled in the art can understand that the implementation of all or part of the processes in the above-mentioned embodiments can be completed by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium, and when the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, the storage medium can be a disk, an optical disk, a read-only memory (ROM), a random access memory (RAM), a flash memory, a hard disk drive (HDD) or a solid-state drive (SSD), etc.; the storage medium can also include a combination of the above-mentioned types of memory.

[0216] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the various embodiments can be referenced to each other, and each embodiment focuses on the differences from other embodiments.

[0217] The systems, devices, modules or units described in the above embodiments may be implemented by computer chips or entities, or by products with certain functions.

[0218] For the convenience of description, the above device is described in various units according to their functions. Of course, when implementing the present application, the functions of each unit can be implemented in the same or multiple software and / or hardware.

[0219] It can be known from the description of the above implementation methods that those skilled in the art can clearly understand that the present application can be implemented by means of software plus a necessary general hardware platform. Based on such an understanding, the technical solution of the present application can be essentially or partly contributed to the prior art in the form of a software product, which can be stored in a storage medium such as ROM / RAM, a magnetic disk, an optical disk, etc., and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute certain parts of the methods of each implementation method of the present application.

[0220] The present application can be used in many general or special computer system environments or configurations, such as personal computers, server computers, handheld or portable devices, tablet devices, multiprocessor systems, microprocessor-based systems, set-top boxes, programmable consumer electronic devices, network PCs, minicomputers, mainframe computers, distributed computing environments including any of the above systems or devices, etc.

[0221] The present application may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. The present application may also be practiced in distributed computing environments where tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules may be located in local and remote computer storage media, including storage devices.

[0222] The specific embodiments described above further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific embodiment of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.

Claims

1. A method for determining a battery health status value, characterized in that: include: During the process of charging and discharging the battery, the battery terminal voltage is detected by the voltage detection unit according to a predetermined sampling interval, and the charging and discharging current is detected by the current detection unit at the same time; Determine a characteristic parameter group of the battery at the current moment according to the battery terminal voltage and the charge and discharge current at the current moment and multiple moments before the current moment, wherein the characteristic parameter group includes multiple characteristic parameters for characterizing the internal charge and discharge law of the battery; Predicting the state of charge value at the current moment according to the characteristic parameter group; determining whether the battery is fully charged according to the state of charge value; When the battery is fully charged, the current capacity value of the battery is determined using the characteristic parameter group at the current moment; Calculate the current health status of the battery based on the current capacity of the battery; Predicting the state of charge value at the current moment according to the characteristic parameter group includes: Determine a state transfer matrix and a control vector matrix according to the characteristic parameter group, and calculate an estimated value of the system state at the current moment according to the state transfer matrix, the control vector matrix, an estimated value of the system state at the previous moment, and the current at the current moment; Calculate the state variable error covariance matrix at the current moment according to the characteristic parameter group, the state transfer matrix, and the state noise covariance matrix at the previous moment; Calculate the state noise information at the current moment according to the battery terminal voltage at the current moment and the prior state estimation value at the current moment; Calculate the observation noise covariance matrix at the current moment according to the observation noise covariance matrix at the previous moment and the state noise innovation at the current moment; Calculate the Kalman gain at the current moment according to the state variable error covariance matrix at the current moment and the observation noise covariance matrix at the current moment; Calculate the system state value at the current moment according to the system state estimate value at the previous moment, the Kalman gain at the current moment, and the prior state estimate value at the previous moment; Calculate the state variable error covariance matrix at the current moment according to the Kalman gain at the current moment and the state variable error covariance matrix at the previous moment; According to the battery terminal voltage at the current moment and the prior state estimation value at the current moment, the measurement noise update at the current moment is calculated; The state noise covariance matrix at the current moment is calculated based on the state noise covariance matrix at the previous moment, the Kalman gain at the current moment, and the measurement noise information at the current moment.

2. The method according to claim 1, characterized in that The method includes iterative calculation under a small time scale and iterative calculation under a large time scale; wherein, Each calculation in the iterative calculation under the small time scale includes: at each sampling moment, based on the characteristic parameter group at the current moment, according to the battery terminal voltage and charge and discharge current at the current moment and multiple moments before the current moment, and the state of charge values ​​at multiple moments before the current moment, calculating the state of charge value at the current moment; Each calculation in the iterative calculation under the large time scale includes: at each moment when the battery is fully charged, based on the characteristic parameter group at the current moment, according to the battery terminal voltage and charge and discharge current at the current moment and multiple moments before the current moment, and the battery capacity at multiple moments before the current moment, calculate the battery capacity at the current moment.

3. The method according to claim 1, characterized in that Determine the characteristic parameter group of the battery at the current moment according to the battery terminal voltage and the charge and discharge current at the current moment and multiple moments before the current moment, including iteratively calculating the characteristic parameter group corresponding to the current moment by the following method: Calculate the system output at the current moment according to the state variables at the current moment, the covariance matrix at the previous moment, and the influence factor; wherein the state variables include the output at the previous moment, the current at the current moment, the current at the previous moment, and the terminal voltage at the previous moment, and the system output at the current moment includes the difference between the open circuit voltage and the terminal voltage at the current moment; Calculate the characteristic parameter group at the current moment according to the characteristic parameter group at the previous moment, the covariance matrix at the previous moment, the state variable at the current moment, and the system output at the current moment; The covariance matrix at the current moment is calculated according to the system output at the current moment, the state variables at the current moment, the covariance matrix at the previous moment, and the influencing factors.

4. The method according to claim 3, characterized in that The impact factors used in each iterative calculation are not exactly the same.

5. The method according to claim 4, characterized in that A preset window moving in a direction of increasing sampling time is pre-set, the preset window corresponds to data of multiple consecutive time points, and when calculating the characteristic parameter group of the target time point, the influence factor associated with the preset window corresponding to the target time point is used.

6. The method according to claim 5, characterized in that Before predicting the state of charge value at the next moment according to the characteristic parameter group, it also includes: Calculate the relative residual between the filtered priori measurement value and the actual measurement value at the current moment, and the state noise covariance matrix at the current moment; According to the relative residual, the state noise covariance matrix at the current moment is corrected; and / or, According to the state of charge value at the current moment, the observation noise covariance matrix at the current moment is corrected.

7. The method according to claim 6, characterized in that According to the relative residual, the state noise covariance matrix at the current moment is corrected, including: If the relative residual is less than or equal to a predetermined threshold, setting the state noise covariance matrix at the current moment to be equal to the state noise covariance matrix at the previous moment; Otherwise, the state noise covariance matrix at the current moment is set equal to the product of the state noise covariance matrix at the previous moment and the robust function.

8. The method according to claim 7, characterized in that The value of the robust function is in inverse proportion to the relative residual.

9. The method according to claim 6, characterized in that According to the state of charge value at the current moment, the observation noise covariance matrix at the current moment is corrected, including: If the state of charge value at the current moment is greater than or equal to a first preset threshold, the observation noise covariance matrix at the current moment is corrected by the first preset threshold; If the state of charge value at the current moment is less than or equal to a second preset threshold, the observation noise covariance matrix at the current moment is corrected by the second preset threshold; If the state of charge value at the current moment is between the first preset threshold and the second preset threshold, the observation noise covariance matrix at the current moment is kept unchanged.

10. The method according to claim 1, characterized in that The current capacity value of the battery is determined using the characteristic parameter group at the current moment, including: Determine an estimated value of the current capacity of the battery based on the last determined battery capacity value; Determine a current state noise covariance matrix according to a state variable error covariance matrix when the battery capacity value was last determined and a state noise covariance matrix when the battery capacity value was last determined; Determine the current state noise information according to the current battery terminal voltage and the current prior state estimation value; Calculate the current observation noise covariance matrix based on the observation noise covariance matrix when the battery capacity value was determined last time and the current state noise information; Calculate the current Kalman gain based on the current state variable error covariance matrix and the current observation noise covariance matrix; Determine the current state variable error covariance matrix according to the state variable error covariance matrix when the battery capacity value was last determined, the current Kalman gain, the current state, and the prior state estimate when the battery capacity value was last determined; Determine the current state variable error covariance matrix according to the current Kalman gain and the state variable error covariance matrix when the battery capacity was last determined; Determine the current measurement noise innovation according to the current state and the current prior state estimate; The current state noise covariance matrix is ​​determined according to the state noise covariance matrix when the battery capacity value was determined last time, the Kalman gain, and the current measurement noise information.

11. The method according to claim 1, characterized in that: Calculate the current health status of the battery based on the current capacity of the battery, including: The ratio of the current capacity value of the battery to the factory capacity value is calculated, and the ratio is used as the battery health status value at the current moment.

12. A device for determining a battery health status value, characterized in that: include: An acquisition unit, used to detect the battery terminal voltage through the voltage detection unit according to a predetermined sampling interval during the battery charging and discharging process, and simultaneously detect the charging and discharging current through the current detection unit; A first determining unit, used to determine a characteristic parameter group of the battery at the current moment according to the battery terminal voltage and the charge and discharge current at the current moment and multiple moments before the current moment, wherein the characteristic parameter group includes multiple characteristic parameters for characterizing the internal charge and discharge law of the battery; A prediction unit, used to predict the state of charge value at the current moment according to the characteristic parameter group; a second determining unit, configured to determine whether the battery is fully charged according to the state of charge value; A third determining unit, configured to determine a current capacity value of the battery using the characteristic parameter group at a current moment when the battery is fully charged; A first calculation unit, used to calculate a current health state value of the battery according to a current capacity value of the battery; Predicting the state of charge value at the current moment according to the characteristic parameter group includes: Determine a state transfer matrix and a control vector matrix according to the characteristic parameter group, and calculate an estimated value of the system state at the current moment according to the state transfer matrix, the control vector matrix, an estimated value of the system state at the previous moment, and the current at the current moment; Calculate the state variable error covariance matrix at the current moment according to the characteristic parameter group, the state transfer matrix, and the state noise covariance matrix at the previous moment; Calculate the state noise information at the current moment according to the battery terminal voltage at the current moment and the prior state estimation value at the current moment; Calculate the observation noise covariance matrix at the current moment according to the observation noise covariance matrix at the previous moment and the state noise innovation at the current moment; Calculate the Kalman gain at the current moment according to the state variable error covariance matrix at the current moment and the observation noise covariance matrix at the current moment; Calculate the system state value at the current moment according to the system state estimate value at the previous moment, the Kalman gain at the current moment, and the prior state estimate value at the previous moment; Calculate the state variable error covariance matrix at the current moment according to the Kalman gain at the current moment and the state variable error covariance matrix at the previous moment; According to the battery terminal voltage at the current moment and the prior state estimation value at the current moment, the measurement noise update at the current moment is calculated; The state noise covariance matrix at the current moment is calculated based on the state noise covariance matrix at the previous moment, the Kalman gain at the current moment, and the measurement noise information at the current moment.

13. An electronic device, characterized in that: include: A memory and a processor, wherein the processor and the memory are communicatively connected to each other, the memory stores computer instructions, and the processor implements the method for determining the health status value of a battery as described in any one of claims 1 to 11 by executing the computer instructions.

14. A computer storage medium, characterized in that: The computer storage medium stores computer program instructions, and when the computer program instructions are executed by a processor, the method for determining the health status value of a battery according to any one of claims 1 to 11 is implemented.

15. A computer program product, characterized in that The invention comprises a computer program, which, when executed by a processor, implements the method for determining the health status value of a battery as claimed in any one of claims 1 to 11.