CN116299015B - Battery state evaluation method, battery state evaluation device, electronic equipment and storage medium - Google Patents
Battery state evaluation method, battery state evaluation device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN116299015B CN116299015B CN202310598264.0A CN202310598264A CN116299015B CN 116299015 B CN116299015 B CN 116299015B CN 202310598264 A CN202310598264 A CN 202310598264A CN 116299015 B CN116299015 B CN 116299015B
- Authority
- CN
- China
- Prior art keywords
- battery
- state
- value
- historical
- target error
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000011156 evaluation Methods 0.000 title claims abstract description 52
- 238000004458 analytical method Methods 0.000 claims abstract description 40
- 238000000034 method Methods 0.000 claims abstract description 21
- 239000011159 matrix material Substances 0.000 claims description 26
- 238000004590 computer program Methods 0.000 claims description 13
- 238000001914 filtration Methods 0.000 claims description 8
- 230000007704 transition Effects 0.000 claims description 7
- 238000001514 detection method Methods 0.000 abstract description 10
- 230000000875 corresponding effect Effects 0.000 description 52
- 238000004891 communication Methods 0.000 description 7
- 230000008569 process Effects 0.000 description 6
- 230000010287 polarization Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 230000010354 integration Effects 0.000 description 4
- 239000004973 liquid crystal related substance Substances 0.000 description 4
- 238000004422 calculation algorithm Methods 0.000 description 3
- 230000036541 health Effects 0.000 description 3
- 238000004364 calculation method Methods 0.000 description 2
- 230000005484 gravity Effects 0.000 description 2
- 238000005259 measurement Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- HBBGRARXTFLTSG-UHFFFAOYSA-N Lithium ion Chemical compound [Li+] HBBGRARXTFLTSG-UHFFFAOYSA-N 0.000 description 1
- 238000013528 artificial neural network Methods 0.000 description 1
- 230000002596 correlated effect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000004146 energy storage Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000034964 establishment of cell polarity Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 229910001416 lithium ion Inorganic materials 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 239000002245 particle Substances 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 238000005070 sampling Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
- G01R31/36—Arrangements for testing, measuring or monitoring the electrical condition of accumulators or electric batteries, e.g. capacity or state of charge [SoC]
- G01R31/392—Determining battery ageing or deterioration, e.g. state of health
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
- G01R31/36—Arrangements for testing, measuring or monitoring the electrical condition of accumulators or electric batteries, e.g. capacity or state of charge [SoC]
- G01R31/367—Software therefor, e.g. for battery testing using modelling or look-up tables
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
- G01R31/36—Arrangements for testing, measuring or monitoring the electrical condition of accumulators or electric batteries, e.g. capacity or state of charge [SoC]
- G01R31/389—Measuring internal impedance, internal conductance or related variables
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/21—Design, administration or maintenance of databases
- G06F16/219—Managing data history or versioning
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02E—REDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
- Y02E60/00—Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
- Y02E60/10—Energy storage using batteries
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- General Engineering & Computer Science (AREA)
- Secondary Cells (AREA)
Abstract
The application relates to the technical field of energy detection, and provides a battery state evaluation method, a battery state evaluation device, electronic equipment and a storage medium. The method comprises the following steps: according to each historical characteristic data of the battery, obtaining each error value corresponding to each historical characteristic data one by one; carrying out Markov analysis according to at least one target error value in the error values and the historical state predicted value of the battery at the last moment to obtain the current compensation value of the battery; obtaining a current state evaluation result of the battery according to the current compensation value and a current state predicted value determined based on current battery parameters of the battery; the historical characteristic data comprises historical battery parameters of the battery, historical state predicted values obtained according to the historical battery parameters and ideal state values measured by the battery under the condition of the historical battery parameters. The battery state evaluation method provided by the embodiment of the application can improve the detection precision of the battery state.
Description
Technical Field
The present disclosure relates to the field of energy detection technologies, and in particular, to a battery state evaluation method, a device, an electronic apparatus, and a storage medium.
Background
Currently, batteries have been used as energy storage devices by many renewable energy systems and are applied to new energy automobiles on a large scale, such as new energy automobiles using lithium ion batteries as power sources on a large scale. As one of key parameters of the battery system, an accurate battery state, such as a battery state of charge (SOC), a battery state of health (SOH), or a battery remaining energy (SOE), can help the BMS (Battery Management System ) to perform energy management better, and its variation directly affects the use performance, reliability, and safety of the battery.
In the related art, for battery state estimation, an ampere-hour integration method or an open circuit voltage method is generally used to estimate a battery state to determine a battery state of charge, a battery state of health, or a battery remaining energy of a battery. However, since the battery state detected by using ampere-hour integration and open-circuit voltage fails to accurately characterize the accumulated error existing in the battery state during the estimation process, the detection accuracy is insufficient.
Disclosure of Invention
The present application aims to solve at least one of the technical problems existing in the related art. Therefore, the application provides a battery state evaluation method which can improve the detection precision of the battery state.
The application also provides a battery state evaluation device.
The application also provides electronic equipment.
The present application also proposes a computer-readable storage medium.
The battery state evaluation method according to the embodiment of the first aspect of the application comprises the following steps:
according to each historical characteristic data of the battery, obtaining each error value corresponding to each historical characteristic data one by one;
carrying out Markov analysis according to at least one target error value in the error values and a historical state predicted value of the battery at the last moment to obtain a current compensation value of the battery;
obtaining a current state evaluation result of the battery according to the current compensation value and a current state predicted value determined based on the current battery parameters of the battery;
wherein the historical characteristic data comprises historical battery parameters of the battery, a historical state predicted value obtained according to the historical battery parameters, and an ideal state value measured by the battery under the condition of the historical battery parameters.
After each error value corresponding to each historical characteristic data one by one is obtained by utilizing each historical characteristic data of the battery, markov analysis is carried out according to at least one target error value in each error value and a historical state predicted value of the battery at the last moment to obtain a current compensation value of the battery, and error compensation is carried out on the current state predicted value of the battery by utilizing the current compensation value. The target error value is determined according to the historical state predicted value and the ideal state value measured by the battery under the condition of the historical battery parameter, so that the confidence coefficient of the target error value can be improved, the current compensation value of the battery is determined by using a Markov analysis mode, the confidence coefficient of the current compensation value for compensating the current state predicted value can be further improved, the accumulated error of the battery state in the estimation process is effectively compensated, and the detection precision of the battery state is improved.
According to one embodiment of the present application, further comprising:
and carrying out prior estimation and posterior estimation on the historical battery parameters in sequence according to the extended Kalman filtering to obtain the estimated value of the historical state.
According to one embodiment of the present application, the performing markov analysis according to at least one target error value in the error values and the estimated historical state value of the battery at the last moment to obtain the current compensation value of the battery includes:
extracting a plurality of target error values with the correlation coefficient larger than a preset coefficient from the error values according to the correlation coefficient corresponding to the error values;
carrying out Markov analysis according to each target error value and the historical state predicted value of the battery at the last moment to obtain the current compensation value of the battery;
and the correlation coefficient is determined according to the error value and a historical state predicted value of the historical characteristic data corresponding to the error value.
According to one embodiment of the present application, the performing markov analysis according to at least one target error value in the error values and the estimated historical state value of the battery at the last moment to obtain the current compensation value of the battery includes:
acquiring the total distance between any one target error value and each adjacent target error value;
according to a preset ratio of total distances corresponding to the two adjacent target error values, adjusting the target error value which is farther from the numerical center in the two adjacent target error values until the ratio of the total distances corresponding to any two adjacent target error values is smaller than or equal to the preset ratio;
carrying out Markov analysis according to the adjusted target error values and the historical state predicted value of the battery at the last moment to obtain the current compensation value of the battery;
wherein the numerical center is determined based on each of the target error values.
According to an embodiment of the present application, according to a preset ratio of total distances corresponding to two adjacent target error values, adjusting the target error value of the two adjacent target error values that is farther from a numerical center includes:
and determining that the ratio of the total distance corresponding to the two adjacent target error values is larger than the preset ratio, and adjusting the target error value which is farther from the numerical center in the two adjacent target error values.
According to one embodiment of the present application, the performing markov analysis according to at least one target error value in the error values and the estimated historical state value of the battery at the last moment to obtain the current compensation value of the battery includes:
obtaining a plurality of state intervals according to the standard deviation of each target error value;
determining a target state interval from each state interval according to the historical state predicted value of the battery at the last moment;
and obtaining the current compensation value of the battery according to the state error matrix obtained by the plurality of state intervals, the initial state matrix obtained by the target state interval and the one-step state transition matrix obtained by each target error value.
According to one embodiment of the application, the target state interval is based on a preset modelDetermining; wherein (1)>Represents a historical state predictive value of the battery at time k,representing the status interval as +.>The time history state predictive value is +.>Is a probability of (2).
The battery state evaluation device according to the embodiment of the second aspect of the present application includes:
the error acquisition module is used for acquiring each error value corresponding to each historical characteristic data one by one according to each historical characteristic data of the battery;
the compensation determining module is used for carrying out Markov analysis according to at least one target error value in the error values and the historical state predicted value of the battery at the last moment to obtain the current compensation value of the battery;
the state evaluation module is used for obtaining a current state evaluation result of the battery according to the current compensation value and a current state predicted value determined based on the current battery parameters of the battery;
wherein the historical characteristic data comprises historical battery parameters of the battery, a historical state predicted value obtained according to the historical battery parameters, and an ideal state value measured by the battery under the condition of the historical battery parameters.
An electronic device according to an embodiment of a third aspect of the present application includes a processor and a memory storing a computer program, where the processor implements the battery state evaluation method according to any of the above embodiments when executing the computer program.
A computer-readable storage medium according to an embodiment of a fourth aspect of the present application has stored thereon a computer program which, when executed by a processor, implements the battery state evaluation method according to any one of the above embodiments.
A computer program product according to an embodiment of the fifth aspect of the present application, comprising: the computer program, when executed by a processor, implements a battery state evaluation method as described in any one of the embodiments above.
The above technical solutions in the embodiments of the present application have at least one of the following technical effects:
after each error value corresponding to each historical characteristic data one by one is obtained by utilizing each historical characteristic data of the battery, markov analysis is carried out according to at least one target error value in each error value and a historical state predicted value of the battery at the last moment to obtain a current compensation value of the battery, and error compensation is carried out on the current state predicted value of the battery by utilizing the current compensation value. The target error value is determined according to the historical state predicted value and the ideal state value measured by the battery under the condition of the historical battery parameter, so that the confidence coefficient of the target error value can be improved, the current compensation value of the battery is determined by using a Markov analysis mode, the confidence coefficient of the current compensation value for compensating the current state predicted value can be further improved, the accumulated error of the battery state in the estimation process is effectively compensated, and the detection precision of the battery state is improved.
Drawings
For a clearer description of the present application or of the prior art, the drawings that are used in the description of the embodiments or of the prior art will be briefly described, it being apparent that the drawings in the description below are some embodiments of the present application, and that other drawings may be obtained from these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic flow chart of a battery state evaluation method according to an embodiment of the present disclosure;
FIG. 2 is an equivalent circuit model diagram of a battery in an embodiment of the present application;
FIG. 3 is a second flow chart of a battery state evaluation method according to an embodiment of the present disclosure;
fig. 4 is a third flow chart of a battery state evaluation method according to an embodiment of the present disclosure;
fig. 5 is a fourth flowchart of a battery state evaluation method according to an embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of a battery state evaluation device provided in an embodiment of the present application;
fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
For the purposes of making the objects, technical solutions and advantages of the present application more apparent, the technical solutions in the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, are intended to be within the scope of the present application.
The battery state evaluation method, the battery state evaluation device, the electronic equipment and the storage medium provided by the embodiment of the application will be described and illustrated in detail through several specific embodiments.
In some embodiments, a battery state evaluation method is provided, which is applied to a controller for battery state evaluation. The controller can be a control device such as a singlechip, a control chip or a server, the server can be an independent server or a server cluster formed by a plurality of servers, and the controller can also be a cloud server for providing cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDNs, basic cloud computing services such as big data and artificial intelligent sampling point devices.
As shown in fig. 1, the battery state evaluation method provided in this embodiment includes:
step 101, according to each historical characteristic data of a battery, obtaining each error value corresponding to each historical characteristic data one by one;
102, performing Markov analysis according to at least one target error value in the error values and a historical state predicted value of the battery at the last moment to obtain a current compensation value of the battery;
step 103, obtaining a current state evaluation result of the battery according to the current compensation value and a current state predicted value determined based on the current battery parameters of the battery;
wherein the historical characteristic data comprises historical battery parameters of the battery, a historical state predicted value obtained according to the historical battery parameters, and an ideal state value measured by the battery under the condition of the historical battery parameters.
In some embodiments, the historical battery parameters in the historical feature data may be determined based on the current battery state that needs to be detected. The battery state may be a battery state of charge (SOC), a battery state of health (SOH), or a battery remaining energy (SOE), among others. For example, assuming that the current battery state to be detected is a battery state of charge, the temperature, open circuit voltage, ohmic internal resistance, battery terminal voltage, battery current, battery polarization resistance, polarization capacitance, polarization voltage, and the like of the battery at a certain historical time may be obtained as historical battery parameters of the battery at the historical time.
The battery parameters of the battery may be obtained by an equivalent circuit. For example, a suitable equivalent circuit model may be built based on battery characteristics to determine battery parameters based on their spatial state equations. Taking the first-order RC model (Thevenin model) of fig. 2 as an example, the spatial state equation of the first-order RC model is:
wherein U is OC Represents the open circuit voltage of the battery, R 0 Indicating ohmic internal resistance of battery, U t Representing the battery terminal voltage, i L Represents the battery current, R p 、C p 、U p The cell polarization resistance, polarization capacitance and polarization voltage are shown separately.
And processing the space state equation in an offline HPPC test or online parameter identification mode and the like to obtain the battery parameters of the battery.
After the historical battery parameters are obtained by utilizing the space state equation, the historical battery parameters can be processed by using an ampere-hour integration method, an open-circuit voltage method, a particle filtering method, a neural network method and the like to obtain a corresponding historical state predicted value of the battery, such as a historical state of charge predicted value of the battery.
Meanwhile, aiming at any historical battery parameter, special high-precision equipment is adopted in a laboratory, and an ideal state value of the battery under the condition of the historical battery parameter is calculated in advance in real time. Taking battery charge state detection as an example, special high-precision equipment can be adopted in a laboratory aiming at different working conditions, and an ideal SOC value of the battery under the condition of certain historical battery parameters can be obtained by using an AH integration method in real time. Then, according to the historical battery parameter, the historical state predicted value and the corresponding ideal state value, a piece of historical characteristic data comprising battery characteristic data such as the historical battery parameter, the historical state predicted value, the ideal state value and the current variation can be formed. After the history feature data is obtained, an error value corresponding to the history feature data can be obtained according to the ideal state value in the history feature data and the history state predicted value in the history feature data.
In order to further improve the reliability of the error value corresponding to the historical characteristic data, when a certain historical state predicted value is obtained, the rationality of the historical state predicted value can be judged first. If the estimated value of the historical state is located outside the interval, the estimated value of the historical state is unreasonable, and the estimated value of the historical state is removed; otherwise, the historical characteristic data is formed by combining the historical characteristic data with the corresponding historical battery parameters, and the ideal state value and other characteristic data, such as the current variation, of the battery measured under the condition of the historical battery parameters. Or, after obtaining the error value corresponding to the historical characteristic data, judging whether the error value is unreasonable, if so, judging whether the error value is larger than a preset value; if the error value is larger than the preset value, the error value is unreasonable, and the historical characteristic data is removed at the moment, so that the quality of the historical characteristic data is ensured, and the accuracy of the subsequent battery state evaluation is improved.
After each error value is obtained, all the error values can be marked as target error values, and then Markov analysis is carried out by utilizing each target error value and the historical state predicted value of the battery at the last moment so as to predict and obtain the current compensation value of the battery.
After the current compensation value is obtained, the current compensation value is added with the current state estimated value determined based on the current battery parameters of the battery, thus obtaining the current state estimated result of the battery,
after each error value corresponding to each historical characteristic data one by one is obtained by utilizing each historical characteristic data of the battery, markov analysis is carried out according to at least one target error value in each error value and a historical state predicted value of the battery at the last moment to obtain a current compensation value of the battery, and error compensation is carried out on the current state predicted value of the battery by utilizing the current compensation value. The target error value is determined according to the historical state predicted value and the ideal state value measured by the battery under the condition of the historical battery parameter, so that the confidence coefficient of the target error value can be improved, the current compensation value of the battery is determined by using a Markov analysis mode, the confidence coefficient of the current compensation value for compensating the current state predicted value can be further improved, the accumulated error of the battery state in the estimation process is effectively compensated, and the detection precision of the battery state is improved.
In order to improve the accuracy of the obtained estimated historical state value, in some embodiments, the estimated historical state value may be obtained by sequentially performing a priori estimation and a posterior estimation of the battery state on the historical battery parameter by using extended kalman filtering.
As a possible implementation manner, assuming that the battery state to be detected is a battery state of charge, an equivalent model of the battery is shown in fig. 2, then one may chooseFor state variables, the following state equation is established:
at this point a state transition matrix is determined:
output matrix:
namely, the observation matrix and the measurement matrix are:
in combination with the extended kalman filter algorithm, the state of charge is estimated as follows:
step 1: initialization of
For the followingSetting P 0 ,Q,R
Step 2: prior estimation
State prior estimation:
state covariance prior estimation:
step 3: posterior estimation
Kalman gain matrix:
state posterior estimation:
state covariance posterior estimation:
step 4: time update
Let k=k+1, return to step 2).
Wherein: x is x k , y k , u k The state quantity, the output quantity and the input quantity of the equivalent circuit model are respectively represented, and Q and R respectively represent covariance matrixes of process noise and measurement noise of the equivalent circuit model.
After the history state predicted value of the battery is obtained through the expansion Kalman filtering, the corresponding error value can be determined by utilizing the history state predicted value and the corresponding ideal state value, so that the influence of unknown non-Gaussian interference on the expansion Kalman filtering algorithm is overcome, the applicability and the robustness of the expansion Kalman filtering algorithm are enhanced, and the accuracy of the obtained error value is improved.
Similarly, the predicted value of the current state of the battery can be obtained in the above manner.
To further improve the confidence level of the obtained current compensation value, in some embodiments, as shown in fig. 3, the performing markov analysis according to at least one target error value in the error values and the estimated historical state value of the battery at the last moment to obtain the current compensation value of the battery includes:
step 201, extracting a plurality of target error values with the correlation coefficient larger than a preset coefficient from the error values according to the correlation coefficient corresponding to each error value;
step 202, performing Markov analysis according to each target error value and a historical state predicted value of the battery at the last moment to obtain a current compensation value of the battery;
and the correlation coefficient is determined according to the error value and a historical state predicted value of the historical characteristic data corresponding to the error value.
In some embodiments, after each error value is obtained, a correlation coefficient between the error value and the history state estimated value of the corresponding history feature data may be calculated based on a pearson correlation calculation method, so as to select an error value with the correlation coefficient greater than a certain threshold value as the target error value, so that the target error value can effectively reflect the association relationship with the battery state.
The correlation coefficient between the error value and the corresponding estimated historical state value is calculated by the following method:
wherein, the liquid crystal display device comprises a liquid crystal display device,is the i-th history state estimated value, n represents the number of history state estimated values, +.>Representing the error value corresponding to the i-th history state predicted value,/, for example>,/>Respectively->、/>Average value of (2).
If the correlation coefficient between the error value and the corresponding history state predicted value is greater than the preset threshold, the error value and the history state predicted value are strongly correlated, and the error value is taken as the target error value. And because all the obtained target error values have a strong association relation with the historical state predicted value, the Markov analysis is performed by using each target error value and the historical state predicted value of the battery at the last moment, so that the accuracy of the obtained current compensation value is higher.
In order to make the obtained target error values conform to one-dimensional gaussian distribution so as to accurately reflect the error interval and the real situation of the distribution, thereby further improving the accuracy of the current compensation value obtained later, in some embodiments, as shown in fig. 4, the markov analysis is performed according to at least one target error value in the error values and the historical state predicted value of the battery at the last moment, so as to obtain the current compensation value of the battery, which includes:
step 301, obtaining a total distance between any one of the target error values and each adjacent target error value;
step 302, according to a preset ratio of total distances corresponding to two adjacent target error values, adjusting the target error value farther from a numerical center in the two adjacent target error values until the ratio of the total distances corresponding to any two adjacent target error values is smaller than or equal to the preset ratio;
step 303, performing markov analysis according to the adjusted target error values and the historical state predicted value of the battery at the previous moment to obtain the current compensation value of the battery;
wherein the numerical center is determined based on each of the target error values.
In some embodiments, to accurately reflect the reality of the error interval and distribution, it is necessary to deal with outliers that are far from other sample points due to randomness or data errors. For this purpose, the target error value may be preprocessed based on the K-nearest neighbor idea. For example, an average value of each target error value may be calculated first, and the average value may be taken as a numerical center. Alternatively, the mode of each target error value is taken as the numerical center. Or forming a circumscribed circle according to each target error value, and calculating the gravity center of the circumscribed circle to take the gravity center of the circumscribed circle as a numerical center. Then, for any target error value, the sum of the distances of that target error value and its k adjacent target error values, i.e., the total distance, may be calculated. The distance calculation formula may be:
wherein X, Y is any two target error values.
After the total distance corresponding to each target error value is obtained, the target error value which is farther from the numerical center in the two adjacent target error values can be adjusted according to the preset ratio of the total distance corresponding to the two adjacent target error values until the ratio of the total distance corresponding to any two adjacent target error values is smaller than or equal to the preset ratio.
In order to improve the adjustment efficiency of the target error values, in some embodiments, it may be determined that the ratio of the total distances corresponding to the two adjacent target error values is greater than a preset ratio. For example, assuming that the total distances corresponding to two adjacent target error values are the first total distance and the second total distance, respectively, it is determined whether the ratio of the first total distance to the second total distance is greater than a preset ratio. If so, one of the two target error values is an outlier far away from other target error values, and at the moment, the target error value which is farther away from the numerical center in the two target error values is adjusted, so that the ratio of the total distance corresponding to the two target error values is smaller than or equal to a preset ratio. Otherwise, the two target error values are not outliers, and the values of the two target error values before and after adjustment are unchanged.
The ratio of the total distances corresponding to the adjacent two target error values is as follows:
a sum of distances of k neighbor target error values representing an mth target error value; />The sum of the distances of k neighboring target error values representing neighboring target error values of the mth target error value.
And when the ratio of the total distances corresponding to all the two adjacent target error values meets the condition of being smaller than or equal to the preset ratio, the adjustment of each target error value is completed, and at the moment, all the target error values are used as adjusted target error values, so that the target error values for carrying out Markov analysis can accurately reflect the actual conditions of error intervals and distribution, and the reliability of the current compensation value obtained through Markov analysis is improved.
To further improve the reliability of the current compensation value obtained by markov analysis, in some embodiments, as shown in fig. 5, performing markov analysis according to at least one target error value of the error values and a historical state predicted value of the battery at a previous moment to obtain the current compensation value of the battery, where the method includes:
step 401, obtaining a plurality of state intervals according to standard deviation of each target error value;
step 402, determining a target state interval from the state intervals according to the historical state predicted value of the battery at the last moment;
step 403, obtaining the current compensation value of the battery according to the state error matrix obtained from the plurality of state intervals, the initial state matrix obtained from the target state interval and the one-step state transition matrix obtained from each target error value.
For example, after each target error value is obtained, the state of the battery may be divided into a plurality of state intervals, such as S1[0,-0.5s],S2 [/>- 0.5s,/>+0.5s]s3 [ ] and>+0.5s,1]. Wherein s represents the standard deviation of each target error value normalized,/for>The average value normalized for each target error value.
After determining a plurality of state intervals, according to the historical state predicted value of the battery at the last moment, a target error value corresponding to the battery at the last moment can be determined, and then the state interval to which the target error value corresponding to the battery at the last moment belongs is taken as the target state interval.
After the target state interval is obtained, the state error matrix obtained from the multiple state intervals, the initial state matrix obtained from the target state interval and the one-step state transition matrix obtained from each target error value can be used for calculating the current compensation value of the battery, for example:
wherein, the liquid crystal display device comprises a liquid crystal display device,representing the current compensation value of the battery,/->Represents the initial state matrix corresponding to the previous time k, P 1 The state transition matrix is one-step, and Q is a state error matrix.
Exemplary, P 1 Is thatA matrix of dimensions may be derived from the time-ordered target error values. Q isThe dimensional matrix is obtained by inversely normalizing the interval median value of each state interval. P (P) k Is->The matrix of dimension is determined by the state interval corresponding to the historical state estimated value of the battery at the moment k. If the state interval corresponding to the history state predicted value of the battery at the time k is S3, P k =[0 0 1]。
In order to increase the accuracy of the obtained target state interval and further increase the reliability of the current compensation value obtained later, in some embodiments, the state interval corresponding to the maximum probability of selection may be determined to be the target state interval according to the maximum similarity criterion, i.e. the target state interval may be determined to be the target state interval according to a preset modelDetermining; wherein (1)>Represents a history state predictive value of the battery at time k, < >>Representing the status interval as +.>The time history state predictive value is +.>Is a probability of (2).
After the current compensation value of the battery is obtained, the current state compensation value can be added with the current state predicted value of the battery, so that the current state evaluation result of the battery is obtained.
The battery state evaluation device provided in the present application is described below, and the battery state evaluation device described below and the battery state evaluation method described above may be referred to correspondingly to each other.
In some embodiments, as shown in fig. 6, there is provided a battery state evaluation device including:
the error obtaining module 210 is configured to obtain, according to each historical feature data of the battery, each error value corresponding to each historical feature data one by one;
the compensation determining module 220 is configured to perform markov analysis according to at least one target error value of the error values and a historical state predicted value of the battery at a previous time to obtain a current compensation value of the battery;
a state evaluation module 230, configured to obtain a current state evaluation result of the battery according to the current compensation value and a current state predicted value determined based on a current battery parameter of the battery;
wherein the historical characteristic data comprises historical battery parameters of the battery, a historical state predicted value obtained according to the historical battery parameters, and an ideal state value measured by the battery under the condition of the historical battery parameters.
After each error value corresponding to each historical characteristic data one by one is obtained by utilizing each historical characteristic data of the battery, markov analysis is carried out according to at least one target error value in each error value and a historical state predicted value of the battery at the last moment to obtain a current compensation value of the battery, and error compensation is carried out on the current state predicted value of the battery by utilizing the current compensation value. The target error value is determined according to the historical state predicted value and the ideal state value measured by the battery under the condition of the historical battery parameter, so that the confidence coefficient of the target error value can be improved, the current compensation value of the battery is determined by using a Markov analysis mode, the confidence coefficient of the current compensation value for compensating the current state predicted value can be further improved, the accumulated error of the battery state in the estimation process is effectively compensated, and the detection precision of the battery state is improved.
In some embodiments, the error acquisition module 210 is further configured to:
and carrying out prior estimation and posterior estimation on the historical battery parameters in sequence according to the extended Kalman filtering to obtain the estimated value of the historical state.
In some embodiments, the compensation determination module 220 is specifically configured to:
extracting a plurality of target error values with the correlation coefficient larger than a preset coefficient from the error values according to the correlation coefficient corresponding to the error values;
carrying out Markov analysis according to each target error value and the historical state predicted value of the battery at the last moment to obtain the current compensation value of the battery;
and the correlation coefficient is determined according to the error value and a historical state predicted value of the historical characteristic data corresponding to the error value.
In some embodiments, the compensation determination module 220 is specifically configured to:
acquiring the total distance between any one target error value and each adjacent target error value;
according to a preset ratio of total distances corresponding to the two adjacent target error values, adjusting the target error value which is farther from the numerical center in the two adjacent target error values until the ratio of the total distances corresponding to any two adjacent target error values is smaller than or equal to the preset ratio;
carrying out Markov analysis according to the adjusted target error values and the historical state predicted value of the battery at the last moment to obtain the current compensation value of the battery;
wherein the numerical center is determined based on each of the target error values.
In some embodiments, the compensation determination module 220 is specifically configured to:
and determining that the ratio of the total distance corresponding to the two adjacent target error values is larger than the preset ratio, and adjusting the target error value which is farther from the numerical center in the two adjacent target error values.
In some embodiments, the compensation determination module 220 is specifically configured to:
obtaining a plurality of state intervals according to the standard deviation of each target error value;
determining a target state interval from each state interval according to the historical state predicted value of the battery at the last moment;
and obtaining the current compensation value of the battery according to the state error matrix obtained by the plurality of state intervals, the initial state matrix obtained by the target state interval and the one-step state transition matrix obtained by each target error value.
In some embodiments, the target state interval is based on a preset modelDetermining; wherein (1)>Represents a historical state predictive value of the battery at time k,representing the status interval as +.>The time history state predictive value is +.>Is a probability of (2).
Fig. 7 illustrates a physical schematic diagram of an electronic device, as shown in fig. 7, which may include: processor 810, communication interface (Communication Interface) 820, memory 830, and communication bus 840, wherein processor 810, communication interface 820, memory 830 accomplish communication with each other through communication bus 840. Processor 810 may invoke a computer program in memory 830 to perform a battery state assessment method, including, for example:
according to each historical characteristic data of the battery, obtaining each error value corresponding to each historical characteristic data one by one;
carrying out Markov analysis according to at least one target error value in the error values and a historical state predicted value of the battery at the last moment to obtain a current compensation value of the battery;
obtaining a current state evaluation result of the battery according to the current compensation value and a current state predicted value determined based on the current battery parameters of the battery;
wherein the historical characteristic data comprises historical battery parameters of the battery, a historical state predicted value obtained according to the historical battery parameters, and an ideal state value measured by the battery under the condition of the historical battery parameters.
Further, the logic instructions in the memory 830 described above may be implemented in the form of software functional units and may be stored in a computer-readable storage medium when sold or used as a stand-alone product. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods of the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
In another aspect, embodiments of the present application further provide a storage medium, where the storage medium includes a computer program, where the computer program may be stored on a non-transitory computer readable storage medium, and when the computer program is executed by a processor, the computer is capable of executing the battery state evaluation method provided in the foregoing embodiments, for example, including:
according to each historical characteristic data of the battery, obtaining each error value corresponding to each historical characteristic data one by one;
carrying out Markov analysis according to at least one target error value in the error values and a historical state predicted value of the battery at the last moment to obtain a current compensation value of the battery;
obtaining a current state evaluation result of the battery according to the current compensation value and a current state predicted value determined based on the current battery parameters of the battery;
wherein the historical characteristic data comprises historical battery parameters of the battery, a historical state predicted value obtained according to the historical battery parameters, and an ideal state value measured by the battery under the condition of the historical battery parameters.
The apparatus embodiments described above are merely illustrative, wherein elements illustrated as separate elements may or may not be physically separate, and elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
From the above description of the embodiments, it will be apparent to those skilled in the art that the embodiments may be implemented by means of software plus necessary general hardware platforms, or of course may be implemented by means of hardware. Based on this understanding, the foregoing technical solution may be embodied essentially or in a part contributing to the prior art in the form of a software product, which may be stored in a computer readable storage medium, such as ROM/RAM, a magnetic disk, an optical disk, etc., including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method described in the respective embodiments or some parts of the embodiments.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present application, and are not limiting thereof; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the corresponding technical solutions.
Claims (9)
1. A battery state evaluation method, characterized by comprising:
according to each historical characteristic data of the battery, obtaining each error value corresponding to each historical characteristic data one by one;
carrying out Markov analysis according to at least one target error value in the error values and a historical state predicted value of the battery at the last moment to obtain a current compensation value of the battery;
obtaining a current state evaluation result of the battery according to the current compensation value and a current state predicted value determined based on the current battery parameters of the battery;
wherein the historical characteristic data comprises historical battery parameters of the battery, a historical state predicted value obtained according to the historical battery parameters and an ideal state value measured by the battery under the condition of the historical battery parameters;
the Markov analysis is performed according to at least one target error value in the error values and the historical state predicted value of the battery at the last moment to obtain the current compensation value of the battery, and the method comprises the following steps:
extracting a plurality of target error values with the correlation coefficient larger than a preset coefficient from the error values according to the correlation coefficient corresponding to the error values;
carrying out Markov analysis according to each target error value and the historical state predicted value of the battery at the last moment to obtain the current compensation value of the battery;
and the correlation coefficient is determined according to the error value and a historical state predicted value of the historical characteristic data corresponding to the error value.
2. The battery state evaluation method according to claim 1, characterized by further comprising:
and carrying out prior estimation and posterior estimation on the historical battery parameters in sequence according to the extended Kalman filtering to obtain the estimated value of the historical state.
3. The battery state evaluation method according to claim 1 or 2, wherein performing markov analysis based on at least one target error value of the error values and a history state estimated value of the battery at a previous time to obtain a current compensation value of the battery, comprises:
acquiring the total distance between any one target error value and each adjacent target error value;
according to a preset ratio of total distances corresponding to the two adjacent target error values, adjusting the target error value which is farther from the numerical center in the two adjacent target error values until the ratio of the total distances corresponding to any two adjacent target error values is smaller than or equal to the preset ratio;
carrying out Markov analysis according to the adjusted target error values and the historical state predicted value of the battery at the last moment to obtain the current compensation value of the battery;
wherein the numerical center is determined based on each of the target error values.
4. The battery state evaluation method according to claim 3, wherein adjusting the target error value of the two adjacent target error values farther from the numerical center according to a preset ratio of total distances corresponding to the two adjacent target error values comprises:
and determining that the ratio of the total distance corresponding to the two adjacent target error values is larger than the preset ratio, and adjusting the target error value which is farther from the numerical center in the two adjacent target error values.
5. The battery state evaluation method according to claim 1, 2 or 4, wherein performing markov analysis based on at least one target error value of the error values and a historical state predicted value of the battery at a previous time to obtain a current compensation value of the battery, comprises:
obtaining a plurality of state intervals according to the standard deviation of each target error value;
determining a target state interval from each state interval according to the historical state predicted value of the battery at the last moment;
and obtaining the current compensation value of the battery according to the state error matrix obtained by the plurality of state intervals, the initial state matrix obtained by the target state interval and the one-step state transition matrix obtained by each target error value.
6. The battery state evaluation method according to claim 5, wherein the target state interval is based on a preset modelDetermining; wherein (1)>Represents a history state predictive value of the battery at time k, < >>Representing the status interval as +.>The time history state predictive value is +.>Is a probability of (2).
7. A battery state evaluation device, characterized by comprising:
the error acquisition module is used for acquiring each error value corresponding to each historical characteristic data one by one according to each historical characteristic data of the battery;
the compensation determining module is used for carrying out Markov analysis according to at least one target error value in the error values and the historical state predicted value of the battery at the last moment to obtain the current compensation value of the battery;
the state evaluation module is used for obtaining a current state evaluation result of the battery according to the current compensation value and a current state predicted value determined based on the current battery parameters of the battery;
wherein the historical characteristic data comprises historical battery parameters of the battery, a historical state predicted value obtained according to the historical battery parameters and an ideal state value measured by the battery under the condition of the historical battery parameters;
the compensation determining module is specifically configured to:
extracting a plurality of target error values with the correlation coefficient larger than a preset coefficient from the error values according to the correlation coefficient corresponding to the error values;
carrying out Markov analysis according to each target error value and the historical state predicted value of the battery at the last moment to obtain the current compensation value of the battery;
and the correlation coefficient is determined according to the error value and a historical state predicted value of the historical characteristic data corresponding to the error value.
8. An electronic device comprising a processor and a memory storing a computer program, characterized in that the processor implements the battery state assessment method of any one of claims 1 to 6 when executing the computer program.
9. A computer-readable storage medium, on which a computer program is stored, characterized in that the computer program, when executed by a processor, implements the battery state evaluation method of any one of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310598264.0A CN116299015B (en) | 2023-05-25 | 2023-05-25 | Battery state evaluation method, battery state evaluation device, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310598264.0A CN116299015B (en) | 2023-05-25 | 2023-05-25 | Battery state evaluation method, battery state evaluation device, electronic equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN116299015A CN116299015A (en) | 2023-06-23 |
CN116299015B true CN116299015B (en) | 2023-08-08 |
Family
ID=86826236
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310598264.0A Active CN116299015B (en) | 2023-05-25 | 2023-05-25 | Battery state evaluation method, battery state evaluation device, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116299015B (en) |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20180057202A (en) * | 2016-11-22 | 2018-05-30 | 삼성전자주식회사 | Method and apparatus for estimating state of battery based on error correction |
WO2018146270A1 (en) * | 2017-02-09 | 2018-08-16 | Abb Schweiz Ag | State of health estimation for batteries |
CN110967638A (en) * | 2019-06-24 | 2020-04-07 | 宁德时代新能源科技股份有限公司 | Method, device, system and storage medium for estimating remaining usable energy of battery |
WO2020228460A1 (en) * | 2019-05-16 | 2020-11-19 | 宁德时代新能源科技股份有限公司 | Battery pack soc correction method, battery management system, and vehicle |
CN112611976A (en) * | 2020-12-10 | 2021-04-06 | 华东理工大学 | Power battery state of health estimation method based on double differential curves |
CN115236519A (en) * | 2022-07-07 | 2022-10-25 | 泉州装备制造研究所 | Lithium battery health state prediction method and device based on hidden Markov model |
CN115629315A (en) * | 2022-10-21 | 2023-01-20 | 欣旺达电动汽车电池有限公司 | Battery state estimation method, battery state estimation device, apparatus, and storage medium |
CN115902642A (en) * | 2022-12-16 | 2023-04-04 | 章鱼博士智能技术(上海)有限公司 | Battery state of charge estimation method and device, electronic equipment and storage medium |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10324135B2 (en) * | 2016-06-06 | 2019-06-18 | Mitsubishi Electric Research Laboratories, Inc. | Methods and systems for data-driven battery state of charge (SoC) estimation |
CN110967636B (en) * | 2019-06-24 | 2020-12-11 | 宁德时代新能源科技股份有限公司 | Battery state of charge correction method, device and system and storage medium |
JP7269999B2 (en) * | 2021-07-26 | 2023-05-09 | 本田技研工業株式会社 | Battery model construction method and battery deterioration prediction device |
-
2023
- 2023-05-25 CN CN202310598264.0A patent/CN116299015B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20180057202A (en) * | 2016-11-22 | 2018-05-30 | 삼성전자주식회사 | Method and apparatus for estimating state of battery based on error correction |
WO2018146270A1 (en) * | 2017-02-09 | 2018-08-16 | Abb Schweiz Ag | State of health estimation for batteries |
WO2020228460A1 (en) * | 2019-05-16 | 2020-11-19 | 宁德时代新能源科技股份有限公司 | Battery pack soc correction method, battery management system, and vehicle |
CN110967638A (en) * | 2019-06-24 | 2020-04-07 | 宁德时代新能源科技股份有限公司 | Method, device, system and storage medium for estimating remaining usable energy of battery |
CN112611976A (en) * | 2020-12-10 | 2021-04-06 | 华东理工大学 | Power battery state of health estimation method based on double differential curves |
CN115236519A (en) * | 2022-07-07 | 2022-10-25 | 泉州装备制造研究所 | Lithium battery health state prediction method and device based on hidden Markov model |
CN115629315A (en) * | 2022-10-21 | 2023-01-20 | 欣旺达电动汽车电池有限公司 | Battery state estimation method, battery state estimation device, apparatus, and storage medium |
CN115902642A (en) * | 2022-12-16 | 2023-04-04 | 章鱼博士智能技术(上海)有限公司 | Battery state of charge estimation method and device, electronic equipment and storage medium |
Non-Patent Citations (1)
Title |
---|
付诗意等.电动汽车用锂离子电池SOC估算方法综述.储能科学与技术.2021,第10卷(第3期),第1127-1136页. * |
Also Published As
Publication number | Publication date |
---|---|
CN116299015A (en) | 2023-06-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110068774B (en) | Lithium battery health state estimation method and device and storage medium | |
CN111581904B (en) | Lithium battery SOC and SOH collaborative estimation method considering cycle number influence | |
US9244129B2 (en) | Method for estimating a state of charge of batteries | |
CN111679199B (en) | Lithium ion battery SOC estimation method and device | |
CN114035072B (en) | Multi-state joint estimation method for battery pack based on Yun Bian cooperation | |
CN115902647B (en) | Intelligent battery state monitoring method | |
CN114184962B (en) | Multi-algorithm fusion lithium ion battery SOC and SOH joint estimation method | |
CN113075569A (en) | Battery state of charge estimation method and device based on noise adaptive particle filtering | |
CN114970332A (en) | Lithium battery model parameter identification method based on chaotic quantum sparrow search algorithm | |
CN113391216A (en) | Method and device for estimating available capacity of lead-acid battery based on response surface design | |
CN113406503A (en) | Lithium battery SOH online estimation method based on deep neural network | |
CN115908051A (en) | Method for determining energy storage capacity of power system | |
CN114879070A (en) | Battery state evaluation method and related equipment | |
CN116754959A (en) | SOC estimation method based on improved GWO optimized forgetting factor on-line parameter identification | |
CN115754724A (en) | Power battery state of health estimation method suitable for future uncertainty dynamic working condition discharge | |
CN111308377A (en) | Battery health state detection method and system based on temperature voltage differentiation | |
CN116299015B (en) | Battery state evaluation method, battery state evaluation device, electronic equipment and storage medium | |
CN115128481B (en) | Battery state estimation method and system based on neural network and impedance identification correction | |
CN116184216B (en) | Battery state detection method and device | |
CN116224073A (en) | Battery SOC estimation method, device, equipment, battery module and storage medium | |
CN115902667A (en) | Lithium battery SOC estimation method based on weight and volume point self-adaption | |
CN113125965B (en) | Method, device and equipment for detecting lithium separation of battery and storage medium | |
CN115308623A (en) | Battery state of charge estimation method based on particle resampling and searcher optimization algorithm | |
CN113030555B (en) | Energy storage open-circuit voltage estimation method and device, terminal equipment and storage medium | |
CN115980607A (en) | Battery state of health (SOH) estimation method based on incremental capacity curve characteristic points |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |