METHOD AND SYSTEM FOR IDENTIFYING THIRD-ORDER MODEL PARAMETERS OF LITHIUM BATTERY BASED ON LIKELIHOOD FUNCTION

Information

  • Patent Application
  • 20210325467
  • Publication Number
    20210325467
  • Date Filed
    November 09, 2020
    4 years ago
  • Date Published
    October 21, 2021
    3 years ago
Abstract
A method and a system for identifying third-order model parameters of a lithium battery based on a likelihood function are provided, which relates to a method for estimating battery model parameters of a lithium battery under different temperatures, different system-on-chips (SOCs), and charge-discharge currents. The method includes the following steps. A third-order battery model of the lithium battery is established. A battery model output voltage Ud and a total battery current I under different temperatures, different SOCs, and charge-discharge currents are collected. The likelihood function is adopted to construct an identification model, and the collected data is substituted into the identification model to calculate the battery model parameters. Identified parameters are substituted into the third-order battery model to obtain a battery terminal voltage to be compared with a measured terminal voltage. The operation method of the disclosure is simple and effective, and can accurately estimate internal resistance parameters of the lithium battery.
Description
CROSS-REFERENCE TO RELATED APPLICATION

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.


BACKGROUND
Technical Field

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.


Description of Related Art

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.


SUMMARY

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:






{







U

c

t




(

k
+
1

)


=




U

c

t




(
k
)


*

exp


(


-
T

/

τ

c

t



)



+


I


(
k
)




R

c

t


*

(

1
-

exp


(


-
T

/

τ

c

t



)



)











U

w

b

1




(

k
+
1

)


=




U

w

b

1




(
k
)


*

exp


(


-
T

/

τ

w

b

1



)



+


I


(
k
)




R

w

b

1


*

(

1
-

exp


(


-
T

/

τ

w

b

1



)



)











U

w

b

2




(

k
+
1

)


=




U

w

b

2




(
k
)


*

exp


(


-
T

/

τ

w

b

2



)



+


I


(
k
)




R

w

b

2


*

(

1
-

exp


(


-
T

/

τ

w

b

2



)



)










S

O


C


(

k
+
1

)



=


S

O


C


(
k
)



-


T
*

I


(
k
)



C












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 ykTφ(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:







ln



L


(
θ
)


=




-
1


2


σ
2








k
=
1

n




(


y


(
k
)


-


θ
T



φ


(
k
)




)

2



-

n

ln

σ



2

π






,




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








θ



=


[








θ
1










θ
2










θ
3










θ
4










θ
5










θ
6










θ
7






]

.






The collected output voltage and total battery current of the third-order battery model are substituted into the equation in Step (4.1), and










θ


ln



L


(
θ
)



=




-
1


σ
2







k
=
1

n





(


y


(
k
)


-


θ
T



φ


(
k
)




)

2



(

-

φ


(
k
)



)




=
0





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:






{







U

c

t




(

k
+
1

)


=




U

c

t




(
k
)


*

exp


(


-
T

/

τ

c

t



)



+


I


(
k
)




R

c

t


*

(

1
-

exp


(


-
T

/

τ

c

t



)



)











U

w

b

1




(

k
+
1

)


=




U

w

b

1




(
k
)


*

exp


(


-
T

/

τ

w

b

1



)



+


I


(
k
)




R

w

b

1


*

(

1
-

exp


(


-
T

/

τ

w

b

1



)



)











U

w

b

2




(

k
+
1

)


=




U

w

b

2




(
k
)


*

exp


(


-
T

/

τ

w

b

2



)



+


I


(
k
)




R

w

b

2


*

(

1
-

exp


(


-
T

/

τ

w

b

2



)



)










S

O


C


(

k
+
1

)



=


S

O


C


(
k
)



-


T
*

I


(
k
)



C












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 ykTφ(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:








ln






L


(
θ
)



=




-
1


2


σ
2








k
=
1

n




(


y


(
k
)


-


θ
T



φ


(
k
)




)

2



-

n

ln

σ



2

π





,




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








θ



=


[








θ
1










θ
2










θ
3










θ
4










θ
5










θ
6










θ
7






]

.






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










θ


ln



L


(
θ
)



=




-
1


σ
2







k
=
1

n





(


y


(
k
)


-


θ
T



φ


(
k
)




)

2



(

-

φ


(
k
)



)




=
0





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.





BRIEF DESCRIPTION OF THE DRAWINGS


FIG. 1 is a schematic flowchart of a method for identifying third-order model parameters of a lithium battery based on a likelihood function according to an embodiment of the disclosure.



FIG. 2A to FIG. 2B is experimental data collected at 0° according to an embodiment of the disclosure, where FIG. 2A is a charge-discharge current and FIG. 2B is an output terminal voltage.



FIG. 3A to FIG. 3E is a parameterized result at 20A of charge-discharge current according to an embodiment of the disclosure, where FIG. 3A is the parameterized result of Rac, FIG. 3B is the parameterized result of Rct, FIG. 3C is the parameterized result of Rwb1, FIG. 3D is the parameterized result Cwb1, and FIG. 3E is the parameterized result of Cct.



FIG. 4A to FIG. 4D is a parameter value of Rac under different charge-discharge currents under different temperatures according to an embodiment of the disclosure, where FIG. 4A is the parameter value at 35°, FIG. 4B is the parameter value at 20°, FIG. 4C is the parameter value at 0°, and FIG. 4D is the parameter value at −20°.



FIG. 5A to FIG. 5D is a parameterized verification result of a battery model according to an embodiment of the disclosure, where FIG. 5A is a load cycle condition input current, FIG. 5B is a comparison between a measured voltage and a simulated voltage, FIG. 5C is the comparison between the measured voltage and the simulated voltage in a certain region after amplification, and FIG. 5D is an absolute error of the simulated voltage.



FIG. 6 is a third-order equivalent circuit model according to an embodiment of the disclosure.



FIG. 7 is a block diagram of a system according to an embodiment of the disclosure.





DETAILED DESCRIPTION OF DISCLOSED EMBODIMENTS

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.



FIG. 1 is a schematic flowchart of a method for identifying third-order model parameters of a lithium battery based on a likelihood function according to an embodiment of the disclosure. Through establishing a third-order battery model of the lithium battery, a battery model output voltage Ud and a total battery current I under different temperatures, different system-on-chips (SOCs), and charge-discharge currents are collected. Then, the likelihood function is adopted to construct an identification model. The collected data is substituted into the identification model to calculate the battery model parameters. The method includes the following steps.


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 FIG. 6, specifically as follows.


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:






{







U

c

t




(

k
+
1

)


=




U

c

t




(
k
)


*

exp


(


-
T

/

τ

c

t



)



+


I


(
k
)




R

c

t


*

(

1
-

exp


(


-
T

/

τ

c

t



)



)











U

w

b

1




(

k
+
1

)


=




U

w

b

1




(
k
)


*

exp


(


-
T

/

τ

w

b

1



)



+


I


(
k
)




R

w

b

1


*

(

1
-

exp


(


-
T

/

τ

w

b

1



)



)











U

w

b

2




(

k
+
1

)


=




U

w

b

2




(
k
)


*

exp


(


-
T

/

τ

w

b

2



)



+


I


(
k
)




R

w

b

2


*

(

1
-

exp


(


-
T

/

τ

w

b

2



)



)










S

O


C


(

k
+
1

)



=


S

O


C


(
k
)



-


T
*

I


(
k
)



C












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: ykTφ(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 ykTφ(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:







f


(
x
)


=



1


2

π

σ





e

-



(

x
-
μ

)

2


2


σ
2










and






L


(
θ
)



=





k
=
1

n



f


(
x
)



=




k
=
1

n




1


2

π

σ






e

-



(

x
-
μ

)

2


2


σ
2





.









A logarithm of L(θ) is taken to obtain:









ln







L


(
θ
)


=




-
1


2


σ
2








k
=
1

n




(


y


(
k
)


-


θ
T



φ


(
k
)




)

2



-

n

ln

σ



2

π









(
1
)







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








θ



=


[








θ
1










θ
2










θ
3










θ
4










θ
5










θ
6










θ
7






]

.






The collected data is substituted into Equation (1), and










θ


ln



L


(
θ
)



=




-
1


σ
2







k
=
1

n





(


y


(
k
)


-


θ
T



φ


(
k
)




)

2



(

-

φ


(
k
)



)




=
0





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(xi1, . . . , θk). Then, the likelihood function is as follows:







L


(
θ
)


=


L


(


x
1

,

x
2

,





,


x
n

;

θ
1


,

θ
2

,





,

θ
7


)


=




i
=
1

n




p


(



x
i

;

θ
1


,

θ
2

,





,

θ
7


)


.







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 FIG. 7, in another embodiment of the disclosure, a system for identifying third-order model parameters of a lithium battery based on a likelihood function is also provided, which includes the following.


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 FIG. 2A to FIG. 2B, the method to measure and obtain the battery model output voltage Ud and the total battery current I under different temperatures, different SOCs, and charge-discharge currents of the lithium battery is a composite pulse test, which include the following main test steps.


(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 FIG. 2A) is loaded. Here, the charge-discharge current is 1 C-3 C.


(3) The previous step is repeated to continuously move the SOC to 80%, 70%, until the SOC is 20%.



FIG. 2A to FIG. 2B shows part of the data collected at 0° and 70% SOC. In FIG. 2A is the charge-discharge current and FIG. 2B is the output terminal voltage.


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 FIG. 3A to FIG. 3E. In FIG. 3A is the parameterized result of Rac, FIG. 3B is the parameterized result of Rct, FIG. 3C is the parameterized result of Rwb1, FIG. 3D is the parameterized result Cwb1, and FIG. 3E is the parameterized result of Cct. In the same way, the parameter values under different charge-discharge currents under different temperatures may be obtained in FIG. 4A to FIG. 4D. In FIG. 4A is the parameter value at 35°, FIG. 4B is the parameter value at 20°, FIG. 4C is the parameter value at 0°, and FIG. 4D is the parameter value at −20°.


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 FIG. 5A. In the case of full load of T=20° and SOC=70%, the verification result is as shown in FIG. 5B to FIG. 5D. The simulated voltage is the battery model output voltage obtained by the simulation under the load cycle condition current. In FIG. 5B is a comparison between a measured voltage and a simulated voltage, FIG. 5C is the comparison between the measured voltage and the simulated output voltage in a certain region after amplification, and FIG. 5D is an absolute error of the simulated voltage. It can be seen from FIG. 5A to FIG. 5D that although the conditions are complex, the battery is constantly charged and discharged and the charge-discharge rate is constantly changing, the simulated value of the battery terminal voltage may follow the experimental measured value well, which indicates the parameter value obtained by adopting the likelihood function for parameter estimation follows the actual parameter value. The absolute maximum error is less than 0.036 V, the mean absolute error (MAE) is 0.0084 V, and the root mean square error is 0.0149 V, so the precision is relatively high.


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.

Claims
  • 1. A method for identifying third-order model parameters of a lithium battery based on a likelihood function, characterized by comprising: Step (1) of establishing a third-order battery model of the lithium battery;Step (2) of collecting an output voltage and a total battery current of the third-order battery model under different temperatures, different system-on-chips (SOCs), and charge-discharge currents;Step (3) of adopting the likelihood function to construct an identification model; andStep (4) of substituting the collected output voltage and total battery current of the third-order battery model into the identification model to calculate the third-order battery model parameters.
  • 2. The method according to claim 1, characterized in that the third-order battery model comprises 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), wherein 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); and 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).
  • 3. The method according to claim 2, characterized in that Step (1) comprises: a discretized battery state equation of the third-order battery model is:
  • 4. The method according to claim 3, characterized in that Step (3) comprises: Step (3.1) of performing 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: Ud(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); andStep (3.2) of obtaining 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).
  • 5. The method according to claim 4, characterized in that Step (4) comprises: Step (4.1) of taking a logarithm of a distribution function of the battery module terminal voltage to obtain:
  • 6. A system for identifying third-order model parameters of a lithium battery based on a likelihood function, characterized by comprising: a battery model construction module, configured to establish a third-order battery model of a lithium battery;a data collection module, 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, configured to adopt the likelihood function to construct an identification model; anda parameter determination module, configured to substitute the collected output voltage and total battery current of the third-order battery model into the identification model to calculate the third-order battery model parameters.
  • 7. The system according to claim 6, characterized in that the third-order battery model comprises 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), wherein 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); and 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).
  • 8. The system according to claim 7, characterized in that the battery model construction module comprises: a battery state equation establishment module, configured to establish a discretized battery state equation of the third-order battery model:
  • 9. The system according to claim 8, characterized in that the identification model construction module comprises: a transformation module, 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: Ud(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); andan identification model construction submodule, 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).
  • 10. The system according to claim 9, characterized in that the parameter determination module comprises: a first calculation module, configured to take a logarithm of a distribution function of the battery module terminal voltage, so as to obtain:
Priority Claims (1)
Number Date Country Kind
202010303412.8 Apr 2020 CN national