This application claims the priority benefit of China application serial no. 202010303412.8, filed on Apr. 17, 2020. The entirety of the above-mentioned patent application is hereby incorporated by reference herein and made a part of this specification.
The disclosure relates to the field of battery performance management, and more particularly relates to a method and a system for identifying third-order model parameters of a lithium battery based on a likelihood function.
Lithium-ion battery has the advantages such as long cycle life, good high-temperature performance, good stability, and moderate price, so as to become the first choice for new energy vehicle power battery. The current models of lithium-ion battery mainly include the electrochemical model, equivalent circuit model, and black box model.
The equivalent circuit model adopts a linear variable parameter modeling method, which uses ideal circuit elements such as a resistance, a capacitor and a controllable voltage source to simulate the working characteristics of the battery. The equivalent circuit model has the advantages such as simple structure, fewer parameters, and higher precision. The principle is clear to more accurately reflect the dynamic and static performance of the battery, is easy to implement in real-time system, and is convenient for system on a chip (SOC) estimation of the battery. The equivalent circuit model is the most researched and applied model currently. The higher the order of the battery model, the closer the battery model is to the actual model, but the model structure will be more complex. Through analyzing different equivalent circuit structures, it can be obtained that the error of external characteristics between the third-order to fifth-order batteries does not differ much, and considering the complexity and accuracy, the third-order equivalent circuit model is selected.
The maximum likelihood estimation is one of the most commonly used parameter estimation methods in mathematical statistics. Least squares estimation considers the estimation problem from the perspective of a fixed sample, but there is a problem of data saturation due to the increase of data. The maximum likelihood estimation considers the estimation problem from the perspective of a large sample. The maximum likelihood estimation is an application of probability theory in statistics: knowing that a certain parameter can maximize the probability of the sample, other samples with small probability will, of course, not be selected, so the parameter is used as the estimated true value. Choosing the maximum likelihood function under the condition of a large sample has good practical performance.
The disclosure provides a method and a system for identifying third-order model parameters of a lithium battery based on a likelihood function, which establishes an identification model through collecting data of a battery model output voltage Ud and a total battery current I under different temperatures, different system-on-chips (SOCs), and charge-discharge currents, and applying the maximum likelihood estimation based on the data to identify relevant parameters of the lithium battery.
To achieve the above objective, according to an aspect of the disclosure, a method for identifying third-order model parameters of a lithium battery based on a likelihood function is provided, which includes the following steps.
(1) A third-order battery model of a lithium battery is established.
(2) An output voltage and a total battery current of the third-order battery model under different temperatures, different SOCs, and charge-discharge currents are collected.
(3) A likelihood function is adopted to construct an identification model.
(4) The collected output voltage and total battery current of the third-order battery model are substituted into the identification model to calculate third-order battery model parameters.
Preferably, the third-order battery model includes a battery OCV, an ohmic resistor Rac, a charge transfer resistor Rct, a charge transfer capacitor Cct, a first diffused resistor Rwb1, a first diffused capacitor Cwb1, a second diffused resistor Rwb2, and a second diffused capacitor Cwb2.
A first terminal of the battery OCV is connected to a first terminal of the ohmic resistor Rac. A second terminal of the ohmic resistor Rac is connected to a first terminal of the charge transfer resistor Rct and a first terminal of the charge transfer capacitor Cct. After being connected, a second terminal of the charge transfer resistor Rct and a second terminal of the charge transfer capacitor Cct are connected to a first terminal of the first diffused resistor Rwb1 and a first terminal of the first diffused capacitor Cwb1. After being connected, a second terminal of the first diffused resistor Rwb1 and a second terminal of the first diffused capacitor Cwb1 are connected to a first terminal of the second diffused resistor Rwb2 and a first terminal of the second diffused capacitor Cwb2. After being connected, a second terminal of the second diffused resistor Rwb2 and a second terminal of the second diffused capacitor Cwb2 are connected to a second terminal of the battery OCV.
Preferably, Step (1) includes the following.
A discretized battery state equation of the third-order battery model is:
where T is the sampling interval, k is the sampling time, I represents the total battery current, Uct represents the voltage of RctCct network, τct represents the time constant of RctCct network, Uwb1 represents the voltage of Rwb1Cwb1 network, τwb1 represents the time constant of Rwb1Cwb1 network, Uwb2 represents the voltage of Rwb2Cwb2 network, represents the time constant of Rwb2Cwb2 network, SOC represents the battery state of charge, C represents the battery capacity, and Rwb1=3Rwb2 and Σwb1=3τwb2.
A discretized predicted battery module terminal voltage of the third-order battery model is:
y
k+1
=U
ocv
−U
ct(k)−Uwb1(k)−Uwb2(k)−RacI(k)
where yk+1 represents the predicted battery module terminal voltage, Uocv represents the battery open circuit voltage, and Rac represents the ohmic internal resistance.
Preferably, Step (3) includes the following.
(3.1) After performing a Z-transformation on the battery state equation and the predicted battery module terminal voltage, an inverse Z-transformation is performed to obtain:
U
d(k+3)=θ1Ud(k+2)+θ2Ud(k+1)+θ3Ud(k)+θ4I(k+3)+θ5(k+2)+θ6(k+1)+θ7I(k) and Ud(k)=(yk−UOCV).
(3.2) The identification model is obtained from yk=θTφ(k), where yk is the predicted battery module terminal voltage, where: θ=[θ1 θ2 θ3 θ4 θ5 θ6 θ7], φ(k)=Ud(k)=[Ud(k−1) Ud(k−2) Ud(k−3) I(k) I(k−1) I(k−2) I(k−3)], θ1=b1+b3+b5, θ2=−(b1b3+b1b5+b3b5), θ3=b1b3b5, θ4=−Rac, θ5=Rac(b1+b3+b5)−(b2+b4+b6), θ6=(b3+b5)b2+(b1+b5)b4+(b1+b3)b6−Rac(b1b3+b1b5+b3b5) θ7=b1b3b5Rac−b3b5b2−b1b4b5−b1b3b6, b1=exp(−T/τct), b2=Rct*(1−exp(−T/τct)), b3=exp(−T/τwb1), b4=Rwb1*(1−exp(−T/τwb1)), and b5=exp(−T/τwb2).
Preferably, Step (4) includes the following.
(4.1) A logarithm of a distribution function of the battery module terminal voltage is taken to obtain:
where n represents the total sample number of the collected output voltage and total battery current of the battery model, σ represents the variance, where y(k) is the actual measured battery module terminal voltage, and ω(k)=Ud(k)=(yk−UOCV).
(4.2) A gradient operator is set as
The collected output voltage and total battery current of the third-order battery model are substituted into the equation in Step (4.1), and
to calculate each element value of a matrix θ=[θ1 θ2 θ3 θ4 θ5 θ6 θ7].
(4.3) A magnitude of a third-order battery model parameter value is inferred according to a relationship between the third-order battery model parameter value and θ.
According to another aspect of the disclosure, a system for identifying third-order model parameters of a lithium battery based on a likelihood function is provided, which includes the following.
A battery model construction module is configured to establish a third-order battery model of a lithium battery.
A data collection module is configured to collect an output voltage and a total battery current of the third-order battery model under different temperatures, different SOCs, and charge-discharge currents.
An identification model construction module is configured to adopt a likelihood function to construct an identification model.
A parameter determination module is configured to substitute the collected output voltage and total battery current of the third-order battery model into the identification model to calculate third-order battery model parameters.
Preferably, the third-order battery model includes a battery OCV, an ohmic resistor Rac, a charge transfer resistor Rct, a charge transfer capacitor Cct, a first diffused resistor Rwb1, a first diffused capacitor Cwb1, a second diffused resistor Rwb2, and a second diffused capacitor Cwb2.
A first terminal of the battery OCV is connected to a first terminal of the ohmic resistor Rac. A second terminal of the ohmic resistor Rac is connected to a first terminal of the charge transfer resistor Rct and a first terminal of the charge transfer capacitor Cct. After being connected, a second terminal of the charge transfer resistor Rct and a second terminal of the charge transfer capacitor Cct are connected to a first terminal of the first diffused resistor Rwb1 and a first terminal of the first diffused capacitor Cwb1. After being connected, a second terminal of the first diffused resistor Rwb1 and a second terminal of the first diffused capacitor Cwb1 are connected to a first terminal of the second diffused resistor Rwb2 and a first terminal of the second diffused capacitor Cwb2. After being connected, a second terminal of the second diffused resistor Rwb2 and a second terminal of the second diffused capacitor Cwb2 are connected to a second terminal of the battery OCV.
Preferably, the battery model construction module includes the following.
A battery state equation establishment module is configured to establish a discretized battery state equation of the third-order battery model, which is:
where T is the sampling interval, k is the sampling time, I represents the total battery current, Uct represents the voltage of RctCct network, τct represents the time constant of RctCct network, Uwb1 represents the voltage of Rwb1Cwb1 network, τwb1 represents the time constant of Rwb1Cwb1 network, Uwb2 represents the voltage of Rwb2Cwb2 network, τwb2 represents the time constant of Rwb2Cwb2 network, SOC represents the battery state of charge, C represents the battery capacity, and Rwb1=3Rwb2 and τwb1=3τwb2.
A battery module terminal voltage acquisition module is configured to acquire a discretized predicted battery model terminal voltage of the third-order battery model, which is:
y
k+1
=U
ocv
−U
ct(k)−Uwb1(k)−Uwb2(k)−RacI(k)
where yk+1 represents the predicted battery module terminal voltage, Uocv represents the battery open circuit voltage, and Rac represents the ohmic internal resistance.
Preferably, the identification model construction module includes the following.
A transformation module is configured to perform an inverse Z-transformation after performing a Z-transformation on the battery state equation and the predicted battery module terminal voltage, so as to obtain:
U
d(k+3)=θ1Ud(k+2)+θ2Ud(k+1)+θ3Ud(k)+θ4I(k+3)+θ5(k+2)+θ6(k+1)+θ7I(k) and Ud(k)=(yk−UOCV).
An identification model construction submodule is configured to obtain the identification model from yk=θTφ(k), where yk is the predicted battery module terminal voltage, where: θ=[θ1 θ2 θ3 θ4 θ5 θ6 θ7] φ(k)=Ud(k)=[Ud(k−1) Ud(k−2) Ud(k−3) I(k) I(k−1) I(k−2) I(k−3)], θ1=b1+b3+b5, θ2=−(b1b3+b1b5+b3b5), θ3=b1b3b5, θ4=−Rac, θ5=Rac(b1+b3+b5)−(b2+b4+b6), θ6=(b3+b5)b2+(b1+b5)b4+(b1+b3)b6−Rac(b1b3+b1b5+b3b5), θ7=b1b3b5Rac−b3b5b2−b1b4b5−b1b3b6, b1=exp(−T/τct), b2=Rct*(1−exp(−T/τct)), b3=exp(−T/τwb1), b4=Rwb1*(1−exp(−T/τwb1)), and b5=exp(−T/τwb2).
Preferably, the parameter determination module includes the following.
A first calculation module is configured to take a logarithm of a distribution function of the battery module terminal voltage, so as to obtain:
where n represents the total sample number of the collected output voltage and total battery current of the battery model, σ represents the variance, where y(k) is the actual measured battery module terminal voltage, and φ(k)=Ud(k)=(yk−UOCV).
A second calculation module is configured to set a gradient operator as
The collected output voltage and total battery current of the third-order battery model are substituted into the equation of the first calculation module, and
to calculate each element value of a matrix θ=[θ1 θ2 θ3 θ4 θ5 θ6 θ7].
A parameter determination submodule is configured to infer a magnitude of a third-order battery model parameter value according to a relationship between the third-order battery model parameter value and θ.
In general, compared with the prior art, the above technical solutions conceived by the disclosure can achieve the following beneficial effects:
(1) Using the maximum likelihood function method to establish the identification model and applying the same to calculate the third-order model parameters of the lithium battery is provided for the first time. The processed data is more accurate, and the situations of different temperatures, different SOCs, and charge-discharge currents are considered.
(2) Adopting the maximum likelihood function for model parameter identification and performing load cycle condition verification of a hybrid electric vehicle at 70% SOC point may obtain the parameter value obtained by adopting the likelihood function for parameter estimation following the actual parameter value. The mean absolute error (MAE) for measuring the terminal voltage is less than 0.0084 V. The method is simpler and may solve the problem of data saturation of the least squares estimation due to the increase of data. The convergence is unbiased or asymptotically unbiased. When the number of samples increases, the convergence property is better.
In order for the objectives, technical solutions, and advantages of the disclosure to be clearer, the disclosure is further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein only serve to explain the disclosure, but not to limit the disclosure. In addition, the technical features involved in the various embodiments of the disclosure described below may be combined with each other as long as there is no conflict therebetween.
In the example of the disclosure, terms such as “first” and “second” are used to distinguish different objects, and are not necessarily used to describe a specific order or sequence.
The disclosure provides a method and a system for identifying third-order model parameters of a lithium battery based on a likelihood function, which can accurately identify the parameters of the lithium battery under different temperatures, different SOCs, and charge-discharge currents.
Step S1: A third-order battery model of a lithium battery is established.
Step S2: A battery model output voltage Ud and a total battery current I under different temperatures, different SOCs, and charge-discharge currents are collected.
Step S3: A likelihood function is adopted to construct an identification model.
Step S4: The collected data is substituted into the identification model to calculate battery model parameters.
In the embodiment of the disclosure, Step S1 includes the following step.
The third-order battery model of the lithium battery is established as shown in
The third-order battery model of the lithium battery includes a battery OCV, an ohmic resistor Rac, a charge transfer resistor Rct, a charge transfer capacitor Cct, a first diffused resistor Rwb1, a first diffused capacitor Cwb1, a second diffused resistor Rwb2, and a second diffused capacitor Cwb2.
A first terminal of the battery OCV is connected to a first terminal of the ohmic resistor Rac. A second terminal of the ohmic resistor Rac is connected to a first terminal of the charge transfer resistor Rct and a first terminal of the charge transfer capacitor Cct. After being connected, a second terminal of the charge transfer resistor Rct and a second terminal of the charge transfer capacitor Cct are connected to a first terminal of the first diffused resistor Rwb1 and a first terminal of the first diffused capacitor Cwb1. After being connected, a second terminal of the first diffused resistor Rwb1 and a second terminal of the first diffused capacitor Cwb1 are connected to a first terminal of the second diffused resistor Rwb2 and a first terminal of the second diffused capacitor Cwb2. After being connected, a second terminal of the second diffused resistor Rwb2 and a second terminal of the second diffused capacitor Cwb2 are connected to a second terminal of the battery OCV.
A discretized battery state equation is:
where T is the sampling interval, k is the sampling time, I represents the total battery current, Uct represents the voltage of RctCct, network, τct represents the time constant of RctCct network, Uwb1 represents the voltage of Rwb1Cwb1 network, τwb1 represents the time constant of Rwb1Cwb1 network, Uwb2 represents the voltage of Rwb2Cwb2 network, τwb2 represents the time constant of Rwb2Cwb2 network, SOC represents the battery state of charge, C represents the battery capacity, and Rwb1=3Rwb2 and τwb1=3τwb2.
A discretized predicted module model terminal voltage is:
y
k+1
=U
ocv
−U
ct(k)−Uwb1(k)−Uwb2(k)−RacI(k)
where yk+1 represents the predicted battery module terminal voltage, Uocv represents the battery open circuit voltage, and Rac represents the ohmic internal resistance.
In the embodiment of the disclosure, Step S2 includes the following step.
The battery model output voltage Ud and the total battery current I under different temperatures, different SOCs, and charge-discharge currents are collected. For example, the specific values that may be collected are temperature T=[−2002035], SOC=[10%, 20%, 30%, 40%, 50%, 60%, 70%, 80%, 90%], and charge-discharge current I=[−140, −40, 0, 20, 65] A.
In the embodiment of the disclosure, Step S3 includes the following steps.
The likelihood function is adopted to construct the identification model, specifically as follows.
Step S3.1: After performing a Z-transformation on the battery state equation and the predicted battery module terminal voltage obtained in Step S1, an inverse Z-transformation is performed to obtain:
U
d(k+3)=θ1Ud(k+2)+θ2Ud(k+1)+θ3Ud(k)+θ4I(k+3)+θ5I(k+2)+θ6I(k+1)+θ7I(k), and Ud(k)=(yk−UOCV).
Step S3.2: The predicted battery module terminal voltage is obtained: yk=θTφ(k), where: θ=[θ1 θ2 θ3 θ4 θ5 θ6 θ7], φ(k)=Ud(k)=[Ud(k−1) Ud(k−2) Ud(k−3) I(k) I(k−1) I(k−2) I(k−3)], and the corresponding relationship between the parameters is as follows: θ1=b1+b3+b5, θ2=−(b1b3+b1b5+b3b5), θ3=b1b3b5, θ4=−Rac, θ5=Rac(b1+b3+b5)−(b2+b4+b6), θ6=b3+b5)b2+(b1+b5)b4+(b1+b3)b6−Rac(b1b3+b1b5+b3b5), θ7=b1b3b5Rac−b3b5b2−b1b4b5−b1b3b6, b1=exp(−T/τct), b2=Rct*(1−exp(−T/τct)), b3=exp(−T/τwb1), b4=Rwb1*(1−exp(−T/τwb1)), and b5=exp(−T/τwb2).
In the embodiment of the disclosure, in Step S4, the collected data are the battery model output voltage Ud and the total battery current I under different times. The battery model parameters that need to be calculated are: Rac, Rct, Rwb1, Cwb1, and Cct. The specific calculation method is as follows.
Step S4.1: The identification model is yk=θTφ(k), where φ(k)=Ud(k)=(yk−UOCV) UOCV is the open circuit voltage obtained from the experiment, and yk is the predicted battery module terminal voltage. Since the measurement error is normally distributed, the distribution function of yk satisfies the following equations:
A logarithm of L(θ) is taken to obtain:
where n represents the total sample number of the collected battery model output voltage Ud and the total battery current I, σ represents the variance, and y(k) is the actual measured battery module terminal voltage.
Step 4.2: A gradient operator is set as
The collected data is substituted into Equation (1), and
to calculate each element value of a matrix θ=[θ1 θ2 θ3 θ4 θ5 θ6 θ7].
Step 4.3: A magnitude of a third-order battery model parameter value is inferred according to a relationship between the third-order battery model parameter value and θ.
The likelihood function is a statistical method that considers the estimation problem from the perspective of a large sample. Let a population X be a discrete random variable, θ=(θ1, θ2, . . . , θk) be a multi-dimensional parameter vector, X1, X2, . . . Xn be the sample from X, x1, x2, . . . , xn be the sample value, and the probability calculation equation be P{Xi=xi}=p(xi;θ1, . . . , θk). Then, the likelihood function is as follows:
In the case where the test results (that is, the samples) are known, L(θ) is used to estimate the parameters that satisfy the distribution of the samples, and the most likely parameters are used as the true parameter estimation.
As shown in
A battery model construction module 201 is configured to establish a third-order battery model of a lithium battery.
A data collection module 202 is configured to collect an output voltage and a total battery current of the third-order battery model under different temperatures, different SOCs, and charge-discharge currents.
An identification model construction module 203 is configured to adopt a likelihood function to construct an identification model.
A parameter determination module 204 is configured to substitute the collected output voltage and total battery current of the third-order battery model into the identification model to calculate third-order battery model parameters.
For the specific implementation of each module, reference may be made to the descriptions of the foregoing embodiment of the method, which will not be reiterated.
In order to demonstrate the identification of the third-order model parameters of the lithium battery based on the likelihood function provided by the disclosure, an example is described here. A LR1865SV lithium battery provided by a certain company is used as an experimental object. Experimental data, battery charge-discharge system Arbin BT2000-5V500A, high and low temperature experimental box HL T402P, LR1865SV lithium battery nominal voltage 4.1 V, and nominal capacity 7.65 Ah, are collected through a battery test platform. Battery experimental data is collected. The temperature includes 4 temperature points of −20, 0, 20, and 35, which cover the temperature points traversed by the battery operation. The SOC value is 10%-90% and is collected every 10%. For the parameters of Rac that change with current, the charge-discharge current and the output terminal voltage under input currents of −140, −40, 0, 20, 65 are collected.
The disclosure will be further described below in conjunction with the drawings and implementation methods.
As shown in
(1) Before the test, a standard constant current-constant voltage (CC-CV) charging method is used to fully charge a battery to 100%, and let the battery stand for about three hours to tend to a balanced state.
(2) A constant current (usually ⅓ C, where C is the battery nominal capacity value, and ⅓ C is 12 A of current) discharge is implemented on a power battery, so that the SOC thereof moves down to 90%. Let the power battery stand for about 1 hour. Then, a composite pulse excitation sequence (which is a customized sequence, as shown in
(3) The previous step is repeated to continuously move the SOC to 80%, 70%, until the SOC is 20%.
The parameters collected at a certain SOC point at a certain temperature are substituted into the model established by the likelihood function provided by the disclosure for calculation. The battery parameter value ((1) Rac (2) Rct (3) Rwb1 (4) Cwb1 (5) Cct) at the SOC value at the temperature may be obtained. Battery parameter values at all SOC values at all temperatures are calculated and obtained, which are shown in a drawing according to the corresponding parameter values to obtain the parameterized results under different temperatures in
The above model parameter values are made into a table. A battery simulation model is established in MATLAB. Response values are assigned to the battery parameters by adopting a lookup table method. At room temperature T=20°, a load cycle condition of a hybrid electric vehicle is adopted for algorithm simulation and experimental verification. The load cycle condition refers to a typical condition of a heavy hybrid electric vehicle, which is similar to test conditions such as urban dynamometer driving schedule (UDDS) and new European driving cycle (NEDC). Through the statistics of actual conditions of a test vehicle in multiple typical suburban areas, common condition data, including urban, suburban, high-speed, cross-country, and other conditions, and covering the switching of internal combustion driving mode, pure electric driving mode, hybrid electric mode, idling power generation mode, and other working modes are extracted. The vehicle simulation software Cruse is used to simulate such driving cycle to obtain the load cycle condition battery. The current is as shown in
The identification of the third-order battery model parameters based on the likelihood function according to the disclosure can implement the estimation of the battery model parameters, is simple and effective, and has high precision.
It should be pointed out that according to the implementation requirements, each step/component described in the present application may be split into more steps/components, or two or more steps/components or partial operations of a step/component may be combined into a new step/component to implement the objectives of the disclosure.
Persons skilled in the art may easily understand that the above descriptions are only preferred embodiments of the disclosure and are not intended to limit the disclosure. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the disclosure should be included in the protection scope of the disclosure.
Number | Date | Country | Kind |
---|---|---|---|
202010303412.8 | Apr 2020 | CN | national |